Navigation

Search

groupMembership2

Description

Saves any membergroup changes

Syntax

string groupMembership2 (array $profile_vars, int $memID, array $post_errors)



Parameter $profile_vars

Expected type: Array
Description: An array of profile fields and their values (not used here?)



Parameter $memID

Expected type: Integer
Description: The ID of the member whose groups are being changed



Parameter $post_errors

Expected type: Array
Description: An array of one or more errors (not used here?)



Return value

Expected type: Enumerated String
Description:

Possible string values
Allowed values Description
'free' Change was made to a "free" group
'primary' The primary group changed
'request' A change was made to a requestable group (requested to join)


View all versions of this function