kernel/private/rest/classes/routes/versioned_route.php
public function generateUrl( array $arguments = null )
    {
        // ezpRestPrefixFilterInterface::getScheme() ==> '/v'
        $apiPrefix = ezpRestPrefixFilterInterface::getApiPrefix() . '/';
        $apiProviderName = ezpRestPrefixFilterInterface::getApiProviderName();

        return $apiPrefix . ( !$apiProviderName ? ''  : $apiProviderName . '/' ) . 'v' . $this->version . '/' . str_replace( $apiPrefix, '', $this->route->generateUrl( $arguments ) );
    }
public function generateUrl( array $arguments = null )
    {
        // ezpRestPrefixFilterInterface::getScheme() ==> '/v'
        $apiPrefix = ezpRestPrefixFilterInterface::getApiPrefix() . '/';
        $apiProviderName = ezpRestPrefixFilterInterface::getApiProviderName();

        return $apiPrefix . ( !$apiProviderName ? ''  : $apiProviderName . '/' ) . 'v' . $this->version . '/' . str_replace( $apiPrefix, '', $this->route->generateUrl( $arguments ) );
    }
public function generateUrl ( array $ arguments = null ) { // ezpRestPrefixFilterInterface::getScheme() ==> '/v' $ apiPrefix = ezpRestPrefixFilterInterface :: getApiPrefix ( ) . '/' ; $ apiProviderName = ezpRestPrefixFilterInterface :: getApiProviderName ( ) ; return $ apiPrefix . ( ! $ apiProviderName ? '' : $ apiProviderName . '/' ) . 'v' . $ this -> version . '/' . str_replace ( $ apiPrefix , '' , $ this -> route -> generateUrl ( $ arguments ) ) ; }
Generates an URL back out of a route, including possible arguments

@param array $arguments
Generates an URL back out of a route including possible arguments