function Smarty::_process_compiled_include_callback in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::_process_compiled_include_callback()
callback function for preg_replace, to call a non-cacheable block
Return value
string
File
- includes/
moodle/ lib/ smarty/ Smarty.class.php, line 1817
Class
- Smarty
- @package Smarty
Code
function _process_compiled_include_callback($match) {
$_func = '_smarty_tplfunc_' . $match[2] . '_' . $match[3];
ob_start();
$_func($this);
$_ret = ob_get_contents();
ob_end_clean();
return $_ret;
}