Home
last modified time | relevance | path

Searched refs:TwigFilter (Results 1 – 16 of 16) sorted by relevance

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DIntegrationTest.php22 use Twig\TwigFilter; alias
153 new TwigFilter('§', [$this, '§Filter']),
155 … new TwigFilter('nl2br', [$this, 'nl2br'], ['pre_escape' => 'html', 'is_safe' => ['html']]),
156 … new TwigFilter('escape_something', [$this, 'escape_something'], ['is_safe' => ['something']]),
158 new TwigFilter('static_call_string', 'TwigTestExtension::staticCall'),
159 new TwigFilter('static_call_array', ['TwigTestExtension', 'staticCall']),
160 new TwigFilter('magic_call', [$this, 'magicCall']),
161 new TwigFilter('magic_call_string', 'TwigTestExtension::magicStaticCall'),
162 new TwigFilter('magic_call_array', ['TwigTestExtension', 'magicStaticCall']),
163 new TwigFilter('*_path', [$this, 'dynamic_path']),
[all …]
H A DEnvironmentTest.php24 use Twig\TwigFilter; alias
575 new TwigFilter('foo_filter', 'foo_filter'),
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php31 use Twig\TwigFilter; alias
168 new TwigFilter('format', 'sprintf'),
171 new TwigFilter('abs', 'abs'),
172 new TwigFilter('round', 'twig_round'),
182 new TwigFilter('upper', 'strtoupper'),
183 new TwigFilter('lower', 'strtolower'),
184 new TwigFilter('striptags', 'strip_tags'),
185 new TwigFilter('trim', 'twig_trim_filter'),
190 new TwigFilter('join', 'twig_join_filter'),
192 new TwigFilter('sort', 'twig_sort_filter'),
[all …]
H A DExtensionInterface.php17 use Twig\TwigFilter; alias
54 * @return TwigFilter[]
H A DEscaperExtension.php15 use Twig\TwigFilter; alias
47 new TwigFilter('raw', 'twig_raw_filter', ['is_safe' => ['all']]),
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DFilterExpression.php16 use Twig\TwigFilter; alias
36 if ($filter instanceof \Twig_FilterCallableInterface || $filter instanceof TwigFilter) {
39 if ($filter instanceof TwigFilter) {
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/
H A DSimpleFilter.php3 use Twig\TwigFilter; alias
8 class Twig_SimpleFilter extends TwigFilter
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DFilterTest.php17 use Twig\TwigFilter; alias
36 $environment->addFilter(new TwigFilter('bar', 'bar', ['needs_environment' => true]));
37 …$environment->addFilter(new TwigFilter('barbar', 'twig_tests_filter_barbar', ['needs_context' => t…
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dadvanced.rst132 $filter = new \Twig\TwigFilter('rot13', function ($string) {
137 $filter = new \Twig\TwigFilter('rot13', 'str_rot13');
140 $filter = new \Twig\TwigFilter('rot13', ['SomeClass', 'rot13Filter']);
141 $filter = new \Twig\TwigFilter('rot13', 'SomeClass::rot13Filter');
144 $filter = new \Twig\TwigFilter('rot13', [$this, 'rot13Filter']);
181 The ``\Twig\TwigFilter`` class takes an array of options as its last
184 $filter = new \Twig\TwigFilter('rot13', 'str_rot13', $options);
287 $filter = new \Twig\TwigFilter('obsolete', function () {
620 * @return \Twig\TwigFilter[]
741 new \Twig\TwigFilter('rot13', 'str_rot13'),
[all …]
H A Ddeprecated.rst64 * As of Twig 1.x, use ``\Twig\TwigFilter`` to add a filter. The following
74 * As of Twig 2.x, the ``\Twig\TwigFilter`` class is deprecated and will be
76 ``\Twig\TwigFilter`` is just an alias for ``Twig_Filter``.
H A Dadvanced_legacy.rst562 * @return \Twig\TwigFilter[]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/PHP53/
H A DFilterInclude.php4 $env->addFilter(new \Twig\TwigFilter('anonymous', function () {}));
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php22 use Twig\TwigFilter; alias
56 * @return TwigFilter[]
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DTwigFilter.php23 class TwigFilter class
H A DEnvironment.php1119 … * @param string|TwigFilter $name The filter name or a \Twig_SimpleFilter instance
1124 …if (!$name instanceof TwigFilter && !($filter instanceof TwigFilter || $filter instanceof \Twig_Fi…
1128 if ($name instanceof TwigFilter) {
1557 if ($filter instanceof TwigFilter) {
H A DExpressionParser.php725 if ($filter instanceof TwigFilter && $filter->isDeprecated()) {
739 if ($filter instanceof TwigFilter) {