tasks/ext/Service/Amazon/S3.php

Show: inherited
Table of Contents

\Service_Amazon_S3

Package: phing\tasks\ext

Abstract Service_Amazon_S3 class.

Provides common methods and properties to all of the S3 tasks

Parent(s)
\Service_Amazon < \Task < \ProjectComponent
Children
\S3PutTask
\S3GetTask
Abstract
 
Author
Andrei Serdeliuc  
Extends
Service_Amazon  
Version
$ID$  

Properties

Propertyprotected\Services_Amazon_S3  $_client= 'null'

Services_Amazon_S3 client

(default value: null)

Default valuenullDetails
Type
\Services_Amazon_S3
Access
protected  
See
\Services_Amazon_S3  

Methods

methodpublic__get( ) : void

methodpublic__isset( ) : void

methodpublic__set( ) : void

methodpubliccreateBucket( ) : void

Create a bucket

Details
Access
public  
methodpublicexecute( ) : void
abstract

Entry point to children tasks

Details
Abstract
 
Access
public  
methodpublicgetBucket( ) : void

methodpublicgetBucketInstance( ) : \Services_Amazon_S3_Resource_Bucket

Returns an instance of Services_Amazon_S3_Resource_Bucket

Returns
Type Description
\Services_Amazon_S3_Resource_Bucket
Details
Access
public  
methodpublicgetClient( ) : \Services_Amazon_S3

We only instantiate the client once per task call

Returns
Type Description
\Services_Amazon_S3
Details
Access
public  
methodpublicgetDescription( ) : void

methodpublicgetKey( ) : void

methodpublicgetLocation( ) : void

methodpublicgetObjectContents( string $object ) : mixed

Get the contents of an object (by it's name)

Parameters
Name Type Description
$object string
Returns
Type Description
mixed
Details
Access
public  
methodpublicgetObjectInstance( mixed $object ) : \Services_Amazon_S3_Resource_Object

Returns 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  
methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetSecret( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

methodpublicisBucketAvailable( ) : bool

Check if the current bucket is available

Returns
Type Description
bool
Details
Access
public  
methodpublicisObjectAvailable( mixed $object ) : bool

Check if the object already exists in the current bucket

Parameters
Name Type Description
$object mixed
Returns
Type Description
bool
Details
Access
public  
methodpubliclog( ) : void

methodpublicmain( ) : void
final

Main entry point, doesn't do anything

Details
Access
public  
Final
 
methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetBucket(  $bucket ) : void

Parameters
Name Type Description
$bucket
methodpublicsetDescription( ) : void

methodpublicsetKey( ) : void

methodpublicsetLocation( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetSecret( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

Documentation was generated by DocBlox 0.17.1.