Property | Type | Description | |
---|---|---|---|
$data | array | PUT post fields | |
$fp | boolean | Use HTTP PUT? | |
$response | object | S3 request respone | |
$size | integer | PUT file size |
Method | Description | |
---|---|---|
__construct ( string $verb, string $bucket = '', string $uri = '', string $endpoint = 's3.amazonaws.com' ) : mixed | Constructor | |
getResponse ( ) : object | false | Get the S3 response | |
setAmzHeader ( string $key, string $value ) : void | Set x-amz-meta-* header | |
setHeader ( string $key, string $value ) : void | Set request header | |
setParameter ( string $key, string $value ) : void | Set request parameter |
Method | Description | |
---|---|---|
__dnsBucketName ( string $bucket ) : boolean | Check DNS conformity | |
__responseHeaderCallback ( resource $curl, string $data ) : integer | CURL header callback | |
__responseWriteCallback ( &$curl, &$data ) : integer | CURL write callback | |
__sortMetaHeadersCmp ( string $a, string $b ) : integer | Sort compare for meta headers |
public getResponse ( ) : object | false | ||
return | object | false | | false |