smarty\ViewRenderer __call()

__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
doc_Yii
2016-10-30 17:11:24
Comments
Leave a Comment

Please login to continue.