/** * Returns a soap Group object corresponding to the Codendi Group object * * @param Object{Group} $group the group we want to convert in soap * @return array the soap group object */ function group_to_soap($group) { $soap_group = array('group_id' => $group->getGroupId(), 'group_name' => util_unconvert_htmlspecialchars($group->getPublicName()), 'unix_group_name' => $group->getUnixName(), 'description' => util_unconvert_htmlspecialchars($group->getDescription())); return $soap_group; }