PEEL Shopping
Open source ecommerce : PEEL Shopping
AutoEscape.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 
24 {
25  public function __construct($value, Twig_NodeInterface $body, $lineno, $tag = 'autoescape')
26  {
27  parent::__construct(array('body' => $body), array('value' => $value), $lineno, $tag);
28  }
29 
35  public function compile(Twig_Compiler $compiler)
36  {
37  $compiler->subcompile($this->getNode('body'));
38  }
39 }
__construct($value, Twig_NodeInterface $body, $lineno, $tag= 'autoescape')
Definition: AutoEscape.php:25
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Definition: AutoEscape.php:35
Compiles a node to PHP code.
Definition: Compiler.php:18
Represents a node in the AST.
Definition: Node.php:18
$lineno
Definition: Node.php:22
Represents an autoescape node.
Definition: AutoEscape.php:23
subcompile(Twig_NodeInterface $node, $raw=true)
Definition: Compiler.php:91
Represents a node in the AST.
getNode($name)
Gets a node by name.
Definition: Node.php:187

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.