public function preDispatch() { parent::preDispatch(); $this->permisos(); $this->_identity = Zend_Auth::getInstance()->getIdentity(); $this->view->identity = $this->_identity; }
public function preDispatch() { parent::preDispatch(); $this->view->menu = $this->getMenu(); $this->view->controller = $this->getRequest()->getControllerName(); $this->view->action = $this->getRequest()->getActionName(); $this->view->identity = $this->_identity; $this->view->dataYOSON = array('controller' => $this->getRequest()->getControllerName(), 'action' => $this->getRequest()->getActionName(), 'module' => $this->getRequest()->getModuleName()); }
public function preDispatch() { parent::preDispatch(); }