Example #1
0
 public function postDispatch()
 {
     if ($this->getRequest()->getActionName() != 'log-in' && $this->checkPanelPermission() && self::$postDispatchRunOnlyOnce) {
         #this will populate all zend_layout fragments we may need
         $this->render('top-menu', 'topMenu', true);
         self::$postDispatchRunOnlyOnce = false;
     }
 }
Example #2
0
 public function preDispatch()
 {
     #be sure to disrupt all actions
     if (parent::preDispatch() === false || $this->checkPanelPermission(Reactor_Acl::ACCESS_ADMIN_USERS_PANEL, true) === false) {
         $this->_forward('index', 'index', 'admin');
         return false;
     }
 }
Example #3
0
 public function postDispatch()
 {
     parent::postDispatch();
 }