CRM-15988 - Update generated examples
[civicrm-core.git] / api / v3 / examples / UFJoin / Get.php
index 5de96a06f9b79781dee6aed809b47e83686f0b67..1328f59812e2d15d23ea3c298ab94bb55cdd9b4f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Test Generated example of using uf_join get API.
+ * Test Generated example demonstrating the UFJoin.get API.
  *
  * @return array
  *   API result array
@@ -13,7 +13,7 @@ function uf_join_get_example() {
   );
 
   try{
-    $result = civicrm_api3('uf_join', 'get', $params);
+    $result = civicrm_api3('UFJoin', 'get', $params);
   }
   catch (CiviCRM_API3_Exception $e) {
     // Handle error here.
@@ -59,11 +59,10 @@ function uf_join_get_expectedresult() {
   return $expectedResult;
 }
 
-/**
+/*
 * This example has been generated from the API test suite.
-* The test that created it is called
-* testGetUFJoinId
-* and can be found in
+* The test that created it is called "testGetUFJoinId"
+* and can be found at:
 * https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFJoinTest.php
 *
 * You can see the outcome of the API tests at