$filters public property
Custom filters. 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', 'jsonEncode' => '\yii\helpers\Json::encode']
. In the template you can use it like this: {{ 'test'|rot13 }}
or {{ model|jsonEncode }}
.
Please login to continue.