Property | Type | Description | |
---|---|---|---|
$blocks | |||
$safeAnalysis | |||
$statusStack | |||
$traverser |
Method | Description | |
---|---|---|
__construct ( ) | ||
enterNode ( Twig_NodeInterface $node, Twig_Environment $env ) | Called before child nodes are visited. | |
getPriority ( ) | ||
leaveNode ( Twig_NodeInterface $node, Twig_Environment $env ) | Called after child nodes are visited. |
Method | Description | |
---|---|---|
escapePrintNode ( Twig_Node_Print $node, Twig_Environment $env, $type ) | ||
getEscaperFilter ( $type, Twig_NodeInterface $node ) | ||
isSafeFor ( $type, Twig_NodeInterface $expression, $env ) | ||
needEscaping ( Twig_Environment $env ) | ||
preEscapeFilterNode ( Twig_Node_Expression_Filter $filter, Twig_Environment $env ) |
public enterNode ( Twig_NodeInterface $node, Twig_Environment $env ) | ||
$node | Twig_NodeInterface | The node to visit |
$env | Twig_Environment | The Twig environment instance |
protected escapePrintNode ( Twig_Node_Print $node, Twig_Environment $env, $type ) | ||
$node | Twig_Node_Print | |
$env | Twig_Environment |
protected getEscaperFilter ( $type, Twig_NodeInterface $node ) | ||
$node | Twig_NodeInterface |
protected isSafeFor ( $type, Twig_NodeInterface $expression, $env ) | ||
$expression | Twig_NodeInterface |
public leaveNode ( Twig_NodeInterface $node, Twig_Environment $env ) | ||
$node | Twig_NodeInterface | The node to visit |
$env | Twig_Environment | The Twig environment instance |
protected needEscaping ( Twig_Environment $env ) | ||
$env | Twig_Environment |
protected preEscapeFilterNode ( Twig_Node_Expression_Filter $filter, Twig_Environment $env ) | ||
$filter | Twig_Node_Expression_Filter | |
$env | Twig_Environment |