public static function getMetadataByLocation( ezpContentLocation $location )
    {
        $url = $location->url_alias;
        eZURI::transformURI( $url, false, 'full' ); // $url is passed as a reference

        $aMetadata = array(
            'nodeId'        => (int)$location->node_id,
            'nodeRemoteId'  => $location->remote_id,
            'fullUrl'       => $url
        );

        return $aMetadata;
    }
public static function getMetadataByLocation( ezpContentLocation $location )
    {
        $url = $location->url_alias;
        eZURI::transformURI( $url, false, 'full' ); // $url is passed as a reference

        $aMetadata = array(
            'nodeId'        => (int)$location->node_id,
            'nodeRemoteId'  => $location->remote_id,
            'fullUrl'       => $url
        );

        return $aMetadata;
    }
public static function getMetadataByLocation ( ezpContentLocation $ location ) { $ url = $ location -> url_alias ; eZURI :: transformURI ( $ url , false , 'full' ) ; // $url is passed as a reference $ aMetadata = array ( 'nodeId' => ( int ) $ location -> node_id , 'nodeRemoteId' => $ location -> remote_id , 'fullUrl' => $ url ) ; return $ aMetadata ; }
Returns metadata for given content location as array
@param ezpContentLocation $location
@return array
Returns metadata for given content location as array