$lex
$lex : object
Lexer object
Main config file compiler class
$smarty : \Smarty
Smarty object
__construct(\Smarty $smarty)
Initialize compiler
\Smarty | $smarty | base instance |
trigger_config_file_error(string $args = null)
display compiler error messages without dying
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 | $args | individual error message or null |