public function Group::getMembers in Group 7
Get all members of a group.
Return value
array An array of GroupMembership entities.
1 call to Group::getMembers()
- Group::getMembersRecursive in classes/
group.inc - Get all members of a group, including subgroup members.
File
- classes/
group.inc, line 306 - Defines the Entity API class for groups.
Class
- Group
- Main class for groups.
Code
public function getMembers() {
return group_membership_load_by_group($this->gid);
}