BxOrgsPrivacy.php 756 B

123456789101112131415161718192021222324252627282930
  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 Organizations Organizations
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxOrgsPrivacy extends BxBaseModGroupsPrivacy
  12. {
  13. function __construct($aOptions, $oTemplate = false)
  14. {
  15. $this->MODULE = 'bx_organizations';
  16. parent::__construct($aOptions, $oTemplate);
  17. $this->_aGroupsExclude = array();
  18. $this->_aPrivacyParticallyVisible = array(BX_DOL_PG_FRIENDS, BX_BASE_MOD_GROUPS_PG_CLOSED);
  19. }
  20. protected function getObjectInfo($sAction, $iObjectId)
  21. {
  22. return BxBaseModProfilePrivacy::getObjectInfo($sAction, $iObjectId);
  23. }
  24. }
  25. /** @} */