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

Internal class. More...

Inheritance diagram for Twig_Extension_Staging:
Twig_Extension Twig_ExtensionInterface

Public Member Functions

 addFunction ($name, $function)
 
 getFunctions ()
 {Returns a list of functions to add to the existing list.
Returns
array An array of functions
} More...
 
 addFilter ($name, $filter)
 
 getFilters ()
 {Returns a list of filters to add to the existing list.
Returns
array An array of filters
} More...
 
 addNodeVisitor (Twig_NodeVisitorInterface $visitor)
 
 getNodeVisitors ()
 {Returns the node visitor instances to add to the existing list.
Returns
array An array of Twig_NodeVisitorInterface instances
} More...
 
 addTokenParser (Twig_TokenParserInterface $parser)
 
 getTokenParsers ()
 {Returns the token parser instances to add to the existing list.
Returns
array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances
} More...
 
 addGlobal ($name, $value)
 
 getGlobals ()
 {Returns a list of global variables to add to the existing list.
Returns
array An array of global variables
} More...
 
 addTest ($name, $test)
 
 getTests ()
 {Returns a list of tests to add to the existing list.
Returns
array An array of tests
} More...
 
 getName ()
 {Returns the name of the extension.
Returns
string The extension name
} More...
 
- Public Member Functions inherited from Twig_Extension
 initRuntime (Twig_Environment $environment)
 Initializes the runtime environment. More...
 
 getTokenParsers ()
 Returns the token parser instances to add to the existing list. More...
 
 getNodeVisitors ()
 Returns the node visitor instances to add to the existing list. More...
 
 getFilters ()
 Returns a list of filters to add to the existing list. More...
 
 getTests ()
 Returns a list of tests to add to the existing list. More...
 
 getFunctions ()
 Returns a list of functions to add to the existing list. More...
 
 getOperators ()
 Returns a list of operators to add to the existing list. More...
 
 getGlobals ()
 Returns a list of global variables to add to the existing list. More...
 

Protected Attributes

 $functions = array()
 
 $filters = array()
 
 $visitors = array()
 
 $tokenParsers = array()
 
 $globals = array()
 
 $tests = array()
 

Detailed Description

Internal class.

This class is used by Twig_Environment as a staging area and must not be used directly.

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

Definition at line 19 of file Staging.php.

Member Function Documentation

addFilter (   $name,
  $filter 
)

Definition at line 41 of file Staging.php.

addFunction (   $name,
  $function 
)

Definition at line 28 of file Staging.php.

addGlobal (   $name,
  $value 
)

Definition at line 80 of file Staging.php.

addNodeVisitor ( Twig_NodeVisitorInterface  $visitor)

Definition at line 54 of file Staging.php.

addTest (   $name,
  $test 
)

Definition at line 93 of file Staging.php.

addTokenParser ( Twig_TokenParserInterface  $parser)

Definition at line 67 of file Staging.php.

getFilters ( )

{Returns a list of filters to add to the existing list.

Returns
array An array of filters
}

Implements Twig_ExtensionInterface.

Definition at line 49 of file Staging.php.

getFunctions ( )

{Returns a list of functions to add to the existing list.

Returns
array An array of functions
}

Implements Twig_ExtensionInterface.

Definition at line 36 of file Staging.php.

getGlobals ( )

{Returns a list of global variables to add to the existing list.

Returns
array An array of global variables
}

Implements Twig_ExtensionInterface.

Definition at line 88 of file Staging.php.

getName ( )

{Returns the name of the extension.

Returns
string The extension name
}

Implements Twig_ExtensionInterface.

Definition at line 109 of file Staging.php.

getNodeVisitors ( )

{Returns the node visitor instances to add to the existing list.

Returns
array An array of Twig_NodeVisitorInterface instances
}

Implements Twig_ExtensionInterface.

Definition at line 62 of file Staging.php.

getTests ( )

{Returns a list of tests to add to the existing list.

Returns
array An array of tests
}

Implements Twig_ExtensionInterface.

Definition at line 101 of file Staging.php.

getTokenParsers ( )

{Returns the token parser instances to add to the existing list.

Returns
array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances
}

Implements Twig_ExtensionInterface.

Definition at line 75 of file Staging.php.

Field Documentation

$filters = array()
protected

Definition at line 22 of file Staging.php.

$functions = array()
protected

Definition at line 21 of file Staging.php.

$globals = array()
protected

Definition at line 25 of file Staging.php.

$tests = array()
protected

Definition at line 26 of file Staging.php.

$tokenParsers = array()
protected

Definition at line 24 of file Staging.php.

$visitors = array()
protected

Definition at line 23 of file Staging.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.