/plugin/findologicxmlexport/vendor/twig/twig/doc/ |
H A D | advanced.rst | 117 $twig = new \Twig\Environment($loader); 118 $twig->addGlobal('text', new Text()); 154 $twig = new \Twig\Environment($loader); 155 $twig->addFilter($filter); 300 $twig = new \Twig\Environment($loader); 304 $twig->addFunction($function); 315 $twig = new \Twig\Environment($loader); 319 $twig->addTest($test); 325 $twig = new \Twig\Environment($loader); 335 $twig->addTest($test); [all …]
|
H A D | advanced_legacy.rst | 118 $twig = new \Twig\Environment($loader); 119 $twig->addGlobal('text', new Text()); 181 $twig = new \Twig\Environment($loader); 316 $twig = new \Twig\Environment($loader); 322 $twig = new \Twig\Environment($loader); 400 $twig = new \Twig\Environment($loader); 401 $twig->addTokenParser(new Project_Set_TokenParser()); 631 $twig = new \Twig\Environment($loader); 632 $twig->addExtension(new Project_Twig_Extension()); 765 $twig = new \Twig\Environment($loader); [all …]
|
H A D | api.rst | 28 $twig = new \Twig\Environment($loader, [ 52 $template = $twig->load('index.html'); 87 $twig = new \Twig\Environment($loader, ['debug' => true]); 210 $twig->render('@admin/index.html', []); 233 $twig = new \Twig\Environment($loader); 235 echo $twig->render('index.html', ['name' => 'Fabien']); 263 $twig = new \Twig\Environment($loader); 332 $twig->addExtension(new \Twig\Extension\SandboxExtension()); 382 $twig->addExtension($escaper); 499 $twig->addExtension($sandbox); [all …]
|
H A D | installation.rst | 16 composer require twig/twig:~1.0 43 pear channel-discover pear.twig-project.org 44 pear install twig/Twig 65 cd ext/twig 79 pear channel-discover pear.twig-project.org 80 pear install twig/CTwig 85 …ut Twig's C extension source code into ``C:\php-sdk\phpdev\vcXX\x86\php-source-directory\ext\twig`` 86 3. Use the ``configure --disable-all --enable-cli --enable-twig=shared`` command instead of step 14 96 --enable-twig=shared`` to be able to build the twig C extension for 106 extension=twig.so #For Unix systems
|
H A D | internals.rst | 47 $stream = $twig->tokenize(new \Twig\Source($source, $identifier)); 73 $twig->setLexer($lexer); 85 $nodes = $twig->parse($stream); 107 $twig->setParser($parser); 118 $php = $twig->compile($nodes); 142 $twig->setCompiler($compiler);
|
H A D | intro.rst | 41 composer require "twig/twig:~1.0" 61 $twig = new \Twig\Environment($loader); 63 echo $twig->render('index', ['name' => 'Fabien']); 75 $twig = new \Twig\Environment($loader, [ 79 echo $twig->render('index.html', ['name' => 'Fabien']);
|
H A D | recipes.rst | 21 $twig = create_your_twig_env(); 119 {# page.twig #} 120 {% extends "layout.twig" %} 164 $twig = new \Twig\Environment(); 172 $twig->setLexer($lexer); 309 $twig->parse($twig->tokenize(new \Twig\Source($template))); 321 $twig->parse($twig->tokenize(new \Twig\Source($template, $file->getFilename(), $file))); 408 {% extends "base.twig" %} 416 ``base.twig`` and ``index.twig``. 482 echo $twig->render('index.twig', ['name' => 'Fabien']); [all …]
|
H A D | templates.rst | 50 * *Vim* via the `Jinja syntax plugin`_ or the `vim-twig plugin`_ 61 * *Atom* via the `PHP-twig for atom`_ 795 due to the :ref:`operator precedence rules <twig-expressions>`: 902 .. _`vim-twig plugin`: https://github.com/lumiliet/vim-twig 903 .. _`Twig syntax plugin`: http://plugins.netbeans.org/plugin/37069/php-twig 905 .. _`Twig language definition`: https://github.com/gabrielcorpse/gedit-twig-template-language 909 .. _`Notepad++ Twig Highlighter`: https://github.com/Banane9/notepadplusplus-twig 912 .. _`PHP-twig for atom`: https://github.com/reesef/php-twig 914 …ack`: https://marketplace.visualstudio.com/items?itemName=bajdzis.vscode-twig-pack
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | date.rst | 56 $twig = new \Twig\Environment($loader); 57 $twig->getExtension('\Twig\Extension\CoreExtension')->setDateFormat('d/m/Y', '%d days'); 60 $twig->getExtension('core')->setDateFormat('d/m/Y', '%d days'); 84 $twig = new \Twig\Environment($loader); 85 $twig->getExtension('\Twig\Extension\CoreExtension')->setTimezone('Europe/Paris'); 88 $twig->getExtension('core')->setTimezone('Europe/Paris');
|
H A D | escape.rst | 99 $twig = new \Twig\Environment($loader); 100 $twig->getExtension('\Twig\Extension\CoreExtension')->setEscaper('csv', 'csv_escaper'); 103 $twig->getExtension('core')->setEscaper('csv', 'csv_escaper');
|
H A D | number_format.rst | 22 Twig's :ref:`precedence of operators <twig-expressions>`: 40 $twig = new \Twig\Environment($loader); 41 $twig->getExtension('\Twig\Extension\CoreExtension')->setNumberFormat(3, '.', ','); 44 $twig->getExtension('core')->setNumberFormat(3, '.', ',');
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
H A D | block.rst | 26 {{ block("title", "common_blocks.twig") }} 37 {% if block("footer", "common_blocks.twig") is defined %}
|
H A D | date.rst | 43 $twig = new \Twig\Environment($loader); 44 $twig->getExtension('\Twig\Extension\CoreExtension')->setTimezone('Europe/Paris'); 47 $twig->getExtension('core')->setTimezone('Europe/Paris');
|
H A D | dump.rst | 21 $twig = new \Twig\Environment($loader, [ 25 $twig->addExtension(new \Twig\Extension\DebugExtension());
|
H A D | include.rst | 46 $template = $twig->loadTemplate('some_template.twig'); 49 $template = $twig->load('some_template.twig'); 51 $twig->display('template.twig', ['template' => $template]);
|
H A D | template_from_string.rst | 20 $twig = new \Twig\Environment(...); 21 $twig->addExtension(new \Twig\Extension\StringLoaderExtension());
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/ |
H A D | deprecated.rst | 12 {# base.twig #} 13 {% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} 14 {% extends 'layout.twig' %}
|
H A D | embed.rst | 17 {% embed "teasers_skeleton.twig" %} 18 {# These blocks are defined in "teasers_skeleton.twig" #} 117 Page template ``foo.twig``: 121 {% extends "layout_skeleton.twig" %} 124 {% embed "vertical_boxes_skeleton.twig" %} 135 And here is the code for ``vertical_boxes_skeleton.twig``: 151 The goal of the ``vertical_boxes_skeleton.twig`` template being to factor
|
H A D | extends.rst | 162 $layout = $twig->loadTemplate('some_layout_template.twig'); 165 $layout = $twig->load('some_layout_template.twig'); 167 $twig->display('template.twig', ['layout' => $layout]); 204 {# base.twig #} 219 {# child.twig #} 221 {% extends "base.twig" %}
|
H A D | include.rst | 83 $template = $twig->loadTemplate('some_template.twig'); 86 $template = $twig->load('some_template.twig'); 88 $twig->display('template.twig', ['template' => $template]);
|
H A D | set.rst | 22 <twig-expressions>`:
|
/plugin/findologicxmlexport/vendor/twig/twig/ext/twig/ |
H A D | config.m4 | 1 dnl config.m4 for extension twig 3 PHP_ARG_ENABLE(twig, whether to enable twig support, 4 [ --enable-twig Enable twig support]) 7 PHP_NEW_EXTENSION(twig, twig.c, $ext_shared)
|
H A D | config.w32 | 3 ARG_ENABLE("twig", "Twig support", "no"); 7 EXTENSION('twig', 'twig.c');
|
H A D | php_twig.h | 33 PHP_RSHUTDOWN_FUNCTION(twig);
|
H A D | twig.c | 70 PHP_RSHUTDOWN_FUNCTION(twig) in PHP_RSHUTDOWN_FUNCTION() argument 85 PHP_RSHUTDOWN(twig), 93 ZEND_GET_MODULE(twig) in ZEND_GET_MODULE() argument
|