classes/ngsymfonytoolsrenderoperator.php
public static function renderUri( $uri, $options = array() )
    {
        $serviceContainer = ezpKernel::instance()->getServiceContainer();
        $fragmentHandler = $serviceContainer->get( 'fragment.handler' );

        $strategy = isset( $options['strategy'] ) ? $options['strategy'] : 'inline';
        unset( $options['strategy'] );

        try
        {
            return $fragmentHandler->render( $uri, $strategy, $options );
        }
        catch ( InvalidArgumentException $e )
        {
            throw new InvalidArgumentException( "The URI {$uri->controller} couldn't be rendered", 0, $e );
        }
    }
public static function renderUri( $uri, $options = array() )
    {
        $serviceContainer = ezpKernel::instance()->getServiceContainer();
        $fragmentHandler = $serviceContainer->get( 'fragment.handler' );

        $strategy = isset( $options['strategy'] ) ? $options['strategy'] : 'inline';
        unset( $options['strategy'] );

        try
        {
            return $fragmentHandler->render( $uri, $strategy, $options );
        }
        catch ( InvalidArgumentException $e )
        {
            throw new InvalidArgumentException( "The URI {$uri->controller} couldn't be rendered", 0, $e );
        }
    }
public static function renderUri ( $ uri , $ options = array ( ) ) { $ serviceContainer = ezpKernel :: instance ( ) -> getServiceContainer ( ) ; $ fragmentHandler = $ serviceContainer -> get ( 'fragment.handler' ) ; $ strategy = isset ( $ options [ 'strategy' ] ) ? $ options [ 'strategy' ] : 'inline' ; unset ( $ options [ 'strategy' ] ) ; try { return $ fragmentHandler -> render ( $ uri , $ strategy , $ options ) ; } catch ( InvalidArgumentException $ e ) { throw new InvalidArgumentException ( "The URI {$uri->controller} couldn't be rendered" , 0 , $ e ) ; } }
Renders the given URI with Symfony stack

@param string|\Symfony\Component\HttpKernel\Controller\ControllerReference $uri
@param array $options

@return string
Renders the given URI with Symfony stack