|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a trans node. More...
Inheritance diagram for Twig_Extensions_Node_Trans:
Collaboration diagram for Twig_Extensions_Node_Trans: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 () | |
| compile (Twig_Compiler $compiler) | |
| Compiles the node to PHP. More... | |
| getLine () | |
| getNodeTag () | |
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, and Twig_Node\$tag.
| Twig_Extensions_Node_Trans::compile | ( | Twig_Compiler | $compiler | ) |
{Compiles the node to PHP.}
Reimplemented from Twig_Node.
Definition at line 38 of file Trans.php.
References $function, $message, Twig_Compiler\addDebugInfo(), compileString(), Twig_Node\getAttribute(), Twig_Node\getNode(), getTransFunction(), Twig_Node\hasNode(), Twig_Compiler\raw(), Twig_Compiler\string(), and Twig_Compiler\write().
Here is the call graph for this function:
|
protected |
Definition at line 122 of file Trans.php.
References $n, Twig_Node\count(), Twig_Node\getAttribute(), Twig_Node\getTemplateLine(), and sprintf.
Referenced by compile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |