[feature/template-engine] Reinstate phpbb_template#destroy function.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev 2011-05-09 22:01:07 -04:00
parent 0462ab3a4a
commit df76885b11

View file

@ -167,6 +167,15 @@ class phpbb_template
return true;
}
/**
* Clears all variables and blocks assigned to this template.
* @access public
*/
public function destroy()
{
$this->_context->clear();
}
/**
* Reset/empty complete block
* @access public