UNA
Loading...
Searching...
No Matches
BxBaseUploaderCrop Class Reference
Inheritance diagram for BxBaseUploaderCrop:
BxDolUploader BxDolFactory BxTemplUploaderCrop BxAlbumsUploaderCrop BxBaseModProfileUploaderPictureCrop BxBaseStudioUploaderCropCover BxBaseModGroupsUploaderPictureCrop BxPersonsUploaderPictureCrop BxTemplStudioUploaderCropCover BxCnlUploaderPictureCrop BxCoursesUploaderPictureCrop BxEventsUploaderPictureCrop BxGroupsUploaderPictureCrop BxJobsUploaderPictureCrop BxOrgsUploaderPictureCrop BxSpacesUploaderPictureCrop

Public Member Functions

 __construct ($aObject, $sStorageObject, $sUniqId, $oTemplate)
 
 getUploaderButtonTitle ($mixed=false)
 
 addCssJs ($bDynamic=false)
 
 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')
 
 getUploaderButton ($aParams=array())
 
 getUploaderJsParams ()
 
 getUploaderJs ($mixedGhostTemplate, $isMultiple=true, $aParams=array(), $bDynamic=false)
 
 addJs ($mixedFile)
 
 addCss ($mixedFile)
 
 getGhosts ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false)
 
 getGhostsWithOrder ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false)
 
 reorderGhosts ($iProfileId, $sFormat, $aGhosts, $iContentId=false)
 
 deleteGhost ($iFileId, $iProfileId)
 
 deleteGhostsForProfile ($iProfileId, $iContentId=false)
 
 appendUploadErrorMessage ($s)
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolUploader
static getObjectInstance ($sObject, $sStorageObject, $sResultContainerId, $oTemplate=false)
 
- Protected Member Functions inherited from BxDolUploader
 cleanUploadErrorMessages ()
 
 getRestrictionsText ()
 
 getMaxUploadFileSize ()
 
 getAcceptedFilesExtensions ()
 
 getGhostTemplateVars ($aFile, $iProfileId, $iContentId, $oStorage, $oImagesTranscoder)
 
 isUseTranscoderForPreview ($oImagesTranscoder, $aFile)
 
 isAdmin ($iContentId=0)
 
- Protected Attributes inherited from BxDolUploader
 $_oTemplate
 
 $_aObject
 
 $_sStorageObject
 
 $_sUniqId
 
 $_sUploaderJsInstance
 
 $_sUploadInProgressContainerId
 
 $_sPopupContainerId
 
 $_sResultContainerId
 
 $_sErrorsContainerId
 
 $_sFormContainerId
 
 $_sUploadErrorMessages
 
 $_sButtonTemplate
 
 $_sJsTemplate
 
 $_sUploaderFormTemplate
 
 $_aJs
 
 $_aCss
 

Detailed Description

Upload files using crop interface

See also
BxDolUploader

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ addCssJs()

BxBaseUploaderCrop::addCssJs ( $bDynamic = false)

add necessary js, css files and js translations

Reimplemented from BxDolUploader.

◆ getUploaderButtonTitle()

BxBaseUploaderCrop::getUploaderButtonTitle ( $mixed = false)

Get uploader button title

Reimplemented from BxDolUploader.

◆ getUploaderForm()

BxBaseUploaderCrop::getUploaderForm ( $isMultiple = true,
$iContentId = false,
$isPrivate = true )

Show uploader form.

Returns
HTML string

Reimplemented from BxDolUploader.

◆ handleUploads()

BxBaseUploaderCrop::handleUploads ( $iProfileId,
$mixedFiles,
$isMultiple = true,
$iContentId = false,
$bPrivate = true )

Handle uploads here.

Parameters
$mixedFilesas usual $_FILES['some_name'] array, but maybe some other params depending on the uploader
Returns
nothing, but if some files failed to upload, the actual error message can be determined by calling BxDolUploader\getUploadErrorMessages()

Reimplemented from BxDolUploader.


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