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

Represents a method template filter. More...

Inheritance diagram for Twig_Filter_Method:
Twig_Filter Twig_FilterInterface Twig_FilterCallableInterface

Public Member Functions

 __construct (Twig_ExtensionInterface $extension, $method, array $options=array())
 
 compile ()
 Compiles a filter. More...
 
- Public Member Functions inherited from Twig_Filter
 __construct (array $options=array())
 
 setArguments ($arguments)
 
 getArguments ()
 
 needsEnvironment ()
 
 needsContext ()
 
 getSafe (Twig_Node $filterArgs)
 
 getPreservesSafety ()
 
 getPreEscape ()
 
 getCallable ()
 

Protected Attributes

 $extension
 
 $method
 
- Protected Attributes inherited from Twig_Filter
 $options
 
 $arguments = array()
 

Detailed Description

Represents a method template filter.

Use Twig_SimpleFilter instead.

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

Definition at line 20 of file Method.php.

Constructor & Destructor Documentation

__construct ( Twig_ExtensionInterface  $extension,
  $method,
array  $options = array() 
)

Definition at line 25 of file Method.php.

Member Function Documentation

compile ( )

Compiles a filter.

Returns
string The PHP code for the filter

Implements Twig_FilterInterface.

Definition at line 35 of file Method.php.

Field Documentation

$extension
protected

Definition at line 22 of file Method.php.

$method
protected

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