UNA
BxBaseUploaderRecordVideo Class Reference
Inheritance diagram for BxBaseUploaderRecordVideo:
BxBaseUploaderSimple BxDolUploader BxDolFactory BxTemplUploaderRecordVideo BxAlbumsUploaderRecordVideo BxBaseModTextUploaderRecordVideo BxBaseModTextUploaderRecordVideoAttach BxPostsUploaderRecordVideo BxStoriesUploaderRecordVideo BxTimelineUploaderRecordVideoAttach BxVideosUploaderRecordVideo BxAdsUploaderRecordVideo BxClssUploaderRecordVideo BxForumUploaderRecordVideo BxReviewsUploaderRecordVideo BxTasksUploaderRecordVideo BxAdsUploaderRecordVideoAttach BxClssUploaderRecordVideoAttach BxForumUploaderRecordVideoAttach BxPostsUploaderRecordVideoAttach BxReviewsUploaderRecordVideoAttach BxTasksUploaderRecordVideoAttach

Public Member Functions

 __construct ($aObject, $sStorageObject, $sUniqId, $oTemplate)
 getUploaderButtonTitle ($mixed=false)
 getUploaderJs ($mixedGhostTemplate, $isMultiple=true, $aParams=array(), $bDynamic=false)
 addCssJs ($bDynamic=false)
 handleUploads ($iProfileId, $mixedFiles, $isMultiple=true, $iContentId=false, $bPrivate=true)
Public Member Functions inherited from BxBaseUploaderSimple
 getUploaderForm ($isMultiple=true, $iContentId=false, $isPrivate=true)
Public Member Functions inherited from BxDolUploader
 isAvailable ()
 isInstalled ()
 getNameJsInstanceUploader ()
 getIdContainerResult ()
 getIdContainerUploadInProgress ()
 getIdContainerPopup ()
 getIdContainerErrors ()
 getUploadErrorMessages ($sFormat='HTML')
 getUploaderButton ($aParams=array())
 getUploaderJsParams ()
 addJs ($mixedFile)
 addCss ($mixedFile)
 getGhosts ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false)
 getGhostsWithOrder ($iProfileId, $sFormat, $sImagesTranscoder=false, $iContentId=false, $isLatestOnly=false)
 reorderGhosts ($iProfileId, $sFormat, $aGhosts, $iContentId=false)
 deleteGhost ($iFileId, $iProfileId)
 deleteGhostsForProfile ($iProfileId, $iContentId=false)
 appendUploadErrorMessage ($s)

Protected Member Functions

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

Additional Inherited Members

Static Public Member Functions inherited from BxDolUploader
static getObjectInstance ($sObject, $sStorageObject, $sResultContainerId, $oTemplate=false)
Protected Attributes inherited from BxBaseUploaderSimple
 $_sIframeId
Protected Attributes inherited from BxDolUploader
 $_oTemplate
 $_aObject
 $_sStorageObject
 $_sUniqId
 $_sUploaderJsInstance
 $_sUploadInProgressContainerId
 $_sPopupContainerId
 $_sResultContainerId
 $_sErrorsContainerId
 $_sFormContainerId
 $_sUploadErrorMessages
 $_sButtonTemplate
 $_sJsTemplate
 $_sUploaderFormTemplate
 $_aJs
 $_aCss

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ addCssJs()

BxBaseUploaderRecordVideo::addCssJs ( $bDynamic = false)

add necessary js, css files and js translations

Reimplemented from BxDolUploader.

◆ getRestrictionsText()

BxBaseUploaderRecordVideo::getRestrictionsText ( )
protected

Reimplemented from BxDolUploader.

◆ getUploaderButtonTitle()

BxBaseUploaderRecordVideo::getUploaderButtonTitle ( $mixed = false)

Get uploader button title

Reimplemented from BxBaseUploaderSimple.

◆ getUploaderJs()

BxBaseUploaderRecordVideo::getUploaderJs ( $mixedGhostTemplate,
$isMultiple = true,
$aParams = array(),
$bDynamic = false )

Show uploader JS.

Returns
HTML string

Reimplemented from BxDolUploader.

◆ handleUploads()

BxBaseUploaderRecordVideo::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:
  • template/scripts/BxBaseUploaderRecordVideo.php