PHP Class Arkade_S3_Helper_Data, magento-s3

Inheritance: extends Mage_Core_Helper_Data
Show file Open project: arkadedigital/magento-s3

Public Methods

Method Description
getAccessKey ( ) : string Returns the AWS access key.
getBucket ( ) : string Returns the S3 bucket where we want to store all our images.
getClient ( ) : Zend_Service_Amazon_S3
getFilePath ( string $filePath, string $prefix = null ) : string Get the file path of the file.
getObjectKey ( string $filePath, string $prefix = null ) : string Get the key used to reference the file in S3.
getRegion ( ) : string Returns the AWS region that we're using, e.g. ap-southeast-2.
getSecretKey ( ) : string Returns the AWS secret key.

Method Details

getAccessKey() public method

Returns the AWS access key.
public getAccessKey ( ) : string
return string

getBucket() public method

Returns the S3 bucket where we want to store all our images.
public getBucket ( ) : string
return string

getClient() public method

public getClient ( ) : Zend_Service_Amazon_S3
return Zend_Service_Amazon_S3

getFilePath() public method

Get the file path of the file.
public getFilePath ( string $filePath, string $prefix = null ) : string
$filePath string
$prefix string
return string

getObjectKey() public method

Get the key used to reference the file in S3.
public getObjectKey ( string $filePath, string $prefix = null ) : string
$filePath string
$prefix string
return string

getRegion() public method

Returns the AWS region that we're using, e.g. ap-southeast-2.
public getRegion ( ) : string
return string

getSecretKey() public method

Returns the AWS secret key.
public getSecretKey ( ) : string
return string