Delete compiled template file
static
integer
clearCompiledTemplate
(
string $resource_name,
string $compile_id,
integer $exp_time,
Smarty $smarty)
-
string
$resource_name: template name
-
string
$compile_id: compile id
-
integer
$exp_time: expiration time
-
Smarty
$smarty: Smarty instance
Compile all config files
static
integer
compileAllConfig
(
$extention,
bool $force_compile,
int $time_limit,
int $max_errors,
Smarty $smarty,
string $extension)
-
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
-
$extention
Compile all template files
static
integer
compileAllTemplates
(
$extention,
bool $force_compile,
int $time_limit,
int $max_errors,
Smarty $smarty,
string $extension)
-
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
-
$extention
Return array of tag/attributes of all tags used by an template
diagnose Smarty setup
If $errors is secified, the diagnostic report will be appended to the array, rather than being output.
static
bool
testInstall
(
Smarty $smarty, [
&$errors =
null],
array $errors)
-
Smarty
$smarty: Smarty instance to test
-
array
$errors: array to push results into rather than outputting them
-
&$errors