|
| __construct ($aObject, $sStorageObject, $sUniqId, $oTemplate) |
|
| deleteGhostsForProfile ($iProfileId, $iContentId=false) |
|
| getGhosts ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false) |
|
| getUploaderButtonTitle ($mixed=false) |
|
| getUploaderButton ($aParams=array()) |
|
| getUploaderJsParams () |
|
| getUploaderForm ($isMultiple=true, $iContentId=false, $isPrivate=true) |
|
| handleUploads ($iProfileId, $mixedFiles, $isMultiple=true, $iContentId=false, $bPrivate=true) |
|
| isAvailable () |
|
| isInstalled () |
|
| getNameJsInstanceUploader () |
|
| getIdContainerResult () |
|
| getIdContainerUploadInProgress () |
|
| getIdContainerPopup () |
|
| getIdContainerErrors () |
|
| getUploadErrorMessages ($sFormat='HTML') |
|
| getUploaderJs ($mixedGhostTemplate, $isMultiple=true, $aParams=array(), $bDynamic=false) |
|
| addCssJs ($bDynamic=false) |
|
| addJs ($mixedFile) |
|
| addCss ($mixedFile) |
|
| getGhostsWithOrder ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false) |
|
| reorderGhosts ($iProfileId, $sFormat, $aGhosts, $iContentId=false) |
|
| deleteGhost ($iFileId, $iProfileId) |
|
| appendUploadErrorMessage ($s) |
|
|
| isAdmin ($iContentId=0) |
|
| cleanUploadErrorMessages () |
|
| getRestrictionsText () |
|
| getMaxUploadFileSize () |
|
| getAcceptedFilesExtensions () |
|
| getGhostTemplateVars ($aFile, $iProfileId, $iContentId, $oStorage, $oImagesTranscoder) |
|
| isUseTranscoderForPreview ($oImagesTranscoder, $aFile) |
|
|
| $_sModule |
|
| $_oModule |
|
| $_sDivId |
|
| $_sFocusDivId |
|
| $_sProgressDivId |
|
| $_oTemplate |
|
| $_aObject |
|
| $_sStorageObject |
|
| $_sUniqId |
|
| $_sUploaderJsInstance |
|
| $_sUploadInProgressContainerId |
|
| $_sPopupContainerId |
|
| $_sResultContainerId |
|
| $_sErrorsContainerId |
|
| $_sFormContainerId |
|
| $_sUploadErrorMessages |
|
| $_sButtonTemplate |
|
| $_sJsTemplate |
|
| $_sUploaderFormTemplate |
|
| $_aJs |
|
| $_aCss |
|
|
static | getObjectInstance ($sObject, $sStorageObject, $sResultContainerId, $oTemplate=false) |
|
◆ __construct()
BxBaseModProfileUploaderCoverCrop::__construct |
( |
| $aObject, |
|
|
| $sStorageObject, |
|
|
| $sUniqId, |
|
|
| $oTemplate ) |
◆ deleteGhostsForProfile()
BxBaseModProfileUploaderCoverCrop::deleteGhostsForProfile |
( |
| $iProfileId, |
|
|
| $iContentId = false ) |
Delete all ghosts files for the specified profile
- Returns
- number of delete ghost files
Reimplemented from BxDolUploader.
◆ getGhosts()
BxBaseModProfileUploaderCoverCrop::getGhosts |
( |
| $iProfileId, |
|
|
| $sFormat, |
|
|
| $sImagesTranscoder = false, |
|
|
| $iContentId = false ) |
Display uploaded, but not saved files - ghosts
- Parameters
-
$iProfileId | - profile id to get orphaned files from |
$sFormat | - output format, only 'json' output formt is supported |
$sImagesTranscoder | - transcoder object for files preview for images and videos, false by default - no preview |
$iContentId | - content id to get orphaned files from, false by default |
- Returns
- JSON string
Reimplemented from BxDolUploader.
◆ isAdmin()
BxBaseModProfileUploaderCoverCrop::isAdmin |
( |
| $iContentId = 0 | ) |
|
|
protected |
The documentation for this class was generated from the following file:
- modules/base/profile/classes/BxBaseModProfileUploaderCoverCrop.php