Method | Description | |
---|---|---|
checkDbUsage ( ) : boolean | Check whether we are using the database or S3 for storing images. | |
checkS3Usage ( ) : boolean | Check whether we are using S3 for storing images. | |
getStorageDatabaseModel ( ) : Arkade_S3_Model_Core_File_Storage_S3 | Mage_Core_Model_File_Storage_Database | ||
saveFileToFilesystem ( $filename ) | ||
saveUploadedFile ( array $result = [] ) : string | Removes any forward slashes from the start of the uploaded file name. |
public checkDbUsage ( ) : boolean | ||
return | boolean |
public checkS3Usage ( ) : boolean | ||
return | boolean |
public getStorageDatabaseModel ( ) : Arkade_S3_Model_Core_File_Storage_S3 | Mage_Core_Model_File_Storage_Database | ||
return | Arkade_S3_Model_Core_File_Storage_S3 | Mage_Core_Model_File_Storage_Database |
public saveUploadedFile ( array $result = [] ) : string | ||
$result | array | |
return | string |