kernel/private/api/content/content.php
public static function fromObjectId( $objectId, $checkAccess = true )
    {
        $object = eZContentObject::fetch( $objectId );
        if ( $object instanceof eZContentObject )
            return self::fromObject( $object, $checkAccess );
        else
            throw new ezpContentNotFoundException( "Unable to find an eZContentObject with ID $objectId" );
    }
public static function fromObjectId( $objectId, $checkAccess = true )
    {
        $object = eZContentObject::fetch( $objectId );
        if ( $object instanceof eZContentObject )
            return self::fromObject( $object, $checkAccess );
        else
            throw new ezpContentNotFoundException( "Unable to find an eZContentObject with ID $objectId" );
    }
public static function fromObjectId ( $ objectId , $ checkAccess = true ) { $ object = eZContentObject :: fetch ( $ objectId ) ; if ( $ object instanceof eZContentObject ) return self :: fromObject ( $ object , $ checkAccess ) ; else throw new ezpContentNotFoundException ( "Unable to find an eZContentObject with ID $objectId" ) ; }
Instanciates an ezpContent from an eZContentObject Id
@param int $objectId
@return ezpContent
Instanciates an ezpContent from an eZContentObject Id