public function indexAction() { // action body $cat_model = new Application_Model_Category(); $this->view->cats = $cat_model->listCats(); $namespace = new Zend_Session_Namespace(); $this->view->role = $namespace->role; }
public function indexAction() { // action body $cat_model = new Application_Model_Category(); $this->view->cats = $cat_model->listCats(); $namespace = new Zend_Session_Namespace(); $this->view->role = $namespace->role; }