tasks/ext/Service/Amazon/S3/S3PutTask.php
\S3PutTask
Package: phing\tasks\ext
Default value
Default value
Default value
Returns
Details
Stores an object on S3
- Parent(s)
- \Service_Amazon_S3 < \Service_Amazon < \Task < \ProjectComponent
- Author
- Andrei Serdeliuc
- Extends
- Service_Amazon_S3
- Version
- $Id: S3PutTask.php 1184 2011-06-22 13:36:56Z mrook $
Properties

mixed
$_content= 'null'
Content we're trying to upload
The user can specify either a file to upload or just a bit of content
(default value: null)
nullDetails- Type
- mixed
- Access
- protected

bool
$_createBuckets= 'false'
Whether to try to create buckets or not
(default value: false)
falseDetails- Type
- bool
- Access
- protected

array
$_filesets= 'array()'
Collection of filesets Used for uploading multiple files
(default value: array())
array()Details- Type
- array
- Access
- protected
Methods

createFileset(
)
:
\FileSetcreator for _filesets
Returns
Details
| Type | Description |
|---|---|
| \FileSet |
- Access
- public

getObjectData(
)
:
stringDetermines what we're going to store in the object
If _content has been set, this will get stored, otherwise, we read from _source
| Type | Description |
|---|---|
| string |
- Access
- public