PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Protected Member Functions
Twig_Node_Module Class Reference

Represents a module node. More...

Inheritance diagram for Twig_Node_Module:
Twig_Node Twig_NodeInterface Twig_Node_SandboxedModule

Public Member Functions

 __construct (Twig_NodeInterface $body, Twig_Node_Expression $parent=null, Twig_NodeInterface $blocks, Twig_NodeInterface $macros, Twig_NodeInterface $traits, $embeddedTemplates, $filename)
 
 setIndex ($index)
 
 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...
 
 getLine ()
 
 getNodeTag ()
 
 hasAttribute ($name)
 Returns true if the attribute is defined. More...
 
 getAttribute ($name)
 Gets an attribute. More...
 
 setAttribute ($name, $value)
 Sets an attribute. More...
 
 removeAttribute ($name)
 Removes an attribute. More...
 
 hasNode ($name)
 Returns true if the node with the given identifier exists. More...
 
 getNode ($name)
 Gets a node by name. More...
 
 setNode ($name, $node=null)
 Sets a node. More...
 
 removeNode ($name)
 Removes a node by name. More...
 
 count ()
 
 getIterator ()
 

Protected Member Functions

 compileTemplate (Twig_Compiler $compiler)
 
 compileGetParent (Twig_Compiler $compiler)
 
 compileDisplayBody (Twig_Compiler $compiler)
 
 compileClassHeader (Twig_Compiler $compiler)
 
 compileConstructor (Twig_Compiler $compiler)
 
 compileDisplayHeader (Twig_Compiler $compiler)
 
 compileDisplayFooter (Twig_Compiler $compiler)
 
 compileClassFooter (Twig_Compiler $compiler)
 
 compileMacros (Twig_Compiler $compiler)
 
 compileGetTemplateName (Twig_Compiler $compiler)
 
 compileIsTraitable (Twig_Compiler $compiler)
 
 compileDebugInfo (Twig_Compiler $compiler)
 
 compileLoadTemplate (Twig_Compiler $compiler, $node, $var)
 

Additional Inherited Members

- Protected Attributes inherited from Twig_Node
 $nodes
 
 $attributes
 
 $lineno
 
 $tag
 

Detailed Description

Represents a module node.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Definition at line 18 of file Module.php.

Constructor & Destructor Documentation

__construct ( Twig_NodeInterface  $body,
Twig_Node_Expression  $parent = null,
Twig_NodeInterface  $blocks,
Twig_NodeInterface  $macros,
Twig_NodeInterface  $traits,
  $embeddedTemplates,
  $filename 
)

Definition at line 20 of file Module.php.

Member Function Documentation

compile ( Twig_Compiler  $compiler)

Compiles the node to PHP.

Parameters
Twig_CompilerA Twig_Compiler instance

Implements Twig_NodeInterface.

Definition at line 36 of file Module.php.

compileClassFooter ( Twig_Compiler  $compiler)
protected

Definition at line 260 of file Module.php.

compileClassHeader ( Twig_Compiler  $compiler)
protected

Definition at line 121 of file Module.php.

compileConstructor ( Twig_Compiler  $compiler)
protected

Definition at line 134 of file Module.php.

compileDebugInfo ( Twig_Compiler  $compiler)
protected

Definition at line 338 of file Module.php.

compileDisplayBody ( Twig_Compiler  $compiler)
protected

Definition at line 107 of file Module.php.

compileDisplayFooter ( Twig_Compiler  $compiler)
protected

Definition at line 252 of file Module.php.

compileDisplayHeader ( Twig_Compiler  $compiler)
protected

Definition at line 244 of file Module.php.

compileGetParent ( Twig_Compiler  $compiler)
protected

Definition at line 78 of file Module.php.

compileGetTemplateName ( Twig_Compiler  $compiler)
protected

Definition at line 273 of file Module.php.

compileIsTraitable ( Twig_Compiler  $compiler)
protected

Definition at line 286 of file Module.php.

compileLoadTemplate ( Twig_Compiler  $compiler,
  $node,
  $var 
)
protected

Definition at line 349 of file Module.php.

compileMacros ( Twig_Compiler  $compiler)
protected

Definition at line 268 of file Module.php.

compileTemplate ( Twig_Compiler  $compiler)
protected

Definition at line 45 of file Module.php.

setIndex (   $index)

Definition at line 26 of file Module.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.