private function build_view() { $config_html = new SitemapExportConfig('sitemap/export/sitemap.html.tpl', 'sitemap/export/module_map.html.tpl', 'sitemap/export/sitemap_section.html.tpl', 'sitemap/export/sitemap_link.html.tpl'); $sitemap = SitemapService::get_personal_sitemap(); $tpl = new FileTemplate('sitemap/ViewSitemapController.tpl'); $tpl->add_lang($this->lang); $tpl->put('SITEMAP', $sitemap->export($config_html)); return $tpl; }