kernel/classes/ezproductcollection.php
static function fetch( $productCollectionID, $asObject = true )
    {
        return eZPersistentObject::fetchObject( eZProductCollection::definition(),
                                                null,
                                                array( 'id' => $productCollectionID ),
                                                $asObject );
    }
static function fetch( $productCollectionID, $asObject = true )
    {
        return eZPersistentObject::fetchObject( eZProductCollection::definition(),
                                                null,
                                                array( 'id' => $productCollectionID ),
                                                $asObject );
    }
static function fetch ( $ productCollectionID , $ asObject = true ) { return eZPersistentObject :: fetchObject ( eZProductCollection :: definition ( ) , null , array ( 'id' => $ productCollectionID ) , $ asObject ) ; }
Fetches an eZProductCollection based on its ID

@param int $productCollectionID
@param bool $asObject
If true, return an object. if false, returns an array

@return array|eZProductCollection
Fetches an eZProductCollection based on its ID