Searched refs:Twig_Filter_Function (Results 1 – 4 of 4) sorted by relevance
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Filter/ |
H A D | Function.php | 23 class Twig_Filter_Function extends Twig_Filter class
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/ |
H A D | advanced_legacy.rst | 182 $twig->addFilter('rot13', new Twig_Filter_Function('str_rot13')); 185 Here, we use ``Twig_Filter_Function`` as the filter is a PHP function. The 186 first argument passed to the ``Twig_Filter_Function`` constructor is the name 213 class. The ``Twig_Filter_Function`` class can also be used to register such 251 $filter = new Twig_Filter_Function('nl2br', ['is_safe' => ['html']]); 269 $twig->addFilter('*_path_*', new Twig_Filter_Function('twig_path')); 283 $twig->addFilter('*_path_*', new Twig_Filter_Function('twig_path')); 350 $twig->addFilter('*_path_*', new Twig_Filter_Function('twig_path')); 689 'rot13' => new Twig_Filter_Function('str_rot13'), 698 definition of the filter (``new Twig_Filter_Function('str_rot13')``). [all …]
|
H A D | deprecated.rst | 70 * ``Twig_Filter_Function``
|
/plugin/findologicxmlexport/vendor/twig/twig/ |
H A D | CHANGELOG | 969 upgrade, replace "array" with "new Twig_Filter_Function", and replace the 977 'even' => new Twig_Filter_Function('twig_is_even_filter'), 978 'escape' => new Twig_Filter_Function('twig_escape_filter', array('needs_environment' => true)),
|