classes/ngsymfonytoolspathurloperator.php
public static function getPath( $name, $parameters = array(), $relative = false )
    {
        $serviceContainer = ezpKernel::instance()->getServiceContainer();

        return $serviceContainer->get('router')->generate(
            $name,
            $parameters,
            $relative ? UrlGeneratorInterface::RELATIVE_PATH : UrlGeneratorInterface::ABSOLUTE_PATH
        );
    }
public static function getPath( $name, $parameters = array(), $relative = false )
    {
        $serviceContainer = ezpKernel::instance()->getServiceContainer();

        return $serviceContainer->get('router')->generate(
            $name,
            $parameters,
            $relative ? UrlGeneratorInterface::RELATIVE_PATH : UrlGeneratorInterface::ABSOLUTE_PATH
        );
    }
public static function getPath ( $ name , $ parameters = array ( ) , $ relative = false ) { $ serviceContainer = ezpKernel :: instance ( ) -> getServiceContainer ( ) ; return $ serviceContainer -> get ( 'router' ) -> generate ( $ name , $ parameters , $ relative ? UrlGeneratorInterface :: RELATIVE_PATH : UrlGeneratorInterface :: ABSOLUTE_PATH ) ; }
Returns the path for provided route and parameters

@param string $name
@param array $parameters
@param bool $relative

@return string
Returns the path for provided route and parameters