PEEL Shopping
Open source ecommerce : PEEL Shopping
Data Structures | Functions
StringLoader.php File Reference

Go to the source code of this file.

Data Structures

class  Twig_Extension_StringLoader


 twig_template_from_string (Twig_Environment $env, $template)
 Loads a template from a string. More...

Function Documentation

twig_template_from_string ( Twig_Environment  $env,

Loads a template from a string.

{{ include(template_from_string("Hello {{ name }}")) }}
Twig_Environment$envA Twig_Environment instance
string$templateA template as a string
Twig_Template A Twig_Template instance

Definition at line 44 of file StringLoader.php.

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