Exemplo n.º 1
0
 public function preDispatch()
 {
     parent::preDispatch();
     $this->permisos();
     $this->_identity = Zend_Auth::getInstance()->getIdentity();
     $this->view->identity = $this->_identity;
 }
Exemplo n.º 2
0
 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());
 }
Exemplo n.º 3
0
 public function preDispatch()
 {
     parent::preDispatch();
 }