function _civicrm_api_get_camel_name($entity, $version = NULL) {
$fragments = explode('_', $entity);
foreach ($fragments as & $fragment) {
function _civicrm_api_get_camel_name($entity, $version = NULL) {
$fragments = explode('_', $entity);
foreach ($fragments as & $fragment) {