src/BaiduBce/Services/Bos/BosClient.php
public function listMultipartUploads($bucketName, $options = array())
    {
        list(
            $config,
            $keyMarker,
            $maxUploads,
            $delimiter,
            $prefix
        ) = $this->parseOptions(
            $options,
            BosOptions::CONFIG,
            BosOptions::MARKER,
            BosOptions::LIMIT,
            BosOptions::DELIMITER,
            BosOptions::PREFIX
        );
        $params = array();
        $params['uploads'] = '';
        if ($keyMarker !== null) {
            $params['keyMarker'] = $keyMarker;
        }
        if ($maxUploads !== null) {
            if (is_numeric($maxUploads)) {
                $maxUploads = number_format($maxUploads);
                $maxUploads = str_replace(',','',$maxUploads);
            }
            $params['maxUploads'] = $maxUploads;
        }
        if ($delimiter !== null) {
            $params['delimiter'] = $delimiter;
        }
        if ($prefix !== null) {
            $params['prefix'] = $prefix;
        }

        return $this->sendRequest(
            HttpMethod::GET,
            array(
                BosOptions::CONFIG => $config,
                'bucket_name' => $bucketName,
                'params' => $params,
            )
        );
    }
public function listMultipartUploads($bucketName, $options = array())
    {
        list(
            $config,
            $keyMarker,
            $maxUploads,
            $delimiter,
            $prefix
        ) = $this->parseOptions(
            $options,
            BosOptions::CONFIG,
            BosOptions::MARKER,
            BosOptions::LIMIT,
            BosOptions::DELIMITER,
            BosOptions::PREFIX
        );
        $params = array();
        $params['uploads'] = '';
        if ($keyMarker !== null) {
            $params['keyMarker'] = $keyMarker;
        }
        if ($maxUploads !== null) {
            if (is_numeric($maxUploads)) {
                $maxUploads = number_format($maxUploads);
                $maxUploads = str_replace(',','',$maxUploads);
            }
            $params['maxUploads'] = $maxUploads;
        }
        if ($delimiter !== null) {
            $params['delimiter'] = $delimiter;
        }
        if ($prefix !== null) {
            $params['prefix'] = $prefix;
        }

        return $this->sendRequest(
            HttpMethod::GET,
            array(
                BosOptions::CONFIG => $config,
                'bucket_name' => $bucketName,
                'params' => $params,
            )
        );
    }
public function listMultipartUploads ( $ bucketName , $ options = array ( ) ) { list ( $ config , $ keyMarker , $ maxUploads , $ delimiter , $ prefix ) = $ this -> parseOptions ( $ options , BosOptions :: CONFIG , BosOptions :: MARKER , BosOptions :: LIMIT , BosOptions :: DELIMITER , BosOptions :: PREFIX ) ; $ params = array ( ) ; $ params [ 'uploads' ] = '' ; if ( $ keyMarker !== null ) { $ params [ 'keyMarker' ] = $ keyMarker ; } if ( $ maxUploads !== null ) { if ( is_numeric ( $ maxUploads ) ) { $ maxUploads = number_format ( $ maxUploads ) ; $ maxUploads = str_replace ( ',' , '' , $ maxUploads ) ; } $ params [ 'maxUploads' ] = $ maxUploads ; } if ( $ delimiter !== null ) { $ params [ 'delimiter' ] = $ delimiter ; } if ( $ prefix !== null ) { $ params [ 'prefix' ] = $ prefix ; } return $ this -> sendRequest ( HttpMethod :: GET , array ( BosOptions :: CONFIG => $ config , 'bucket_name' => $ bucketName , 'params' => $ params , ) ) ; }
List Multipart upload task which haven't been ended.
call initiateMultipartUpload but not call completeMultipartUpload or abortMultipartUpload

@param string $bucketName The bucket name.
@param mixed $options The optional bce configuration, which will overwrite the
default configuration that was passed while creating BosClient instance.

@return mixed
List Multipart upload task which haven t been ended . call initiateMultipartUpload but not call completeMultipartUpload or abortMultipartUpload