private function passArgumentsToSubRequest(CoreWidgetRequest $subRequest)
    {
        $arguments = $this->getControllerContext()->getRequest()->getArguments();

        if (isset($arguments)) {
            if (isset($arguments['action'])) {
                $subRequest->setControllerActionName($arguments['action']);
                unset($arguments['action']);
            }
            $subRequest->setArguments($arguments);
        }
    }
private function passArgumentsToSubRequest(CoreWidgetRequest $subRequest)
    {
        $arguments = $this->getControllerContext()->getRequest()->getArguments();

        if (isset($arguments)) {
            if (isset($arguments['action'])) {
                $subRequest->setControllerActionName($arguments['action']);
                unset($arguments['action']);
            }
            $subRequest->setArguments($arguments);
        }
    }
private function passArgumentsToSubRequest ( CoreWidgetRequest $ subRequest ) { $ arguments = $ this -> getControllerContext ( ) -> getRequest ( ) -> getArguments ( ) ; if ( isset ( $ arguments ) ) { if ( isset ( $ arguments [ 'action' ] ) ) { $ subRequest -> setControllerActionName ( $ arguments [ 'action' ] ) ; unset ( $ arguments [ 'action' ] ) ; } $ subRequest -> setArguments ( $ arguments ) ; } }
Pass the arguments of the widget to the subrequest.

@param CoreWidgetRequest $subRequest
@return void
Pass the arguments of the widget to the subrequest .