Ejemplo n.º 1
0
 /**
  * Process a forward requested by this mapping (if any).
  *
  * Return true if standard processing should continue, or false if we have
  * already handled this request.
  *
  * @param \Symfony\Component\HttpFoundation\Request $request The kernel request we are
  * processing
  * @param \Symfony\Component\HttpFoundation\Response $response The kernel response we are
  * creating
  * @param \Phruts\Action\ActionMapping $mapping The \Phruts\Config\ActionConfig we are using
  * @return boolean
  */
 protected function processForward(\Symfony\Component\HttpFoundation\Request $request, \Symfony\Component\HttpFoundation\Response $response, \Phruts\Action\ActionMapping $mapping)
 {
     // Are we going to processing this request?
     $forward = $mapping->getForward();
     if (!trim($forward)) {
         return true;
     }
     // Delegate the processing of this request
     if (!empty($this->log)) {
         $this->log->debug('  Delegating via forward to "' . $forward . '"');
     }
     $this->doForward($forward, $request, $response);
     return false;
 }