1
0

BxBaseModNotificationsPrivacy.php 591 B

12345678910111213141516171819202122232425
  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. * @defgroup BaseNotifications Base classes for Notifications like modules
  7. * @ingroup UnaModules
  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. /** @} */