PHP Class Arkade_S3_Model_Core_File_Storage_S3, magento-s3

Inheritance: extends Mage_Core_Model_File_Storage_Abstract
Datei anzeigen Open project: arkadedigital/magento-s3

Protected Properties

Property Type Description
$_eventPrefix

Public Methods

Method Description
clear ( )
copyFile ( $oldFilePath, $newFilePath )
deleteFile ( $path )
exportDirectories ( $offset, $count = 100 )
exportFiles ( $offset, $count = 100 )
fileExists ( string $filePath ) : boolean Check whether a file exists in S3
getDirectoryFiles ( $directory )
getIdFieldName ( )
getMetadata ( ) : array An array of the HTTP headers that we intend send to S3 alongside the object.
getStorageName ( ) : string
getSubdirectories ( $path )
hasErrors ( ) : boolean
importDirectories ( array $dirs = [] )
importFiles ( array $files = [] ) Upload the given array of files to S3.
init ( )
loadByFilename ( $filePath )
renameFile ( $oldName, $newName )
saveFile ( string $filename ) Upload the specific file to S3.

Protected Methods

Method Description
_construct ( )
getHelper ( ) : Arkade_S3_Helper_Data

Method Details

_construct() protected method

protected _construct ( )

clear() public method

public clear ( )

copyFile() public method

public copyFile ( $oldFilePath, $newFilePath )

deleteFile() public method

public deleteFile ( $path )

exportDirectories() public method

public exportDirectories ( $offset, $count = 100 )

exportFiles() public method

public exportFiles ( $offset, $count = 100 )

fileExists() public method

Check whether a file exists in S3
public fileExists ( string $filePath ) : boolean
$filePath string
return boolean

getDirectoryFiles() public method

public getDirectoryFiles ( $directory )

getHelper() protected method

protected getHelper ( ) : Arkade_S3_Helper_Data
return Arkade_S3_Helper_Data

getIdFieldName() public method

public getIdFieldName ( )

getMetadata() public method

An array of the HTTP headers that we intend send to S3 alongside the object.
public getMetadata ( ) : array
return array

getStorageName() public method

public getStorageName ( ) : string
return string

getSubdirectories() public method

public getSubdirectories ( $path )

hasErrors() public method

public hasErrors ( ) : boolean
return boolean

importDirectories() public method

public importDirectories ( array $dirs = [] )
$dirs array

importFiles() public method

Upload the given array of files to S3.
public importFiles ( array $files = [] )
$files array

init() public method

public init ( )

loadByFilename() public method

public loadByFilename ( $filePath )

renameFile() public method

public renameFile ( $oldName, $newName )

saveFile() public method

Upload the specific file to S3.
public saveFile ( string $filename )
$filename string

Property Details

$_eventPrefix protected_oe property

protected $_eventPrefix