Package: Storage\Adapter
Cloud storage adapter for Amazon S3, using Zend’s built-in service.
Caveat: Zend’s storage adapter currently does not function correctlywith buckets that are validly-named, but use characters that cannotappear in domain names.
Set options for the storage adapter.
Parameters: |
|
---|
Move a local file to S3 storage.
Parameters: |
|
---|
Move a file between two “storage” locations.
Parameters: |
|
---|
Remove a “stored” file.
Parameters: |
|
---|
Get a URI for a “stored” file.
Parameters: |
|
---|---|
Returns: | string URI |
Get the name of the bucket files should be stored in.
Returns: | string Bucket name |
---|
Get the object name. Zend’s S3 service requires you to build the object name by prepending the name of the target bucket.
Parameters: |
|
---|---|
Returns: | string Object name. |
Normalizes and returns the expiration time.
Converts to integer and returns zero for all non-positive numbers.
Returns: | int |
---|