/** * Overwrite the function define in the SiteMapInterface implement in Cible_Controller_Action * * This function return the sitemap specific for this module * * @access public * * @return a string containing xml sitemap */ public function siteMapAction() { $this->_helper->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); $newsRob = new SitemapRobots(); $dataXml = $newsRob->getXMLFile($this->_registry->absolute_web_root, $this->_request->getParam('lang')); parent::siteMapAction($dataXml); }
/** * Overwrite the function defined in the SiteMapInterface implement in Cible_Controller_Action * * This function return the sitemap specific for this module * * @access public * * @return a string containing xml sitemap */ public function siteMapAction() { $this->_helper->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); $newsRob = new NewsRobots(); $dataXml = $newsRob->getXMLFile($this->_registry->absolute_web_root, $this->_request->getParam('lang')); parent::siteMapAction($dataXml); // http://sandboxes.ciblesolutions.com/fr/edith/www/news/index/site-map/lang/2 }