BxBaseModGroupsConfig.php 824 B

1234567891011121314151617181920212223242526272829
  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. class BxBaseModGroupsConfig extends BxBaseModProfileConfig
  12. {
  13. function __construct($aModule)
  14. {
  15. parent::__construct($aModule);
  16. $this->_aMenuItems2MethodsActions = array (
  17. 'profile-fan-add' => 'checkAllowedFanAdd',
  18. 'profile-fan-remove' => 'checkAllowedFanRemove',
  19. 'profile-subscribe-add' => 'checkAllowedSubscribeAdd',
  20. 'profile-subscribe-remove' => 'checkAllowedSubscribeRemove',
  21. 'profile-actions-more' => 'checkAllowedViewMoreMenu',
  22. 'convos-compose' => 'checkAllowedCompose',
  23. );
  24. }
  25. }
  26. /** @} */