Minimum version: Midgard 1.2.5 (Mad King)
Lists the group memberships of the person with id id.
Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.
<?php $id = 13; $ms = mgd_list_memberships( $id ); while( $ms->fetch() ){ echo $ms->gid . " " . $ms->name . "<br>\n"; } ?> |