BxEventsFormsEntryHelper.php 863 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 Events Events
  7. * @ingroup TridentModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Group profile forms functions
  13. */
  14. class BxEventsFormsEntryHelper extends BxBaseModGroupsFormsEntryHelper
  15. {
  16. public function __construct($oModule)
  17. {
  18. parent::__construct($oModule);
  19. }
  20. public function onDataAddAfter ($iAccountId, $iContentId)
  21. {
  22. if ($s = parent::onDataAddAfter($iAccountId, $iContentId))
  23. return $s;
  24. return '';
  25. }
  26. public function onDataDeleteAfter ($iContentId, $aContentInfo, $oProfile)
  27. {
  28. if ($s = parent::onDataDeleteAfter($iAccountId, $iContentId))
  29. return $s;
  30. return '';
  31. }
  32. }
  33. /** @} */