PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions
Twig_Extension Class Reference
Inheritance diagram for Twig_Extension:
Twig_ExtensionInterface Twig_Extension_Core Twig_Extension_Debug Twig_Extension_Escaper Twig_Extension_Optimizer Twig_Extension_Sandbox Twig_Extension_Staging Twig_Extension_StringLoader

Public Member Functions

 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...
 
- Public Member Functions inherited from Twig_ExtensionInterface
 getName ()
 Returns the name of the extension. More...
 

Detailed Description

Definition at line 11 of file Extension.php.

Member Function Documentation

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 Extension.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 69 of file Extension.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 89 of file Extension.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 39 of file Extension.php.

getOperators ( )

Returns a list of operators to add to the existing list.

Returns
array An array of operators

Implements Twig_ExtensionInterface.

Definition at line 79 of file Extension.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 59 of file Extension.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 29 of file Extension.php.

initRuntime ( Twig_Environment  $environment)

Initializes the runtime environment.

This is where you can load some file that contains filter functions for instance.

Parameters
Twig_Environment$environmentThe current Twig_Environment instance

Implements Twig_ExtensionInterface.

Definition at line 20 of file Extension.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.