ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Twig_NodeVisitor_Escaper implements output escaping. More...
Public Member Functions | |
__construct () | |
getPriority () | |
Returns the priority for this visitor. More... | |
Public Member Functions inherited from Twig_BaseNodeVisitor | |
enterNode (Twig_NodeInterface $node, Twig_Environment $env) | |
Called before child nodes are visited. More... | |
leaveNode (Twig_NodeInterface $node, Twig_Environment $env) | |
Called after child nodes are visited. More... | |
Protected Member Functions | |
doEnterNode (Twig_Node $node, Twig_Environment $env) | |
doLeaveNode (Twig_Node $node, Twig_Environment $env) | |
escapePrintNode (Twig_Node_Print $node, Twig_Environment $env, $type) | |
preEscapeFilterNode (Twig_Node_Expression_Filter $filter, Twig_Environment $env) | |
isSafeFor ($type, Twig_NodeInterface $expression, $env) | |
needEscaping (Twig_Environment $env) | |
getEscaperFilter ($type, Twig_NodeInterface $node) | |
Protected Member Functions inherited from Twig_BaseNodeVisitor | |
doEnterNode (Twig_Node $node, Twig_Environment $env) | |
Called before child nodes are visited. More... | |
doLeaveNode (Twig_Node $node, Twig_Environment $env) | |
Called after child nodes are visited. More... | |
Protected Attributes | |
$statusStack = array() | |
$blocks = array() | |
$safeAnalysis | |
$traverser | |
$defaultStrategy = false | |
$safeVars = array() | |
Twig_NodeVisitor_Escaper implements output escaping.
Definition at line 19 of file Escaper.php.
Twig_NodeVisitor_Escaper::__construct | ( | ) |
Definition at line 28 of file Escaper.php.
|
protected |
Definition at line 33 of file Escaper.php.
References $defaultStrategy, array, Twig_Node\getAttribute(), Twig_Environment\getExtension(), Twig_Node\getNode(), Twig_Node\getTemplateName(), Twig_Environment\hasExtension(), and needEscaping().
|
protected |
Definition at line 52 of file Escaper.php.
References array, escapePrintNode(), Twig_Node\getAttribute(), needEscaping(), and preEscapeFilterNode().
|
protected |
Definition at line 73 of file Escaper.php.
References $type, getEscaperFilter(), Twig_Node\getNode(), Twig_Node\getTemplateLine(), and isSafeFor().
Referenced by doLeaveNode().
|
protected |
Definition at line 139 of file Escaper.php.
References $name, $type, and array.
Referenced by escapePrintNode(), and preEscapeFilterNode().
Twig_NodeVisitor_Escaper::getPriority | ( | ) |
Returns the priority for this visitor.
Priority should be between -10 and 10 (0 is the default).
Implements Twig_NodeVisitorInterface.
Definition at line 148 of file Escaper.php.
|
protected |
Definition at line 112 of file Escaper.php.
References $env, $type, and array.
Referenced by escapePrintNode(), and preEscapeFilterNode().
|
protected |
Definition at line 130 of file Escaper.php.
Referenced by doEnterNode(), and doLeaveNode().
|
protected |
Definition at line 93 of file Escaper.php.
References $name, $type, getEscaperFilter(), Twig_Environment\getFilter(), Twig_Node\getNode(), isSafeFor(), and Twig_Node\setNode().
Referenced by doLeaveNode().
|
protected |
Definition at line 22 of file Escaper.php.
|
protected |
Definition at line 25 of file Escaper.php.
Referenced by doEnterNode().
|
protected |
Definition at line 23 of file Escaper.php.
|
protected |
Definition at line 26 of file Escaper.php.
|
protected |
Definition at line 21 of file Escaper.php.
|
protected |
Definition at line 24 of file Escaper.php.