groupadminsection.php 582 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. if (!defined('GNUSOCIAL')) { exit(1); }
  3. class GroupAdminSection extends ProfileSection
  4. {
  5. var $group;
  6. function __construct($out, $group)
  7. {
  8. parent::__construct($out);
  9. $this->group = $group;
  10. }
  11. function getProfiles()
  12. {
  13. return $this->group->getAdmins();
  14. }
  15. function title()
  16. {
  17. // TRANS: Title for list of group administrators on a group page.
  18. return _m('TITLE','Admins');
  19. }
  20. function divId()
  21. {
  22. return 'group_admins';
  23. }
  24. function moreUrl()
  25. {
  26. return null;
  27. }
  28. }