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

Represents a method template test. More...

Inheritance diagram for Twig_Test_Method:
Twig_Test Twig_TestInterface Twig_TestCallableInterface

Public Member Functions

 __construct (Twig_ExtensionInterface $extension, $method, array $options=array())
 
 compile ()
 Compiles a test. More...
 
- Public Member Functions inherited from Twig_Test
 __construct (array $options=array())
 
 getCallable ()
 

Protected Attributes

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

Detailed Description

Represents a method template test.

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

Definition at line 18 of file Method.php.

Constructor & Destructor Documentation

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

Definition at line 23 of file Method.php.

Member Function Documentation

compile ( )

Compiles a test.

Returns
string The PHP code for the test

Implements Twig_TestInterface.

Definition at line 33 of file Method.php.

Field Documentation

$extension
protected

Definition at line 20 of file Method.php.

$method
protected

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