UNA
Loading...
Searching...
No Matches
BxDolStorageS3v4 Class Reference
Inheritance diagram for BxDolStorageS3v4:
BxDolStorageS3 BxDolStorage BxDolFactory iBxDolFactoryObject

Protected Member Functions

 init ($aObject)
 
- Protected Member Functions inherited from BxDolStorageS3
 generateHeaders ($sFileName, $isPrivate, $sMimeType='')
 
 addFileToEngine ($sTmpFile, $sLocalId, $sName, $isPrivate, $iProfileId)
 
 deleteFileFromEngine ($sFilePath, $isPrivate)
 
 genRemoteNamePath ($sPath, $sLocalId, $sExt)
 
 getObjectBaseDir ($isPrivate=false)
 
 getObjectBaseUrl ($isPrivate=false)
 
- Protected Member Functions inherited from BxDolStorage
 determineIcon ($aIcons, $sExt, $sMimeType)
 
 onBeforeFileAdd ($aFileInfo)
 
 onFileAdded ($aFileInfo)
 
 setErrorCode ($i)
 
 genRandName ($isCheckForUniq=true)
 
 genPath ($s, $iLevels)
 
 isValidExt ($sExt)
 
 isAllowedExt ($sExt)
 
 isDeniedExt ($sExt)
 
 isAllowedDeniedExt ($sExt, $sExtMode)
 
 getFileDuration ($sFilePath, $sMimeType, $sExt, $oStorage)
 
 getFileDimensions ($sFilePath, $sMimeType, $sExt, $oStorage)
 

Additional Inherited Members

- Public Member Functions inherited from BxDolStorageS3
 __construct ($aObject)
 
 getFileUrlById ($iFileId)
 
 download ($sRemoteId, $sToken=false, $bForceDownloadDialog='auto')
 
 setFilePrivate ($iFileId, $isPrivate=true)
 
- Public Member Functions inherited from BxDolStorage
 genToken ($iFileId)
 
 changeStorageEngine ($sEngine)
 
 isAvailable ()
 
 isInstalled ()
 
 getObject ()
 
 getObjectData ()
 
 getErrorCode ()
 
 getErrorString ()
 
 getMaxUploadFileSize ($iProfileId)
 
 storeFile ($sMethod, $aMethodParams, $sName=false, $isPrivate=true, $iProfileId=0, $iContentId=0)
 
 convertMultipleFilesArray ($aFiles)
 
 storeFileFromForm ($aFile, $isPrivate=true, $iProfileId=0, $iContentId=0)
 
 storeFileFromXhr ($sName, $isPrivate=true, $iProfileId=0, $iContentId=0)
 
 storeFileFromPath ($sPath, $isPrivate=true, $iProfileId=0, $iContentId=0)
 
 storeFileFromUrl ($sUrl, $isPrivate=true, $iProfileId=0, $iContentId=0)
 
 storeFileFromStorage ($aParams, $isPrivate=true, $iProfileId=0, $iContentId=0)
 
 deleteFile ($iFileId, $iProfileId=0)
 
 queueFilesForDeletion ($mixedFileId)
 
 queueFilesForDeletionFromGhosts ($iProfileId, $iContentId=false)
 
 queueFilesForDeletionFromObject ()
 
 getFileUrlByRemoteId ($sRemoteId)
 
 getFile ($iFileId)
 
 getGhost ($iFileId)
 
 isFilePrivate ($iFileId)
 
 afterUploadCleanup ($mixedFileIds, $iProfileId, $iContentId=false)
 
 getGhosts ($iProfileId, $iContentId=false, $isCheckAllAccountProfiles=false, $isAdmin=false)
 
 reorderGhosts ($iProfileId, $iContentId, $aGhosts)
 
 updateGhostsContentId ($mixedFileIds, $iProfileId, $iContentId, $isAdmin=false)
 
 getFiles ($iProfileId)
 
 getFilesAll ($iStart=0, $iPerPage=1000)
 
 getRestrictionsTextExtensions ($iProfileId)
 
 getAllowedExtensions ()
 
 getRestrictionsTextFileSize ($iProfileId)
 
 getRestrictionsTextArray ($iProfileId)
 
 reloadMimeTypesFromFile ($sFile)
 
 getFileExt ($sFileName)
 
 getFileTitle ($sFileName)
 
 getMimeTypeByFileName ($sFileName)
 
 getIconNameByFileName ($sFileName)
 
 getFontIconNameByFileName ($sFileName)
 
 insertGhost ($iFileId, $iProfileId, $iContentId=0)
 
 onBeforeFileDelete ($aFileInfo, $iProfileId)
 
 onFileDeleted ($aFileInfo, $iProfileId, $aGhost=false)
 
 queueFiles ($aFiles)
 
- Static Public Member Functions inherited from BxDolStorage
static getObjectInstance ($sObject)
 
static pruning ()
 
static pruneDeletions ()
 
static isQueuedFilesForDeletion ($sPrefix)
 
- Protected Attributes inherited from BxDolStorageS3
 $_s3
 
 $_sBucket
 
 $_sDomain
 
 $_sEndpoint
 
 $_bSSL
 
 $_bReducedRedundancy
 
- Protected Attributes inherited from BxDolStorage
 $_aObject
 
 $_iCacheControl
 
 $_aParams
 
 $_iErrorCode
 
 $_oDb
 
 $_aMimeTypesViewable = ['audio/', 'image/', 'video/']
 

Detailed Description

File storage in Amazon S3 with signature v4 authorisation.

See also
BxDolStorage

Member Function Documentation

◆ init()

BxDolStorageS3v4::init ( $aObject)
protected

Reimplemented from BxDolStorageS3.


The documentation for this class was generated from the following file: