UNA
BxDolStorageLocal Class Reference
Inheritance diagram for BxDolStorageLocal:
BxDolStorage BxDolFactory iBxDolFactoryObject

Public Member Functions

 __construct ($aObject)
 
 getFileUrlById ($iFileId)
 
 download ($sRemoteId, $sToken=false, $mixedForceDownloadDialog='auto')
 
- Public Member Functions inherited from BxDolStorage
 genToken ($iFileId)
 
 changeStorageEngine ($sEngine)
 
 isAvailable ()
 
 isInstalled ()
 
 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 ()
 
 download ($aFile, $sToken=false, $bForceDownloadDialog='auto')
 
 setFilePrivate ($iFileId, $isPrivate=true)
 
 getFileUrlByRemoteId ($sRemoteId)
 
 getFileUrlById ($iFileId)
 
 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolStorage
static getObjectInstance ($sObject)
 
static pruning ()
 
static pruneDeletions ()
 
static isQueuedFilesForDeletion ($sPrefix)
 
- Protected Member Functions inherited from BxDolStorage
 __construct ($aObject)
 

Detailed Description

File storage in local folder.

See also
BxDolStorage

Constructor & Destructor Documentation

◆ __construct()

BxDolStorageLocal::__construct (   $aObject)

constructor

Member Function Documentation

◆ download()

BxDolStorageLocal::download (   $sRemoteId,
  $sToken = false,
  $mixedForceDownloadDialog = 'auto' 
)

Start file downloading by remote id. If file is private then token is checked.

◆ getFileUrlById()

BxDolStorageLocal::getFileUrlById (   $iFileId)

Get file url.

Parameters
$iFileIdfile
Returns
file url or false if file was not found

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