original_string: protected function execPageAction($actionName, $parameters)
      {
          $result = null;
  
          if (!$this->actionExists($actionName)) {
              if (Config::get('app.debug', false)) {
                  throw new SystemException(sprintf(
                      "Action %s is not found in the controller %s",
                      $actionName,
                      get_class($this)
                  ));
              } else {
                  Response::make(View::make('backend::404'), 404);
              }
          }
  
          // Execute the action
          $result = call_user_func_array([$this, $actionName], $parameters);
  
          // Expecting \Response and \RedirectResponse
          if ($result instanceof \Symfony\Component\HttpFoundation\Response) {
              return $result;
          }
  
          // No page title
          if (!$this->pageTitle) {
              $this->pageTitle = 'backend::lang.page.untitled';
          }
  
          // Load the view
          if (!$this->suppressView && $result === null) {
              return $this->makeView($actionName);
          }
  
          return $this->makeViewContent($result);
      }
code: protected function execPageAction($actionName, $parameters)
      {
          $result = null;
  
          if (!$this->actionExists($actionName)) {
              if (Config::get('app.debug', false)) {
                  throw new SystemException(sprintf(
                      "Action %s is not found in the controller %s",
                      $actionName,
                      get_class($this)
                  ));
              } else {
                  Response::make(View::make('backend::404'), 404);
              }
          }
  
          // Execute the action
          $result = call_user_func_array([$this, $actionName], $parameters);
  
          // Expecting \Response and \RedirectResponse
          if ($result instanceof \Symfony\Component\HttpFoundation\Response) {
              return $result;
          }
  
          // No page title
          if (!$this->pageTitle) {
              $this->pageTitle = 'backend::lang.page.untitled';
          }
  
          // Load the view
          if (!$this->suppressView && $result === null) {
              return $this->makeView($actionName);
          }
  
          return $this->makeViewContent($result);
      }
code_tokens: protected function execPageAction ( $ actionName , $ parameters ) { $ result = null ; if ( ! $ this -> actionExists ( $ actionName ) ) { if ( Config :: get ( 'app.debug' , false ) ) { throw new SystemException ( sprintf ( "Action %s is not found in the controller %s" , $ actionName , get_class ( $ this ) ) ) ; } else { Response :: make ( View :: make ( 'backend::404' ) , 404 ) ; } } // Execute the action $ result = call_user_func_array ( [ $ this , $ actionName ] , $ parameters ) ; // Expecting \Response and \RedirectResponse if ( $ result instanceof \ Symfony \ Component \ HttpFoundation \ Response ) { return $ result ; } // No page title if ( ! $ this -> pageTitle ) { $ this -> pageTitle = 'backend::lang.page.untitled' ; } // Load the view if ( ! $ this -> suppressView && $ result === null ) { return $ this -> makeView ( $ actionName ) ; } return $ this -> makeViewContent ( $ result ) ; }
docstring: This method is used internally.
  Invokes the controller action and loads the corresponding view.
  @param string $actionName Specifies a action name to execute.
  @param array $parameters A list of the action parameters.
docstring_tokens: This method is used internally . Invokes the controller action and loads the corresponding view .