![]() |
PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Checks if a variable is defined in the current context. More...
Public Member Functions | |
| __construct (Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments=null, $lineno) | |
| compile (Twig_Compiler $compiler) | |
| Compiles the node to PHP. More... | |
Public Member Functions inherited from Twig_Node_Expression_Test | |
| __construct (Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments=null, $lineno) | |
| compile (Twig_Compiler $compiler) | |
| Compiles the node to PHP. More... | |
Public Member Functions inherited from Twig_Node | |
| __construct (array $nodes=array(), array $attributes=array(), $lineno=0, $tag=null) | |
| Constructor. More... | |
| __toString () | |
| toXml ($asDom=false) | |
| compile (Twig_Compiler $compiler) | |
| Compiles the node to PHP. More... | |
| getLine () | |
| getNodeTag () | |
| hasAttribute ($name) | |
| Returns true if the attribute is defined. More... | |
| getAttribute ($name) | |
| Gets an attribute. More... | |
| setAttribute ($name, $value) | |
| Sets an attribute. More... | |
| removeAttribute ($name) | |
| Removes an attribute. More... | |
| hasNode ($name) | |
| Returns true if the node with the given identifier exists. More... | |
| getNode ($name) | |
| Gets a node by name. More... | |
| setNode ($name, $node=null) | |
| Sets a node. More... | |
| removeNode ($name) | |
| Removes a node by name. More... | |
| count () | |
| getIterator () | |
Protected Member Functions | |
| changeIgnoreStrictCheck (Twig_Node_Expression_GetAttr $node) | |
Protected Member Functions inherited from Twig_Node_Expression_Call | |
| compileCallable (Twig_Compiler $compiler) | |
| compileArguments (Twig_Compiler $compiler) | |
| getArguments ($callable, $arguments) | |
| normalizeName ($name) | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
| $nodes | |
| $attributes | |
| $lineno | |
| $tag | |
Checks if a variable is defined in the current context.
{# defined works with variable names and variable attributes #}
{% if foo is defined %}
{# ... #}
{% endif %}
Definition at line 24 of file Defined.php.
| __construct | ( | Twig_NodeInterface | $node, |
| $name, | |||
| Twig_NodeInterface | $arguments = null, |
||
| $lineno | |||
| ) |
Definition at line 26 of file Defined.php.
|
protected |
Definition at line 41 of file Defined.php.
| compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
| Twig_Compiler | A Twig_Compiler instance |
Implements Twig_NodeInterface.
Definition at line 50 of file Defined.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:45 -
is a product of
SAS. All rights reserved.