protected function forwardToReferringRequest()
    {
        $referringRequest = $this->request->getReferringRequest();
        if ($referringRequest === null) {
            return;
        }
        $packageKey = $referringRequest->getControllerPackageKey();
        $subpackageKey = $referringRequest->getControllerSubpackageKey();
        if ($subpackageKey !== null) {
            $packageKey .= '\\' . $subpackageKey;
        }
        $argumentsForNextController = $referringRequest->getArguments();
        $argumentsForNextController['__submittedArguments'] = $this->request->getArguments();
        $argumentsForNextController['__submittedArgumentValidationResults'] = $this->arguments->getValidationResults();

        $this->forward($referringRequest->getControllerActionName(), $referringRequest->getControllerName(), $packageKey, $argumentsForNextController);
    }
protected function forwardToReferringRequest()
    {
        $referringRequest = $this->request->getReferringRequest();
        if ($referringRequest === null) {
            return;
        }
        $packageKey = $referringRequest->getControllerPackageKey();
        $subpackageKey = $referringRequest->getControllerSubpackageKey();
        if ($subpackageKey !== null) {
            $packageKey .= '\\' . $subpackageKey;
        }
        $argumentsForNextController = $referringRequest->getArguments();
        $argumentsForNextController['__submittedArguments'] = $this->request->getArguments();
        $argumentsForNextController['__submittedArgumentValidationResults'] = $this->arguments->getValidationResults();

        $this->forward($referringRequest->getControllerActionName(), $referringRequest->getControllerName(), $packageKey, $argumentsForNextController);
    }
protected function forwardToReferringRequest ( ) { $ referringRequest = $ this -> request -> getReferringRequest ( ) ; if ( $ referringRequest === null ) { return ; } $ packageKey = $ referringRequest -> getControllerPackageKey ( ) ; $ subpackageKey = $ referringRequest -> getControllerSubpackageKey ( ) ; if ( $ subpackageKey !== null ) { $ packageKey .= '\\' . $ subpackageKey ; } $ argumentsForNextController = $ referringRequest -> getArguments ( ) ; $ argumentsForNextController [ '__submittedArguments' ] = $ this -> request -> getArguments ( ) ; $ argumentsForNextController [ '__submittedArgumentValidationResults' ] = $ this -> arguments -> getValidationResults ( ) ; $ this -> forward ( $ referringRequest -> getControllerActionName ( ) , $ referringRequest -> getControllerName ( ) , $ packageKey , $ argumentsForNextController ) ; }
If information on the request before the current request was sent, this method forwards back
to the originating request. This effectively ends processing of the current request, so do not
call this method before you have finished the necessary business logic!

@return void
@throws ForwardException
If information on the request before the current request was sent this method forwards back to the originating request . This effectively ends processing of the current request so do not call this method before you have finished the necessary business logic!