Home
last modified time | relevance | path

Searched refs:context (Results 576 – 600 of 1053) sorted by path

1...<<21222324252627282930>>...43

/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Dblock.rst28 Use the ``defined`` test to check if a block exists in the context of the
H A Ddump.rst31 In an HTML context, wrap the output with a ``pre`` tag to make it easier to
52 If you don't pass any value, all variables from the current context are
66 * ``context``: The context to dump
H A Dinclude.rst14 Included templates have access to the variables of the active context.
19 The context is passed by default to the template but you can also pass
24 …{# template.html will have access to the variables from the current context and the additional one…
27 You can disable access to the context by setting ``with_context`` to
82 * ``with_context``: Whether to pass the current context variables or not
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dinternals.rst24 method of the compiled template and passing it the context.
127 protected function doDisplay(array $context, array $blocks = [])
131 …echo twig_escape_filter($this->env, (isset($context["name"]) ? $context["name"] : null), "html", n…
H A Drecipes.rst232 Sometimes, when using nested loops, you need to access the parent context. The
233 parent context is always accessible via the ``loop.parent`` variable. For
266 context. So, the index of the current ``topic`` defined in the outer for loop
336 is enforced during template rendering (as Twig needs the context for some
H A Dtemplates.rst132 * ``_context``: references the current context;
306 By default, included templates have access to the same context as the template
446 the escaping context, you might want to explicitly use any other available
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
H A Dembed.rst173 on the template name won't work as expected if you change the context (for
H A Dfor.rst68 ``loop.parent`` The parent context
H A Dinclude.rst37 Included templates have access to the variables of the active context.
46 …{# template.html will have access to the variables from the current context and the additional one…
52 You can disable access to the context by appending the ``only`` keyword:
H A Dmacro.rst47 You can pass the whole context as an argument by using the special
H A Duse.rst66 Because ``use`` statements are resolved independently of the context
H A Dwith.rst35 By default, the inner scope has access to the outer scope context; you can
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/
H A Ddefined.rst4 ``defined`` checks if a variable is defined in the current context. This is very
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/
H A DTemplateInterface.php30 * @param array $context An array of parameters to pass to the template
34 public function render(array $context); argument
39 * @param array $context An array of parameters to pass to the template
42 public function display(array $context, array $blocks = []); argument
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DEnvironment.php375 * @param array $context An array of parameters to pass to the template
383 public function render($name, array $context = []) argument
385 return $this->load($name)->render($context);
392 * @param array $context An array of parameters to pass to the template
398 public function display($name, array $context = []) argument
400 $this->load($name)->display($context);
1437 * @param array $context An array representing the context
1441 public function mergeGlobals(array $context) argument
1446 if (!\array_key_exists($key, $context)) {
1447 $context[$key] = $value;
[all …]
H A DTemplate.php114 * @param array $context
167 * @param array $context The context
190 * @param array $context The context
246 * @param array $context The context
287 * @param array $context The context
294 if (null === $context) {
321 * @param array $context The context
328 if (null === $context) {
401 public function render(array $context) argument
406 $this->display($context);
[all …]
H A DTemplateWrapper.php39 * @param array $context An array of parameters to pass to the template
43 public function render($context = []) argument
55 public function display($context = []) argument
70 public function hasBlock($name, $context = []) argument
72 return $this->template->hasBlock($name, $context);
82 public function getBlockNames($context = []) argument
84 return $this->template->getBlockNames($context);
95 public function renderBlock($name, $context = []) argument
97 $context = $this->env->mergeGlobals($context);
101 $this->template->displayBlock($name, $context);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php1527 * @param array $context
1536 function twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, … argument
1541 $variables = array_merge($context, $variables);
H A DDebugExtension.php51 function twig_var_dump(Environment $env, $context, array $vars = []) argument
61 foreach ($context as $key => $value) {
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/
H A Dcontext.test2 "for" tag keeps the context safe
H A Dloop_context.test2 "for" tag adds a loop variable to the context
H A Dloop_context_local.test2 "for" tag adds a loop variable to the context locally
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DFilterTest.php159 function twig_tests_filter_barbar($context, $string, $arg1 = null, $arg2 = null, array $args = []) argument
H A DNameTest.php28 $context = new NameExpression('_context', 1);
44 [$context, "// line 1\n\$context"],
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DTemplateTest.php44 $context = [
55 $template->render($context);
504 protected function doGetParent(array $context) argument
509 protected function doDisplay(array $context, array $blocks = []) argument
522 public function block_name($context, array $blocks = []) argument

1...<<21222324252627282930>>...43