CRM-18298 - hook_geocoderFormat - Define hook
authorJon goldberg <jon@palantetech.coop>
Sat, 26 Mar 2016 04:20:03 +0000 (00:20 -0400)
committerJon goldberg <jon@palantetech.coop>
Mon, 18 Apr 2016 19:48:11 +0000 (15:48 -0400)
CRM/Utils/Hook.php

index 4b3770b6cd0c5566c37559d4f1c0a9d1ad3627fc..d8c817f0921b09e9b17ce861d10fe6c7f0c4412b 100644 (file)
@@ -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'
+    );
+  }
+
 }