Beispiel #1
0
 /**
  * Will select all content item from a website and pass them to the sitemap template
  * @param array $params [empty]
  */
 protected function actionSitemap($params)
 {
     $sitemap = \GO\Site\Model\Content::getTreeNodes(2);
     echo $this->render('sitemap', array('sitemap' => $sitemap));
 }