Home
last modified time | relevance | path

Searched refs:foo (Results 176 – 200 of 405) sorted by path

12345678910>>...17

/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dsplit.rst12 {% 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 Durl_encode.rst22 {{ {'param': 'value', 'foo': 'bar'}|url_encode }}
23 {# outputs "param=value&foo=bar" #}
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Dinclude.rst25 {{ 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 Dembed.rst53 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 Dinclude.rst47 {% 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 Dset.rst11 {% 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 Dspaceless.rst15 <strong>foo</strong>
19 {# output will be <div><strong>foo</strong></div> #}
H A Dwith.rst13 {% 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 Dtemplates.rst81 {{ 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 Ddefined.rst10 {% 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 Dempty.rst19 {% if foo is empty %}
H A Diterable.rst11 {# evaluates to true if the foo variable is iterable #}
H A Dsameas.rst12 {% 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 DSandboxTest.php346 public function foo() function in FooObject
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/
H A Dmultiline_array_with_undefined_variable.test4 {% set foo = {
5 foo: 'foo',
H A Dmultiline_array_with_undefined_variable_again.test4 {% set foo = {
5 foo: 'foo',
H A Dmultiline_function_with_undefined_variable.test4 {{ include('foo',
7 --TEMPLATE(foo)--
H A Dmultiline_function_with_unknown_argument.test4 {{ include('foo',
H A Dmultiline_tag_with_undefined_variable.test4 {% include 'foo'
7 --TEMPLATE(foo)--
H A Dsyntax_error_in_reused_template.test4 {% 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 Dunclosed_tag.test4 {% block foo %}
5 {% if foo %}
H A Dundefined_parent.test4 {% 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 Dundefined_trait.test4 {% 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 Darray.test8 {{ ['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 Darray_call.test4 {{ items.foo }}
5 {{ items['foo'] }}
6 {{ items[foo] }}
7 {{ items[items[foo]] }}
9 return ['foo' => 'bar', 'items' => ['foo' => 'bar', 'bar' => 'foo']]
13 foo

12345678910>>...17