BxGroupsModule.php 708 B

12345678910111213141516171819202122232425262728293031323334
  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 Groups Groups
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Groups profiles module.
  13. */
  14. class BxGroupsModule extends BxBaseModGroupsModule
  15. {
  16. public function __construct(&$aModule)
  17. {
  18. parent::__construct($aModule);
  19. $this->_aSearchableNamesExcept[] = $this->_oConfig->CNF['FIELD_JOIN_CONFIRMATION'];
  20. }
  21. public function serviceGetSafeServices()
  22. {
  23. $a = parent::serviceGetSafeServices();
  24. return array_merge($a, [
  25. 'BrowseRecommendationsFans' => '',
  26. ]);
  27. }
  28. }
  29. /** @} */