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

Represents a template function. More...

Public Member Functions

 __construct ($name, $callable, array $options=array())
 
 getName ()
 
 getCallable ()
 
 getNodeClass ()
 
 setArguments ($arguments)
 
 getArguments ()
 
 needsEnvironment ()
 
 needsContext ()
 
 getSafe (Twig_Node $functionArgs)
 

Protected Attributes

 $name
 
 $callable
 
 $options
 
 $arguments = array()
 

Detailed Description

Represents a template function.

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

Definition at line 17 of file SimpleFunction.php.

Constructor & Destructor Documentation

__construct (   $name,
  $callable,
array  $options = array() 
)

Definition at line 24 of file SimpleFunction.php.

Member Function Documentation

getArguments ( )

Definition at line 57 of file SimpleFunction.php.

getCallable ( )

Definition at line 42 of file SimpleFunction.php.

getName ( )

Definition at line 37 of file SimpleFunction.php.

getNodeClass ( )

Definition at line 47 of file SimpleFunction.php.

getSafe ( Twig_Node  $functionArgs)

Definition at line 72 of file SimpleFunction.php.

needsContext ( )

Definition at line 67 of file SimpleFunction.php.

needsEnvironment ( )

Definition at line 62 of file SimpleFunction.php.

setArguments (   $arguments)

Definition at line 52 of file SimpleFunction.php.

Field Documentation

$arguments = array()
protected

Definition at line 22 of file SimpleFunction.php.

$callable
protected

Definition at line 20 of file SimpleFunction.php.

$name
protected

Definition at line 19 of file SimpleFunction.php.

$options
protected

Definition at line 21 of file SimpleFunction.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:45 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.