PEEL Shopping
Open source ecommerce : PEEL Shopping
Function.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) 2010 Fabien Potencier
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
19 {
20  protected $function;
21 
22  public function __construct($function, array $options = array())
23  {
24  $options['callable'] = $function;
25 
26  parent::__construct($options);
27 
28  $this->function = $function;
29  }
30 
31  public function compile()
32  {
33  return $this->function;
34  }
35 }
Represents a function template test.
Definition: Function.php:18
compile()
Compiles a test.
Definition: Function.php:31
Represents a template test.
Definition: Test.php:18
$options
Definition: Test.php:20
__construct($function, array $options=array())
Definition: Function.php:22

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:18 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.