|
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...
|
|
Definition at line 41 of file smarty_internal_utility.php.
static clearCompiledTemplate |
( |
|
$resource_name, |
|
|
|
$compile_id, |
|
|
|
$exp_time, |
|
|
Smarty |
$smarty |
|
) |
| |
|
static |
Delete compiled template file.
- Parameters
-
string | $resource_name | template name |
string | $compile_id | compile id |
integer | $exp_time | expiration time |
Smarty | $smarty | Smarty 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 | $extension | config file name extension |
bool | $force_compile | force all to recompile |
int | $time_limit | set maximum execution time |
int | $max_errors | set maximum allowed errors |
Smarty | $smarty | Smarty 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 | $extension | template file name extension |
bool | $force_compile | force all to recompile |
int | $time_limit | set maximum execution time |
int | $max_errors | set maximum allowed errors |
Smarty | $smarty | Smarty instance |
- Returns
- integer number of template files compiled
Definition at line 61 of file smarty_internal_utility.php.
Return array of tag/attributes of all tags used by an template.
- Parameters
-
- 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 | $smarty | Smarty instance to test |
array | $errors | array 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: