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

Represents a function template function. More...

Inheritance diagram for Twig_Function_Function:
Twig_Function Twig_FunctionInterface Twig_FunctionCallableInterface

Public Member Functions

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

Protected Attributes

 $function
 
- Protected Attributes inherited from Twig_Function
 $options
 
 $arguments = array()
 

Detailed Description

Represents a function template function.

Use Twig_SimpleFunction instead.

Author
Arnaud Le Blanc arnau.nosp@m.d.lb.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition at line 21 of file Function.php.

Constructor & Destructor Documentation

__construct (   $function,
array  $options = array() 
)

Definition at line 25 of file Function.php.

Member Function Documentation

compile ( )

Compiles a function.

Returns
string The PHP code for the function

Implements Twig_FunctionInterface.

Definition at line 34 of file Function.php.

Field Documentation

$function
protected

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