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