You are here

function Smarty::unregister_compiler_function in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::unregister_compiler_function()

Unregisters compiler function

Parameters

string $function name of template function:

File

includes/moodle/lib/smarty/Smarty.class.php, line 773

Class

Smarty
@package Smarty

Code

function unregister_compiler_function($function) {
  unset($this->_plugins['compiler'][$function]);
}