Home
last modified time | relevance | path

Searched refs:foo (Results 201 – 225 of 405) sorted by path

12345678910>>...17

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/
H A Dbinary.test19 {{ "foo" ~ "bar" }}
20 {{ foo ~ "bar" }}
21 {{ "foo" ~ bar }}
22 {{ foo ~ bar }}
25 return ['foo' => 'bar', 'bar' => 'foo']
H A Ddotdot.test10 {% for i in foo[0]..foo[1] %}{{ i }} {% endfor %}
14 return ['foo' => [1, 10]]
H A Dends_with.test4 {{ 'foo' ends with 'o' ? 'OK' : 'KO' }}
5 {{ not ('foo' ends with 'f') ? 'OK' : 'KO' }}
6 {{ not ('foo' ends with 'foowaytoolong') ? 'OK' : 'KO' }}
7 {{ 'foo' ends with '' ? 'OK' : 'KO' }}
H A Dmagic_call.test4 {{ foo.foo }}
5 {{ foo.bar }}
16 if ('foo' === $method) {
24 return ['foo' => new TestClassForMagicCallAttributes()]
H A Dmatches.test4 {{ 'foo' matches '/o/' ? 'OK' : 'KO' }}
5 {{ 'foo' matches '/^fo/' ? 'OK' : 'KO' }}
6 {{ 'foo' matches '/O/i' ? 'OK' : 'KO' }}
H A Dmethod_call.test4 {{ items.foo.foo }}
6 {{ items.foo.bar }}
9 {{ items.foo.bar(foo) }}
10 {{ items.foo.self.foo() }}
11 {{ items.foo.is }}
12 {{ items.foo.in }}
13 {{ items.foo.not }}
15 return ['foo' => 'bar', 'items' => ['foo' => new TwigTestFoo(), 'bar' => 'foo']]
19 foo
20 foo
[all …]
H A Dpostfix.test6 {% macro foo() %}foo{% endmacro %}
12 {{ macros.foo() }}
13 {{ (macros).foo() }}
21 foo
22 foo
H A Dstarts_with.test4 {{ 'foo' starts with 'f' ? 'OK' : 'KO' }}
5 {{ not ('foo' starts with 'oo') ? 'OK' : 'KO' }}
6 {{ not ('foo' starts with 'foowaytoolong') ? 'OK' : 'KO' }}
7 {{ 'foo' starts with 'f' ? 'OK' : 'KO' }}
8 {{ 'foo' starts
10 {{ 'foo' starts with '' ? 'OK' : 'KO' }}
H A Dstrings.test4 {{ "foo #{"foo #{bar} baz"} baz" }}
5 {{ "foo #{bar}#{bar} baz" }}
9 foo foo BAR baz baz
10 foo BARBAR baz
H A Dternary_operator.test8 {{ 1 == 1 ? 'foo<br />':'' }}
9 {{ foo ~ (bar ? ('-' ~ bar) : '') }}
11 return ['foo' => 'foo', 'bar' => 'bar']
17 foo<br />
18 foo-bar
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dbatch_with_keys.test4 {{ {'foo': 'bar', 'key': 'value'}|batch(4)|first|keys|join(',') }}
5 {{ {'foo': 'bar', 'key': 'value'}|batch(4, 'fill')|first|keys|join(',') }}
9 foo,key
10 foo,key,0,1
H A Ddefault.test18 {{ undefinedVar.foo |default('default') is same as('default') ? 'ok' : 'ko' }}
28 {{ object.foo |default('default') is same as('default') ? 'ko' : 'ok' }}
35 {{ nested.undefinedVar.foo.bar |default('default') is same as('default') ? 'ok' : 'ko' }}
38 {{ object.self.foo |default('default') is same as('default') ? 'ko' : 'ok' }}
H A Ddynamic_filter.test9 foo/bar
H A Descape.test4 {{ "foo <br />"|e }}
8 foo &lt;br /&gt;
H A Dforce_escape.test4 {% set foo %}
5 foo<br />
8 {{ foo|e('html') -}}
9 {{ foo|e('js') }}
11 {{ foo }}
16 foo&lt;br /&gt;
18 foo<br />
H A Dformat.test4 {{ string|format(foo, 3) }}
6 return ['string' => '%s/%d', 'foo' => 'bar']
H A Djoin.test4 {{ ["foo", "bar"]|join(', ') }}
5 {{ foo|join(', ') }}
8 {{ ["foo", "bar"]|join(', ', ' and ') }}
9 {{ foo|join(', ', ' and ') }}
21 return ['foo' => new TwigTestFoo(), 'bar' => new \ArrayObject([3, 4])]
23 foo, bar
27 foo and bar
H A Djson_encode.test4 {{ "foo"|json_encode|raw }}
5 {{ foo|json_encode|raw }}
6 {{ [foo, "foo"]|json_encode|raw }}
8 return ['foo' => new \Twig\Markup('foo', 'UTF-8')]
10 "foo"
11 "foo"
12 ["foo","foo"]
H A Dlength.test17 'string' => 'foo',
H A Dlength_utf8.test9 return ['string' => 'été', 'markup' => new \Twig\Markup('foo', 'UTF-8')]
H A Dmerge.test4 {{ items|merge({'bar': 'foo'})|join }}
5 {{ items|merge({'bar': 'foo'})|keys|join }}
6 {{ {'bar': 'foo'}|merge(items)|join }}
7 {{ {'bar': 'foo'}|merge(items)|keys|join }}
12 'items' => ['foo' => 'bar'],
H A Dreplace.test4 {{ "I liké %this% and %that%."|replace({'%this%': "foo", '%that%': "bar"}) }}
8 return ['traversable' => new \ArrayObject(['%this%' => 'foo', '%that%' => 'bar'])]
10 I liké foo and bar.
12 I like foo and bar.
H A Dreplace_invalid_arg.test4 {{ 'test %foo%'|replace(stdClass) }}
H A Dsort.test8 return ['array1' => [4, 1], 'array2' => ['foo', 'bar'], 'traversable' => new \ArrayObject([0 => 3, …
H A Dspaceless.test4 {{ " <div> <div> foo </div> </div>"|spaceless }}
8 <div><div> foo </div></div>

12345678910>>...17