Main config file compiler class
package | Smarty |
---|---|
subpackage | Config |
compileSource(\Smarty_Internal_Config $config) : bool
\Smarty_Internal_Config
config object
bool
true if compiling succeeded, false if it failedtrigger_config_file_error(string $args)
If parameter $args is empty it is a parser detected syntax error. In this case the parser is called to obtain information about exspected tokens.
If parameter $args contains a string this is used as error message
string
individual error message or null
$config : \Smarty_Internal_Config
$config_data : array
$lex : object
$parser : object
$smarty : \Smarty