/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
H A D | block.rst | 28 Use the ``defined`` test to check if a block exists in the context of the
|
H A D | dump.rst | 31 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 D | include.rst | 14 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 D | internals.rst | 24 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 D | recipes.rst | 232 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 D | templates.rst | 132 * ``_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 D | embed.rst | 173 on the template name won't work as expected if you change the context (for
|
H A D | for.rst | 68 ``loop.parent`` The parent context
|
H A D | include.rst | 37 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 D | macro.rst | 47 You can pass the whole context as an argument by using the special
|
H A D | use.rst | 66 Because ``use`` statements are resolved independently of the context
|
H A D | with.rst | 35 By default, the inner scope has access to the outer scope context; you can
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/ |
H A D | defined.rst | 4 ``defined`` checks if a variable is defined in the current context. This is very
|
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/ |
H A D | TemplateInterface.php | 30 * @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 D | Environment.php | 375 * @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 D | Template.php | 114 * @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 D | TemplateWrapper.php | 39 * @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 D | CoreExtension.php | 1527 * @param array $context 1536 function twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, … argument 1541 $variables = array_merge($context, $variables);
|
H A D | DebugExtension.php | 51 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 D | context.test | 2 "for" tag keeps the context safe
|
H A D | loop_context.test | 2 "for" tag adds a loop variable to the context
|
H A D | loop_context_local.test | 2 "for" tag adds a loop variable to the context locally
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/ |
H A D | FilterTest.php | 159 function twig_tests_filter_barbar($context, $string, $arg1 = null, $arg2 = null, array $args = []) argument
|
H A D | NameTest.php | 28 $context = new NameExpression('_context', 1); 44 [$context, "// line 1\n\$context"],
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/ |
H A D | TemplateTest.php | 44 $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
|