ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Represents an include node. More...
Public Member Functions | |
__construct (Twig_Node_Expression $expr, Twig_Node_Expression $variables=null, $only=false, $ignoreMissing=false, $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 | |
addGetTemplate (Twig_Compiler $compiler) | |
addTemplateArguments (Twig_Compiler $compiler) | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
$nodes | |
$attributes | |
$lineno | |
$tag | |
Represents an include node.
Definition at line 18 of file Include.php.
Twig_Node_Include::__construct | ( | Twig_Node_Expression | $expr, |
Twig_Node_Expression | $variables = null , |
||
$only = false , |
|||
$ignoreMissing = false , |
|||
$lineno, | |||
$tag = null |
|||
) |
Definition at line 20 of file Include.php.
References Twig_Node\$lineno, Twig_Node\$nodes, and Twig_Node\$tag.
|
protected |
Definition at line 61 of file Include.php.
References Twig_Node\getNode(), Twig_Node\getTemplateLine(), Twig_Node\getTemplateName(), and Twig_Compiler\write().
Referenced by compile().
|
protected |
Definition at line 74 of file Include.php.
References Twig_Node\getAttribute(), Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\raw(), and Twig_Compiler\subcompile().
Referenced by compile().
Twig_Node_Include::compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
Implements Twig_NodeInterface.
Definition at line 30 of file Include.php.
References Twig_Compiler\addDebugInfo(), addGetTemplate(), addTemplateArguments(), Twig_Node\getAttribute(), Twig_Compiler\outdent(), Twig_Compiler\raw(), and Twig_Compiler\write().