BxGroupsMenuViewActionsAll.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. * View entry all actions menu
  13. */
  14. class BxGroupsMenuViewActionsAll extends BxBaseModGroupsMenuViewActionsAll
  15. {
  16. public function __construct($aObject, $oTemplate = false)
  17. {
  18. $this->_sModule = 'bx_groups';
  19. parent::__construct($aObject, $oTemplate);
  20. }
  21. protected function _getMenuItemEditGroupCover($aItem)
  22. {
  23. return $this->_getMenuItemByNameActionsMore($aItem);
  24. }
  25. protected function _getMenuItemEditGroupProfile($aItem)
  26. {
  27. return $this->_getMenuItemByNameActionsMore($aItem);
  28. }
  29. protected function _getMenuItemInviteToGroup($aItem)
  30. {
  31. return $this->_getMenuItemByNameActionsMore($aItem);
  32. }
  33. protected function _getMenuItemDeleteGroupProfile($aItem)
  34. {
  35. return $this->_getMenuItemByNameActionsMore($aItem);
  36. }
  37. }
  38. /** @} */