Öffentliche Methoden | |
__construct ($lexer_class, $parser_class, Smarty $smarty) | |
compileTemplate (Smarty_Internal_Template $template) | |
trigger_config_file_error ($args=null) | |
Datenfelder | |
$lexer_class | |
$parser_class | |
$lex | |
$parser | |
$smarty | |
$template | |
$config_data = array() | |
$write_compiled_code = true | |
Definiert in Zeile 18 der Datei smarty_internal_config_file_compiler.php.
__construct | ( | $lexer_class, | |
$parser_class, | |||
Smarty | $smarty | ||
) |
Initialize compiler
string | $lexer_class | class name |
string | $parser_class | class name |
Smarty | $smarty | global instance |
Definiert in Zeile 82 der Datei smarty_internal_config_file_compiler.php.
Benutzt $lexer_class, $parser_class und $smarty.
compileTemplate | ( | Smarty_Internal_Template | $template) |
Method to compile Smarty config source.
Smarty_Internal_Template | $template |
Definiert in Zeile 100 der Datei smarty_internal_config_file_compiler.php.
Benutzt $lex, $parser, $template, Smarty_Internal_Extension_CodeFrame\create(), Smarty_Internal_Debug\end_compile(), Smarty\SMARTY_VERSION und Smarty_Internal_Debug\start_compile().
trigger_config_file_error | ( | $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
string | $args | individual error message or null |
SmartyCompilerException |
Definiert in Zeile 159 der Datei smarty_internal_config_file_compiler.php.
Benutzt Smarty_Internal_Configfilelexer\instance() und Smarty_Internal_Configfileparser\instance().
$config_data = array() |
Definiert in Zeile 66 der Datei smarty_internal_config_file_compiler.php.
$lex |
Definiert in Zeile 38 der Datei smarty_internal_config_file_compiler.php.
Wird benutzt von compileTemplate().
$lexer_class |
Definiert in Zeile 25 der Datei smarty_internal_config_file_compiler.php.
Wird benutzt von __construct().
$parser |
Definiert in Zeile 45 der Datei smarty_internal_config_file_compiler.php.
Wird benutzt von compileTemplate().
$parser_class |
Definiert in Zeile 32 der Datei smarty_internal_config_file_compiler.php.
Wird benutzt von __construct().
$smarty |
Definiert in Zeile 52 der Datei smarty_internal_config_file_compiler.php.
Wird benutzt von __construct().
$template |
Definiert in Zeile 59 der Datei smarty_internal_config_file_compiler.php.
Wird benutzt von compileTemplate().
$write_compiled_code = true |
Definiert in Zeile 73 der Datei smarty_internal_config_file_compiler.php.