Class Smarty_Internal_Config_File_Compiler
Main config file compiler class
Package: Smarty\Config
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_config_file_compiler.php
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_config_file_compiler.php
Methods summary
public
|
|
public
boolean
|
|
public
|
#
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 expected tokens. If parameter $args contains a string this is used as error message |
Properties summary
public
string
|
$lexer_class
Lexer class name |
|
public
string
|
$parser_class
Parser class name |
|
public
object
|
$lex
Lexer object |
|
public
object
|
$parser
Parser object |
|
public
|
$smarty
Smarty object |
|
public
|
$template
Smarty object |
|
public
array
|
$config_data
Compiled config data sections and variables |
#
array()
|
public
boolean
|
$write_compiled_code
compiled config data must always be written |
#
true
|