public function listMultipartUploads($bucket, $options = null)
    {
        $this->precheckCommon($bucket, NULL, $options, false);
        $options[self::OSS_METHOD] = self::OSS_HTTP_GET;
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_OBJECT] = '/';
        $options[self::OSS_SUB_RESOURCE] = 'uploads';

        foreach (array('delimiter', 'key-marker', 'max-uploads', 'prefix', 'upload-id-marker') as $param) {
            if (isset($options[$param])) {
                $options[self::OSS_QUERY_STRING][$param] = $options[$param];
                unset($options[$param]);
            }
        }
        $query = isset($options[self::OSS_QUERY_STRING]) ? $options[self::OSS_QUERY_STRING] : array();
        $options[self::OSS_QUERY_STRING] = array_merge(
            $query,
            array(self::OSS_ENCODING_TYPE => self::OSS_ENCODING_TYPE_URL)
        );

        $response = $this->auth($options);
        $result = new ListMultipartUploadResult($response);
        return $result->getData();
    }
public function listMultipartUploads($bucket, $options = null)
    {
        $this->precheckCommon($bucket, NULL, $options, false);
        $options[self::OSS_METHOD] = self::OSS_HTTP_GET;
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_OBJECT] = '/';
        $options[self::OSS_SUB_RESOURCE] = 'uploads';

        foreach (array('delimiter', 'key-marker', 'max-uploads', 'prefix', 'upload-id-marker') as $param) {
            if (isset($options[$param])) {
                $options[self::OSS_QUERY_STRING][$param] = $options[$param];
                unset($options[$param]);
            }
        }
        $query = isset($options[self::OSS_QUERY_STRING]) ? $options[self::OSS_QUERY_STRING] : array();
        $options[self::OSS_QUERY_STRING] = array_merge(
            $query,
            array(self::OSS_ENCODING_TYPE => self::OSS_ENCODING_TYPE_URL)
        );

        $response = $this->auth($options);
        $result = new ListMultipartUploadResult($response);
        return $result->getData();
    }
public function listMultipartUploads ( $ bucket , $ options = null ) { $ this -> precheckCommon ( $ bucket , NULL , $ options , false ) ; $ options [ self :: OSS_METHOD ] = self :: OSS_HTTP_GET ; $ options [ self :: OSS_BUCKET ] = $ bucket ; $ options [ self :: OSS_OBJECT ] = '/' ; $ options [ self :: OSS_SUB_RESOURCE ] = 'uploads' ; foreach ( array ( 'delimiter' , 'key-marker' , 'max-uploads' , 'prefix' , 'upload-id-marker' ) as $ param ) { if ( isset ( $ options [ $ param ] ) ) { $ options [ self :: OSS_QUERY_STRING ] [ $ param ] = $ options [ $ param ] ; unset ( $ options [ $ param ] ) ; } } $ query = isset ( $ options [ self :: OSS_QUERY_STRING ] ) ? $ options [ self :: OSS_QUERY_STRING ] : array ( ) ; $ options [ self :: OSS_QUERY_STRING ] = array_merge ( $ query , array ( self :: OSS_ENCODING_TYPE => self :: OSS_ENCODING_TYPE_URL ) ) ; $ response = $ this -> auth ( $ options ) ; $ result = new ListMultipartUploadResult ( $ response ) ; return $ result -> getData ( ) ; }
Lists all ongoing multipart upload events, which means all initialized but not completed or aborted multipart uploads.

@param string $bucket bucket
@param array $options key-value array--expected keys are 'delimiter', 'key-marker', 'max-uploads', 'prefix', 'upload-id-marker'
@throws OssException
@return ListMultipartUploadInfo
Lists all ongoing multipart upload events which means all initialized but not completed or aborted multipart uploads .