public function forward($controller, $actionName = 'index' , $parameters = array())
    {
        if (is_string($controller)) {
            $controller = new $controller;
        }
        return $controller->runAction($actionName, $parameters);
    }
public function forward($controller, $actionName = 'index' , $parameters = array())
    {
        if (is_string($controller)) {
            $controller = new $controller;
        }
        return $controller->runAction($actionName, $parameters);
    }
public function forward ( $ controller , $ actionName = 'index' , $ parameters = array ( ) ) { if ( is_string ( $ controller ) ) { $ controller = new $ controller ; } return $ controller -> runAction ( $ actionName , $ parameters ) ; }
Forward to another controller action

@param string|Controller $controller A controller class name or a controller instance.
@param string            $actionName The action name
@param array             $parameters Parameters for the action method


return $this->forward('\OAuthPlugin\Controller\AuthenticationErrorPage','index',array(
'vars' => array(
'message' => $e->lastResponse
)
));
Forward to another controller action