Add deprecation notice to generated examples
[civicrm-core.git] / api / v3 / examples / ActivityType / Get.php
index 878fd330ddd17093fc29810886165c9a92edd6e0..f914ae5b94ed8f1118ac530142e14d5d7a85bd4c 100644 (file)
@@ -2,6 +2,8 @@
 /**
  * Test Generated example of using activity_type get API.
  *
+ * @deprecated
+ * The activity_type api is deprecated. Please use the option_value api instead.
  *
  * @return array
  *   API result array
@@ -111,7 +113,7 @@ function activity_type_get_expectedresult() {
 * http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API
 *
 * Browse the api on your own site with the api explorer
-* http://MYSITE.ORG/path/to/civicrm/api/explorer
+* http://MYSITE.ORG/path/to/civicrm/api
 *
 * Read more about testing here
 * http://wiki.civicrm.org/confluence/display/CRM/Testing