BxDolCmtsNotes.php 786 B

1234567891011121314151617181920212223242526272829303132333435
  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 UnaCore UNA Core
  7. * @{
  8. */
  9. /**
  10. * Moderation Notes for any content
  11. */
  12. class BxDolCmtsNotes extends BxTemplCmts
  13. {
  14. public function __construct($sSystem, $iId, $iInit = true, $oTemplate = false)
  15. {
  16. parent::__construct($sSystem, $iId, $iInit, $oTemplate);
  17. }
  18. public function getObjectPrivacyView ($iObjectId = 0)
  19. {
  20. return BX_DOL_PG_HIDDEN;
  21. }
  22. /**
  23. * TODO: Remove this method when 'TriggerFieldComments' fields will be cleaned or updated
  24. * in all modules which have Notes.
  25. */
  26. protected function _triggerComment()
  27. {
  28. return false;
  29. }
  30. }
  31. /** @} */