ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a trans node. More...
Public Member Functions | |
__construct (Twig_Node $body, Twig_Node $plural=null, Twig_Node_Expression $count=null, Twig_Node $notes=null, $lineno, $tag=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 Member Functions | |
compileString (Twig_Node $body) | |
getTransFunction ($plural) | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
$nodes | |
$attributes | |
$lineno | |
$tag | |
Twig_Extensions_Node_Trans::__construct | ( | Twig_Node | $body, |
Twig_Node | $plural = null , |
||
Twig_Node_Expression | $count = null , |
||
Twig_Node | $notes = null , |
||
$lineno, | |||
$tag = null |
|||
) |
Definition at line 19 of file Trans.php.
References Twig_Node\$lineno, Twig_Node\$nodes, Twig_Node\$tag, and array.
Twig_Extensions_Node_Trans::compile | ( | Twig_Compiler | $compiler | ) |
{Compiles the node to PHP.}
Implements Twig_NodeInterface.
Definition at line 38 of file Trans.php.
References $function, $message, Twig_Compiler\addDebugInfo(), array, compileString(), Twig_Node\getAttribute(), Twig_Node\getNode(), getTransFunction(), Twig_Node\hasNode(), Twig_Compiler\raw(), Twig_Compiler\string(), and Twig_Compiler\write().
|
protected |
Definition at line 122 of file Trans.php.
References $n, array, Twig_Node\count(), Twig_Node\getAttribute(), and Twig_Node\getTemplateLine().
Referenced by compile().
|
protected |