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) 2009 Fabien Potencier
7  * (c) 2010 Arnaud Le Blanc
8  *
9  * For the full copyright and license information, please view the LICENSE
10  * file that was distributed with this source code.
11  */
12 
22 {
23  protected $function;
24 
25  public function __construct($function, array $options = array())
26  {
27  $options['callable'] = $function;
28 
29  parent::__construct($options);
30 
31  $this->function = $function;
32  }
33 
34  public function compile()
35  {
36  return $this->function;
37  }
38 }
__construct($function, array $options=array())
Definition: Function.php:25
Represents a function template function.
Definition: Function.php:21
compile()
Compiles a function.
Definition: Function.php:34
Represents a template function.
Definition: Function.php:20

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.