PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Twig_NodeTraverser is a node traverser. More...
Public Member Functions | |
__construct (Twig_Environment $env, array $visitors=array()) | |
Constructor. More... | |
addVisitor (Twig_NodeVisitorInterface $visitor) | |
Adds a visitor. More... | |
traverse (Twig_NodeInterface $node) | |
Traverses a node and calls the registered visitors. More... | |
Protected Member Functions | |
traverseForVisitor (Twig_NodeVisitorInterface $visitor, Twig_NodeInterface $node=null) | |
Protected Attributes | |
$env | |
$visitors | |
Twig_NodeTraverser is a node traverser.
It visits all nodes and their children and call the given visitor for each.
Definition at line 19 of file NodeTraverser.php.
__construct | ( | Twig_Environment | $env, |
array | $visitors = array() |
||
) |
Constructor.
Twig_Environment | $env | A Twig_Environment instance |
array | $visitors | An array of Twig_NodeVisitorInterface instances |
Definition at line 30 of file NodeTraverser.php.
addVisitor | ( | Twig_NodeVisitorInterface | $visitor | ) |
Adds a visitor.
Twig_NodeVisitorInterface | $visitor | A Twig_NodeVisitorInterface instance |
Definition at line 44 of file NodeTraverser.php.
traverse | ( | Twig_NodeInterface | $node | ) |
Traverses a node and calls the registered visitors.
Twig_NodeInterface | $node | A Twig_NodeInterface instance |
Definition at line 58 of file NodeTraverser.php.
|
protected |
Definition at line 70 of file NodeTraverser.php.
|
protected |
Definition at line 21 of file NodeTraverser.php.
|
protected |
Definition at line 22 of file NodeTraverser.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:45 - is a product of SAS. All rights reserved.