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

Represents a template function. More...

Inheritance diagram for Twig_Function:
Twig_FunctionInterface Twig_FunctionCallableInterface Twig_Function_Function Twig_Function_Method Twig_Function_Node

Public Member Functions

 __construct (array $options=array())
 
 setArguments ($arguments)
 
 getArguments ()
 
 needsEnvironment ()
 
 needsContext ()
 
 getSafe (Twig_Node $functionArgs)
 
 getCallable ()
 
- Public Member Functions inherited from Twig_FunctionInterface
 compile ()
 Compiles a function. More...
 

Protected Attributes

 $options
 
 $arguments = array()
 

Detailed Description

Represents a template function.

Use Twig_SimpleFunction instead.

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

Definition at line 20 of file Function.php.

Constructor & Destructor Documentation

__construct ( array  $options = array())

Definition at line 25 of file Function.php.

Member Function Documentation

getArguments ( )

Implements Twig_FunctionInterface.

Definition at line 39 of file Function.php.

getCallable ( )

Implements Twig_FunctionCallableInterface.

Definition at line 67 of file Function.php.

getSafe ( Twig_Node  $functionArgs)

Implements Twig_FunctionInterface.

Definition at line 54 of file Function.php.

needsContext ( )

Implements Twig_FunctionInterface.

Definition at line 49 of file Function.php.

needsEnvironment ( )

Implements Twig_FunctionInterface.

Definition at line 44 of file Function.php.

setArguments (   $arguments)

Implements Twig_FunctionInterface.

Definition at line 34 of file Function.php.

Field Documentation

$arguments = array()
protected

Definition at line 23 of file Function.php.

$options
protected

Definition at line 22 of file Function.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.