APIv4 - Don't show campaign_id in getFields if campaign component disabled
authorColeman Watts <coleman@civicrm.org>
Wed, 5 May 2021 01:13:09 +0000 (21:13 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 5 May 2021 03:34:24 +0000 (23:34 -0400)
166 files changed:
CRM/ACL/DAO/ACL.php
CRM/ACL/DAO/ACLCache.php
CRM/ACL/DAO/EntityRole.php
CRM/Activity/DAO/Activity.php
CRM/Activity/DAO/ActivityContact.php
CRM/Batch/DAO/Batch.php
CRM/Batch/DAO/EntityBatch.php
CRM/Campaign/DAO/Campaign.php
CRM/Campaign/DAO/CampaignGroup.php
CRM/Campaign/DAO/Survey.php
CRM/Case/DAO/Case.php
CRM/Case/DAO/CaseActivity.php
CRM/Case/DAO/CaseContact.php
CRM/Case/DAO/CaseType.php
CRM/Contact/DAO/ACLContactCache.php
CRM/Contact/DAO/Contact.php
CRM/Contact/DAO/ContactType.php
CRM/Contact/DAO/DashboardContact.php
CRM/Contact/DAO/Group.php
CRM/Contact/DAO/GroupContact.php
CRM/Contact/DAO/GroupContactCache.php
CRM/Contact/DAO/GroupNesting.php
CRM/Contact/DAO/GroupOrganization.php
CRM/Contact/DAO/Relationship.php
CRM/Contact/DAO/RelationshipCache.php
CRM/Contact/DAO/RelationshipType.php
CRM/Contact/DAO/SavedSearch.php
CRM/Contact/DAO/SubscriptionHistory.php
CRM/Contribute/DAO/Contribution.php
CRM/Contribute/DAO/ContributionPage.php
CRM/Contribute/DAO/ContributionProduct.php
CRM/Contribute/DAO/ContributionRecur.php
CRM/Contribute/DAO/ContributionSoft.php
CRM/Contribute/DAO/Premium.php
CRM/Contribute/DAO/PremiumsProduct.php
CRM/Contribute/DAO/Product.php
CRM/Contribute/DAO/Widget.php
CRM/Core/CodeGen/Specification.php
CRM/Core/DAO/ActionLog.php
CRM/Core/DAO/ActionMapping.php
CRM/Core/DAO/ActionSchedule.php
CRM/Core/DAO/Address.php
CRM/Core/DAO/AddressFormat.php
CRM/Core/DAO/Cache.php
CRM/Core/DAO/Component.php
CRM/Core/DAO/Country.php
CRM/Core/DAO/County.php
CRM/Core/DAO/CustomField.php
CRM/Core/DAO/CustomGroup.php
CRM/Core/DAO/Dashboard.php
CRM/Core/DAO/Discount.php
CRM/Core/DAO/Domain.php
CRM/Core/DAO/Email.php
CRM/Core/DAO/EntityFile.php
CRM/Core/DAO/EntityTag.php
CRM/Core/DAO/Extension.php
CRM/Core/DAO/File.php
CRM/Core/DAO/IM.php
CRM/Core/DAO/Job.php
CRM/Core/DAO/JobLog.php
CRM/Core/DAO/LocBlock.php
CRM/Core/DAO/LocationType.php
CRM/Core/DAO/Log.php
CRM/Core/DAO/MailSettings.php
CRM/Core/DAO/Managed.php
CRM/Core/DAO/Mapping.php
CRM/Core/DAO/MappingField.php
CRM/Core/DAO/Menu.php
CRM/Core/DAO/MessageTemplate.php
CRM/Core/DAO/Navigation.php
CRM/Core/DAO/Note.php
CRM/Core/DAO/OpenID.php
CRM/Core/DAO/OptionGroup.php
CRM/Core/DAO/OptionValue.php
CRM/Core/DAO/Phone.php
CRM/Core/DAO/PreferencesDate.php
CRM/Core/DAO/PrevNextCache.php
CRM/Core/DAO/PrintLabel.php
CRM/Core/DAO/RecurringEntity.php
CRM/Core/DAO/Setting.php
CRM/Core/DAO/StateProvince.php
CRM/Core/DAO/StatusPreference.php
CRM/Core/DAO/SystemLog.php
CRM/Core/DAO/Tag.php
CRM/Core/DAO/Timezone.php
CRM/Core/DAO/UFField.php
CRM/Core/DAO/UFGroup.php
CRM/Core/DAO/UFJoin.php
CRM/Core/DAO/UFMatch.php
CRM/Core/DAO/Website.php
CRM/Core/DAO/WordReplacement.php
CRM/Core/DAO/Worldregion.php
CRM/Cxn/DAO/Cxn.php
CRM/Dedupe/DAO/Exception.php
CRM/Dedupe/DAO/Rule.php
CRM/Dedupe/DAO/RuleGroup.php
CRM/Event/Cart/DAO/Cart.php
CRM/Event/Cart/DAO/EventInCart.php
CRM/Event/DAO/Event.php
CRM/Event/DAO/Participant.php
CRM/Event/DAO/ParticipantPayment.php
CRM/Event/DAO/ParticipantStatusType.php
CRM/Financial/DAO/Currency.php
CRM/Financial/DAO/EntityFinancialAccount.php
CRM/Financial/DAO/EntityFinancialTrxn.php
CRM/Financial/DAO/FinancialAccount.php
CRM/Financial/DAO/FinancialItem.php
CRM/Financial/DAO/FinancialTrxn.php
CRM/Financial/DAO/FinancialType.php
CRM/Financial/DAO/PaymentProcessor.php
CRM/Financial/DAO/PaymentProcessorType.php
CRM/Financial/DAO/PaymentToken.php
CRM/Friend/DAO/Friend.php
CRM/Grant/DAO/Grant.php
CRM/Mailing/DAO/BouncePattern.php
CRM/Mailing/DAO/BounceType.php
CRM/Mailing/DAO/Mailing.php
CRM/Mailing/DAO/MailingAB.php
CRM/Mailing/DAO/MailingComponent.php
CRM/Mailing/DAO/MailingGroup.php
CRM/Mailing/DAO/MailingJob.php
CRM/Mailing/DAO/Recipients.php
CRM/Mailing/DAO/Spool.php
CRM/Mailing/DAO/TrackableURL.php
CRM/Mailing/Event/DAO/Bounce.php
CRM/Mailing/Event/DAO/Confirm.php
CRM/Mailing/Event/DAO/Delivered.php
CRM/Mailing/Event/DAO/Forward.php
CRM/Mailing/Event/DAO/Opened.php
CRM/Mailing/Event/DAO/Queue.php
CRM/Mailing/Event/DAO/Reply.php
CRM/Mailing/Event/DAO/Subscribe.php
CRM/Mailing/Event/DAO/TrackableURLOpen.php
CRM/Mailing/Event/DAO/Unsubscribe.php
CRM/Member/DAO/Membership.php
CRM/Member/DAO/MembershipBlock.php
CRM/Member/DAO/MembershipLog.php
CRM/Member/DAO/MembershipPayment.php
CRM/Member/DAO/MembershipStatus.php
CRM/Member/DAO/MembershipType.php
CRM/PCP/DAO/PCP.php
CRM/PCP/DAO/PCPBlock.php
CRM/Pledge/DAO/Pledge.php
CRM/Pledge/DAO/PledgeBlock.php
CRM/Pledge/DAO/PledgePayment.php
CRM/Price/DAO/LineItem.php
CRM/Price/DAO/PriceField.php
CRM/Price/DAO/PriceFieldValue.php
CRM/Price/DAO/PriceSet.php
CRM/Price/DAO/PriceSetEntity.php
CRM/Queue/DAO/QueueItem.php
CRM/Report/DAO/ReportInstance.php
CRM/SMS/DAO/Provider.php
Civi/Api4/Service/Spec/SpecGatherer.php
tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php
tests/phpunit/api/v4/Action/GetFieldsTest.php [new file with mode: 0644]
xml/schema/Activity/Activity.xml
xml/schema/Contribute/Contribution.xml
xml/schema/Contribute/ContributionPage.xml
xml/schema/Contribute/ContributionRecur.xml
xml/schema/Event/Event.xml
xml/schema/Event/Participant.xml
xml/schema/Mailing/Mailing.xml
xml/schema/Member/Membership.xml
xml/schema/Pledge/Pledge.xml
xml/templates/dao.tpl

index e1cb5f133ef2dfeef299c4551a24b1377458b44f..224fdba98c23935a1a350d2072ba526cba1e46f7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7343d62539d3c857c66f6cf2cd2deb79)
+ * (GenCodeChecksum:b7a575fdf29260fa003d73bd4d5942c5)
  */
 
 /**
index 3fd3d7af495ab086d442cc958a7e23798950df2e..cad2946ce483dcad46aafe0bd86e4b91dc8a4950 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52fe3123c99d51aa291199703765690d)
+ * (GenCodeChecksum:63a707737221d2c70efbc51d58711209)
  */
 
 /**
index 8885f66208bb2af128a891a8f0619c65bf897e0d..3bf022dba06dc784f4e72ff8a759b398d1c53b68 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/EntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:07069f5da0948ab48d78987d2fdfbec3)
+ * (GenCodeChecksum:c26077f17afc43e2f44efca99ae8e8fe)
  */
 
 /**
index 6dfcf94d50c961d19826a3027acfe5b2a75c47f4..f065ad021b7a293ac4b16af1100d4d281f57d9d8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/Activity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ccd103b675d229c35dcbae40203f75d)
+ * (GenCodeChecksum:3e86dd56976cbc807306691e8fa94b0d)
  */
 
 /**
@@ -672,6 +672,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index eccc1515efec5e8f331a758ad4e8eeddffce0204..e155ecf0b180724527e99742428189911aab029d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f22924bc235761e9f73318139d3840de)
+ * (GenCodeChecksum:0b5f5392a9786a52d7120f48d363092b)
  */
 
 /**
index 8b85c8ce3d77c19c75dc311fddc81fead2fb97b9..54ace21e85f6a5c0412c7870aacbcfe6bc8df346 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5da4d1a83e75b4ab957e1dfb8974d923)
+ * (GenCodeChecksum:960030e220b16f07d0b225e48a3ef2af)
  */
 
 /**
index 7b51f53ad8d80292744e70a54a320daa80aeda1e..f93193b3a645fc3f9a320aa36994136b1daba48c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/EntityBatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d46bdd27aa448031d626876ef3fe3ec4)
+ * (GenCodeChecksum:b44598a5cc827e632f2c9fb663f2bed3)
  */
 
 /**
index 010f23395a7ea5cb1df4d231681c97ada4f370ef..25ebb4f9822158633954fd387e1e804738cf68c0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Campaign.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:78eebe103246d92d3044e2dcabf57600)
+ * (GenCodeChecksum:a27331994abb64995fc5491434eeed7f)
  */
 
 /**
index 28ba776655d3d157649dfcd1357196899cc27169..7750d453874e760bb6e880fd8cf95e3a0e4b5d01 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7bfca99dbb564a33bc7845002f091536)
+ * (GenCodeChecksum:2cc4c72732eccbe071147fea0abb4aef)
  */
 
 /**
index 46860452a2de5f02289aa74e518a815f83f696a0..f3fb7e1bec008fc2818ac6e9f169f2bcc7327df1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Survey.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3bdc2fa5133ad1ff24f2bdefccceccfc)
+ * (GenCodeChecksum:64142d8dce39f27b66b36f62ba137b74)
  */
 
 /**
index 7f03f5ef493e62cf0fa288021adc7fa7a87f42e6..79798ad08383c98a6e9fc13cdd91fcbef4243632 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/Case.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a306dc83df6e2e019a35a560841a702e)
+ * (GenCodeChecksum:27e15fc1d0e3517884c9773d25806620)
  */
 
 /**
index 80fe8e6b0790e9eb0a93975be00c20f60bf4d784..a3176fdcb5585c9f0850dcdd7cd070e00ff4b210 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseActivity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5887f4929b4995f53f44b75975af23f4)
+ * (GenCodeChecksum:d100a5f236a3bb8d64c4aaa61b8c6c2c)
  */
 
 /**
index 5eda0155c5a41354f4acb43a36d261450d97fdc4..fdee0d96dd9c57b8969e274b28529c260bf99436 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f667ec72fa124ecc4706ae3bbc20db6)
+ * (GenCodeChecksum:18adf9ee53d1c7f6c5eddfc1e6b8709d)
  */
 
 /**
index 239bf3dc8212d29ec8db26f28f3789bceae5302b..5e7ef8c341ab5d69fb537fc54d1c1b0f0b05b738 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e97808735d244f6b2c7e84c9dd375fe7)
+ * (GenCodeChecksum:b2ffb684b29a774f07bd06851722f17d)
  */
 
 /**
index eb96b4fdc2255301af3930c400bc3600727d5d09..9279d1dab13b2de6e4836462d0f8954024d46c07 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6d2a40a65db79a79f7be22421a8706bf)
+ * (GenCodeChecksum:e1095c2503a3ec13bd3f781ce1df1aaf)
  */
 
 /**
index 74e5ab2462274066d4da28087d4705adfdd8bddc..505b150ed560aa03e16182fd057c47edcb6cbf22 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:64872d3a302d2f8cce4695709bb1f902)
+ * (GenCodeChecksum:aa86c226e54f7c7f8a8ad6b5e8c8aa5a)
  */
 
 /**
index 6b0ee2888798aba183b0212343958b4e1d81828b..63d4d17a17b8ee03600a277866379522fe53f2b5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:882139e2559297b19cece48adff6006e)
+ * (GenCodeChecksum:40856f91e0f1928df248e985eb4ae479)
  */
 
 /**
index ec73a7b080f823bdf81c6e80d3bea6ff314ca5a1..cd01949fa52f71ad2cc08c0e2fa6c02c136b00c7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:810293727558f801b03ed76890d5703d)
+ * (GenCodeChecksum:61c7e21d25723963142a22bca0a4840e)
  */
 
 /**
index b06e64a1687d84f5c702ca3d58df2298a77855cb..71832748b6e272ec102f96aa6b8b1aca8c2e14b5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Group.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f7306d4427fc261d17944ad601bb422)
+ * (GenCodeChecksum:a1580f6293c41ecbf8aa0bc2f6246d36)
  */
 
 /**
index 88ba589c9cbbcad89cd66a91821d567fd7f89d4f..9271b0143774fd5d128e52d87f7af16f1835b091 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7ec906c301ccd56a9090151046109f17)
+ * (GenCodeChecksum:9f48934735df21bb6b4f9a5d7e1bd70b)
  */
 
 /**
index 4b74cf8d4500610b0649da1fd137f089b92628c2..50523339055c0d9e010a99d6fe706e71002fef2d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4939f3803c8fd101b55bea565566b43c)
+ * (GenCodeChecksum:294c8ab665d49fcddebe5d1d79307dd4)
  */
 
 /**
index e9326b7c05e1c4af6a59fa4419a9075eccca9917..9359b59fa22f53c57e2f1e49566dceef79c4d2ba 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupNesting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c6b47998cf47d3382d300d3fdbc17fb6)
+ * (GenCodeChecksum:a4b5533a1c6ef550d3057dee8ce53efc)
  */
 
 /**
index b2683ee408b25b6c43732233e50a81dde271fb05..9fee19ee270a5ab9cac8b1c546e12d1c2fef0e6b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7253a65636efa7f67549df1e30ccea33)
+ * (GenCodeChecksum:18934ada33c41380e719798d5f8550e8)
  */
 
 /**
index 6d7b6dee21d994e5d710341a912e43f6f923d2a5..1f4ef79592d26053632444498f30ddf2fc332395 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Relationship.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a21cf05327b419359116c547c7c581ce)
+ * (GenCodeChecksum:787e0139d4a6b8b587b8d0d607e25ff0)
  */
 
 /**
index 230049e5e74c432c9c6cf642f1e1400723ace22a..3583f377a74b384ecdf84baa230ae28c03ee4a0e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6092bd6a166a4209f57a62d71076b0dc)
+ * (GenCodeChecksum:3376402e2a249b7004b40df6aeac5df9)
  */
 
 /**
index 5775cd5440acd5d3d2fbf3c4090f0915df691153..38ff8fc775e7625d639e5ce5585485a90bff1b29 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8212489988aab524bb6353113ae01b66)
+ * (GenCodeChecksum:900900618e15312139bf51a922485802)
  */
 
 /**
index a7a29f700c45ac1e736860bfbe82eeb5e151f2d1..998baf20fbb2414d4d037480ab93c07b0283c4df 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:86f450b7cee8be51a270e60cadd83f22)
+ * (GenCodeChecksum:fe46c2b4900f1fdde4a90f4858710fde)
  */
 
 /**
index d10f002c5401257847e97d61ccd311028aa25187..5de4c8515cdfa97ee6767c8ce51ef5044ea82362 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1be13f7e21dd920626bc68f889907b68)
+ * (GenCodeChecksum:58a499585518faad19d52d57dfb1f1ba)
  */
 
 /**
index 252d5c231bce7f0b961142b9af1fa13ba8391aed..2c2f90e7ed69988b50c65d07415805140ef409bc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:12ecb43dae98d73b95dc505a817a4971)
+ * (GenCodeChecksum:1ef0d9ea550f1f00e6f995bcb8270e0d)
  */
 
 /**
@@ -857,6 +857,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_Contribution',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index 12bc30bb1f7030f1b1b83ebe362f5ac2c5371734..d28bc50de1d7647cce1eb6d6058b3be06ac02ce1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2f819db4ba476398cb4f52fc2f42a6d3)
+ * (GenCodeChecksum:34ea39fcae2a3b299abcd53936219d1a)
  */
 
 /**
@@ -1054,6 +1054,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index d04e21585c7991d45afcc0c0d04ae4ae996640da..28cbd8c763e64331b6037c54a409738a001e55a1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e606c951b384dc261c2980784a04891)
+ * (GenCodeChecksum:908e3aa238e68db7e91731a9c441ee18)
  */
 
 /**
index 02c0b8a9950f517d6a34765c4fe58617a9a7cfdc..daa75ed903ba5847446affac438bb679273daefa 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e58956eaa5a91dcce78d10bd58a45d0f)
+ * (GenCodeChecksum:feaacc6f0a65f84c0005249110fa4001)
  */
 
 /**
@@ -783,6 +783,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index 82c8e9b56504ece0a19d53d14eb2abe8f947c9e2..e59dbcca77ffdfde6893a4eee39acf677047317f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e6e9714690d71b36fc982ba2215fc0a1)
+ * (GenCodeChecksum:236d3c83fd57553a2df8f4caa50d1c65)
  */
 
 /**
index 3b6bac321fcdb1ff4e40f48068c57bfc4db39ae8..fd7dac9069ab8d54ee09ddb0ed72402f623816b8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Premium.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0410b47a05452483d79597374cf15c9e)
+ * (GenCodeChecksum:52b14835ecf6ed706d67f6843badb693)
  */
 
 /**
index 1b1ecb7a7f89fad9c653ca3cf0aef534163c7add..5df4c1b93f1d0071534b1b755025086f357076e0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c51f65bcccfbb851426eb3fd37315b43)
+ * (GenCodeChecksum:add71f3063792c8442cc337808a9af17)
  */
 
 /**
index cde4954f75931e71a78d56e0121bd4424cb6555a..001335336062c07d8a493cc3b31c2b6b71d4efed 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c598ff101a6b96d122908bf8acab8193)
+ * (GenCodeChecksum:b8b0ea5f8731eb9ed3702295d3169ac8)
  */
 
 /**
index de9a7fc59809f17ea3bae87d53eba661d8633623..e55827af3ef427210b62d451df37be04338f5c67 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Widget.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:68cffd0a5158d8a8d052556b9d4d6d7b)
+ * (GenCodeChecksum:894a949697861e0f3912e5a9d0b67aed)
  */
 
 /**
index e8e7160cab8e579000ad72c2186b5797f67828a2..cd2e5711bca40a861fe3f68340d75f5fcc61a42b 100644 (file)
@@ -379,6 +379,7 @@ class CRM_Core_CodeGen_Specification {
     $field['uniqueName'] = $this->value('uniqueName', $fieldXML);
     $field['uniqueTitle'] = $this->value('uniqueTitle', $fieldXML);
     $field['serialize'] = $this->value('serialize', $fieldXML);
+    $field['component'] = $this->value('component', $fieldXML);
     $field['html'] = $this->value('html', $fieldXML);
     $field['contactType'] = $this->value('contactType', $fieldXML);
     if (isset($fieldXML->permission)) {
index 5587f5f21aaa9a0a8136486c2839a73b6d3e5d2d..9015963bc4ef1b912241a4c60c3545f93938bd22 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:49ddffed107b348fac4503b295f6f21a)
+ * (GenCodeChecksum:a0c147177cdb17585bd74bbc836f7cb5)
  */
 
 /**
index 6843a262be967d7ce178832f481bb33fc66007f3..d99cd9866f1fe1da9895f261fb83e2f575c8c359 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionMapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:835f89fed40b6e3308c404ebbd4b48c5)
+ * (GenCodeChecksum:2db355e73b3c39feaecdb8e18ddf7c14)
  */
 
 /**
index 0838c890f296fe179e80716f9f79a031b1a1d98e..0b71befdf007dfbdf4f0f0f41c52d83ae34f488f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionSchedule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c7e9b07157ed16c2f0cec07607b2c50f)
+ * (GenCodeChecksum:48adb86fcda3fc1cb7489d95490582b5)
  */
 
 /**
index a6e9d1aa5076df66358da07a69249cbfb347a993..6872c34d99a654dde46c4915cd7f88d3d032d816 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:25641380fb23cbe3112d5491a94422b8)
+ * (GenCodeChecksum:b4da4403036bc996d0096c71c7ed226a)
  */
 
 /**
index 5e44542bd64534ba5f550005f912c86b30953371..9e6e0983f5a56247a4d8851a69c1847a41537610 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/AddressFormat.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2ecfd819ea18426f11b942c042bafbfc)
+ * (GenCodeChecksum:97f3200f7d0f056c11607371d23b2c53)
  */
 
 /**
index da2a3981b33935023993694e66bdcf6d312f17ec..56b0955e449b6977e56a36c5ff7becbedca4cf12 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Cache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0cc7acecf3b6eaeca5819fe3d6e5053a)
+ * (GenCodeChecksum:f75fff9457efc515701d6441c5da3cfd)
  */
 
 /**
index 6c7c572d9cac65413d8b62b00d4f9fc79af85d68..e5a4a26fbe90a7eaf0f20e59d9ad693087be080a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Component.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:09a5730861e83385f4441f3c0f76bc1b)
+ * (GenCodeChecksum:715b933f7b0163579b567da290425992)
  */
 
 /**
index 68446f83f43f254d9c89b008001bbcc9b0446971..7b6649cd3a48dc77761cd03c2d628e0c2eeaf925 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c813511e8a3551dc396ccf62c741d13f)
+ * (GenCodeChecksum:4e511bfb7cab9f771950ac3c5900c78e)
  */
 
 /**
index 57226d72d1eb28ebba72e26d8004549c6b2c70f8..88d06ebc500eb9c88af9f26580a43e72b14f47eb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:eb213cb87257551cc0331a49f0468a2a)
+ * (GenCodeChecksum:36a36257bf7ce221e17843ebeca96f19)
  */
 
 /**
index ce833930071bcdc95f4e47cc3d11b130b0259fa6..4dc649d1d71f503a27d56529475f5602e4b08de9 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ba0b1be66d11dc51c9ce439b75e7ffbb)
+ * (GenCodeChecksum:84cdd7643545ef0dbe9512de6bc54e67)
  */
 
 /**
index faa2f7aeda7a4eceeee4446f0dbc64e86da5fb6b..bc97e05434c013032e449c922bca214c787c09a1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:23b68ef6a7a1b32a49d50ff3e7f67804)
+ * (GenCodeChecksum:fc2cf4a8b27ca8d4eaced3f1a3fcddd5)
  */
 
 /**
index 4ca1c0dcbc210c75725ce8a21ce88bfad3b681fa..7cbae2ae9d75a3320d0e444a89f25c27cbe18a05 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0a21beb6ce366c3f20bb682838389737)
+ * (GenCodeChecksum:6cb9571887b8c1d15ca18ea07b2ab757)
  */
 
 /**
index c3bc2859e614480e250de9a15da0fbc4b3e18dba..f9ac08ac65a65183f3d56ed144c7de3820c0ef3a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:33edfd87704f7f9534f66970619692b0)
+ * (GenCodeChecksum:ef47ec0e0453218f9c5e6ce9435694f7)
  */
 
 /**
index d2ab149ffd6cb5aa996e8dc042d5b5da42cabc74..dfda39051bfd582d364c0e03f13c1bfaa59a69cb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Domain.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8349202b8815c515c1d264772b56c66f)
+ * (GenCodeChecksum:90abce1cfca0d365b4ff49fadad001b2)
  */
 
 /**
index 9a731e234a512071c739bef4b5c734fbc5eda05b..36081e21866ba276e422bdf90b37bc11c1bc9b02 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b2102c4ee3bae6c9f3e271c1a739efa)
+ * (GenCodeChecksum:4c29213d7bce543125d95b77efa03bbd)
  */
 
 /**
index 4c7851c0ebbcb09d3b14ec2305c0fb053ffcd12f..9b5240bfe95ba0b88ce6d700c0f28bb21e729951 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityFile.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f6f1c6d067310259d60d0afea993d727)
+ * (GenCodeChecksum:76720cd19bd7b5bbbf1461184198acc5)
  */
 
 /**
index cbea21d138399e41072f6444ac6a89748d90fdde..0645ff78797143fb1553ab8192f27ff38641ab83 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityTag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:04f46fff37e89a3923a6ff397b24ba07)
+ * (GenCodeChecksum:d799212555ac2c5cc5195fcc2e1e1400)
  */
 
 /**
index 44594e06f232e749bb7d4e9074dc950299d20b4a..e2371a50c8c5a7e63bdae4654970c88ac5f1353f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Extension.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5ebf51ebdc1a3beab859e8f68ea28e61)
+ * (GenCodeChecksum:b979161a3a2ef67738823c85fb902876)
  */
 
 /**
index befd5c715a3820f051ceed284eac2ef7d871ae96..9b1627cff87e49f631467deb5fcf1c56571d7cfb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/File.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2269397cea58ba184874295cfbad396d)
+ * (GenCodeChecksum:7a720dc32168f5e3b5c21226a1daa564)
  */
 
 /**
index 004195d7d9c1702c81a1de23d46bb34b048c181c..d4869d7e0129ef9b10cd2efd2aa336d53306dce8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/IM.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5607b27ff96ad39ec97877d089b4a9e3)
+ * (GenCodeChecksum:bc655887019b64f21d96c5eff7040972)
  */
 
 /**
index debdce63a98dccf6f96037e391a62c8847082990..62e640fc4b3b1886389e86e085db9d31171aca96 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb383d2cea9c84fa26e89d060032bf22)
+ * (GenCodeChecksum:c999b0d2442859f0c0e5e18de30f2eb2)
  */
 
 /**
index 4ce7adfb462992174e453d88b7362fad879de0cc..daa54b465b5c7daf0695c9d83fd9fb39834a87b0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:311421714c062d22474ea357aa39e079)
+ * (GenCodeChecksum:3aa1cb73c46b5f34cd44a1a37a981722)
  */
 
 /**
index 948b94b8dbd9ae26c466b8b33a59652c572b6766..d947b7fdb7358b02f9b139d794134b689f4fccef 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:95df7c366d4f5920663299d762183081)
+ * (GenCodeChecksum:0fc0d628b8d0a4e918045455192980ca)
  */
 
 /**
index d53670d8828bde50d0692e33ee74f0888d23a71c..51380c66daeae251deb53f1b2f354e5239894421 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocationType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b2109f10fffdacf38527863979dee49d)
+ * (GenCodeChecksum:f297dfb63ce60fba3e9fe36811e63c54)
  */
 
 /**
index cc1ba669f2b0433f03a15f0398ba185a6c935d88..1c7e794e34aabed4d659f7f75b08e141b98f2d5b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Log.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4f3a8839532b75d6216ba233c6297934)
+ * (GenCodeChecksum:125889d1bc0b6eb15c827e1ad378037e)
  */
 
 /**
index f242482adfb1e6472accc93e56cd951219c2bca7..f34dbf3a97b370e362eb6323d96bd244a8da0728 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MailSettings.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:133dfb1cc0b9b13f45864fac1129115d)
+ * (GenCodeChecksum:e2f8aca7ff7a4c1d4569cd57d978f751)
  */
 
 /**
index df18aa5d5bd47bf70e656a15026ad9d6421775dd..6877a0e75a3884aac16bc698bc3f5f5e15fe6398 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Managed.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6f8403a1993eb2636a67833602db14ab)
+ * (GenCodeChecksum:7254649f0a40bd37a56d5781567c47c7)
  */
 
 /**
index ac4ef8d74273fcd9bdcfc60618540970ee870a2c..bbae336b6f13c091bff4db7da55bab2511c99f11 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Mapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:06a510d6fa96ed0609c99449e54daf5b)
+ * (GenCodeChecksum:12087a864ccb66be7b11af781b242c02)
  */
 
 /**
index 4ce0437eaf617655ed30874e633b9fa430641f21..b3d14930470b60899efffebb02537a4664039ec3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7b6fef105fbd75f712c39395b4dec8a9)
+ * (GenCodeChecksum:f46b7a16002a4e16ee2db61fc394a13a)
  */
 
 /**
index 997c189016a91398e1f85a28bfe0673ba22ff4b1..74082ea4a605e33e306658e6ad96d8d02672531d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c0912fb9e42a72cc3e9987d96239bafc)
+ * (GenCodeChecksum:c09d043f3d205f3502a3e16f94a200dd)
  */
 
 /**
index ff43ba0a530b49add5893073e5b73cb55fadba4b..96d2a821794bda7ec9a7f2bb22518039df3bf7bd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cc5d91ed29668432a8666af3fd4ad9f9)
+ * (GenCodeChecksum:09434f7bf2a0cccd82d6f3edf6873e39)
  */
 
 /**
index 28f492bbb8089571312835555a721a3ec09a4db1..286599105603c7e1871dbd2df6421c0912d1c28a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Navigation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:548f06cf0a447913c7389a4595573e23)
+ * (GenCodeChecksum:8a120683f9bd11ea9e17fbccfed289fd)
  */
 
 /**
index 98b294443a2e41d29ea8113950bb140b836e62ce..1f9547b0b859ee82ff4722182f77ae4d8e6b7723 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Note.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebf209f440bf055a37dae4063938b098)
+ * (GenCodeChecksum:93f7d0a057e66114cd7b2086c511f0fd)
  */
 
 /**
index 9b091bde568ee21c560960a2ff80545d6528882e..406081e41878c62cdf7aa0f254092d2841357185 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:26092a8f070e5fe794671ed682b08ed1)
+ * (GenCodeChecksum:52f04f084f77d77647b6fd4fd70f91d9)
  */
 
 /**
index c66d7130ade9bddd7f3e0b2b4aa159afe1cd572b..b979ae6062a5652d4f7e900e94a01b8f26907c96 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9eaaeb570ba18bf902279c0a5a8c47c4)
+ * (GenCodeChecksum:5f7256e2bd9f6f3c96ea39c8642dcafb)
  */
 
 /**
index de563778a96f9a5db97a6ff2783f563f9b8bca31..c59dfc270fd111a5fcfb0e3b3d1994552233e7f8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2c0ce2e77042de88941561e038187cee)
+ * (GenCodeChecksum:bb1be9c1b4275b0298724537618f6895)
  */
 
 /**
index c28c741bd99c26a2600d016ed5e90297d5caabca..505eb9025481aba8c412e39873b9243cbfc2f160 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:29250957128fefa8b8ee8156ffed783f)
+ * (GenCodeChecksum:cadb26f607b1638fc26aea5a2a5ccd73)
  */
 
 /**
index 2d46ec06fd08d494a3c0f4a0db1ffecc11d4e2d7..d0368081472a1dfe05f794c1eddd34d8defbb6dc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65482aa94cbeb2529b257e1b7ab6d421)
+ * (GenCodeChecksum:92207005de86924b05203395e1e83675)
  */
 
 /**
index c264cff113b87f4d9f44ad9a1959d1aad667b034..66cf6c2be53532af501312b90c0b5081ae4404a8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrevNextCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a49bff433947fcca0f41c414e3ad4c66)
+ * (GenCodeChecksum:207e660d644f8fa00b5873ca2d0a298b)
  */
 
 /**
index 9938e8d0f0d05683f1695bf3ef892d770bbe9d5b..517aedd7ad2d8814aa6a035dc0679342f8df00b1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrintLabel.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:29063fe048df3c056de7bd26c959ff16)
+ * (GenCodeChecksum:56331718846a7dc11e08e8c206696d8a)
  */
 
 /**
index 02e14fd675a296b908d98a6eefd9c4e5ce3d3ad1..a66dccd577422ca1bf741dfd0d07848c3f02e73a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/RecurringEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:74e4c9edf404d3bec64783beb3f1af90)
+ * (GenCodeChecksum:3295c773e777a676d813419cd27825af)
  */
 
 /**
index dae811c908b7e0f6f21920399a241185d23df79c..f5f3ffec4cf1bf87f3c1488d96b133dbdff71fda 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Setting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0d63ea565f62d5c5c813e6373f5b2e14)
+ * (GenCodeChecksum:65d67bb9fc865db88ef5e3a6da69ba87)
  */
 
 /**
index 83442859b47473335c658a622965e298955ec2e4..66eaa99e8e24627fe241afd4cd2eef937e2547b4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StateProvince.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:440f793689eaaa44fe906d1c2b511f8d)
+ * (GenCodeChecksum:3807f834dde7f3a4bca379cf6e9d9130)
  */
 
 /**
index 91af4a96fbb55e2376127d303ad5deffb4154b40..b9220759d358a19d73521cf8b1f8eb3094175de0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af32ea6d412738e2547b9d07b689406b)
+ * (GenCodeChecksum:37d97f482b6f4e6082c43ad214b5678c)
  */
 
 /**
index 322e33d88a05b093432087aae137b8fdef99992f..00c16bbc39681ca17dc77d54d9bdcc35b0dde7d6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f82dad9ad461884c5d45428b341dfbb4)
+ * (GenCodeChecksum:cd995817d0c300048fa38a8a7ff5d1cd)
  */
 
 /**
index 6b0e713891faef326388afcac76663a27256f42c..6c745b9fd668f5c64a8fa592ac045091ccf7806f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d6d9beda4ba9e41d1c040d5f878893b8)
+ * (GenCodeChecksum:780c9949951c1a27be4fcbc0f9f3a7f0)
  */
 
 /**
index 9691025a5e29f9fc443d7f2dabe215dabbf70c84..70f171897b05c30543a515d3746bde0f0cdedd3c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Timezone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f1ffd59dde5ea0ab85b15f9bc9c609eb)
+ * (GenCodeChecksum:884c166906e487ac1758fa4da6c816a6)
  */
 
 /**
index 9ba6ee2f1835f379d2b651be27073bbd9f0ff9fe..6edd64787adbb3b7a30e14734564aa44d777a505 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ad764e4c244b5b88acd96b57c4f4f702)
+ * (GenCodeChecksum:4129a22b34b4161f5091e01ceaf5a4c1)
  */
 
 /**
index f0cfc33e846dda502adef5a4d4eaba3b10c1625a..85f63b0500f809388ba84cfedb63d678195bb633 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:824fe358fcaddc89f302bf03ba7b82bc)
+ * (GenCodeChecksum:c9b253928c8d6b6fd8869e8e8a63e6f6)
  */
 
 /**
index 27c9165a639a895d46025030436045c791bd6b84..d8d8080c4b248107d56dd4a5f399489b5a787add 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFJoin.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e33cb45c78bf4f828b5ecce3130a9b5)
+ * (GenCodeChecksum:e50870bd9bbc252854166ca3e90c5601)
  */
 
 /**
index 1d5488ac617cac64c02158c2014498ce923c4e47..479a232f25098e4f2fd8f0637668ac54a50f8dc6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFMatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e4df2b3830dade51f45eff7ef071b09e)
+ * (GenCodeChecksum:ebed522d00626aa9ba2b98178b2045a4)
  */
 
 /**
index 3ece0b8aaf76a4233d38893f79183631ad50e41c..835a3a0b3bbf86ca26b54e70c44e19188fe4b5a3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5817ea9ead738f208907da1e2729da44)
+ * (GenCodeChecksum:bcaae3388c26a04cb9e57dc9546dbfe7)
  */
 
 /**
index a1f7c1efcd451e7834d912af027adc37d5552e5c..fe81bace669782452dd6e30a50dc545972ee857c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/WordReplacement.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:db47178d1624ea60916f864af51c03b3)
+ * (GenCodeChecksum:e4ee8b38fc050b33ce056fff1587d5e6)
  */
 
 /**
index 635fe964c76e834403d63de5620bd43b785c8a93..81a344a4057ebb67b21ed4befa28b92574a957e7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Worldregion.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2d6ae711c53f7b8403e9a35327de4d66)
+ * (GenCodeChecksum:3c8f6cd69c0e0be698517191ad882cb7)
  */
 
 /**
index ff419f5a4c3289a9e8572f32d05d75bf0e65a4f3..cc7a98696424b9529dd9d1cf64806781a77986dd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Cxn/Cxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f0b3443764bfbda8d074ee79657d33b7)
+ * (GenCodeChecksum:c39a28a9d03c9ed8d63e7c0959f6a947)
  */
 
 /**
index 70aadd8c38f87e11bef88cfccdd11fda22160ccf..32be00eaa0c6a4dad87d703471e7a8c8f5999f4e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Exception.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:63779056711f491741e25d93c3775df7)
+ * (GenCodeChecksum:c79d5bf6b03f2dd008d5878bc115ccd0)
  */
 
 /**
index 6893b603788f12153a2690a16c2c5be46054e79b..03780fcbba85fd1105cb19f4024293d35be8c50f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Rule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:682d32614225daae2471fcd701431d63)
+ * (GenCodeChecksum:2860c5a16ead4f23809027d8a2812265)
  */
 
 /**
index 217de701688feccda90be12ed6480eeb7252a6e6..901c58061258e5af0b0765a8ce9593092ffb8459 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/RuleGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a96207fdef11a959a8d900e1dc76a15c)
+ * (GenCodeChecksum:114051c4c9bd7fd1e7854de7fc110884)
  */
 
 /**
index ab8c3bbbf07540ae7ea9f9725f55ec94ff23ea5c..9332fb5538bc6e5700e1043656af0f490ea18517 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/Cart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0b24b73c38301e2a0428280ed8be4b3b)
+ * (GenCodeChecksum:183604c066e28af10c1a6b1dc9ccb698)
  */
 
 /**
index a434317411fecd710fca3c96ca12edc58ddf3c1d..28e81c9c1925b4d23d85e19680999eee2931877b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0ae1df299c249c4984b5785593755400)
+ * (GenCodeChecksum:cde461dbf781f6bb0efa0531f00038b6)
  */
 
 /**
index 211eb612d14bad3b9f37361ad1570f5a5b3e6cd9..7b6f30f952c41671f290c967baaf4db2d6be6f49 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Event.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a7136e70d0115569f5a9ec2d14b2818d)
+ * (GenCodeChecksum:c5779073cea9c6b4a959070ec0e95b6e)
  */
 
 /**
@@ -1654,6 +1654,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index a6310a8d60a6cd5bfb16b6a5da4992456f1d45f6..830c99acf273c1c0491a3e1d403c6504b6c3a413 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ead583cdd16d48911d96d376079bee27)
+ * (GenCodeChecksum:2129f60f86eef85a5a5a97a22d41134e)
  */
 
 /**
@@ -512,6 +512,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index 8837f6cc9050cdeb5058fe3261606d0fdebbbbfb..57b9b9697aa8e6557b16c51b74de2a4e26833db7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:33702eb127926f201e74c401001e2f99)
+ * (GenCodeChecksum:6300da7ad1aebb4963cb5857ef146772)
  */
 
 /**
index 164fe9583b8037bc69824e1098d22d7c77575b10..3e24df9e46f3fb386b40219789be07a3cb5f6719 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:83aa04ebd1109c907cbea3b10365372d)
+ * (GenCodeChecksum:d4e01997101377c20d79423f6dc281b9)
  */
 
 /**
index 0f0081b5af736bf34cd6d0da7b53bfd3410cdf9b..f9988e57b812fe8393be2161af52e3f4d9b004a0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/Currency.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:318bc03222a384c18e76014aa8ff348e)
+ * (GenCodeChecksum:702d26343c15d3e3ee91c16f302ba0c0)
  */
 
 /**
index 90320f8ab9f60c7be1075a52355b494ebf3de19e..96042a5f85b6d47a42e663ddd632d3ffb621f76d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ac2a0a2e8eae1471b71da25e95b52d55)
+ * (GenCodeChecksum:70f25c56047d21ecc405e8b7a60ef68d)
  */
 
 /**
index fe3d2e098712c7e7cdae912ef00427546cce1917..9d049c7cc86688fee25de24c324a0628261906c5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c45a5259ff34bda9b9bad9ced505ff16)
+ * (GenCodeChecksum:b3317f412b569aed0c63b8692d0b7016)
  */
 
 /**
index 5bcc89434398e9340a68ef3b809707be0164ff7f..6361feda037d47776985d5fe0896769e29bc3660 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0548d4cfb2f156e6a5ef42fbc7fe4d08)
+ * (GenCodeChecksum:f273f668e30ddfa505cac215f0485c64)
  */
 
 /**
index fd3c71b95d37bef4f830f10497890da32250ef30..6d1f8098f7906b1d35bc5f478d693b17d4cf0911 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:03f4c0e4071eef8c1c8346f6902209c2)
+ * (GenCodeChecksum:b63c826a61c494010c7628672e82fc27)
  */
 
 /**
index d1052f8423cfa5f5305473b80d15daef78365566..4b37bb92904a8f96cf13ae336e11da9378289632 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:68d7fe028a0ff4ad3910d491556bbba8)
+ * (GenCodeChecksum:2275bd3093a607f7639f8680918dfe89)
  */
 
 /**
index 8d887a9f74201f638a4ebe1e1b27472551f71d80..8a54a2047808d511522bae4399cbf4b5992b9343 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c79dc17e1e4fade12a6d824347b87689)
+ * (GenCodeChecksum:4f25c751d874b9438009c8685f8d6843)
  */
 
 /**
index 5ae294e295d6807bad3f6885fda386bbf0bb4bec..6d821d2a5c9a86655f7968e21d8186a0585b43dd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7dbf8ad49ad92097f5e8173491765028)
+ * (GenCodeChecksum:cf3b781bf6401730a67544ab64bb6883)
  */
 
 /**
index 6672a363deb30d01d78af93e5322289e28a71275..3066dcb0f93e0222fe16a2c48218f8762199ea82 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:958b81df5ba2401b9a334be65ccdb015)
+ * (GenCodeChecksum:38d6905c856137c04e68c5ebdbab4de9)
  */
 
 /**
index c56458a2ea02f070cc369cba10cf283663a5e449..bd883442697ee6b25c639d83f514cce7ea11e3e1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentToken.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e79b61f61a489b619d051bbe545e35f9)
+ * (GenCodeChecksum:03492b5f23f8ab161d3515587ed50470)
  */
 
 /**
index f60c8a65eb8cf29b048b9a01cca2f82cc980e962..f466450c42e28ced0f9363a46471639b4d2af1d7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:21c3b5966a2acba3a68a0ddeeb7c6f50)
+ * (GenCodeChecksum:2405dab9bde6a82673d70673b9c4833b)
  */
 
 /**
index 0a33fc67aed563dd485ce13e9270f8aa4cf92832..d2c9021b8142022b1bf9c7695d2e77933aa11e1a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f457a98fb030ce8b2e1d5fe2992abe43)
+ * (GenCodeChecksum:3514965c4290206b308ba49da1915ac9)
  */
 
 /**
index 67892310b32c2ca28badb67dea5528c523efaa68..830af977d37f636b995bb2e7724c2aa4b477827f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BouncePattern.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:449fe0b1300fb075051dc4ec5f6de629)
+ * (GenCodeChecksum:a340a133494d8de320812a282997d760)
  */
 
 /**
index f3c096dfc280aa899987f9101b6ae5b98946fe36..dbe383e1b5020ba3c96082121fb0d7c06f1be46c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BounceType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9fde7aa9653b8be7711d655f67e557fc)
+ * (GenCodeChecksum:3b880ec51ff0445ed90072824ba388c5)
  */
 
 /**
index c0699b539d5a87dfd75b945a3d1492b5bfcf6e9e..55cafbfff6b0413fb1cdf7624fbbb6e5dbf6defc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Mailing.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc5d96fc76dc310a6c1ecc81b59d0e05)
+ * (GenCodeChecksum:0ec62681276293bf364dc27bc3117b11)
  */
 
 /**
@@ -1015,6 +1015,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index 88d312fcfdc6f4a97957089e5784b761b2cb32b2..871bfb30acc655fb0c08a7fd598a029af27d1ec1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:acdbc5cb3df5fd9cd1ed7a6f01bbeff7)
+ * (GenCodeChecksum:753d6580550aec3404384c585451fb96)
  */
 
 /**
index b8771cce0e54ecb0a9587f7898723b00e98cadae..a6d1ee4647cc6375a3d9a6798955adc2bc35cc35 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e9628233f04820bf16542b8221eaa008)
+ * (GenCodeChecksum:4fb4d43c4e99fd287db2ae1936ad6b96)
  */
 
 /**
index 3e7e7d679e823f2adf2baa7b1898c6a4bbc1cd51..f5e6d3cd90cd6f43f820b7537bdba24aaa4da314 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:74ef902570c47d6c598f706ea7165bde)
+ * (GenCodeChecksum:52fcf6b74cf0c8f3ad9d3e6e9c6f8fb4)
  */
 
 /**
index d6afffcabc21bed09e3e7640dfeb9645b91a9076..2b74f4c9188441ebc4659e5f38efc6e5118b63ad 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8608521577ba0054999e7a09ccf62691)
+ * (GenCodeChecksum:66ec8ea61011246f741eab74caed0622)
  */
 
 /**
index 18fc8d14b989cfbf0ec355fa5a7abbfd94245b42..f56a780af7c573516dcbc5125a494ee1737c6852 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Recipients.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c64102281560a333b4081bde20c28217)
+ * (GenCodeChecksum:1bb8ea55e30a902501c79a39d7129aa9)
  */
 
 /**
index 2f21cd6ac49703e938769563c4d3947a3928cba0..6cb780587acf0bc1c8a846a9555121e7f4bf769a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Spool.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0cc274932ecd730f83acef871c761919)
+ * (GenCodeChecksum:d898fa4a28acbca7f43244142daa4712)
  */
 
 /**
index 8c8d20420b54b2114a2051fc226840dad1f9501f..c2d4fcb0c7732ab96c2d3e8fe2b42c2ac4395fae 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/TrackableURL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7316883c66800165b665a646df790fb3)
+ * (GenCodeChecksum:b33ea7557c17d9f6eb2f5bc9a3a1807b)
  */
 
 /**
index 4e342a0d0734b94cd8036a50d0582d12bbf5e6a8..a03433da669e28509b24df95acacabbae1761c46 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7e29193742f438beea9f09856d9c7221)
+ * (GenCodeChecksum:de41ec098f97421e689810ea56f27df2)
  */
 
 /**
index b55fefd02eaf4503f146130bc27dc88e16628f3f..1a893442ecdff92226b9759f9cd3483f6d211684 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:943105a7b4800c5a5bcd571e2ef8eff8)
+ * (GenCodeChecksum:ca8f4e4d694557fcff22370853263d17)
  */
 
 /**
index 951bb89ea73769a8489cc99ee95df6f0f907f9a1..3f24abf80866c48940313c74efbbc0be1edd8a1e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c212b4bda46beb9e1f02d5a8664d1890)
+ * (GenCodeChecksum:67eb9eaad7e2da2d70e39d358ecfdb6f)
  */
 
 /**
index 514d7f7bb6b147d2d7b1987210644f2572730bd0..fe7ba7958df2872799fb74ec1e0c58df76521e67 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62b0b652fd444facf0da89999ad89c13)
+ * (GenCodeChecksum:b725b983e15e98213760102ea9472505)
  */
 
 /**
index e841957eb4d734c12c7ef9a8b62298b9e3f7fcab..7be8425c144dfde0543ae1faaf4f35ea1cf49b7d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Opened.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0a6f4549d0bf00e5850290639fd90f16)
+ * (GenCodeChecksum:287f7852cf7a1218f9ff6c4ee0a6470a)
  */
 
 /**
index d9e9fb8b6a295335dc28a660b84c3e2bc11a681b..82b76f1c88984f5ad6966652ba599bb281e1ac04 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Queue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:abb698bf890b96a2ef608a8b005f4bc3)
+ * (GenCodeChecksum:62c78a2685fdd214159e30c944cd85c6)
  */
 
 /**
index 58dbaee61402f45cd3e5e2c235eb395a9ef0eb25..0e89b58def9aee4bc5d13a23a83f036dc8669284 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cf3ec24fb93780d26dc3995598d24ef)
+ * (GenCodeChecksum:614965c0ed3cb79b5a93c1e3d1248e03)
  */
 
 /**
index 1416b00572fefc7acff466e55a667f036ff00442..9ad620fc11d55a6d275358af73a1a09d88cde4f6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a50451e5006e588f3433eaf0d957d65a)
+ * (GenCodeChecksum:4b0ac23074c6737a52e326f42c8c25ca)
  */
 
 /**
index 53c7b84911d71bf1269c1a71c807b5e5e534b160..9c9d5abe018e9c4c7efbbf21bb8175303b1fed77 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c5828ba214121d84e233357f3ca4e5a2)
+ * (GenCodeChecksum:1ac2ff5ffce9ff76d15e976845bbd8e8)
  */
 
 /**
index 75d4cf2b1ab2d92affa3611b4b7f6ca8553f570d..fdfa2d5c5527d9abe1f9d33e97d0321f7fe02483 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b73fdfa45b48947cdbcc4488cc3e064)
+ * (GenCodeChecksum:2f06825cf706eb25be63167950390a62)
  */
 
 /**
index ca5344d7d87427d15942c375a9fdef28f17577f3..4cffc2f57002671173b14ba4db1d687d6fcaabf6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/Membership.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c60e586b6aed4d58fa869589f58d22f1)
+ * (GenCodeChecksum:dc1ce9eef7433fb191d837f800a9f745)
  */
 
 /**
@@ -512,6 +512,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_Membership',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index 0f482c866332eef4742d83508f079d6868349786..6e537bf79e2d83fe16356345a17e60fcbb7e94ed 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e47479d1a1bbc59293f5b441379b37d5)
+ * (GenCodeChecksum:3a11d3829c8792b08f4e1f361c80e91c)
  */
 
 /**
index b0ac1881a8ea8f26f04e90182227518b50ea3774..708ba7bc48b310feb8903e4fbf48dcbe66e6e6ac 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fc7552b2d017b9feb21acbef94f70342)
+ * (GenCodeChecksum:a110ab7dd0e4be40f840eae85b85048b)
  */
 
 /**
index 78cb2f42368a1982920b356a7cef53bf69466935..adae99b2bf6be7eb08efaed5325108a53e02734e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:93676dfec372a2d6a700e1bb7ccd9cb9)
+ * (GenCodeChecksum:1e8b8450bfe96eaf47f0f7d4070caaa8)
  */
 
 /**
index 1c564b37d9f4c4995a821ecf5ab1c8cb86ea0df1..87063dc707cee0993a5ae297f44c277c8c48cb1d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipStatus.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c1d4d2cd4959bd91c795c8458c3fd50e)
+ * (GenCodeChecksum:614df1344aee4571915f071bef3d1090)
  */
 
 /**
index 249744d6cad4dcf246967e4a76d3cfaab0400a0c..1d41c800102697cdc3495015ca885163aca23f13 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ede0d06ec0ba6cc17b197c448abdf8e4)
+ * (GenCodeChecksum:32c41f6fbf066a56e2beb49cfb976977)
  */
 
 /**
index 82a07a91469b965c91001c4fc9e6c8d883a6135f..4772c5beb1acb7df6bb0fd9d7c2bc792465a2a93 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:eb953e2d7dfec1dde72f4f18f7f2fd49)
+ * (GenCodeChecksum:b6ab23bb8e72eac29f57d10b07ece09c)
  */
 
 /**
index 857f1b7f54efdd1892fcc3585fe40af17d068735..c80700c2a1c27312b6f65d0332a2049cc3b3cb7a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCPBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:077b6f925ee80999e7801be9f56e2fae)
+ * (GenCodeChecksum:ded07a159b7baf093c3fb98e0656063f)
  */
 
 /**
index 85f1774176c21085c90c8cea696af08eae18ea89..c08c2f005240d1e81e2187c5e562c4f7462db7ef 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:57ee5021890cbba432afe9e252088f74)
+ * (GenCodeChecksum:207537ed0241f8d30a332da89eb213af)
  */
 
 /**
@@ -664,6 +664,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'bao' => 'CRM_Pledge_BAO_Pledge',
           'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+          'component' => 'CiviCampaign',
           'html' => [
             'type' => 'EntityRef',
             'label' => ts("Campaign"),
index 64ffbbca63ad89ba957ef9d5532e1e10e43591b7..2caae9e1bb139ec6a705ab98f38bd494ae0b4a85 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:74a90845f8101561d8c12dcf076fced9)
+ * (GenCodeChecksum:2ee09d20ee73675e8c28c7aa9207f67d)
  */
 
 /**
index 1cb1ca64df5e0066dcd5a94532ff1819f77b509d..d5ccaec3769056197eca62edaa559012924b783f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1a148e4fc6b7d7c7f8a432ff98b9dfac)
+ * (GenCodeChecksum:a539e4dbc9ec376ab590718431839b72)
  */
 
 /**
index 7ac5d5664a2fc14d0782eb7928aadb7d60a740d9..4649837b1c377aca5185b3c7ed8ed257e951c286 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb4e1d1cd260bfde06a046bc596ac691)
+ * (GenCodeChecksum:ce105cf63ee265d470ed263f959a7706)
  */
 
 /**
index 054a1c74d70353ec946bbc6a0a9f81011754c093..f83f32045c3d71d52df0f7ca687a6f62121d14d0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bbbe38985671ec274c1655e432977575)
+ * (GenCodeChecksum:a39277a5a91f48154c7015c413a91ee7)
  */
 
 /**
index a4e0797c391ea8ceefae6ec8beb771c93d47a2f1..5d17c5643363b727f575c8f4e74f901130146022 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:88202670ebd647a72dde733e63b20d0a)
+ * (GenCodeChecksum:e22215cf06dcae5dd461ef3fc2c60a2e)
  */
 
 /**
index b3a822250c86c2df8d428a3a24622728cf61b677..a46029975e2261d18576c7c7f7236a440e8f6bb1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:39c1c8ba7a9eb2ea10fbc216fd22ca23)
+ * (GenCodeChecksum:dbf63d57ef651ede1f0713ac37828dd4)
  */
 
 /**
index cc7bfeae581cdce1aebd082a241087efbe02bfd1..791a62d9c6edf7e2562229502377afadcd462b7a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:725ada34ef925d58d65d76995dba0cfb)
+ * (GenCodeChecksum:4a30fb02c5799b90ff91dc46befa95fe)
  */
 
 /**
index 53162ce6bd5b7f23d0d28fc068e273db198e1885..09cefb0c5d5c30c31b9f61684d88f203cd659616 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Queue/QueueItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cb6bf44fc806a2a4e88aefe65f7a8fab)
+ * (GenCodeChecksum:7378ae2c08e07dfba99311bbe1958dbf)
  */
 
 /**
index 3e52dc994f46b7d25f8bf7a34ce851b81515d2de..9edcb20f58a4dde10c7f43057e96326f4514263a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a06fbce01749883f74a2e311e64e1b0a)
+ * (GenCodeChecksum:f70f5daefce7003cb9325af0740c447d)
  */
 
 /**
index d7f3d685063e1f06d07c1728d0a5a20fbf78a2d1..c8a99f4f25dc7f8ce96aadf6116c8a3c4a81951a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/SMS/Provider.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6aa6cb12e9c3ab2cfb28359a6665f23e)
+ * (GenCodeChecksum:3825081bc48abd82f194a390677769bd)
  */
 
 /**
index ef9954f20c305ce455618aebf16a1bfb9999ecde..ca2de569b09f76b590df8714a14c06c2d0713d34 100644 (file)
@@ -96,6 +96,11 @@ class SpecGatherer {
       if (array_key_exists('contactType', $DAOField) && !empty($values['contact_type']) && $DAOField['contactType'] != $values['contact_type']) {
         continue;
       }
+      if (!empty($DAOField['component']) &&
+        !in_array($DAOField['component'], \Civi::settings()->get('enable_components'), TRUE)
+      ) {
+        continue;
+      }
       if ($action !== 'create' || isset($DAOField['default'])) {
         $DAOField['required'] = FALSE;
       }
index 1c074d9f5ed18af4a97e984857a4c8d060a3ba7e..1b25b6c19c28d8156b128544666a4e8a1556dd7f 100644 (file)
@@ -149,6 +149,7 @@ class CRM_Core_Payment_AuthorizeNetIPNTest extends CiviUnitTestCase {
    * @throws \CRM_Core_Exception
    */
   public function testIPNPaymentRecurSuccess() {
+    CRM_Core_BAO_ConfigSetting::enableComponent('CiviCampaign');
     $this->setupRecurringPaymentProcessorTransaction();
     $IPN = new CRM_Core_Payment_AuthorizeNetIPN($this->getRecurTransaction());
     $IPN->main();
diff --git a/tests/phpunit/api/v4/Action/GetFieldsTest.php b/tests/phpunit/api/v4/Action/GetFieldsTest.php
new file mode 100644 (file)
index 0000000..734b78a
--- /dev/null
@@ -0,0 +1,42 @@
+<?php
+
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+
+
+namespace api\v4\Action;
+
+use api\v4\UnitTestCase;
+
+/**
+ * @group headless
+ */
+class GetFieldsTest extends UnitTestCase {
+
+  public function testComponentFields() {
+    \CRM_Core_BAO_ConfigSetting::disableComponent('CiviCampaign');
+    $fields = \Civi\Api4\Event::getFields()
+      ->addWhere('name', 'CONTAINS', 'campaign')
+      ->execute();
+    $this->assertCount(0, $fields);
+    \CRM_Core_BAO_ConfigSetting::enableComponent('CiviCampaign');
+    $fields = \Civi\Api4\Event::getFields()
+      ->addWhere('name', 'CONTAINS', 'campaign')
+      ->execute();
+    $this->assertCount(1, $fields);
+  }
+
+}
index 0a9aef2eebb484f9959967d701e6d5465a2834f8..18bedf70f7c5a4bf84b47396d515fbee43d7fcc5 100644 (file)
   </index>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>activity_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
index 1683b34e3726bb613609e9e05490f2479d174015..3ccb9b73a7dde4949b2cea5a51de3e1442302771 100644 (file)
   </index>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>contribution_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
index 92b78df29a2d85bb753d099e6eb4399fe216c5e6..9e7423608e1df5fa139f5f61fd26a0191e23da70 100644 (file)
   </field>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <title>Campaign ID</title>
     <type>int unsigned</type>
     <comment>The campaign for which we are collecting contributions with this page.</comment>
index d9ce7579632ba89ec900a9cb0856aeb7448728b4..e8782fe16ba7887b7299d6a35aa79902a83f9d90 100644 (file)
   </index>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>contribution_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
index 68e4ae28b27a18664a2edae10d479e1e064953b4..a15918729eba320b0448f4515ffcab64f0b1db13 100644 (file)
   </field>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <type>int unsigned</type>
     <title>Campaign ID</title>
     <comment>The campaign for which this event has been created.</comment>
index 1d07244a5e6bf7b850b7b340c08d12f0636fadb7..2ff822e9dbc5289f44cc5807977ce0a23d1f2470 100644 (file)
   </field>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>participant_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
index 7d3c7484b067dd3c4cf77b6631248125aa1ed4b9..6dbbdcd52c0a7b69e385502813946a4ef7b7dd1f 100644 (file)
   </field>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <type>int unsigned</type>
     <title>Campaign ID</title>
     <comment>The campaign for which this mailing has been initiated.</comment>
index 8e9b713d1a4c0c1a5408cb3fa667961dfdbaa666..eecda658537c6f7a6cfec8248e2af3dd4ebe02af 100644 (file)
   </foreignKey>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>member_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
index f7205ed5bffa62be2c3d3fc4a2b20e2176359e84..87b6e3b4d7e872415bef0b94b5002387ab8ef07a 100644 (file)
   </field>
   <field>
     <name>campaign_id</name>
+    <component>CiviCampaign</component>
     <uniqueName>pledge_campaign_id</uniqueName>
     <type>int unsigned</type>
     <title>Campaign ID</title>
index c5bf31fb01626019cbf4d748e88709ff0784b46a..916a2da59048909e596297c443ab109d5f90c754 100644 (file)
@@ -186,6 +186,9 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
 {if $field.FKClassName}
                       'FKClassName' => '{$field.FKClassName}',
 {/if}
+{if !empty($field.component)}
+                      'component' => '{$field.component}',
+{/if}
 {if $field.serialize}
   'serialize' => self::SERIALIZE_{$field.serialize|strtoupper},
 {/if}