private function generateSignableQueryStringParam($options)
    {
        $signableQueryStringParams = array();
        $signableList = array(
            self::OSS_PART_NUM,
            'response-content-type',
            'response-content-language',
            'response-cache-control',
            'response-content-encoding',
            'response-expires',
            'response-content-disposition',
            self::OSS_UPLOAD_ID,
            self::OSS_COMP,
            self::OSS_LIVE_CHANNEL_STATUS,
            self::OSS_LIVE_CHANNEL_START_TIME,
            self::OSS_LIVE_CHANNEL_END_TIME,
            self::OSS_PROCESS,
            self::OSS_POSITION,
            self::OSS_SYMLINK,
            self::OSS_RESTORE,
        );

        foreach ($signableList as $item) {
            if (isset($options[$item])) {
                $signableQueryStringParams[$item] = $options[$item];
            }
        }

        if ($this->enableStsInUrl && (!is_null($this->securityToken))) {
            $signableQueryStringParams["security-token"] = $this->securityToken;
        }

        return $signableQueryStringParams;
    }
private function generateSignableQueryStringParam($options)
    {
        $signableQueryStringParams = array();
        $signableList = array(
            self::OSS_PART_NUM,
            'response-content-type',
            'response-content-language',
            'response-cache-control',
            'response-content-encoding',
            'response-expires',
            'response-content-disposition',
            self::OSS_UPLOAD_ID,
            self::OSS_COMP,
            self::OSS_LIVE_CHANNEL_STATUS,
            self::OSS_LIVE_CHANNEL_START_TIME,
            self::OSS_LIVE_CHANNEL_END_TIME,
            self::OSS_PROCESS,
            self::OSS_POSITION,
            self::OSS_SYMLINK,
            self::OSS_RESTORE,
        );

        foreach ($signableList as $item) {
            if (isset($options[$item])) {
                $signableQueryStringParams[$item] = $options[$item];
            }
        }

        if ($this->enableStsInUrl && (!is_null($this->securityToken))) {
            $signableQueryStringParams["security-token"] = $this->securityToken;
        }

        return $signableQueryStringParams;
    }
private function generateSignableQueryStringParam ( $ options ) { $ signableQueryStringParams = array ( ) ; $ signableList = array ( self :: OSS_PART_NUM , 'response-content-type' , 'response-content-language' , 'response-cache-control' , 'response-content-encoding' , 'response-expires' , 'response-content-disposition' , self :: OSS_UPLOAD_ID , self :: OSS_COMP , self :: OSS_LIVE_CHANNEL_STATUS , self :: OSS_LIVE_CHANNEL_START_TIME , self :: OSS_LIVE_CHANNEL_END_TIME , self :: OSS_PROCESS , self :: OSS_POSITION , self :: OSS_SYMLINK , self :: OSS_RESTORE , ) ; foreach ( $ signableList as $ item ) { if ( isset ( $ options [ $ item ] ) ) { $ signableQueryStringParams [ $ item ] = $ options [ $ item ] ; } } if ( $ this -> enableStsInUrl && ( ! is_null ( $ this -> securityToken ) ) ) { $ signableQueryStringParams [ "security-token" ] = $ this -> securityToken ; } return $ signableQueryStringParams ; }
Generates the signalbe query string parameters in array type

@param array $options
@return array
Generates the signalbe query string parameters in array type