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