示例#1
0
 public function get()
 {
     $request = Zend_Controller_Front::getInstance()->getRequest();
     $nav = new SxCms_Nav($request->getParam('lng', 'nl'));
     $nav->setBounds(1, 3);
     $this->view->lng = $request->getParam('lng');
     $this->view->menus = $nav->sitemapItems();
     $nav->setBounds(1, 2);
     $this->view->topmenus = $nav->sitemapItems();
 }
 public function indexAction($value = '')
 {
     $nav = new SxCms_Nav($this->_getParam('lng', 'nl'));
     $nav->setBounds(0, 4);
     $this->view->lng = $this->_getParam('lng');
     $this->view->menus = $nav->items();
 }
示例#3
0
 public function sitemapAction()
 {
     $nav = new SxCms_Nav($this->_getParam('lng', 'nl'));
     $nav->setBounds(1, 3);
     $this->view->lng = $this->_getParam('lng');
     $this->view->menus = $nav->sitemapItems();
     $nav->setBounds(1, 2);
     $this->view->topmenus = $nav->sitemapItems();
 }