BxCnlFormsEntryHelper.php 718 B

1234567891011121314151617181920212223242526272829
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defdroup Channels Channels
  7. * @indroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Channels profile forms functions
  13. */
  14. class BxCnlFormsEntryHelper extends BxBaseModGroupsFormsEntryHelper
  15. {
  16. public function __construct($oModule)
  17. {
  18. parent::__construct($oModule);
  19. }
  20. public function onDataDeleteAfter ($iContentId, $aContentInfo, $oProfile)
  21. {
  22. $this->_oModule->_oDb->removeChannelContent($iContentId);
  23. return parent::onDataDeleteAfter ($iContentId, $aContentInfo, $oProfile);
  24. }
  25. }
  26. /** @} */