UNA
|
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 | |
Upload files using crop interface
BxBaseUploaderCrop::__construct | ( | $aObject, | |
$sStorageObject, | |||
$sUniqId, | |||
$oTemplate ) |
constructor
Reimplemented from BxDolUploader.
Reimplemented in BxAlbumsUploaderCrop, BxBaseModGroupsUploaderPictureCrop, BxBaseModProfileUploaderPictureCrop, BxBaseStudioUploaderCropCover, BxCnlUploaderPictureCrop, BxCoursesUploaderPictureCrop, BxEventsUploaderPictureCrop, BxGroupsUploaderPictureCrop, BxJobsUploaderPictureCrop, BxOrgsUploaderPictureCrop, BxPersonsUploaderPictureCrop, BxSpacesUploaderPictureCrop, BxTemplStudioUploaderCropCover, and BxTemplUploaderCrop.
BxBaseUploaderCrop::addCssJs | ( | $bDynamic = false | ) |
add necessary js, css files and js translations
Reimplemented from BxDolUploader.
BxBaseUploaderCrop::getUploaderButtonTitle | ( | $mixed = false | ) |
Get uploader button title
Reimplemented from BxDolUploader.
BxBaseUploaderCrop::getUploaderForm | ( | $isMultiple = true, | |
$iContentId = false, | |||
$isPrivate = true ) |
BxBaseUploaderCrop::handleUploads | ( | $iProfileId, | |
$mixedFiles, | |||
$isMultiple = true, | |||
$iContentId = false, | |||
$bPrivate = true ) |
Handle uploads here.
$mixedFiles | as usual $_FILES['some_name'] array, but maybe some other params depending on the uploader |
Reimplemented from BxDolUploader.