updated examples
authorEileen <eileen@fuzion.co.nz>
Thu, 13 Feb 2014 00:55:49 +0000 (00:55 +0000)
committerEileen McNaughton <eileen@fuzion.co.nz>
Thu, 13 Feb 2014 01:07:58 +0000 (14:07 +1300)
230 files changed:
api/v3/examples/Activity/ContactRefCustomField.php
api/v3/examples/Activity/ContactRefCustomFieldGet.php
api/v3/examples/Activity/Create.php [moved from api/v3/examples/ActivityCreate.php with 88% similarity]
api/v3/examples/Activity/DateTimeHigh.php
api/v3/examples/Activity/DateTimeLow.php
api/v3/examples/Activity/Get.php [moved from api/v3/examples/ActivityGet.php with 85% similarity]
api/v3/examples/Activity/GetTargetandAssignee.php
api/v3/examples/Activity/Getfields.php [moved from api/v3/examples/ActivityGetfields.php with 96% similarity]
api/v3/examples/Activity/ReturnAssigneeContact.php
api/v3/examples/ActivityDelete.php [deleted file]
api/v3/examples/ActivityType/Create.php [moved from api/v3/examples/ActivityTypeCreate.php with 85% similarity]
api/v3/examples/ActivityType/Get.php [moved from api/v3/examples/ActivityTypeGet.php with 89% similarity]
api/v3/examples/Address/AddressLike.php
api/v3/examples/Address/AddressParse.php
api/v3/examples/Address/AddressSort.php
api/v3/examples/Address/Create.php [moved from api/v3/examples/AddressCreate.php with 85% similarity]
api/v3/examples/Address/Delete.php [moved from api/v3/examples/AddressDelete.php with 78% similarity]
api/v3/examples/Address/Get.php [moved from api/v3/examples/AddressGet.php with 84% similarity]
api/v3/examples/Batch/Create.php [moved from api/v3/examples/BatchCreate.php with 86% similarity]
api/v3/examples/Batch/Delete.php [moved from api/v3/examples/BatchDelete.php with 78% similarity]
api/v3/examples/Batch/Get.php [moved from api/v3/examples/BatchGet.php with 81% similarity]
api/v3/examples/Batch/Update.php [moved from api/v3/examples/BatchUpdate.php with 86% similarity]
api/v3/examples/Campaign/Create.php [moved from api/v3/examples/CampaignCreate.php with 86% similarity]
api/v3/examples/Campaign/Delete.php [moved from api/v3/examples/CampaignDelete.php with 78% similarity]
api/v3/examples/Campaign/Get.php [moved from api/v3/examples/CampaignGet.php with 83% similarity]
api/v3/examples/Constant/Get.php [moved from api/v3/examples/ConstantGet.php with 80% similarity]
api/v3/examples/Contact/APIChainedArray.php
api/v3/examples/Contact/APIChainedArrayFormats.php
api/v3/examples/Contact/APIChainedArrayMultipleCustom.php
api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php
api/v3/examples/Contact/ChainTwoWebsites.php
api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php
api/v3/examples/Contact/Create.php [moved from api/v3/examples/ContactCreate.php with 90% similarity]
api/v3/examples/Contact/CustomFieldCreate.php [deleted file]
api/v3/examples/Contact/CustomFieldGet.php
api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php
api/v3/examples/Contact/Delete.php [moved from api/v3/examples/ContactDelete.php with 78% similarity]
api/v3/examples/Contact/FormatIsSuccess_Fail.php
api/v3/examples/Contact/FormatIsSuccess_True.php
api/v3/examples/Contact/FormatOnlyID.php
api/v3/examples/Contact/FormatSingleValue.php
api/v3/examples/Contact/Get.php [moved from api/v3/examples/ContactGet.php with 89% similarity]
api/v3/examples/Contact/GetCountContact.php
api/v3/examples/Contact/GetFieldsOptions.php
api/v3/examples/Contact/GetSingleContact.php
api/v3/examples/Contact/Getoptions.php [moved from api/v3/examples/ContactGetoptions.php with 80% similarity]
api/v3/examples/Contact/GroupFilterUsingContactAPI.php
api/v3/examples/Contribution/ContributionCreateWithNote.php
api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php
api/v3/examples/Contribution/Create.php [moved from api/v3/examples/ContributionCreate.php with 88% similarity]
api/v3/examples/Contribution/CreateWithNestedLineItems.php
api/v3/examples/Contribution/Delete.php [moved from api/v3/examples/ContributionDelete.php with 79% similarity]
api/v3/examples/Contribution/Get.php [moved from api/v3/examples/ContributionGet.php with 90% similarity]
api/v3/examples/ContributionPage/Create.php [moved from api/v3/examples/ContributionPageCreate.php with 90% similarity]
api/v3/examples/ContributionPage/Delete.php [moved from api/v3/examples/ContributionPageDelete.php with 79% similarity]
api/v3/examples/ContributionPage/Get.php [moved from api/v3/examples/ContributionPageGet.php with 85% similarity]
api/v3/examples/ContributionRecur/Create.php [moved from api/v3/examples/ContributionRecurCreate.php with 88% similarity]
api/v3/examples/ContributionRecur/Delete.php [moved from api/v3/examples/ContributionRecurDelete.php with 79% similarity]
api/v3/examples/ContributionRecur/Get.php [moved from api/v3/examples/ContributionRecurGet.php with 84% similarity]
api/v3/examples/ContributionSoft/Create.php [moved from api/v3/examples/ContributionSoftCreate.php with 83% similarity]
api/v3/examples/ContributionSoft/Delete.php [moved from api/v3/examples/ContributionSoftDelete.php with 77% similarity]
api/v3/examples/ContributionSoft/Get.php [moved from api/v3/examples/ContributionSoftGet.php with 81% similarity]
api/v3/examples/CustomField/Create.php [moved from api/v3/examples/CustomFieldCreate.php with 88% similarity]
api/v3/examples/CustomField/Delete.php [moved from api/v3/examples/CustomFieldDelete.php with 78% similarity]
api/v3/examples/CustomGroup/Create.php [moved from api/v3/examples/CustomGroupCreate.php with 87% similarity]
api/v3/examples/CustomGroup/Delete.php [moved from api/v3/examples/CustomGroupDelete.php with 78% similarity]
api/v3/examples/CustomGroup/Get.php [moved from api/v3/examples/CustomGroupGet.php with 84% similarity]
api/v3/examples/CustomValue/Create.php [moved from api/v3/examples/CustomValueCreate.php with 79% similarity]
api/v3/examples/CustomValue/Get.php [moved from api/v3/examples/CustomValueGet.php with 88% similarity]
api/v3/examples/CustomValue/formatFieldName.php
api/v3/examples/Domain/Create.php [moved from api/v3/examples/DomainCreate.php with 83% similarity]
api/v3/examples/Domain/Get.php [moved from api/v3/examples/DomainGet.php with 95% similarity]
api/v3/examples/Email/Create.php [moved from api/v3/examples/EmailCreate.php with 84% similarity]
api/v3/examples/Email/Delete.php [moved from api/v3/examples/EmailDelete.php with 78% similarity]
api/v3/examples/Email/NestedReplaceEmail.php
api/v3/examples/Email/Replace.php [moved from api/v3/examples/EmailReplace.php with 92% similarity]
api/v3/examples/EntityTag/Create.php [moved from api/v3/examples/EntityTagCreate.php with 79% similarity]
api/v3/examples/EntityTag/Delete.php [moved from api/v3/examples/EntityTagDelete.php with 79% similarity]
api/v3/examples/EntityTag/Get.php [moved from api/v3/examples/EntityTagGet.php with 79% similarity]
api/v3/examples/Event/Create.php [moved from api/v3/examples/EventCreate.php with 93% similarity]
api/v3/examples/Event/Delete.php [moved from api/v3/examples/EventDelete.php with 78% similarity]
api/v3/examples/Event/Get.php [moved from api/v3/examples/EventGet.php with 87% similarity]
api/v3/examples/Event/IsCurrentOption.php
api/v3/examples/Event/IsFullOption.php
api/v3/examples/Grant/Create.php [moved from api/v3/examples/GrantCreate.php with 86% similarity]
api/v3/examples/Grant/Delete.php [moved from api/v3/examples/GrantDelete.php with 78% similarity]
api/v3/examples/Grant/Get.php [moved from api/v3/examples/GrantGet.php with 83% similarity]
api/v3/examples/Group/Get.php [moved from api/v3/examples/GroupGet.php with 89% similarity]
api/v3/examples/Group/getfields.php
api/v3/examples/GroupContact/Create.php [moved from api/v3/examples/GroupContactCreate.php with 80% similarity]
api/v3/examples/GroupContact/Delete.php [moved from api/v3/examples/GroupContactDelete.php with 79% similarity]
api/v3/examples/GroupContact/Get.php [moved from api/v3/examples/GroupContactGet.php with 82% similarity]
api/v3/examples/GroupContact/GetWithGroupID.php
api/v3/examples/GroupNesting/Create.php [moved from api/v3/examples/GroupNestingCreate.php with 80% similarity]
api/v3/examples/GroupNesting/Delete.php [moved from api/v3/examples/GroupNestingDelete.php with 78% similarity]
api/v3/examples/GroupNesting/Get.php [moved from api/v3/examples/GroupNestingGet.php with 80% similarity]
api/v3/examples/GroupOrganization/Create.php [moved from api/v3/examples/GroupOrganizationCreate.php with 80% similarity]
api/v3/examples/GroupOrganization/Delete.php [moved from api/v3/examples/GroupOrganizationDelete.php with 79% similarity]
api/v3/examples/GroupOrganization/Get.php [moved from api/v3/examples/GroupOrganizationGet.php with 79% similarity]
api/v3/examples/Im/Create.php [moved from api/v3/examples/ImCreate.php with 83% similarity]
api/v3/examples/Im/Delete.php [moved from api/v3/examples/ImDelete.php with 78% similarity]
api/v3/examples/Im/Get.php [moved from api/v3/examples/ImGet.php with 82% similarity]
api/v3/examples/Job/Create.php [moved from api/v3/examples/JobCreate.php with 86% similarity]
api/v3/examples/Job/Delete.php [moved from api/v3/examples/JobDelete.php with 78% similarity]
api/v3/examples/LineItem/Create.php [moved from api/v3/examples/LineItemCreate.php with 85% similarity]
api/v3/examples/LineItem/Delete.php [moved from api/v3/examples/LineItemDelete.php with 78% similarity]
api/v3/examples/LineItem/Get.php [moved from api/v3/examples/LineItemGet.php with 84% similarity]
api/v3/examples/LocBlock/Create.php [moved from api/v3/examples/LocBlockCreate.php with 82% similarity]
api/v3/examples/LocBlock/CreateEntities.php [moved from api/v3/examples/LocBlockCreateEntities.php with 91% similarity]
api/v3/examples/LocBlock/Get.php [moved from api/v3/examples/LocBlockGet.php with 86% similarity]
api/v3/examples/MailSettings/ChainedGetDelete.php
api/v3/examples/MailSettings/Create.php [moved from api/v3/examples/MailSettingsCreate.php with 85% similarity]
api/v3/examples/MailSettings/Delete.php [moved from api/v3/examples/MailSettingsDelete.php with 78% similarity]
api/v3/examples/MailSettings/Get.php [moved from api/v3/examples/MailSettingsGet.php with 84% similarity]
api/v3/examples/MailingCreate.php [deleted file]
api/v3/examples/MailingDelete.php [deleted file]
api/v3/examples/MailingGroup/Subscribe.php [moved from api/v3/examples/MailingGroupSubscribe.php with 82% similarity]
api/v3/examples/Membership/Create.php [moved from api/v3/examples/MembershipCreate.php with 86% similarity]
api/v3/examples/Membership/Delete.php [moved from api/v3/examples/MembershipDelete.php with 78% similarity]
api/v3/examples/Membership/Get.php [moved from api/v3/examples/MembershipGet.php with 85% similarity]
api/v3/examples/Membership/Update.php [moved from api/v3/examples/MembershipUpdate.php with 86% similarity]
api/v3/examples/Membership/filterIsCurrent.php
api/v3/examples/MembershipPayment/Create.php [moved from api/v3/examples/MembershipPaymentCreate.php with 81% similarity]
api/v3/examples/MembershipPayment/Get.php [moved from api/v3/examples/MembershipPaymentGet.php with 80% similarity]
api/v3/examples/MembershipStatus/Create.php [moved from api/v3/examples/MembershipStatusCreate.php with 84% similarity]
api/v3/examples/MembershipStatus/Get.php [moved from api/v3/examples/MembershipStatusGet.php with 83% similarity]
api/v3/examples/MembershipType/Create.php [moved from api/v3/examples/MembershipTypeCreate.php with 88% similarity]
api/v3/examples/MembershipType/Delete.php [moved from api/v3/examples/MembershipTypeDelete.php with 78% similarity]
api/v3/examples/MembershipType/Get.php [moved from api/v3/examples/MembershipTypeGet.php with 83% similarity]
api/v3/examples/MessageTemplate/Create.php [moved from api/v3/examples/MessageTemplateCreate.php with 84% similarity]
api/v3/examples/MessageTemplate/Delete.php [moved from api/v3/examples/MessageTemplateDelete.php with 78% similarity]
api/v3/examples/MessageTemplate/Get.php [moved from api/v3/examples/MessageTemplateGet.php with 84% similarity]
api/v3/examples/Note/Create.php [moved from api/v3/examples/NoteCreate.php with 84% similarity]
api/v3/examples/Note/Delete.php [moved from api/v3/examples/NoteDelete.php with 78% similarity]
api/v3/examples/Note/Get.php [moved from api/v3/examples/NoteGet.php with 83% similarity]
api/v3/examples/OptionGroup/Create.php [moved from api/v3/examples/OptionGroupCreate.php with 84% similarity]
api/v3/examples/OptionGroup/Delete.php [moved from api/v3/examples/OptionGroupDelete.php with 79% similarity]
api/v3/examples/OptionGroup/Get.php [moved from api/v3/examples/OptionGroupGet.php with 82% similarity]
api/v3/examples/OptionValue/Get.php [moved from api/v3/examples/OptionValueGet.php with 89% similarity]
api/v3/examples/OptionValue/SortOption.php
api/v3/examples/Participant/Create.php [moved from api/v3/examples/ParticipantCreate.php with 86% similarity]
api/v3/examples/Participant/CreateParticipantPayment.php
api/v3/examples/Participant/Get.php [moved from api/v3/examples/ParticipantGet.php with 88% similarity]
api/v3/examples/Participant/NestedDelete.php
api/v3/examples/Participant/NestedEventGet.php
api/v3/examples/ParticipantPayment/Create.php [moved from api/v3/examples/ParticipantPaymentCreate.php with 81% similarity]
api/v3/examples/ParticipantPayment/Delete.php [moved from api/v3/examples/ParticipantPaymentDelete.php with 78% similarity]
api/v3/examples/ParticipantPayment/Get.php [moved from api/v3/examples/ParticipantPaymentGet.php with 80% similarity]
api/v3/examples/ParticipantStatusType/Create.php [moved from api/v3/examples/ParticipantStatusTypeCreate.php with 84% similarity]
api/v3/examples/ParticipantStatusType/Delete.php [moved from api/v3/examples/ParticipantStatusTypeDelete.php with 79% similarity]
api/v3/examples/ParticipantStatusType/Get.php [moved from api/v3/examples/ParticipantStatusTypeGet.php with 84% similarity]
api/v3/examples/PaymentProcessor/Create.php [moved from api/v3/examples/PaymentProcessorCreate.php with 86% similarity]
api/v3/examples/PaymentProcessor/Delete.php [moved from api/v3/examples/PaymentProcessorDelete.php with 79% similarity]
api/v3/examples/PaymentProcessorType/Create.php [moved from api/v3/examples/PaymentProcessorTypeCreate.php with 87% similarity]
api/v3/examples/PaymentProcessorType/Delete.php [moved from api/v3/examples/PaymentProcessorTypeDelete.php with 79% similarity]
api/v3/examples/Phone/Create.php [moved from api/v3/examples/PhoneCreate.php with 84% similarity]
api/v3/examples/Phone/Delete.php [moved from api/v3/examples/PhoneDelete.php with 78% similarity]
api/v3/examples/Phone/Get.php [moved from api/v3/examples/PhoneGet.php with 82% similarity]
api/v3/examples/Pledge/Create.php [moved from api/v3/examples/PledgeCreate.php with 85% similarity]
api/v3/examples/Pledge/Delete.php [moved from api/v3/examples/PledgeDelete.php with 79% similarity]
api/v3/examples/Pledge/Get.php [moved from api/v3/examples/PledgeGet.php with 82% similarity]
api/v3/examples/Pledge/GetFilterHighDate.php
api/v3/examples/PledgePayment/Create.php [moved from api/v3/examples/PledgePaymentCreate.php with 84% similarity]
api/v3/examples/PledgePayment/Delete.php [moved from api/v3/examples/PledgePaymentDelete.php with 79% similarity]
api/v3/examples/PledgePayment/Get.php [moved from api/v3/examples/PledgePaymentGet.php with 88% similarity]
api/v3/examples/PledgePayment/Update.php [moved from api/v3/examples/PledgePaymentUpdate.php with 83% similarity]
api/v3/examples/PriceField/Create.php [moved from api/v3/examples/PriceFieldCreate.php with 85% similarity]
api/v3/examples/PriceField/Delete.php [moved from api/v3/examples/PriceFieldDelete.php with 78% similarity]
api/v3/examples/PriceField/Get.php [moved from api/v3/examples/PriceFieldGet.php with 83% similarity]
api/v3/examples/PriceFieldValue/Create.php [moved from api/v3/examples/PriceFieldValueCreate.php with 86% similarity]
api/v3/examples/PriceFieldValue/Delete.php [moved from api/v3/examples/PriceFieldValueDelete.php with 79% similarity]
api/v3/examples/PriceFieldValue/Get.php [moved from api/v3/examples/PriceFieldValueGet.php with 83% similarity]
api/v3/examples/PriceSet/Create.php [moved from api/v3/examples/PriceSetCreate.php with 86% similarity]
api/v3/examples/PriceSet/Delete.php [moved from api/v3/examples/PriceSetDelete.php with 78% similarity]
api/v3/examples/PriceSet/Get.php [moved from api/v3/examples/PriceSetGet.php with 82% similarity]
api/v3/examples/PriceSetSet.php [deleted file]
api/v3/examples/Profile/Apply.php [moved from api/v3/examples/ProfileApply.php with 87% similarity]
api/v3/examples/Profile/Get.php [moved from api/v3/examples/ProfileGet.php with 88% similarity]
api/v3/examples/Profile/GetFields.php [moved from api/v3/examples/ProfileGetFields.php with 95% similarity]
api/v3/examples/Profile/Submit.php [moved from api/v3/examples/ProfileSubmit.php with 90% similarity]
api/v3/examples/Relationship/BetweenRelationshipType.php
api/v3/examples/Relationship/Create.php [moved from api/v3/examples/RelationshipCreate.php with 85% similarity]
api/v3/examples/Relationship/Delete.php [moved from api/v3/examples/RelationshipDelete.php with 79% similarity]
api/v3/examples/Relationship/Get.php [moved from api/v3/examples/RelationshipGet.php with 83% similarity]
api/v3/examples/Relationship/INRelationshipType.php
api/v3/examples/Relationship/NotBetweenRelationshipType.php
api/v3/examples/Relationship/NotInRelationshipType.php
api/v3/examples/Relationship/filterIsCurrent.php
api/v3/examples/RelationshipType/Create.php [moved from api/v3/examples/RelationshipTypeCreate.php with 86% similarity]
api/v3/examples/RelationshipType/Delete.php [moved from api/v3/examples/RelationshipTypeDelete.php with 79% similarity]
api/v3/examples/ReportTemplate/Getrows.php
api/v3/examples/ReportTemplate/Getstatistics.php
api/v3/examples/Setting/Create.php [moved from api/v3/examples/SettingCreate.php with 80% similarity]
api/v3/examples/Setting/CreateAllDomains.php
api/v3/examples/Setting/CreateSettingCurrentDomain.php
api/v3/examples/Setting/CreateSpecifiedDomains.php
api/v3/examples/Setting/Get.php [moved from api/v3/examples/SettingGet.php with 80% similarity]
api/v3/examples/Setting/GetAllDomains.php
api/v3/examples/Setting/GetDefaults.php
api/v3/examples/Setting/GetFields.php [moved from api/v3/examples/SettingGetfields.php with 99% similarity]
api/v3/examples/Setting/GetSettingCurrentDomain.php
api/v3/examples/Setting/GetSpecifiedDomains.php
api/v3/examples/Setting/GetValue.php [moved from api/v3/examples/SettingGetValue.php with 79% similarity]
api/v3/examples/Setting/Revert.php [moved from api/v3/examples/SettingRevert.php with 84% similarity]
api/v3/examples/Survey/ChainedGetDelete.php
api/v3/examples/Survey/Create.php [moved from api/v3/examples/SurveyCreate.php with 86% similarity]
api/v3/examples/Survey/Delete.php [moved from api/v3/examples/SurveyDelete.php with 78% similarity]
api/v3/examples/Survey/Get.php [moved from api/v3/examples/SurveyGet.php with 84% similarity]
api/v3/examples/SurveyRespondant/Get.php [moved from api/v3/examples/SurveyRespondantGet.php with 79% similarity]
api/v3/examples/System/Flush.php
api/v3/examples/Tag/Create.php [moved from api/v3/examples/TagCreate.php with 83% similarity]
api/v3/examples/Tag/Delete.php [moved from api/v3/examples/TagDelete.php with 79% similarity]
api/v3/examples/Tag/Get.php [moved from api/v3/examples/TagGet.php with 83% similarity]
api/v3/examples/Tag/Getfields.php [moved from api/v3/examples/TagGetfields.php with 90% similarity]
api/v3/examples/Tag/getReturnArray.php
api/v3/examples/UFField/Create.php [moved from api/v3/examples/UFFieldCreate.php with 86% similarity]
api/v3/examples/UFField/Delete.php [moved from api/v3/examples/UFFieldDelete.php with 79% similarity]
api/v3/examples/UFField/Get.php [moved from api/v3/examples/UFFieldGet.php with 84% similarity]
api/v3/examples/UFField/Replace.php [moved from api/v3/examples/UFFieldReplace.php with 92% similarity]
api/v3/examples/UFGroup/Create.php [moved from api/v3/examples/UFGroupCreate.php with 89% similarity]
api/v3/examples/UFGroup/Delete.php [moved from api/v3/examples/UFGroupDelete.php with 78% similarity]
api/v3/examples/UFGroup/Get.php [moved from api/v3/examples/UFGroupGet.php with 86% similarity]
api/v3/examples/UFJoin/Create.php [moved from api/v3/examples/UFJoinCreate.php with 83% similarity]
api/v3/examples/UFJoin/Get.php [moved from api/v3/examples/UFJoinGet.php with 82% similarity]
api/v3/examples/UFMatch/Get.php [moved from api/v3/examples/UFMatchGet.php with 80% similarity]
api/v3/examples/Website/Create.php [moved from api/v3/examples/WebsiteCreate.php with 81% similarity]
api/v3/examples/Website/Delete.php [moved from api/v3/examples/WebsiteDelete.php with 78% similarity]
api/v3/examples/Website/Get.php [moved from api/v3/examples/WebsiteGet.php with 81% similarity]
api/v3/examples/Website/GetFields.php [moved from api/v3/examples/WebsiteGetFields.php with 87% similarity]
api/v3/examples/Website/GetWithMetadata.php [moved from api/v3/examples/Website/GetWithLabelMetadata.php with 87% similarity]

index 2b027d5f0b756a0ae965676118ef31401bb1a410..91e13e1b8f20397c3a4c235f8b60168cce4ceb04 100644 (file)
@@ -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
index cbc1cabd11cc5baf3515a5c5d5faf9721cf5c225..2ecd6bccf16cf7b79f1a4cd96aaf4a60c15a91d0 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/ActivityCreate.php
rename to api/v3/examples/Activity/Create.php
index 722110f0966fac00af36ccaec4857a62b46d52d9..72d04883ba94a7543a865737fdc319f710ee6ce4 100644 (file)
@@ -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
index 7d5642e9fdd988d2b93f74b86457f5074e892563..f31c76d95faec5801e8a02598ac0d25211a3147b 100644 (file)
@@ -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
index 57fc1efd35338a92374c37c8c56b262d32cbacd5..9032908788b156ab14e3d72acbefc20209ce265c 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/ActivityGet.php
rename to api/v3/examples/Activity/Get.php
index d26b11da93630f8d56df367d127a2f1e22c2ac61..ea6fe81f8f033e15fb85eb479c551ab847c1d7e3 100644 (file)
@@ -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
index 9798b3e8725662be0da1944bd7849d64f1750a18..98d33e59144236db91b2ad997f640163e5f27d9c 100644 (file)
@@ -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
similarity index 96%
rename from api/v3/examples/ActivityGetfields.php
rename to api/v3/examples/Activity/Getfields.php
index 14ec4f1799e40df6eb40da37f8764ddae84ed0ed..f8957925b3160d99d3416184bb37abc09d122ea0 100644 (file)
@@ -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
index e1a1cef84e45679a5dcb55745b800963f4dd07e4..31aee3161c8b34b65f6456f1a6a1f9eea96c4d8a 100644 (file)
@@ -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 (file)
index a12b926..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-/**
- * Test Generated example of using activity delete API
- * *
- */
-function activity_delete_example(){
-$params = array(
-  'id' => 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
-*/
similarity index 85%
rename from api/v3/examples/ActivityTypeCreate.php
rename to api/v3/examples/ActivityType/Create.php
index ab54fef0695a5a835375146082e63474be5d759a..939f94053a591e461ac55d2f96a296f17e581715 100644 (file)
@@ -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
similarity index 89%
rename from api/v3/examples/ActivityTypeGet.php
rename to api/v3/examples/ActivityType/Get.php
index 7db5bde5ece7dda5903fa3812205cd0f7e4b51f7..1be34af90579ccee8bebcb536ed88ba416ad5d60 100644 (file)
@@ -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
index 23ebfdfe0b5db261aac3737e60071dd931af745b..f79170c2a72e0059b4b01f3fd6ace6ffb0f31b11 100644 (file)
@@ -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
index 3264a9779e1d73a7a0b49d8a303d5a4c93febe6a..70b23ffaf1a554a6b0c87a06535a9e5fb0395754 100644 (file)
@@ -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
index cd80828af674153ccc13cbb2d3b6b159af84b7fc..661f045a448737f99e44ac2f183569fdab75f0bc 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/AddressCreate.php
rename to api/v3/examples/Address/Create.php
index c60211fbc6732b660a5e7c768ff844d0bd25368d..4bf7651c31b8090e4971dfdbba58ddaeaf0c18fc 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/AddressDelete.php
rename to api/v3/examples/Address/Delete.php
index 6a36efb6d8311c067b037038b1a25caf185384dd..f7f05957121692e5c30db752f23c5a00203ed9ae 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/AddressGet.php
rename to api/v3/examples/Address/Get.php
index 48af478645e3f76861ffce35f636899bac966f34..668815c8150c927d30087d6bd513d220891aa045 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/BatchCreate.php
rename to api/v3/examples/Batch/Create.php
index af01a81a450f5475bae00a753fd42a8ef284f9be..abc7aa1ae87169cc78b26efdf44db9d7f6de5d8b 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/BatchDelete.php
rename to api/v3/examples/Batch/Delete.php
index 105f9759804562d7b1e5b39833bcbdeb23fbc7b9..04c5786a41929180e893c4cb57d07a6d48f3c728 100644 (file)
@@ -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
similarity index 81%
rename from api/v3/examples/BatchGet.php
rename to api/v3/examples/Batch/Get.php
index 35b0b9bba68c23436e088040485300f0e8a8a6d5..a7c2bedfe035c797c20e609fe5ace692005b4ae0 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/BatchUpdate.php
rename to api/v3/examples/Batch/Update.php
index 110a199ce02acafe40c7adb2fa813571fba2c495..988677ff79d7477b318e9b18c24f02f256f076df 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/CampaignCreate.php
rename to api/v3/examples/Campaign/Create.php
index b4ddb16da0febd663c6ec429bbf117038fd38cbd..db10057f56dedfa87ec9ec12665a0ec004370827 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/CampaignDelete.php
rename to api/v3/examples/Campaign/Delete.php
index a646cf72b149670380c4010a2538ac6b77ce7458..2ff722001fad09e33c61ece14e791073ca7d5c3c 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/CampaignGet.php
rename to api/v3/examples/Campaign/Get.php
index 8ff149f39c796293b86f06a5ad249b619923ea9f..de1cb1423c2775080e648059996f3378ba7e4614 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/ConstantGet.php
rename to api/v3/examples/Constant/Get.php
index c3032cfacd4c45ece6caaba0bb5699c32a485af0..a48977eaab4e48e0dc31a289ef1b8e816ce7aabe 100644 (file)
@@ -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
index 6cbb0ccddb5a76467ad7b96e97465fa97fb03374..c8192438ade4264ece719eca4b122fad73c2eb82 100644 (file)
@@ -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
index 746edf5bea03071c1b2c5dd4e7e4252c7135fec3..a29e0bb2a70e571514e8388dfd4f910bd1a9e23e 100644 (file)
@@ -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
index 12f0a14e2abee6bcc2f81285fe488b4a714f77ea..0f1f7985270529eada03a186f89fe58e2ff872b8 100644 (file)
@@ -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
index 82a07fa5ffa6fa21eb902562f2cd16251a204620..98d5eb98f6ae7f6fef936e5beae09e681b11dfce 100644 (file)
@@ -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
index 635069251dabc5cd2e27f473ae72d0df6efa33c9..e80068fba3435a4ec262c143066b5b12dd07b0f2 100644 (file)
@@ -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
index e5233017edb38fff6e4f0dca13bd3c272b4c881a..5e3955192eac29b4daa2a05a16b5faa647aa4fd2 100644 (file)
@@ -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
similarity index 90%
rename from api/v3/examples/ContactCreate.php
rename to api/v3/examples/Contact/Create.php
index abe8f2c244cf481436bc63d894fbc3d2f6cf1c09..156fc3679915a2c436f81bfcaaa6a4d4cd64b255 100644 (file)
@@ -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 (file)
index 1e885ef..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php
-/**
- * Test Generated example of using contact create API
- * /*this demonstrates setting a custom field through the API  *
- */
-function contact_create_example(){
-$params = array(
-  'first_name' => '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
index c9ae23ae445f5a47d7c31998c0428056e66e8023..14a0fccf3b67071317906d346c27605f49228fb0 100644 (file)
@@ -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
index 59c8ee741546eefdc8edd76f64367e2e468d99a3..9ee0fbe8f4932f3dfec54568413bc869ea88f16e 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/ContactDelete.php
rename to api/v3/examples/Contact/Delete.php
index 6a4923da518a4dd1477755d92ebabfba550eb97f..e845ca0b55521cf7e16e2350a294065d5f634a7d 100644 (file)
@@ -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
index 60dad237bea97bf53ba5eb3d4ee472b8b0932aa5..c8241ae9fcaebb56e4ef50c1d664368e2ab0c27e 100644 (file)
@@ -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
index d8c13321fb76763030f1097c0c2708e3b9e706fd..0c57c1262c8c7928d139868688b6aa2c08e3c49a 100644 (file)
@@ -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
index b63433735b41c0ec4cebe210de06adac7c4be8ba..641e8b3ea209a96c76f3b72d7e44fb3f8373de65 100644 (file)
@@ -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
index 65cd12fc95d21b350853102ff93e08a3537869ac..18c620057103821d211fbd59b43d971fc7907546 100644 (file)
@@ -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
similarity index 89%
rename from api/v3/examples/ContactGet.php
rename to api/v3/examples/Contact/Get.php
index 7101dbfe2e84b4412b6abd731dd2a64057535804..aef472d508f87054f9591ceb5c51f839c270c1c8 100644 (file)
@@ -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
index d7af5c027b6723ab1f72353bd21fa1049023baa1..466acc181ada28d8bd0124e1a31ad6956f9b6e02 100644 (file)
@@ -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
index e41ec7d2818ea30a730feaf5312f851c6495418c..0064ac6cc4e7e5759dc7da295298218ddc409944 100644 (file)
@@ -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
index 3c5766582e54d2b8ade8b32148eaad2db6daf285..d0d1f09b1e4a43a723fb88cef8d7fedafe01dfe1 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/ContactGetoptions.php
rename to api/v3/examples/Contact/Getoptions.php
index bb2b39207277639b08ba0b4c666413ea00f74fc4..23997f5a6369ad96c3e5da7b7ecebf516fb3879b 100644 (file)
@@ -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
index 01b837bfb0c6b1805a289ac948ef508ff7f3b26a..da32f8f530601adc328ca2bf261e69081acac24d 100644 (file)
@@ -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
index 2979fac39ff58cf53e52949f9e428e7cf3db7f72..9e621e7084592da29436988c8061ae23c5ddc2db 100644 (file)
@@ -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
index a96330fae5eeac1b03bfefc3764c350dbb3f8228..b020e08d1903a57e5a850ff3f404d98356596d76 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/ContributionCreate.php
rename to api/v3/examples/Contribution/Create.php
index 8cbbf75319d830b35317206cb3b2a92d874bf7b6..abf63b72602874dc8f11c80cab81b582af5c0859 100644 (file)
@@ -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
index 48237f9b2bb6a727281a9a650fbd7bdf4b5a4b55..04e5644e780c739d27f8026f3c4fd4a1695dc4a0 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/ContributionDelete.php
rename to api/v3/examples/Contribution/Delete.php
index c144e2e4bdd3c915fe6351504e0f3bac39d4ce90..5db15956624e3604565e497b3f13c0afcbdfbf68 100644 (file)
@@ -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
similarity index 90%
rename from api/v3/examples/ContributionGet.php
rename to api/v3/examples/Contribution/Get.php
index 7d6f41f9a614046733e8c2fbc9cbf10de1c54e8b..d53cb686c04e5fffd315fc85e221dbe1aed8c5cb 100644 (file)
@@ -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
similarity index 90%
rename from api/v3/examples/ContributionPageCreate.php
rename to api/v3/examples/ContributionPage/Create.php
index 9b2d5191eb837654680f19d685bf66884480c7bb..3d81974c64fcada48de9f4c56281d5c5a4046930 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/ContributionPageDelete.php
rename to api/v3/examples/ContributionPage/Delete.php
index 2e214f900cefa6bce4c10fcbef95c7f0e18ec745..71a3fe74fc9297857d3770c41fadd9c127c5bb5d 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/ContributionPageGet.php
rename to api/v3/examples/ContributionPage/Get.php
index ae3d93b2ece3f9240c6f08a8c1842b71924591ca..3dd5f3b17953cffa6f67c1dfd5199b2d3267e949 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/ContributionRecurCreate.php
rename to api/v3/examples/ContributionRecur/Create.php
index 43ffe3c8664b2dcc1b807edbb468335ae5ac2fc3..4fcb5e025cab6f75537c60a45d99253a7eb069d3 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/ContributionRecurDelete.php
rename to api/v3/examples/ContributionRecur/Delete.php
index 395e42e487357be3c37d873e9a7ad3d948bd53e6..b104226df9a95bdfd2b9fd18a07d9527872c36cd 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/ContributionRecurGet.php
rename to api/v3/examples/ContributionRecur/Get.php
index c2454c6cf206912785a08c9e2e467fa5011bdee1..d9ae74745fff66c514631f96b1c848dca6e038c3 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/ContributionSoftCreate.php
rename to api/v3/examples/ContributionSoft/Create.php
index f9120ee8d90be876075255ed5b9e1e5fefbcabf9..185266bdcca7a73c0f2deced7fdc5a9e883b3f88 100644 (file)
@@ -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
similarity index 77%
rename from api/v3/examples/ContributionSoftDelete.php
rename to api/v3/examples/ContributionSoft/Delete.php
index 9a5fb94446179719dd5ce456d5d67fe5c0acba6d..c8c6f6e6d984062584dfcf70b0e24e9c37990ccf 100644 (file)
@@ -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
similarity index 81%
rename from api/v3/examples/ContributionSoftGet.php
rename to api/v3/examples/ContributionSoft/Get.php
index 5bff00d7708c3e1a2fa1ca173e01c1d0952f1d9e..ce3429449eca69775188d3f6682003d74006b4dc 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/CustomFieldCreate.php
rename to api/v3/examples/CustomField/Create.php
index 001e47b2a4e933d6d9b4502efd275c9a127ccd66..10f776036186b0e5272bf7b07bc16efdde1c29ff 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/CustomFieldDelete.php
rename to api/v3/examples/CustomField/Delete.php
index 5900f0f9336969fd388574c244a517351008f27a..f8ae1d5f47be07fcd491918b342960170531fc2b 100644 (file)
@@ -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
similarity index 87%
rename from api/v3/examples/CustomGroupCreate.php
rename to api/v3/examples/CustomGroup/Create.php
index 3dc77441d7115af3345fd25aa679beb56927ad1e..a78eb124cc9ddae751a3b31cfadcf555ea170307 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/CustomGroupDelete.php
rename to api/v3/examples/CustomGroup/Delete.php
index 70096253bbeefa0d4a06b1220677e96ac7923089..e2ff22aaa74fee864b4438fee5358e70fe7337a8 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/CustomGroupGet.php
rename to api/v3/examples/CustomGroup/Get.php
index d94d3d2ba68c8f5ca0887d939d0dd75cd5a89812..417295207d2fb3a1b44e5acb7cdb97cf3121ae4a 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/CustomValueCreate.php
rename to api/v3/examples/CustomValue/Create.php
index a9e0bd2c3181643ef28b406b7930321b55344c0f..18d85519c910e233e5a0962a20ff839fffc81081 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/CustomValueGet.php
rename to api/v3/examples/CustomValue/Get.php
index 8c32d184e16bd055e9df90dc32c62cf05e084243..2cc9c048abeff64826e8b5a472b1f2e35b72cd46 100644 (file)
@@ -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
index d922746cbd343ec711b7b6cfc54ba12bf37d6ccc..82e6f157dea55abf51fb98212beb794b0b309503 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/DomainCreate.php
rename to api/v3/examples/Domain/Create.php
index aa1bdeea0e5661f6c9e8832a1f54131e83fe83cc..d0265f65f439909102af06294f41b2ee93c09b95 100644 (file)
@@ -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
similarity index 95%
rename from api/v3/examples/DomainGet.php
rename to api/v3/examples/Domain/Get.php
index 11a7dd89bf7300d2eabd7972ccf40bca5197c1c2..1568667579ba3970fe14cf70b490163eca89263b 100644 (file)
@@ -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\" <domainemail2@example.org>',
@@ -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
similarity index 84%
rename from api/v3/examples/EmailCreate.php
rename to api/v3/examples/Email/Create.php
index 31e4e5e08fda686c5ef161354168b476cc20c4fb..62f85de66f2b666f14bf2e99c05006dc8155281b 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/EmailDelete.php
rename to api/v3/examples/Email/Delete.php
index f6baf60399866d8830ca35252c6a0bc27fc3c473..c76f539ad893b10611962140dec8cd6e8cc53ab2 100644 (file)
@@ -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
index 1ddd76698837c1580cf3fd38390434f866257fcd..7c1c17eb57453840bdf2c3cef6fc0cdf6b78abfc 100644 (file)
@@ -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
similarity index 92%
rename from api/v3/examples/EmailReplace.php
rename to api/v3/examples/Email/Replace.php
index b41733b31661aa0ace7f02914f2bc734ce2bf89f..f6b95fb5534777a2f884202deb15f64877ed30fb 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/EntityTagCreate.php
rename to api/v3/examples/EntityTag/Create.php
index 0ac14b3b47943554227099ce0d1fd4edbe31d1a1..bce9448343c28208869fc99da1dd056087da3274 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/EntityTagDelete.php
rename to api/v3/examples/EntityTag/Delete.php
index fb12f231bdd36f2bde31ddca3e26d3166867c576..908982a7371285c725c32231a0136beec12cedb2 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/EntityTagGet.php
rename to api/v3/examples/EntityTag/Get.php
index cf8b0333623bf7bd66b285c038512c4c98645fa4..9124d42310ef6481ff3cef1acc51b674eb41baa8 100644 (file)
@@ -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
similarity index 93%
rename from api/v3/examples/EventCreate.php
rename to api/v3/examples/Event/Create.php
index 49b68a5aff85306af5a7a9afaa08ab32a4dec01f..0d74e3130bad8f592a1e0f308f00edb461c24ce5 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/EventDelete.php
rename to api/v3/examples/Event/Delete.php
index f53763900331fa97503369848a8cd2f52b501a85..72b1b8f59ee1622d3c4251559d52705b293a24c2 100644 (file)
@@ -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
similarity index 87%
rename from api/v3/examples/EventGet.php
rename to api/v3/examples/Event/Get.php
index 2a5ba2051a1b4ced5fc04f6befaeb2ff2788e6fc..44ccba834aa9bef4b86446813ed22cb58e036d12 100644 (file)
@@ -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
index 87580daf020b82b1f2e0c6133ed09264cd73c10a..696b451d203383e38b652e6243e8d20c9f3ddf0a 100644 (file)
@@ -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
index ee4ab7be563e1c954c3f721132fd2bfaf00f563b..b12cddd3a2fb8c48da45cc85ada1884794db90d9 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/GrantCreate.php
rename to api/v3/examples/Grant/Create.php
index bc0e60045f9e4ba656dce53ff92f491a812bc28c..9c118cbb20ea961d0aa6dc767dce7d01901d6bab 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/GrantDelete.php
rename to api/v3/examples/Grant/Delete.php
index a0a8d91956e9c2666ae496a832453dd778aec2b3..85488c5674bd73a8221007cce7127d65c5ff6a93 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/GrantGet.php
rename to api/v3/examples/Grant/Get.php
index 80c12b812ceb819b9571ee856a106a47385260b8..8b4597cd4b5a4081df1b3ab149e871f770b37bec 100644 (file)
@@ -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
similarity index 89%
rename from api/v3/examples/GroupGet.php
rename to api/v3/examples/Group/Get.php
index 4256303445839b297c80dd40cdffbc69853b2f38..10b10b28ed86171de465ba5a19129afc0eb6e0e8 100644 (file)
@@ -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
index 176477e12bfc281c985600da72a3f873c298627e..490f2c7f0a83e772eb36cee0efa7689fa9238de5 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/GroupContactCreate.php
rename to api/v3/examples/GroupContact/Create.php
index 0ca453a5576dd164dfb986fc5cb055aecb60905e..0e3ad3b7d77c2904929e66669b1ecd26f7cef53c 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/GroupContactDelete.php
rename to api/v3/examples/GroupContact/Delete.php
index 0a8f9041794d794a2798a4867c3134a431933d5f..4469f5f33bd28c3dddea6d9a1ee1b6b270f18db1 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/GroupContactGet.php
rename to api/v3/examples/GroupContact/Get.php
index 81ac2d8f62c18fafb4f3978b42d3bfcb7a82d383..4cf76d0935a474c836fee45c232d3a1f21a2c091 100644 (file)
@@ -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
index 26cbd4e65b2b5f7bd9c6bcd5a03eac55ba9daae5..aabbfce5078683d4fdef7637943580d88d1d7090 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/GroupNestingCreate.php
rename to api/v3/examples/GroupNesting/Create.php
index 04464adf0726cc5cc6ce019de273a3931a776d2d..6f8c63421fe56be2f794a594acd6e73150e48e4a 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/GroupNestingDelete.php
rename to api/v3/examples/GroupNesting/Delete.php
index 4663f2eaebb191ad03d0ea89b5d70626603042cc..e5562e17512c34130a87d0b52a36895bfe02415c 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/GroupNestingGet.php
rename to api/v3/examples/GroupNesting/Get.php
index 2cde6e469ef96af26f43044bbfe3f89ecd0588d5..3aa9aaa4a0cf835ea2a5976955a2c8cb4e2201f5 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/GroupOrganizationCreate.php
rename to api/v3/examples/GroupOrganization/Create.php
index 7192ba7ad1f5b5232a6399e60252bb6f709de4f5..6df4b1ee461dd03e30f8f92351fc64b45d22c8da 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/GroupOrganizationDelete.php
rename to api/v3/examples/GroupOrganization/Delete.php
index 4599299afcc18473bdb7b324d8f9da6669f5505a..51ab52d0b51afd506683599fc3b28bd0783d9488 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/GroupOrganizationGet.php
rename to api/v3/examples/GroupOrganization/Get.php
index 5a09a709fc92182ddf1875f16c337cc717f0b46b..f6ef40f7ed735edef6c8f5a3bb76d5f85f9a08c6 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/ImCreate.php
rename to api/v3/examples/Im/Create.php
index 1b4116dc0f9727690ef76e3a598a3ee8d3a1af4a..905e87dafdc5df7d64ec79bb60a1a6835afeacea 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/ImDelete.php
rename to api/v3/examples/Im/Delete.php
index 3ff80a64902b8b54ee2e21390b45e32387cf5d2b..980311040a3dfc1967a4054ecb555a675764a6fb 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/ImGet.php
rename to api/v3/examples/Im/Get.php
index d63f3a597dc8426fb33765ae752975e83ea0da0e..0269a1b0a23d16ff576d06c0d2af9ef046ba40b2 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/JobCreate.php
rename to api/v3/examples/Job/Create.php
index 5146b9567194cfa634ca7e7510a1f67d240d232e..e8a6d8e746ff6fd2cfcaaa6bd78bdbaf505cc06c 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/JobDelete.php
rename to api/v3/examples/Job/Delete.php
index ec650172061bc5bca9464565e651dea33451c172..6230b31d8ea1eb5d3a08f8bbcc29b19ad6ce54d9 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/LineItemCreate.php
rename to api/v3/examples/LineItem/Create.php
index da9283de44dc05c948148187b6698f7519321546..b85b2f819d1de1556cd0514ab3e4499b11f88d33 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/LineItemDelete.php
rename to api/v3/examples/LineItem/Delete.php
index 8553e93b852cc52679be3ee0faa2d17ceed2d153..125969e4c71788dee14f72f44386385772a8d250 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/LineItemGet.php
rename to api/v3/examples/LineItem/Get.php
index 3d5af2fea74c94b1bfcce1c97a2399da0172fdc6..7ab45ed88453fb89f508650841e76034899c75dd 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/LocBlockCreate.php
rename to api/v3/examples/LocBlock/Create.php
index 7f893f4d351ba5e333fa305937f1f531a8e3271b..c9ecc85242de11f1a41ad739a59bfdfce5a788a3 100644 (file)
@@ -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
similarity index 91%
rename from api/v3/examples/LocBlockCreateEntities.php
rename to api/v3/examples/LocBlock/CreateEntities.php
index dad0145a108a589d8d808557c014b12c8fb014a8..5db83b4eed2bd1b5fc7387b39494e3dc243f733f 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/LocBlockGet.php
rename to api/v3/examples/LocBlock/Get.php
index ec9c0375fcc029c7c2571342b6a7874209f666c5..50e3a7ff0a5dc687b638d3512bc8111d39b4a564 100644 (file)
@@ -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
index f2987d980d0df74fe406abd2556951ef573266ff..683aea79e4493d8eb617d54e426e40b33d40a53c 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/MailSettingsCreate.php
rename to api/v3/examples/MailSettings/Create.php
index a9600c980e318a473b9de50b6b1b7ed9f641e651..8272466d5cc2a76b7dd376bea0ad26e952805e68 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/MailSettingsDelete.php
rename to api/v3/examples/MailSettings/Delete.php
index 984f0c54a0339f32ca808aa10f8ad8d4d96bd286..0a761675c39573aeb60229e576c5a0f61710ea16 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/MailSettingsGet.php
rename to api/v3/examples/MailSettings/Get.php
index 881dec97c739c7d72ea91c5a06d3e72140b97c3a..c2aac298c04d87d03c642675656fa47dc6094e88 100644 (file)
@@ -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 (file)
index 77f76a7..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/**
- * Test Generated example of using mailing create API
- * *
- */
-function mailing_create_example(){
-$params = array(
-  'subject' => '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 (file)
index 17282a2..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-/**
- * Test Generated example of using mailing delete API
- * *
- */
-function mailing_delete_example(){
-$params = array(
-  'id' => 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
similarity index 82%
rename from api/v3/examples/MailingGroupSubscribe.php
rename to api/v3/examples/MailingGroup/Subscribe.php
index f77089312d56025ce3b6802a6a5070ca8778b99f..0b9d99b2371fefbc6f3e247eaf960a6864c830f3 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/MembershipCreate.php
rename to api/v3/examples/Membership/Create.php
index ca99bc3ee98fffcf83e97575f1c9120fba2bee2d..e62a912e77466463a7946845d0f27010ece09a6d 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/MembershipDelete.php
rename to api/v3/examples/Membership/Delete.php
index 306e73ba923fef76e0e118f729264d0fbc54d2bc..47d84cf41e332434894a59411524dd7fb2da79d0 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/MembershipGet.php
rename to api/v3/examples/Membership/Get.php
index 095255074c320ef479a04ccd50a788bd0781f620..115f702c2fc7490c9a15dfd40b5318ecfda9dc69 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/MembershipUpdate.php
rename to api/v3/examples/Membership/Update.php
index 23f3035f4ef3864b9eb88f7a7619d335a9b93c60..8c0f576fefaf1a6fa4c7e1eccb25300efaf4cf0d 100644 (file)
@@ -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
index 45c6b9666a15ea19bed4a8b057a4b47eec1f3d48..c0e98ff39797c8ed89ed381bd1214317db831219 100644 (file)
@@ -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
similarity index 81%
rename from api/v3/examples/MembershipPaymentCreate.php
rename to api/v3/examples/MembershipPayment/Create.php
index 7c69a98b65aa731fd13bd0e7049bca0c21ab7ab4..61e1f78b77d685e685c35a60be039d234705b18a 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/MembershipPaymentGet.php
rename to api/v3/examples/MembershipPayment/Get.php
index 96f662c595a660e5b2edecb811688d1f3342b829..d2b76b18fecc6e0855138a1da1c3294250fe0644 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/MembershipStatusCreate.php
rename to api/v3/examples/MembershipStatus/Create.php
index 9f5323550b218e61c4cd64dc98e1f7f232a6f5b8..2887176e4ea4c9c52f359ed8ce5595a88a014f38 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/MembershipStatusGet.php
rename to api/v3/examples/MembershipStatus/Get.php
index d19e778d9fce5270b7a15093483a0dd9666fb948..ec82d0db0acdc9be38f94a5c99e40dbfe1c3144d 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/MembershipTypeCreate.php
rename to api/v3/examples/MembershipType/Create.php
index 0c6c25e364cb3e0781837b33ea652897075f2b7f..73a57deabac1b48d05572998f1a92bef3a5db855 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/MembershipTypeDelete.php
rename to api/v3/examples/MembershipType/Delete.php
index 4d9e32c8272e89fd8d21ae14a6c11690f479865f..19ffb1bf87c81732816caffbdccd6a79edba7c74 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/MembershipTypeGet.php
rename to api/v3/examples/MembershipType/Get.php
index 92a487f2f352f053e753186a7f802def77f275ee..06c63a8ee27e63292621023ed946f48b2c49df7d 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/MessageTemplateCreate.php
rename to api/v3/examples/MessageTemplate/Create.php
index a37efa4701dd20a6368a134f865c7908ad4c0a44..25c0b99b6b1c46200a0fad390017f83206f0e31c 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/MessageTemplateDelete.php
rename to api/v3/examples/MessageTemplate/Delete.php
index 03f27d77f5da9bae61d511dc79600a62436598f6..1c574f1d9b3e18c32aed5b3e5ebbadaa24fcee05 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/MessageTemplateGet.php
rename to api/v3/examples/MessageTemplate/Get.php
index aaf42ad7a238ae58c7ef88e98ad0f7f5e320d482..33f9ed33fd0ea6e956563166aee068b4732737de 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/NoteCreate.php
rename to api/v3/examples/Note/Create.php
index a4be069077ab97f24b542927c91f31ac459aa105..bf11336252263f091db0efe4cf2ae7d17554a6db 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/NoteDelete.php
rename to api/v3/examples/Note/Delete.php
index 2ad22cf231defa9f7e11aeff93429f2166875740..cf0ac6eb83db799c6e870ddaf3803abf0668065b 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/NoteGet.php
rename to api/v3/examples/Note/Get.php
index 3f08acfd8cbcdc62590499e7156b65f9e540f2c3..a0fb55c362796af5f96a0238cad0634050ae5960 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/OptionGroupCreate.php
rename to api/v3/examples/OptionGroup/Create.php
index c17c5daeaccb53c890df9830311ba5026af6bd7f..75a0bdeac618fa3361e2beb0510628827b49a846 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/OptionGroupDelete.php
rename to api/v3/examples/OptionGroup/Delete.php
index ae01aee0dde03d08af2e7c0339e7d094fbae9dc5..d69810770b02f1c4af7ad4f795b99e1441f5839c 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/OptionGroupGet.php
rename to api/v3/examples/OptionGroup/Get.php
index 07e50a67db69b6b71b33a726375c4b6877f85b78..f2e6d591c9cc583c1f5c65c72208997064c5bdfa 100644 (file)
@@ -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
similarity index 89%
rename from api/v3/examples/OptionValueGet.php
rename to api/v3/examples/OptionValue/Get.php
index 5490d6c3b912ec900de356a5ed93bfdbdbe0fdfa..0cf8674b6b15fc8b47225ee0cd1ef2ca14800020 100644 (file)
@@ -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
index f93dbdd08dfc361f304fc7924400f7dbb3012fd1..49fb663faa420fa425151d99e8ba5d2e27bd580b 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/ParticipantCreate.php
rename to api/v3/examples/Participant/Create.php
index 3867daa954bfdcc19a5b31db51558970ee1eeacf..6beb53c113a463f1a08e881b41004effa9b20f4e 100644 (file)
@@ -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
index 5135dda0029dcdf3c485752381f96d08fc3426c4..6410f870ad04bdbb0c9e1abe60f8a2d125d28c81 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/ParticipantGet.php
rename to api/v3/examples/Participant/Get.php
index a3808c72764393b676163cb2a197294b0db14c82..b3540903b1b6f304a371bb8e958ed8f4c48fea6a 100644 (file)
@@ -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
index 1cd158e8e7058bc2ec5c58cb4dd4261ee54c99cc..bdeabddd7f1349f66de8f8a7201b927c63c58280 100644 (file)
@@ -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
index 4dd48950fe995257be18521fb492b9a0423f7e4f..f349e432b2fcf2f79f3c3812902091f532eabdad 100644 (file)
@@ -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
similarity index 81%
rename from api/v3/examples/ParticipantPaymentCreate.php
rename to api/v3/examples/ParticipantPayment/Create.php
index ed2ec4b8f7f31bd2ae54d80f479edf7924ce7edd..e45c9a737a4c2128a113ef15a0cda4887f9eb576 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/ParticipantPaymentDelete.php
rename to api/v3/examples/ParticipantPayment/Delete.php
index 71e4c5708504ba1753de27012074da557ab022b7..c194956c6a45d76805a7218c6554eb03427bbda0 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/ParticipantPaymentGet.php
rename to api/v3/examples/ParticipantPayment/Get.php
index e520aa47538729c040a6e24a73d4a9db376696da..87e45e80376fde23fdf1525d78d72122a5171d28 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/ParticipantStatusTypeCreate.php
rename to api/v3/examples/ParticipantStatusType/Create.php
index ba3d10de0ea1a9a76ceb4131de030137310c7adb..5da922e015517aeff66b42af4b7a1b76f802ef12 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/ParticipantStatusTypeDelete.php
rename to api/v3/examples/ParticipantStatusType/Delete.php
index 4421ce399c98721def92fb70906b49bfa618cb8c..47ffb9bac90b2a122df5c0487d7b6888fe6b30d4 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/ParticipantStatusTypeGet.php
rename to api/v3/examples/ParticipantStatusType/Get.php
index ae29aae7773f306dfb3614c99c4b8b35ae5ecff0..28a80da2d36767a1d3b76d67b6bcc8cd4449b34f 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/PaymentProcessorCreate.php
rename to api/v3/examples/PaymentProcessor/Create.php
index b98cb3013c305ffaf397d2448444c07191863bf4..6891f7f03dde1dc81256a05b9f986c72408dc3f4 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/PaymentProcessorDelete.php
rename to api/v3/examples/PaymentProcessor/Delete.php
index eb478d901142688bbf24e678bdbd00362ab96e56..966f5842bd51812ac372e9d952c36a4c03e3905e 100644 (file)
@@ -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
similarity index 87%
rename from api/v3/examples/PaymentProcessorTypeCreate.php
rename to api/v3/examples/PaymentProcessorType/Create.php
index 2ec3ac5b8468207a80e90c0814b401698c301300..1c7ba72fb4c80a86952d89946a3d9ce5b5ac76e5 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/PaymentProcessorTypeDelete.php
rename to api/v3/examples/PaymentProcessorType/Delete.php
index 9c8eac1cfe6134faa1d80b7c426294303495ab36..323c678dd7076ea9aefc91809517bfc7b40b8b5d 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/PhoneCreate.php
rename to api/v3/examples/Phone/Create.php
index 6a9329e272cde4a2d263fc061005936f536ff7a2..3e5d8f0f110f47c1089fe4371aa90c6469b47e97 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/PhoneDelete.php
rename to api/v3/examples/Phone/Delete.php
index 15c07e9d3e1db0276d6fd1d6c677ce3194a4f513..a7a49076cb7726313d7aa75cb6b7f45e6e00758f 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/PhoneGet.php
rename to api/v3/examples/Phone/Get.php
index 3cab0f1a09b1e6bd5485aadb4d0a92abbf53344c..df460cf98053daa4aa6e0d8f504ae4db96f685a9 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/PledgeCreate.php
rename to api/v3/examples/Pledge/Create.php
index 057a0d864e73c4939e9ffc95c78b963c11db571b..b48e949987d14b62b3a194ec334e0a3acd1d952d 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/PledgeDelete.php
rename to api/v3/examples/Pledge/Delete.php
index e519ae4457f47b301732e8932810f5cf83ef904c..8fa7bab93bad581d758ce58161c298b20e096fba 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/PledgeGet.php
rename to api/v3/examples/Pledge/Get.php
index 8443c398ad453893b8ed3c3edd1ba8ce99295e9a..d36cb51d6b339589eae3e4f35233e99938a8fbb8 100644 (file)
@@ -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
index 487fac43ad95c09287a20ef2d6a56630accfd3c3..ceb3e1919ce77af8d34561f66b16a4bb73f6737a 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/PledgePaymentCreate.php
rename to api/v3/examples/PledgePayment/Create.php
index 689dabcf16cf29ace7decb10ea3efe6a28f7cd17..0e02f752501550bfc1ae45ea68c3f8f2acd047da 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/PledgePaymentDelete.php
rename to api/v3/examples/PledgePayment/Delete.php
index 66e4f7097df7c01883e74411fe4dbf0c257edfef..bc0e01003400886a4918129481dd5b125e66fd3b 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/PledgePaymentGet.php
rename to api/v3/examples/PledgePayment/Get.php
index 252cfbfc2e0d0f329b9361c8d2f71b147ac60201..e1e6120eb3b413eb65e5f274a50666995c01ec6b 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/PledgePaymentUpdate.php
rename to api/v3/examples/PledgePayment/Update.php
index 3eb388189fb183974f9caac74dc3e4b3801f3adc..fe32d3cad8b4b40df3f09f7bde74ed22f9611132 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/PriceFieldCreate.php
rename to api/v3/examples/PriceField/Create.php
index 6a48988e170d49d0b2f443d5e487f55f6a775786..0e795d380abf143931a2ba45d5e3386acedf6aa9 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/PriceFieldDelete.php
rename to api/v3/examples/PriceField/Delete.php
index f592278701fe27e5c9afebdd5d82cd4b3ccad86e..81bf7ded9c5a3c331c2cda5f66933102a72398d2 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/PriceFieldGet.php
rename to api/v3/examples/PriceField/Get.php
index 82d855921122663eaf410197aa5ab8b3c1723e65..45a6729bd7f3d8e0f77e68a7e31cba5006841bad 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/PriceFieldValueCreate.php
rename to api/v3/examples/PriceFieldValue/Create.php
index 284949d445814d1600192f0dd0e54c8258ae9428..7745993d5a8dba3bf9ff2dd97824b7fd28219ace 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/PriceFieldValueDelete.php
rename to api/v3/examples/PriceFieldValue/Delete.php
index 1b78e7df768f0ad17657562b8eb8d88c9bac91ba..3db747959396e6039028fea4df56b9321dd2329e 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/PriceFieldValueGet.php
rename to api/v3/examples/PriceFieldValue/Get.php
index 1673ca3ad878081f6d480e2766e2d4236ded5f16..743f7abd2afe300f4464fca1c61d60758ac169bf 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/PriceSetCreate.php
rename to api/v3/examples/PriceSet/Create.php
index 86ed60f38a8b080ed184a390acc6b22fdf394f8f..41257e8f3c203dbba3d16e3a69999e8b0422047d 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/PriceSetDelete.php
rename to api/v3/examples/PriceSet/Delete.php
index f3b48565904230f47fb7168955294f08e8c3e17f..696554da0af0c8d45d4e549b392c917536888b6a 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/PriceSetGet.php
rename to api/v3/examples/PriceSet/Get.php
index 4b1b48dde324f50df0b8ee0dc6719ba05e5d149d..713f077cf4f1a00f2c87d1450f7a6cd4ebecbabc 100644 (file)
@@ -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 (file)
index 3ee4939..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php
-/**
- * Test Generated example of using price_set set API
- * *
- */
-function price_set_set_example(){
-$params = array(
-  'entity_table' => '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
similarity index 87%
rename from api/v3/examples/ProfileApply.php
rename to api/v3/examples/Profile/Apply.php
index 0f57e1d820ce9d18e8adfe4445b0f66c64924b51..50fa56f9dd47ee4f4dabd8d74f44a7de0ac26757 100644 (file)
@@ -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
similarity index 88%
rename from api/v3/examples/ProfileGet.php
rename to api/v3/examples/Profile/Get.php
index e33c015049a7a07c490f6113e43577e6b7b566ae..eb68a10078d7c28169c0336cdf900a467fcea64e 100644 (file)
@@ -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
similarity index 95%
rename from api/v3/examples/ProfileGetFields.php
rename to api/v3/examples/Profile/GetFields.php
index 5e6b5f047360dc83cab7173bc72a38e7ce673abb..ecb4bb2ae8d97343dbdc17656c8d48bb5f9bb26c 100644 (file)
@@ -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
similarity index 90%
rename from api/v3/examples/ProfileSubmit.php
rename to api/v3/examples/Profile/Submit.php
index 05df843dae74009181345d83e4d2b5936117340e..a080f59167f66b55df8c4db3d658ace8e0f5a6bc 100644 (file)
@@ -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
index ce263b9046695c83b52fbcd26d0d54ed111ea334..5b89a61fdad478a4ea3e4625884e26dc09439cef 100644 (file)
@@ -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
similarity index 85%
rename from api/v3/examples/RelationshipCreate.php
rename to api/v3/examples/Relationship/Create.php
index ff07700dc7a991e5d5bbbe40f7422c43078d2e4c..936f8b84126eb2afa661355c5d3eee576a4e94e2 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/RelationshipDelete.php
rename to api/v3/examples/Relationship/Delete.php
index 5460670fd02bd0a4060a3c0f697ce0d2ab04407d..21495601ac099db400967e1028722892130bd3dc 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/RelationshipGet.php
rename to api/v3/examples/Relationship/Get.php
index 85603ac531607e93c050b224b27da33c20a5eb09..0802c5a1f0263e94acb1ccef7a3f3be741a2ccd7 100644 (file)
@@ -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
index ea7a9ac965dc8a7c625631596a70ee00be16ed47..ab995846e25dd1543b5cf172b356c8889a1e9433 100644 (file)
@@ -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
index 463dbb29fb20a56f79f829375975c17eb72c13d7..2ac80828edb8071eb4fa40097b0a4f5d1de6d1f8 100644 (file)
@@ -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
index 26d9877d5db0312924bfc9bdfd6d6f63bc205695..716e6068adbed7edc209a1d7ca0b7f92514e680d 100644 (file)
@@ -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
index 9199531dca3196b82948dbd12bd3200b41a0caca..7ba21e6575e928b955c5db19f963e032397bcef8 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/RelationshipTypeCreate.php
rename to api/v3/examples/RelationshipType/Create.php
index a1c83dfdda0e399076de2e08c5f819c8893fd49a..5756dd46c6d6c0b3c345e0281d7b83d034a4d591 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/RelationshipTypeDelete.php
rename to api/v3/examples/RelationshipType/Delete.php
index 6a538d4bcadce611999554879e34c4db6ba45b29..dd81f5cc01a8aa8db1621dd040238cac8ab6ee43 100644 (file)
@@ -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
index 2acc3e86a31fbe0fb4f61c269413d7fe28003498..298439eca70297b1542afc264d58b81ef8002973 100644 (file)
@@ -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
index 701779ea1dfa6cf65084f3dcf6608e5e230bc60e..55f412f9a7e6284bf8b9e7ac7f02279275c0c160 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/SettingCreate.php
rename to api/v3/examples/Setting/Create.php
index b5a337a50040ca88212e39a00d2a869a88b890b0..7c4c742e4e89460468cbe035d20f056c272cb4fa 100644 (file)
@@ -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
index 8e1cc71ffa5d7c53f055cef142587f59641b2c89..e1e3df2134e0324ec0b8eeddd333b58e761bfb85 100644 (file)
@@ -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
index 95c6a3e748a9e0cfd64e6d647fb51e05c28d8658..50771cf43fbc24283c49b7ee02572dd5ab9271f3 100644 (file)
@@ -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
index ced6602f96390ccb76fa088b335ec758827666cf..cf69d0bd3ecff71af566abd4af068c796c0c28b0 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/SettingGet.php
rename to api/v3/examples/Setting/Get.php
index e00ef28be324b21fec3dbf789fdcd12a5c420bb0..3a204401615ae1e8f4da3a5ca3c8ddd52ea76bb6 100644 (file)
@@ -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
index dcf1fa8ac58d38dfc2d2d0f76e6bbf06a21df100..0a62bf56ed4dd3e3989771b20ec8508cd066c453 100644 (file)
@@ -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
index 4a9a404b3f3e8bd3f7a7d356552483f1874c8fa2..75c11cf9eaeec67441ac7f0b01068f0218636c7d 100644 (file)
@@ -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
similarity index 99%
rename from api/v3/examples/SettingGetfields.php
rename to api/v3/examples/Setting/GetFields.php
index cff321c4d83d4cdca50341dd21dbc693e552b640..63c158a0dcc5890f6281a1d3f5e90b0a88dc7f59 100644 (file)
@@ -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
index c689047385b841fac3d58720354d1f5d68d4c759..20317b13b17b2851db279e1b13df297721219351 100644 (file)
@@ -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
index afa2601993c5e076f75a1b5ceeb460dfb5f652c3..b112c5bb887d8d4292d8cf78dde296c094af4d18 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/SettingGetValue.php
rename to api/v3/examples/Setting/GetValue.php
index 6455fa9e377f1e24cd1db9d4d346adaa90df5105..03c06fe56fb12ab2259f12ef56919c0d8af761d2 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/SettingRevert.php
rename to api/v3/examples/Setting/Revert.php
index 5ae0d9d05aca0326e07ba59fc0d0102370e346d6..19e4bd7ff6cda768fbbfb3209902026ed14a4661 100644 (file)
@@ -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
index 0a66195e0b5cd1ce06923eab87406fba453f2aca..21e9c3413761d5a0877d810c1cb8c2f478670950 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/SurveyCreate.php
rename to api/v3/examples/Survey/Create.php
index 1316211411e43d026e964e3021ae9d2f6facb7e1..4d4051d7d228c2cff6c2e0f3107987f62396197f 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/SurveyDelete.php
rename to api/v3/examples/Survey/Delete.php
index 224d160f7032046f7e92e01ed6ad0b4f97b3c0c7..39e1fd28873e09d8ea16c99be5d50154da6a582a 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/SurveyGet.php
rename to api/v3/examples/Survey/Get.php
index cf32da54b736d957a5a00b7a3925644f8d1b81cc..9fbc176b57d2f1b1d5b5218d52434073af7af2a5 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/SurveyRespondantGet.php
rename to api/v3/examples/SurveyRespondant/Get.php
index 0fbf52743324a84616813f2b9e520a57cb58876e..8f0c63c0f8edc3f2d3d4ad4f728b540287ccbe8a 100644 (file)
@@ -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
index ecff546ee91e673112866d315f2f71ad28e91c5e..4eb8a620a700aa5057fed9c005e4e5828d31f6d6 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/TagCreate.php
rename to api/v3/examples/Tag/Create.php
index 1c40802ca74013f69f2704c7df362726f5504d26..f1fa7b5341a3ef82697752cac94987d480d39c97 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/TagDelete.php
rename to api/v3/examples/Tag/Delete.php
index 6566820ebf55d0c5b53ac58669459ecf67bf20ef..68914b444cf2c6bd0dc9c18294a7a8ca4fb21202 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/TagGet.php
rename to api/v3/examples/Tag/Get.php
index 0407024bf5203eeca554d8516fea5783dee11650..2dafb49ee03e10a54fad52ae6aa4996f6a52e3ac 100644 (file)
@@ -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
similarity index 90%
rename from api/v3/examples/TagGetfields.php
rename to api/v3/examples/Tag/Getfields.php
index 119f7c8d81163838b05ccd9d645d69cc95733e0f..1eda5003720bdb2995d6270201a23ce40eac80ef 100644 (file)
@@ -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
index 73f7fe74ec8e1608292e22d6099a33e9812427b6..f582388a43836de0aa83398273f94440e558eb3b 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/UFFieldCreate.php
rename to api/v3/examples/UFField/Create.php
index 25bf14021248b54c4b16750c122dc866e2b33b97..8382d9f5333c0fa8098917443882ab51e1470b26 100644 (file)
@@ -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
similarity index 79%
rename from api/v3/examples/UFFieldDelete.php
rename to api/v3/examples/UFField/Delete.php
index eec876b795ed95927bde9bbc3e4f68a84acefefd..b93207b15c8869d3356331eca331dfb874c9769b 100644 (file)
@@ -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
similarity index 84%
rename from api/v3/examples/UFFieldGet.php
rename to api/v3/examples/UFField/Get.php
index 115aae947962a0030708c8d79eefd47b921490d3..2395dc93d1b1c92925d63d745dcdc98ab3078f97 100644 (file)
@@ -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
similarity index 92%
rename from api/v3/examples/UFFieldReplace.php
rename to api/v3/examples/UFField/Replace.php
index 78e36c335969e6f0b217d05913fa13541ecb5ff1..76fa5084b566abd658c5e9df0dc80f57872761d4 100644 (file)
@@ -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
similarity index 89%
rename from api/v3/examples/UFGroupCreate.php
rename to api/v3/examples/UFGroup/Create.php
index 4805a7dd51a28d7f411254b652c2e093a8bc2b21..6458ffd03ff0ab849a6fb87ebcbe5d7f84eb872c 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/UFGroupDelete.php
rename to api/v3/examples/UFGroup/Delete.php
index a7ccd115ee5c399aaf9da36fc12abfdfde8a5aa5..7c11095bfe2b4bf81620c6d09f40bda029aaf710 100644 (file)
@@ -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
similarity index 86%
rename from api/v3/examples/UFGroupGet.php
rename to api/v3/examples/UFGroup/Get.php
index 3df549ce53391b7ce7a20a7fb7a24ee00b8ffbc0..9711d93470ac3d379741d275534d138a19ff704c 100644 (file)
@@ -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
similarity index 83%
rename from api/v3/examples/UFJoinCreate.php
rename to api/v3/examples/UFJoin/Create.php
index e618b2a5f2aa9cf7a5bef2bad4015c222beb619d..11d976380ce423c854db7fc7ba05ba3a58518dc5 100644 (file)
@@ -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
similarity index 82%
rename from api/v3/examples/UFJoinGet.php
rename to api/v3/examples/UFJoin/Get.php
index d51586f5558c7979095ae9151727664b9eca3550..d56f3261296556d7374e83a8de12b7305d183a07 100644 (file)
@@ -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
similarity index 80%
rename from api/v3/examples/UFMatchGet.php
rename to api/v3/examples/UFMatch/Get.php
index 61107cdecde4fd77af0b6f2efe3352a49da282e2..ca93d3f382eeae9e03cd525811cc4c8e0dc291a8 100644 (file)
@@ -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
similarity index 81%
rename from api/v3/examples/WebsiteCreate.php
rename to api/v3/examples/Website/Create.php
index 3e9906b0ce574d543eab0e5dc6d5e5fbc2982290..b490c1707fa7f9dba132b2ab8ee31c59f17ab25b 100644 (file)
@@ -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
similarity index 78%
rename from api/v3/examples/WebsiteDelete.php
rename to api/v3/examples/Website/Delete.php
index d8c254168b94537903032791de85f437318b88ad..75daecd2eb16a1e7b2c73c0387deebd55b6aa864 100644 (file)
@@ -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
similarity index 81%
rename from api/v3/examples/WebsiteGet.php
rename to api/v3/examples/Website/Get.php
index 91e4050fefca0da3bddb17ee0928a8c8553b7b8a..7b98281ea65db2a8ceab9cde3b2419370150d674 100644 (file)
@@ -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
similarity index 87%
rename from api/v3/examples/WebsiteGetFields.php
rename to api/v3/examples/Website/GetFields.php
index 5e1669e5c77e4b2702572807c3c183164adfbbe4..baaa7f4f49f5204484b04ae3562c26053051b684 100644 (file)
@@ -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
similarity index 87%
rename from api/v3/examples/Website/GetWithLabelMetadata.php
rename to api/v3/examples/Website/GetWithMetadata.php
index 650e99071ded11fe0f90c861ca1fbcfdc27f81b6..262924e1bd064742a8ad3409d941ecb63ebb2005 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * Test Generated example of using website get API
- * Demonostrates returning label metadata *
+ * Demonostrates returning field metadata *
  */
 function website_get_example(){
 $params = array(
@@ -85,16 +85,16 @@ function website_get_expectedresult(){
 * This example has been generated from the API test suite. The test that created it is called
 *
 * testGetMetadata 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