public function listParts($bucket, $object, $uploadId, $options = null)
    {
        $this->precheckCommon($bucket, $object, $options);
        $options[self::OSS_METHOD] = self::OSS_HTTP_GET;
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_OBJECT] = $object;
        $options[self::OSS_UPLOAD_ID] = $uploadId;
        $options[self::OSS_QUERY_STRING] = array();
        foreach (array('max-parts', 'part-number-marker') as $param) {
            if (isset($options[$param])) {
                $options[self::OSS_QUERY_STRING][$param] = $options[$param];
                unset($options[$param]);
            }
        }
        $response = $this->auth($options);
        $result = new ListPartsResult($response);
        return $result->getData();
    }
public function listParts($bucket, $object, $uploadId, $options = null)
    {
        $this->precheckCommon($bucket, $object, $options);
        $options[self::OSS_METHOD] = self::OSS_HTTP_GET;
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_OBJECT] = $object;
        $options[self::OSS_UPLOAD_ID] = $uploadId;
        $options[self::OSS_QUERY_STRING] = array();
        foreach (array('max-parts', 'part-number-marker') as $param) {
            if (isset($options[$param])) {
                $options[self::OSS_QUERY_STRING][$param] = $options[$param];
                unset($options[$param]);
            }
        }
        $response = $this->auth($options);
        $result = new ListPartsResult($response);
        return $result->getData();
    }
public function listParts ( $ bucket , $ object , $ uploadId , $ options = null ) { $ this -> precheckCommon ( $ bucket , $ object , $ options ) ; $ options [ self :: OSS_METHOD ] = self :: OSS_HTTP_GET ; $ options [ self :: OSS_BUCKET ] = $ bucket ; $ options [ self :: OSS_OBJECT ] = $ object ; $ options [ self :: OSS_UPLOAD_ID ] = $ uploadId ; $ options [ self :: OSS_QUERY_STRING ] = array ( ) ; foreach ( array ( 'max-parts' , 'part-number-marker' ) as $ param ) { if ( isset ( $ options [ $ param ] ) ) { $ options [ self :: OSS_QUERY_STRING ] [ $ param ] = $ options [ $ param ] ; unset ( $ options [ $ param ] ) ; } } $ response = $ this -> auth ( $ options ) ; $ result = new ListPartsResult ( $ response ) ; return $ result -> getData ( ) ; }
Gets the uploaded parts.

@param string $bucket bucket name
@param string $object object name
@param string $uploadId uploadId
@param array $options Key-Value array
@return ListPartsInfo
@throws OssException
Gets the uploaded parts .