13 | ...
14 | {{ parent() }}
15 | {% endblock %}
16 |
17 | The ``parent()`` call will return the content of the ``sidebar`` block as
18 | defined in the ``base.html`` template.
19 |
20 | .. seealso:: :doc:`extends<../tags/extends>`, :doc:`block<../functions/block>`, :doc:`block<../tags/block>`
21 |
--------------------------------------------------------------------------------
/Vendor/Twig/lib/Twig/Node/Expression/TempName.php:
--------------------------------------------------------------------------------
1 | $name), $lineno);
16 | }
17 |
18 | public function compile(Twig_Compiler $compiler)
19 | {
20 | $compiler->raw('$_')->raw($this->getAttribute('name'))->raw('_');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Vendor/Twig/test/Twig/Tests/Fixtures/expressions/dotdot.test:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Twig supports the .. operator
3 | --TEMPLATE--
4 | {% for i in 0..10 %}{{ i }} {% endfor %}
5 |
6 | {% for letter in 'a'..'z' %}{{ letter }} {% endfor %}
7 |
8 | {% for letter in 'a'|upper..'z'|upper %}{{ letter }} {% endfor %}
9 |
10 | {% for i in foo[0]..foo[1] %}{{ i }} {% endfor %}
11 |
12 | {% for i in 0 + 1 .. 10 - 1 %}{{ i }} {% endfor %}
13 | --DATA--
14 | return array('foo' => array(1, 10))
15 | --EXPECT--
16 | 0 1 2 3 4 5 6 7 8 9 10
17 | a b c d e f g h i j k l m n o p q r s t u v w x y z
18 | A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
19 | 1 2 3 4 5 6 7 8 9 10
20 | 1 2 3 4 5 6 7 8 9
21 |
--------------------------------------------------------------------------------
/Vendor/Twig/doc/filters/convert_encoding.rst:
--------------------------------------------------------------------------------
1 | ``convert_encoding``
2 | ====================
3 |
4 | .. versionadded:: 1.4
5 | The ``convert_encoding`` filter was added in Twig 1.4.
6 |
7 | The ``convert_encoding`` filter converts a string from one encoding to
8 | another. The first argument is the expected output charset and the second one
9 | is the input charset:
10 |
11 | .. code-block:: jinja
12 |
13 | {{ data|convert_encoding('UTF-8', 'iso-2022-jp') }}
14 |
15 | .. note::
16 |
17 | This filter relies on the `iconv`_ or `mbstring`_ extension. So one of
18 | them must be installed.
19 |
20 | .. _`iconv`: http://php.net/iconv
21 | .. _`mbstring`: http://php.net/mbstring
22 |
--------------------------------------------------------------------------------
/Vendor/Twig/lib/Twig/Node/Expression/Constant.php:
--------------------------------------------------------------------------------
1 | $value), $lineno);
17 | }
18 |
19 | public function compile(Twig_Compiler $compiler)
20 | {
21 | $compiler->repr($this->getAttribute('value'));
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/View/events/_summary.html.twig:
--------------------------------------------------------------------------------
1 |