1
I was trying to get the group names for the group a particular user was a member of and I was given this chunk of code: :)
Quote:
$member_handler =& xoops_gethandler('member');
$groups = $member_handler->getGroupsByUser($xoopsUser->getVar('uid'),true);
echo 'You are in the following groups:
';
foreach ($groups as $group) {
echo $group->getVar('name') . '
';
}
So my question is, how do I know which variable are available in the getVar() call?