/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | split.rst | 12 {% set foo = "one,two,three"|split(',') %} 13 {# foo contains ['one', 'two', 'three'] #} 27 {% set foo = "one,two,three,four,five"|split(',', 3) %} 28 {# foo contains ['one', 'two', 'three,four,five'] #} 35 {% set foo = "123"|split('') %} 36 {# foo contains ['1', '2', '3'] #}
|
H A D | url_encode.rst | 22 {{ {'param': 'value', 'foo': 'bar'}|url_encode }} 23 {# outputs "param=value&foo=bar" #}
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
H A D | include.rst | 25 {{ include('template.html', {foo: 'bar'}) }} 32 {# only the foo variable will be accessible #} 33 {{ include('template.html', {foo: 'bar'}, with_context = false) }}
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/ |
H A D | embed.rst | 53 Some pages ("foo" and "bar") share the same content structure - 92 template: one with vertically stacked boxes to be used by the "foo" and 117 Page template ``foo.twig``: 158 {% embed "base" with {'foo': 'bar'} %} 162 {% embed "base" with {'foo': 'bar'} only %}
|
H A D | include.rst | 47 {% include 'template.html' with {'foo': 'bar'} %} 49 {% set vars = {'foo': 'bar'} %} 56 {# only the foo variable will be accessible #} 57 {% include 'template.html' with {'foo': 'bar'} only %} 100 {% include 'sidebar.html' ignore missing with {'foo': 'bar'} %}
|
H A D | set.rst | 11 {% set foo = 'bar' %} 19 {{ foo }} 26 {% set foo = [1, 2] %} 27 {% set foo = {'foo': 'bar'} %} 28 {% set foo = 'foo' ~ 'bar' %} 34 {% set foo, bar = 'foo', 'bar' %} 38 {% set foo = 'foo' %} 45 {% set foo %} 64 {% set foo = item %} 73 {% set foo = "" %} [all …]
|
H A D | spaceless.rst | 15 <strong>foo</strong> 19 {# output will be <div><strong>foo</strong></div> #}
|
H A D | with.rst | 13 {% set foo = 42 %} 14 {{ foo }} foo is 42 here 16 foo is not visible here any longer 24 {% with { foo: 42 } %} 25 {{ foo }} foo is 42 here 27 foo is not visible here any longer 30 {% set vars = { foo: 42 } %} 41 {% with { foo: 42 } only %} 42 {# only foo is defined #}
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/ |
H A D | templates.rst | 81 {{ foo.bar }} 90 {# equivalent to the non-working foo.data-foo #} 91 {{ attribute(foo, 'data-foo') }} 143 {% set foo = 'foo' %} 145 {% set foo = {'foo': 'bar'} %} 608 { 'foo': 'foo', 'bar': 'bar' } 611 { foo: 'foo', bar: 'bar' } 617 {% set foo = 'foo' %} 618 { (foo): 'foo', (1 + 1): 'bar', (foo ~ 'b'): 'baz' } 630 {% set foo = [1, {"foo": "bar"}] %} [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/ |
H A D | defined.rst | 10 {% if foo is defined %} 15 {% if foo.bar is defined %} 19 {% if foo['bar'] is defined %} 28 {% if var is defined and foo.method(var) is defined %}
|
H A D | empty.rst | 19 {% if foo is empty %}
|
H A D | iterable.rst | 11 {# evaluates to true if the foo variable is iterable #}
|
H A D | sameas.rst | 12 {% if foo.attribute is same as(false) %} 13 the foo attribute really is the 'false' PHP value
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/ |
H A D | SandboxTest.php | 346 public function foo() function in FooObject
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/ |
H A D | multiline_array_with_undefined_variable.test | 4 {% set foo = { 5 foo: 'foo',
|
H A D | multiline_array_with_undefined_variable_again.test | 4 {% set foo = { 5 foo: 'foo',
|
H A D | multiline_function_with_undefined_variable.test | 4 {{ include('foo', 7 --TEMPLATE(foo)--
|
H A D | multiline_function_with_unknown_argument.test | 4 {{ include('foo',
|
H A D | multiline_tag_with_undefined_variable.test | 4 {% include 'foo' 7 --TEMPLATE(foo)--
|
H A D | syntax_error_in_reused_template.test | 4 {% use 'foo.twig' %} 5 --TEMPLATE(foo.twig)-- 10 …expected token "operator" of value "=" ("end of statement block" expected) in "foo.twig" at line 3.
|
H A D | unclosed_tag.test | 4 {% block foo %} 5 {% if foo %}
|
H A D | undefined_parent.test | 4 {% extends 'foo.html' %} 6 {% set foo = "foo" %} 8 Twig\Error\LoaderError: Template "foo.html" is not defined in "index.twig" at line 2.
|
H A D | undefined_trait.test | 4 {% use 'foo' with foobar as bar %} 5 --TEMPLATE(foo)-- 9 Twig\Error\RuntimeError: Block "foobar" is not defined in trait "foo" in "index.twig" at line 2.
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ |
H A D | array.test | 8 {{ ['foo', "bar"]|join(',') }} 12 {{ {0: 1, foo: 'bar'}|join(',') }} 16 {% set a = [1, 2, [1, 2], {'foo': {'foo': 'bar'}}] %} 18 {{ a[3]["foo"]|join(',') }} 21 {{ [foo[bar]]|join(',') }} 24 {{ ['foo'|upper, bar|upper, bar == foo]|join(',') }} 36 {% set b = "foo" %} 44 foo,bar 46 0,foo 49 0,foo [all …]
|
H A D | array_call.test | 4 {{ items.foo }} 5 {{ items['foo'] }} 6 {{ items[foo] }} 7 {{ items[items[foo]] }} 9 return ['foo' => 'bar', 'items' => ['foo' => 'bar', 'bar' => 'foo']] 13 foo
|