PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions
Twig_ExtensionInterface Interface Reference

Interface implemented by extension classes. More...

Inheritance diagram for Twig_ExtensionInterface:
Twig_Extension 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...
 
 getName ()
 Returns the name of the extension. More...
 

Detailed Description

Interface implemented by extension classes.

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

Definition at line 17 of file ExtensionInterface.php.

Member Function Documentation

getFilters ( )

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

Returns
array An array of filters

Implemented in Twig_Extension_Core, Twig_Extension_Staging, Twig_Extension, and Twig_Extension_Escaper.

getFunctions ( )

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

Returns
array An array of functions

Implemented in Twig_Extension_Core, Twig_Extension, Twig_Extension_Staging, Twig_Extension_Debug, and Twig_Extension_StringLoader.

getGlobals ( )

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

Returns
array An array of global variables

Implemented in Twig_Extension, and Twig_Extension_Staging.

getName ( )
getNodeVisitors ( )

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

Returns
array An array of Twig_NodeVisitorInterface instances

Implemented in Twig_Extension_Staging, Twig_Extension, Twig_Extension_Sandbox, Twig_Extension_Escaper, and Twig_Extension_Optimizer.

getOperators ( )

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

Returns
array An array of operators

Implemented in Twig_Extension_Core, and Twig_Extension.

getTests ( )

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

Returns
array An array of tests

Implemented in Twig_Extension_Core, Twig_Extension_Staging, and Twig_Extension.

getTokenParsers ( )

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

Returns
array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances

Implemented in Twig_Extension_Core, Twig_Extension_Staging, Twig_Extension, Twig_Extension_Sandbox, and Twig_Extension_Escaper.

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

Implemented in Twig_Extension.


The documentation for this interface 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.