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

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.