code/libraries/joomlatools/library/dispatcher/abstract.php
protected function _actionForward(KDispatcherContextInterface $context)
    {
        //Get the dispatcher identifier
        if(is_string($context->param) && strpos($context->param, '.') === false )
        {
            $identifier            = $this->getIdentifier()->toArray();
            $identifier['package'] = $context->param;
        }
        else $identifier = $this->getIdentifier($context->param);

        //Create the dispatcher
        $config = array(
            'request'    => $context->request,
            'response'   => $context->response,
            'user'       => $context->user,
            'forwarded'  => $this
        );

        $dispatcher = $this->getObject($identifier, $config);

        if(!$dispatcher instanceof KDispatcherInterface)
        {
            throw new UnexpectedValueException(
                'Dispatcher: '.get_class($dispatcher).' does not implement KDispatcherInterface'
            );
        }

        $dispatcher->dispatch($context);
    }
protected function _actionForward(KDispatcherContextInterface $context)
    {
        //Get the dispatcher identifier
        if(is_string($context->param) && strpos($context->param, '.') === false )
        {
            $identifier            = $this->getIdentifier()->toArray();
            $identifier['package'] = $context->param;
        }
        else $identifier = $this->getIdentifier($context->param);

        //Create the dispatcher
        $config = array(
            'request'    => $context->request,
            'response'   => $context->response,
            'user'       => $context->user,
            'forwarded'  => $this
        );

        $dispatcher = $this->getObject($identifier, $config);

        if(!$dispatcher instanceof KDispatcherInterface)
        {
            throw new UnexpectedValueException(
                'Dispatcher: '.get_class($dispatcher).' does not implement KDispatcherInterface'
            );
        }

        $dispatcher->dispatch($context);
    }
protected function _actionForward ( KDispatcherContextInterface $ context ) { //Get the dispatcher identifier if ( is_string ( $ context -> param ) && strpos ( $ context -> param , '.' ) === false ) { $ identifier = $ this -> getIdentifier ( ) -> toArray ( ) ; $ identifier [ 'package' ] = $ context -> param ; } else $ identifier = $ this -> getIdentifier ( $ context -> param ) ; //Create the dispatcher $ config = array ( 'request' => $ context -> request , 'response' => $ context -> response , 'user' => $ context -> user , 'forwarded' => $ this ) ; $ dispatcher = $ this -> getObject ( $ identifier , $ config ) ; if ( ! $ dispatcher instanceof KDispatcherInterface ) { throw new UnexpectedValueException ( 'Dispatcher: ' . get_class ( $ dispatcher ) . ' does not implement KDispatcherInterface' ) ; } $ dispatcher -> dispatch ( $ context ) ; }
Forward the request

Forward to another dispatcher internally. Method makes an internal sub-request, calling the specified
dispatcher and passing along the context.

@param KDispatcherContextInterface $context	A dispatcher context object
@throws UnexpectedValueException    If the dispatcher doesn't implement the KDispatcherInterface
Forward the request