Méthode |
Description |
|
__construct ( Data $helper, Magento\MediaStorage\Helper\File\Media $mediaHelper, Magento\MediaStorage\Helper\File\Storage\Database $storageHelper, Psr\Log\LoggerInterface $logger ) |
|
|
clear ( ) |
|
|
copyFile ( $oldFilePath, $newFilePath ) |
|
|
deleteDirectory ( $path ) |
|
|
deleteFile ( string $path ) |
Delete file from Amazon S3 |
|
exportDirectories ( $offset, $count = 100 ) |
|
|
exportFiles ( $offset, $count = 100 ) |
|
|
fileExists ( $filename ) |
|
|
getConnectionName ( ) : null |
Retrieve connection name |
|
getDirectoryFiles ( $path ) |
|
|
getMediaBaseDirectory ( ) : string |
Retrieve media base directory path |
|
getStorageName ( ) : Magento\Framework\Phrase |
Return storage name |
|
getSubdirectories ( $path ) |
|
|
hasErrors ( ) : boolean |
|
|
importDirectories ( array $dirs = [] ) |
|
|
importFiles ( array $files = [] ) |
|
|
init ( ) |
Initialisation |
|
loadByFilename ( string $filename ) |
|
|
renameFile ( $oldFilePath, $newFilePath ) |
|
|
saveFile ( $filename ) |
|
|