From b259a4ab1e349db53f15beb4c1e9808b58dba765 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 21 Jan 2014 00:28:02 +1300 Subject: [PATCH] updated examples --- .../Activity/ContactRefCustomField.php | 2 +- .../Activity/ContactRefCustomFieldGet.php | 4 +- api/v3/examples/Activity/DateTimeHigh.php | 2 +- api/v3/examples/Activity/DateTimeLow.php | 2 +- .../Activity/GetTargetandAssignee.php | 2 +- .../Activity/ReturnAssigneeContact.php | 10 +- api/v3/examples/ActivityCreate.php | 2 +- api/v3/examples/ActivityDelete.php | 2 +- api/v3/examples/ActivityGet.php | 2 +- api/v3/examples/ActivityGetfields.php | 18 +- api/v3/examples/ActivityTypeCreate.php | 8 +- api/v3/examples/ActivityTypeGet.php | 2 +- api/v3/examples/Address/AddressLike.php | 2 +- api/v3/examples/Address/AddressParse.php | 2 +- api/v3/examples/Address/AddressSort.php | 2 +- api/v3/examples/AddressCreate.php | 2 +- api/v3/examples/AddressDelete.php | 2 +- api/v3/examples/AddressGet.php | 2 +- api/v3/examples/BatchCreate.php | 5 +- api/v3/examples/BatchDelete.php | 2 +- api/v3/examples/BatchGet.php | 3 +- api/v3/examples/BatchUpdate.php | 3 +- api/v3/examples/CampaignCreate.php | 2 +- api/v3/examples/CampaignDelete.php | 2 +- api/v3/examples/CampaignGet.php | 2 +- api/v3/examples/ConstantGet.php | 2 +- api/v3/examples/Contact/APIChainedArray.php | 4 +- .../Contact/APIChainedArrayFormats.php | 4 +- .../Contact/APIChainedArrayMultipleCustom.php | 18 +- ...IChainedArrayValuesFromSiblingFunction.php | 2 +- api/v3/examples/Contact/ChainTwoWebsites.php | 2 +- .../Contact/ChainTwoWebsitesSyntax2.php | 2 +- api/v3/examples/Contact/CustomFieldGet.php | 2 +- .../CustomFieldGetReturnSyntaxVariation.php | 2 +- .../examples/Contact/FormatIsSuccess_Fail.php | 2 +- .../examples/Contact/FormatIsSuccess_True.php | 2 +- api/v3/examples/Contact/FormatOnlyID.php | 2 +- api/v3/examples/Contact/FormatSingleValue.php | 2 +- api/v3/examples/Contact/GetCountContact.php | 2 +- api/v3/examples/Contact/GetFieldsOptions.php | 80 +++---- api/v3/examples/Contact/GetSingleContact.php | 4 +- .../Contact/GroupFilterUsingContactAPI.php | 4 +- api/v3/examples/ContactCreate.php | 2 +- api/v3/examples/ContactDelete.php | 2 +- api/v3/examples/ContactGet.php | 4 +- api/v3/examples/ContactGetoptions.php | 2 +- .../ContributionCreateWithNote.php | 2 +- .../ContributionCreateWithSoftCredit.php | 4 +- .../CreateWithNestedLineItems.php | 2 +- api/v3/examples/ContributionCreate.php | 2 +- api/v3/examples/ContributionDelete.php | 2 +- api/v3/examples/ContributionGet.php | 8 +- api/v3/examples/ContributionPageCreate.php | 2 +- api/v3/examples/ContributionPageDelete.php | 2 +- api/v3/examples/ContributionPageGet.php | 2 +- api/v3/examples/ContributionRecurCreate.php | 2 +- api/v3/examples/ContributionRecurDelete.php | 2 +- api/v3/examples/ContributionRecurGet.php | 2 +- api/v3/examples/ContributionSoftCreate.php | 2 +- api/v3/examples/ContributionSoftDelete.php | 2 +- api/v3/examples/ContributionSoftGet.php | 2 +- api/v3/examples/CustomFieldCreate.php | 2 +- api/v3/examples/CustomFieldDelete.php | 2 +- api/v3/examples/CustomGroupCreate.php | 2 +- api/v3/examples/CustomGroupDelete.php | 2 +- api/v3/examples/CustomGroupGet.php | 2 +- .../examples/CustomValue/formatFieldName.php | 2 +- api/v3/examples/CustomValueCreate.php | 2 +- api/v3/examples/CustomValueGet.php | 2 +- api/v3/examples/DomainCreate.php | 2 +- api/v3/examples/DomainGet.php | 9 +- api/v3/examples/Email/NestedReplaceEmail.php | 10 +- api/v3/examples/EmailCreate.php | 2 +- api/v3/examples/EmailDelete.php | 2 +- api/v3/examples/EmailReplace.php | 2 +- api/v3/examples/EntityTagCreate.php | 2 +- api/v3/examples/EntityTagDelete.php | 2 +- api/v3/examples/EntityTagGet.php | 2 +- api/v3/examples/Event/IsCurrentOption.php | 2 +- api/v3/examples/Event/IsFullOption.php | 4 +- api/v3/examples/EventCreate.php | 2 +- api/v3/examples/EventDelete.php | 2 +- api/v3/examples/EventGet.php | 2 +- api/v3/examples/GrantCreate.php | 2 +- api/v3/examples/GrantDelete.php | 2 +- api/v3/examples/GrantGet.php | 4 +- api/v3/examples/Group/getfields.php | 2 +- .../examples/GroupContact/GetWithGroupID.php | 18 +- api/v3/examples/GroupContactCreate.php | 2 +- api/v3/examples/GroupContactDelete.php | 2 +- api/v3/examples/GroupContactGet.php | 2 +- api/v3/examples/GroupGet.php | 12 +- api/v3/examples/GroupNestingCreate.php | 2 +- api/v3/examples/GroupNestingDelete.php | 2 +- api/v3/examples/GroupNestingGet.php | 2 +- api/v3/examples/ImCreate.php | 2 +- api/v3/examples/ImDelete.php | 2 +- api/v3/examples/ImGet.php | 2 +- api/v3/examples/LineItemCreate.php | 2 +- api/v3/examples/LineItemDelete.php | 2 +- api/v3/examples/LineItemGet.php | 2 +- api/v3/examples/LocBlockCreate.php | 2 +- api/v3/examples/LocBlockCreateEntities.php | 2 +- api/v3/examples/LocBlockGet.php | 2 +- .../MailSettings/ChainedGetDelete.php | 2 +- api/v3/examples/MailSettingsCreate.php | 2 +- api/v3/examples/MailSettingsDelete.php | 2 +- api/v3/examples/MailSettingsGet.php | 2 +- api/v3/examples/MailingGroupSubscribe.php | 2 +- .../examples/Membership/filterIsCurrent.php | 2 +- api/v3/examples/MembershipCreate.php | 2 +- api/v3/examples/MembershipDelete.php | 2 +- api/v3/examples/MembershipGet.php | 2 +- api/v3/examples/MembershipPaymentCreate.php | 2 +- api/v3/examples/MembershipPaymentGet.php | 2 +- api/v3/examples/MembershipStatusCreate.php | 2 +- api/v3/examples/MembershipStatusGet.php | 2 +- api/v3/examples/MembershipTypeCreate.php | 2 +- api/v3/examples/MembershipTypeDelete.php | 2 +- api/v3/examples/MembershipTypeGet.php | 2 +- api/v3/examples/MembershipUpdate.php | 2 +- api/v3/examples/MessageTemplateCreate.php | 22 +- api/v3/examples/MessageTemplateDelete.php | 2 +- api/v3/examples/MessageTemplateGet.php | 22 +- api/v3/examples/NoteCreate.php | 2 +- api/v3/examples/NoteDelete.php | 2 +- api/v3/examples/NoteGet.php | 2 +- api/v3/examples/OptionGroupCreate.php | 4 +- api/v3/examples/OptionGroupDelete.php | 2 +- api/v3/examples/OptionGroupGet.php | 2 +- api/v3/examples/OptionValueGet.php | 2 +- .../Participant/CreateParticipantPayment.php | 2 +- api/v3/examples/Participant/NestedDelete.php | 2 +- .../examples/Participant/NestedEventGet.php | 2 +- api/v3/examples/ParticipantCreate.php | 2 +- api/v3/examples/ParticipantGet.php | 2 +- api/v3/examples/ParticipantPaymentCreate.php | 2 +- api/v3/examples/ParticipantPaymentDelete.php | 2 +- api/v3/examples/ParticipantPaymentGet.php | 2 +- .../examples/ParticipantStatusTypeCreate.php | 2 +- .../examples/ParticipantStatusTypeDelete.php | 2 +- api/v3/examples/ParticipantStatusTypeGet.php | 2 +- api/v3/examples/PaymentProcessorCreate.php | 2 +- api/v3/examples/PaymentProcessorDelete.php | 2 +- .../examples/PaymentProcessorTypeCreate.php | 2 +- .../examples/PaymentProcessorTypeDelete.php | 2 +- api/v3/examples/PhoneCreate.php | 2 +- api/v3/examples/PhoneDelete.php | 2 +- api/v3/examples/PhoneGet.php | 2 +- api/v3/examples/Pledge/GetFilterHighDate.php | 8 +- api/v3/examples/PledgeCreate.php | 8 +- api/v3/examples/PledgeDelete.php | 2 +- api/v3/examples/PledgeGet.php | 6 +- api/v3/examples/PledgePaymentCreate.php | 2 +- api/v3/examples/PledgePaymentDelete.php | 2 +- api/v3/examples/PledgePaymentGet.php | 2 +- api/v3/examples/PledgePaymentUpdate.php | 2 +- api/v3/examples/PriceFieldCreate.php | 2 +- api/v3/examples/PriceFieldDelete.php | 2 +- api/v3/examples/PriceFieldGet.php | 2 +- api/v3/examples/PriceFieldValueCreate.php | 2 +- api/v3/examples/PriceFieldValueDelete.php | 2 +- api/v3/examples/PriceFieldValueGet.php | 2 +- api/v3/examples/PriceSetCreate.php | 2 +- api/v3/examples/PriceSetDelete.php | 2 +- api/v3/examples/PriceSetGet.php | 2 +- api/v3/examples/ProfileApply.php | 2 +- api/v3/examples/ProfileGet.php | 2 +- api/v3/examples/ProfileGetFields.php | 212 +++++++++--------- api/v3/examples/ProfileSubmit.php | 5 +- api/v3/examples/RelationshipTypeCreate.php | 2 +- api/v3/examples/RelationshipTypeDelete.php | 2 +- api/v3/examples/Survey/ChainedGetDelete.php | 3 +- api/v3/examples/SurveyCreate.php | 2 +- api/v3/examples/SurveyDelete.php | 2 +- api/v3/examples/SurveyGet.php | 3 +- api/v3/examples/SurveyRespondantGet.php | 2 +- api/v3/examples/System/Flush.php | 2 +- api/v3/examples/Tag/getReturnArray.php | 2 +- api/v3/examples/TagCreate.php | 2 +- api/v3/examples/TagDelete.php | 2 +- api/v3/examples/TagGet.php | 2 +- api/v3/examples/TagGetfields.php | 7 +- api/v3/examples/UFFieldCreate.php | 2 +- api/v3/examples/UFFieldDelete.php | 2 +- api/v3/examples/UFFieldGet.php | 2 +- api/v3/examples/UFFieldReplace.php | 2 +- api/v3/examples/UFGroupCreate.php | 2 +- api/v3/examples/UFGroupDelete.php | 2 +- api/v3/examples/UFGroupGet.php | 2 +- api/v3/examples/UFJoinCreate.php | 2 +- api/v3/examples/UFJoinGet.php | 2 +- api/v3/examples/UFMatchGet.php | 2 +- api/v3/examples/WebsiteCreate.php | 2 +- api/v3/examples/WebsiteDelete.php | 2 +- api/v3/examples/WebsiteGet.php | 2 +- 196 files changed, 460 insertions(+), 404 deletions(-) diff --git a/api/v3/examples/Activity/ContactRefCustomField.php b/api/v3/examples/Activity/ContactRefCustomField.php index b227a6a530..2b027d5f0b 100644 --- a/api/v3/examples/Activity/ContactRefCustomField.php +++ b/api/v3/examples/Activity/ContactRefCustomField.php @@ -95,4 +95,4 @@ function activity_create_expectedresult(){ * * 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/Activity/ContactRefCustomFieldGet.php b/api/v3/examples/Activity/ContactRefCustomFieldGet.php index 25b80b4558..cbc1cabd11 100644 --- a/api/v3/examples/Activity/ContactRefCustomFieldGet.php +++ b/api/v3/examples/Activity/ContactRefCustomFieldGet.php @@ -49,6 +49,8 @@ function activity_get_expectedresult(){ 'is_current_revision' => '1', 'is_deleted' => 0, 'source_contact_id' => '1', + 'custom_1' => 'defaultValue', + 'custom_1_1' => 'defaultValue', 'custom_2_id' => '1', 'custom_2_1_id' => '1', 'custom_2' => 'Anderson, Anthony', @@ -81,4 +83,4 @@ function activity_get_expectedresult(){ * * 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/Activity/DateTimeHigh.php b/api/v3/examples/Activity/DateTimeHigh.php index 1242157cef..7d5642e9fd 100644 --- a/api/v3/examples/Activity/DateTimeHigh.php +++ b/api/v3/examples/Activity/DateTimeHigh.php @@ -78,4 +78,4 @@ function activity_get_expectedresult(){ * * 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/Activity/DateTimeLow.php b/api/v3/examples/Activity/DateTimeLow.php index d191789f87..57fc1efd35 100644 --- a/api/v3/examples/Activity/DateTimeLow.php +++ b/api/v3/examples/Activity/DateTimeLow.php @@ -77,4 +77,4 @@ function activity_get_expectedresult(){ * * 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/Activity/GetTargetandAssignee.php b/api/v3/examples/Activity/GetTargetandAssignee.php index e6b7027e23..9798b3e872 100644 --- a/api/v3/examples/Activity/GetTargetandAssignee.php +++ b/api/v3/examples/Activity/GetTargetandAssignee.php @@ -96,4 +96,4 @@ function activity__expectedresult(){ * * 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/Activity/ReturnAssigneeContact.php b/api/v3/examples/Activity/ReturnAssigneeContact.php index a9be1fcddc..e1a1cef84e 100644 --- a/api/v3/examples/Activity/ReturnAssigneeContact.php +++ b/api/v3/examples/Activity/ReturnAssigneeContact.php @@ -79,11 +79,16 @@ function activity_get_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => 'Anthony', 'middle_name' => 'J.', 'last_name' => 'Anderson', + 'prefix_id' => 'Mr.', + 'suffix_id' => 'II', 'job_title' => '', + 'gender_id' => '', 'birth_date' => '', 'is_deceased' => 0, 'deceased_date' => '', @@ -114,6 +119,9 @@ function activity_get_expectedresult(){ 'im' => '', 'worldregion_id' => '', 'world_region' => '', + 'individual_prefix' => 'Mr.', + 'individual_suffix' => 'II', + 'gender' => '', 'state_province_name' => '', 'state_province' => '', 'country' => '', @@ -149,4 +157,4 @@ function activity_get_expectedresult(){ * * 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/ActivityCreate.php b/api/v3/examples/ActivityCreate.php index bd5f4c1d85..722110f096 100644 --- a/api/v3/examples/ActivityCreate.php +++ b/api/v3/examples/ActivityCreate.php @@ -95,4 +95,4 @@ function activity_create_expectedresult(){ * * 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/ActivityDelete.php b/api/v3/examples/ActivityDelete.php index 19b198d1dc..a12b92624c 100644 --- a/api/v3/examples/ActivityDelete.php +++ b/api/v3/examples/ActivityDelete.php @@ -58,4 +58,4 @@ function activity_delete_expectedresult(){ * * 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/ActivityGet.php b/api/v3/examples/ActivityGet.php index 5b1dd1ac1c..d26b11da93 100644 --- a/api/v3/examples/ActivityGet.php +++ b/api/v3/examples/ActivityGet.php @@ -77,4 +77,4 @@ function activity_get_expectedresult(){ * * 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/ActivityGetfields.php b/api/v3/examples/ActivityGetfields.php index 7e493fb8cf..14ec4f1799 100644 --- a/api/v3/examples/ActivityGetfields.php +++ b/api/v3/examples/ActivityGetfields.php @@ -45,6 +45,7 @@ function activity_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_activity.activity_type_id', 'headerPattern' => '/(activity.)?type(.id$)/i', + 'default' => '1', 'pseudoconstant' => array( 'optionGroupName' => 'activity_type', ), @@ -94,7 +95,7 @@ function activity_getfields_expectedresult(){ 'name' => 'relationship_id', 'type' => 1, 'title' => 'Relationship Id', - 'default' => 'UL', + 'default' => 'NULL', 'FKClassName' => 'CRM_Contact_DAO_Relationship', ), 'is_current_revision' => array( @@ -105,6 +106,7 @@ function activity_getfields_expectedresult(){ 'where' => 'civicrm_activity.is_current_revision', 'headerPattern' => '/(is.)?(current.)?(revision|version(ing)?)/i', 'export' => true, + 'default' => '1', ), 'original_id' => array( 'name' => 'original_id', @@ -187,6 +189,9 @@ function activity_getfields_expectedresult(){ 'optionGroupName' => 'activity_status', ), 'uniqueName' => 'activity_status_id', + 'api.aliases' => array( + '0' => 'activity_status', + ), ), 'is_test' => array( 'name' => 'is_test', @@ -202,7 +207,7 @@ function activity_getfields_expectedresult(){ 'name' => 'medium_id', 'type' => 1, 'title' => 'Activity Medium', - 'default' => 'UL', + 'default' => 'NULL', 'pseudoconstant' => array( 'optionGroupName' => 'encounter_medium', ), @@ -229,11 +234,16 @@ function activity_getfields_expectedresult(){ 'campaign_id' => array( 'name' => 'campaign_id', 'type' => 1, - 'title' => 'Campaign ID', + 'title' => 'Campaign', 'import' => true, 'where' => 'civicrm_activity.campaign_id', 'export' => true, 'FKClassName' => 'CRM_Campaign_DAO_Campaign', + 'pseudoconstant' => array( + 'table' => 'civicrm_campaign', + 'keyColumn' => 'id', + 'labelColumn' => 'title', + ), 'uniqueName' => 'activity_campaign_id', ), 'engagement_level' => array( @@ -294,4 +304,4 @@ function activity_getfields_expectedresult(){ * * 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/ActivityTypeCreate.php b/api/v3/examples/ActivityTypeCreate.php index 1f06df0f0a..ab54fef069 100644 --- a/api/v3/examples/ActivityTypeCreate.php +++ b/api/v3/examples/ActivityTypeCreate.php @@ -36,10 +36,10 @@ function activity_type_create_expectedresult(){ 'is_error' => 0, 'version' => 3, 'count' => 1, - 'id' => 722, + 'id' => 727, 'values' => array( - '722' => array( - 'id' => '722', + '727' => array( + 'id' => '727', 'option_group_id' => '2', 'label' => 'send out letters', 'value' => '46', @@ -83,4 +83,4 @@ function activity_type_create_expectedresult(){ * * 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/ActivityTypeGet.php b/api/v3/examples/ActivityTypeGet.php index ea32e955cc..7db5bde5ec 100644 --- a/api/v3/examples/ActivityTypeGet.php +++ b/api/v3/examples/ActivityTypeGet.php @@ -102,4 +102,4 @@ function activity_type_get_expectedresult(){ * * 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/Address/AddressLike.php b/api/v3/examples/Address/AddressLike.php index 33c263ee08..23ebfdfe0b 100644 --- a/api/v3/examples/Address/AddressLike.php +++ b/api/v3/examples/Address/AddressLike.php @@ -77,4 +77,4 @@ function address_get_expectedresult(){ * * 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/Address/AddressParse.php b/api/v3/examples/Address/AddressParse.php index 8fe23d354e..3264a9779e 100644 --- a/api/v3/examples/Address/AddressParse.php +++ b/api/v3/examples/Address/AddressParse.php @@ -76,4 +76,4 @@ function address_create_expectedresult(){ * * 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/Address/AddressSort.php b/api/v3/examples/Address/AddressSort.php index 15a83157b4..cd80828af6 100644 --- a/api/v3/examples/Address/AddressSort.php +++ b/api/v3/examples/Address/AddressSort.php @@ -96,4 +96,4 @@ function address_get_expectedresult(){ * * 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/AddressCreate.php b/api/v3/examples/AddressCreate.php index 51fd3683d4..c60211fbc6 100644 --- a/api/v3/examples/AddressCreate.php +++ b/api/v3/examples/AddressCreate.php @@ -82,4 +82,4 @@ function address_create_expectedresult(){ * * 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/AddressDelete.php b/api/v3/examples/AddressDelete.php index 49e7010415..6a36efb6d8 100644 --- a/api/v3/examples/AddressDelete.php +++ b/api/v3/examples/AddressDelete.php @@ -58,4 +58,4 @@ function address_delete_expectedresult(){ * * 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/AddressGet.php b/api/v3/examples/AddressGet.php index 9db7840060..48af478645 100644 --- a/api/v3/examples/AddressGet.php +++ b/api/v3/examples/AddressGet.php @@ -75,4 +75,4 @@ function address_get_expectedresult(){ * * 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/BatchCreate.php b/api/v3/examples/BatchCreate.php index 80976d11f8..af01a81a45 100644 --- a/api/v3/examples/BatchCreate.php +++ b/api/v3/examples/BatchCreate.php @@ -46,7 +46,7 @@ function batch_create_expectedresult(){ 'created_id' => '', 'created_date' => '', 'modified_id' => '', - 'modified_date' => '', + 'modified_date' => '2012-11-14 16:02:35', 'saved_search_id' => '', 'status_id' => '1', 'type_id' => '', @@ -55,6 +55,7 @@ function batch_create_expectedresult(){ 'item_count' => '3', 'payment_instrument_id' => '', 'exported_date' => '', + 'data' => '', ), ), ); @@ -83,4 +84,4 @@ function batch_create_expectedresult(){ * * 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/BatchDelete.php b/api/v3/examples/BatchDelete.php index 6149e3fcac..105f975980 100644 --- a/api/v3/examples/BatchDelete.php +++ b/api/v3/examples/BatchDelete.php @@ -58,4 +58,4 @@ function batch_delete_expectedresult(){ * * 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/BatchGet.php b/api/v3/examples/BatchGet.php index 449cf74db4..35b0b9bba6 100644 --- a/api/v3/examples/BatchGet.php +++ b/api/v3/examples/BatchGet.php @@ -37,6 +37,7 @@ function batch_get_expectedresult(){ 'id' => '1', 'name' => 'Batch_433397', 'title' => 'Batch_433397', + 'modified_date' => '2012-11-14 16:02:35', 'status_id' => '1', ), ), @@ -66,4 +67,4 @@ function batch_get_expectedresult(){ * * 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/BatchUpdate.php b/api/v3/examples/BatchUpdate.php index 453aa22521..110a199ce0 100644 --- a/api/v3/examples/BatchUpdate.php +++ b/api/v3/examples/BatchUpdate.php @@ -55,6 +55,7 @@ function batch_update_expectedresult(){ 'item_count' => '4', 'payment_instrument_id' => '', 'exported_date' => '', + 'data' => '', ), ), ); @@ -83,4 +84,4 @@ function batch_update_expectedresult(){ * * 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/CampaignCreate.php b/api/v3/examples/CampaignCreate.php index e3afaaddb3..b4ddb16da0 100644 --- a/api/v3/examples/CampaignCreate.php +++ b/api/v3/examples/CampaignCreate.php @@ -81,4 +81,4 @@ function campaign_create_expectedresult(){ * * 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/CampaignDelete.php b/api/v3/examples/CampaignDelete.php index 8ae1877d77..a646cf72b1 100644 --- a/api/v3/examples/CampaignDelete.php +++ b/api/v3/examples/CampaignDelete.php @@ -58,4 +58,4 @@ function campaign_delete_expectedresult(){ * * 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/CampaignGet.php b/api/v3/examples/CampaignGet.php index ce69a6196e..8ff149f39c 100644 --- a/api/v3/examples/CampaignGet.php +++ b/api/v3/examples/CampaignGet.php @@ -70,4 +70,4 @@ function campaign_get_expectedresult(){ * * 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/ConstantGet.php b/api/v3/examples/ConstantGet.php index 42f6a59b59..c3032cfacd 100644 --- a/api/v3/examples/ConstantGet.php +++ b/api/v3/examples/ConstantGet.php @@ -64,4 +64,4 @@ function constant_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/APIChainedArray.php b/api/v3/examples/Contact/APIChainedArray.php index f3ba6e6b95..6cbb0ccddb 100644 --- a/api/v3/examples/Contact/APIChainedArray.php +++ b/api/v3/examples/Contact/APIChainedArray.php @@ -56,6 +56,8 @@ function contact_get_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => 'abc3', 'middle_name' => '', @@ -211,4 +213,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/APIChainedArrayFormats.php b/api/v3/examples/Contact/APIChainedArrayFormats.php index e100b94276..746edf5bea 100644 --- a/api/v3/examples/Contact/APIChainedArrayFormats.php +++ b/api/v3/examples/Contact/APIChainedArrayFormats.php @@ -58,6 +58,8 @@ function contact_get_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => 'abc3', 'middle_name' => '', @@ -146,4 +148,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php b/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php index 4c1b8d26ec..12f0a14e2a 100644 --- a/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php +++ b/api/v3/examples/Contact/APIChainedArrayMultipleCustom.php @@ -55,6 +55,8 @@ function contact_get_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => 'abc3', 'middle_name' => '', @@ -126,17 +128,17 @@ function contact_get_expectedresult(){ ), '3' => array( 'entity_id' => '1', - 'latest' => 'defaultValue', + 'latest' => '', 'id' => '3', '1' => 'warm beer', - '2' => 'defaultValue', + '2' => '', ), '4' => array( 'entity_id' => '1', - 'latest' => 'defaultValue', + 'latest' => '', 'id' => '4', - '1' => 'defaultValue', - '2' => 'defaultValue', + '1' => '', + '2' => '', ), '5' => array( 'entity_id' => '1', @@ -152,9 +154,9 @@ function contact_get_expectedresult(){ ), '7' => array( 'entity_id' => '1', - 'latest' => 'defaultValue', + 'latest' => '', 'id' => '7', - '1' => 'defaultValue', + '1' => '', ), ), ), @@ -186,4 +188,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php b/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php index 2b37455158..82a07fa5ff 100644 --- a/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php +++ b/api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.php @@ -126,4 +126,4 @@ function contact_create_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/ChainTwoWebsites.php b/api/v3/examples/Contact/ChainTwoWebsites.php index 6b1880fb37..635069251d 100644 --- a/api/v3/examples/Contact/ChainTwoWebsites.php +++ b/api/v3/examples/Contact/ChainTwoWebsites.php @@ -198,4 +198,4 @@ function contact_create_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php b/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php index c5474b2d75..e5233017ed 100644 --- a/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php +++ b/api/v3/examples/Contact/ChainTwoWebsitesSyntax2.php @@ -203,4 +203,4 @@ function contact_create_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/CustomFieldGet.php b/api/v3/examples/Contact/CustomFieldGet.php index 7076ac7373..c9ae23ae44 100644 --- a/api/v3/examples/Contact/CustomFieldGet.php +++ b/api/v3/examples/Contact/CustomFieldGet.php @@ -67,4 +67,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php b/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php index 2d69422671..59c8ee7415 100644 --- a/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php +++ b/api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.php @@ -67,4 +67,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/FormatIsSuccess_Fail.php b/api/v3/examples/Contact/FormatIsSuccess_Fail.php index 8ba618db7e..60dad237be 100644 --- a/api/v3/examples/Contact/FormatIsSuccess_Fail.php +++ b/api/v3/examples/Contact/FormatIsSuccess_Fail.php @@ -55,4 +55,4 @@ function contact_create_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/FormatIsSuccess_True.php b/api/v3/examples/Contact/FormatIsSuccess_True.php index 77b6f35eea..d8c13321fb 100644 --- a/api/v3/examples/Contact/FormatIsSuccess_True.php +++ b/api/v3/examples/Contact/FormatIsSuccess_True.php @@ -55,4 +55,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/FormatOnlyID.php b/api/v3/examples/Contact/FormatOnlyID.php index 3acbd4dc3a..b63433735b 100644 --- a/api/v3/examples/Contact/FormatOnlyID.php +++ b/api/v3/examples/Contact/FormatOnlyID.php @@ -56,4 +56,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/FormatSingleValue.php b/api/v3/examples/Contact/FormatSingleValue.php index 2e9b14250c..65cd12fc95 100644 --- a/api/v3/examples/Contact/FormatSingleValue.php +++ b/api/v3/examples/Contact/FormatSingleValue.php @@ -56,4 +56,4 @@ function contact_getvalue_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/GetCountContact.php b/api/v3/examples/Contact/GetCountContact.php index d9b8e566e2..d7af5c027b 100644 --- a/api/v3/examples/Contact/GetCountContact.php +++ b/api/v3/examples/Contact/GetCountContact.php @@ -54,4 +54,4 @@ function contact_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/GetFieldsOptions.php b/api/v3/examples/Contact/GetFieldsOptions.php index 4337b34870..e41ec7d281 100644 --- a/api/v3/examples/Contact/GetFieldsOptions.php +++ b/api/v3/examples/Contact/GetFieldsOptions.php @@ -88,7 +88,7 @@ function contact_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_contact.do_not_email', 'headerPattern' => '/d(o )?(not )?(email)/i', - 'dataPattern' => '/^\d{1,}$/', + 'dataPattern' => '/^\\d{1,}$/', 'export' => true, ), 'do_not_phone' => array( @@ -98,7 +98,7 @@ function contact_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_contact.do_not_phone', 'headerPattern' => '/d(o )?(not )?(call|phone)/i', - 'dataPattern' => '/^\d{1,}$/', + 'dataPattern' => '/^\\d{1,}$/', 'export' => true, ), 'do_not_mail' => array( @@ -107,8 +107,8 @@ function contact_getfields_expectedresult(){ 'title' => 'Do Not Mail', 'import' => true, 'where' => 'civicrm_contact.do_not_mail', - 'headerPattern' => '/^(d(o\s)?n(ot\s)?mail)|(\w*)?bulk\s?(\w*)$/i', - 'dataPattern' => '/^\d{1,}$/', + 'headerPattern' => '/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i', + 'dataPattern' => '/^\\d{1,}$/', 'export' => true, ), 'do_not_sms' => array( @@ -118,7 +118,7 @@ function contact_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_contact.do_not_sms', 'headerPattern' => '/d(o )?(not )?(sms)/i', - 'dataPattern' => '/^\d{1,}$/', + 'dataPattern' => '/^\\d{1,}$/', 'export' => true, ), 'do_not_trade' => array( @@ -128,7 +128,7 @@ function contact_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_contact.do_not_trade', 'headerPattern' => '/d(o )?(not )?(trade)/i', - 'dataPattern' => '/^\d{1,}$/', + 'dataPattern' => '/^\\d{1,}$/', 'export' => true, ), 'is_opt_out' => array( @@ -148,8 +148,8 @@ function contact_getfields_expectedresult(){ 'size' => 20, 'import' => true, 'where' => 'civicrm_contact.legal_identifier', - 'headerPattern' => '/legal\s?id/i', - 'dataPattern' => '/\w+?\d{5,}/', + 'headerPattern' => '/legal\\s?id/i', + 'dataPattern' => '/\\w+?\\d{5,}/', 'export' => true, ), 'external_identifier' => array( @@ -160,8 +160,8 @@ function contact_getfields_expectedresult(){ 'size' => 8, 'import' => true, 'where' => 'civicrm_contact.external_identifier', - 'headerPattern' => '/external\s?id/i', - 'dataPattern' => '/^\d{11,}$/', + 'headerPattern' => '/external\\s?id/i', + 'dataPattern' => '/^\\d{11,}$/', 'export' => true, ), 'sort_name' => array( @@ -190,8 +190,8 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.nick_name', - 'headerPattern' => '/n(ick\s)name|nick$/i', - 'dataPattern' => '/^\w+$/', + 'headerPattern' => '/n(ick\\s)name|nick$/i', + 'dataPattern' => '/^\\w+$/', 'export' => true, ), 'legal_name' => array( @@ -202,7 +202,7 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.legal_name', - 'headerPattern' => '/^legal|(l(egal\s)?name)$/i', + 'headerPattern' => '/^legal|(l(egal\\s)?name)$/i', 'export' => true, ), 'image_URL' => array( @@ -223,8 +223,8 @@ function contact_getfields_expectedresult(){ 'size' => 45, 'import' => true, 'where' => 'civicrm_contact.preferred_communication_method', - 'headerPattern' => '/^p(ref\w*\s)?c(omm\w*)|( meth\w*)$/i', - 'dataPattern' => '/^\w+$/', + 'headerPattern' => '/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i', + 'dataPattern' => '/^\\w+$/', 'export' => true, 'pseudoconstant' => array( 'optionGroupName' => 'preferred_communication_method', @@ -251,7 +251,7 @@ function contact_getfields_expectedresult(){ 'title' => 'Preferred Mail Format', 'import' => true, 'where' => 'civicrm_contact.preferred_mail_format', - 'headerPattern' => '/^p(ref\w*\s)?m(ail\s)?f(orm\w*)$/i', + 'headerPattern' => '/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i', 'export' => true, 'default' => 'Both', 'enumValues' => 'Text, HTML, Both', @@ -280,8 +280,8 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.first_name', - 'headerPattern' => '/^first|(f(irst\s)?name)$/i', - 'dataPattern' => '/^\w+$/', + 'headerPattern' => '/^first|(f(irst\\s)?name)$/i', + 'dataPattern' => '/^\\w+$/', 'export' => true, ), 'middle_name' => array( @@ -292,8 +292,8 @@ function contact_getfields_expectedresult(){ 'size' => 20, 'import' => true, 'where' => 'civicrm_contact.middle_name', - 'headerPattern' => '/^middle|(m(iddle\s)?name)$/i', - 'dataPattern' => '/^\w+$/', + 'headerPattern' => '/^middle|(m(iddle\\s)?name)$/i', + 'dataPattern' => '/^\\w+$/', 'export' => true, ), 'last_name' => array( @@ -304,8 +304,8 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.last_name', - 'headerPattern' => '/^last|(l(ast\s)?name)$/i', - 'dataPattern' => '/^\w+(\s\w+)?+$/', + 'headerPattern' => '/^last|(l(ast\\s)?name)$/i', + 'dataPattern' => '/^\\w+(\\s\\w+)?+$/', 'export' => true, ), 'prefix_id' => array( @@ -315,7 +315,7 @@ function contact_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_contact.prefix_id', 'headerPattern' => '/^(prefix|title)/i', - 'dataPattern' => '/^(mr|ms|mrs|sir|dr)\.?$/i', + 'dataPattern' => '/^(mr|ms|mrs|sir|dr)\\.?$/i', 'export' => true, 'pseudoconstant' => array( 'optionGroupName' => 'individual_prefix', @@ -332,7 +332,7 @@ function contact_getfields_expectedresult(){ 'import' => true, 'where' => 'civicrm_contact.suffix_id', 'headerPattern' => '/^suffix$/i', - 'dataPattern' => '/^(sr|jr)\.?|i{2,}$/', + 'dataPattern' => '/^(sr|jr)\\.?|i{2,}$/', 'export' => true, 'pseudoconstant' => array( 'optionGroupName' => 'individual_suffix', @@ -413,7 +413,7 @@ function contact_getfields_expectedresult(){ 'size' => 20, 'import' => true, 'where' => 'civicrm_contact.job_title', - 'headerPattern' => '/^job|(j(ob\s)?title)$/i', + 'headerPattern' => '/^job|(j(ob\\s)?title)$/i', 'dataPattern' => '//', 'export' => true, ), @@ -435,8 +435,8 @@ function contact_getfields_expectedresult(){ 'title' => 'Birth Date', 'import' => true, 'where' => 'civicrm_contact.birth_date', - 'headerPattern' => '/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i', - 'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/', + 'headerPattern' => '/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i', + 'dataPattern' => '/\\d{4}-?\\d{2}-?\\d{2}/', 'export' => true, ), 'is_deceased' => array( @@ -445,7 +445,7 @@ function contact_getfields_expectedresult(){ 'title' => 'Is Deceased', 'import' => true, 'where' => 'civicrm_contact.is_deceased', - 'headerPattern' => '/i(s\s)?d(eceased)$/i', + 'headerPattern' => '/i(s\\s)?d(eceased)$/i', 'export' => true, ), 'deceased_date' => array( @@ -454,7 +454,7 @@ function contact_getfields_expectedresult(){ 'title' => 'Deceased Date', 'import' => true, 'where' => 'civicrm_contact.deceased_date', - 'headerPattern' => '/^deceased|(d(eceased\s)?date)$/i', + 'headerPattern' => '/^deceased|(d(eceased\\s)?date)$/i', 'export' => true, ), 'household_name' => array( @@ -465,8 +465,8 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.household_name', - 'headerPattern' => '/^household|(h(ousehold\s)?name)$/i', - 'dataPattern' => '/^\w+$/', + 'headerPattern' => '/^household|(h(ousehold\\s)?name)$/i', + 'dataPattern' => '/^\\w+$/', 'export' => true, ), 'primary_contact_id' => array( @@ -483,8 +483,8 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.organization_name', - 'headerPattern' => '/^organization|(o(rganization\s)?name)$/i', - 'dataPattern' => '/^\w+$/', + 'headerPattern' => '/^organization|(o(rganization\\s)?name)$/i', + 'dataPattern' => '/^\\w+$/', 'export' => true, ), 'sic_code' => array( @@ -495,7 +495,7 @@ function contact_getfields_expectedresult(){ 'size' => 8, 'import' => true, 'where' => 'civicrm_contact.sic_code', - 'headerPattern' => '/^sic|(s(ic\s)?code)$/i', + 'headerPattern' => '/^sic|(s(ic\\s)?code)$/i', 'export' => true, ), 'user_unique_id' => array( @@ -506,8 +506,8 @@ function contact_getfields_expectedresult(){ 'size' => 45, 'import' => true, 'where' => 'civicrm_contact.user_unique_id', - 'headerPattern' => '/^Open\s?ID|u(niq\w*)?\s?ID/i', - 'dataPattern' => '/^[\w\/\:\.]+$/', + 'headerPattern' => '/^Open\\s?ID|u(niq\\w*)?\\s?ID/i', + 'dataPattern' => '/^[\\w\\/\\:\\.]+$/', 'export' => true, 'rule' => 'url', ), @@ -516,14 +516,14 @@ function contact_getfields_expectedresult(){ 'type' => 256, 'title' => 'Created Date', 'required' => '', - 'default' => 'UL', + 'default' => 'NULL', ), 'modified_date' => array( 'name' => 'modified_date', 'type' => 256, 'title' => 'Modified Date', 'required' => '', - 'default' => 'URRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAM', + 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', ), 'source' => array( 'name' => 'source', @@ -533,7 +533,7 @@ function contact_getfields_expectedresult(){ 'size' => 30, 'import' => true, 'where' => 'civicrm_contact.source', - 'headerPattern' => '/(S(ource\s)?o(f\s)?C(ontact\s)?Data)$/i', + 'headerPattern' => '/(S(ource\\s)?o(f\\s)?C(ontact\\s)?Data)$/i', 'export' => true, 'uniqueName' => 'contact_source', ), @@ -616,4 +616,4 @@ function contact_getfields_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/GetSingleContact.php b/api/v3/examples/Contact/GetSingleContact.php index 5e9cfa7465..3c5766582e 100644 --- a/api/v3/examples/Contact/GetSingleContact.php +++ b/api/v3/examples/Contact/GetSingleContact.php @@ -46,6 +46,8 @@ function contact_getsingle_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => '', 'preferred_mail_format' => '', 'first_name' => 'Test', 'middle_name' => '', @@ -117,4 +119,4 @@ function contact_getsingle_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/Contact/GroupFilterUsingContactAPI.php b/api/v3/examples/Contact/GroupFilterUsingContactAPI.php index 0cc978a61f..01b837bfb0 100644 --- a/api/v3/examples/Contact/GroupFilterUsingContactAPI.php +++ b/api/v3/examples/Contact/GroupFilterUsingContactAPI.php @@ -54,6 +54,8 @@ function contact_get_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => '', 'middle_name' => '', @@ -127,4 +129,4 @@ function contact_get_expectedresult(){ * * 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/ContactCreate.php b/api/v3/examples/ContactCreate.php index 0b7b39c699..abe8f2c244 100644 --- a/api/v3/examples/ContactCreate.php +++ b/api/v3/examples/ContactCreate.php @@ -112,4 +112,4 @@ function contact_create_expectedresult(){ * * 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/ContactDelete.php b/api/v3/examples/ContactDelete.php index f299e0244b..6a4923da51 100644 --- a/api/v3/examples/ContactDelete.php +++ b/api/v3/examples/ContactDelete.php @@ -58,4 +58,4 @@ function contact_delete_expectedresult(){ * * 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/ContactGet.php b/api/v3/examples/ContactGet.php index 481b5cc329..7101dbfe2e 100644 --- a/api/v3/examples/ContactGet.php +++ b/api/v3/examples/ContactGet.php @@ -50,6 +50,8 @@ function contact_get_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => '', 'middle_name' => '', @@ -123,4 +125,4 @@ function contact_get_expectedresult(){ * * 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/ContactGetoptions.php b/api/v3/examples/ContactGetoptions.php index 2497092f17..bb2b392072 100644 --- a/api/v3/examples/ContactGetoptions.php +++ b/api/v3/examples/ContactGetoptions.php @@ -61,4 +61,4 @@ function contact_getoptions_expectedresult(){ * * 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/Contribution/ContributionCreateWithNote.php b/api/v3/examples/Contribution/ContributionCreateWithNote.php index dd139fea77..2979fac39f 100644 --- a/api/v3/examples/Contribution/ContributionCreateWithNote.php +++ b/api/v3/examples/Contribution/ContributionCreateWithNote.php @@ -103,4 +103,4 @@ function contribution_create_expectedresult(){ * * 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/Contribution/ContributionCreateWithSoftCredit.php b/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php index 5517820800..a96330fae5 100644 --- a/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php +++ b/api/v3/examples/Contribution/ContributionCreateWithSoftCredit.php @@ -47,7 +47,7 @@ function contribution_create_expectedresult(){ 'contact_id' => '1', 'financial_type_id' => '1', 'contribution_page_id' => '', - 'payment_instrument_id' => '', + 'payment_instrument_id' => '4', 'receive_date' => '20120511000000', 'non_deductible_amount' => '10', 'total_amount' => '100', @@ -100,4 +100,4 @@ function contribution_create_expectedresult(){ * * 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/Contribution/CreateWithNestedLineItems.php b/api/v3/examples/Contribution/CreateWithNestedLineItems.php index 4ad4565a66..48237f9b2b 100644 --- a/api/v3/examples/Contribution/CreateWithNestedLineItems.php +++ b/api/v3/examples/Contribution/CreateWithNestedLineItems.php @@ -163,4 +163,4 @@ function contribution_create_expectedresult(){ * * 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/ContributionCreate.php b/api/v3/examples/ContributionCreate.php index a96d60686d..8cbbf75319 100644 --- a/api/v3/examples/ContributionCreate.php +++ b/api/v3/examples/ContributionCreate.php @@ -99,4 +99,4 @@ function contribution_create_expectedresult(){ * * 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/ContributionDelete.php b/api/v3/examples/ContributionDelete.php index f2586828a5..c144e2e4bd 100644 --- a/api/v3/examples/ContributionDelete.php +++ b/api/v3/examples/ContributionDelete.php @@ -61,4 +61,4 @@ function contribution_delete_expectedresult(){ * * 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/ContributionGet.php b/api/v3/examples/ContributionGet.php index 41f8714c28..7d6f41f9a6 100644 --- a/api/v3/examples/ContributionGet.php +++ b/api/v3/examples/ContributionGet.php @@ -61,8 +61,8 @@ function contribution_get_expectedresult(){ 'contribution_campaign_id' => '', 'financial_type_id' => '1', 'financial_type' => 'Donation', - 'instrument_id' => '', - 'payment_instrument' => '', + 'instrument_id' => '84', + 'payment_instrument' => 'Check', 'product_id' => '', 'product_name' => '', 'sku' => '', @@ -77,7 +77,7 @@ function contribution_get_expectedresult(){ 'contribution_note' => '', 'contribution_batch' => '', 'contribution_status' => 'Completed', - 'contribution_payment_instrument' => '', + 'contribution_payment_instrument' => 'Check', 'contribution_check_number' => '', 'id' => '1', 'contribution_type_id' => '1', @@ -109,4 +109,4 @@ function contribution_get_expectedresult(){ * * 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/ContributionPageCreate.php b/api/v3/examples/ContributionPageCreate.php index 11be46d350..9b2d5191eb 100644 --- a/api/v3/examples/ContributionPageCreate.php +++ b/api/v3/examples/ContributionPageCreate.php @@ -113,4 +113,4 @@ function contribution_page_create_expectedresult(){ * * 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/ContributionPageDelete.php b/api/v3/examples/ContributionPageDelete.php index dc3a05d59c..2e214f900c 100644 --- a/api/v3/examples/ContributionPageDelete.php +++ b/api/v3/examples/ContributionPageDelete.php @@ -58,4 +58,4 @@ function contribution_page_delete_expectedresult(){ * * 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/ContributionPageGet.php b/api/v3/examples/ContributionPageGet.php index bdb335613a..ae3d93b2ec 100644 --- a/api/v3/examples/ContributionPageGet.php +++ b/api/v3/examples/ContributionPageGet.php @@ -82,4 +82,4 @@ function contribution_page_get_expectedresult(){ * * 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/ContributionRecurCreate.php b/api/v3/examples/ContributionRecurCreate.php index 9caa2ac865..43ffe3c866 100644 --- a/api/v3/examples/ContributionRecurCreate.php +++ b/api/v3/examples/ContributionRecurCreate.php @@ -96,4 +96,4 @@ function contribution_recur_create_expectedresult(){ * * 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/ContributionRecurDelete.php b/api/v3/examples/ContributionRecurDelete.php index 2f4a8e0ce4..395e42e487 100644 --- a/api/v3/examples/ContributionRecurDelete.php +++ b/api/v3/examples/ContributionRecurDelete.php @@ -58,4 +58,4 @@ function contribution_recur_delete_expectedresult(){ * * 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/ContributionRecurGet.php b/api/v3/examples/ContributionRecurGet.php index 4218e7458b..c2454c6cf2 100644 --- a/api/v3/examples/ContributionRecurGet.php +++ b/api/v3/examples/ContributionRecurGet.php @@ -77,4 +77,4 @@ function contribution_recur_get_expectedresult(){ * * 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/ContributionSoftCreate.php b/api/v3/examples/ContributionSoftCreate.php index c9e12465f1..f9120ee8d9 100644 --- a/api/v3/examples/ContributionSoftCreate.php +++ b/api/v3/examples/ContributionSoftCreate.php @@ -74,4 +74,4 @@ function contribution_soft_create_expectedresult(){ * * 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/ContributionSoftDelete.php b/api/v3/examples/ContributionSoftDelete.php index 5ca7d1b92d..9a5fb94446 100644 --- a/api/v3/examples/ContributionSoftDelete.php +++ b/api/v3/examples/ContributionSoftDelete.php @@ -53,4 +53,4 @@ function contribution_soft_delete_expectedresult(){ * * 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/ContributionSoftGet.php b/api/v3/examples/ContributionSoftGet.php index 93625387da..5bff00d770 100644 --- a/api/v3/examples/ContributionSoftGet.php +++ b/api/v3/examples/ContributionSoftGet.php @@ -68,4 +68,4 @@ function contribution_soft_get_expectedresult(){ * * 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/CustomFieldCreate.php b/api/v3/examples/CustomFieldCreate.php index 24644eb443..001e47b2a4 100644 --- a/api/v3/examples/CustomFieldCreate.php +++ b/api/v3/examples/CustomFieldCreate.php @@ -100,4 +100,4 @@ function custom_field_create_expectedresult(){ * * 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/CustomFieldDelete.php b/api/v3/examples/CustomFieldDelete.php index db4437fccb..5900f0f933 100644 --- a/api/v3/examples/CustomFieldDelete.php +++ b/api/v3/examples/CustomFieldDelete.php @@ -58,4 +58,4 @@ function custom_field_delete_expectedresult(){ * * 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/CustomGroupCreate.php b/api/v3/examples/CustomGroupCreate.php index 235eb182e4..3dc77441d7 100644 --- a/api/v3/examples/CustomGroupCreate.php +++ b/api/v3/examples/CustomGroupCreate.php @@ -92,4 +92,4 @@ function custom_group_create_expectedresult(){ * * 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/CustomGroupDelete.php b/api/v3/examples/CustomGroupDelete.php index e5b7dc15e6..70096253bb 100644 --- a/api/v3/examples/CustomGroupDelete.php +++ b/api/v3/examples/CustomGroupDelete.php @@ -58,4 +58,4 @@ function custom_group_delete_expectedresult(){ * * 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/CustomGroupGet.php b/api/v3/examples/CustomGroupGet.php index 35d4217897..d94d3d2ba6 100644 --- a/api/v3/examples/CustomGroupGet.php +++ b/api/v3/examples/CustomGroupGet.php @@ -74,4 +74,4 @@ function custom_group_get_expectedresult(){ * * 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/CustomValue/formatFieldName.php b/api/v3/examples/CustomValue/formatFieldName.php index a7f3e0abc5..d922746cbd 100644 --- a/api/v3/examples/CustomValue/formatFieldName.php +++ b/api/v3/examples/CustomValue/formatFieldName.php @@ -108,4 +108,4 @@ function custom_value_get_expectedresult(){ * * 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/CustomValueCreate.php b/api/v3/examples/CustomValueCreate.php index fb8e0479f4..a9e0bd2c31 100644 --- a/api/v3/examples/CustomValueCreate.php +++ b/api/v3/examples/CustomValueCreate.php @@ -59,4 +59,4 @@ function custom_value_create_expectedresult(){ * * 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/CustomValueGet.php b/api/v3/examples/CustomValueGet.php index e5d81ea447..8c32d184e1 100644 --- a/api/v3/examples/CustomValueGet.php +++ b/api/v3/examples/CustomValueGet.php @@ -107,4 +107,4 @@ function custom_value_get_expectedresult(){ * * 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/DomainCreate.php b/api/v3/examples/DomainCreate.php index 5de8ff77cc..aa1bdeea0e 100644 --- a/api/v3/examples/DomainCreate.php +++ b/api/v3/examples/DomainCreate.php @@ -73,4 +73,4 @@ function domain_create_expectedresult(){ * * 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/DomainGet.php b/api/v3/examples/DomainGet.php index 2456fea48c..11a7dd89bf 100644 --- a/api/v3/examples/DomainGet.php +++ b/api/v3/examples/DomainGet.php @@ -35,9 +35,10 @@ function domain_get_expectedresult(){ '0' => array( 'id' => '1', 'name' => 'Default Domain Name', - 'config_backend' => 'a:80:{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:1048576;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: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:10:"4.4.alpha1";}', + '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\";}', 'version' => '3', 'contact_id' => '3', + 'locale_custom_strings' => 'a:1:{s:5:\"en_US\";a:0:{}}', 'domain_email' => 'my@email.com', 'domain_phone' => array( 'phone_type' => 'Phone', @@ -60,10 +61,10 @@ function domain_get_expectedresult(){ '1' => array( 'id' => '2', 'name' => 'Second Domain', - 'config_backend' => 'a:80:{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:1048576;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: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:10:"4.4.alpha1";}', + '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\";}', 'version' => '4.3.alpha1', 'contact_id' => '2', - 'domain_email' => '"Domain Email" ', + 'domain_email' => '\"Domain Email\" ', 'domain_phone' => array( 'phone_type' => 'Phone', 'phone' => '204 555-1001', @@ -109,4 +110,4 @@ function domain_get_expectedresult(){ * * 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/Email/NestedReplaceEmail.php b/api/v3/examples/Email/NestedReplaceEmail.php index 8f6a1b116c..1ddd766988 100644 --- a/api/v3/examples/Email/NestedReplaceEmail.php +++ b/api/v3/examples/Email/NestedReplaceEmail.php @@ -79,11 +79,16 @@ function email_replace_expectedresult(){ 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', + 'preferred_communication_method' => '', + 'preferred_language' => 'en_US', 'preferred_mail_format' => 'Both', 'first_name' => '', 'middle_name' => '', 'last_name' => '', + 'prefix_id' => '', + 'suffix_id' => '', 'job_title' => '', + 'gender_id' => '', 'birth_date' => '', 'is_deceased' => 0, 'deceased_date' => '', @@ -114,6 +119,9 @@ function email_replace_expectedresult(){ 'im' => '', 'worldregion_id' => '', 'world_region' => '', + 'individual_prefix' => '', + 'individual_suffix' => '', + 'gender' => '', 'state_province_name' => '', 'state_province' => '', 'country' => '', @@ -223,4 +231,4 @@ function email_replace_expectedresult(){ * * 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/EmailCreate.php b/api/v3/examples/EmailCreate.php index cfeb2745da..31e4e5e08f 100644 --- a/api/v3/examples/EmailCreate.php +++ b/api/v3/examples/EmailCreate.php @@ -77,4 +77,4 @@ function email_create_expectedresult(){ * * 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/EmailDelete.php b/api/v3/examples/EmailDelete.php index cd07fdbd4e..f6baf60399 100644 --- a/api/v3/examples/EmailDelete.php +++ b/api/v3/examples/EmailDelete.php @@ -58,4 +58,4 @@ function email_delete_expectedresult(){ * * 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/EmailReplace.php b/api/v3/examples/EmailReplace.php index fac5569782..b41733b316 100644 --- a/api/v3/examples/EmailReplace.php +++ b/api/v3/examples/EmailReplace.php @@ -156,4 +156,4 @@ function email_replace_expectedresult(){ * * 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/EntityTagCreate.php b/api/v3/examples/EntityTagCreate.php index 13c837eab8..0ac14b3b47 100644 --- a/api/v3/examples/EntityTagCreate.php +++ b/api/v3/examples/EntityTagCreate.php @@ -59,4 +59,4 @@ function entity_tag_create_expectedresult(){ * * 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/EntityTagDelete.php b/api/v3/examples/EntityTagDelete.php index a52bd3521b..fb12f231bd 100644 --- a/api/v3/examples/EntityTagDelete.php +++ b/api/v3/examples/EntityTagDelete.php @@ -59,4 +59,4 @@ function entity_tag_delete_expectedresult(){ * * 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/EntityTagGet.php b/api/v3/examples/EntityTagGet.php index 9fa94d8103..cf8b033362 100644 --- a/api/v3/examples/EntityTagGet.php +++ b/api/v3/examples/EntityTagGet.php @@ -59,4 +59,4 @@ function entity_tag_get_expectedresult(){ * * 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/Event/IsCurrentOption.php b/api/v3/examples/Event/IsCurrentOption.php index af5302ddad..87580daf02 100644 --- a/api/v3/examples/Event/IsCurrentOption.php +++ b/api/v3/examples/Event/IsCurrentOption.php @@ -93,4 +93,4 @@ function event_get_expectedresult(){ * * 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/Event/IsFullOption.php b/api/v3/examples/Event/IsFullOption.php index 7c49f621bb..ee4ab7be56 100644 --- a/api/v3/examples/Event/IsFullOption.php +++ b/api/v3/examples/Event/IsFullOption.php @@ -50,7 +50,7 @@ function event_getsingle_expectedresult(){ 'is_multiple_registrations' => 0, 'allow_same_participant_emails' => 0, 'is_template' => 0, - 'created_date' => '2013-08-03 21:23:22', + 'created_date' => '2014-01-20 10:55:46', 'is_share' => '1', 'available_places' => 0, 'is_full' => '1', @@ -80,4 +80,4 @@ function event_getsingle_expectedresult(){ * * 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/EventCreate.php b/api/v3/examples/EventCreate.php index 3b55e4d79b..49b68a5aff 100644 --- a/api/v3/examples/EventCreate.php +++ b/api/v3/examples/EventCreate.php @@ -139,4 +139,4 @@ function event_create_expectedresult(){ * * 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/EventDelete.php b/api/v3/examples/EventDelete.php index e851cd6f32..f537639003 100644 --- a/api/v3/examples/EventDelete.php +++ b/api/v3/examples/EventDelete.php @@ -58,4 +58,4 @@ function event_delete_expectedresult(){ * * 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/EventGet.php b/api/v3/examples/EventGet.php index 400d3dcaa5..2a5ba2051a 100644 --- a/api/v3/examples/EventGet.php +++ b/api/v3/examples/EventGet.php @@ -85,4 +85,4 @@ function event_get_expectedresult(){ * * 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/GrantCreate.php b/api/v3/examples/GrantCreate.php index 97a42badf5..bc0e60045f 100644 --- a/api/v3/examples/GrantCreate.php +++ b/api/v3/examples/GrantCreate.php @@ -84,4 +84,4 @@ function grant_create_expectedresult(){ * * 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/GrantDelete.php b/api/v3/examples/GrantDelete.php index d0a7214771..a0a8d91956 100644 --- a/api/v3/examples/GrantDelete.php +++ b/api/v3/examples/GrantDelete.php @@ -58,4 +58,4 @@ function grant_delete_expectedresult(){ * * 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/GrantGet.php b/api/v3/examples/GrantGet.php index 0b340841e0..80c12b812c 100644 --- a/api/v3/examples/GrantGet.php +++ b/api/v3/examples/GrantGet.php @@ -37,7 +37,7 @@ function grant_get_expectedresult(){ 'id' => '2', 'contact_id' => '4', 'application_received_date' => '20130728084957', - 'decision_date' => '2013-08-05', + 'decision_date' => '20130805000000', 'grant_type_id' => '1', 'amount_total' => '500.00', 'currency' => 'USD', @@ -71,4 +71,4 @@ function grant_get_expectedresult(){ * * 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/Group/getfields.php b/api/v3/examples/Group/getfields.php index 5a769c9056..176477e12b 100644 --- a/api/v3/examples/Group/getfields.php +++ b/api/v3/examples/Group/getfields.php @@ -174,4 +174,4 @@ function group_getfields_expectedresult(){ * * 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/GroupContact/GetWithGroupID.php b/api/v3/examples/GroupContact/GetWithGroupID.php index 4832c484bc..26cbd4e65b 100644 --- a/api/v3/examples/GroupContact/GetWithGroupID.php +++ b/api/v3/examples/GroupContact/GetWithGroupID.php @@ -47,16 +47,16 @@ function group_contact_get_expectedresult(){ 'values' => array( '0' => array( 'id' => '1', - 'name' => 'Test Group 1_1', + 'name' => 'Test Group 1', 'title' => 'New Test Group Created', 'description' => 'New Test Group Created', 'source' => '', 'saved_search_id' => '', 'is_active' => '1', 'visibility' => 'Public Pages', - 'where_clause' => ' ( `civicrm_group_contact-1`.group_id IN ( 1 ) AND `civicrm_group_contact-1`.status IN ("Added") ) ', - 'select_tables' => 'a:8:{s:15:"civicrm_contact";i:1;s:15:"civicrm_address";i:1;s:15:"civicrm_country";i:1;s:13:"civicrm_email";i:1;s:13:"civicrm_phone";i:1;s:10:"civicrm_im";i:1;s:19:"civicrm_worldregion";i:1;s:25:"`civicrm_group_contact-1`";s:114:" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON contact_a.id = `civicrm_group_contact-1`.contact_id ";}', - 'where_tables' => 'a:2:{s:15:"civicrm_contact";i:1;s:25:"`civicrm_group_contact-1`";s:114:" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON contact_a.id = `civicrm_group_contact-1`.contact_id ";}', + 'where_clause' => ' ( `civicrm_group_contact-1`.group_id IN ( 1 ) AND `civicrm_group_contact-1`.status IN (\"Added\") ) ', + 'select_tables' => 'a:8:{s:15:\"civicrm_contact\";i:1;s:15:\"civicrm_address\";i:1;s:15:\"civicrm_country\";i:1;s:13:\"civicrm_email\";i:1;s:13:\"civicrm_phone\";i:1;s:10:\"civicrm_im\";i:1;s:19:\"civicrm_worldregion\";i:1;s:25:\"`civicrm_group_contact-1`\";s:165:\" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON ( contact_a.id = `civicrm_group_contact-1`.contact_id AND `civicrm_group_contact-1`.group_id IN ( 1 ) )\";}', + 'where_tables' => 'a:2:{s:15:\"civicrm_contact\";i:1;s:25:\"`civicrm_group_contact-1`\";s:165:\" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON ( contact_a.id = `civicrm_group_contact-1`.contact_id AND `civicrm_group_contact-1`.group_id IN ( 1 ) )\";}', 'group_type' => array( '0' => '1', '1' => '2', @@ -85,16 +85,16 @@ function group_contact_get_expectedresult(){ 'values' => array( '0' => array( 'id' => '1', - 'name' => 'Test Group 1_1', + 'name' => 'Test Group 1', 'title' => 'New Test Group Created', 'description' => 'New Test Group Created', 'source' => '', 'saved_search_id' => '', 'is_active' => '1', 'visibility' => 'Public Pages', - 'where_clause' => ' ( `civicrm_group_contact-1`.group_id IN ( 1 ) AND `civicrm_group_contact-1`.status IN ("Added") ) ', - 'select_tables' => 'a:8:{s:15:"civicrm_contact";i:1;s:15:"civicrm_address";i:1;s:15:"civicrm_country";i:1;s:13:"civicrm_email";i:1;s:13:"civicrm_phone";i:1;s:10:"civicrm_im";i:1;s:19:"civicrm_worldregion";i:1;s:25:"`civicrm_group_contact-1`";s:114:" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON contact_a.id = `civicrm_group_contact-1`.contact_id ";}', - 'where_tables' => 'a:2:{s:15:"civicrm_contact";i:1;s:25:"`civicrm_group_contact-1`";s:114:" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON contact_a.id = `civicrm_group_contact-1`.contact_id ";}', + 'where_clause' => ' ( `civicrm_group_contact-1`.group_id IN ( 1 ) AND `civicrm_group_contact-1`.status IN (\"Added\") ) ', + 'select_tables' => 'a:8:{s:15:\"civicrm_contact\";i:1;s:15:\"civicrm_address\";i:1;s:15:\"civicrm_country\";i:1;s:13:\"civicrm_email\";i:1;s:13:\"civicrm_phone\";i:1;s:10:\"civicrm_im\";i:1;s:19:\"civicrm_worldregion\";i:1;s:25:\"`civicrm_group_contact-1`\";s:165:\" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON ( contact_a.id = `civicrm_group_contact-1`.contact_id AND `civicrm_group_contact-1`.group_id IN ( 1 ) )\";}', + 'where_tables' => 'a:2:{s:15:\"civicrm_contact\";i:1;s:25:\"`civicrm_group_contact-1`\";s:165:\" LEFT JOIN civicrm_group_contact `civicrm_group_contact-1` ON ( contact_a.id = `civicrm_group_contact-1`.contact_id AND `civicrm_group_contact-1`.group_id IN ( 1 ) )\";}', 'group_type' => array( '0' => '1', '1' => '2', @@ -137,4 +137,4 @@ function group_contact_get_expectedresult(){ * * 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/GroupContactCreate.php b/api/v3/examples/GroupContactCreate.php index 309c0edfcf..0ca453a557 100644 --- a/api/v3/examples/GroupContactCreate.php +++ b/api/v3/examples/GroupContactCreate.php @@ -63,4 +63,4 @@ function group_contact_create_expectedresult(){ * * 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/GroupContactDelete.php b/api/v3/examples/GroupContactDelete.php index 44efa758da..0a8f904179 100644 --- a/api/v3/examples/GroupContactDelete.php +++ b/api/v3/examples/GroupContactDelete.php @@ -62,4 +62,4 @@ function group_contact_delete_expectedresult(){ * * 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/GroupContactGet.php b/api/v3/examples/GroupContactGet.php index d808dc118a..81ac2d8f62 100644 --- a/api/v3/examples/GroupContactGet.php +++ b/api/v3/examples/GroupContactGet.php @@ -69,4 +69,4 @@ function group_contact_get_expectedresult(){ * * 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/GroupGet.php b/api/v3/examples/GroupGet.php index 814907546a..4256303445 100644 --- a/api/v3/examples/GroupGet.php +++ b/api/v3/examples/GroupGet.php @@ -5,7 +5,7 @@ */ function group_get_example(){ $params = array( - 'name' => 'Test Group 1_4', + 'name' => 'Test Group 1', ); try{ @@ -35,16 +35,16 @@ function group_get_expectedresult(){ 'values' => array( '4' => array( 'id' => '4', - 'name' => 'Test Group 1_4', + 'name' => 'Test Group 1', 'title' => 'New Test Group Created', 'description' => 'New Test Group Created', 'source' => '', 'saved_search_id' => '', 'is_active' => '1', 'visibility' => 'Public Pages', - 'where_clause' => ' ( `civicrm_group_contact-4`.group_id IN ( 4 ) AND `civicrm_group_contact-4`.status IN ("Added") ) ', - 'select_tables' => 'a:8:{s:15:"civicrm_contact";i:1;s:15:"civicrm_address";i:1;s:15:"civicrm_country";i:1;s:13:"civicrm_email";i:1;s:13:"civicrm_phone";i:1;s:10:"civicrm_im";i:1;s:19:"civicrm_worldregion";i:1;s:25:"`civicrm_group_contact-4`";s:114:" LEFT JOIN civicrm_group_contact `civicrm_group_contact-4` ON contact_a.id = `civicrm_group_contact-4`.contact_id ";}', - 'where_tables' => 'a:2:{s:15:"civicrm_contact";i:1;s:25:"`civicrm_group_contact-4`";s:114:" LEFT JOIN civicrm_group_contact `civicrm_group_contact-4` ON contact_a.id = `civicrm_group_contact-4`.contact_id ";}', + 'where_clause' => ' ( `civicrm_group_contact-4`.group_id IN ( 4 ) AND `civicrm_group_contact-4`.status IN (\"Added\") ) ', + 'select_tables' => 'a:8:{s:15:\"civicrm_contact\";i:1;s:15:\"civicrm_address\";i:1;s:15:\"civicrm_country\";i:1;s:13:\"civicrm_email\";i:1;s:13:\"civicrm_phone\";i:1;s:10:\"civicrm_im\";i:1;s:19:\"civicrm_worldregion\";i:1;s:25:\"`civicrm_group_contact-4`\";s:165:\" LEFT JOIN civicrm_group_contact `civicrm_group_contact-4` ON ( contact_a.id = `civicrm_group_contact-4`.contact_id AND `civicrm_group_contact-4`.group_id IN ( 4 ) )\";}', + 'where_tables' => 'a:2:{s:15:\"civicrm_contact\";i:1;s:25:\"`civicrm_group_contact-4`\";s:165:\" LEFT JOIN civicrm_group_contact `civicrm_group_contact-4` ON ( contact_a.id = `civicrm_group_contact-4`.contact_id AND `civicrm_group_contact-4`.group_id IN ( 4 ) )\";}', 'group_type' => array( '0' => '1', '1' => '2', @@ -84,4 +84,4 @@ function group_get_expectedresult(){ * * 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/GroupNestingCreate.php b/api/v3/examples/GroupNestingCreate.php index d6464fb8df..04464adf07 100644 --- a/api/v3/examples/GroupNestingCreate.php +++ b/api/v3/examples/GroupNestingCreate.php @@ -62,4 +62,4 @@ function group_nesting_create_expectedresult(){ * * 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/GroupNestingDelete.php b/api/v3/examples/GroupNestingDelete.php index f62acbbe7b..4663f2eaeb 100644 --- a/api/v3/examples/GroupNestingDelete.php +++ b/api/v3/examples/GroupNestingDelete.php @@ -58,4 +58,4 @@ function group_nesting_delete_expectedresult(){ * * 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/GroupNestingGet.php b/api/v3/examples/GroupNestingGet.php index 331b593c06..2cde6e469e 100644 --- a/api/v3/examples/GroupNestingGet.php +++ b/api/v3/examples/GroupNestingGet.php @@ -66,4 +66,4 @@ function group_nesting_get_expectedresult(){ * * 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/ImCreate.php b/api/v3/examples/ImCreate.php index 260d0a83a9..1b4116dc0f 100644 --- a/api/v3/examples/ImCreate.php +++ b/api/v3/examples/ImCreate.php @@ -72,4 +72,4 @@ function im_create_expectedresult(){ * * 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/ImDelete.php b/api/v3/examples/ImDelete.php index d74fc3ab49..3ff80a6490 100644 --- a/api/v3/examples/ImDelete.php +++ b/api/v3/examples/ImDelete.php @@ -58,4 +58,4 @@ function im_delete_expectedresult(){ * * 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/ImGet.php b/api/v3/examples/ImGet.php index eec5230a7c..d63f3a597d 100644 --- a/api/v3/examples/ImGet.php +++ b/api/v3/examples/ImGet.php @@ -72,4 +72,4 @@ function im_get_expectedresult(){ * * 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/LineItemCreate.php b/api/v3/examples/LineItemCreate.php index 610970e489..da9283de44 100644 --- a/api/v3/examples/LineItemCreate.php +++ b/api/v3/examples/LineItemCreate.php @@ -81,4 +81,4 @@ function line_item_create_expectedresult(){ * * 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/LineItemDelete.php b/api/v3/examples/LineItemDelete.php index 4df6f07b5f..8553e93b85 100644 --- a/api/v3/examples/LineItemDelete.php +++ b/api/v3/examples/LineItemDelete.php @@ -58,4 +58,4 @@ function line_item_delete_expectedresult(){ * * 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/LineItemGet.php b/api/v3/examples/LineItemGet.php index d31b9e8474..3d5af2fea7 100644 --- a/api/v3/examples/LineItemGet.php +++ b/api/v3/examples/LineItemGet.php @@ -73,4 +73,4 @@ function line_item_get_expectedresult(){ * * 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/LocBlockCreate.php b/api/v3/examples/LocBlockCreate.php index 61ecaaf53c..7f893f4d35 100644 --- a/api/v3/examples/LocBlockCreate.php +++ b/api/v3/examples/LocBlockCreate.php @@ -73,4 +73,4 @@ function loc_block_create_expectedresult(){ * * 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/LocBlockCreateEntities.php b/api/v3/examples/LocBlockCreateEntities.php index 7d28bce873..dad0145a10 100644 --- a/api/v3/examples/LocBlockCreateEntities.php +++ b/api/v3/examples/LocBlockCreateEntities.php @@ -132,4 +132,4 @@ function loc_block_createentities_expectedresult(){ * * 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/LocBlockGet.php b/api/v3/examples/LocBlockGet.php index 870dbe84d5..ec9c0375fc 100644 --- a/api/v3/examples/LocBlockGet.php +++ b/api/v3/examples/LocBlockGet.php @@ -93,4 +93,4 @@ function loc_block_get_expectedresult(){ * * 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/MailSettings/ChainedGetDelete.php b/api/v3/examples/MailSettings/ChainedGetDelete.php index 7c8690d76c..f2987d980d 100644 --- a/api/v3/examples/MailSettings/ChainedGetDelete.php +++ b/api/v3/examples/MailSettings/ChainedGetDelete.php @@ -90,4 +90,4 @@ function mail_settings_get_expectedresult(){ * * 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/MailSettingsCreate.php b/api/v3/examples/MailSettingsCreate.php index 072e60d2a5..a9600c980e 100644 --- a/api/v3/examples/MailSettingsCreate.php +++ b/api/v3/examples/MailSettingsCreate.php @@ -82,4 +82,4 @@ function mail_settings_create_expectedresult(){ * * 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/MailSettingsDelete.php b/api/v3/examples/MailSettingsDelete.php index b062459b55..984f0c54a0 100644 --- a/api/v3/examples/MailSettingsDelete.php +++ b/api/v3/examples/MailSettingsDelete.php @@ -58,4 +58,4 @@ function mail_settings_delete_expectedresult(){ * * 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/MailSettingsGet.php b/api/v3/examples/MailSettingsGet.php index 69959acc52..881dec97c7 100644 --- a/api/v3/examples/MailSettingsGet.php +++ b/api/v3/examples/MailSettingsGet.php @@ -77,4 +77,4 @@ function mail_settings_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/MailingGroupSubscribe.php b/api/v3/examples/MailingGroupSubscribe.php index ef287f111d..f77089312d 100644 --- a/api/v3/examples/MailingGroupSubscribe.php +++ b/api/v3/examples/MailingGroupSubscribe.php @@ -69,4 +69,4 @@ function mailing_group_subscribe_expectedresult(){ * * 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/Membership/filterIsCurrent.php b/api/v3/examples/Membership/filterIsCurrent.php index e014948de6..45c6b9666a 100644 --- a/api/v3/examples/Membership/filterIsCurrent.php +++ b/api/v3/examples/Membership/filterIsCurrent.php @@ -85,4 +85,4 @@ function membership_get_expectedresult(){ * * 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/MembershipCreate.php b/api/v3/examples/MembershipCreate.php index 6ab9557be8..ca99bc3ee9 100644 --- a/api/v3/examples/MembershipCreate.php +++ b/api/v3/examples/MembershipCreate.php @@ -85,4 +85,4 @@ function membership_create_expectedresult(){ * * 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/MembershipDelete.php b/api/v3/examples/MembershipDelete.php index cd2426bcb8..306e73ba92 100644 --- a/api/v3/examples/MembershipDelete.php +++ b/api/v3/examples/MembershipDelete.php @@ -58,4 +58,4 @@ function membership_delete_expectedresult(){ * * 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/MembershipGet.php b/api/v3/examples/MembershipGet.php index 315ff70e93..095255074c 100644 --- a/api/v3/examples/MembershipGet.php +++ b/api/v3/examples/MembershipGet.php @@ -77,4 +77,4 @@ function membership_get_expectedresult(){ * * 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/MembershipPaymentCreate.php b/api/v3/examples/MembershipPaymentCreate.php index d58e0e1346..7c69a98b65 100644 --- a/api/v3/examples/MembershipPaymentCreate.php +++ b/api/v3/examples/MembershipPaymentCreate.php @@ -66,4 +66,4 @@ function membership_payment_create_expectedresult(){ * * 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/MembershipPaymentGet.php b/api/v3/examples/MembershipPaymentGet.php index c1bc97bc87..96f662c595 100644 --- a/api/v3/examples/MembershipPaymentGet.php +++ b/api/v3/examples/MembershipPaymentGet.php @@ -66,4 +66,4 @@ function membership_payment_get_expectedresult(){ * * 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/MembershipStatusCreate.php b/api/v3/examples/MembershipStatusCreate.php index fd17f85497..9f5323550b 100644 --- a/api/v3/examples/MembershipStatusCreate.php +++ b/api/v3/examples/MembershipStatusCreate.php @@ -77,4 +77,4 @@ function membership_status_create_expectedresult(){ * * 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/MembershipStatusGet.php b/api/v3/examples/MembershipStatusGet.php index 3de04001fe..d19e778d9f 100644 --- a/api/v3/examples/MembershipStatusGet.php +++ b/api/v3/examples/MembershipStatusGet.php @@ -72,4 +72,4 @@ function membership_status_get_expectedresult(){ * * 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/MembershipTypeCreate.php b/api/v3/examples/MembershipTypeCreate.php index 3eca2da079..0c6c25e364 100644 --- a/api/v3/examples/MembershipTypeCreate.php +++ b/api/v3/examples/MembershipTypeCreate.php @@ -93,4 +93,4 @@ function membership_type_create_expectedresult(){ * * 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/MembershipTypeDelete.php b/api/v3/examples/MembershipTypeDelete.php index 8baab176e2..4d9e32c827 100644 --- a/api/v3/examples/MembershipTypeDelete.php +++ b/api/v3/examples/MembershipTypeDelete.php @@ -58,4 +58,4 @@ function membership_type_delete_expectedresult(){ * * 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/MembershipTypeGet.php b/api/v3/examples/MembershipTypeGet.php index 8bcb08be2a..92a487f2f3 100644 --- a/api/v3/examples/MembershipTypeGet.php +++ b/api/v3/examples/MembershipTypeGet.php @@ -74,4 +74,4 @@ function membership_type_get_expectedresult(){ * * 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/MembershipUpdate.php b/api/v3/examples/MembershipUpdate.php index dbe01b116f..23f3035f4e 100644 --- a/api/v3/examples/MembershipUpdate.php +++ b/api/v3/examples/MembershipUpdate.php @@ -85,4 +85,4 @@ function membership_update_expectedresult(){ * * 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/MessageTemplateCreate.php b/api/v3/examples/MessageTemplateCreate.php index d870a5b1f8..a37efa4701 100644 --- a/api/v3/examples/MessageTemplateCreate.php +++ b/api/v3/examples/MessageTemplateCreate.php @@ -5,11 +5,11 @@ */ function message_template_create_example(){ $params = array( - 'msg_title' => 'msg_title_1', - 'msg_subject' => 'msg_subject_1', - 'msg_text' => 'msg_text_1', - 'msg_html' => 'msg_html_1', - 'workflow_id' => 1, + 'msg_title' => 'msg_title_55', + 'msg_subject' => 'msg_subject_55', + 'msg_text' => 'msg_text_55', + 'msg_html' => 'msg_html_55', + 'workflow_id' => 55, 'is_default' => '1', 'is_reserved' => 1, 'pdf_format_id' => '1', @@ -42,12 +42,12 @@ function message_template_create_expectedresult(){ 'values' => array( '2' => array( 'id' => '2', - 'msg_title' => 'msg_title_1', - 'msg_subject' => 'msg_subject_1', - 'msg_text' => 'msg_text_1', - 'msg_html' => 'msg_html_1', + 'msg_title' => 'msg_title_55', + 'msg_subject' => 'msg_subject_55', + 'msg_text' => 'msg_text_55', + 'msg_html' => 'msg_html_55', 'is_active' => '1', - 'workflow_id' => '1', + 'workflow_id' => '55', 'is_default' => '1', 'is_reserved' => '1', 'pdf_format_id' => '1', @@ -79,4 +79,4 @@ function message_template_create_expectedresult(){ * * 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/MessageTemplateDelete.php b/api/v3/examples/MessageTemplateDelete.php index 6bb981cc05..03f27d77f5 100644 --- a/api/v3/examples/MessageTemplateDelete.php +++ b/api/v3/examples/MessageTemplateDelete.php @@ -58,4 +58,4 @@ function message_template_delete_expectedresult(){ * * 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/MessageTemplateGet.php b/api/v3/examples/MessageTemplateGet.php index f238f69299..aaf42ad7a2 100644 --- a/api/v3/examples/MessageTemplateGet.php +++ b/api/v3/examples/MessageTemplateGet.php @@ -5,11 +5,11 @@ */ function message_template_get_example(){ $params = array( - 'msg_title' => 'msg_title_2', - 'msg_subject' => 'msg_subject_2', - 'msg_text' => 'msg_text_2', - 'msg_html' => 'msg_html_2', - 'workflow_id' => 2, + 'msg_title' => 'msg_title_56', + 'msg_subject' => 'msg_subject_56', + 'msg_text' => 'msg_text_56', + 'msg_html' => 'msg_html_56', + 'workflow_id' => 56, 'is_default' => '1', 'is_reserved' => 1, 'pdf_format_id' => '1', @@ -42,12 +42,12 @@ function message_template_get_expectedresult(){ 'values' => array( '1' => array( 'id' => '1', - 'msg_title' => 'msg_title_2', - 'msg_subject' => 'msg_subject_2', - 'msg_text' => 'msg_text_2', - 'msg_html' => 'msg_html_2', + 'msg_title' => 'msg_title_56', + 'msg_subject' => 'msg_subject_56', + 'msg_text' => 'msg_text_56', + 'msg_html' => 'msg_html_56', 'is_active' => '1', - 'workflow_id' => '2', + 'workflow_id' => '56', 'is_default' => '1', 'is_reserved' => '1', 'pdf_format_id' => '1', @@ -79,4 +79,4 @@ function message_template_get_expectedresult(){ * * 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/NoteCreate.php b/api/v3/examples/NoteCreate.php index 469f408736..a4be069077 100644 --- a/api/v3/examples/NoteCreate.php +++ b/api/v3/examples/NoteCreate.php @@ -75,4 +75,4 @@ function note_create_expectedresult(){ * * 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/NoteDelete.php b/api/v3/examples/NoteDelete.php index e8933772c0..2ad22cf231 100644 --- a/api/v3/examples/NoteDelete.php +++ b/api/v3/examples/NoteDelete.php @@ -58,4 +58,4 @@ function note_delete_expectedresult(){ * * 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/NoteGet.php b/api/v3/examples/NoteGet.php index ebd17d2fe4..3f08acfd8c 100644 --- a/api/v3/examples/NoteGet.php +++ b/api/v3/examples/NoteGet.php @@ -71,4 +71,4 @@ function note_get_expectedresult(){ * * 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/OptionGroupCreate.php b/api/v3/examples/OptionGroupCreate.php index 32097c1682..c17c5daeac 100644 --- a/api/v3/examples/OptionGroupCreate.php +++ b/api/v3/examples/OptionGroupCreate.php @@ -50,7 +50,7 @@ function option_group_create_expectedresult(){ 'description' => '', 'is_reserved' => '1', 'is_active' => '1', - 'api.OptionValue.create' => 722, + 'api.OptionValue.create' => 727, ), ), ); @@ -79,4 +79,4 @@ function option_group_create_expectedresult(){ * * 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/OptionGroupDelete.php b/api/v3/examples/OptionGroupDelete.php index 5a40f3e5ab..ae01aee0dd 100644 --- a/api/v3/examples/OptionGroupDelete.php +++ b/api/v3/examples/OptionGroupDelete.php @@ -58,4 +58,4 @@ function option_group_delete_expectedresult(){ * * 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/OptionGroupGet.php b/api/v3/examples/OptionGroupGet.php index 735b639689..07e50a67db 100644 --- a/api/v3/examples/OptionGroupGet.php +++ b/api/v3/examples/OptionGroupGet.php @@ -67,4 +67,4 @@ function option_group_get_expectedresult(){ * * 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/OptionValueGet.php b/api/v3/examples/OptionValueGet.php index 9e02dc309f..5490d6c3b9 100644 --- a/api/v3/examples/OptionValueGet.php +++ b/api/v3/examples/OptionValueGet.php @@ -114,4 +114,4 @@ function option_value_get_expectedresult(){ * * 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/Participant/CreateParticipantPayment.php b/api/v3/examples/Participant/CreateParticipantPayment.php index 1242fe3a83..5135dda002 100644 --- a/api/v3/examples/Participant/CreateParticipantPayment.php +++ b/api/v3/examples/Participant/CreateParticipantPayment.php @@ -141,4 +141,4 @@ function participant_create_expectedresult(){ * * 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/Participant/NestedDelete.php b/api/v3/examples/Participant/NestedDelete.php index 29e7163161..1cd158e8e7 100644 --- a/api/v3/examples/Participant/NestedDelete.php +++ b/api/v3/examples/Participant/NestedDelete.php @@ -128,4 +128,4 @@ function participant_get_expectedresult(){ * * 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/Participant/NestedEventGet.php b/api/v3/examples/Participant/NestedEventGet.php index 31eaf2fa9c..4dd48950fe 100644 --- a/api/v3/examples/Participant/NestedEventGet.php +++ b/api/v3/examples/Participant/NestedEventGet.php @@ -130,4 +130,4 @@ function participant_get_expectedresult(){ * * 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/ParticipantCreate.php b/api/v3/examples/ParticipantCreate.php index 735322b0c9..3867daa954 100644 --- a/api/v3/examples/ParticipantCreate.php +++ b/api/v3/examples/ParticipantCreate.php @@ -86,4 +86,4 @@ function participant_create_expectedresult(){ * * 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/ParticipantGet.php b/api/v3/examples/ParticipantGet.php index f2f7752317..a3808c7276 100644 --- a/api/v3/examples/ParticipantGet.php +++ b/api/v3/examples/ParticipantGet.php @@ -88,4 +88,4 @@ function participant_get_expectedresult(){ * * 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/ParticipantPaymentCreate.php b/api/v3/examples/ParticipantPaymentCreate.php index 3e1b68ed03..ed2ec4b8f7 100644 --- a/api/v3/examples/ParticipantPaymentCreate.php +++ b/api/v3/examples/ParticipantPaymentCreate.php @@ -66,4 +66,4 @@ function participant_payment_create_expectedresult(){ * * 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/ParticipantPaymentDelete.php b/api/v3/examples/ParticipantPaymentDelete.php index b0a938ff2c..71e4c57085 100644 --- a/api/v3/examples/ParticipantPaymentDelete.php +++ b/api/v3/examples/ParticipantPaymentDelete.php @@ -58,4 +58,4 @@ function participant_payment_delete_expectedresult(){ * * 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/ParticipantPaymentGet.php b/api/v3/examples/ParticipantPaymentGet.php index 4f2d73a8ee..e520aa4753 100644 --- a/api/v3/examples/ParticipantPaymentGet.php +++ b/api/v3/examples/ParticipantPaymentGet.php @@ -66,4 +66,4 @@ function participant_payment_get_expectedresult(){ * * 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/ParticipantStatusTypeCreate.php b/api/v3/examples/ParticipantStatusTypeCreate.php index 8ddd44e15d..ba3d10de0e 100644 --- a/api/v3/examples/ParticipantStatusTypeCreate.php +++ b/api/v3/examples/ParticipantStatusTypeCreate.php @@ -78,4 +78,4 @@ function participant_status_type_create_expectedresult(){ * * 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/ParticipantStatusTypeDelete.php b/api/v3/examples/ParticipantStatusTypeDelete.php index 7f40197884..4421ce399c 100644 --- a/api/v3/examples/ParticipantStatusTypeDelete.php +++ b/api/v3/examples/ParticipantStatusTypeDelete.php @@ -58,4 +58,4 @@ function participant_status_type_delete_expectedresult(){ * * 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/ParticipantStatusTypeGet.php b/api/v3/examples/ParticipantStatusTypeGet.php index 1b170f6adf..ae29aae777 100644 --- a/api/v3/examples/ParticipantStatusTypeGet.php +++ b/api/v3/examples/ParticipantStatusTypeGet.php @@ -78,4 +78,4 @@ function participant_status_type_get_expectedresult(){ * * 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/PaymentProcessorCreate.php b/api/v3/examples/PaymentProcessorCreate.php index 3553356190..b98cb3013c 100644 --- a/api/v3/examples/PaymentProcessorCreate.php +++ b/api/v3/examples/PaymentProcessorCreate.php @@ -86,4 +86,4 @@ function payment_processor_create_expectedresult(){ * * 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/PaymentProcessorDelete.php b/api/v3/examples/PaymentProcessorDelete.php index 392986fa5b..eb478d9011 100644 --- a/api/v3/examples/PaymentProcessorDelete.php +++ b/api/v3/examples/PaymentProcessorDelete.php @@ -58,4 +58,4 @@ function payment_processor_delete_expectedresult(){ * * 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/PaymentProcessorTypeCreate.php b/api/v3/examples/PaymentProcessorTypeCreate.php index 3159cd3a41..2ec3ac5b84 100644 --- a/api/v3/examples/PaymentProcessorTypeCreate.php +++ b/api/v3/examples/PaymentProcessorTypeCreate.php @@ -89,4 +89,4 @@ function payment_processor_type_create_expectedresult(){ * * 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/PaymentProcessorTypeDelete.php b/api/v3/examples/PaymentProcessorTypeDelete.php index 2d8b47f8d3..9c8eac1cfe 100644 --- a/api/v3/examples/PaymentProcessorTypeDelete.php +++ b/api/v3/examples/PaymentProcessorTypeDelete.php @@ -58,4 +58,4 @@ function payment_processor_type_delete_expectedresult(){ * * 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/PhoneCreate.php b/api/v3/examples/PhoneCreate.php index 7a2b6c8604..6a9329e272 100644 --- a/api/v3/examples/PhoneCreate.php +++ b/api/v3/examples/PhoneCreate.php @@ -76,4 +76,4 @@ function phone_create_expectedresult(){ * * 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/PhoneDelete.php b/api/v3/examples/PhoneDelete.php index d5dc2f2d9b..15c07e9d3e 100644 --- a/api/v3/examples/PhoneDelete.php +++ b/api/v3/examples/PhoneDelete.php @@ -58,4 +58,4 @@ function phone_delete_expectedresult(){ * * 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/PhoneGet.php b/api/v3/examples/PhoneGet.php index a590a57046..3cab0f1a09 100644 --- a/api/v3/examples/PhoneGet.php +++ b/api/v3/examples/PhoneGet.php @@ -71,4 +71,4 @@ function phone_get_expectedresult(){ * * 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/Pledge/GetFilterHighDate.php b/api/v3/examples/Pledge/GetFilterHighDate.php index 8534a0a149..487fac43ad 100644 --- a/api/v3/examples/Pledge/GetFilterHighDate.php +++ b/api/v3/examples/Pledge/GetFilterHighDate.php @@ -5,7 +5,7 @@ */ function pledge_get_example(){ $params = array( - 'pledge_start_date_high' => '20130801213843', + 'pledge_start_date_high' => '20140118110150', ); try{ @@ -41,10 +41,10 @@ function pledge_get_expectedresult(){ 'display_name' => 'Mr. Anthony Anderson II', 'pledge_id' => '2', 'pledge_amount' => '100.00', - 'pledge_create_date' => '2013-08-03 00:00:00', + 'pledge_create_date' => '2014-01-20 00:00:00', 'pledge_status' => 'Overdue', 'pledge_total_paid' => '', - 'pledge_next_pay_date' => '2012-03-02 00:00:00', + 'pledge_next_pay_date' => '2013-03-01 00:00:00', 'pledge_next_pay_amount' => '20.00', 'pledge_outstanding_amount' => '20.00', 'pledge_financial_type' => 'Donation', @@ -83,4 +83,4 @@ function pledge_get_expectedresult(){ * * 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/PledgeCreate.php b/api/v3/examples/PledgeCreate.php index fece5a44d6..057a0d864e 100644 --- a/api/v3/examples/PledgeCreate.php +++ b/api/v3/examples/PledgeCreate.php @@ -6,9 +6,9 @@ function pledge_create_example(){ $params = array( 'contact_id' => 11, - 'pledge_create_date' => '20130803', - 'start_date' => '20130803', - 'scheduled_date' => '20130805', + 'pledge_create_date' => '20140120', + 'start_date' => '20140120', + 'scheduled_date' => '20140122', 'amount' => '100', 'pledge_status_id' => '2', 'pledge_financial_type_id' => '1', @@ -99,4 +99,4 @@ function pledge_create_expectedresult(){ * * 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/PledgeDelete.php b/api/v3/examples/PledgeDelete.php index d83fa0e8bd..e519ae4457 100644 --- a/api/v3/examples/PledgeDelete.php +++ b/api/v3/examples/PledgeDelete.php @@ -61,4 +61,4 @@ function pledge_delete_expectedresult(){ * * 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/PledgeGet.php b/api/v3/examples/PledgeGet.php index 8fa605ca09..8443c398ad 100644 --- a/api/v3/examples/PledgeGet.php +++ b/api/v3/examples/PledgeGet.php @@ -41,10 +41,10 @@ function pledge_get_expectedresult(){ 'display_name' => 'Mr. Anthony Anderson II', 'pledge_id' => '1', 'pledge_amount' => '100.00', - 'pledge_create_date' => '2013-08-03 00:00:00', + 'pledge_create_date' => '2014-01-20 00:00:00', 'pledge_status' => 'Pending', 'pledge_total_paid' => '', - 'pledge_next_pay_date' => '2013-08-05 00:00:00', + 'pledge_next_pay_date' => '2014-01-22 00:00:00', 'pledge_next_pay_amount' => '20.00', 'pledge_outstanding_amount' => '', 'pledge_financial_type' => 'Donation', @@ -83,4 +83,4 @@ function pledge_get_expectedresult(){ * * 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/PledgePaymentCreate.php b/api/v3/examples/PledgePaymentCreate.php index d7b10206c8..689dabcf16 100644 --- a/api/v3/examples/PledgePaymentCreate.php +++ b/api/v3/examples/PledgePaymentCreate.php @@ -76,4 +76,4 @@ function pledge_payment_create_expectedresult(){ * * 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/PledgePaymentDelete.php b/api/v3/examples/PledgePaymentDelete.php index 2ef5a94adb..66e4f7097d 100644 --- a/api/v3/examples/PledgePaymentDelete.php +++ b/api/v3/examples/PledgePaymentDelete.php @@ -61,4 +61,4 @@ function pledge_payment_delete_expectedresult(){ * * 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/PledgePaymentGet.php b/api/v3/examples/PledgePaymentGet.php index 717fa75f59..252cfbfc2e 100644 --- a/api/v3/examples/PledgePaymentGet.php +++ b/api/v3/examples/PledgePaymentGet.php @@ -102,4 +102,4 @@ function pledge_payment_get_expectedresult(){ * * 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/PledgePaymentUpdate.php b/api/v3/examples/PledgePaymentUpdate.php index 1fa3a233d6..3eb388189f 100644 --- a/api/v3/examples/PledgePaymentUpdate.php +++ b/api/v3/examples/PledgePaymentUpdate.php @@ -73,4 +73,4 @@ function pledge_payment_update_expectedresult(){ * * 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/PriceFieldCreate.php b/api/v3/examples/PriceFieldCreate.php index 1af45a971a..6a48988e17 100644 --- a/api/v3/examples/PriceFieldCreate.php +++ b/api/v3/examples/PriceFieldCreate.php @@ -84,4 +84,4 @@ function price_field_create_expectedresult(){ * * 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/PriceFieldDelete.php b/api/v3/examples/PriceFieldDelete.php index bfcdba8ef5..f592278701 100644 --- a/api/v3/examples/PriceFieldDelete.php +++ b/api/v3/examples/PriceFieldDelete.php @@ -58,4 +58,4 @@ function price_field_delete_expectedresult(){ * * 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/PriceFieldGet.php b/api/v3/examples/PriceFieldGet.php index 88d364e84b..82d8559211 100644 --- a/api/v3/examples/PriceFieldGet.php +++ b/api/v3/examples/PriceFieldGet.php @@ -74,4 +74,4 @@ function price_field_get_expectedresult(){ * * 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/PriceFieldValueCreate.php b/api/v3/examples/PriceFieldValueCreate.php index ba01b11d00..284949d445 100644 --- a/api/v3/examples/PriceFieldValueCreate.php +++ b/api/v3/examples/PriceFieldValueCreate.php @@ -85,4 +85,4 @@ function price_field_value_create_expectedresult(){ * * 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/PriceFieldValueDelete.php b/api/v3/examples/PriceFieldValueDelete.php index 434665edb1..1b78e7df76 100644 --- a/api/v3/examples/PriceFieldValueDelete.php +++ b/api/v3/examples/PriceFieldValueDelete.php @@ -58,4 +58,4 @@ function price_field_value_delete_expectedresult(){ * * 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/PriceFieldValueGet.php b/api/v3/examples/PriceFieldValueGet.php index c24d21c681..1673ca3ad8 100644 --- a/api/v3/examples/PriceFieldValueGet.php +++ b/api/v3/examples/PriceFieldValueGet.php @@ -72,4 +72,4 @@ function price_field_value_get_expectedresult(){ * * 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/PriceSetCreate.php b/api/v3/examples/PriceSetCreate.php index 76fae688e5..86ed60f38a 100644 --- a/api/v3/examples/PriceSetCreate.php +++ b/api/v3/examples/PriceSetCreate.php @@ -82,4 +82,4 @@ function price_set_create_expectedresult(){ * * 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/PriceSetDelete.php b/api/v3/examples/PriceSetDelete.php index bd84ef81e3..f3b4856590 100644 --- a/api/v3/examples/PriceSetDelete.php +++ b/api/v3/examples/PriceSetDelete.php @@ -58,4 +58,4 @@ function price_set_delete_expectedresult(){ * * 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/PriceSetGet.php b/api/v3/examples/PriceSetGet.php index 8e9f32090f..4b1b48dde3 100644 --- a/api/v3/examples/PriceSetGet.php +++ b/api/v3/examples/PriceSetGet.php @@ -70,4 +70,4 @@ function price_set_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ diff --git a/api/v3/examples/ProfileApply.php b/api/v3/examples/ProfileApply.php index 55c2c59230..0f57e1d820 100644 --- a/api/v3/examples/ProfileApply.php +++ b/api/v3/examples/ProfileApply.php @@ -97,4 +97,4 @@ function profile_apply_expectedresult(){ * * 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/ProfileGet.php b/api/v3/examples/ProfileGet.php index ae90235bbb..e33c015049 100644 --- a/api/v3/examples/ProfileGet.php +++ b/api/v3/examples/ProfileGet.php @@ -95,4 +95,4 @@ function profile_get_expectedresult(){ * * 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/ProfileGetFields.php b/api/v3/examples/ProfileGetFields.php index eff419870a..5e6b5f0473 100644 --- a/api/v3/examples/ProfileGetFields.php +++ b/api/v3/examples/ProfileGetFields.php @@ -33,85 +33,73 @@ function profile_getfields_expectedresult(){ 'version' => 3, 'count' => 9, 'values' => array( - 'first_name' => array( - 'api.required' => '1', - 'title' => 'First Name', - 'help_pre' => '', - 'help_post' => '', - 'entity' => 'contact', - 'name' => 'first_name', + 'custom_1' => array( + 'label' => '_addCustomFieldToProfile', + 'groupTitle' => '_addCustomFie', + 'data_type' => 'String', + 'html_type' => 'Text', + 'default_value' => 'defaultValue', + 'text_length' => '', + 'options_per_line' => '', + 'custom_group_id' => '1', + 'extends' => 'Contact', + 'is_search_range' => 0, + 'extends_entity_column_value' => '', + 'extends_entity_column_id' => '', + 'is_view' => 0, + 'is_multiple' => 0, + 'option_group_id' => '', + 'date_format' => '', + 'time_format' => '', + 'name' => 'custom_1', 'type' => 2, - 'maxlength' => 64, - 'size' => 30, - 'import' => true, - 'where' => 'civicrm_contact.first_name', - 'headerPattern' => '/^first|(f(irst\s)?name)$/i', - 'dataPattern' => '/^\w+$/', - 'export' => true, - 'api.aliases' => array(), - ), - 'last_name' => array( 'api.required' => '1', - 'title' => 'Last Name', + 'title' => 'first_name', 'help_pre' => '', 'help_post' => '', 'entity' => 'contact', - 'name' => 'last_name', - 'type' => 2, - 'maxlength' => 64, - 'size' => 30, - 'import' => true, - 'where' => 'civicrm_contact.last_name', - 'headerPattern' => '/^last|(l(ast\s)?name)$/i', - 'dataPattern' => '/^\w+(\s\w+)?+$/', - 'export' => true, + 'weight' => '1', 'api.aliases' => array(), ), - 'email-primary' => array( - 'api.required' => 1, - 'title' => 'Email', - 'help_pre' => '', - 'help_post' => '', - 'entity' => 'email', - 'api.aliases' => array( - '0' => 'email-Primary', - ), - 'name' => 'email', + 'postal_code-1' => array( + 'name' => 'postal_code', 'type' => 2, - 'maxlength' => 254, - 'size' => 20, + 'title' => 'State Province', + 'maxlength' => 12, + 'size' => 12, 'import' => true, - 'where' => 'civicrm_email.email', - 'headerPattern' => '/e.?mail/i', - 'dataPattern' => '/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/', + 'where' => 'civicrm_address.postal_code', + 'headerPattern' => '/postal|zip/i', + 'dataPattern' => '/\\d?\\d{4}(-\\d{4})?/', 'export' => true, - 'rule' => 'email', - ), - 'phone-1-1' => array( - 'api.required' => 1, - 'title' => 'Phone', + 'api.required' => 0, 'help_pre' => '', 'help_post' => '', - 'entity' => 'phone', - 'name' => 'phone', - 'type' => 2, - 'maxlength' => 32, - 'size' => 20, - 'import' => true, - 'where' => 'civicrm_phone.phone', - 'headerPattern' => '/phone/i', - 'dataPattern' => '/^[\d\(\)\-\.\s]+$/', - 'export' => true, + 'entity' => 'address', + 'weight' => '2', 'api.aliases' => array(), ), - 'country-1' => array( + 'state_province-1' => array( + 'name' => 'state_province_id', + 'type' => 1, + 'title' => 'State Province', + 'FKClassName' => 'CRM_Core_DAO_StateProvince', + 'pseudoconstant' => array( + 'table' => 'civicrm_state_province', + 'keyColumn' => 'id', + 'labelColumn' => 'name', + ), 'api.required' => '1', - 'title' => 'Country', 'help_pre' => '', 'help_post' => '', 'entity' => 'address', + 'weight' => '3', + 'api.aliases' => array(), + ), + 'country-1' => array( 'name' => 'country_id', 'type' => 1, + 'title' => 'Country', 'FKClassName' => 'CRM_Core_DAO_Country', 'pseudoconstant' => array( 'table' => 'civicrm_country', @@ -119,66 +107,86 @@ function profile_getfields_expectedresult(){ 'labelColumn' => 'name', 'nameColumn' => 'iso_code', ), + 'api.required' => '1', + 'help_pre' => '', + 'help_post' => '', + 'entity' => 'address', + 'weight' => '4', 'api.aliases' => array(), ), - 'state_province-1' => array( + 'phone-1-1' => array( + 'name' => 'phone', + 'type' => 2, + 'title' => 'Phone', + 'maxlength' => 32, + 'size' => 20, + 'import' => true, + 'where' => 'civicrm_phone.phone', + 'headerPattern' => '/phone/i', + 'dataPattern' => '/^[\\d\\(\\)\\-\\.\\s]+$/', + 'export' => true, 'api.required' => '1', - 'title' => 'State', 'help_pre' => '', 'help_post' => '', - 'entity' => 'address', - 'name' => 'state_province_id', - 'type' => 1, - 'FKClassName' => 'CRM_Core_DAO_StateProvince', - 'pseudoconstant' => array( - 'table' => 'civicrm_state_province', - 'keyColumn' => 'id', - 'labelColumn' => 'name', - ), + 'entity' => 'phone', + 'weight' => '5', 'api.aliases' => array(), ), - 'postal_code-1' => array( - 'api.required' => 0, - 'title' => 'Postal Code', + 'email-primary' => array( + 'name' => 'email', + 'type' => 2, + 'title' => 'Email', + 'maxlength' => 254, + 'size' => 20, + 'import' => true, + 'where' => 'civicrm_email.email', + 'headerPattern' => '/e.?mail/i', + 'dataPattern' => '/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/', + 'export' => true, + 'rule' => 'email', + 'api.required' => '1', 'help_pre' => '', 'help_post' => '', - 'entity' => 'address', - 'name' => 'postal_code', + 'entity' => 'email', + 'weight' => '6', + 'api.aliases' => array( + '0' => 'email-Primary', + ), + ), + 'last_name' => array( + 'name' => 'last_name', 'type' => 2, - 'maxlength' => 12, - 'size' => 12, + 'title' => 'Last Name', + 'maxlength' => 64, + 'size' => 30, 'import' => true, - 'where' => 'civicrm_address.postal_code', - 'headerPattern' => '/postal|zip/i', - 'dataPattern' => '/\d?\d{4}(-\d{4})?/', + 'where' => 'civicrm_contact.last_name', + 'headerPattern' => '/^last|(l(ast\\s)?name)$/i', + 'dataPattern' => '/^\\w+(\\s\\w+)?+$/', 'export' => true, + 'api.required' => '1', + 'help_pre' => '', + 'help_post' => '', + 'entity' => 'contact', + 'weight' => '7', 'api.aliases' => array(), ), - 'custom_1' => array( + 'first_name' => array( + 'name' => 'first_name', + 'type' => 2, + 'title' => 'First Name', + 'maxlength' => 64, + 'size' => 30, + 'import' => true, + 'where' => 'civicrm_contact.first_name', + 'headerPattern' => '/^first|(f(irst\\s)?name)$/i', + 'dataPattern' => '/^\\w+$/', + 'export' => true, 'api.required' => '1', - 'title' => 'first_name', 'help_pre' => '', 'help_post' => '', 'entity' => 'contact', - 'label' => '_addCustomFieldToProfile', - 'groupTitle' => '_addCustomFie', - 'data_type' => 'String', - 'html_type' => 'Text', - 'default_value' => 'defaultValue', - 'text_length' => '', - 'options_per_line' => '', - 'custom_group_id' => '1', - 'extends' => 'Contact', - 'is_search_range' => 0, - 'extends_entity_column_value' => '', - 'extends_entity_column_id' => '', - 'is_view' => 0, - 'is_multiple' => 0, - 'option_group_id' => '', - 'date_format' => '', - 'time_format' => '', - 'name' => 'custom_1', - 'type' => 2, + 'weight' => '8', 'api.aliases' => array(), ), 'profile_id' => array( @@ -211,4 +219,4 @@ function profile_getfields_expectedresult(){ * * 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/ProfileSubmit.php b/api/v3/examples/ProfileSubmit.php index 3d27cde182..05df843dae 100644 --- a/api/v3/examples/ProfileSubmit.php +++ b/api/v3/examples/ProfileSubmit.php @@ -53,7 +53,7 @@ function profile_submit_expectedresult(){ 'legal_identifier' => '', 'external_identifier' => '', 'sort_name' => 'xyz2, abc2', - 'display_name' => 'Mr. abc2 xyz2 II', + 'display_name' => 'abc2 xyz2', 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', @@ -77,6 +77,7 @@ function profile_submit_expectedresult(){ 'addressee_custom' => '', 'addressee_display' => 'Mr. abc1 J. xyz1 II', 'job_title' => '', + 'gender_id' => '', 'birth_date' => '', 'is_deceased' => 0, 'deceased_date' => '', @@ -115,4 +116,4 @@ function profile_submit_expectedresult(){ * * 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/RelationshipTypeCreate.php b/api/v3/examples/RelationshipTypeCreate.php index 46ffddb422..a1c83dfdda 100644 --- a/api/v3/examples/RelationshipTypeCreate.php +++ b/api/v3/examples/RelationshipTypeCreate.php @@ -80,4 +80,4 @@ function relationship_type_create_expectedresult(){ * * 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/RelationshipTypeDelete.php b/api/v3/examples/RelationshipTypeDelete.php index 0d68292bf8..6a538d4bca 100644 --- a/api/v3/examples/RelationshipTypeDelete.php +++ b/api/v3/examples/RelationshipTypeDelete.php @@ -58,4 +58,4 @@ function relationship_type_delete_expectedresult(){ * * 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/Survey/ChainedGetDelete.php b/api/v3/examples/Survey/ChainedGetDelete.php index c68bab17dc..0a66195e0b 100644 --- a/api/v3/examples/Survey/ChainedGetDelete.php +++ b/api/v3/examples/Survey/ChainedGetDelete.php @@ -44,6 +44,7 @@ function survey_get_expectedresult(){ 'is_default' => 0, 'created_date' => '2013-07-28 08:49:19', 'bypass_confirm' => 0, + 'is_share' => '1', 'api.survey.delete' => array( 'is_error' => 0, 'version' => 3, @@ -78,4 +79,4 @@ function survey_get_expectedresult(){ * * 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/SurveyCreate.php b/api/v3/examples/SurveyCreate.php index e94ceb5fb8..1316211411 100644 --- a/api/v3/examples/SurveyCreate.php +++ b/api/v3/examples/SurveyCreate.php @@ -85,4 +85,4 @@ function survey_create_expectedresult(){ * * 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/SurveyDelete.php b/api/v3/examples/SurveyDelete.php index 74a36e4893..224d160f70 100644 --- a/api/v3/examples/SurveyDelete.php +++ b/api/v3/examples/SurveyDelete.php @@ -58,4 +58,4 @@ function survey_delete_expectedresult(){ * * 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/SurveyGet.php b/api/v3/examples/SurveyGet.php index bbbab582a2..cf32da54b7 100644 --- a/api/v3/examples/SurveyGet.php +++ b/api/v3/examples/SurveyGet.php @@ -46,6 +46,7 @@ function survey_get_expectedresult(){ 'is_default' => 0, 'created_date' => '2013-07-28 08:49:19', 'bypass_confirm' => 0, + 'is_share' => '1', ), ), ); @@ -74,4 +75,4 @@ function survey_get_expectedresult(){ * * 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/SurveyRespondantGet.php b/api/v3/examples/SurveyRespondantGet.php index 202ada504c..0fbf527433 100644 --- a/api/v3/examples/SurveyRespondantGet.php +++ b/api/v3/examples/SurveyRespondantGet.php @@ -59,4 +59,4 @@ function survey_respondant_get_expectedresult(){ * * 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/System/Flush.php b/api/v3/examples/System/Flush.php index 497e84c14c..ecff546ee9 100644 --- a/api/v3/examples/System/Flush.php +++ b/api/v3/examples/System/Flush.php @@ -56,4 +56,4 @@ function system_flush_expectedresult(){ * * 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/Tag/getReturnArray.php b/api/v3/examples/Tag/getReturnArray.php index 7d115c00df..73f7fe74ec 100644 --- a/api/v3/examples/Tag/getReturnArray.php +++ b/api/v3/examples/Tag/getReturnArray.php @@ -68,4 +68,4 @@ function tag_get_expectedresult(){ * * 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/TagCreate.php b/api/v3/examples/TagCreate.php index dac7b87d8d..1c40802ca7 100644 --- a/api/v3/examples/TagCreate.php +++ b/api/v3/examples/TagCreate.php @@ -73,4 +73,4 @@ function tag_create_expectedresult(){ * * 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/TagDelete.php b/api/v3/examples/TagDelete.php index 5bc3483337..6566820ebf 100644 --- a/api/v3/examples/TagDelete.php +++ b/api/v3/examples/TagDelete.php @@ -58,4 +58,4 @@ function tag_delete_expectedresult(){ * * 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/TagGet.php b/api/v3/examples/TagGet.php index d828cfacdb..0407024bf5 100644 --- a/api/v3/examples/TagGet.php +++ b/api/v3/examples/TagGet.php @@ -71,4 +71,4 @@ function tag_get_expectedresult(){ * * 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/TagGetfields.php b/api/v3/examples/TagGetfields.php index a1bb2bab47..119f7c8d81 100644 --- a/api/v3/examples/TagGetfields.php +++ b/api/v3/examples/TagGetfields.php @@ -59,12 +59,13 @@ function tag_getfields_expectedresult(){ 'parent_id' => array( 'name' => 'parent_id', 'type' => 1, - 'default' => 'UL', + 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Tag', ), 'is_selectable' => array( 'name' => 'is_selectable', 'type' => 16, + 'default' => '1', ), 'is_reserved' => array( 'name' => 'is_reserved', @@ -80,7 +81,7 @@ function tag_getfields_expectedresult(){ 'title' => 'Used For', 'maxlength' => 64, 'size' => 30, - 'default' => 'UL', + 'default' => 'NULL', 'api.default' => 'civicrm_contact', ), 'created_id' => array( @@ -120,4 +121,4 @@ function tag_getfields_expectedresult(){ * * 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/UFFieldCreate.php b/api/v3/examples/UFFieldCreate.php index 1c7350982d..25bf140212 100644 --- a/api/v3/examples/UFFieldCreate.php +++ b/api/v3/examples/UFFieldCreate.php @@ -89,4 +89,4 @@ function uf_field_create_expectedresult(){ * * 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/UFFieldDelete.php b/api/v3/examples/UFFieldDelete.php index 0c639a7bc8..eec876b795 100644 --- a/api/v3/examples/UFFieldDelete.php +++ b/api/v3/examples/UFFieldDelete.php @@ -58,4 +58,4 @@ function uf_field_delete_expectedresult(){ * * 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/UFFieldGet.php b/api/v3/examples/UFFieldGet.php index 1d9382cdd4..115aae9479 100644 --- a/api/v3/examples/UFFieldGet.php +++ b/api/v3/examples/UFFieldGet.php @@ -75,4 +75,4 @@ function uf_field_get_expectedresult(){ * * 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/UFFieldReplace.php b/api/v3/examples/UFFieldReplace.php index 0aef06e7db..78e36c3359 100644 --- a/api/v3/examples/UFFieldReplace.php +++ b/api/v3/examples/UFFieldReplace.php @@ -152,4 +152,4 @@ function uf_field_replace_expectedresult(){ * * 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/UFGroupCreate.php b/api/v3/examples/UFGroupCreate.php index 13753b787d..4805a7dd51 100644 --- a/api/v3/examples/UFGroupCreate.php +++ b/api/v3/examples/UFGroupCreate.php @@ -104,4 +104,4 @@ function uf_group_create_expectedresult(){ * * 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/UFGroupDelete.php b/api/v3/examples/UFGroupDelete.php index 7ec6db9d72..a7ccd115ee 100644 --- a/api/v3/examples/UFGroupDelete.php +++ b/api/v3/examples/UFGroupDelete.php @@ -58,4 +58,4 @@ function uf_group_delete_expectedresult(){ * * 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/UFGroupGet.php b/api/v3/examples/UFGroupGet.php index b3fd004252..3df549ce53 100644 --- a/api/v3/examples/UFGroupGet.php +++ b/api/v3/examples/UFGroupGet.php @@ -84,4 +84,4 @@ function uf_group_get_expectedresult(){ * * 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/UFJoinCreate.php b/api/v3/examples/UFJoinCreate.php index 6ac8c89213..e618b2a5f2 100644 --- a/api/v3/examples/UFJoinCreate.php +++ b/api/v3/examples/UFJoinCreate.php @@ -75,4 +75,4 @@ function uf_join_create_expectedresult(){ * * 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/UFJoinGet.php b/api/v3/examples/UFJoinGet.php index e8e7351595..d51586f555 100644 --- a/api/v3/examples/UFJoinGet.php +++ b/api/v3/examples/UFJoinGet.php @@ -71,4 +71,4 @@ function uf_join_get_expectedresult(){ * * 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/UFMatchGet.php b/api/v3/examples/UFMatchGet.php index 2e664f4be6..61107cdecd 100644 --- a/api/v3/examples/UFMatchGet.php +++ b/api/v3/examples/UFMatchGet.php @@ -66,4 +66,4 @@ function uf_match_get_expectedresult(){ * * 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/WebsiteCreate.php b/api/v3/examples/WebsiteCreate.php index 06aa440fc7..3e9906b0ce 100644 --- a/api/v3/examples/WebsiteCreate.php +++ b/api/v3/examples/WebsiteCreate.php @@ -68,4 +68,4 @@ function website_create_expectedresult(){ * * 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/WebsiteDelete.php b/api/v3/examples/WebsiteDelete.php index 254b6a233d..d8c254168b 100644 --- a/api/v3/examples/WebsiteDelete.php +++ b/api/v3/examples/WebsiteDelete.php @@ -58,4 +58,4 @@ function website_delete_expectedresult(){ * * 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/WebsiteGet.php b/api/v3/examples/WebsiteGet.php index 914c0c67a1..91e4050fef 100644 --- a/api/v3/examples/WebsiteGet.php +++ b/api/v3/examples/WebsiteGet.php @@ -68,4 +68,4 @@ function website_get_expectedresult(){ * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/ -- 2.25.1