PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions
TwigTemplate Class Reference
Inheritance diagram for TwigTemplate:
Template

Public Member Functions

 __construct ($sit, $context)
 
 assign ($tpl_var, $value=null)
 assigns Template variable(s) More...
 
 display ()
 displays a Template More...
 
 fetch ()
 fetches a rendered template and returns the outoput More...
 

Detailed Description

Definition at line 28 of file TwigTemplate.php.

Constructor & Destructor Documentation

__construct (   $sit,
  $context 
)

Definition at line 36 of file TwigTemplate.php.

Member Function Documentation

assign (   $tpl_var,
  $value = null 
)

assigns Template variable(s)

Parameters
array$ |string $tpl_var the template variable name(s)
mixed$valuethe value to assign
Returns

Implements Template.

Definition at line 42 of file TwigTemplate.php.

display ( )

displays a Template

Implements Template.

Definition at line 47 of file TwigTemplate.php.

fetch ( )

fetches a rendered template and returns the outoput

Returns
string rendered template output

Implements Template.

Definition at line 52 of file TwigTemplate.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.