projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #4172 from eileenmcnaughton/xml-master
[civicrm-core.git]
/
api
/
api.php
diff --git
a/api/api.php
b/api/api.php
index 893805895f76a165e60c38612a07500c3179c2ae..c09d220249775dfe0cc439890f1aa65e28676fb1 100644
(file)
--- a/
api/api.php
+++ b/
api/api.php
@@
-98,6
+98,12
@@
function civicrm_error($result) {
return FALSE;
}
+/**
+ * @param $entity
+ * @param null $version
+ *
+ * @return string
+ */
function _civicrm_api_get_camel_name($entity, $version = NULL) {
$fragments = explode('_', $entity);
foreach ($fragments as & $fragment) {