UNA3
Loading...
Searching...
No Matches
BxBaseModProfileUploaderCoverCrop Class Reference
Inheritance diagram for BxBaseModProfileUploaderCoverCrop:
BxTemplUploaderHTML5 BxBaseUploaderHTML5 BxDolUploader BxDolFactory BxBaseModGroupsUploaderCoverCrop BxPersonsUploaderCoverCrop BxCnlUploaderCoverCrop BxCoursesUploaderCoverCrop BxEventsUploaderCoverCrop BxGroupsUploaderCoverCrop BxOrgsUploaderCoverCrop BxSpacesUploaderCoverCrop

Public Member Functions

 __construct ($aObject, $sStorageObject, $sUniqId, $oTemplate)
 
 deleteGhostsForProfile ($iProfileId, $iContentId=false)
 
 getGhosts ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false)
 
- Public Member Functions inherited from BxBaseUploaderHTML5
 getUploaderButtonTitle ($mixed=false)
 
 getUploaderButton ($aParams=array())
 
 getUploaderJsParams ()
 
 getUploaderForm ($isMultiple=true, $iContentId=false, $isPrivate=true)
 
 handleUploads ($iProfileId, $mixedFiles, $isMultiple=true, $iContentId=false, $bPrivate=true)
 
- Public Member Functions inherited from BxDolUploader
 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)
 

Protected Member Functions

 isAdmin ($iContentId=0)
 
- Protected Member Functions inherited from BxDolUploader
 cleanUploadErrorMessages ()
 
 getRestrictionsText ()
 
 getMaxUploadFileSize ()
 
 getAcceptedFilesExtensions ()
 
 getGhostTemplateVars ($aFile, $iProfileId, $iContentId, $oStorage, $oImagesTranscoder)
 
 isUseTranscoderForPreview ($oImagesTranscoder, $aFile)
 

Protected Attributes

 $_sModule
 
 $_oModule
 
- Protected Attributes inherited from BxBaseUploaderHTML5
 $_sDivId
 
 $_sFocusDivId
 
 $_sProgressDivId
 
- Protected Attributes inherited from BxDolUploader
 $_oTemplate
 
 $_aObject
 
 $_sStorageObject
 
 $_sUniqId
 
 $_sUploaderJsInstance
 
 $_sUploadInProgressContainerId
 
 $_sPopupContainerId
 
 $_sResultContainerId
 
 $_sErrorsContainerId
 
 $_sFormContainerId
 
 $_sUploadErrorMessages
 
 $_sButtonTemplate
 
 $_sJsTemplate
 
 $_sUploaderFormTemplate
 
 $_aJs
 
 $_aCss
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolUploader
static getObjectInstance ($sObject, $sStorageObject, $sResultContainerId, $oTemplate=false)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

BxBaseModProfileUploaderCoverCrop::__construct ( $aObject,
$sStorageObject,
$sUniqId,
$oTemplate )

Member Function Documentation

◆ 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

Reimplemented from BxDolUploader.

Member Data Documentation

◆ $_oModule

BxBaseModProfileUploaderCoverCrop::$_oModule
protected

◆ $_sModule

BxBaseModProfileUploaderCoverCrop::$_sModule
protected

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