tasks/ext/Service/Amazon/S3/S3PutTask.php

Show: inherited
Table of Contents

\S3PutTask

Package: phing\tasks\ext

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

Propertyprotectedmixed  $_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)

Default valuenullDetails
Type
mixed
Access
protected  
Propertyprotectedbool  $_createBuckets= 'false'

Whether to try to create buckets or not

(default value: false)

Default valuefalseDetails
Type
bool
Access
protected  
Propertyprotectedarray  $_filesets= 'array()'

Collection of filesets Used for uploading multiple files

(default value: array())

Default valuearray()Details
Type
array
Access
protected  
Propertyprotectedstring  $_source= 'null'

File we're trying to upload

(default value: null)

Default valuenullDetails
Type
string
Access
protected  

Methods

methodpublic__get( ) : void

methodpublic__isset( ) : void

methodpublic__set( ) : void

methodpubliccreateBucket( ) : void

methodpubliccreateFileset( ) : \FileSet

creator for _filesets

Returns
Type Description
\FileSet
Details
Access
public  
methodpublicexecute( ) : void

Store the object on S3

Details
Access
public  
methodpublicgetBucket( ) : void

methodpublicgetBucketInstance( ) : void

methodpublicgetClient( ) : void

methodpublicgetContent( ) : void

methodpublicgetCreateBuckets( ) : void

methodpublicgetDescription( ) : void

methodpublicgetFilesets( ) : array

getter for _filesets

Returns
Type Description
array
Details
Access
public  
methodpublicgetKey( ) : void

methodpublicgetLocation( ) : void

methodpublicgetObject( ) : void

methodpublicgetObjectContents( ) : void

methodpublicgetObjectData( ) : string

Determines what we're going to store in the object

If _content has been set, this will get stored, otherwise, we read from _source

Returns
Type Description
string
Details
Access
public  
methodpublicgetObjectInstance( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetSecret( ) : void

methodpublicgetSource( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

methodpublicisBucketAvailable( ) : void

methodpublicisObjectAvailable( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void
final

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodprotectedsaveObject(  $object,  $data ) : void

Parameters
Name Type Description
$object
$data
methodpublicsetBucket( ) : void

methodpublicsetContent(  $content ) : void

Parameters
Name Type Description
$content
methodpublicsetCreateBuckets(  $createBuckets ) : void

Parameters
Name Type Description
$createBuckets
methodpublicsetDescription( ) : void

methodpublicsetKey( ) : void

methodpublicsetLocation( ) : void

methodpublicsetObject(  $object ) : void

Parameters
Name Type Description
$object
methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetSecret( ) : void

methodpublicsetSource(  $source ) : void

Parameters
Name Type Description
$source
methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

Documentation was generated by DocBlox 0.17.1.