/** * Just gets all frontend user groups a frontend user belongs to * and caches them in a member variable * @param int $userid - the id of the user * @return array */ private function GetFeuGroups($userid) { if (!$userid) { return false; } if (($feusers =& self::get_module('FrontEndUsers')) && !self::$_feuGroups) { self::$_feuGroups = $feusers->GetMemberGroupsArray($userid); } return self::$_feuGroups; }