PEEL Shopping
Open source ecommerce : PEEL Shopping
Static Public Member Functions
Smarty_Internal_Utility Class Reference

Static Public Member Functions

static compileAllTemplates ($extension, $force_compile, $time_limit, $max_errors, Smarty $smarty)
 Compile all template files. More...
 
static compileAllConfig ($extension, $force_compile, $time_limit, $max_errors, Smarty $smarty)
 Compile all config files. More...
 
static clearCompiledTemplate ($resource_name, $compile_id, $exp_time, Smarty $smarty)
 Delete compiled template file. More...
 
static getTags (Smarty_Internal_Template $template)
 Return array of tag/attributes of all tags used by an template. More...
 
static testInstall (Smarty $smarty, &$errors=null)
 diagnose Smarty setup More...
 

Detailed Description

Definition at line 41 of file smarty_internal_utility.php.

Member Function Documentation

static clearCompiledTemplate (   $resource_name,
  $compile_id,
  $exp_time,
Smarty  $smarty 
)
static

Delete compiled template file.

Parameters
string$resource_nametemplate name
string$compile_idcompile id
integer$exp_timeexpiration time
Smarty$smartySmarty instance
Returns
integer number of template files deleted

Definition at line 184 of file smarty_internal_utility.php.

static compileAllConfig (   $extension,
  $force_compile,
  $time_limit,
  $max_errors,
Smarty  $smarty 
)
static

Compile all config files.

Parameters
string$extensionconfig file name extension
bool$force_compileforce all to recompile
int$time_limitset maximum execution time
int$max_errorsset maximum allowed errors
Smarty$smartySmarty instance
Returns
integer number of config files compiled

Definition at line 125 of file smarty_internal_utility.php.

static compileAllTemplates (   $extension,
  $force_compile,
  $time_limit,
  $max_errors,
Smarty  $smarty 
)
static

Compile all template files.

Parameters
string$extensiontemplate file name extension
bool$force_compileforce all to recompile
int$time_limitset maximum execution time
int$max_errorsset maximum allowed errors
Smarty$smartySmarty instance
Returns
integer number of template files compiled

Definition at line 61 of file smarty_internal_utility.php.

static getTags ( Smarty_Internal_Template  $template)
static

Return array of tag/attributes of all tags used by an template.

Parameters
Smarty_Internal_Template$templaetemplate object
Returns
array of tag/attributes

Definition at line 278 of file smarty_internal_utility.php.

static testInstall ( Smarty  $smarty,
$errors = null 
)
static

diagnose Smarty setup

If $errors is secified, the diagnostic report will be appended to the array, rather than being output.

Parameters
Smarty$smartySmarty instance to test
array$errorsarray to push results into rather than outputting them
Returns
bool status, true if everything is fine, false else

Definition at line 295 of file smarty_internal_utility.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.