BxBaseStudioSettingsUploaderHTML5.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup TridentStudio Trident Studio
  7. * @{
  8. */
  9. /**
  10. * Upload files using AJAX uploader with multiple files selection support (without flash),
  11. * it works in Firefox and WebKit(Safari, Chrome) browsers only, but has fallback for other browsers (IE, Opera).
  12. * @see BxDolUploader
  13. */
  14. class BxBaseStudioSettingsUploaderHTML5 extends BxTemplUploaderHTML5
  15. {
  16. function __construct ($aObject, $sStorageObject, $sUniqId, $oTemplate)
  17. {
  18. parent::__construct($aObject, $sStorageObject, $sUniqId, $oTemplate);
  19. }
  20. public function getGhosts($iProfileId, $sFormat, $sImagesTranscoder = false, $iContentId = false)
  21. {
  22. return parent::getGhosts(0, $sFormat, $sImagesTranscoder, $iContentId);
  23. }
  24. public function handleUploads ($iProfileId, $mixedFiles, $isMultiple = true, $iContentId = false, $bPrivate = true)
  25. {
  26. parent::handleUploads(0, $mixedFiles, $isMultiple, $iContentId, $bPrivate);
  27. }
  28. public function deleteGhost($iFileId, $iProfileId)
  29. {
  30. return parent::deleteGhost($iFileId, 0);
  31. }
  32. }
  33. /** @} */