$functions public property
Custom functions. Keys of the array are names to call in template, values are names of functions or static methods of some class. Example: ['rot13' => 'str_rot13', 'a' => '\yii\helpers\Html::a']
. In the template you can use it like this: {{ rot13('test') }}
or {{ a('Login', 'site/login') | raw }}
.
public array $functions = []
Please login to continue.