Utility class
| package | Smarty |
|---|---|
| subpackage | Security |
clearCompiledTemplate(string $resource_name, string $compile_id, integer $exp_time, \Smarty $smarty) : integer
stringtemplate name
stringcompile id
integerexpiration time
integernumber of template files deletedcompileAllConfig($extention, bool $force_compile, int $time_limit, int $max_errors, \Smarty $smarty) : integer
boolforce all to recompile
intset maximum execution time
intset maximum allowed errors
integernumber of config files compiledcompileAllTemplates($extention, bool $force_compile, int $time_limit, int $max_errors, \Smarty $smarty) : integer
boolforce all to recompile
intset maximum execution time
intset maximum allowed errors
integernumber of template files compiledgetTags(\Smarty_Internal_Template $template) : array
arrayof tag/attributestestInstall(\Smarty $smarty, array $errors) : bool
If $errors is secified, the diagnostic report will be appended to the array, rather than being output.
arrayarray to push results into rather than outputting them
boolstatus, true if everything is fine, false else__construct()