PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Protected Attributes
Twig_Node_Expression_Array Class Reference
Inheritance diagram for Twig_Node_Expression_Array:
Twig_Node_Expression Twig_Node Twig_NodeInterface

Public Member Functions

 __construct (array $elements, $lineno)
 
 getKeyValuePairs ()
 
 hasElement (Twig_Node_Expression $key)
 
 addElement (Twig_Node_Expression $value, Twig_Node_Expression $key=null)
 
 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 Attributes

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

Detailed Description

Definition at line 11 of file Array.php.

Constructor & Destructor Documentation

__construct ( array  $elements,
  $lineno 
)

Definition at line 15 of file Array.php.

Member Function Documentation

addElement ( Twig_Node_Expression  $value,
Twig_Node_Expression  $key = null 
)

Definition at line 54 of file Array.php.

compile ( Twig_Compiler  $compiler)

Compiles the node to PHP.

Parameters
Twig_CompilerA Twig_Compiler instance

Implements Twig_NodeInterface.

Definition at line 68 of file Array.php.

getKeyValuePairs ( )

Definition at line 27 of file Array.php.

hasElement ( Twig_Node_Expression  $key)

Definition at line 41 of file Array.php.

Field Documentation

$index
protected

Definition at line 13 of file Array.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:44 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.