ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Represents an autoescape node. More...
Public Member Functions | |
__construct ($value, Twig_NodeInterface $body, $lineno, $tag='autoescape') | |
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 () | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
$nodes | |
$attributes | |
$lineno | |
$tag | |
Represents an autoescape node.
The value is the escaping strategy (can be html, js, ...)
The true value is equivalent to html.
If autoescaping is disabled, then the value is false.
Definition at line 23 of file AutoEscape.php.
Twig_Node_AutoEscape::__construct | ( | $value, | |
Twig_NodeInterface | $body, | ||
$lineno, | |||
$tag = 'autoescape' |
|||
) |
Twig_Node_AutoEscape::compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
Implements Twig_NodeInterface.
Definition at line 30 of file AutoEscape.php.
References Twig_Node\getNode(), and Twig_Compiler\subcompile().