public function Group::getMember in Group 7
Get a single member of a group.
Parameters
int $uid: The uid of the member.
Return value
GroupMembership The GroupMembership of the user.
4 calls to Group::getMember()
- Group::addMember in classes/
group.inc - Add a user to a group.
- Group::removeMember in classes/
group.inc - Remove a member from a group.
- Group::userPermissions in classes/
group.inc - Retrieve a user's permissions for a group.
- Group::userRoles in classes/
group.inc - Retrieve a user's roles for a group.
File
- classes/
group.inc, line 296 - Defines the Entity API class for groups.
Class
- Group
- Main class for groups.
Code
public function getMember($uid) {
return group_membership_load($this->gid, $uid);
}