/** * clear all templates that have been loaded * this is needed in a few places (e.g. setup_fatal_error_context) when we have * to discard all previously loaded templates. */ public static function resetTemplates() { self::$_template_names = array(); }