Ejemplo n.º 1
0
 /**
  * Runs the current action against the proper controller, recording meta data about the
  * act for future use.
  *
  * @param Zend_Controller_Action $controller The controller being executed
  * @param Zend_Controller_Dispatcher_Token $action The action within the controller
  * @return Zend_Controller_Dispatcher_Token The next token in the execution chain
  */
 protected function _runController(Zend_Controller_Action $controller, Zend_Controller_Dispatcher_Token $action)
 {
     $currentAction = strtolower($action->getActionName());
     $currentController = strtolower($action->getControllerName());
     $this->_firstAction = is_null($this->_firstAction) ? $action : $this->_firstAction;
     $nextAction = $controller->run($this, $action);
     $this->_actionList->addAction($action);
     return $nextAction;
 }