PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Protected Member Functions | Protected Attributes
Twig_NodeVisitor_SafeAnalysis Class Reference
Inheritance diagram for Twig_NodeVisitor_SafeAnalysis:
Twig_NodeVisitorInterface

Public Member Functions

 setSafeVars ($safeVars)
 
 getSafe (Twig_NodeInterface $node)
 
 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...
 
 getPriority ()
 {Returns the priority for this visitor.Priority should be between -10 and 10 (0 is the default).
Returns
integer The priority level
} More...
 

Protected Member Functions

 setSafe (Twig_NodeInterface $node, array $safe)
 
 intersectSafe (array $a=null, array $b=null)
 

Protected Attributes

 $data = array()
 
 $safeVars = array()
 

Detailed Description

Definition at line 3 of file SafeAnalysis.php.

Member Function Documentation

enterNode ( Twig_NodeInterface  $node,
Twig_Environment  $env 
)

Called before child nodes are visited.

Parameters
Twig_NodeInterface$nodeThe node to visit
Twig_Environment$envThe Twig environment instance
Returns
Twig_NodeInterface The modified node

Implements Twig_NodeVisitorInterface.

Definition at line 43 of file SafeAnalysis.php.

getPriority ( )

{Returns the priority for this visitor.Priority should be between -10 and 10 (0 is the default).

Returns
integer The priority level
}

Implements Twig_NodeVisitorInterface.

Definition at line 127 of file SafeAnalysis.php.

getSafe ( Twig_NodeInterface  $node)

Definition at line 13 of file SafeAnalysis.php.

intersectSafe ( array  $a = null,
array  $b = null 
)
protected

Definition at line 107 of file SafeAnalysis.php.

leaveNode ( Twig_NodeInterface  $node,
Twig_Environment  $env 
)

Called after child nodes are visited.

Parameters
Twig_NodeInterface$nodeThe node to visit
Twig_Environment$envThe Twig environment instance
Returns
Twig_NodeInterface|false The modified node or false if the node must be removed

Implements Twig_NodeVisitorInterface.

Definition at line 48 of file SafeAnalysis.php.

setSafe ( Twig_NodeInterface  $node,
array  $safe 
)
protected

Definition at line 25 of file SafeAnalysis.php.

setSafeVars (   $safeVars)

Definition at line 8 of file SafeAnalysis.php.

Field Documentation

$data = array()
protected

Definition at line 5 of file SafeAnalysis.php.

$safeVars = array()
protected

Definition at line 6 of file SafeAnalysis.php.


The documentation for this class was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:45 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.