classes/phing/tasks/ext/Service/Amazon/S3/S3PutTask.php
\S3PutTask
Stores an object on S3
Provides common methods and properties to all of the S3 tasks
- Extends from
- \Service_Amazon_S3
- author
- Andrei Serdeliuc
- copyright
- 2001,2002 THYRELL. All rights reserved
- extends
- Service_Amazon_S3
- package
- phing.tasks.ext
- 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())
arrayDetails- Type
- array
- access
- protected
Methods

createFileset(
)
:
\FileSetcreator for _filesets
| 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