__call() public method
Mechanism to pass a widget's tag name to the callback function.
Using a magic function call would not be necessary if Smarty would support closures. Smarty closure support is announced for 3.2, until its release magic function calls are used to pass the tag name to the callback.
public string __call ( $method, $args ) | ||
---|---|---|
$method | string | |
$args | array | |
throws | yii\base\InvalidConfigException | |
throws | BadMethodCallException |
Please login to continue.