function Smarty_Compiler::_syntax_error in Quiz 6.5
Same name and namespace in other branches
- 6.6 includes/moodle/lib/smarty/Smarty_Compiler.class.php \Smarty_Compiler::_syntax_error()
display Smarty syntax error
Parameters
string $error_msg:
integer $error_type:
string $file:
integer $line:
16 calls to Smarty_Compiler::_syntax_error()
- Smarty_Compiler::_compile_block_tag in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile block function tag
- Smarty_Compiler::_compile_compiler_tag in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile the custom compiler tag
- Smarty_Compiler::_compile_custom_tag in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile custom function tag
- Smarty_Compiler::_compile_file in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - compile a resource
- Smarty_Compiler::_compile_foreach_start in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - Compile {foreach ...} tag.
File
- includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php, line 2192
Class
- Smarty_Compiler
- Template compiling class @package Smarty
Code
function _syntax_error($error_msg, $error_type = E_USER_ERROR, $file = null, $line = null) {
$this
->_trigger_fatal_error("syntax error: {$error_msg}", $this->_current_file, $this->_current_line_no, $file, $line, $error_type);
}