classes/phing/tasks/ext/Service/Amazon/S3.php
Abstract Service_Amazon_S3 class.
Provides common methods and properties to all of the S3 tasks
- Extends from
- \Service_Amazon
- abstract
- author
- Andrei Serdeliuc
- copyright
- 2001,2002 THYRELL. All rights reserved
- extends
- Service_Amazon
- package
- phing.tasks.ext
- version
- $ID$
Properties
Methods



execute(
)
:
void
abstractEntry point to children tasks
Details
- abstract
- access
- public



getBucketInstance(
)
:
\Services_Amazon_S3_Resource_BucketReturns an instance of Services_Amazon_S3_Resource_Bucket
Returns
| Type |
Description |
| \Services_Amazon_S3_Resource_Bucket |
|
Details
- access
- public



getClient(
)
:
\Services_Amazon_S3We only instantiate the client once per task call
Returns
| Type |
Description |
| \Services_Amazon_S3 |
|
Details
- access
- public



getObjectContents(
string $object
)
:
mixedGet the contents of an object (by it's name)
Parameters
| Name |
Type |
Description |
| $object |
string |
|
Returns
Details
- access
- public



getObjectInstance(
mixed $object
)
:
\Services_Amazon_S3_Resource_ObjectReturns an instance of Services_Amazon_S3_Resource_Object
Parameters
| Name |
Type |
Description |
| $object |
mixed |
|
Returns
| Type |
Description |
| \Services_Amazon_S3_Resource_Object |
|
Details
- access
- public



isBucketAvailable(
)
:
boolCheck if the current bucket is available
Returns
Details
- access
- public



isObjectAvailable(
mixed $object
)
:
boolCheck if the object already exists in the current bucket
Parameters
| Name |
Type |
Description |
| $object |
mixed |
|
Returns
Details
- access
- public



main(
)
:
void
finalMain entry point, doesn't do anything
Details
- access
- public
- final