Home
last modified time | relevance | path

Searched refs:filters (Results 151 – 175 of 288) sorted by path

12345678910>>...12

/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/
H A DArray.php22 $filters = array(
26 return $filters;
/plugin/findologicxmlexport/vendor/twig/twig/
H A DCHANGELOG208 * fixed regression on static calls for functions/filters/tests
328 * added support for variadic filters, functions, and tests
406 * fixed first and last filters for UTF-8 strings
488 * added support for named arguments for filters, tests, and functions
489 * moved filters/functions/tests syntax errors to the parser
585 * added the preserves_safety option for filters
660 * added support for dynamically named filters and functions
667 * enhanced exceptions for unknown filters, functions, tests, and tags
859 * the odd and even filters are now tests:
996 * added the following filters in the Core extension: in, range
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dadvanced.rst10 Twig can be extended in many ways; you can add extra tags, filters, tests,
226 Some filters may need to work on input that is already escaped or safe, for
237 Support for variadic filters was added in Twig 1.19.
261 The following filters will be matched by the above defined dynamic filter:
281 Support for deprecated filters was added in Twig 1.21.
380 names (see dynamic filters and functions for the syntax).
411 Much better than creating a tag as you can **compose** filters.
577 to host all the specific tags and filters you want to add to Twig.
618 * Returns a list of filters to add to the existing list.
733 method. This method must return an array of filters to add to the Twig
[all …]
H A Dadvanced_legacy.rst10 Twig can be extended in many ways; you can add extra tags, filters, tests,
214 static methods as filters::
264 Dynamic filters support was added in Twig 1.5.
276 The following filters will be matched by the above defined dynamic filter:
290 The filter will receive all dynamic part values before the normal filters
521 to host all the specific tags and filters you want to add to Twig.
560 * Returns a list of filters to add to the existing list.
681 method. This method must return an array of filters to add to the Twig
697 where keys are the name of the filters (``rot13``) and the values the
729 Using methods for filters is a great way to package your filter without
[all …]
H A Dapi.rst368 * :doc:`Filters <filters/index>`;
477 tags, filters, properties, and methods::
480 $filters = ['upper'];
488 $policy = new \Twig\Sandbox\SecurityPolicy($tags, $filters, $methods, $properties, $functions);
H A Ddeprecated.rst43 implement this method to store the environment for your custom filters,
H A Dindex.rst17 filters/index
H A Dintro.rst22 developer to define their own custom tags and filters, and to create their own DSL.
H A Drecipes.rst276 For filters, register callbacks with ``registerUndefinedFilterCallback()``.
297 As the resolution of functions and filters is done during compilation,
H A Dtemplates.rst150 Variables can be modified by **filters**. Filters are separated from the
152 parentheses. Multiple filters can be chained. The output of one filter is
178 Go to the :doc:`filters<filters/index>` page to learn more about built-in
179 filters.
439 :doc:`escape<filters/escape>` or ``e`` filter:
565 (filters), ``[]``, and ``.``.
589 example as arguments to function calls, filters or just to extend or include
657 sugar for the :doc:`round<filters/round>` filter).
894 If you are looking for new tags, filters, or functions, have a look at the Twig official
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dspaceless.rst42 filters are executed at runtime).
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
H A Dautoescape.rst50 the :doc:`raw<../filters/raw>` filter:
64 :doc:`escape<../filters/escape>` filter.
H A Dfilter.rst4 Filter sections allow you to apply regular Twig filters on a block of template
13 You can also chain filters and pass arguments to them:
H A Dfor.rst163 the :doc:`slice <../filters/slice>` filter:
H A Dspaceless.rst6 As of Twig 1.38, use the :doc:`spaceless <../filters/spaceless>` filter instead.
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DEnvironment.php63 protected $filters; variable in Twig\\Environment
1160 if (isset($this->filters[$name])) {
1161 return $this->filters[$name];
1164 foreach ($this->filters as $pattern => $filter) {
1208 return $this->filters;
1535 $this->filters = [];
1563 $this->filters[$name] = $filter;
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php164 $filters = [
213 … $filters[] = new TwigFilter('upper', 'twig_upper_filter', ['needs_environment' => true]);
214 … $filters[] = new TwigFilter('lower', 'twig_lower_filter', ['needs_environment' => true]);
217 return $filters;
H A DSandboxExtension.php73 public function checkSecurity($tags, $filters, $functions) argument
76 $this->policy->checkSecurity($tags, $filters, $functions);
H A DStagingExtension.php29 protected $filters = []; variable in Twig\\Extension\\StagingExtension
51 if (isset($this->filters[$name])) {
55 $this->filters[$name] = $filter;
60 return $this->filters;
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
H A DCheckSecurityNode.php36 $tags = $filters = $functions = [];
50 ->write('$filters = ')->repr(array_filter($filters))->raw(";\n")
57 ->write(!$filters ? "[],\n" : "['".implode("', '", array_keys($filters))."'],\n")
/plugin/findologicxmlexport/vendor/twig/twig/src/NodeVisitor/
H A DSandboxNodeVisitor.php37 protected $filters; variable in Twig\\NodeVisitor\\SandboxNodeVisitor
47 $this->filters = [];
58 …if ($node instanceof FilterExpression && !isset($this->filters[$node->getNode('filter')->getAttrib…
59 $this->filters[$node->getNode('filter')->getAttribute('value')] = $node;
105 …$node->setNode('constructor_end', new Node([new CheckSecurityNode($this->filters, $this->tags, $th…
/plugin/findologicxmlexport/vendor/twig/twig/src/Sandbox/
H A DSecurityPolicy.php45 public function setAllowedFilters(array $filters) argument
47 $this->allowedFilters = $filters;
68 public function checkSecurity($tags, $filters, $functions) argument
76 foreach ($filters as $filter) {
H A DSecurityPolicyInterface.php21 public function checkSecurity($tags, $filters, $functions); argument
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/
H A DSandboxTest.php317 …protected function getEnvironment($sandboxed, $options, $templates, $tags = [], $filters = [], $me… argument
321 $policy = new SecurityPolicy($tags, $filters, $methods, $properties, $functions);
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/
H A Dwith_filters.test2 "autoescape" tag applies escaping after calling filters

12345678910>>...12