BxBaseModNotificationsPrivacy.php 623 B

12345678910111213141516171819202122232425
  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 BaseNotifications Base classes for Notifications like modules
  7. * @ingroup TridentModules
  8. *
  9. * @{
  10. */
  11. class BxBaseModNotificationsPrivacy extends BxTemplPrivacy
  12. {
  13. public function __construct ($aOptions, $oTemplate = false)
  14. {
  15. parent::__construct ($aOptions, $oTemplate);
  16. }
  17. protected function convertActionToField($sAction)
  18. {
  19. return strtolower('object_privacy_' . $sAction);
  20. }
  21. }
  22. /** @} */