/** * Report on the currently loading template * * @author Jonathan Davis * @since 1.3 * * @return string The template file being loaded **/ public static function intemplate($template = null) { if (isset($template)) { self::$template = basename($template); } if (empty(self::$template)) { return ''; } return self::$template; }