/** * getMyProjects : returns the array of SOAPGroup the current user is member of * * @param string $sessionKey the session hash associated with the session opened by the person who calls the service * @return array the array of SOAPGroup th ecurrent user ismember of */ function getMyProjects($sessionKey) { if (session_continue($sessionKey)) { $gf = new GroupFactory(); $my_groups = $gf->getMyGroups(); return groups_to_soap($my_groups); } else { return new SoapFault(invalid_session_fault, 'Invalid Session ', 'getMyProjects'); } }