public function Render($template) { // to enable html minification flip the HTML_MINIFY flag in the ApplicationConfig.class.php if (ApplicationConfig::$HTML_MINIFY) { self::$template_engine->load_filter('output', 'html_minify'); } self::$template_engine->assign('developer_mode', ApplicationConfig::IsDeveloperMode()); $this->GetTemplateEngine()->display($template); }