ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (array $elements, $lineno) | |
getKeyValuePairs () | |
hasElement (Twig_Node_Expression $key) | |
addElement (Twig_Node_Expression $value, Twig_Node_Expression $key=null) | |
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... | |
getTemplateLine () | |
getLine () | |
getNodeTag () | |
hasAttribute ($name) | |
getAttribute ($name) | |
setAttribute ($name, $value) | |
removeAttribute ($name) | |
hasNode ($name) | |
getNode ($name) | |
setNode ($name, $node=null) | |
removeNode ($name) | |
count () | |
getIterator () | |
setTemplateName ($name) | |
getTemplateName () | |
setFilename ($name) | |
getFilename () | |
Protected Attributes | |
$index | |
Protected Attributes inherited from Twig_Node | |
$nodes | |
$attributes | |
$lineno | |
$tag | |
Twig_Node_Expression_Array::__construct | ( | array | $elements, |
$lineno | |||
) |
Definition at line 15 of file Array.php.
References Twig_Node\$lineno, array, Twig_Node\getAttribute(), and getKeyValuePairs().
Twig_Node_Expression_Array::addElement | ( | Twig_Node_Expression | $value, |
Twig_Node_Expression | $key = null |
||
) |
Definition at line 54 of file Array.php.
References $key, and Twig_Node\getTemplateLine().
Referenced by Twig_ExpressionParser\parseArrayExpression().
Twig_Node_Expression_Array::compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
Implements Twig_NodeInterface.
Definition at line 63 of file Array.php.
References getKeyValuePairs(), Twig_Compiler\raw(), and Twig_Compiler\subcompile().
Twig_Node_Expression_Array::getKeyValuePairs | ( | ) |
Definition at line 27 of file Array.php.
References array.
Referenced by __construct(), compile(), and hasElement().
Twig_Node_Expression_Array::hasElement | ( | Twig_Node_Expression | $key | ) |
Definition at line 41 of file Array.php.
References getKeyValuePairs().