UNA
Loading...
Searching...
No Matches
BxBaseUploaderHTML5 Class Reference
Inheritance diagram for BxBaseUploaderHTML5:
BxDolUploader BxDolFactory BxTemplUploaderHTML5 BxAlbumsUploaderHTML5 BxBaseCmtsUploaderHTML5 BxBaseModFilesUploaderHTML5 BxBaseModProfileUploaderCoverCrop BxBaseModTextUploaderHTML5 BxBaseModTextUploaderHTML5Attach BxBaseStudioBuilderPageUploaderHTML5 BxBaseStudioSettingsUploaderHTML5 BxGlsrUploaderHTML5 BxMarketUploaderHTML5 BxTimelineUploaderHTML5Attach BxVideosUploaderHTML5

Public Member Functions

 __construct ($aObject, $sStorageObject, $sUniqId, $oTemplate)
 
 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)
 
 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)
 

Protected Attributes

 $_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)
 
- Protected Member Functions inherited from BxDolUploader
 cleanUploadErrorMessages ()
 
 getRestrictionsText ()
 
 getMaxUploadFileSize ()
 
 getAcceptedFilesExtensions ()
 
 getGhostTemplateVars ($aFile, $iProfileId, $iContentId, $oStorage, $oImagesTranscoder)
 
 isUseTranscoderForPreview ($oImagesTranscoder, $aFile)
 
 isAdmin ($iContentId=0)
 

Detailed Description

Upload files using AJAX uploader with multiple files selection support (without flash), it works in Firefox and WebKit(Safari, Chrome) browsers only, but has fallback for other browsers (IE, Opera).

See also
BxDolUploader

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getUploaderButton()

BxBaseUploaderHTML5::getUploaderButton ( $aParams = array())

Show uploader button.

Returns
HTML string

Reimplemented from BxDolUploader.

◆ getUploaderButtonTitle()

BxBaseUploaderHTML5::getUploaderButtonTitle ( $mixed = false)

Get uploader button title

Reimplemented from BxDolUploader.

◆ getUploaderForm()

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

Show uploader form.

Returns
HTML string

Reimplemented from BxDolUploader.

◆ getUploaderJsParams()

BxBaseUploaderHTML5::getUploaderJsParams ( )

Reimplemented from BxDolUploader.

◆ handleUploads()

BxBaseUploaderHTML5::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.

Reimplemented in BxBaseStudioSettingsUploaderHTML5.


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