PHP Class Arkade_S3_Model_Core_File_Storage_S3, magento-s3

Inheritance: extends Mage_Core_Model_File_Storage_Abstract
Afficher le fichier Open project: arkadedigital/magento-s3

Protected Properties

Свойство Type Description
$_eventPrefix

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
_construct ( )
getHelper ( ) : Arkade_S3_Helper_Data

Method Details

_construct() protected méthode

protected _construct ( )

clear() public méthode

public clear ( )

copyFile() public méthode

public copyFile ( $oldFilePath, $newFilePath )

deleteFile() public méthode

public deleteFile ( $path )

exportDirectories() public méthode

public exportDirectories ( $offset, $count = 100 )

exportFiles() public méthode

public exportFiles ( $offset, $count = 100 )

fileExists() public méthode

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

getDirectoryFiles() public méthode

public getDirectoryFiles ( $directory )

getHelper() protected méthode

protected getHelper ( ) : Arkade_S3_Helper_Data
Résultat Arkade_S3_Helper_Data

getIdFieldName() public méthode

public getIdFieldName ( )

getMetadata() public méthode

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

getStorageName() public méthode

public getStorageName ( ) : string
Résultat string

getSubdirectories() public méthode

public getSubdirectories ( $path )

hasErrors() public méthode

public hasErrors ( ) : boolean
Résultat boolean

importDirectories() public méthode

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

importFiles() public méthode

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

init() public méthode

public init ( )

loadByFilename() public méthode

public loadByFilename ( $filePath )

renameFile() public méthode

public renameFile ( $oldName, $newName )

saveFile() public méthode

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

Property Details

$_eventPrefix protected_oe property

protected $_eventPrefix