Exemple #1
0
 /**
  *
  */
 public function determineAction()
 {
     switch ($this->controllerError) {
         case IControllerError::PAGE_NOT_FOUND:
             $this->action = "pageNotFoundAction";
             break;
         case IControllerError::METHOD_NOT_ALLOWED:
             $this->action = "methodNotAllowedAction";
             break;
         default:
             $this->action = $this->router->getAction();
     }
 }