|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a module node. More...
Inheritance diagram for Twig_Node_Module:
Collaboration diagram for Twig_Node_Module:Public Member Functions | |
| __construct (Twig_NodeInterface $body, Twig_Node_Expression $parent=null, Twig_NodeInterface $blocks, Twig_NodeInterface $macros, Twig_NodeInterface $traits, $embeddedTemplates, $name, $source='') | |
| setIndex ($index) | |
| 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 | |
| compileTemplate (Twig_Compiler $compiler) | |
| compileGetParent (Twig_Compiler $compiler) | |
| compileClassHeader (Twig_Compiler $compiler) | |
| compileConstructor (Twig_Compiler $compiler) | |
Private Attributes | |
| $source | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
| $nodes | |
| $attributes | |
| $lineno | |
| $tag | |
Represents a module node.
Consider this class as being final. If you need to customize the behavior of the generated class, consider adding nodes to the following nodes: display_start, display_end, constructor_start, constructor_end, and class_end.
Definition at line 22 of file Module.php.
| Twig_Node_Module::__construct | ( | Twig_NodeInterface | $body, |
| Twig_Node_Expression | $parent = null, |
||
| Twig_NodeInterface | $blocks, | ||
| Twig_NodeInterface | $macros, | ||
| Twig_NodeInterface | $traits, | ||
| $embeddedTemplates, | |||
| $name, | |||
$source = '' |
|||
| ) |
Definition at line 26 of file Module.php.
References Twig_Node\$name, Twig_Node\$nodes, $source, Twig_Node\setTemplateName(), and sprintf.
Here is the call graph for this function:| Twig_Node_Module::compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
Reimplemented from Twig_Node.
Definition at line 69 of file Module.php.
References $template, compileTemplate(), Twig_Node\getAttribute(), and Twig_Compiler\subcompile().
Here is the call graph for this function:
|
protected |
Definition at line 153 of file Module.php.
References Twig_Compiler\getEnvironment(), sprintf, and Twig_Compiler\write().
Referenced by compileTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 166 of file Module.php.
References $i, $key, Twig_Node\$name, Twig_Compiler\addDebugInfo(), compileLoadTemplate(), Twig_Node\count(), Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\indent(), Twig_Compiler\outdent(), sprintf, and Twig_Compiler\write().
Referenced by compileTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 118 of file Module.php.
References Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\raw(), Twig_Compiler\subcompile(), and Twig_Compiler\write().
Referenced by compileTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 78 of file Module.php.
References compileClassFooter(), compileClassHeader(), compileConstructor(), compileDebugInfo(), compileDisplay(), compileGetParent(), compileGetSource(), compileGetSourceContext(), compileGetTemplateName(), compileIsTraitable(), compileMacros(), Twig_Node\count(), Twig_Node\getAttribute(), Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\subcompile(), and Twig_Compiler\write().
Referenced by compile().
Here is the call graph for this function:
Here is the caller graph for this function:| Twig_Node_Module::setIndex | ( | $index | ) |
Definition at line 64 of file Module.php.
References $index, and Twig_Node\setAttribute().
Here is the call graph for this function:
|
private |
Definition at line 24 of file Module.php.
Referenced by __construct().