예제 #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);
     }
 }
예제 #2
0
 public function postDispatch()
 {
     parent::postDispatch();
     $this->view->headTitle('Billing');
 }