function Smarty::get_template_vars in Quiz 6.5
Same name and namespace in other branches
- 6.6 includes/moodle/lib/smarty/Smarty.class.php \Smarty::get_template_vars()
Returns an array containing template variables
Parameters
string $name:
string $type:
Return value
array
File
- includes/
moodle/ lib/ smarty/ Smarty.class.php, line 1053
Class
- Smarty
- @package Smarty
Code
function &get_template_vars($name = null) {
if (!isset($name)) {
return $this->_tpl_vars;
}
if (isset($this->_tpl_vars[$name])) {
return $this->_tpl_vars[$name];
}
}