/plugin/findologicxmlexport/vendor/twig/twig/doc/ |
H A D | advanced.rst | 87 Last but not the least, you can also use a *global* object with a method able 139 // or a class static method 143 // or a class method 456 Adding a tag is as simple as calling the ``addTokenParser`` method on the 488 The ``getTag()`` method must return the tag we want to parse, here ``set``. 490 The ``parse()`` method is invoked whenever the parser encounters a ``set`` 697 method:: 715 method:: 733 method. This method must return an array of filters to add to the Twig 752 ``getTokenParsers()`` method. This method must return an array of tags to add [all …]
|
H A D | advanced_legacy.rst | 130 A filter is a regular PHP function or an object method that takes the left 178 Adding a filter is as simple as calling the ``addFilter()`` method on the 314 ``addFunction()`` method on the ``\Twig\Environment`` instance:: 604 way, you just need to implement the ``getName()`` method as the 645 method:: 663 method:: 681 method. This method must return an array of filters to add to the Twig 706 when defining a filter to use a method:: 727 method to call. 763 ``addExtension()`` method on the environment instance:: [all …]
|
H A D | api.rst | 49 To load a template from a Twig environment, call the ``load()`` method which 59 To render the template with some variables, call the ``render()`` method:: 65 The ``display()`` method is a shortcut to output the template directly. 94 ``__toString()`` method that you can use to display the generated nodes 275 You can also add loaders via the ``addLoader()`` method. 313 The ``isFresh()`` method must return ``true`` if the current cached template 330 extension is as simple as using the ``addExtension()`` method:: 590 method is called in a sandboxed template.
|
H A D | deprecated.rst | 39 ``\Twig\Environment::removeExtension()`` method will be removed in 2.0. 41 * As of Twig 1.23, the ``\Twig\Extension\ExtensionInterface::initRuntime()`` method is 43 implement this method to store the environment for your custom filters, 48 * As of Twig 1.23, the ``\Twig\Extension\ExtensionInterface::getGlobals()`` method is 52 * As of Twig 1.26, the ``\Twig\Extension\ExtensionInterface::getName()`` method is
|
H A D | installation.rst | 73 You can also install the C extension via PEAR (note that this method is 112 ``\Twig\Template::getAttribute()`` method.
|
H A D | internals.rst | 24 method of the compiled template and passing it the context. 45 ``tokenize()`` method of an environment:: 53 As the stream has a ``__toString()`` method, you can have a textual 71 the ``setLexer()`` method:: 83 ``parse()`` method of an environment:: 105 ``setParser()`` method:: 115 You can manually compile a node tree to PHP code with the ``compile()`` method 140 ``setCompiler()`` method::
|
H A D | intro.rst | 68 The ``render()`` method loads the template passed as a first argument and
|
H A D | recipes.rst | 27 The ``collectDir()`` method compiles all templates found in a directory, 33 method instead. ``collect()`` takes a ``Traversable`` which must return 205 thanks to the magic ``__get()`` method; you just need to also implement the 206 ``__isset()`` magic method like shown in the following snippet of code:: 317 ``tokenize()`` method to get the filename in the exception message:: 335 This method won't catch any sandbox policy violations because the policy
|
H A D | templates.rst | 110 * if not, and if ``foo`` is an object, check that ``bar`` is a valid method 112 * if not, and if ``foo`` is an object, check that ``getBar`` is a valid method; 113 * if not, and if ``foo`` is an object, check that ``isBar`` is a valid method;
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | date.rst | 50 default can be easily changed by calling the ``setDateFormat()`` method on the
|
H A D | default.rst | 18 method calls, be sure to use the ``default`` filter whenever a variable can be 23 {{ var.method(foo|default('foo'))|default('foo') }}
|
H A D | escape.rst | 93 You can define custom escapers by calling the ``setEscaper()`` method on the
|
H A D | length.rst | 6 Support for the ``__toString()`` magic method has been added in Twig 1.33. 12 return value of the ``count()`` method. 14 For objects that implement the ``__toString()`` magic method (and not ``Countable``), 15 it will return the length of the string provided by that method. 17 …atorAggregate`` interface, ``length`` will use the return value of the ``iterator_count()`` method.
|
H A D | round.rst | 18 precision (default is ``0``) and the second the rounding method (default is 37 * ``method``: The rounding method
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
H A D | attribute.rst | 12 {{ attribute(object, method) }} 13 {{ attribute(object, method, arguments) }} 21 {{ attribute(object, method) is defined ? 'Method exists' : 'Method does not exist' }}
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/ |
H A D | defined.rst | 24 method calls, be sure that they are all defined first: 28 {% if var is defined and foo.method(var) is defined %}
|
H A D | empty.rst | 6 Support for the ``__toString()`` magic method has been added in Twig 1.33. 12 return value of the ``count()`` method. 14 For objects that implement the ``__toString()`` magic method (and not ``Countable``),
|
/plugin/findologicxmlexport/vendor/twig/twig/ext/twig/ |
H A D | twig.c | 398 ZVAL_STRING(zfunction, method, 1); in TWIG_CALL_S() 423 static int TWIG_CALL_SB(zval *object, char *method, char *arg0 TSRMLS_DC) in TWIG_CALL_SB() argument 428 retval_ptr = TWIG_CALL_S(object, method, arg0 TSRMLS_CC); in TWIG_CALL_SB() 450 ZVAL_STRING(zfunction, method, 1); in TWIG_CALL_ZZ() 995 char *method = NULL; in PHP_FUNCTION() local 1014 method = item; in PHP_FUNCTION() 1016 method = tmp_method_name_get; in PHP_FUNCTION() 1018 method = tmp_method_name_is; in PHP_FUNCTION() 1020 method = item; in PHP_FUNCTION() 1069 ZVAL_STRING(zmethod, method, 1); in PHP_FUNCTION() [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Filter/ |
H A D | Method.php | 28 protected $method; variable in Twig_Filter_Method 30 public function __construct(ExtensionInterface $extension, $method, array $options = []) argument 32 $options['callable'] = [$extension, $method]; 37 $this->method = $method; 42 …eturn sprintf('$this->env->getExtension(\'%s\')->%s', \get_class($this->extension), $this->method);
|
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Function/ |
H A D | Method.php | 29 protected $method; variable in Twig_Function_Method 31 public function __construct(ExtensionInterface $extension, $method, array $options = []) argument 33 $options['callable'] = [$extension, $method]; 38 $this->method = $method; 43 …eturn sprintf('$this->env->getExtension(\'%s\')->%s', \get_class($this->extension), $this->method);
|
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Test/ |
H A D | Method.php | 26 protected $method; variable in Twig_Test_Method 28 public function __construct(ExtensionInterface $extension, $method, array $options = []) argument 30 $options['callable'] = [$extension, $method]; 35 $this->method = $method; 40 …eturn sprintf('$this->env->getExtension(\'%s\')->%s', \get_class($this->extension), $this->method);
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/ |
H A D | CoreExtension.php | 529 * @param string $method The method to use for rounding 533 function twig_round($value, $precision = 0, $method = 'common') argument 535 if ('common' == $method) { 539 if ('ceil' != $method && 'floor' != $method) { 543 return $method($value * pow(10, $precision)) / pow(10, $precision);
|
H A D | SandboxExtension.php | 80 public function checkMethodAllowed($obj, $method) argument 83 $this->policy->checkMethodAllowed($obj, $method); 87 public function checkPropertyAllowed($obj, $method) argument 90 $this->policy->checkPropertyAllowed($obj, $method);
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/ |
H A D | BlockReferenceExpression.php | 61 private function compileTemplateCall(Compiler $compiler, $method) argument 77 $compiler->raw(sprintf('->%s', $method));
|
H A D | CallExpression.php | 286 $method = substr($callable, $pos + 2); 287 if (!method_exists($class, $method)) { 292 $callable = [$class, $method];
|