\Smarty_Internal_Method_CompileAllTemplates

Smarty Method CompileAllTemplates

Smarty::compileAllTemplates() method

Summary

Methods
Properties
Constants
compileAllTemplates()
$objMap
No constants found
compileAll()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$objMap

$objMap : integer

Valid for Smarty object

Type

integer

Methods

compileAllTemplates()

compileAllTemplates(\Smarty  $smarty, string  $extension = '.tpl', boolean  $force_compile = false, integer  $time_limit, integer  $max_errors = null) : integer

Compile all template files

Parameters

\Smarty $smarty

passed smarty object

string $extension

file extension

boolean $force_compile

force all to recompile

integer $time_limit
integer $max_errors

Returns

integer —

number of template files recompiled

compileAll()

compileAll(\Smarty  $smarty, string  $extension, boolean  $force_compile, integer  $time_limit, integer  $max_errors, boolean  $isConfig = false) : integer

Compile all template or config files

Parameters

\Smarty $smarty
string $extension

template file name extension

boolean $force_compile

force all to recompile

integer $time_limit

set maximum execution time

integer $max_errors

set maximum allowed errors

boolean $isConfig

flag true if called for config files

Returns

integer —

number of template files compiled