PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Data Fields
Smarty_Internal_Config_File_Compiler Class Reference

Public Member Functions

 __construct ($smarty)
 Initialize compiler. More...
 
 compileSource (Smarty_Internal_Config $config)
 Method to compile a Smarty template. More...
 
 trigger_config_file_error ($args=null)
 display compiler error messages without dying More...
 

Data Fields

 $lex
 
 $parser
 
 $smarty
 
 $config
 
 $config_data = array()
 

Detailed Description

Definition at line 19 of file smarty_internal_config_file_compiler.php.

Constructor & Destructor Documentation

__construct (   $smarty)

Initialize compiler.

Parameters
Smarty$smartybase instance

Definition at line 61 of file smarty_internal_config_file_compiler.php.

Member Function Documentation

compileSource ( Smarty_Internal_Config  $config)

Method to compile a Smarty template.

Parameters
Smarty_Internal_Config$configconfig object
Returns
bool true if compiling succeeded, false if it failed

Definition at line 74 of file smarty_internal_config_file_compiler.php.

trigger_config_file_error (   $args = null)

display compiler error messages without dying

If parameter $args is empty it is a parser detected syntax error. In this case the parser is called to obtain information about exspected tokens.

If parameter $args contains a string this is used as error message

Parameters
string$argsindividual error message or null

Definition at line 110 of file smarty_internal_config_file_compiler.php.

Field Documentation

$config

Definition at line 47 of file smarty_internal_config_file_compiler.php.

$config_data = array()

Definition at line 54 of file smarty_internal_config_file_compiler.php.

$lex

Definition at line 26 of file smarty_internal_config_file_compiler.php.

$parser

Definition at line 33 of file smarty_internal_config_file_compiler.php.

$smarty

Definition at line 40 of file smarty_internal_config_file_compiler.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:44 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.