projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfd8d5
)
CRM-18298 - hook_geocoderFormat - Define hook
author
Jon goldberg
<jon@palantetech.coop>
Sat, 26 Mar 2016 04:20:03 +0000
(
00:20
-0400)
committer
Jon goldberg
<jon@palantetech.coop>
Mon, 18 Apr 2016 19:48:11 +0000
(15:48 -0400)
CRM/Utils/Hook.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Hook.php
b/CRM/Utils/Hook.php
index 4b3770b6cd0c5566c37559d4f1c0a9d1ad3627fc..d8c817f0921b09e9b17ce861d10fe6c7f0c4412b 100644
(file)
--- a/
CRM/Utils/Hook.php
+++ b/
CRM/Utils/Hook.php
@@
-2106,4
+2106,17
@@
abstract class CRM_Utils_Hook {
);
}
+ /**
+ * This hook is called when a geocoder's format method is called.
+ *
+ * @param array $values
+ * @param SimpleXMLElement $xml
+ */
+ public static function geocoderFormat(&$values, $xml) {
+ return self::singleton()->invoke(2, $values, $xml,
+ self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
+ 'civicrm_geocoderFormat'
+ );
+ }
+
}