示例#1
0
 public function getmenuchildrenAction()
 {
     $r = $this->getRequest();
     $node = $r->getParam('node');
     $bpm = new Kutu_Cms_Bpm_Menu();
     $rowsetMenu = $bpm->getMenu($node);
     $this->view->rowsetMenu = $rowsetMenu;
 }
 public function mainmenuAction()
 {
     $r = $this->getRequest();
     $myNode = $r->getParam('node');
     $node = !empty($myNode) ? $r->getParam('node') : 'root';
     $bpm = new Kutu_Cms_Bpm_Menu();
     $rowsetMenu = $bpm->getMenu($node);
     $this->view->rowsetMenu = $rowsetMenu;
     $this->view->bpmCms = $bpm;
 }