Ejemplo n.º 1
0
 public function preDispatch()
 {
     parent::preDispatch();
     if (!$this->getAcl()->isAllowed('_user', 'facility_booking', 'read')) {
         throw new ControllerException('You do not have access to the facility booking module.', 403);
     }
 }
Ejemplo n.º 2
0
 public function postDispatch()
 {
     parent::postDispatch();
     $this->view->headTitle('Billing');
 }