public static function getMetadataByContent( ezpContent $content )
    {
        $aMetadata = array(
            'objectName'            => $content->name,
            'classIdentifier'       => $content->classIdentifier,
            'datePublished'         => (int)$content->datePublished,
            'dateModified'          => (int)$content->dateModified,
            'objectRemoteId'        => $content->remote_id,
            'objectId'              => (int)$content->id
        );

        return $aMetadata;
    }
public static function getMetadataByContent( ezpContent $content )
    {
        $aMetadata = array(
            'objectName'            => $content->name,
            'classIdentifier'       => $content->classIdentifier,
            'datePublished'         => (int)$content->datePublished,
            'dateModified'          => (int)$content->dateModified,
            'objectRemoteId'        => $content->remote_id,
            'objectId'              => (int)$content->id
        );

        return $aMetadata;
    }
public static function getMetadataByContent ( ezpContent $ content ) { $ aMetadata = array ( 'objectName' => $ content -> name , 'classIdentifier' => $ content -> classIdentifier , 'datePublished' => ( int ) $ content -> datePublished , 'dateModified' => ( int ) $ content -> dateModified , 'objectRemoteId' => $ content -> remote_id , 'objectId' => ( int ) $ content -> id ) ; return $ aMetadata ; }
Returns metadata for given content as array
@param ezpContent $content
@return array
Returns metadata for given content as array