function Smarty_Compiler::_parse_vars_props in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/smarty/Smarty_Compiler.class.php \Smarty_Compiler::_parse_vars_props()
compile multiple variables and section properties tokens into PHP code
Parameters
array $tokens:
3 calls to Smarty_Compiler::_parse_vars_props()
- Smarty_Compiler::_parse_attrs in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - Parse attribute string
- Smarty_Compiler::_parse_modifiers in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - parse modifier chain into PHP code
- Smarty_Compiler::_parse_parenth_args in includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php - parse arguments in function call parenthesis
File
- includes/
moodle/ lib/ smarty/ Smarty_Compiler.class.php, line 1581
Class
- Smarty_Compiler
- Template compiling class @package Smarty
Code
function _parse_vars_props(&$tokens) {
foreach ($tokens as $key => $val) {
$tokens[$key] = $this
->_parse_var_props($val);
}
}