From: Eileen Date: Thu, 13 Feb 2014 00:55:49 +0000 (+0000) Subject: updated examples X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=69d7924913fdf780b7231e620255b68562040221;p=civicrm-core.git updated examples --- diff --git a/api/v3/examples/Activity/ContactRefCustomField.php b/api/v3/examples/Activity/ContactRefCustomField.php index 2b027d5f0b..91e13e1b8f 100644 --- a/api/v3/examples/Activity/ContactRefCustomField.php +++ b/api/v3/examples/Activity/ContactRefCustomField.php @@ -79,16 +79,16 @@ function activity_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityCreateCustomContactRefField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Activity/ContactRefCustomFieldGet.php b/api/v3/examples/Activity/ContactRefCustomFieldGet.php index cbc1cabd11..2ecd6bccf1 100644 --- a/api/v3/examples/Activity/ContactRefCustomFieldGet.php +++ b/api/v3/examples/Activity/ContactRefCustomFieldGet.php @@ -67,16 +67,16 @@ function activity_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityCreateCustomContactRefField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ActivityCreate.php b/api/v3/examples/Activity/Create.php similarity index 88% rename from api/v3/examples/ActivityCreate.php rename to api/v3/examples/Activity/Create.php index 722110f096..72d04883ba 100644 --- a/api/v3/examples/ActivityCreate.php +++ b/api/v3/examples/Activity/Create.php @@ -79,16 +79,16 @@ function activity_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityCreateCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Activity/DateTimeHigh.php b/api/v3/examples/Activity/DateTimeHigh.php index 7d5642e9fd..f31c76d95f 100644 --- a/api/v3/examples/Activity/DateTimeHigh.php +++ b/api/v3/examples/Activity/DateTimeHigh.php @@ -62,16 +62,16 @@ function activity_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetFilterMaxDate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Activity/DateTimeLow.php b/api/v3/examples/Activity/DateTimeLow.php index 57fc1efd35..9032908788 100644 --- a/api/v3/examples/Activity/DateTimeLow.php +++ b/api/v3/examples/Activity/DateTimeLow.php @@ -61,16 +61,16 @@ function activity_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetFilterMaxDate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ActivityGet.php b/api/v3/examples/Activity/Get.php similarity index 85% rename from api/v3/examples/ActivityGet.php rename to api/v3/examples/Activity/Get.php index d26b11da93..ea6fe81f8f 100644 --- a/api/v3/examples/ActivityGet.php +++ b/api/v3/examples/Activity/Get.php @@ -61,16 +61,16 @@ function activity_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityGetContact_idCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Activity/GetTargetandAssignee.php b/api/v3/examples/Activity/GetTargetandAssignee.php index 9798b3e872..98d33e5914 100644 --- a/api/v3/examples/Activity/GetTargetandAssignee.php +++ b/api/v3/examples/Activity/GetTargetandAssignee.php @@ -80,16 +80,16 @@ function activity__expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityReturnTargetAssignee and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ActivityGetfields.php b/api/v3/examples/Activity/Getfields.php similarity index 96% rename from api/v3/examples/ActivityGetfields.php rename to api/v3/examples/Activity/Getfields.php index 14ec4f1799..f8957925b3 100644 --- a/api/v3/examples/ActivityGetfields.php +++ b/api/v3/examples/Activity/Getfields.php @@ -288,16 +288,16 @@ function activity_getfields_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetFields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Activity/ReturnAssigneeContact.php b/api/v3/examples/Activity/ReturnAssigneeContact.php index e1a1cef84e..31aee3161c 100644 --- a/api/v3/examples/Activity/ReturnAssigneeContact.php +++ b/api/v3/examples/Activity/ReturnAssigneeContact.php @@ -85,8 +85,8 @@ function activity_get_expectedresult(){ 'first_name' => 'Anthony', 'middle_name' => 'J.', 'last_name' => 'Anderson', - 'prefix_id' => 'Mr.', - 'suffix_id' => 'II', + 'prefix_id' => '3', + 'suffix_id' => '3', 'job_title' => '', 'gender_id' => '', 'birth_date' => '', @@ -141,16 +141,16 @@ function activity_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityGetGoodID1 and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ActivityDelete.php b/api/v3/examples/ActivityDelete.php deleted file mode 100644 index a12b92624c..0000000000 --- a/api/v3/examples/ActivityDelete.php +++ /dev/null @@ -1,61 +0,0 @@ - 1, -); - -try{ - $result = civicrm_api3('activity', 'delete', $params); -} -catch (CiviCRM_API3_Exception $e) { - // handle error here - $errorMessage = $e->getMessage(); - $errorCode = $e->getErrorCode(); - $errorData = $e->getExtraParams(); - return array('error' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData); -} - -return $result; -} - -/** - * Function returns array of result expected from previous function - */ -function activity_delete_expectedresult(){ - - $expectedResult = array( - 'is_error' => 0, - 'version' => 3, - 'count' => 1, - 'values' => 1, -); - - return $expectedResult; -} - - -/* -* This example has been generated from the API test suite. The test that created it is called -* -* testDeleteActivity and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTest.php -* -* You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 -* -* To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ -* -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs -* -* Read more about testing here -* http://wiki.civicrm.org/confluence/display/CRM/Testing -* -* API Standards documentation: -* http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ diff --git a/api/v3/examples/ActivityTypeCreate.php b/api/v3/examples/ActivityType/Create.php similarity index 85% rename from api/v3/examples/ActivityTypeCreate.php rename to api/v3/examples/ActivityType/Create.php index ab54fef069..939f94053a 100644 --- a/api/v3/examples/ActivityTypeCreate.php +++ b/api/v3/examples/ActivityType/Create.php @@ -67,16 +67,16 @@ function activity_type_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityTypeCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ActivityTypeGet.php b/api/v3/examples/ActivityType/Get.php similarity index 89% rename from api/v3/examples/ActivityTypeGet.php rename to api/v3/examples/ActivityType/Get.php index 7db5bde5ec..1be34af905 100644 --- a/api/v3/examples/ActivityTypeGet.php +++ b/api/v3/examples/ActivityType/Get.php @@ -86,16 +86,16 @@ function activity_type_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testActivityTypeGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ActivityTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ActivityTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Address/AddressLike.php b/api/v3/examples/Address/AddressLike.php index 23ebfdfe0b..f79170c2a7 100644 --- a/api/v3/examples/Address/AddressLike.php +++ b/api/v3/examples/Address/AddressLike.php @@ -61,16 +61,16 @@ function address_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetAddressLikeSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/AddressTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Address/AddressParse.php b/api/v3/examples/Address/AddressParse.php index 3264a9779e..70b23ffaf1 100644 --- a/api/v3/examples/Address/AddressParse.php +++ b/api/v3/examples/Address/AddressParse.php @@ -60,16 +60,16 @@ function address_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateAddressParsing and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/AddressTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Address/AddressSort.php b/api/v3/examples/Address/AddressSort.php index cd80828af6..661f045a44 100644 --- a/api/v3/examples/Address/AddressSort.php +++ b/api/v3/examples/Address/AddressSort.php @@ -80,16 +80,16 @@ function address_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetAddressSort and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/AddressTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/AddressCreate.php b/api/v3/examples/Address/Create.php similarity index 85% rename from api/v3/examples/AddressCreate.php rename to api/v3/examples/Address/Create.php index c60211fbc6..4bf7651c31 100644 --- a/api/v3/examples/AddressCreate.php +++ b/api/v3/examples/Address/Create.php @@ -66,16 +66,16 @@ function address_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateAddress and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/AddressTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/AddressDelete.php b/api/v3/examples/Address/Delete.php similarity index 78% rename from api/v3/examples/AddressDelete.php rename to api/v3/examples/Address/Delete.php index 6a36efb6d8..f7f0595712 100644 --- a/api/v3/examples/AddressDelete.php +++ b/api/v3/examples/Address/Delete.php @@ -42,16 +42,16 @@ function address_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteAddress and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/AddressTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/AddressGet.php b/api/v3/examples/Address/Get.php similarity index 84% rename from api/v3/examples/AddressGet.php rename to api/v3/examples/Address/Get.php index 48af478645..668815c815 100644 --- a/api/v3/examples/AddressGet.php +++ b/api/v3/examples/Address/Get.php @@ -59,16 +59,16 @@ function address_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetAddress and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/AddressTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/BatchCreate.php b/api/v3/examples/Batch/Create.php similarity index 86% rename from api/v3/examples/BatchCreate.php rename to api/v3/examples/Batch/Create.php index af01a81a45..abc7aa1ae8 100644 --- a/api/v3/examples/BatchCreate.php +++ b/api/v3/examples/Batch/Create.php @@ -68,16 +68,16 @@ function batch_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/BatchTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/BatchTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/BatchDelete.php b/api/v3/examples/Batch/Delete.php similarity index 78% rename from api/v3/examples/BatchDelete.php rename to api/v3/examples/Batch/Delete.php index 105f975980..04c5786a41 100644 --- a/api/v3/examples/BatchDelete.php +++ b/api/v3/examples/Batch/Delete.php @@ -42,16 +42,16 @@ function batch_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testBatchDeleteCorrectSyntax and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/BatchTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/BatchTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/BatchGet.php b/api/v3/examples/Batch/Get.php similarity index 81% rename from api/v3/examples/BatchGet.php rename to api/v3/examples/Batch/Get.php index 35b0b9bba6..a7c2bedfe0 100644 --- a/api/v3/examples/BatchGet.php +++ b/api/v3/examples/Batch/Get.php @@ -51,16 +51,16 @@ function batch_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/BatchTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/BatchTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/BatchUpdate.php b/api/v3/examples/Batch/Update.php similarity index 86% rename from api/v3/examples/BatchUpdate.php rename to api/v3/examples/Batch/Update.php index 110a199ce0..988677ff79 100644 --- a/api/v3/examples/BatchUpdate.php +++ b/api/v3/examples/Batch/Update.php @@ -68,16 +68,16 @@ function batch_update_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testUpdate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/BatchTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/BatchTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CampaignCreate.php b/api/v3/examples/Campaign/Create.php similarity index 86% rename from api/v3/examples/CampaignCreate.php rename to api/v3/examples/Campaign/Create.php index b4ddb16da0..db10057f56 100644 --- a/api/v3/examples/CampaignCreate.php +++ b/api/v3/examples/Campaign/Create.php @@ -65,16 +65,16 @@ function campaign_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateCampaign and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CampaignTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CampaignTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CampaignDelete.php b/api/v3/examples/Campaign/Delete.php similarity index 78% rename from api/v3/examples/CampaignDelete.php rename to api/v3/examples/Campaign/Delete.php index a646cf72b1..2ff722001f 100644 --- a/api/v3/examples/CampaignDelete.php +++ b/api/v3/examples/Campaign/Delete.php @@ -42,16 +42,16 @@ function campaign_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteCampaign and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CampaignTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CampaignTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CampaignGet.php b/api/v3/examples/Campaign/Get.php similarity index 83% rename from api/v3/examples/CampaignGet.php rename to api/v3/examples/Campaign/Get.php index 8ff149f39c..de1cb1423c 100644 --- a/api/v3/examples/CampaignGet.php +++ b/api/v3/examples/Campaign/Get.php @@ -54,16 +54,16 @@ function campaign_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetCampaign and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CampaignTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CampaignTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ConstantGet.php b/api/v3/examples/Constant/Get.php similarity index 80% rename from api/v3/examples/ConstantGet.php rename to api/v3/examples/Constant/Get.php index c3032cfacd..a48977eaab 100644 --- a/api/v3/examples/ConstantGet.php +++ b/api/v3/examples/Constant/Get.php @@ -48,16 +48,16 @@ function constant_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testLocationTypeGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ConstantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ConstantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/APIChainedArray.php b/api/v3/examples/Contact/APIChainedArray.php index 6cbb0ccddb..c8192438ad 100644 --- a/api/v3/examples/Contact/APIChainedArray.php +++ b/api/v3/examples/Contact/APIChainedArray.php @@ -74,8 +74,8 @@ function contact_get_expectedresult(){ 'sic_code' => '', 'contact_is_deleted' => 0, 'current_employer' => '', - 'address_id' => '', - 'street_address' => '', + 'address_id' => '2', + 'street_address' => '1 my road', 'supplemental_address_1' => '', 'supplemental_address_2' => '', 'city' => '', @@ -197,16 +197,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetIndividualWithChainedArrays and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/APIChainedArrayFormats.php b/api/v3/examples/Contact/APIChainedArrayFormats.php index 746edf5bea..a29e0bb2a7 100644 --- a/api/v3/examples/Contact/APIChainedArrayFormats.php +++ b/api/v3/examples/Contact/APIChainedArrayFormats.php @@ -76,8 +76,8 @@ function contact_get_expectedresult(){ 'sic_code' => '', 'contact_is_deleted' => 0, 'current_employer' => '', - 'address_id' => '', - 'street_address' => '', + 'address_id' => '2', + 'street_address' => '1 my road', 'supplemental_address_1' => '', 'supplemental_address_2' => '', 'city' => '', @@ -132,16 +132,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetIndividualWithChainedArraysFormats and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php b/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php index 12f0a14e2a..0f1f798527 100644 --- a/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php +++ b/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php @@ -73,8 +73,8 @@ function contact_get_expectedresult(){ 'sic_code' => '', 'contact_is_deleted' => 0, 'current_employer' => '', - 'address_id' => '', - 'street_address' => '', + 'address_id' => '2', + 'street_address' => '1 my road', 'supplemental_address_1' => '', 'supplemental_address_2' => '', 'city' => '', @@ -172,16 +172,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetIndividualWithChainedArraysAndMultipleCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php b/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php index 82a07fa5ff..98d5eb98f6 100644 --- a/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php +++ b/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php @@ -110,16 +110,16 @@ function contact_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testChainingValuesCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/ChainTwoWebsites.php b/api/v3/examples/Contact/ChainTwoWebsites.php index 635069251d..e80068fba3 100644 --- a/api/v3/examples/Contact/ChainTwoWebsites.php +++ b/api/v3/examples/Contact/ChainTwoWebsites.php @@ -182,16 +182,16 @@ function contact_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateIndividualWithContributionDottedSyntax and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php b/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php index e5233017ed..5e3955192e 100644 --- a/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php +++ b/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php @@ -187,16 +187,16 @@ function contact_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateIndividualWithContributionChainedArrays and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContactCreate.php b/api/v3/examples/Contact/Create.php similarity index 90% rename from api/v3/examples/ContactCreate.php rename to api/v3/examples/Contact/Create.php index abe8f2c244..156fc36799 100644 --- a/api/v3/examples/ContactCreate.php +++ b/api/v3/examples/Contact/Create.php @@ -96,16 +96,16 @@ function contact_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/CustomFieldCreate.php b/api/v3/examples/Contact/CustomFieldCreate.php deleted file mode 100644 index 1e885ef8e6..0000000000 --- a/api/v3/examples/Contact/CustomFieldCreate.php +++ /dev/null @@ -1,114 +0,0 @@ - 'abc1', - 'contact_type' => 'Individual', - 'last_name' => 'xyz1', - 'custom_1' => 'custom string', - 'version' => 3, -); - -try{ - $result = civicrm_api3('contact', 'create', $params); -} -catch (CiviCRM_API3_Exception $e) { - // handle error here - $errorMessage = $e->getMessage(); - $errorCode = $e->getErrorCode(); - $errorData = $e->getExtraParams(); - return array('error' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData); -} - -return $result; -} - -/** - * Function returns array of result expected from previous function - */ -function contact_create_expectedresult(){ - - $expectedResult = array( - 'is_error' => 0, - 'version' => 3, - 'count' => 1, - 'id' => 1, - 'values' => array( - '1' => array( - 'id' => '1', - 'contact_type' => 'Individual', - 'contact_sub_type' => '', - 'do_not_email' => 0, - 'do_not_phone' => 0, - 'do_not_mail' => 0, - 'do_not_sms' => 0, - 'do_not_trade' => 0, - 'is_opt_out' => 0, - 'legal_identifier' => '', - 'external_identifier' => '', - 'sort_name' => 'xyz1, abc1', - 'display_name' => 'abc1 xyz1', - 'nick_name' => '', - 'legal_name' => '', - 'image_URL' => '', - 'preferred_communication_method' => '', - 'preferred_language' => 'en_US', - 'preferred_mail_format' => 'Both', - 'hash' => '67eac7789eaee00', - 'api_key' => '', - 'first_name' => 'abc1', - 'middle_name' => '', - 'last_name' => 'xyz1', - 'email_greeting_id' => '1', - 'email_greeting_custom' => '', - 'email_greeting_display' => '', - 'postal_greeting_id' => '1', - 'postal_greeting_custom' => '', - 'postal_greeting_display' => '', - 'addressee_id' => '1', - 'addressee_custom' => '', - 'addressee_display' => '', - 'job_title' => '', - 'gender_id' => '', - 'birth_date' => '', - 'is_deceased' => 0, - 'deceased_date' => '', - 'household_name' => '', - 'primary_contact_id' => '', - 'organization_name' => '', - 'sic_code' => '', - 'user_unique_id' => '', - 'created_date' => '20120130621222105', - 'modified_date' => '2012-11-14 16:02:35', - ), - ), -); - - return $expectedResult; -} - - -/* -* This example has been generated from the API test suite. The test that created it is called -* -* testCreateWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php -* -* You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 -* -* To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ -* -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs -* -* Read more about testing here -* http://wiki.civicrm.org/confluence/display/CRM/Testing -* -* API Standards documentation: -* http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file diff --git a/api/v3/examples/Contact/CustomFieldGet.php b/api/v3/examples/Contact/CustomFieldGet.php index c9ae23ae44..14a0fccf3b 100644 --- a/api/v3/examples/Contact/CustomFieldGet.php +++ b/api/v3/examples/Contact/CustomFieldGet.php @@ -51,16 +51,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php b/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php index 59c8ee7415..9ee0fbe8f4 100644 --- a/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php +++ b/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php @@ -51,16 +51,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetWithCustomReturnSyntax and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContactDelete.php b/api/v3/examples/Contact/Delete.php similarity index 78% rename from api/v3/examples/ContactDelete.php rename to api/v3/examples/Contact/Delete.php index 6a4923da51..e845ca0b55 100644 --- a/api/v3/examples/ContactDelete.php +++ b/api/v3/examples/Contact/Delete.php @@ -42,16 +42,16 @@ function contact_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/FormatIsSuccess_Fail.php b/api/v3/examples/Contact/FormatIsSuccess_Fail.php index 60dad237be..c8241ae9fc 100644 --- a/api/v3/examples/Contact/FormatIsSuccess_Fail.php +++ b/api/v3/examples/Contact/FormatIsSuccess_Fail.php @@ -39,16 +39,16 @@ function contact_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactCreateFormatIsSuccessFalse and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/FormatIsSuccess_True.php b/api/v3/examples/Contact/FormatIsSuccess_True.php index d8c13321fb..0c57c1262c 100644 --- a/api/v3/examples/Contact/FormatIsSuccess_True.php +++ b/api/v3/examples/Contact/FormatIsSuccess_True.php @@ -39,16 +39,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactGetFormatIsSuccessTrue and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/FormatOnlyID.php b/api/v3/examples/Contact/FormatOnlyID.php index b63433735b..641e8b3ea2 100644 --- a/api/v3/examples/Contact/FormatOnlyID.php +++ b/api/v3/examples/Contact/FormatOnlyID.php @@ -40,16 +40,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactGetFormatID_only and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/FormatSingleValue.php b/api/v3/examples/Contact/FormatSingleValue.php index 65cd12fc95..18c6200571 100644 --- a/api/v3/examples/Contact/FormatSingleValue.php +++ b/api/v3/examples/Contact/FormatSingleValue.php @@ -40,16 +40,16 @@ function contact_getvalue_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactGetFormatSingleValue and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContactGet.php b/api/v3/examples/Contact/Get.php similarity index 89% rename from api/v3/examples/ContactGet.php rename to api/v3/examples/Contact/Get.php index 7101dbfe2e..aef472d508 100644 --- a/api/v3/examples/ContactGet.php +++ b/api/v3/examples/Contact/Get.php @@ -68,8 +68,8 @@ function contact_get_expectedresult(){ 'sic_code' => '', 'contact_is_deleted' => 0, 'current_employer' => '', - 'address_id' => '', - 'street_address' => '', + 'address_id' => '2', + 'street_address' => '1 my road', 'supplemental_address_1' => '', 'supplemental_address_2' => '', 'city' => '', @@ -109,16 +109,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactGetEmail and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/GetCountContact.php b/api/v3/examples/Contact/GetCountContact.php index d7af5c027b..466acc181a 100644 --- a/api/v3/examples/Contact/GetCountContact.php +++ b/api/v3/examples/Contact/GetCountContact.php @@ -38,16 +38,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactGetFormatcount_only and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/GetFieldsOptions.php b/api/v3/examples/Contact/GetFieldsOptions.php index e41ec7d281..0064ac6cc4 100644 --- a/api/v3/examples/Contact/GetFieldsOptions.php +++ b/api/v3/examples/Contact/GetFieldsOptions.php @@ -600,16 +600,16 @@ function contact_getfields_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCustomFieldCreateWithOptionValues and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/GetSingleContact.php b/api/v3/examples/Contact/GetSingleContact.php index 3c5766582e..d0d1f09b1e 100644 --- a/api/v3/examples/Contact/GetSingleContact.php +++ b/api/v3/examples/Contact/GetSingleContact.php @@ -103,16 +103,16 @@ function contact_getsingle_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactGetSingle_entity_array and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContactGetoptions.php b/api/v3/examples/Contact/Getoptions.php similarity index 80% rename from api/v3/examples/ContactGetoptions.php rename to api/v3/examples/Contact/Getoptions.php index bb2b392072..23997f5a63 100644 --- a/api/v3/examples/ContactGetoptions.php +++ b/api/v3/examples/Contact/Getoptions.php @@ -45,16 +45,16 @@ function contact_getoptions_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCustomFieldCreateWithOptionValues and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contact/GroupFilterUsingContactAPI.php b/api/v3/examples/Contact/GroupFilterUsingContactAPI.php index 01b837bfb0..da32f8f530 100644 --- a/api/v3/examples/Contact/GroupFilterUsingContactAPI.php +++ b/api/v3/examples/Contact/GroupFilterUsingContactAPI.php @@ -72,8 +72,8 @@ function contact_get_expectedresult(){ 'sic_code' => '', 'contact_is_deleted' => 0, 'current_employer' => '', - 'address_id' => '', - 'street_address' => '', + 'address_id' => '2', + 'street_address' => '1 my road', 'supplemental_address_1' => '', 'supplemental_address_2' => '', 'city' => '', @@ -113,16 +113,16 @@ function contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetGroupIDFromContact and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contribution/ContributionCreateWithNote.php b/api/v3/examples/Contribution/ContributionCreateWithNote.php index 2979fac39f..9e621e7084 100644 --- a/api/v3/examples/Contribution/ContributionCreateWithNote.php +++ b/api/v3/examples/Contribution/ContributionCreateWithNote.php @@ -87,16 +87,16 @@ function contribution_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionWithNote and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php b/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php index a96330fae5..b020e08d19 100644 --- a/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php +++ b/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php @@ -84,16 +84,16 @@ function contribution_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionWithSoftCredt and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionCreate.php b/api/v3/examples/Contribution/Create.php similarity index 88% rename from api/v3/examples/ContributionCreate.php rename to api/v3/examples/Contribution/Create.php index 8cbbf75319..abf63b7260 100644 --- a/api/v3/examples/ContributionCreate.php +++ b/api/v3/examples/Contribution/Create.php @@ -83,16 +83,16 @@ function contribution_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionPendingOnline and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Contribution/CreateWithNestedLineItems.php b/api/v3/examples/Contribution/CreateWithNestedLineItems.php index 48237f9b2b..04e5644e78 100644 --- a/api/v3/examples/Contribution/CreateWithNestedLineItems.php +++ b/api/v3/examples/Contribution/CreateWithNestedLineItems.php @@ -147,16 +147,16 @@ function contribution_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionChainedLineItems and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionDelete.php b/api/v3/examples/Contribution/Delete.php similarity index 79% rename from api/v3/examples/ContributionDelete.php rename to api/v3/examples/Contribution/Delete.php index c144e2e4bd..5db1595662 100644 --- a/api/v3/examples/ContributionDelete.php +++ b/api/v3/examples/Contribution/Delete.php @@ -45,16 +45,16 @@ function contribution_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteContribution and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionGet.php b/api/v3/examples/Contribution/Get.php similarity index 90% rename from api/v3/examples/ContributionGet.php rename to api/v3/examples/Contribution/Get.php index 7d6f41f9a6..d53cb686c0 100644 --- a/api/v3/examples/ContributionGet.php +++ b/api/v3/examples/Contribution/Get.php @@ -93,16 +93,16 @@ function contribution_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetContributionLegacyBehaviour and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionPageCreate.php b/api/v3/examples/ContributionPage/Create.php similarity index 90% rename from api/v3/examples/ContributionPageCreate.php rename to api/v3/examples/ContributionPage/Create.php index 9b2d5191eb..3d81974c64 100644 --- a/api/v3/examples/ContributionPageCreate.php +++ b/api/v3/examples/ContributionPage/Create.php @@ -97,16 +97,16 @@ function contribution_page_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionPage and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionPageTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionPageTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionPageDelete.php b/api/v3/examples/ContributionPage/Delete.php similarity index 79% rename from api/v3/examples/ContributionPageDelete.php rename to api/v3/examples/ContributionPage/Delete.php index 2e214f900c..71a3fe74fc 100644 --- a/api/v3/examples/ContributionPageDelete.php +++ b/api/v3/examples/ContributionPage/Delete.php @@ -42,16 +42,16 @@ function contribution_page_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteContributionPage and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionPageTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionPageTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionPageGet.php b/api/v3/examples/ContributionPage/Get.php similarity index 85% rename from api/v3/examples/ContributionPageGet.php rename to api/v3/examples/ContributionPage/Get.php index ae3d93b2ec..3dd5f3b179 100644 --- a/api/v3/examples/ContributionPageGet.php +++ b/api/v3/examples/ContributionPage/Get.php @@ -66,16 +66,16 @@ function contribution_page_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetContributionPageByAmount and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionPageTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionPageTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionRecurCreate.php b/api/v3/examples/ContributionRecur/Create.php similarity index 88% rename from api/v3/examples/ContributionRecurCreate.php rename to api/v3/examples/ContributionRecur/Create.php index 43ffe3c866..4fcb5e025c 100644 --- a/api/v3/examples/ContributionRecurCreate.php +++ b/api/v3/examples/ContributionRecur/Create.php @@ -80,16 +80,16 @@ function contribution_recur_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionRecur and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionRecurTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionRecurTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionRecurDelete.php b/api/v3/examples/ContributionRecur/Delete.php similarity index 79% rename from api/v3/examples/ContributionRecurDelete.php rename to api/v3/examples/ContributionRecur/Delete.php index 395e42e487..b104226df9 100644 --- a/api/v3/examples/ContributionRecurDelete.php +++ b/api/v3/examples/ContributionRecur/Delete.php @@ -42,16 +42,16 @@ function contribution_recur_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteContributionRecur and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionRecurTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionRecurTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionRecurGet.php b/api/v3/examples/ContributionRecur/Get.php similarity index 84% rename from api/v3/examples/ContributionRecurGet.php rename to api/v3/examples/ContributionRecur/Get.php index c2454c6cf2..d9ae74745f 100644 --- a/api/v3/examples/ContributionRecurGet.php +++ b/api/v3/examples/ContributionRecur/Get.php @@ -61,16 +61,16 @@ function contribution_recur_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetContributionRecur and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionRecurTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionRecurTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionSoftCreate.php b/api/v3/examples/ContributionSoft/Create.php similarity index 83% rename from api/v3/examples/ContributionSoftCreate.php rename to api/v3/examples/ContributionSoft/Create.php index f9120ee8d9..185266bdcc 100644 --- a/api/v3/examples/ContributionSoftCreate.php +++ b/api/v3/examples/ContributionSoft/Create.php @@ -58,16 +58,16 @@ function contribution_soft_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateContributionSoft and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionSoftTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionSoftTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionSoftDelete.php b/api/v3/examples/ContributionSoft/Delete.php similarity index 77% rename from api/v3/examples/ContributionSoftDelete.php rename to api/v3/examples/ContributionSoft/Delete.php index 9a5fb94446..c8c6f6e6d9 100644 --- a/api/v3/examples/ContributionSoftDelete.php +++ b/api/v3/examples/ContributionSoft/Delete.php @@ -37,16 +37,16 @@ function contribution_soft_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteContributionSoft and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionSoftTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionSoftTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ContributionSoftGet.php b/api/v3/examples/ContributionSoft/Get.php similarity index 81% rename from api/v3/examples/ContributionSoftGet.php rename to api/v3/examples/ContributionSoft/Get.php index 5bff00d770..ce3429449e 100644 --- a/api/v3/examples/ContributionSoftGet.php +++ b/api/v3/examples/ContributionSoft/Get.php @@ -52,16 +52,16 @@ function contribution_soft_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetContributionSoft and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ContributionSoftTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ContributionSoftTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomFieldCreate.php b/api/v3/examples/CustomField/Create.php similarity index 88% rename from api/v3/examples/CustomFieldCreate.php rename to api/v3/examples/CustomField/Create.php index 001e47b2a4..10f7760361 100644 --- a/api/v3/examples/CustomFieldCreate.php +++ b/api/v3/examples/CustomField/Create.php @@ -84,16 +84,16 @@ function custom_field_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCustomFieldCreateWithEdit and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomFieldDelete.php b/api/v3/examples/CustomField/Delete.php similarity index 78% rename from api/v3/examples/CustomFieldDelete.php rename to api/v3/examples/CustomField/Delete.php index 5900f0f933..f8ae1d5f47 100644 --- a/api/v3/examples/CustomFieldDelete.php +++ b/api/v3/examples/CustomField/Delete.php @@ -42,16 +42,16 @@ function custom_field_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCustomFieldDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomGroupCreate.php b/api/v3/examples/CustomGroup/Create.php similarity index 87% rename from api/v3/examples/CustomGroupCreate.php rename to api/v3/examples/CustomGroup/Create.php index 3dc77441d7..a78eb124cc 100644 --- a/api/v3/examples/CustomGroupCreate.php +++ b/api/v3/examples/CustomGroup/Create.php @@ -76,16 +76,16 @@ function custom_group_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCustomGroupCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomGroupDelete.php b/api/v3/examples/CustomGroup/Delete.php similarity index 78% rename from api/v3/examples/CustomGroupDelete.php rename to api/v3/examples/CustomGroup/Delete.php index 70096253bb..e2ff22aaa7 100644 --- a/api/v3/examples/CustomGroupDelete.php +++ b/api/v3/examples/CustomGroup/Delete.php @@ -42,16 +42,16 @@ function custom_group_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCustomGroupDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomGroupGet.php b/api/v3/examples/CustomGroup/Get.php similarity index 84% rename from api/v3/examples/CustomGroupGet.php rename to api/v3/examples/CustomGroup/Get.php index d94d3d2ba6..417295207d 100644 --- a/api/v3/examples/CustomGroupGet.php +++ b/api/v3/examples/CustomGroup/Get.php @@ -58,16 +58,16 @@ function custom_group_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetCustomGroupSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomValueCreate.php b/api/v3/examples/CustomValue/Create.php similarity index 79% rename from api/v3/examples/CustomValueCreate.php rename to api/v3/examples/CustomValue/Create.php index a9e0bd2c31..18d85519c9 100644 --- a/api/v3/examples/CustomValueCreate.php +++ b/api/v3/examples/CustomValue/Create.php @@ -43,16 +43,16 @@ function custom_value_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateCustomValue and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomValueGet.php b/api/v3/examples/CustomValue/Get.php similarity index 88% rename from api/v3/examples/CustomValueGet.php rename to api/v3/examples/CustomValue/Get.php index 8c32d184e1..2cc9c048ab 100644 --- a/api/v3/examples/CustomValueGet.php +++ b/api/v3/examples/CustomValue/Get.php @@ -91,16 +91,16 @@ function custom_value_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetMultipleCustomValues and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/CustomValue/formatFieldName.php b/api/v3/examples/CustomValue/formatFieldName.php index d922746cbd..82e6f157de 100644 --- a/api/v3/examples/CustomValue/formatFieldName.php +++ b/api/v3/examples/CustomValue/formatFieldName.php @@ -92,16 +92,16 @@ function custom_value_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetMultipleCustomValues and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/CustomValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/DomainCreate.php b/api/v3/examples/Domain/Create.php similarity index 83% rename from api/v3/examples/DomainCreate.php rename to api/v3/examples/Domain/Create.php index aa1bdeea0e..d0265f65f4 100644 --- a/api/v3/examples/DomainCreate.php +++ b/api/v3/examples/Domain/Create.php @@ -57,16 +57,16 @@ function domain_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/DomainTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/DomainTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/DomainGet.php b/api/v3/examples/Domain/Get.php similarity index 95% rename from api/v3/examples/DomainGet.php rename to api/v3/examples/Domain/Get.php index 11a7dd89bf..1568667579 100644 --- a/api/v3/examples/DomainGet.php +++ b/api/v3/examples/Domain/Get.php @@ -35,7 +35,7 @@ function domain_get_expectedresult(){ '0' => array( 'id' => '1', 'name' => 'Default Domain Name', - 'config_backend' => 'a:82:{s:10:\"userSystem\";O:26:\"CRM_Utils_System_UnitTests\":4:{s:9:\"is_drupal\";b:0;s:9:\"is_joomla\";b:0;s:12:\"is_wordpress\";b:0;s:24:\"supports_form_extensions\";b:0;}s:11:\"initialized\";i:0;s:15:\"DAOFactoryClass\";s:23:\"CRM_Contact_DAO_Factory\";s:17:\"componentRegistry\";O:18:\"CRM_Core_Component\":0:{}s:9:\"inCiviCRM\";b:0;s:18:\"recaptchaPublicKey\";N;s:5:\"debug\";i:0;s:9:\"backtrace\";i:0;s:12:\"resourceBase\";N;s:13:\"extensionsURL\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:27:\"defaultContactStateProvince\";N;s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:21:\"defaultContactCountry\";s:4:\"1228\";s:15:\"defaultCurrency\";s:3:\"USD\";s:10:\"lcMessages\";s:5:\"en_US\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatYear\";s:2:\"%Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:15:\"timeInputFormat\";i:1;s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"currencySymbols\";s:0:\"\";s:21:\"defaultCurrencySymbol\";s:1:\"$\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:25:\"monetaryThousandSeparator\";s:1:\",\";s:14:\"gettextCodeset\";s:5:\"utf-8\";s:13:\"gettextDomain\";s:7:\"civicrm\";s:27:\"userFrameworkUsersTableName\";s:5:\"users\";s:21:\"userFrameworkFrontend\";b:0;s:20:\"userFrameworkLogging\";b:0;s:17:\"maxImportFileSize\";i:2097152;s:11:\"maxFileSize\";i:2;s:11:\"mapProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"geoAPIKey\";N;s:13:\"geocodeMethod\";s:0:\"\";s:12:\"mapGeoCoding\";i:1;s:7:\"logging\";b:0;s:12:\"versionCheck\";b:1;s:16:\"enableComponents\";a:6:{i:0;s:14:\"CiviContribute\";i:1;s:10:\"CiviPledge\";i:2;s:10:\"CiviMember\";i:3;s:9:\"CiviEvent\";i:4;s:8:\"CiviMail\";i:5;s:10:\"CiviReport\";}s:18:\"enableComponentIDs\";a:6:{i:0;i:1;i:1;i:6;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:8;}s:9:\"enableSSL\";b:0;s:18:\"fatalErrorTemplate\";s:20:\"CRM/common/fatal.tpl\";s:17:\"fatalErrorHandler\";N;s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:14:\"fieldSeparator\";s:1:\",\";s:17:\"maxLocationBlocks\";i:2;s:15:\"captchaFontPath\";s:25:\"/usr/X11R6/lib/X11/fonts/\";s:11:\"captchaFont\";s:17:\"HelveticaBold.ttf\";s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:21:\"dashboardCacheTimeout\";i:1440;s:15:\"doNotResetCache\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:20:\"includeOrderByClause\";i:1;s:13:\"oldInputStyle\";i:1;s:14:\"formKeyDisable\";b:0;s:21:\"doNotAttachPDFReceipt\";b:0;s:15:\"wkhtmltopdfPath\";b:0;s:23:\"secondDegRelPermissions\";b:0;s:10:\"wpBasePage\";N;s:9:\"groupTree\";b:0;s:11:\"revampPages\";a:0:{}s:13:\"verpSeparator\";s:1:\".\";s:12:\"mailerPeriod\";i:180;s:16:\"mailerSpoolLimit\";i:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:12:\"customCSSURL\";N;s:15:\"civiRelativeURL\";s:13:\"/index.php?q=\";s:11:\"civiVersion\";s:5:\"4.4.4\";}', + 'config_backend' => 'a:82:{s:10:\"userSystem\";O:26:\"CRM_Utils_System_UnitTests\":4:{s:9:\"is_drupal\";b:0;s:9:\"is_joomla\";b:0;s:12:\"is_wordpress\";b:0;s:24:\"supports_form_extensions\";b:0;}s:11:\"initialized\";i:0;s:15:\"DAOFactoryClass\";s:23:\"CRM_Contact_DAO_Factory\";s:17:\"componentRegistry\";O:18:\"CRM_Core_Component\":0:{}s:9:\"inCiviCRM\";b:0;s:18:\"recaptchaPublicKey\";N;s:5:\"debug\";i:0;s:9:\"backtrace\";i:0;s:12:\"resourceBase\";N;s:13:\"extensionsURL\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:27:\"defaultContactStateProvince\";N;s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:21:\"defaultContactCountry\";s:4:\"1228\";s:15:\"defaultCurrency\";s:3:\"USD\";s:10:\"lcMessages\";s:5:\"en_US\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatYear\";s:2:\"%Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:15:\"timeInputFormat\";i:1;s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"currencySymbols\";s:0:\"\";s:21:\"defaultCurrencySymbol\";s:1:\"$\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:25:\"monetaryThousandSeparator\";s:1:\",\";s:14:\"gettextCodeset\";s:5:\"utf-8\";s:13:\"gettextDomain\";s:7:\"civicrm\";s:27:\"userFrameworkUsersTableName\";s:5:\"users\";s:21:\"userFrameworkFrontend\";b:0;s:20:\"userFrameworkLogging\";b:0;s:17:\"maxImportFileSize\";i:2097152;s:11:\"maxFileSize\";i:2;s:11:\"mapProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"geoAPIKey\";N;s:13:\"geocodeMethod\";s:0:\"\";s:12:\"mapGeoCoding\";i:1;s:7:\"logging\";b:0;s:12:\"versionCheck\";b:1;s:16:\"enableComponents\";a:6:{i:0;s:14:\"CiviContribute\";i:1;s:10:\"CiviPledge\";i:2;s:10:\"CiviMember\";i:3;s:9:\"CiviEvent\";i:4;s:8:\"CiviMail\";i:5;s:10:\"CiviReport\";}s:18:\"enableComponentIDs\";a:6:{i:0;i:1;i:1;i:6;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:8;}s:9:\"enableSSL\";b:0;s:18:\"fatalErrorTemplate\";s:20:\"CRM/common/fatal.tpl\";s:17:\"fatalErrorHandler\";N;s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:14:\"fieldSeparator\";s:1:\",\";s:17:\"maxLocationBlocks\";i:2;s:15:\"captchaFontPath\";s:25:\"/usr/X11R6/lib/X11/fonts/\";s:11:\"captchaFont\";s:17:\"HelveticaBold.ttf\";s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:21:\"dashboardCacheTimeout\";i:1440;s:15:\"doNotResetCache\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:20:\"includeOrderByClause\";i:1;s:13:\"oldInputStyle\";i:1;s:14:\"formKeyDisable\";b:0;s:21:\"doNotAttachPDFReceipt\";b:0;s:15:\"wkhtmltopdfPath\";b:0;s:23:\"secondDegRelPermissions\";b:0;s:10:\"wpBasePage\";N;s:9:\"groupTree\";b:0;s:11:\"revampPages\";a:0:{}s:13:\"verpSeparator\";s:1:\".\";s:12:\"mailerPeriod\";i:180;s:16:\"mailerSpoolLimit\";i:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:12:\"customCSSURL\";N;s:15:\"civiRelativeURL\";s:13:\"/index.php?q=\";s:11:\"civiVersion\";s:5:\"4.4.5\";}', 'version' => '3', 'contact_id' => '3', 'locale_custom_strings' => 'a:1:{s:5:\"en_US\";a:0:{}}', @@ -61,7 +61,7 @@ function domain_get_expectedresult(){ '1' => array( 'id' => '2', 'name' => 'Second Domain', - 'config_backend' => 'a:82:{s:10:\"userSystem\";O:26:\"CRM_Utils_System_UnitTests\":4:{s:9:\"is_drupal\";b:0;s:9:\"is_joomla\";b:0;s:12:\"is_wordpress\";b:0;s:24:\"supports_form_extensions\";b:0;}s:11:\"initialized\";i:0;s:15:\"DAOFactoryClass\";s:23:\"CRM_Contact_DAO_Factory\";s:17:\"componentRegistry\";O:18:\"CRM_Core_Component\":0:{}s:9:\"inCiviCRM\";b:0;s:18:\"recaptchaPublicKey\";N;s:5:\"debug\";i:0;s:9:\"backtrace\";i:0;s:12:\"resourceBase\";N;s:13:\"extensionsURL\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:27:\"defaultContactStateProvince\";N;s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:21:\"defaultContactCountry\";s:4:\"1228\";s:15:\"defaultCurrency\";s:3:\"USD\";s:10:\"lcMessages\";s:5:\"en_US\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatYear\";s:2:\"%Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:15:\"timeInputFormat\";i:1;s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"currencySymbols\";s:0:\"\";s:21:\"defaultCurrencySymbol\";s:1:\"$\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:25:\"monetaryThousandSeparator\";s:1:\",\";s:14:\"gettextCodeset\";s:5:\"utf-8\";s:13:\"gettextDomain\";s:7:\"civicrm\";s:27:\"userFrameworkUsersTableName\";s:5:\"users\";s:21:\"userFrameworkFrontend\";b:0;s:20:\"userFrameworkLogging\";b:0;s:17:\"maxImportFileSize\";i:2097152;s:11:\"maxFileSize\";i:2;s:11:\"mapProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"geoAPIKey\";N;s:13:\"geocodeMethod\";s:0:\"\";s:12:\"mapGeoCoding\";i:1;s:7:\"logging\";b:0;s:12:\"versionCheck\";b:1;s:16:\"enableComponents\";a:6:{i:0;s:14:\"CiviContribute\";i:1;s:10:\"CiviPledge\";i:2;s:10:\"CiviMember\";i:3;s:9:\"CiviEvent\";i:4;s:8:\"CiviMail\";i:5;s:10:\"CiviReport\";}s:18:\"enableComponentIDs\";a:6:{i:0;i:1;i:1;i:6;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:8;}s:9:\"enableSSL\";b:0;s:18:\"fatalErrorTemplate\";s:20:\"CRM/common/fatal.tpl\";s:17:\"fatalErrorHandler\";N;s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:14:\"fieldSeparator\";s:1:\",\";s:17:\"maxLocationBlocks\";i:2;s:15:\"captchaFontPath\";s:25:\"/usr/X11R6/lib/X11/fonts/\";s:11:\"captchaFont\";s:17:\"HelveticaBold.ttf\";s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:21:\"dashboardCacheTimeout\";i:1440;s:15:\"doNotResetCache\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:20:\"includeOrderByClause\";i:1;s:13:\"oldInputStyle\";i:1;s:14:\"formKeyDisable\";b:0;s:21:\"doNotAttachPDFReceipt\";b:0;s:15:\"wkhtmltopdfPath\";b:0;s:23:\"secondDegRelPermissions\";b:0;s:10:\"wpBasePage\";N;s:9:\"groupTree\";b:0;s:11:\"revampPages\";a:0:{}s:13:\"verpSeparator\";s:1:\".\";s:12:\"mailerPeriod\";i:180;s:16:\"mailerSpoolLimit\";i:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:12:\"customCSSURL\";N;s:15:\"civiRelativeURL\";s:13:\"/index.php?q=\";s:11:\"civiVersion\";s:5:\"4.4.4\";}', + 'config_backend' => 'a:82:{s:10:\"userSystem\";O:26:\"CRM_Utils_System_UnitTests\":4:{s:9:\"is_drupal\";b:0;s:9:\"is_joomla\";b:0;s:12:\"is_wordpress\";b:0;s:24:\"supports_form_extensions\";b:0;}s:11:\"initialized\";i:0;s:15:\"DAOFactoryClass\";s:23:\"CRM_Contact_DAO_Factory\";s:17:\"componentRegistry\";O:18:\"CRM_Core_Component\":0:{}s:9:\"inCiviCRM\";b:0;s:18:\"recaptchaPublicKey\";N;s:5:\"debug\";i:0;s:9:\"backtrace\";i:0;s:12:\"resourceBase\";N;s:13:\"extensionsURL\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:27:\"defaultContactStateProvince\";N;s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:21:\"defaultContactCountry\";s:4:\"1228\";s:15:\"defaultCurrency\";s:3:\"USD\";s:10:\"lcMessages\";s:5:\"en_US\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatYear\";s:2:\"%Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:15:\"timeInputFormat\";i:1;s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"currencySymbols\";s:0:\"\";s:21:\"defaultCurrencySymbol\";s:1:\"$\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:25:\"monetaryThousandSeparator\";s:1:\",\";s:14:\"gettextCodeset\";s:5:\"utf-8\";s:13:\"gettextDomain\";s:7:\"civicrm\";s:27:\"userFrameworkUsersTableName\";s:5:\"users\";s:21:\"userFrameworkFrontend\";b:0;s:20:\"userFrameworkLogging\";b:0;s:17:\"maxImportFileSize\";i:2097152;s:11:\"maxFileSize\";i:2;s:11:\"mapProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"geoAPIKey\";N;s:13:\"geocodeMethod\";s:0:\"\";s:12:\"mapGeoCoding\";i:1;s:7:\"logging\";b:0;s:12:\"versionCheck\";b:1;s:16:\"enableComponents\";a:6:{i:0;s:14:\"CiviContribute\";i:1;s:10:\"CiviPledge\";i:2;s:10:\"CiviMember\";i:3;s:9:\"CiviEvent\";i:4;s:8:\"CiviMail\";i:5;s:10:\"CiviReport\";}s:18:\"enableComponentIDs\";a:6:{i:0;i:1;i:1;i:6;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:8;}s:9:\"enableSSL\";b:0;s:18:\"fatalErrorTemplate\";s:20:\"CRM/common/fatal.tpl\";s:17:\"fatalErrorHandler\";N;s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:14:\"fieldSeparator\";s:1:\",\";s:17:\"maxLocationBlocks\";i:2;s:15:\"captchaFontPath\";s:25:\"/usr/X11R6/lib/X11/fonts/\";s:11:\"captchaFont\";s:17:\"HelveticaBold.ttf\";s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:21:\"dashboardCacheTimeout\";i:1440;s:15:\"doNotResetCache\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:20:\"includeOrderByClause\";i:1;s:13:\"oldInputStyle\";i:1;s:14:\"formKeyDisable\";b:0;s:21:\"doNotAttachPDFReceipt\";b:0;s:15:\"wkhtmltopdfPath\";b:0;s:23:\"secondDegRelPermissions\";b:0;s:10:\"wpBasePage\";N;s:9:\"groupTree\";b:0;s:11:\"revampPages\";a:0:{}s:13:\"verpSeparator\";s:1:\".\";s:12:\"mailerPeriod\";i:180;s:16:\"mailerSpoolLimit\";i:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:12:\"customCSSURL\";N;s:15:\"civiRelativeURL\";s:13:\"/index.php?q=\";s:11:\"civiVersion\";s:5:\"4.4.5\";}', 'version' => '4.3.alpha1', 'contact_id' => '2', 'domain_email' => '\"Domain Email\" ', @@ -94,16 +94,16 @@ function domain_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/DomainTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/DomainTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EmailCreate.php b/api/v3/examples/Email/Create.php similarity index 84% rename from api/v3/examples/EmailCreate.php rename to api/v3/examples/Email/Create.php index 31e4e5e08f..62f85de66f 100644 --- a/api/v3/examples/EmailCreate.php +++ b/api/v3/examples/Email/Create.php @@ -61,16 +61,16 @@ function email_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateEmail and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EmailTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EmailTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EmailDelete.php b/api/v3/examples/Email/Delete.php similarity index 78% rename from api/v3/examples/EmailDelete.php rename to api/v3/examples/Email/Delete.php index f6baf60399..c76f539ad8 100644 --- a/api/v3/examples/EmailDelete.php +++ b/api/v3/examples/Email/Delete.php @@ -42,16 +42,16 @@ function email_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteEmail and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EmailTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EmailTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Email/NestedReplaceEmail.php b/api/v3/examples/Email/NestedReplaceEmail.php index 1ddd766988..7c1c17eb57 100644 --- a/api/v3/examples/Email/NestedReplaceEmail.php +++ b/api/v3/examples/Email/NestedReplaceEmail.php @@ -215,16 +215,16 @@ function email_replace_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testReplaceEmailsInChain and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EmailTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EmailTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EmailReplace.php b/api/v3/examples/Email/Replace.php similarity index 92% rename from api/v3/examples/EmailReplace.php rename to api/v3/examples/Email/Replace.php index b41733b316..f6b95fb553 100644 --- a/api/v3/examples/EmailReplace.php +++ b/api/v3/examples/Email/Replace.php @@ -140,16 +140,16 @@ function email_replace_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testReplaceEmail and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EmailTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EmailTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EntityTagCreate.php b/api/v3/examples/EntityTag/Create.php similarity index 79% rename from api/v3/examples/EntityTagCreate.php rename to api/v3/examples/EntityTag/Create.php index 0ac14b3b47..bce9448343 100644 --- a/api/v3/examples/EntityTagCreate.php +++ b/api/v3/examples/EntityTag/Create.php @@ -43,16 +43,16 @@ function entity_tag_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testContactEntityTagCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EntityTagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EntityTagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EntityTagDelete.php b/api/v3/examples/EntityTag/Delete.php similarity index 79% rename from api/v3/examples/EntityTagDelete.php rename to api/v3/examples/EntityTag/Delete.php index fb12f231bd..908982a737 100644 --- a/api/v3/examples/EntityTagDelete.php +++ b/api/v3/examples/EntityTag/Delete.php @@ -43,16 +43,16 @@ function entity_tag_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testEntityTagDeleteHH and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EntityTagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EntityTagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EntityTagGet.php b/api/v3/examples/EntityTag/Get.php similarity index 79% rename from api/v3/examples/EntityTagGet.php rename to api/v3/examples/EntityTag/Get.php index cf8b033362..9124d42310 100644 --- a/api/v3/examples/EntityTagGet.php +++ b/api/v3/examples/EntityTag/Get.php @@ -43,16 +43,16 @@ function entity_tag_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testIndividualEntityTagGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EntityTagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EntityTagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EventCreate.php b/api/v3/examples/Event/Create.php similarity index 93% rename from api/v3/examples/EventCreate.php rename to api/v3/examples/Event/Create.php index 49b68a5aff..0d74e3130b 100644 --- a/api/v3/examples/EventCreate.php +++ b/api/v3/examples/Event/Create.php @@ -123,16 +123,16 @@ function event_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateEventSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EventTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EventTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EventDelete.php b/api/v3/examples/Event/Delete.php similarity index 78% rename from api/v3/examples/EventDelete.php rename to api/v3/examples/Event/Delete.php index f537639003..72b1b8f59e 100644 --- a/api/v3/examples/EventDelete.php +++ b/api/v3/examples/Event/Delete.php @@ -42,16 +42,16 @@ function event_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EventTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EventTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/EventGet.php b/api/v3/examples/Event/Get.php similarity index 87% rename from api/v3/examples/EventGet.php rename to api/v3/examples/Event/Get.php index 2a5ba2051a..44ccba834a 100644 --- a/api/v3/examples/EventGet.php +++ b/api/v3/examples/Event/Get.php @@ -69,16 +69,16 @@ function event_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetEventByEventTitle and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EventTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EventTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Event/IsCurrentOption.php b/api/v3/examples/Event/IsCurrentOption.php index 87580daf02..696b451d20 100644 --- a/api/v3/examples/Event/IsCurrentOption.php +++ b/api/v3/examples/Event/IsCurrentOption.php @@ -77,16 +77,16 @@ function event_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetIsCurrent and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EventTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EventTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Event/IsFullOption.php b/api/v3/examples/Event/IsFullOption.php index ee4ab7be56..b12cddd3a2 100644 --- a/api/v3/examples/Event/IsFullOption.php +++ b/api/v3/examples/Event/IsFullOption.php @@ -50,7 +50,7 @@ function event_getsingle_expectedresult(){ 'is_multiple_registrations' => 0, 'allow_same_participant_emails' => 0, 'is_template' => 0, - 'created_date' => '2014-01-20 10:55:46', + 'created_date' => '2014-02-13 00:22:14', 'is_share' => '1', 'available_places' => 0, 'is_full' => '1', @@ -64,16 +64,16 @@ function event_getsingle_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSingleReturnIsFull and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EventTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/EventTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GrantCreate.php b/api/v3/examples/Grant/Create.php similarity index 86% rename from api/v3/examples/GrantCreate.php rename to api/v3/examples/Grant/Create.php index bc0e60045f..9c118cbb20 100644 --- a/api/v3/examples/GrantCreate.php +++ b/api/v3/examples/Grant/Create.php @@ -68,16 +68,16 @@ function grant_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateGrant and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GrantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GrantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GrantDelete.php b/api/v3/examples/Grant/Delete.php similarity index 78% rename from api/v3/examples/GrantDelete.php rename to api/v3/examples/Grant/Delete.php index a0a8d91956..85488c5674 100644 --- a/api/v3/examples/GrantDelete.php +++ b/api/v3/examples/Grant/Delete.php @@ -42,16 +42,16 @@ function grant_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteGrant and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GrantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GrantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GrantGet.php b/api/v3/examples/Grant/Get.php similarity index 83% rename from api/v3/examples/GrantGet.php rename to api/v3/examples/Grant/Get.php index 80c12b812c..8b4597cd4b 100644 --- a/api/v3/examples/GrantGet.php +++ b/api/v3/examples/Grant/Get.php @@ -55,16 +55,16 @@ function grant_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetGrant and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GrantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GrantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupGet.php b/api/v3/examples/Group/Get.php similarity index 89% rename from api/v3/examples/GroupGet.php rename to api/v3/examples/Group/Get.php index 4256303445..10b10b28ed 100644 --- a/api/v3/examples/GroupGet.php +++ b/api/v3/examples/Group/Get.php @@ -68,16 +68,16 @@ function group_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetGroupParamsWithGroupName and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Group/getfields.php b/api/v3/examples/Group/getfields.php index 176477e12b..490f2c7f0a 100644 --- a/api/v3/examples/Group/getfields.php +++ b/api/v3/examples/Group/getfields.php @@ -158,16 +158,16 @@ function group_getfields_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testgetfields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupContactCreate.php b/api/v3/examples/GroupContact/Create.php similarity index 80% rename from api/v3/examples/GroupContactCreate.php rename to api/v3/examples/GroupContact/Create.php index 0ca453a557..0e3ad3b7d7 100644 --- a/api/v3/examples/GroupContactCreate.php +++ b/api/v3/examples/GroupContact/Create.php @@ -47,16 +47,16 @@ function group_contact_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupContactDelete.php b/api/v3/examples/GroupContact/Delete.php similarity index 79% rename from api/v3/examples/GroupContactDelete.php rename to api/v3/examples/GroupContact/Delete.php index 0a8f904179..4469f5f33b 100644 --- a/api/v3/examples/GroupContactDelete.php +++ b/api/v3/examples/GroupContact/Delete.php @@ -46,16 +46,16 @@ function group_contact_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupContactGet.php b/api/v3/examples/GroupContact/Get.php similarity index 82% rename from api/v3/examples/GroupContactGet.php rename to api/v3/examples/GroupContact/Get.php index 81ac2d8f62..4cf76d0935 100644 --- a/api/v3/examples/GroupContactGet.php +++ b/api/v3/examples/GroupContact/Get.php @@ -53,16 +53,16 @@ function group_contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupContact/GetWithGroupID.php b/api/v3/examples/GroupContact/GetWithGroupID.php index 26cbd4e65b..aabbfce507 100644 --- a/api/v3/examples/GroupContact/GetWithGroupID.php +++ b/api/v3/examples/GroupContact/GetWithGroupID.php @@ -121,16 +121,16 @@ function group_contact_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetGroupID and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupContactTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupContactTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupNestingCreate.php b/api/v3/examples/GroupNesting/Create.php similarity index 80% rename from api/v3/examples/GroupNestingCreate.php rename to api/v3/examples/GroupNesting/Create.php index 04464adf07..6f8c63421f 100644 --- a/api/v3/examples/GroupNestingCreate.php +++ b/api/v3/examples/GroupNesting/Create.php @@ -46,16 +46,16 @@ function group_nesting_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupNestingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupNestingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupNestingDelete.php b/api/v3/examples/GroupNesting/Delete.php similarity index 78% rename from api/v3/examples/GroupNestingDelete.php rename to api/v3/examples/GroupNesting/Delete.php index 4663f2eaeb..e5562e1751 100644 --- a/api/v3/examples/GroupNestingDelete.php +++ b/api/v3/examples/GroupNesting/Delete.php @@ -42,16 +42,16 @@ function group_nesting_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupNestingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupNestingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupNestingGet.php b/api/v3/examples/GroupNesting/Get.php similarity index 80% rename from api/v3/examples/GroupNestingGet.php rename to api/v3/examples/GroupNesting/Get.php index 2cde6e469e..3aa9aaa4a0 100644 --- a/api/v3/examples/GroupNestingGet.php +++ b/api/v3/examples/GroupNesting/Get.php @@ -50,16 +50,16 @@ function group_nesting_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupNestingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupNestingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupOrganizationCreate.php b/api/v3/examples/GroupOrganization/Create.php similarity index 80% rename from api/v3/examples/GroupOrganizationCreate.php rename to api/v3/examples/GroupOrganization/Create.php index 7192ba7ad1..6df4b1ee46 100644 --- a/api/v3/examples/GroupOrganizationCreate.php +++ b/api/v3/examples/GroupOrganization/Create.php @@ -48,16 +48,16 @@ function group_organization_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGroupOrganizationCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupOrganizationTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupOrganizationTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupOrganizationDelete.php b/api/v3/examples/GroupOrganization/Delete.php similarity index 79% rename from api/v3/examples/GroupOrganizationDelete.php rename to api/v3/examples/GroupOrganization/Delete.php index 4599299afc..51ab52d0b5 100644 --- a/api/v3/examples/GroupOrganizationDelete.php +++ b/api/v3/examples/GroupOrganization/Delete.php @@ -42,16 +42,16 @@ function group_organization_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGroupOrganizationDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupOrganizationTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupOrganizationTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/GroupOrganizationGet.php b/api/v3/examples/GroupOrganization/Get.php similarity index 79% rename from api/v3/examples/GroupOrganizationGet.php rename to api/v3/examples/GroupOrganization/Get.php index 5a09a709fc..f6ef40f7ed 100644 --- a/api/v3/examples/GroupOrganizationGet.php +++ b/api/v3/examples/GroupOrganization/Get.php @@ -42,16 +42,16 @@ function group_organization_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGroupOrganizationGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GroupOrganizationTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupOrganizationTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ImCreate.php b/api/v3/examples/Im/Create.php similarity index 83% rename from api/v3/examples/ImCreate.php rename to api/v3/examples/Im/Create.php index 1b4116dc0f..905e87dafd 100644 --- a/api/v3/examples/ImCreate.php +++ b/api/v3/examples/Im/Create.php @@ -56,16 +56,16 @@ function im_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateIm and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ImTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ImTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ImDelete.php b/api/v3/examples/Im/Delete.php similarity index 78% rename from api/v3/examples/ImDelete.php rename to api/v3/examples/Im/Delete.php index 3ff80a6490..980311040a 100644 --- a/api/v3/examples/ImDelete.php +++ b/api/v3/examples/Im/Delete.php @@ -42,16 +42,16 @@ function im_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteIm and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ImTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ImTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ImGet.php b/api/v3/examples/Im/Get.php similarity index 82% rename from api/v3/examples/ImGet.php rename to api/v3/examples/Im/Get.php index d63f3a597d..0269a1b0a2 100644 --- a/api/v3/examples/ImGet.php +++ b/api/v3/examples/Im/Get.php @@ -56,16 +56,16 @@ function im_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetIm and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ImTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ImTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/JobCreate.php b/api/v3/examples/Job/Create.php similarity index 86% rename from api/v3/examples/JobCreate.php rename to api/v3/examples/Job/Create.php index 5146b95671..e8a6d8e746 100644 --- a/api/v3/examples/JobCreate.php +++ b/api/v3/examples/Job/Create.php @@ -63,16 +63,16 @@ function job_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/JobTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/JobTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/JobDelete.php b/api/v3/examples/Job/Delete.php similarity index 78% rename from api/v3/examples/JobDelete.php rename to api/v3/examples/Job/Delete.php index ec65017206..6230b31d8e 100644 --- a/api/v3/examples/JobDelete.php +++ b/api/v3/examples/Job/Delete.php @@ -42,16 +42,16 @@ function job_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/JobTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/JobTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/LineItemCreate.php b/api/v3/examples/LineItem/Create.php similarity index 85% rename from api/v3/examples/LineItemCreate.php rename to api/v3/examples/LineItem/Create.php index da9283de44..b85b2f819d 100644 --- a/api/v3/examples/LineItemCreate.php +++ b/api/v3/examples/LineItem/Create.php @@ -65,16 +65,16 @@ function line_item_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateLineItem and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LineItemTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/LineItemTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/LineItemDelete.php b/api/v3/examples/LineItem/Delete.php similarity index 78% rename from api/v3/examples/LineItemDelete.php rename to api/v3/examples/LineItem/Delete.php index 8553e93b85..125969e4c7 100644 --- a/api/v3/examples/LineItemDelete.php +++ b/api/v3/examples/LineItem/Delete.php @@ -42,16 +42,16 @@ function line_item_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteLineItem and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LineItemTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/LineItemTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/LineItemGet.php b/api/v3/examples/LineItem/Get.php similarity index 84% rename from api/v3/examples/LineItemGet.php rename to api/v3/examples/LineItem/Get.php index 3d5af2fea7..7ab45ed884 100644 --- a/api/v3/examples/LineItemGet.php +++ b/api/v3/examples/LineItem/Get.php @@ -57,16 +57,16 @@ function line_item_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetBasicLineItem and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LineItemTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/LineItemTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/LocBlockCreate.php b/api/v3/examples/LocBlock/Create.php similarity index 82% rename from api/v3/examples/LocBlockCreate.php rename to api/v3/examples/LocBlock/Create.php index 7f893f4d35..c9ecc85242 100644 --- a/api/v3/examples/LocBlockCreate.php +++ b/api/v3/examples/LocBlock/Create.php @@ -57,16 +57,16 @@ function loc_block_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateLocBlock and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LocBlockTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/LocBlockTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/LocBlockCreateEntities.php b/api/v3/examples/LocBlock/CreateEntities.php similarity index 91% rename from api/v3/examples/LocBlockCreateEntities.php rename to api/v3/examples/LocBlock/CreateEntities.php index dad0145a10..5db83b4eed 100644 --- a/api/v3/examples/LocBlockCreateEntities.php +++ b/api/v3/examples/LocBlock/CreateEntities.php @@ -116,16 +116,16 @@ function loc_block_createentities_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateLocBlockEntities and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LocBlockTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/LocBlockTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/LocBlockGet.php b/api/v3/examples/LocBlock/Get.php similarity index 86% rename from api/v3/examples/LocBlockGet.php rename to api/v3/examples/LocBlock/Get.php index ec9c0375fc..50e3a7ff0a 100644 --- a/api/v3/examples/LocBlockGet.php +++ b/api/v3/examples/LocBlock/Get.php @@ -77,16 +77,16 @@ function loc_block_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateLocBlockEntities and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LocBlockTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/LocBlockTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MailSettings/ChainedGetDelete.php b/api/v3/examples/MailSettings/ChainedGetDelete.php index f2987d980d..683aea79e4 100644 --- a/api/v3/examples/MailSettings/ChainedGetDelete.php +++ b/api/v3/examples/MailSettings/ChainedGetDelete.php @@ -74,16 +74,16 @@ function mail_settings_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetMailSettingsChainDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailSettingsTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MailSettingsTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MailSettingsCreate.php b/api/v3/examples/MailSettings/Create.php similarity index 85% rename from api/v3/examples/MailSettingsCreate.php rename to api/v3/examples/MailSettings/Create.php index a9600c980e..8272466d5c 100644 --- a/api/v3/examples/MailSettingsCreate.php +++ b/api/v3/examples/MailSettings/Create.php @@ -66,16 +66,16 @@ function mail_settings_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateMailSettings and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailSettingsTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MailSettingsTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MailSettingsDelete.php b/api/v3/examples/MailSettings/Delete.php similarity index 78% rename from api/v3/examples/MailSettingsDelete.php rename to api/v3/examples/MailSettings/Delete.php index 984f0c54a0..0a761675c3 100644 --- a/api/v3/examples/MailSettingsDelete.php +++ b/api/v3/examples/MailSettings/Delete.php @@ -42,16 +42,16 @@ function mail_settings_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteMailSettings and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailSettingsTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MailSettingsTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MailSettingsGet.php b/api/v3/examples/MailSettings/Get.php similarity index 84% rename from api/v3/examples/MailSettingsGet.php rename to api/v3/examples/MailSettings/Get.php index 881dec97c7..c2aac298c0 100644 --- a/api/v3/examples/MailSettingsGet.php +++ b/api/v3/examples/MailSettings/Get.php @@ -61,16 +61,16 @@ function mail_settings_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetMailSettings and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailSettingsTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MailSettingsTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MailingCreate.php b/api/v3/examples/MailingCreate.php deleted file mode 100644 index 77f76a7f46..0000000000 --- a/api/v3/examples/MailingCreate.php +++ /dev/null @@ -1,124 +0,0 @@ - 'maild', - 'body_text' => 'bdkfhdskfhduew', - 'name' => 'mailing name', - 'created_id' => 1, -); - -try{ - $result = civicrm_api3('mailing', 'create', $params); -} -catch (CiviCRM_API3_Exception $e) { - // handle error here - $errorMessage = $e->getMessage(); - $errorCode = $e->getErrorCode(); - $errorData = $e->getExtraParams(); - return array('error' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData); -} - -return $result; -} - -/** - * Function returns array of result expected from previous function - */ -function mailing_create_expectedresult(){ - - $expectedResult = array( - 'is_error' => 0, - 'version' => 3, - 'count' => 1, - 'id' => 1, - 'values' => array( - '1' => array( - 'id' => '1', - 'domain_id' => '1', - 'header_id' => '', - 'footer_id' => '', - 'reply_id' => '', - 'unsubscribe_id' => '', - 'resubscribe_id' => '', - 'optout_id' => '', - 'name' => 'mailing name', - 'from_name' => 'FIXME', - 'from_email' => 'info@EXAMPLE.ORG', - 'replyto_email' => 'info@EXAMPLE.ORG', - 'subject' => 'maild', - 'body_text' => 'bdkfhdskfhduew', - 'body_html' => '', - 'url_tracking' => '1', - 'forward_replies' => '', - 'auto_responder' => 0, - 'open_tracking' => '1', - 'is_completed' => '', - 'msg_template_id' => '', - 'override_verp' => '1', - 'created_id' => '1', - 'created_date' => '2013-07-28 08:49:19', - 'scheduled_id' => '', - 'scheduled_date' => '20130728085413', - 'approver_id' => '1', - 'approval_date' => '20130728085413', - 'approval_status_id' => '', - 'approval_note' => '', - 'is_archived' => '', - 'visibility' => 'User and User Admin Only', - 'campaign_id' => '', - 'dedupe_email' => '', - 'sms_provider_id' => '', - 'api.mailing_job.create' => array( - 'is_error' => 0, - 'version' => 3, - 'count' => 1, - 'id' => 1, - 'values' => array( - '0' => array( - 'id' => '1', - 'mailing_id' => '1', - 'scheduled_date' => '20130728085413', - 'start_date' => '', - 'end_date' => '', - 'status' => 'Scheduled', - 'is_test' => 0, - 'job_type' => '', - 'parent_id' => '', - 'job_offset' => '', - 'job_limit' => '', - ), - ), - ), - ), - ), -); - - return $expectedResult; -} - - -/* -* This example has been generated from the API test suite. The test that created it is called -* -* testMailerCreateSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailingTest.php -* -* You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 -* -* To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ -* -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs -* -* Read more about testing here -* http://wiki.civicrm.org/confluence/display/CRM/Testing -* -* API Standards documentation: -* http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file diff --git a/api/v3/examples/MailingDelete.php b/api/v3/examples/MailingDelete.php deleted file mode 100644 index 17282a221b..0000000000 --- a/api/v3/examples/MailingDelete.php +++ /dev/null @@ -1,61 +0,0 @@ - 2, -); - -try{ - $result = civicrm_api3('mailing', 'delete', $params); -} -catch (CiviCRM_API3_Exception $e) { - // handle error here - $errorMessage = $e->getMessage(); - $errorCode = $e->getErrorCode(); - $errorData = $e->getExtraParams(); - return array('error' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData); -} - -return $result; -} - -/** - * Function returns array of result expected from previous function - */ -function mailing_delete_expectedresult(){ - - $expectedResult = array( - 'is_error' => 0, - 'version' => 3, - 'count' => 1, - 'values' => true, -); - - return $expectedResult; -} - - -/* -* This example has been generated from the API test suite. The test that created it is called -* -* testMailerDeleteSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailingTest.php -* -* You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 -* -* To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ -* -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs -* -* Read more about testing here -* http://wiki.civicrm.org/confluence/display/CRM/Testing -* -* API Standards documentation: -* http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file diff --git a/api/v3/examples/MailingGroupSubscribe.php b/api/v3/examples/MailingGroup/Subscribe.php similarity index 82% rename from api/v3/examples/MailingGroupSubscribe.php rename to api/v3/examples/MailingGroup/Subscribe.php index f77089312d..0b9d99b237 100644 --- a/api/v3/examples/MailingGroupSubscribe.php +++ b/api/v3/examples/MailingGroup/Subscribe.php @@ -53,16 +53,16 @@ function mailing_group_subscribe_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testMailerGroupSubscribeGivenContactId and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MailingGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MailingGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipCreate.php b/api/v3/examples/Membership/Create.php similarity index 86% rename from api/v3/examples/MembershipCreate.php rename to api/v3/examples/Membership/Create.php index ca99bc3ee9..e62a912e77 100644 --- a/api/v3/examples/MembershipCreate.php +++ b/api/v3/examples/Membership/Create.php @@ -69,16 +69,16 @@ function membership_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipDelete.php b/api/v3/examples/Membership/Delete.php similarity index 78% rename from api/v3/examples/MembershipDelete.php rename to api/v3/examples/Membership/Delete.php index 306e73ba92..47d84cf41e 100644 --- a/api/v3/examples/MembershipDelete.php +++ b/api/v3/examples/Membership/Delete.php @@ -42,16 +42,16 @@ function membership_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testMembershipDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipGet.php b/api/v3/examples/Membership/Get.php similarity index 85% rename from api/v3/examples/MembershipGet.php rename to api/v3/examples/Membership/Get.php index 095255074c..115f702c2f 100644 --- a/api/v3/examples/MembershipGet.php +++ b/api/v3/examples/Membership/Get.php @@ -61,16 +61,16 @@ function membership_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetWithParamsMemberShipIdAndCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipUpdate.php b/api/v3/examples/Membership/Update.php similarity index 86% rename from api/v3/examples/MembershipUpdate.php rename to api/v3/examples/Membership/Update.php index 23f3035f4e..8c0f576fef 100644 --- a/api/v3/examples/MembershipUpdate.php +++ b/api/v3/examples/Membership/Update.php @@ -69,16 +69,16 @@ function membership_update_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testUpdateWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Membership/filterIsCurrent.php b/api/v3/examples/Membership/filterIsCurrent.php index 45c6b9666a..c0e98ff397 100644 --- a/api/v3/examples/Membership/filterIsCurrent.php +++ b/api/v3/examples/Membership/filterIsCurrent.php @@ -69,16 +69,16 @@ function membership_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetOnlyActive and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipPaymentCreate.php b/api/v3/examples/MembershipPayment/Create.php similarity index 81% rename from api/v3/examples/MembershipPaymentCreate.php rename to api/v3/examples/MembershipPayment/Create.php index 7c69a98b65..61e1f78b77 100644 --- a/api/v3/examples/MembershipPaymentCreate.php +++ b/api/v3/examples/MembershipPayment/Create.php @@ -50,16 +50,16 @@ function membership_payment_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipPaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipPaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipPaymentGet.php b/api/v3/examples/MembershipPayment/Get.php similarity index 80% rename from api/v3/examples/MembershipPaymentGet.php rename to api/v3/examples/MembershipPayment/Get.php index 96f662c595..d2b76b18fe 100644 --- a/api/v3/examples/MembershipPaymentGet.php +++ b/api/v3/examples/MembershipPayment/Get.php @@ -50,16 +50,16 @@ function membership_payment_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipPaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipPaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipStatusCreate.php b/api/v3/examples/MembershipStatus/Create.php similarity index 84% rename from api/v3/examples/MembershipStatusCreate.php rename to api/v3/examples/MembershipStatus/Create.php index 9f5323550b..2887176e4e 100644 --- a/api/v3/examples/MembershipStatusCreate.php +++ b/api/v3/examples/MembershipStatus/Create.php @@ -61,16 +61,16 @@ function membership_status_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipStatusTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipStatusTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipStatusGet.php b/api/v3/examples/MembershipStatus/Get.php similarity index 83% rename from api/v3/examples/MembershipStatusGet.php rename to api/v3/examples/MembershipStatus/Get.php index d19e778d9f..ec82d0db0a 100644 --- a/api/v3/examples/MembershipStatusGet.php +++ b/api/v3/examples/MembershipStatus/Get.php @@ -56,16 +56,16 @@ function membership_status_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipStatusTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipStatusTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipTypeCreate.php b/api/v3/examples/MembershipType/Create.php similarity index 88% rename from api/v3/examples/MembershipTypeCreate.php rename to api/v3/examples/MembershipType/Create.php index 0c6c25e364..73a57deaba 100644 --- a/api/v3/examples/MembershipTypeCreate.php +++ b/api/v3/examples/MembershipType/Create.php @@ -77,16 +77,16 @@ function membership_type_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipTypeDelete.php b/api/v3/examples/MembershipType/Delete.php similarity index 78% rename from api/v3/examples/MembershipTypeDelete.php rename to api/v3/examples/MembershipType/Delete.php index 4d9e32c827..19ffb1bf87 100644 --- a/api/v3/examples/MembershipTypeDelete.php +++ b/api/v3/examples/MembershipType/Delete.php @@ -42,16 +42,16 @@ function membership_type_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MembershipTypeGet.php b/api/v3/examples/MembershipType/Get.php similarity index 83% rename from api/v3/examples/MembershipTypeGet.php rename to api/v3/examples/MembershipType/Get.php index 92a487f2f3..06c63a8ee2 100644 --- a/api/v3/examples/MembershipTypeGet.php +++ b/api/v3/examples/MembershipType/Get.php @@ -58,16 +58,16 @@ function membership_type_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MembershipTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MembershipTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MessageTemplateCreate.php b/api/v3/examples/MessageTemplate/Create.php similarity index 84% rename from api/v3/examples/MessageTemplateCreate.php rename to api/v3/examples/MessageTemplate/Create.php index a37efa4701..25c0b99b6b 100644 --- a/api/v3/examples/MessageTemplateCreate.php +++ b/api/v3/examples/MessageTemplate/Create.php @@ -63,16 +63,16 @@ function message_template_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MessageTemplateTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MessageTemplateTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MessageTemplateDelete.php b/api/v3/examples/MessageTemplate/Delete.php similarity index 78% rename from api/v3/examples/MessageTemplateDelete.php rename to api/v3/examples/MessageTemplate/Delete.php index 03f27d77f5..1c574f1d9b 100644 --- a/api/v3/examples/MessageTemplateDelete.php +++ b/api/v3/examples/MessageTemplate/Delete.php @@ -42,16 +42,16 @@ function message_template_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MessageTemplateTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MessageTemplateTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/MessageTemplateGet.php b/api/v3/examples/MessageTemplate/Get.php similarity index 84% rename from api/v3/examples/MessageTemplateGet.php rename to api/v3/examples/MessageTemplate/Get.php index aaf42ad7a2..33f9ed33fd 100644 --- a/api/v3/examples/MessageTemplateGet.php +++ b/api/v3/examples/MessageTemplate/Get.php @@ -63,16 +63,16 @@ function message_template_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/MessageTemplateTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/MessageTemplateTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/NoteCreate.php b/api/v3/examples/Note/Create.php similarity index 84% rename from api/v3/examples/NoteCreate.php rename to api/v3/examples/Note/Create.php index a4be069077..bf11336252 100644 --- a/api/v3/examples/NoteCreate.php +++ b/api/v3/examples/Note/Create.php @@ -59,16 +59,16 @@ function note_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/NoteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/NoteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/NoteDelete.php b/api/v3/examples/Note/Delete.php similarity index 78% rename from api/v3/examples/NoteDelete.php rename to api/v3/examples/Note/Delete.php index 2ad22cf231..cf0ac6eb83 100644 --- a/api/v3/examples/NoteDelete.php +++ b/api/v3/examples/Note/Delete.php @@ -42,16 +42,16 @@ function note_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/NoteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/NoteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/NoteGet.php b/api/v3/examples/Note/Get.php similarity index 83% rename from api/v3/examples/NoteGet.php rename to api/v3/examples/Note/Get.php index 3f08acfd8c..a0fb55c362 100644 --- a/api/v3/examples/NoteGet.php +++ b/api/v3/examples/Note/Get.php @@ -55,16 +55,16 @@ function note_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/NoteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/NoteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/OptionGroupCreate.php b/api/v3/examples/OptionGroup/Create.php similarity index 84% rename from api/v3/examples/OptionGroupCreate.php rename to api/v3/examples/OptionGroup/Create.php index c17c5daeac..75a0bdeac6 100644 --- a/api/v3/examples/OptionGroupCreate.php +++ b/api/v3/examples/OptionGroup/Create.php @@ -63,16 +63,16 @@ function option_group_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetOptionCreateSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/OptionGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/OptionGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/OptionGroupDelete.php b/api/v3/examples/OptionGroup/Delete.php similarity index 79% rename from api/v3/examples/OptionGroupDelete.php rename to api/v3/examples/OptionGroup/Delete.php index ae01aee0dd..d69810770b 100644 --- a/api/v3/examples/OptionGroupDelete.php +++ b/api/v3/examples/OptionGroup/Delete.php @@ -42,16 +42,16 @@ function option_group_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteOptionGroup and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/OptionGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/OptionGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/OptionGroupGet.php b/api/v3/examples/OptionGroup/Get.php similarity index 82% rename from api/v3/examples/OptionGroupGet.php rename to api/v3/examples/OptionGroup/Get.php index 07e50a67db..f2e6d591c9 100644 --- a/api/v3/examples/OptionGroupGet.php +++ b/api/v3/examples/OptionGroup/Get.php @@ -51,16 +51,16 @@ function option_group_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetOptionGroupByName and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/OptionGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/OptionGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/OptionValueGet.php b/api/v3/examples/OptionValue/Get.php similarity index 89% rename from api/v3/examples/OptionValueGet.php rename to api/v3/examples/OptionValue/Get.php index 5490d6c3b9..0cf8674b6b 100644 --- a/api/v3/examples/OptionValueGet.php +++ b/api/v3/examples/OptionValue/Get.php @@ -98,16 +98,16 @@ function option_value_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetOptionGroup and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/OptionValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/OptionValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/OptionValue/SortOption.php b/api/v3/examples/OptionValue/SortOption.php index f93dbdd08d..49fb663faa 100644 --- a/api/v3/examples/OptionValue/SortOption.php +++ b/api/v3/examples/OptionValue/SortOption.php @@ -51,16 +51,16 @@ function option_value_getsingle_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSingleValueOptionValueSort and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/OptionValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/OptionValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantCreate.php b/api/v3/examples/Participant/Create.php similarity index 86% rename from api/v3/examples/ParticipantCreate.php rename to api/v3/examples/Participant/Create.php index 3867daa954..6beb53c113 100644 --- a/api/v3/examples/ParticipantCreate.php +++ b/api/v3/examples/Participant/Create.php @@ -70,16 +70,16 @@ function participant_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Participant/CreateParticipantPayment.php b/api/v3/examples/Participant/CreateParticipantPayment.php index 5135dda002..6410f870ad 100644 --- a/api/v3/examples/Participant/CreateParticipantPayment.php +++ b/api/v3/examples/Participant/CreateParticipantPayment.php @@ -125,16 +125,16 @@ function participant_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateParticipantWithPayment and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantGet.php b/api/v3/examples/Participant/Get.php similarity index 88% rename from api/v3/examples/ParticipantGet.php rename to api/v3/examples/Participant/Get.php index a3808c7276..b3540903b1 100644 --- a/api/v3/examples/ParticipantGet.php +++ b/api/v3/examples/Participant/Get.php @@ -72,16 +72,16 @@ function participant_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetParamsAsIdOnly and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Participant/NestedDelete.php b/api/v3/examples/Participant/NestedDelete.php index 1cd158e8e7..bdeabddd7f 100644 --- a/api/v3/examples/Participant/NestedDelete.php +++ b/api/v3/examples/Participant/NestedDelete.php @@ -112,16 +112,16 @@ function participant_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testNestedDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Participant/NestedEventGet.php b/api/v3/examples/Participant/NestedEventGet.php index 4dd48950fe..f349e432b2 100644 --- a/api/v3/examples/Participant/NestedEventGet.php +++ b/api/v3/examples/Participant/NestedEventGet.php @@ -114,16 +114,16 @@ function participant_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetNestedEventGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantPaymentCreate.php b/api/v3/examples/ParticipantPayment/Create.php similarity index 81% rename from api/v3/examples/ParticipantPaymentCreate.php rename to api/v3/examples/ParticipantPayment/Create.php index ed2ec4b8f7..e45c9a737a 100644 --- a/api/v3/examples/ParticipantPaymentCreate.php +++ b/api/v3/examples/ParticipantPayment/Create.php @@ -50,16 +50,16 @@ function participant_payment_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPaymentCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantPaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantPaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantPaymentDelete.php b/api/v3/examples/ParticipantPayment/Delete.php similarity index 78% rename from api/v3/examples/ParticipantPaymentDelete.php rename to api/v3/examples/ParticipantPayment/Delete.php index 71e4c57085..c194956c6a 100644 --- a/api/v3/examples/ParticipantPaymentDelete.php +++ b/api/v3/examples/ParticipantPayment/Delete.php @@ -42,16 +42,16 @@ function participant_payment_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPaymentDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantPaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantPaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantPaymentGet.php b/api/v3/examples/ParticipantPayment/Get.php similarity index 80% rename from api/v3/examples/ParticipantPaymentGet.php rename to api/v3/examples/ParticipantPayment/Get.php index e520aa4753..87e45e8037 100644 --- a/api/v3/examples/ParticipantPaymentGet.php +++ b/api/v3/examples/ParticipantPayment/Get.php @@ -50,16 +50,16 @@ function participant_payment_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantPaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantPaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantStatusTypeCreate.php b/api/v3/examples/ParticipantStatusType/Create.php similarity index 84% rename from api/v3/examples/ParticipantStatusTypeCreate.php rename to api/v3/examples/ParticipantStatusType/Create.php index ba3d10de0e..5da922e015 100644 --- a/api/v3/examples/ParticipantStatusTypeCreate.php +++ b/api/v3/examples/ParticipantStatusType/Create.php @@ -62,16 +62,16 @@ function participant_status_type_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateParticipantStatusType and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantStatusTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantStatusTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantStatusTypeDelete.php b/api/v3/examples/ParticipantStatusType/Delete.php similarity index 79% rename from api/v3/examples/ParticipantStatusTypeDelete.php rename to api/v3/examples/ParticipantStatusType/Delete.php index 4421ce399c..47ffb9bac9 100644 --- a/api/v3/examples/ParticipantStatusTypeDelete.php +++ b/api/v3/examples/ParticipantStatusType/Delete.php @@ -42,16 +42,16 @@ function participant_status_type_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteParticipantStatusType and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantStatusTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantStatusTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ParticipantStatusTypeGet.php b/api/v3/examples/ParticipantStatusType/Get.php similarity index 84% rename from api/v3/examples/ParticipantStatusTypeGet.php rename to api/v3/examples/ParticipantStatusType/Get.php index ae29aae777..28a80da2d3 100644 --- a/api/v3/examples/ParticipantStatusTypeGet.php +++ b/api/v3/examples/ParticipantStatusType/Get.php @@ -62,16 +62,16 @@ function participant_status_type_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetParticipantStatusType and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantStatusTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantStatusTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PaymentProcessorCreate.php b/api/v3/examples/PaymentProcessor/Create.php similarity index 86% rename from api/v3/examples/PaymentProcessorCreate.php rename to api/v3/examples/PaymentProcessor/Create.php index b98cb3013c..6891f7f03d 100644 --- a/api/v3/examples/PaymentProcessorCreate.php +++ b/api/v3/examples/PaymentProcessor/Create.php @@ -70,16 +70,16 @@ function payment_processor_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPaymentProcessorCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PaymentProcessorTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PaymentProcessorTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PaymentProcessorDelete.php b/api/v3/examples/PaymentProcessor/Delete.php similarity index 79% rename from api/v3/examples/PaymentProcessorDelete.php rename to api/v3/examples/PaymentProcessor/Delete.php index eb478d9011..966f5842bd 100644 --- a/api/v3/examples/PaymentProcessorDelete.php +++ b/api/v3/examples/PaymentProcessor/Delete.php @@ -42,16 +42,16 @@ function payment_processor_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPaymentProcessorDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PaymentProcessorTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PaymentProcessorTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PaymentProcessorTypeCreate.php b/api/v3/examples/PaymentProcessorType/Create.php similarity index 87% rename from api/v3/examples/PaymentProcessorTypeCreate.php rename to api/v3/examples/PaymentProcessorType/Create.php index 2ec3ac5b84..1c7ba72fb4 100644 --- a/api/v3/examples/PaymentProcessorTypeCreate.php +++ b/api/v3/examples/PaymentProcessorType/Create.php @@ -73,16 +73,16 @@ function payment_processor_type_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPaymentProcessorTypeCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PaymentProcessorTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PaymentProcessorTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PaymentProcessorTypeDelete.php b/api/v3/examples/PaymentProcessorType/Delete.php similarity index 79% rename from api/v3/examples/PaymentProcessorTypeDelete.php rename to api/v3/examples/PaymentProcessorType/Delete.php index 9c8eac1cfe..323c678dd7 100644 --- a/api/v3/examples/PaymentProcessorTypeDelete.php +++ b/api/v3/examples/PaymentProcessorType/Delete.php @@ -42,16 +42,16 @@ function payment_processor_type_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPaymentProcessorTypeDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PaymentProcessorTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PaymentProcessorTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PhoneCreate.php b/api/v3/examples/Phone/Create.php similarity index 84% rename from api/v3/examples/PhoneCreate.php rename to api/v3/examples/Phone/Create.php index 6a9329e272..3e5d8f0f11 100644 --- a/api/v3/examples/PhoneCreate.php +++ b/api/v3/examples/Phone/Create.php @@ -60,16 +60,16 @@ function phone_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreatePhone and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PhoneTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PhoneTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PhoneDelete.php b/api/v3/examples/Phone/Delete.php similarity index 78% rename from api/v3/examples/PhoneDelete.php rename to api/v3/examples/Phone/Delete.php index 15c07e9d3e..a7a49076cb 100644 --- a/api/v3/examples/PhoneDelete.php +++ b/api/v3/examples/Phone/Delete.php @@ -42,16 +42,16 @@ function phone_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeletePhone and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PhoneTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PhoneTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PhoneGet.php b/api/v3/examples/Phone/Get.php similarity index 82% rename from api/v3/examples/PhoneGet.php rename to api/v3/examples/Phone/Get.php index 3cab0f1a09..df460cf980 100644 --- a/api/v3/examples/PhoneGet.php +++ b/api/v3/examples/Phone/Get.php @@ -55,16 +55,16 @@ function phone_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PhoneTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PhoneTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgeCreate.php b/api/v3/examples/Pledge/Create.php similarity index 85% rename from api/v3/examples/PledgeCreate.php rename to api/v3/examples/Pledge/Create.php index 057a0d864e..b48e949987 100644 --- a/api/v3/examples/PledgeCreate.php +++ b/api/v3/examples/Pledge/Create.php @@ -6,9 +6,9 @@ function pledge_create_example(){ $params = array( 'contact_id' => 11, - 'pledge_create_date' => '20140120', - 'start_date' => '20140120', - 'scheduled_date' => '20140122', + 'pledge_create_date' => '20140213', + 'start_date' => '20140213', + 'scheduled_date' => '20140215', 'amount' => '100', 'pledge_status_id' => '2', 'pledge_financial_type_id' => '1', @@ -83,16 +83,16 @@ function pledge_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreatePledge and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgeDelete.php b/api/v3/examples/Pledge/Delete.php similarity index 79% rename from api/v3/examples/PledgeDelete.php rename to api/v3/examples/Pledge/Delete.php index e519ae4457..8fa7bab93b 100644 --- a/api/v3/examples/PledgeDelete.php +++ b/api/v3/examples/Pledge/Delete.php @@ -45,16 +45,16 @@ function pledge_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeletePledgeUseID and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgeGet.php b/api/v3/examples/Pledge/Get.php similarity index 82% rename from api/v3/examples/PledgeGet.php rename to api/v3/examples/Pledge/Get.php index 8443c398ad..d36cb51d6b 100644 --- a/api/v3/examples/PledgeGet.php +++ b/api/v3/examples/Pledge/Get.php @@ -41,10 +41,10 @@ function pledge_get_expectedresult(){ 'display_name' => 'Mr. Anthony Anderson II', 'pledge_id' => '1', 'pledge_amount' => '100.00', - 'pledge_create_date' => '2014-01-20 00:00:00', + 'pledge_create_date' => '2014-02-13 00:00:00', 'pledge_status' => 'Pending', 'pledge_total_paid' => '', - 'pledge_next_pay_date' => '2014-01-22 00:00:00', + 'pledge_next_pay_date' => '2014-02-15 00:00:00', 'pledge_next_pay_amount' => '20.00', 'pledge_outstanding_amount' => '', 'pledge_financial_type' => 'Donation', @@ -67,16 +67,16 @@ function pledge_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetPledge and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Pledge/GetFilterHighDate.php b/api/v3/examples/Pledge/GetFilterHighDate.php index 487fac43ad..ceb3e1919c 100644 --- a/api/v3/examples/Pledge/GetFilterHighDate.php +++ b/api/v3/examples/Pledge/GetFilterHighDate.php @@ -5,7 +5,7 @@ */ function pledge_get_example(){ $params = array( - 'pledge_start_date_high' => '20140118110150', + 'pledge_start_date_high' => '20140211002809', ); try{ @@ -41,7 +41,7 @@ function pledge_get_expectedresult(){ 'display_name' => 'Mr. Anthony Anderson II', 'pledge_id' => '2', 'pledge_amount' => '100.00', - 'pledge_create_date' => '2014-01-20 00:00:00', + 'pledge_create_date' => '2014-02-13 00:00:00', 'pledge_status' => 'Overdue', 'pledge_total_paid' => '', 'pledge_next_pay_date' => '2013-03-01 00:00:00', @@ -67,16 +67,16 @@ function pledge_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testPledgeGetReturnFilters and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgePaymentCreate.php b/api/v3/examples/PledgePayment/Create.php similarity index 84% rename from api/v3/examples/PledgePaymentCreate.php rename to api/v3/examples/PledgePayment/Create.php index 689dabcf16..0e02f75250 100644 --- a/api/v3/examples/PledgePaymentCreate.php +++ b/api/v3/examples/PledgePayment/Create.php @@ -60,16 +60,16 @@ function pledge_payment_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreatePledgePayment and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgePaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgePaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgePaymentDelete.php b/api/v3/examples/PledgePayment/Delete.php similarity index 79% rename from api/v3/examples/PledgePaymentDelete.php rename to api/v3/examples/PledgePayment/Delete.php index 66e4f7097d..bc0e010034 100644 --- a/api/v3/examples/PledgePaymentDelete.php +++ b/api/v3/examples/PledgePayment/Delete.php @@ -45,16 +45,16 @@ function pledge_payment_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeletePledgePayment and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgePaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgePaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgePaymentGet.php b/api/v3/examples/PledgePayment/Get.php similarity index 88% rename from api/v3/examples/PledgePaymentGet.php rename to api/v3/examples/PledgePayment/Get.php index 252cfbfc2e..e1e6120eb3 100644 --- a/api/v3/examples/PledgePaymentGet.php +++ b/api/v3/examples/PledgePayment/Get.php @@ -86,16 +86,16 @@ function pledge_payment_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetPledgePayment and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgePaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgePaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PledgePaymentUpdate.php b/api/v3/examples/PledgePayment/Update.php similarity index 83% rename from api/v3/examples/PledgePaymentUpdate.php rename to api/v3/examples/PledgePayment/Update.php index 3eb388189f..fe32d3cad8 100644 --- a/api/v3/examples/PledgePaymentUpdate.php +++ b/api/v3/examples/PledgePayment/Update.php @@ -57,16 +57,16 @@ function pledge_payment_update_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testUpdatePledgePayment and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PledgePaymentTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PledgePaymentTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceFieldCreate.php b/api/v3/examples/PriceField/Create.php similarity index 85% rename from api/v3/examples/PriceFieldCreate.php rename to api/v3/examples/PriceField/Create.php index 6a48988e17..0e795d380a 100644 --- a/api/v3/examples/PriceFieldCreate.php +++ b/api/v3/examples/PriceField/Create.php @@ -68,16 +68,16 @@ function price_field_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreatePriceField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceFieldDelete.php b/api/v3/examples/PriceField/Delete.php similarity index 78% rename from api/v3/examples/PriceFieldDelete.php rename to api/v3/examples/PriceField/Delete.php index f592278701..81bf7ded9c 100644 --- a/api/v3/examples/PriceFieldDelete.php +++ b/api/v3/examples/PriceField/Delete.php @@ -42,16 +42,16 @@ function price_field_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeletePriceField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceFieldGet.php b/api/v3/examples/PriceField/Get.php similarity index 83% rename from api/v3/examples/PriceFieldGet.php rename to api/v3/examples/PriceField/Get.php index 82d8559211..45a6729bd7 100644 --- a/api/v3/examples/PriceFieldGet.php +++ b/api/v3/examples/PriceField/Get.php @@ -58,16 +58,16 @@ function price_field_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetBasicPriceField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceFieldValueCreate.php b/api/v3/examples/PriceFieldValue/Create.php similarity index 86% rename from api/v3/examples/PriceFieldValueCreate.php rename to api/v3/examples/PriceFieldValue/Create.php index 284949d445..7745993d5a 100644 --- a/api/v3/examples/PriceFieldValueCreate.php +++ b/api/v3/examples/PriceFieldValue/Create.php @@ -69,16 +69,16 @@ function price_field_value_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreatePriceFieldValuewithMultipleTerms and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceFieldValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceFieldValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceFieldValueDelete.php b/api/v3/examples/PriceFieldValue/Delete.php similarity index 79% rename from api/v3/examples/PriceFieldValueDelete.php rename to api/v3/examples/PriceFieldValue/Delete.php index 1b78e7df76..3db7479593 100644 --- a/api/v3/examples/PriceFieldValueDelete.php +++ b/api/v3/examples/PriceFieldValue/Delete.php @@ -42,16 +42,16 @@ function price_field_value_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeletePriceFieldValue and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceFieldValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceFieldValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceFieldValueGet.php b/api/v3/examples/PriceFieldValue/Get.php similarity index 83% rename from api/v3/examples/PriceFieldValueGet.php rename to api/v3/examples/PriceFieldValue/Get.php index 1673ca3ad8..743f7abd2a 100644 --- a/api/v3/examples/PriceFieldValueGet.php +++ b/api/v3/examples/PriceFieldValue/Get.php @@ -56,16 +56,16 @@ function price_field_value_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetBasicPriceFieldValue and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceFieldValueTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceFieldValueTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceSetCreate.php b/api/v3/examples/PriceSet/Create.php similarity index 86% rename from api/v3/examples/PriceSetCreate.php rename to api/v3/examples/PriceSet/Create.php index 86ed60f38a..41257e8f3c 100644 --- a/api/v3/examples/PriceSetCreate.php +++ b/api/v3/examples/PriceSet/Create.php @@ -66,16 +66,16 @@ function price_set_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreatePriceSet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceSetTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceSetTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceSetDelete.php b/api/v3/examples/PriceSet/Delete.php similarity index 78% rename from api/v3/examples/PriceSetDelete.php rename to api/v3/examples/PriceSet/Delete.php index f3b4856590..696554da0a 100644 --- a/api/v3/examples/PriceSetDelete.php +++ b/api/v3/examples/PriceSet/Delete.php @@ -42,16 +42,16 @@ function price_set_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeletePriceSet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceSetTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceSetTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceSetGet.php b/api/v3/examples/PriceSet/Get.php similarity index 82% rename from api/v3/examples/PriceSetGet.php rename to api/v3/examples/PriceSet/Get.php index 4b1b48dde3..713f077cf4 100644 --- a/api/v3/examples/PriceSetGet.php +++ b/api/v3/examples/PriceSet/Get.php @@ -54,16 +54,16 @@ function price_set_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetBasicPriceSet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceSetTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/PriceSetTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/PriceSetSet.php b/api/v3/examples/PriceSetSet.php deleted file mode 100644 index 3ee493991a..0000000000 --- a/api/v3/examples/PriceSetSet.php +++ /dev/null @@ -1,81 +0,0 @@ - 'civicrm_event', - 'entity_id' => 1, - 'name' => 'event price', - 'title' => 'event price', - 'extends' => 1, -); - -try{ - $result = civicrm_api3('price_set', 'set', $params); -} -catch (CiviCRM_API3_Exception $e) { - // handle error here - $errorMessage = $e->getMessage(); - $errorCode = $e->getErrorCode(); - $errorData = $e->getExtraParams(); - return array('error' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData); -} - -return $result; -} - -/** - * Function returns array of result expected from previous function - */ -function price_set_set_expectedresult(){ - - $expectedResult = array( - 'is_error' => 0, - 'version' => 3, - 'count' => 1, - 'id' => 16, - 'values' => array( - '16' => array( - 'id' => '16', - 'domain_id' => '', - 'name' => 'event price', - 'title' => 'event price', - 'is_active' => '', - 'help_pre' => '', - 'help_post' => '', - 'javascript' => '', - 'extends' => '1', - 'financial_type_id' => '', - 'is_quick_config' => '', - 'is_reserved' => '', - ), - ), -); - - return $expectedResult; -} - - -/* -* This example has been generated from the API test suite. The test that created it is called -* -* testEventPriceSet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceSetTest.php -* -* You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 -* -* To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ -* -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs -* -* Read more about testing here -* http://wiki.civicrm.org/confluence/display/CRM/Testing -* -* API Standards documentation: -* http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file diff --git a/api/v3/examples/ProfileApply.php b/api/v3/examples/Profile/Apply.php similarity index 87% rename from api/v3/examples/ProfileApply.php rename to api/v3/examples/Profile/Apply.php index 0f57e1d820..50fa56f9dd 100644 --- a/api/v3/examples/ProfileApply.php +++ b/api/v3/examples/Profile/Apply.php @@ -81,16 +81,16 @@ function profile_apply_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testProfileApply and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ProfileTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ProfileTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ProfileGet.php b/api/v3/examples/Profile/Get.php similarity index 88% rename from api/v3/examples/ProfileGet.php rename to api/v3/examples/Profile/Get.php index e33c015049..eb68a10078 100644 --- a/api/v3/examples/ProfileGet.php +++ b/api/v3/examples/Profile/Get.php @@ -79,16 +79,16 @@ function profile_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testProfileGetMultiple and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ProfileTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ProfileTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ProfileGetFields.php b/api/v3/examples/Profile/GetFields.php similarity index 95% rename from api/v3/examples/ProfileGetFields.php rename to api/v3/examples/Profile/GetFields.php index 5e6b5f0473..ecb4bb2ae8 100644 --- a/api/v3/examples/ProfileGetFields.php +++ b/api/v3/examples/Profile/GetFields.php @@ -203,16 +203,16 @@ function profile_getfields_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetFields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ProfileTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ProfileTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ProfileSubmit.php b/api/v3/examples/Profile/Submit.php similarity index 90% rename from api/v3/examples/ProfileSubmit.php rename to api/v3/examples/Profile/Submit.php index 05df843dae..a080f59167 100644 --- a/api/v3/examples/ProfileSubmit.php +++ b/api/v3/examples/Profile/Submit.php @@ -100,16 +100,16 @@ function profile_submit_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testProfileSubmit and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ProfileTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ProfileTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Relationship/BetweenRelationshipType.php b/api/v3/examples/Relationship/BetweenRelationshipType.php index ce263b9046..5b89a61fda 100644 --- a/api/v3/examples/Relationship/BetweenRelationshipType.php +++ b/api/v3/examples/Relationship/BetweenRelationshipType.php @@ -81,16 +81,16 @@ function relationship_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetTypeOperators and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/RelationshipCreate.php b/api/v3/examples/Relationship/Create.php similarity index 85% rename from api/v3/examples/RelationshipCreate.php rename to api/v3/examples/Relationship/Create.php index ff07700dc7..936f8b8412 100644 --- a/api/v3/examples/RelationshipCreate.php +++ b/api/v3/examples/Relationship/Create.php @@ -63,16 +63,16 @@ function relationship_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testRelationshipCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/RelationshipDelete.php b/api/v3/examples/Relationship/Delete.php similarity index 79% rename from api/v3/examples/RelationshipDelete.php rename to api/v3/examples/Relationship/Delete.php index 5460670fd0..21495601ac 100644 --- a/api/v3/examples/RelationshipDelete.php +++ b/api/v3/examples/Relationship/Delete.php @@ -42,16 +42,16 @@ function relationship_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testRelationshipDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/RelationshipGet.php b/api/v3/examples/Relationship/Get.php similarity index 83% rename from api/v3/examples/RelationshipGet.php rename to api/v3/examples/Relationship/Get.php index 85603ac531..0802c5a1f0 100644 --- a/api/v3/examples/RelationshipGet.php +++ b/api/v3/examples/Relationship/Get.php @@ -57,16 +57,16 @@ function relationship_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetWithCustom and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Relationship/INRelationshipType.php b/api/v3/examples/Relationship/INRelationshipType.php index ea7a9ac965..ab995846e2 100644 --- a/api/v3/examples/Relationship/INRelationshipType.php +++ b/api/v3/examples/Relationship/INRelationshipType.php @@ -70,16 +70,16 @@ function relationship_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetTypeOperators and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Relationship/NotBetweenRelationshipType.php b/api/v3/examples/Relationship/NotBetweenRelationshipType.php index 463dbb29fb..2ac80828ed 100644 --- a/api/v3/examples/Relationship/NotBetweenRelationshipType.php +++ b/api/v3/examples/Relationship/NotBetweenRelationshipType.php @@ -60,16 +60,16 @@ function relationship_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetTypeOperators and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Relationship/NotInRelationshipType.php b/api/v3/examples/Relationship/NotInRelationshipType.php index 26d9877d5d..716e6068ad 100644 --- a/api/v3/examples/Relationship/NotInRelationshipType.php +++ b/api/v3/examples/Relationship/NotInRelationshipType.php @@ -70,16 +70,16 @@ function relationship_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetTypeOperators and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Relationship/filterIsCurrent.php b/api/v3/examples/Relationship/filterIsCurrent.php index 9199531dca..7ba21e6575 100644 --- a/api/v3/examples/Relationship/filterIsCurrent.php +++ b/api/v3/examples/Relationship/filterIsCurrent.php @@ -57,16 +57,16 @@ function relationship_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetIsCurrent and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/RelationshipTypeCreate.php b/api/v3/examples/RelationshipType/Create.php similarity index 86% rename from api/v3/examples/RelationshipTypeCreate.php rename to api/v3/examples/RelationshipType/Create.php index a1c83dfdda..5756dd46c6 100644 --- a/api/v3/examples/RelationshipTypeCreate.php +++ b/api/v3/examples/RelationshipType/Create.php @@ -64,16 +64,16 @@ function relationship_type_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testRelationshipTypeCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/RelationshipTypeDelete.php b/api/v3/examples/RelationshipType/Delete.php similarity index 79% rename from api/v3/examples/RelationshipTypeDelete.php rename to api/v3/examples/RelationshipType/Delete.php index 6a538d4bca..dd81f5cc01 100644 --- a/api/v3/examples/RelationshipTypeDelete.php +++ b/api/v3/examples/RelationshipType/Delete.php @@ -42,16 +42,16 @@ function relationship_type_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testRelationshipTypeDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/RelationshipTypeTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/RelationshipTypeTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ReportTemplate/Getrows.php b/api/v3/examples/ReportTemplate/Getrows.php index 2acc3e86a3..298439eca7 100644 --- a/api/v3/examples/ReportTemplate/Getrows.php +++ b/api/v3/examples/ReportTemplate/Getrows.php @@ -73,16 +73,16 @@ function report_template_getrows_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testReportTemplateGetRowsContactSummary and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ReportTemplateTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ReportTemplateTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/ReportTemplate/Getstatistics.php b/api/v3/examples/ReportTemplate/Getstatistics.php index 701779ea1d..55f412f9a7 100644 --- a/api/v3/examples/ReportTemplate/Getstatistics.php +++ b/api/v3/examples/ReportTemplate/Getstatistics.php @@ -60,16 +60,16 @@ function report_template_getstatistics_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testReportTemplateGetStatisticsAllReports and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ReportTemplateTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ReportTemplateTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SettingCreate.php b/api/v3/examples/Setting/Create.php similarity index 80% rename from api/v3/examples/SettingCreate.php rename to api/v3/examples/Setting/Create.php index b5a337a500..7c4c742e4e 100644 --- a/api/v3/examples/SettingCreate.php +++ b/api/v3/examples/Setting/Create.php @@ -48,16 +48,16 @@ function setting_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSetting and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/CreateAllDomains.php b/api/v3/examples/Setting/CreateAllDomains.php index 8e1cc71ffa..e1e3df2134 100644 --- a/api/v3/examples/Setting/CreateAllDomains.php +++ b/api/v3/examples/Setting/CreateAllDomains.php @@ -53,16 +53,16 @@ function setting_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSettingMultipleDomains and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/CreateSettingCurrentDomain.php b/api/v3/examples/Setting/CreateSettingCurrentDomain.php index 95c6a3e748..50771cf43f 100644 --- a/api/v3/examples/Setting/CreateSettingCurrentDomain.php +++ b/api/v3/examples/Setting/CreateSettingCurrentDomain.php @@ -47,16 +47,16 @@ function setting_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSetting and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/CreateSpecifiedDomains.php b/api/v3/examples/Setting/CreateSpecifiedDomains.php index ced6602f96..cf69d0bd3e 100644 --- a/api/v3/examples/Setting/CreateSpecifiedDomains.php +++ b/api/v3/examples/Setting/CreateSpecifiedDomains.php @@ -53,16 +53,16 @@ function setting_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSettingMultipleDomains and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SettingGet.php b/api/v3/examples/Setting/Get.php similarity index 80% rename from api/v3/examples/SettingGet.php rename to api/v3/examples/Setting/Get.php index e00ef28be3..3a20440161 100644 --- a/api/v3/examples/SettingGet.php +++ b/api/v3/examples/Setting/Get.php @@ -48,16 +48,16 @@ function setting_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSetting and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/GetAllDomains.php b/api/v3/examples/Setting/GetAllDomains.php index dcf1fa8ac5..0a62bf56ed 100644 --- a/api/v3/examples/Setting/GetAllDomains.php +++ b/api/v3/examples/Setting/GetAllDomains.php @@ -53,16 +53,16 @@ function setting_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSettingMultipleDomains and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/GetDefaults.php b/api/v3/examples/Setting/GetDefaults.php index 4a9a404b3f..75c11cf9ea 100644 --- a/api/v3/examples/Setting/GetDefaults.php +++ b/api/v3/examples/Setting/GetDefaults.php @@ -52,16 +52,16 @@ function setting_getdefaults_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetDefaults and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SettingGetfields.php b/api/v3/examples/Setting/GetFields.php similarity index 99% rename from api/v3/examples/SettingGetfields.php rename to api/v3/examples/Setting/GetFields.php index cff321c4d8..63c158a0dc 100644 --- a/api/v3/examples/SettingGetfields.php +++ b/api/v3/examples/Setting/GetFields.php @@ -1468,16 +1468,16 @@ In the case of Drupal, this will cause all CiviCRM error messages to appear in t * This example has been generated from the API test suite. The test that created it is called * * testGetFields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/GetSettingCurrentDomain.php b/api/v3/examples/Setting/GetSettingCurrentDomain.php index c689047385..20317b13b1 100644 --- a/api/v3/examples/Setting/GetSettingCurrentDomain.php +++ b/api/v3/examples/Setting/GetSettingCurrentDomain.php @@ -47,16 +47,16 @@ function setting_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSetting and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Setting/GetSpecifiedDomains.php b/api/v3/examples/Setting/GetSpecifiedDomains.php index afa2601993..b112c5bb88 100644 --- a/api/v3/examples/Setting/GetSpecifiedDomains.php +++ b/api/v3/examples/Setting/GetSpecifiedDomains.php @@ -55,16 +55,16 @@ function setting_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSettingMultipleDomains and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SettingGetValue.php b/api/v3/examples/Setting/GetValue.php similarity index 79% rename from api/v3/examples/SettingGetValue.php rename to api/v3/examples/Setting/GetValue.php index 6455fa9e37..03c06fe56f 100644 --- a/api/v3/examples/SettingGetValue.php +++ b/api/v3/examples/Setting/GetValue.php @@ -38,16 +38,16 @@ function setting_getvalue_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetValue and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SettingRevert.php b/api/v3/examples/Setting/Revert.php similarity index 84% rename from api/v3/examples/SettingRevert.php rename to api/v3/examples/Setting/Revert.php index 5ae0d9d05a..19e4bd7ff6 100644 --- a/api/v3/examples/SettingRevert.php +++ b/api/v3/examples/Setting/Revert.php @@ -58,16 +58,16 @@ function setting_revert_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testRevert and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SettingTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SettingTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Survey/ChainedGetDelete.php b/api/v3/examples/Survey/ChainedGetDelete.php index 0a66195e0b..21e9c34137 100644 --- a/api/v3/examples/Survey/ChainedGetDelete.php +++ b/api/v3/examples/Survey/ChainedGetDelete.php @@ -63,16 +63,16 @@ function survey_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSurveyChainDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SurveyTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SurveyTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SurveyCreate.php b/api/v3/examples/Survey/Create.php similarity index 86% rename from api/v3/examples/SurveyCreate.php rename to api/v3/examples/Survey/Create.php index 1316211411..4d4051d7d2 100644 --- a/api/v3/examples/SurveyCreate.php +++ b/api/v3/examples/Survey/Create.php @@ -69,16 +69,16 @@ function survey_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateSurvey and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SurveyTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SurveyTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SurveyDelete.php b/api/v3/examples/Survey/Delete.php similarity index 78% rename from api/v3/examples/SurveyDelete.php rename to api/v3/examples/Survey/Delete.php index 224d160f70..39e1fd2887 100644 --- a/api/v3/examples/SurveyDelete.php +++ b/api/v3/examples/Survey/Delete.php @@ -42,16 +42,16 @@ function survey_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteSurvey and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SurveyTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SurveyTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SurveyGet.php b/api/v3/examples/Survey/Get.php similarity index 84% rename from api/v3/examples/SurveyGet.php rename to api/v3/examples/Survey/Get.php index cf32da54b7..9fbc176b57 100644 --- a/api/v3/examples/SurveyGet.php +++ b/api/v3/examples/Survey/Get.php @@ -59,16 +59,16 @@ function survey_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSurvey and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SurveyTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SurveyTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/SurveyRespondantGet.php b/api/v3/examples/SurveyRespondant/Get.php similarity index 79% rename from api/v3/examples/SurveyRespondantGet.php rename to api/v3/examples/SurveyRespondant/Get.php index 0fbf527433..8f0c63c0f8 100644 --- a/api/v3/examples/SurveyRespondantGet.php +++ b/api/v3/examples/SurveyRespondant/Get.php @@ -43,16 +43,16 @@ function survey_respondant_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetSurveyRespondants and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SurveyRespondantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SurveyRespondantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/System/Flush.php b/api/v3/examples/System/Flush.php index ecff546ee9..4eb8a620a7 100644 --- a/api/v3/examples/System/Flush.php +++ b/api/v3/examples/System/Flush.php @@ -40,16 +40,16 @@ function system_flush_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testFlush and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SystemTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/SystemTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/TagCreate.php b/api/v3/examples/Tag/Create.php similarity index 83% rename from api/v3/examples/TagCreate.php rename to api/v3/examples/Tag/Create.php index 1c40802ca7..f1fa7b5341 100644 --- a/api/v3/examples/TagCreate.php +++ b/api/v3/examples/Tag/Create.php @@ -57,16 +57,16 @@ function tag_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/TagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/TagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/TagDelete.php b/api/v3/examples/Tag/Delete.php similarity index 79% rename from api/v3/examples/TagDelete.php rename to api/v3/examples/Tag/Delete.php index 6566820ebf..68914b444c 100644 --- a/api/v3/examples/TagDelete.php +++ b/api/v3/examples/Tag/Delete.php @@ -42,16 +42,16 @@ function tag_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testTagDeleteCorrectSyntax and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/TagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/TagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/TagGet.php b/api/v3/examples/Tag/Get.php similarity index 83% rename from api/v3/examples/TagGet.php rename to api/v3/examples/Tag/Get.php index 0407024bf5..2dafb49ee0 100644 --- a/api/v3/examples/TagGet.php +++ b/api/v3/examples/Tag/Get.php @@ -55,16 +55,16 @@ function tag_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/TagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/TagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/TagGetfields.php b/api/v3/examples/Tag/Getfields.php similarity index 90% rename from api/v3/examples/TagGetfields.php rename to api/v3/examples/Tag/Getfields.php index 119f7c8d81..1eda500372 100644 --- a/api/v3/examples/TagGetfields.php +++ b/api/v3/examples/Tag/Getfields.php @@ -105,16 +105,16 @@ function tag_getfields_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testTagGetfields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/TagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/TagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Tag/getReturnArray.php b/api/v3/examples/Tag/getReturnArray.php index 73f7fe74ec..f582388a43 100644 --- a/api/v3/examples/Tag/getReturnArray.php +++ b/api/v3/examples/Tag/getReturnArray.php @@ -52,16 +52,16 @@ function tag_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetReturnArray and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/TagTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/TagTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFFieldCreate.php b/api/v3/examples/UFField/Create.php similarity index 86% rename from api/v3/examples/UFFieldCreate.php rename to api/v3/examples/UFField/Create.php index 25bf140212..8382d9f533 100644 --- a/api/v3/examples/UFFieldCreate.php +++ b/api/v3/examples/UFField/Create.php @@ -73,16 +73,16 @@ function uf_field_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateUFField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFFieldDelete.php b/api/v3/examples/UFField/Delete.php similarity index 79% rename from api/v3/examples/UFFieldDelete.php rename to api/v3/examples/UFField/Delete.php index eec876b795..b93207b15c 100644 --- a/api/v3/examples/UFFieldDelete.php +++ b/api/v3/examples/UFField/Delete.php @@ -42,16 +42,16 @@ function uf_field_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteUFField and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFFieldGet.php b/api/v3/examples/UFField/Get.php similarity index 84% rename from api/v3/examples/UFFieldGet.php rename to api/v3/examples/UFField/Get.php index 115aae9479..2395dc93d1 100644 --- a/api/v3/examples/UFFieldGet.php +++ b/api/v3/examples/UFField/Get.php @@ -59,16 +59,16 @@ function uf_field_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetUFFieldSuccess and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFFieldReplace.php b/api/v3/examples/UFField/Replace.php similarity index 92% rename from api/v3/examples/UFFieldReplace.php rename to api/v3/examples/UFField/Replace.php index 78e36c3359..76fa5084b5 100644 --- a/api/v3/examples/UFFieldReplace.php +++ b/api/v3/examples/UFField/Replace.php @@ -136,16 +136,16 @@ function uf_field_replace_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testReplaceUFFields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFFieldTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFFieldTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFGroupCreate.php b/api/v3/examples/UFGroup/Create.php similarity index 89% rename from api/v3/examples/UFGroupCreate.php rename to api/v3/examples/UFGroup/Create.php index 4805a7dd51..6458ffd03f 100644 --- a/api/v3/examples/UFGroupCreate.php +++ b/api/v3/examples/UFGroup/Create.php @@ -88,16 +88,16 @@ function uf_group_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testUFGroupCreate and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFGroupDelete.php b/api/v3/examples/UFGroup/Delete.php similarity index 78% rename from api/v3/examples/UFGroupDelete.php rename to api/v3/examples/UFGroup/Delete.php index a7ccd115ee..7c11095bfe 100644 --- a/api/v3/examples/UFGroupDelete.php +++ b/api/v3/examples/UFGroup/Delete.php @@ -42,16 +42,16 @@ function uf_group_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testUFGroupDelete and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFGroupGet.php b/api/v3/examples/UFGroup/Get.php similarity index 86% rename from api/v3/examples/UFGroupGet.php rename to api/v3/examples/UFGroup/Get.php index 3df549ce53..9711d93470 100644 --- a/api/v3/examples/UFGroupGet.php +++ b/api/v3/examples/UFGroup/Get.php @@ -68,16 +68,16 @@ function uf_group_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testUFGroupGet and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFGroupTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFGroupTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFJoinCreate.php b/api/v3/examples/UFJoin/Create.php similarity index 83% rename from api/v3/examples/UFJoinCreate.php rename to api/v3/examples/UFJoin/Create.php index e618b2a5f2..11d976380c 100644 --- a/api/v3/examples/UFJoinCreate.php +++ b/api/v3/examples/UFJoin/Create.php @@ -59,16 +59,16 @@ function uf_join_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateUFJoin and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFJoinTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFJoinTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFJoinGet.php b/api/v3/examples/UFJoin/Get.php similarity index 82% rename from api/v3/examples/UFJoinGet.php rename to api/v3/examples/UFJoin/Get.php index d51586f555..d56f326129 100644 --- a/api/v3/examples/UFJoinGet.php +++ b/api/v3/examples/UFJoin/Get.php @@ -55,16 +55,16 @@ function uf_join_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetUFJoinId and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFJoinTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFJoinTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/UFMatchGet.php b/api/v3/examples/UFMatch/Get.php similarity index 80% rename from api/v3/examples/UFMatchGet.php rename to api/v3/examples/UFMatch/Get.php index 61107cdecd..ca93d3f382 100644 --- a/api/v3/examples/UFMatchGet.php +++ b/api/v3/examples/UFMatch/Get.php @@ -50,16 +50,16 @@ function uf_match_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetUFID and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/UFMatchTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/UFMatchTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/WebsiteCreate.php b/api/v3/examples/Website/Create.php similarity index 81% rename from api/v3/examples/WebsiteCreate.php rename to api/v3/examples/Website/Create.php index 3e9906b0ce..b490c1707f 100644 --- a/api/v3/examples/WebsiteCreate.php +++ b/api/v3/examples/Website/Create.php @@ -52,16 +52,16 @@ function website_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateWebsite and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/WebsiteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/WebsiteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/WebsiteDelete.php b/api/v3/examples/Website/Delete.php similarity index 78% rename from api/v3/examples/WebsiteDelete.php rename to api/v3/examples/Website/Delete.php index d8c254168b..75daecd2eb 100644 --- a/api/v3/examples/WebsiteDelete.php +++ b/api/v3/examples/Website/Delete.php @@ -42,16 +42,16 @@ function website_delete_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testDeleteWebsite and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/WebsiteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/WebsiteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/WebsiteGet.php b/api/v3/examples/Website/Get.php similarity index 81% rename from api/v3/examples/WebsiteGet.php rename to api/v3/examples/Website/Get.php index 91e4050fef..7b98281ea6 100644 --- a/api/v3/examples/WebsiteGet.php +++ b/api/v3/examples/Website/Get.php @@ -52,16 +52,16 @@ function website_get_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetWebsite and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/WebsiteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/WebsiteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/WebsiteGetFields.php b/api/v3/examples/Website/GetFields.php similarity index 87% rename from api/v3/examples/WebsiteGetFields.php rename to api/v3/examples/Website/GetFields.php index 5e1669e5c7..baaa7f4f49 100644 --- a/api/v3/examples/WebsiteGetFields.php +++ b/api/v3/examples/Website/GetFields.php @@ -78,16 +78,16 @@ function website_getfields_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testGetFields and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/WebsiteTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/WebsiteTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing diff --git a/api/v3/examples/Website/GetWithLabelMetadata.php b/api/v3/examples/Website/GetWithMetadata.php similarity index 87% rename from api/v3/examples/Website/GetWithLabelMetadata.php rename to api/v3/examples/Website/GetWithMetadata.php index 650e99071d..262924e1bd 100644 --- a/api/v3/examples/Website/GetWithLabelMetadata.php +++ b/api/v3/examples/Website/GetWithMetadata.php @@ -1,7 +1,7 @@