Add "labelField" metadata to entities
authorColeman Watts <coleman@civicrm.org>
Tue, 2 Feb 2021 19:24:51 +0000 (14:24 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 2 Feb 2021 19:24:51 +0000 (14:24 -0500)
This determines which field will be shown when displaying a single record
e.g. when viewing a Contact, show the display_name.

180 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.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/Entity.php
Civi/Api4/Generic/AbstractEntity.php
xml/schema/Activity/Activity.xml
xml/schema/Campaign/Campaign.xml
xml/schema/Campaign/Survey.xml
xml/schema/Case/Case.xml
xml/schema/Contact/Contact.xml
xml/schema/Contact/Group.xml
xml/schema/Contribute/ContributionPage.xml
xml/schema/Contribute/Product.xml
xml/schema/Core/Country.xml
xml/schema/Core/County.xml
xml/schema/Core/CustomField.xml
xml/schema/Core/CustomGroup.xml
xml/schema/Core/Email.xml
xml/schema/Core/IM.xml
xml/schema/Core/Navigation.xml
xml/schema/Core/Phone.xml
xml/schema/Core/StateProvince.xml
xml/schema/Core/Tag.xml
xml/schema/Core/Website.xml
xml/schema/Event/Event.xml
xml/schema/Financial/FinancialType.xml
xml/schema/Member/MembershipStatus.xml
xml/schema/Member/MembershipType.xml
xml/templates/dao.tpl

index a63ba76a049e85f751102ee6e4a8edc5473187bd..2bb1a99803ea8d42d1db41b466fc13e7c5590960 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4b1db29de0700887b7875f82d079c10)
+ * (GenCodeChecksum:945c6124726a8a24c2b1915f892e5d7f)
  */
 
 /**
index ae394a532b17c9dc30d9f75de032c85e974a9b86..181af8cdc0f77628921a485ca430a3c2c6ba1a63 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9676dd799030fb9b56b490595dd3a847)
+ * (GenCodeChecksum:d578da6a914d1f86daeff26e50653fc4)
  */
 
 /**
index 043e1f673f1d180ac37b980fdb4c27a261432a4b..3701d04d1e7d1cf7dca5a2f2f05faeea1d16c16e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/EntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ec91adfcc1d76814541811d4b97e45b2)
+ * (GenCodeChecksum:012d2481ba1ccdef7d19a17eae876597)
  */
 
 /**
index 7a11bf5990a28ae2234cb44a9a8f37c7b47f60ee..6d764364cbc5e092870b21b28923cc9c0f09469a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/Activity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cabeb52f5da37045929bb3e0b7748992)
+ * (GenCodeChecksum:20d5b91c29b14f4df12aabfc07c58e94)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-tasks';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'subject';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index c789e4f0ed751f197251eceaa019e9e9f91256d1..c80dbbf1b987a6f1845d78b3a375c7dfa0925e10 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1263921d2a6832e26c5a7e34c684e35b)
+ * (GenCodeChecksum:ea2c719e3d50906c6e8695743b39f3d1)
  */
 
 /**
index 4b4925ef6d3223f55f8e3117ba6b322da404d5a0..8c9421d887aea0d850b23bd9489a63ee6326787a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:717006044703500afc7d4f45f63194df)
+ * (GenCodeChecksum:d8e02b922579edb2fc29f4717ba25699)
  */
 
 /**
index e496cad7cd4d9bd5199db35f9e2cd77d72ac207c..0a080da4b5198dd5f506c73d660c38f99ee2e8a6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/EntityBatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61cb70a15ffc587cc8476204cb16353f)
+ * (GenCodeChecksum:9d04febc575fa821cc186aecfbce8965)
  */
 
 /**
index 69092b2960046145802a5b74e123713de4041b8f..5e2534cb4e798d54c085edd9963cc155fc6b461c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Campaign.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4de7a73b3f3921098ac11b6d5acee061)
+ * (GenCodeChecksum:3b1b6ca6e815c02f3db8ccfe2a2ebb49)
  */
 
 /**
@@ -31,6 +31,13 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-bullhorn';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'title';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index a04ca5e611b94f6945b8fc6dbf4fc748220bc91d..a448bd16fb0800e7edf0dcafd4bcf5262477cabe 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9e8df6e6e1df93fb351b51bcda21c176)
+ * (GenCodeChecksum:88f73bc59595d75977b66fe76466a22c)
  */
 
 /**
index 479411f1bec1579d3ee7447e495541af90936dda..aa303547eef399a0bdccff826d5718722ed57130 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Survey.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b324203328e0c8d3dc10a4346a4db6f3)
+ * (GenCodeChecksum:03edb270b63048ec3aa9f36667548961)
  */
 
 /**
@@ -31,6 +31,13 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-clipboard';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'title';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index aa52e8d4547a0f8220a942b86e652638aff4a5df..483f25ac88a35935d7dbf59a81ee2bcd91434c8a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/Case.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8b354d7c2a0e40d82d27cbfd08776c15)
+ * (GenCodeChecksum:25b62fb26ceaecec52854fad5c2ef1f5)
  */
 
 /**
@@ -31,6 +31,13 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-folder-open';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'subject';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 89baec8d6463bd96f787e888abcfcd2702beccc0..96baecd3fb9f407b29aa303852452c565dd7aa6a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseActivity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5fc2509491a88a1bd2d8ce808f99a00e)
+ * (GenCodeChecksum:86671184c99ebfb57f4eb57c2f07b81b)
  */
 
 /**
index 24d41dc53e6a1da2aaf2c0bb081e9fb54e9104ec..7adb2d563ec78ec2fbfe250a8572d4fec2068284 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8ccb7c478dfa4eb1b3b022eeabc71b79)
+ * (GenCodeChecksum:183cc7024ea45a45b22d912a813ad571)
  */
 
 /**
index 4dc5e69aae40a9f837b67530bc28425f271c77d7..299d708a7ee25b6a8a4073d048300d19b545f5ed 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9151b8db1ff873f31d574b5cdec128ac)
+ * (GenCodeChecksum:6a52ae7afff416692c421e61c34645d6)
  */
 
 /**
index ce7d7b95767129515bff2c68c5263ef5d3b63cc6..c298e5f8cac0eeb3e3e41059e4df166657a149a1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:26fea9c61af7afdc2f3401213e0eab2b)
+ * (GenCodeChecksum:0344ff6318aa46a5eb71653f0af1b03a)
  */
 
 /**
index b1661fd458e2848aa4a52816bf99644dd181e5b2..bf067a163fbadfeab29fdb5e673549b752b36764 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c8000203c94da02a4b215ad1a8f7ed89)
+ * (GenCodeChecksum:e34bde9c7a6fcbfdc33cd9cbc305f1fb)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-address-book-o';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'display_name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 85184131fda0ff85682b2808371ef2068e39e1eb..a6fe11a8ebc54890ed6a1aa433f41161d2e51d6b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dfe2f3758a8cf1ad9bd23dfb9e2de671)
+ * (GenCodeChecksum:7b959770a932c13bc00ff85cbecc045e)
  */
 
 /**
index 6cc3cc53410dd732e3e53dc426c8d11a9f467f2b..7ff59448992547694bdb80d2ae76fc214fb9b25a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d65c9f2feca6cd296a047c2f4e2a862c)
+ * (GenCodeChecksum:583e1de6afb140898039f277bd3475be)
  */
 
 /**
index 417c467eb02194cb9824dbaf4d0b930bcfda51a2..bdb88dc88cef96d3103598a3e47c6ffc97fa63c2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Group.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92977cbc500e10cef9399e66c0e63597)
+ * (GenCodeChecksum:ff18afbee9efca3c4e91c5f67fb10622)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-users';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'title';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 5f6dde1bde790cf216a3c878157f2b4390ba4c96..a721362273682ea5d2bdbaefd7e91ec12fa380c6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5c26ac19a56e589da1399e755469229b)
+ * (GenCodeChecksum:56b483aa4bf347ec6193ad05c1ab3d0a)
  */
 
 /**
index f8314a24f4f09cd114c42d8e1217de4d9aa5796b..92067ada626201ec7b2e874aae7ace7163367720 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:db2873674d73776ad753a88082ea072a)
+ * (GenCodeChecksum:5178c3ecf2bb087a51fc88c339ac9172)
  */
 
 /**
index d61c74bc684fae59baa11dc6147295eb9c92f5e7..c4be7696c30e27b8aa17926909f2551f0c1e14a1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupNesting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0e7931bbaab17bdf66a41f8b912f92f6)
+ * (GenCodeChecksum:fcc4ba34c2f709a89170d80de223c53d)
  */
 
 /**
index 2461b6cb60e7f4e12d7f355bf699feb2eff3aac2..dc4a43cce759e5193d3cc8e65dda29fa7ef96a70 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a16da367f856704d5432044055ed5d16)
+ * (GenCodeChecksum:10c5435437b8d3b3cbbca748fc008edd)
  */
 
 /**
index 6312c40554160d383a87e937feb8dd47aa623809..549a6af751de0f9d9d37b36bd08e1de7c2601cb0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Relationship.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5c1cfe38206fb7c465befe517bf6f23d)
+ * (GenCodeChecksum:e1fb735aa0cc3878713b6a3c2ca9c428)
  */
 
 /**
index c888435bfd5dd9094e08697b548f44e893473d38..bd408452256f83f60f1c25dc414b1f6adac32cf0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ec899f1ccb7f617701d7108dc4282691)
+ * (GenCodeChecksum:b35c483041c2cf38afed94446977fa1e)
  */
 
 /**
index 14df1f92ebb4629eaf109c6b0ff8274fb91f560d..63b6de661280304466dffc83e056d682179d558d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a3e3c18c34421b3dbcffb17bd313aa17)
+ * (GenCodeChecksum:baf94ca6a0ab322520a4ef80dc466b3a)
  */
 
 /**
index 1f81f53c8b1b1dda15593a21f2f5fe290797b9d3..c6f4dac629859693c1165be00a0b83cb8380bcec 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:73251f9c4af0127e2e9fc2770f21869d)
+ * (GenCodeChecksum:60133924e9299405ccd3ebf987663476)
  */
 
 /**
index a8e7de48a6a60bdac61c34a1f4877e4b37f2055e..b6f1f8c5a813c189650519ba72da5c714066b84b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3557b2bfd9b5364ea356c17a7237fd5e)
+ * (GenCodeChecksum:a610d2218f91399a58b1fb8e4f90441d)
  */
 
 /**
index b47d34d2e1b05a92d6a2dd8c7c376c295df77ec1..e9936e8cf2eb5b23dcca25ab20177a30d64d8c2e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a24c14ae34bb8c68b8f0348b946c18b9)
+ * (GenCodeChecksum:11b9f8bc6198e4338be2406de58b6723)
  */
 
 /**
index 75a82ba3f49ead52496982e2d734cca28099299f..e38ebbf9fe1faf59bc7b4fdd5ff2a03a3357df8d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1fc0665cc8320aec4576a39e1491d57a)
+ * (GenCodeChecksum:958ef76562a951e9f80b8e6f16afd6ee)
  */
 
 /**
@@ -24,6 +24,13 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_contribution_page';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'title';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index ef635d760fed3e1fd0f8a5687678b7ccaf8b56b8..0c9eb3373b9bca781773eae9aee3546f09dc50b5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f1269124a9b0ee2a9482aea7d0ee221c)
+ * (GenCodeChecksum:0e560708ae82cbbea43d50872921f623)
  */
 
 /**
index 55e632c1a94cd0bd06fdd956636279d2608a66b4..9bed9fd903ad8e0e2552c37b7d2e65fcbb3dcffb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c080fbdfdb5b780a36f5a48e5a88eaae)
+ * (GenCodeChecksum:5e2fa2241a3f8c014352d897be31fad1)
  */
 
 /**
index ce611201dc5f26887b40fccf99b024d0cd912ee6..1bdde526c9ddb005a665492d41f6eb7960bfedef 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fcbdcb4461e427de7ecb5f1759538907)
+ * (GenCodeChecksum:13ea3cb5cb23675acf2be4667deb1e45)
  */
 
 /**
index 0564f5c13751247dac1de0f86e011debf437f2ce..1b698b86b46666f66bd68d4ce399a887a42c62b7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Premium.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:44100b596ee94445f953e783f37cdfba)
+ * (GenCodeChecksum:1b739de8bbefea885f3835009c2346a9)
  */
 
 /**
index d5980d098b34330c029a20b7a71f225e3138a1fb..e945d5879784cc1345fbf41442ef56656118bb54 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:10a4fa226e76cf7278ae9e4790c237aa)
+ * (GenCodeChecksum:e0f6b18be4eda69e76c5e2242893e133)
  */
 
 /**
index 4373dbe3d7635899f01fb4df3f23d54d0c2c7cf2..ae96a78011f5db433a56948a2cfd411e7b7a9dd0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:45a3c80396259fbc6da8cbecc0ba652d)
+ * (GenCodeChecksum:e7074b0ae199fa07a18e42960549beb3)
  */
 
 /**
@@ -24,6 +24,13 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_product';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index d852ced939a01f5578f07264ab04d4e2a188bcc0..295d32c8bcf4e0706eb75d0aec0cd34b5544f587 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Widget.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b98e1da73e0723e617a9dae64a8e8dad)
+ * (GenCodeChecksum:9331ebf30ff0efe3e853ecab8c27efb2)
  */
 
 /**
index 269cb57813aef9b2b0ae09fd4648c997ed26c75f..015b56560c42a64aee80d4ba20de0a8ffdd9d01b 100644 (file)
@@ -215,6 +215,7 @@ class CRM_Core_CodeGen_Specification {
       'title' => $tableXML->title ?? $titleFromClass,
       'titlePlural' => $tableXML->titlePlural ?? CRM_Utils_String::pluralize($tableXML->title ?? $titleFromClass),
       'icon' => $tableXML->icon ?? NULL,
+      'labelField' => $tableXML->labelField ?? NULL,
       'add' => $tableXML->add ?? NULL,
       'component' => $tableXML->component ?? NULL,
       'paths' => (array) ($tableXML->paths ?? []),
index 4fb383276f0d7430a9da388f6edf4d5be3e43b9b..81b02ceefbcf01bda30aa5d4c47428a4c8145805 100644 (file)
@@ -52,6 +52,13 @@ class CRM_Core_DAO extends DB_DataObject {
    */
   public static $_icon = NULL;
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = NULL;
+
   /**
    * @var array
    * @deprecated
index 96d4bfa19a76dce0218a36591dfbb874ec017a01..91f36de89b30737a898aca08b26d0e302ece7e6a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5e54867f6cec000d7f219c82a1c081d3)
+ * (GenCodeChecksum:4127ee42bdd435f58118662f65c4fe84)
  */
 
 /**
index 2bdd4fa93d5c72152271f27c1749c258418273ef..a2b96a8e0438705d4a51540c2655319958880692 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionMapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:786c067af45c5d1979519a8326665453)
+ * (GenCodeChecksum:c52c12ce8a0134ab553e2cbe7a7ad7f7)
  */
 
 /**
index fdb2ebb466595e26f48d93d375a5de1c6cd168cc..f7b4141748c437f95b7169587c752016640eef44 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionSchedule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:df905816967f9d1ec039390d6e639672)
+ * (GenCodeChecksum:942d4be76392811af80f2ba8c92941e6)
  */
 
 /**
index 8b00d71af76226e899a8cffb51d5ac64b6c7b9e0..0ff76ccd8f84ea6434ad59c802330f98e284d6b7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:44eb25ddfd0e9d87e213e2f80f80233d)
+ * (GenCodeChecksum:9fc4f7e6d90b100aec8e543d18b3064c)
  */
 
 /**
index 374ca1449bc4a7e553e1b98039a6d36e07407c18..45c3c20c041e543ca69504b12d1c66879eeb08c1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/AddressFormat.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:47ce2c9d196b195fda0a60eaac02f5d1)
+ * (GenCodeChecksum:4920351f2ab4a3e6d7a51a6831906782)
  */
 
 /**
index beafabc7c0650d1aa317e80442b48cdc5761f7b3..4d530b60441d6f362490749f2a2d95fa79841249 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Cache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6b4eec63c83fffde053a8259221d0bfe)
+ * (GenCodeChecksum:4c6850e83ad62f89ca0768f5f1f70beb)
  */
 
 /**
index 0c9216f26d73267723b1998fd7d701450d88a729..525e5aaae4a0221fc0152a0f27f16a1358f3d220 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Component.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b686ef7dde6f66dfe5eb708e667dcc7)
+ * (GenCodeChecksum:15d3ddeacb4afb61c83b6b89678d1023)
  */
 
 /**
index f382ac3ea1050701d994d07b22d8b0e3be4970ce..238ae8ea208cac86cc6fc87b926ef22e1e01335f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a2520444699acbd151d715ccadc6e2b7)
+ * (GenCodeChecksum:e76c4050e0ec0ae3263c542574214f2d)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_country';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 3bfb53cd73eec6995949ab66d4e88f33c5ad547b..dc9aebe2806dca9b80591d246e0c685b43565dac 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5626c0a01aa4e5da8dedc064ce3a9dff)
+ * (GenCodeChecksum:483d29dbf44ee6e0805f062f90a1d4e9)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_county';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index e02729998acf28d12463d2e71d7f68091a1d7e7f..92d512af44728736a4e4615473b6a40d8360c78d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58c67e6b3ec035823fb7553abb962ab9)
+ * (GenCodeChecksum:3e3cc05b51da1e0e51ac5dcbbedde392)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_custom_field';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'label';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 58742e8fd47e39c20b8337f670d32b68adce97dd..b96a2b39ab8e80b44bbe476e9db38c79f694a862 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:807040c22af3159cb198becb183444bc)
+ * (GenCodeChecksum:325f7ef398cd08e7576f634d9923f129)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_custom_group';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'title';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 2e31d42d4d01468d90111eea796b0d173ca3a996..c249812b33f3d2faacd8337b2909d144afd06b29 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:96e683f4bec8fff387930109c2f5ea41)
+ * (GenCodeChecksum:da79552cec455b6d3347a9eab6fbd5ba)
  */
 
 /**
index 05377bc2bff0a0caea292410eae804ef1038e3b5..f38bfd5f0882167378b9a643cf231f0639117f8e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ccb85ff70ce8a536ac4a941628455d8d)
+ * (GenCodeChecksum:21fd136286714890f83997ed552ff7a9)
  */
 
 /**
index f178a01687faef7809da15f9db98232bc64d282e..ca1676aabc0d6c41be246b4c4e3bc7b44ceb1430 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Domain.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6a8de20676ad3eeaca16ea3059958a4e)
+ * (GenCodeChecksum:e0f95fc75ca145449570ee01ad603db6)
  */
 
 /**
index 75ef40b6bab96f68172bf943c397b4840c1e8976..0ce302194da8cbc73e478fe80da1b40758fe4095 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:032cf9c0a45f5d15baaf7a9087741569)
+ * (GenCodeChecksum:3347cb591dc1868f493d8aa7bd7ab546)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-envelope-o';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'email';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 22279799284d89d2329f633789b9f3b054233445..a82b9dcb89e6061fc5e04f88508e7ae189f6f342 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityFile.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8d4673d56dc80b50b0acdd5186a19068)
+ * (GenCodeChecksum:f69f69d9bdd1339e4128c289e4c66bac)
  */
 
 /**
index 5a4e3588565b7e0023da9e74f39a7d8ffc1713b7..b063c0138ed901cc73f15d509090cc91bc3da06d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityTag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f02ad487f101cb549da790954fbaa7a4)
+ * (GenCodeChecksum:87cdf7b752999de6a992ee32e0118d9e)
  */
 
 /**
index 9b2ca48c88f71477893ae9d4f731dee9d0f2a897..8f866056665a296999d2d2ee952e4d4bfe5f0f73 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Extension.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c85a50145f3c9647e6fb46328034090e)
+ * (GenCodeChecksum:5dd2ae0de7d091c437acac61990bd25a)
  */
 
 /**
index 8598cfc242fde782f7d15546e0b8b4efb2c59fb0..eaf90e006ed7698647c5a6c4d7c8d4dabeb9393d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/File.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d47b8b85ee8790c3da0216b40c2dc657)
+ * (GenCodeChecksum:48da22a0ac1cbc4061d3f47916c4828b)
  */
 
 /**
index b1d6e63df19c1f5ea7acd074f2b980600bef392f..b1c6bb829455747af49dda8bddc1c0f173419b32 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/IM.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d44807afb48eb3aa89bdae6db574f89e)
+ * (GenCodeChecksum:2e9345b51bb73b147d2776508b2592c9)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-comments-o';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index c24f6dcad1e75d3a32ecb6235e32636337e6090d..76ee644c964b7b0371dcbf8425d13311ee51133c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:434388c3fa5b5f67932dd71f5d64a031)
+ * (GenCodeChecksum:8e610840383d1d67376a442507b7de78)
  */
 
 /**
index 314634b30082f69cdb6e9d86345d1003f705f3b0..591bbbf70e509af6a5f96831184c3f3eafe2c992 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:03cf51e361b98d8ed31dcbd86eda2722)
+ * (GenCodeChecksum:030669116dbbcb2ac95ace538ccef9e2)
  */
 
 /**
index 9e43a2a2417916a6cc70790ac416253c0c7097d1..912488b5b132569f62e189e690f087ee59b61e8a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:86653150176ca5b8f4bb80b8dc581010)
+ * (GenCodeChecksum:077ee3453e455a1e09cbe1b030756b9a)
  */
 
 /**
index 561ea83175c4ea5446a072b4e560dc6dbfac2dd4..863a809bd7dd23851bf1f10a5c67f59274217821 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocationType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0aac55ebb9932e5ab19fcf2e6eca7dd0)
+ * (GenCodeChecksum:0327a8f5a6113259101b762b138471ca)
  */
 
 /**
index c648403e39ae4bc9a8f579a46152a983065f79d9..748e1caa214970be27d4ace4e9d0baf573b5cc55 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Log.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:816b07245cf23f330f371b32bc278d17)
+ * (GenCodeChecksum:7f8848b98de2f566ee305bc883450484)
  */
 
 /**
index fd35409ecdc73fbe6c16a606d70793cf23cc7410..31ca9658a87a89ec6773ef5f3fd03d9b4d10289c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MailSettings.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a362c7cd24732b55a96cd4e526d29102)
+ * (GenCodeChecksum:a16e81997bf4b6cb25dfafd32c10a49a)
  */
 
 /**
index 55aae70513fae1266c01143ef4fc6b22d1756e16..c915357686839b48a147e3e897569da965a96167 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Managed.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a6c528f54d10bee8fbc3b12c1bafd44c)
+ * (GenCodeChecksum:d9e22fa6b1d9a18b552e5cfba7d1be90)
  */
 
 /**
index caf70fe97d4087f79072e7a68b900b5efdc286ce..954ce5915c106f94bf0ad3311c6d5eded336d0d1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Mapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:50a6b7f051df6e61bf9e0b9b930dc861)
+ * (GenCodeChecksum:c7b4a3dcfbac7edda9d0573807cab642)
  */
 
 /**
index d32d628cad213ae502a8ebf00ff6a7bb48cf6624..095371c4b3fd30153d9b0056837a775fbd8ee6da 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b61d71dabcb618c14e3e8d7985b324de)
+ * (GenCodeChecksum:3712a8e412a011a13e2898d0f151b264)
  */
 
 /**
index abc4794b7d5ce89727188ec0a5f875153b17d6f9..d926508b93ee360549d2e8898e75d8a87018b61c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:57fa30940edf98c8e957dd1f33df3f51)
+ * (GenCodeChecksum:6391b63b227b5de3c68bbf951b2e3add)
  */
 
 /**
index b374ba633ee57fb8c91b3fb76714fd3ffdb085f1..b4b6f2fd03ecde1b6ea09ec9e66009dee67c5a52 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8bdd2857d4229fc76ced7a2153574864)
+ * (GenCodeChecksum:d8ec6425eecc359e3b504dffcdd71456)
  */
 
 /**
index a01fe2ad647cdb335ba8398700304b7361921b48..b3e2f9737a7f6861389e4b8980d2d2244363b464 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Navigation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ca49dd9232dd72c6e1236488837a30cb)
+ * (GenCodeChecksum:2d490646a2eb99c3f4cafa111c1ec43b)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_navigation';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'label';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 0cac3ede16911d192aa84be6ceb5055532b236ef..b243cde7ab333484410a7d8b71ce2a2082d7655b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Note.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b623a27bc1f57db04764a14ce6a3f113)
+ * (GenCodeChecksum:9e73096c6f34086fd42e8098649c7abc)
  */
 
 /**
index d699f9cab4e9bada47de841b33d5a5f8afb80708..ff4b9c87b61bdfad37650bf2a4c7b17dd5ce503d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:47984d6d7242a00042bf664e5fff0600)
+ * (GenCodeChecksum:cb1ead5da887d91854185af42e87d223)
  */
 
 /**
index 6ed7e5b6b714e10fbe04afc40b337cc1935bb557..cbc52386f14ea3bde44d55fcca6f0bda025d7d7f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0892af5a47aecaeaa04a82c6f9875348)
+ * (GenCodeChecksum:3d9ef1e2ede76e804564e12cb8c2e70e)
  */
 
 /**
index 6d517cba38cd99e1aee3c59bf5abc4e0c53b2fa1..762f8338e240fe723b29ac451edfa0d0012a0f04 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:613a9cc4fed472d40f1d49cf456a9711)
+ * (GenCodeChecksum:976770c043870752548e424a09ee7190)
  */
 
 /**
index 7c6afe22e321eb0d6a4cb856862b15e0b728480a..b181d282104b9cfdea85c071e122ed97b19a8ec7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:600322e85619a002b34c9faf0f02e5c8)
+ * (GenCodeChecksum:751f23f392f8fe789e580096ae7522b7)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-phone';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'phone';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index cafec81099b62d9046a0ad62836095187734c8a4..0d24df1506ea5aaf2aa5d99e0dae5592d28739ab 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a0d91310a76fe98662806ef3104d8f30)
+ * (GenCodeChecksum:65c1286e931e9eb728cc0603eb36f5f0)
  */
 
 /**
index a1ff559fd5a44eff067ec0b48ce419a5a3bfc25a..20321b93c162d5fae3a5efeae4c88428bc6af29c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrevNextCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:eb88786d7c15dbc509450465b4fdd6a2)
+ * (GenCodeChecksum:b2e4e9de3ff3cf7e4cd2cc163a330186)
  */
 
 /**
index 516171a9696a5d202a46c16602c4f39e336c0dd0..696b286e3aa42078896c88dbe463bd27c3387885 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrintLabel.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:39e91965d2ee2599f3eae8ab3b4cc7f8)
+ * (GenCodeChecksum:47b9dfd5441035d4594e8e9fa56147c0)
  */
 
 /**
index 994edba70e35b13dabf2505dedf42bb6030244be..6c0c82624aaebf44048522c304a74ca281dd9c8d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/RecurringEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9cb2098de9f52e400a1083f996431878)
+ * (GenCodeChecksum:e220816a83c51a7e8045aae07d573823)
  */
 
 /**
index 6945563cfdd020fb0942d147eaaac157388efe78..c6e97170f69f9a7bdbf46e036f66368d635ae599 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Setting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2eb3a69876a76a1aca598e6bfb7031a4)
+ * (GenCodeChecksum:5322f74fd868a3e1116a2aec225c5d5d)
  */
 
 /**
index 777af4481b07d5e663cd6ea5640fa9c048144aa9..5647e46ae057c0a3ed88c6d41fb92e76e2556d91 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StateProvince.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92fa37e3fe2a55ec5b0efc3fc220ac4f)
+ * (GenCodeChecksum:780de8ad067e9c67146dc908127aa5f2)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_state_province';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index da0a13644eceb2fed8807a631541ca1ffa83dc77..4238fac6b29e1ede9492b099f785cbd3c8ff50bf 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb2fbd63b6758475161446097d35804c)
+ * (GenCodeChecksum:c7707a17613329c62550361da0678903)
  */
 
 /**
index c92cbcea6bdc9d7d534429b400849f745aac37d1..0ac0aabc33e98e695af569a637606bfc95d66c0f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e302c6097bd6aff575d7067c771eaef0)
+ * (GenCodeChecksum:cfa50c5985279e7135c046e0aeccb662)
  */
 
 /**
index c76428bc8e5bf2d62add2c4b815a242209db8733..050ac61d1d70263abd5bb0da6ac19e3d2ccd4b8d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1de963194e3e392448445fac3eac82c8)
+ * (GenCodeChecksum:21c288ada959d2bac5822591622e838f)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-tag';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index bc16f905b94c5fa9f0396ddd1b8c20a4005cfc82..f2648404dcdac9da5f5a0ef92a72e11606d72d1b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Timezone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1a876a8f56414a6d8094669bb3ce16f8)
+ * (GenCodeChecksum:4f08daa9358efcad25c3405495c619f7)
  */
 
 /**
index d95e7cbd62b969b4e0488a6ca92f26d85df59a9a..0c51d6958f66a24323fa07f94397cebf3197be3e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1c306561fedcaf68fb7d1c78756edf2e)
+ * (GenCodeChecksum:957f3b024ca6a7560b418aee01389aec)
  */
 
 /**
index 06ef6672c1185802cc94d01b1292b530283a1d7e..df4423c6951f63bd2cb748e1bc0dc3594e595e38 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:94b47a495b66ddc579bd2c3559e8af7d)
+ * (GenCodeChecksum:87b09ca770a4ef4a9eeec0403a7d774f)
  */
 
 /**
index 6fdd9f5096860fcc96749c0dbeedfeb7f9259b3c..e6b35adc5bc70e01c04fe4a798d961d4fbcfbdb1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFJoin.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e5418263459cb127f21a1eafeba89e4c)
+ * (GenCodeChecksum:c0ed1de85eee511aab82c44d39549aa4)
  */
 
 /**
index 3a72a545ef99229ebc3cb1f813d10a8cb32c66d5..ee2b034c13a65fd067c80b7ea9d56a50aa818e1f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFMatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b10c23e083b100bb39e93f9fd8b1cf86)
+ * (GenCodeChecksum:c9c6016d9accdae2e80e856574c0fd5a)
  */
 
 /**
index 50ffba632eb40da5ac4a15108bf4f1d3e93df434..6c12cf28798fe4f212236e1c492e3b6a27f210a7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f5b6bc86206d0baccab8691ee1ae634e)
+ * (GenCodeChecksum:9176466bab7c06d5ace2080bfcfe51d6)
  */
 
 /**
@@ -30,6 +30,13 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-desktop';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'url';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 9e5d54137b8ae4b96973bef5d0a999c08d88f0a9..f8cbbab1e3149733569933d7f54d8f624091749b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/WordReplacement.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:765a5a578d09ff1a4662c313438f7995)
+ * (GenCodeChecksum:fb2a7a67345007ac9a5c10109579bdd1)
  */
 
 /**
index 9d4615c1b8fe27f6bba92db5582558a7f2a81942..618785cebc450a9b1a384becee901c84c9cac775 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Worldregion.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc0230cdd003ef494022c8d78486656e)
+ * (GenCodeChecksum:2f91a9ed30715b6c08bd8913d6a8fe88)
  */
 
 /**
index 08b20f3375753378922464d9d49aa106d8d72867..5956d23807a2a8c01b2ee68082630f8c4c2c650c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Cxn/Cxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4c6be1bafb940a9e87e5952364b00fb1)
+ * (GenCodeChecksum:5cf7a8ccd1c1453d25dce3fef34f1dbb)
  */
 
 /**
index b5d6939707c44fb31c9dc7ce494e3f463f61cea2..c650f686690a65291eda32e36c3881786e8745c3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Exception.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:10f530a37c036ee1bd91295ed84e0c6d)
+ * (GenCodeChecksum:6d9c7d81ac4475428d43659344ae39b8)
  */
 
 /**
index 459714a31af085c225c97e14a64daec0c759b816..7d95879967d0fb3ed2ce0e024a40170de52882cc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Rule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7771f7be0df7716eb9372415720e1622)
+ * (GenCodeChecksum:682c730aac1fbf17f0cc2048e4b328f7)
  */
 
 /**
index f8636db8798079ee3b681773983506753544c86e..d7c16a171a82b4da1ea4db8ffff34a8f682866e0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/RuleGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:521bf67a7ab4ab491ff90780009e759f)
+ * (GenCodeChecksum:f7430387dfcfaacfd48a49d8d39d3c8b)
  */
 
 /**
index 6125df0f7f57fc8759bc62db9b8803af00a691cc..bf1a2b6073074664c041cfc5d0c402fe7a094c82 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/Cart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3bc270f4bdd9b9a8744b2391bcba154)
+ * (GenCodeChecksum:b762caa85205605d2c3c052da51d3448)
  */
 
 /**
index aad296ee96252b22af3ec398be7558245f19553d..865af15401af2d3bc1e964e7141b2dae638b0313 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f08a1e139f2486ec664ccad97f121e7e)
+ * (GenCodeChecksum:edd6f68d78455072c15bcb051abc98f9)
  */
 
 /**
index 7cd25de01e75920b9ac0bdcc85726ba649fd3aba..ea4305c1da9e8dc10865f74a58e4b236e3c9048a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Event.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b24aa9a8e4e0f838a71effac403eeeb7)
+ * (GenCodeChecksum:8747fe6387fcdec07b14c8a72e35868b)
  */
 
 /**
@@ -31,6 +31,13 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
    */
   public static $_icon = 'fa-calendar';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'title';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index c883a9f54f02a99cd92a2a37d76043f4a076a3ff..34537d28fa41cf342ff12cf5eea586c52ff1e359 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:25a479f6858f45acff4110a2de47bbae)
+ * (GenCodeChecksum:a746f8f8a28c6f945abbba148794d2c2)
  */
 
 /**
index 99f836c3dfebca47f0e65cf781651e2ee0487190..59a5b1ba3160a56fdbbfc1bbf3c398d08c36db75 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:46b1d29e4240673e67e23252fd2a1e1b)
+ * (GenCodeChecksum:aa8546c94f2f8c9fc72109f58b80c2bc)
  */
 
 /**
index 028a28f1681e4b461494b122b25e70757b8d12a6..10bdbf4ade461745f2278250f5d269def5259ddf 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:05084131b15d6dd7f29ad8d62df1bb82)
+ * (GenCodeChecksum:7390922bd58d23808a484981bd822aed)
  */
 
 /**
index c7fbee1473cde9d071409b4c6e4c1dd486a9bbd9..fef3fec8b2cd6993690cb01a73b3c71d917f48ea 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/Currency.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dfa755f71113ba5258a488c28b9a1273)
+ * (GenCodeChecksum:a9172e230dd513e6a06f5fec2e0ddb90)
  */
 
 /**
index 9dafc39a7188b7cd0aa75d41023f9e87b1911c2d..650237fa28b109640c977946eb6291c28335af0e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4fc4867bfb36e44a31368515e6b9aad3)
+ * (GenCodeChecksum:e7fe0d109914d345588895ccf1838406)
  */
 
 /**
index 8d5fd5c75eaf00cb50f5df4405d95b3e4ce79a0e..980cb84282b298dbdb0759e06d215cbe9b405bae 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4f05ac73d1ac6b79d0c9fade6ec4adbd)
+ * (GenCodeChecksum:2912f015bf4110e65ee786c0ae45656c)
  */
 
 /**
index 9158cf3d672346a9e2540d02c8595357edd5a9d8..41c4eb8c01c30b0fc5703bc0d154515ab1a1ec00 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ecd889135e73d124a753ac96a7dd05bc)
+ * (GenCodeChecksum:10364ea2fe3f28106488849b2c495f0b)
  */
 
 /**
index 0db8ea56c56d7c18f7596eda6f86530ff3d2a0fa..d9844515d7cc4ca2a4d595ed1051f40d541f19ba 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3bc1270d0d0769da2bd49b49585ac61)
+ * (GenCodeChecksum:d8fb58f8b09009330bcb325ebfea20e0)
  */
 
 /**
index 5bd0cb5b1b935b5a8bf3f9e401a85da4bb115bf2..77156b1951ebad772db15d2456545acabe00394f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fc046a70dcf53925768a8b28647dd6dc)
+ * (GenCodeChecksum:051ade878e9e6696ed4e2615e7362ae4)
  */
 
 /**
index 2a3d44bba6cd6e34991ac8540f6489ca9fb89e51..349daa199dc93d47a50c5bf0f25615789e2d152a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ddbf4faec2a77ef3fa7b9d126c9d0443)
+ * (GenCodeChecksum:870f3b71b12b41ed1e0e59e1ff57b2db)
  */
 
 /**
@@ -24,6 +24,13 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_financial_type';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 60158912954b1003d375b4f7e977ba31116aec6d..73c0b2b9287654984e7e72b40f7449f2af50b362 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ce0ba2d5ffb2cc00c72c3c300db8eadf)
+ * (GenCodeChecksum:8c42ca973c4031a67a5052682c3d73e7)
  */
 
 /**
index bdb4c8e09432ae834f8589b49859ce1403e5a635..85388fd7b0eba82c2d9b30160476e979804b3b00 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:15dff8fa9ba4df684c09d6fb8c9f0430)
+ * (GenCodeChecksum:f9fcb11332c6ea71f0154640b3c68fd0)
  */
 
 /**
index c983f9afd618f18e15c2b955f47587e621bca400..c8daffcebc9e6314b6ead7a3f83cc08931381d08 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentToken.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8ceea9ee5d164fb8b69a178117a7ebb8)
+ * (GenCodeChecksum:86a461eda642a7a84d3a78eb9f23691d)
  */
 
 /**
index 61d6d984838a32c9dac7ebc32cedca1c66284bad..ce763be30fb0d8af6983e21f099ac671d0e979f4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3d5fa2c27a1430537988ce50ac455566)
+ * (GenCodeChecksum:8c8c8cacf834ac9e53d14f781a844d50)
  */
 
 /**
index b61479b16b27ee334a454ba92ec75e6de838f188..763e987a26e047a33fd84144e394a8cfd4a00c1d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4ab9a294ffb22e1a8ff42103bc6f9bed)
+ * (GenCodeChecksum:02b3cf969c3c6b7fb7960ffca2f57eb7)
  */
 
 /**
index ad0248d4eef8d36fecd42a5e529c7af189a3ca2e..ff07795a6c026d6c81bd1ef88a8297cac97811ac 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BouncePattern.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b6a045ddc0126618d3ee8c08a1c495b0)
+ * (GenCodeChecksum:b80f792e12420d9022ce8fa209051fc4)
  */
 
 /**
index d4fcce67622df910fc96d0d6be1b3af359d4a2ad..a818831e74cf83f07fcc26bcd56486253b0cf548 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BounceType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fda474bf7647672115d82925ba255f6d)
+ * (GenCodeChecksum:d85cecf66659cee08c967e8671ba7b6d)
  */
 
 /**
index 3fd0735bffa8a859dd81c415155eeaa6e8a2e428..0f754955da189ebd77bf089cf9f863883f046b14 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Mailing.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e64cedbbdd4a36410257c174d92faae4)
+ * (GenCodeChecksum:e2de6d8875a7f838b190810bcec4e27e)
  */
 
 /**
index c81af427b2d3a45f250ce341c08cffea8af02489..9b4572a42fee70e4eeaeb9bbb4f1ac14b55ca509 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:175573c32fef00a9a00350db020b1696)
+ * (GenCodeChecksum:1308702399d924188a14948adb1a8a3f)
  */
 
 /**
index 1633191ed199a5d15cfcfec29843f6ddf82b118d..a226619b4dc20b494135ec5383868207e4f81817 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c7300c29b273a7e479cd5b77bc951be8)
+ * (GenCodeChecksum:c0dc3b9eb926996a014984996efa7da3)
  */
 
 /**
index 031e68b946418c130cd48a2e5fd23f6c2504f712..22c7bf605de3d0f9c5ce77a58c1654079702b1ad 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fca3e29764697a459aa7d5000fec50b5)
+ * (GenCodeChecksum:88cec18ec4ae0f83580267d64c0ddbd3)
  */
 
 /**
index 0fd88a85e2f975d081e9c6a53e1d9f14637535cc..0018b8c066a97babe546c3f0c242730966f4ab07 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1b9f973abaa13e77251c3082a4fa7363)
+ * (GenCodeChecksum:16d3f472e9379145910fa49ef5d2576a)
  */
 
 /**
index 8d1b9d4eacbb6238a26c306ac2eecee595067568..ecbfe5d62153414cbd2c9df57ce8e247bd324ac7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Recipients.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fc6a72dcf5e8f2519fc503568b048b74)
+ * (GenCodeChecksum:7428211457ae09e5130c0cbcd33c30db)
  */
 
 /**
index 35bf153891dfc0e318e3b3cbdc49f75462d50d8d..2e978a70da14eb9e1d1462130850f60d553dce0e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Spool.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:20306dd6c4ce1990d47a78f8cd42606a)
+ * (GenCodeChecksum:c682e199c6d4026f4b2e00c184d066ae)
  */
 
 /**
index dc6f6cc5923e3d88a5b2cda1009e563d0180cabe..5fce2651ea43f97f58c00c7018c70e05ae0df7b0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/TrackableURL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a3235a7f9b19cd9594dab7408265f615)
+ * (GenCodeChecksum:c783ac33364c2caa8e884035cf529358)
  */
 
 /**
index da494bb5c39610526db22e189114312cdc6077fc..f4529f95ac4a070f87965db33278701c77f0876b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:038d036df266976a9e221e012cbce300)
+ * (GenCodeChecksum:e6864a672a16b91aa1b34bbc3789162f)
  */
 
 /**
index e7e6417e92a8806e6086f5f7a71e5a614bc731ed..bdb0f812ec1f4f0ad35ba144eade8fe6062d8f67 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:caafb56ba924cdafc1046117472abea4)
+ * (GenCodeChecksum:cb8f8feb732892945871909f7ed0455a)
  */
 
 /**
index e7a3b5f31ab66a61f5285edc2d16ed48bcb90df8..2efbb1a06fe1f8ddb1d57ccaf625f8d2bf3b4fa6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:71a76da9eb416abb6fe7452aa240c62e)
+ * (GenCodeChecksum:9f53cffbe35f2c67187ab62cceff6f34)
  */
 
 /**
index 3df2bd70ead9173e34f9d28b104c4b93be444bd6..dc1702c8bda0666865503469338b47277f890cd2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:50c20c848979df5d0c98cdec8a44ad4b)
+ * (GenCodeChecksum:e8063aa60f5e82d20f0832855c44b082)
  */
 
 /**
index b3df0ae76930f91b0551829a14fbdb2cd1ba1d7c..430730bf6fff5b0cd20beab8ada06cbeeed998b4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Opened.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:33fb6a37888415b4e6dc6a159fb6157e)
+ * (GenCodeChecksum:ca8631f091b50e47cb6e40ae7b9ebec5)
  */
 
 /**
index d85953da871d0a4b8f00f0d8044acae986d2ab62..ea55a2f50f41894087f19af124f7f5a4a9a520c2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Queue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:46d2dfb87b5f9e0b0b425b29007b47e4)
+ * (GenCodeChecksum:8ffe8287484833271fa6f028e5231198)
  */
 
 /**
index c6b462e22740cb15f4c32e9ef83ed25b0f88968c..3389b73e04af7b2d2dbb6f3583480db470c5e483 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2efc7b66635682132414c6724344bf55)
+ * (GenCodeChecksum:4ec45110e37edffa52e511607a16fc7c)
  */
 
 /**
index ae51468cefe720a80abd203956d35c3a692a03b7..d2d20ccb4fe87435fe07cb3ad1d83365bc5b3b17 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c1a80e519891849628fc022202ebab69)
+ * (GenCodeChecksum:e327b7f0c61b9955118127b1cc81df13)
  */
 
 /**
index e4e40d6f9530c386df404aaa2dda264dfbc786a0..345a08d959fd19c075c01839bee692815b57897e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b72c3391aec97b4f66c2004364f597b3)
+ * (GenCodeChecksum:4ce8e6bf5b68d2903ade816d40e20513)
  */
 
 /**
index c351b71e570b4a1669e2fd56f76a6d7d72e58c98..04521a53481e2b78f9918fe4935bb11c259e8ecd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:20666a88b096371a3db2f12eb77a1404)
+ * (GenCodeChecksum:8428c65032df6e7e79fd378824b510bd)
  */
 
 /**
index ab9743aca9bd47ddc4ad2de4cae1452354289d8e..3b4cc6356269cf62a48a85eff040f1c9c279d813 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/Membership.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c69464029008f62263d9befb37b79391)
+ * (GenCodeChecksum:497f88dd714287acb6b42017dc0b7cd3)
  */
 
 /**
index eabb31bbfc48a2b4a4b827c1ff5a31a42501dc5d..244cf0f9d2b4b80bc606c2aa2b3eac791f6f747f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5e9363fa5064faee6dc27f96afcb4cf3)
+ * (GenCodeChecksum:687b0ecc1e487ede5c4c5719da6e3909)
  */
 
 /**
index ebb957e58d1f62ed870005db80ed436caf3a1b2d..bb220ae47e5daca8d5ee91c346e99979ede3440c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7374d7db00c9fe6e86a696434b8bba6f)
+ * (GenCodeChecksum:9766c309b84737eab95138742c8437b6)
  */
 
 /**
index 473e59f279625f148c0b03722edf6aabd98b5817..06b6d80a0123b36370c7747164bf1d39ec5e0cbc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:19e551db721c6a286c81456c16568bea)
+ * (GenCodeChecksum:da6d071abd8e0d0353dabb2afc00d2bc)
  */
 
 /**
index 94ec0409d5e3bb0b7f0668383a8504a6848e8155..971d5a7f9a0f016978bb2bfa77d976ff9b5fbc0a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipStatus.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:32d46c01e3eb4143e83820310037df39)
+ * (GenCodeChecksum:5a977831ac9d4940a996e6c2eb8b9c1d)
  */
 
 /**
@@ -24,6 +24,13 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_membership_status';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'label';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 3407bf99779cbd1e61a4720fe5b5df31dae6988b..61717183f0baddc0fecea5b7dea46159a58f5827 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:867428c502b94f8a8ed29082ac7c3845)
+ * (GenCodeChecksum:fc8f5dc27b9a33132464da9c006ec85d)
  */
 
 /**
@@ -24,6 +24,13 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_membership_type';
 
+  /**
+   * Field to show when displaying a record.
+   *
+   * @var string
+   */
+  public static $_labelField = 'name';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
index 44e31fff1e96fccb520eddf019737b1726a426e6..20082ae7a50f51ffc157de28954dad5e758181cd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6799d7afab4c8caeb518d19653090978)
+ * (GenCodeChecksum:133163f158f7a842a37e9dba4da2b648)
  */
 
 /**
index e11b5782ed8844e194aeee33d8d8b36eb9246c90..a5a7a16ffdf8f23047b7086ead2113abcf6dd221 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCPBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e188de537dbafef837dcc55947ee1b4)
+ * (GenCodeChecksum:0faa54e4d68236817b226432e5bd9345)
  */
 
 /**
index cd7952b522e71c70badc862dbf1f4ff224e5620c..c9ff550a9bf2a7dd739ad86801c3834d21c5b61b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6c3c68d4e00946adbfbc368e87d72a36)
+ * (GenCodeChecksum:8a17ba664d9a2c65860be67652def7f5)
  */
 
 /**
index 048230641b853383ccf2fbbf6a503dffa8095aa9..03218aae335f2661760dd824c9f5808d9237d234 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:044b9e8fedad0a0e71621172f92bddfb)
+ * (GenCodeChecksum:47f6d38b1b268722741b09f95a0280c7)
  */
 
 /**
index ffbca53c75981ba116cf7bbdb49e569c346d6242..0d3fdc67634ea3060bff20d329228e1f221cec31 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4daa04efc77569c5e172fb2c92c956b2)
+ * (GenCodeChecksum:8055dbf00528ceb9dc2eaf626f5bfebc)
  */
 
 /**
index 262413aa4d24e861cec83c4840ee5726252457df..16cc02060e8bfb6b3ef10e9e472fe7f790554876 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:eeaf69c8d27acbb7ad4dd4eba0c587d7)
+ * (GenCodeChecksum:352b3e74d3a66e445f53670cecaf6d02)
  */
 
 /**
index ec4c8e9d665f7bf0b79c0636d8e6db6ecbcca146..ecc417bc3aaae7fb670c371660412d85518168ad 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:82c753fc735a0a09af3c426fff7603cf)
+ * (GenCodeChecksum:80c222a0dfea9ae97009c96e010fce90)
  */
 
 /**
index 25791f373cc240bf7deeb088170a6b39b286b187..e030da529c31a21a82340c151a73bc39543c4e99 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d01e238a4afcdf6b79cc2dc59987361d)
+ * (GenCodeChecksum:4556e03b68f88f9fe61520ba3aa88be7)
  */
 
 /**
index 223ff10f4ad2cf8d81211e1dace8abf004df53b1..2a380a54de05a45a37049f2eb0d665c1a5313c97 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9252b0d8247c5419198250cbf0a2a9d4)
+ * (GenCodeChecksum:4fe369dcc2eb277bdbb04d52be2d4a55)
  */
 
 /**
index 9f28417ca179d363b57f62846f90fe79a3f7edee..fdae7c001721287d488e22517e75797898dd9cda 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b85629f3ae24a3f503327a5d60f4f17f)
+ * (GenCodeChecksum:2432785fb15a3b0c707ef841e9a7ceb8)
  */
 
 /**
index 8eb9f6476ed0cddbeaafe17059d5c36b13dae046..36e5c9df15870d170e0c60ed04d598056ff7dcec 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Queue/QueueItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2ec3738d4db4ad5473162176d25f552c)
+ * (GenCodeChecksum:80b0f2b14031c2b5de3a9d81371a5b01)
  */
 
 /**
index 84c549150394c3c1e87e6cdd199049d5da2e0465..dc37d97d8b74b9fd86969a7b27dc61246496b48d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7c11a51cc566e33761a9f06522c43bbd)
+ * (GenCodeChecksum:e60478dd772b18e57443ff1cd0d1c72e)
  */
 
 /**
index e3358134396b047eddbc42e88060abc4cee99edc..5d4ac4e2a3cbbcd6584434ad7a2349d2abb9f038 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/SMS/Provider.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6501ba50ba1ce7df2d0408cc78bb012c)
+ * (GenCodeChecksum:a30b3fc9b4995ff366e829f75368ec0a)
  */
 
 /**
index 7bb80be3d1d71a29c70822509a2a938f04cd81a1..5689252494163f5fd209bf21185b964aa4bed3bd 100644 (file)
@@ -84,6 +84,10 @@ class Entity extends Generic\AbstractEntity {
           'name' => 'dao',
           'description' => 'Class name for dao-based entities',
         ],
+        [
+          'name' => 'labelField',
+          'description' => 'Field to show when displaying a record',
+        ],
         [
           'name' => 'searchable',
           'description' => 'Should this entity be selectable in search kit UI',
index 1c69eae15ebe17285c55669bda2accebbf2bf85a..ae17fcdd3463f932c74d99fb83bf740ae7b1b8ac 100644 (file)
@@ -143,6 +143,7 @@ abstract class AbstractEntity {
     if ($dao) {
       $info['paths'] = $dao::getEntityPaths();
       $info['icon'] = $dao::$_icon;
+      $info['labelField'] = $dao::$_labelField;
       $info['dao'] = $dao;
     }
     foreach (ReflectionUtils::getTraits(static::class) as $trait) {
index 2a1dde72ea4c78143e90b5f9a8c1e29328ca8978..3f7ee3169ca35cf4d519c9a63a205049dc66d8fd 100644 (file)
@@ -7,6 +7,7 @@
   <add>1.1</add>
   <log>true</log>
   <icon>fa-tasks</icon>
+  <labelField>subject</labelField>
   <paths>
     <add>civicrm/activity?reset=1&amp;action=add&amp;context=standalone</add>
     <view>civicrm/activity?reset=1&amp;action=view&amp;id=[id]</view>
index 99f1c19cf31d1b904dcc1344769b46d6dcf2d1de..3610464350e800e84c8dd97bf547dad5b76ff871 100644 (file)
@@ -6,6 +6,7 @@
   <comment>Campaign Details.</comment>
   <add>3.3</add>
   <icon>fa-bullhorn</icon>
+  <labelField>title</labelField>
   <component>CiviCampaign</component>
   <paths>
     <add>civicrm/campaign/add?reset=1</add>
index dc41dbeefaaa5aadb565be42e42515004bbef749..821af4bd4f415ef0871f8a368a18ac6c56210c46 100644 (file)
@@ -6,6 +6,7 @@
   <comment>Campaign Survey Details.</comment>
   <add>3.2</add>
   <icon>fa-clipboard</icon>
+  <labelField>title</labelField>
   <component>CiviCampaign</component>
   <field>
     <name>id</name>
index ed1dba9d797dfaecf53ba9c3214f824833b463e2..8ecbf21cd7a5f58a31b3eda59ff41ab106325b4a 100644 (file)
@@ -7,6 +7,7 @@
   <add>1.8</add>
   <log>true</log>
   <icon>fa-folder-open</icon>
+  <labelField>subject</labelField>
   <component>CiviCase</component>
   <field>
     <name>id</name>
index 6002cc6f4643330e7597c726c06232d2dfe6897f..33c33703c2f469dd3adec07ddd9382247ee68700 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.1</add>
   <log>true</log>
   <icon>fa-address-book-o</icon>
+  <labelField>display_name</labelField>
   <paths>
     <add>civicrm/contact/add?reset=1&amp;ct=[contact_type]</add>
     <view>civicrm/contact/view?reset=1&amp;cid=[id]</view>
index e694a6a666a77d9dfc7d775c0d27a84450f04d71..9dfd7fc8579a7a464aa83d598dd78f1f64e6b396 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.1</add>
   <log>true</log>
   <icon>fa-users</icon>
+  <labelField>title</labelField>
   <paths>
     <add>civicrm/group/add?reset=1</add>
   </paths>
index ec39744138ba0ca5438e1ba72e2eb31a610bdcdf..a8db2380f4a6d0f991df072015d5fecf837ef065 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.3</add>
   <log>true</log>
   <component>CiviContribute</component>
+  <labelField>title</labelField>
   <field>
     <name>id</name>
     <title>Contribution Page ID</title>
index 2f4e32485ce8bcbae1c9fdcf799ea8c0d7118806..e75c938d866ec717d8fb48ab3a6f6a51b0146ebb 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.4</add>
   <log>true</log>
   <component>CiviContribute</component>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>Product ID</title>
index fdf117316532abb1d2ace5de0e1fa0ba30df9845..051ce788cec2d3e0790b0b8d82a2d21e795caeed 100644 (file)
@@ -5,6 +5,7 @@
   <class>Country</class>
   <name>civicrm_country</name>
   <add>1.1</add>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>Country ID</title>
index 936064e9eb859c373bc85de2e1269d6ca23cd5c8..db959aa660b137b1d185d3f8f6c0a3231e6650c5 100644 (file)
@@ -5,6 +5,7 @@
   <class>County</class>
   <name>civicrm_county</name>
   <add>1.1</add>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>County ID</title>
index 54cd5c5d7454d83984db19f60ff85a30cb354356..4232753f6f33386c0af93a4637a26214ab968cad 100644 (file)
@@ -7,6 +7,7 @@
   <comment>Stores info about an extended (custom) property (data and form field info).</comment>
   <add>1.1</add>
   <log>true</log>
+  <labelField>label</labelField>
   <field>
     <name>id</name>
     <type>int unsigned</type>
index e21458ecbafa24855f260fe98012698ce7ada03d..018e05bd22e32525ba2cca0e72e5f438cdea6426 100644 (file)
@@ -8,6 +8,7 @@
   </comment>
   <add>1.1</add>
   <log>true</log>
+  <labelField>title</labelField>
   <field>
     <name>id</name>
     <type>int unsigned</type>
index 3a07e9e06ab170198bf8dbbb88dbb525ca072d61..4a2bbe261528dee0760afcef712f87e79f580e57 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.1</add>
   <log>true</log>
   <icon>fa-envelope-o</icon>
+  <labelField>email</labelField>
   <field>
     <name>id</name>
     <title>Email ID</title>
index 58ca90324dc4b5e02d6b46f2adc8b1896730185f..f521fb645a23b86a6c810eeb7a25bb580b70bb79 100644 (file)
@@ -10,6 +10,7 @@
   <title>Instant Messaging</title>
   <titlePlural>Instant Messaging</titlePlural>
   <icon>fa-comments-o</icon>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>Instant Messenger ID</title>
index 5de7ea9d379a7ca98191ca087f2e894adb607fa3..bc9dc654e733df9c8312b1847b589f63df833e6f 100644 (file)
@@ -6,6 +6,7 @@
   <name>civicrm_navigation</name>
   <comment>Table to store navigation.</comment>
   <add>3.0</add>
+  <labelField>label</labelField>
   <field>
     <name>id</name>
     <title>Navigation ID</title>
index eb0ad8e1f6a90a4f4a16b7e9be1a58b4267a7d88..007ffa84863d13d5b4d3783537ff4c5cd060a4eb 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.1</add>
   <log>true</log>
   <icon>fa-phone</icon>
+  <labelField>phone</labelField>
   <field>
     <name>id</name>
     <title>Phone ID</title>
index 3963138abb3eceda0b39be862ff4a7cbda3a94c7..f2352e0592280a2119b1f9d9da7094dd03d26174 100644 (file)
@@ -7,6 +7,7 @@
   <add>1.1</add>
   <title>State/Province</title>
   <titlePlural>States/Provinces</titlePlural>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>State ID</title>
index 6ea2e8e1e27aae12b9d594540a019df0d8f340a9..43229977b6d1b1523c2152efbc7c4e23fc488e62 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.1</add>
   <log>true</log>
   <icon>fa-tag</icon>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>Tag ID</title>
index e94f80ecc238390da30c7dfad833e4b677ae6b6d..f9e8e0ea7a51a0f68aa19e9c29b5ae1c281e2766 100644 (file)
@@ -7,6 +7,7 @@
   <comment>Website information for a specific location.</comment>
   <add>3.2</add>
   <icon>fa-desktop</icon>
+  <labelField>url</labelField>
   <field>
     <name>id</name>
     <type>int unsigned</type>
index 6bef35f2318d8205ed74c81a47bc5d09b537d72a..e6682fe97f27f3bcd7fe8f55d603d5315a6cea23 100644 (file)
@@ -7,6 +7,7 @@
   <add>1.7</add>
   <log>true</log>
   <icon>fa-calendar</icon>
+  <labelField>title</labelField>
   <component>CiviEvent</component>
   <paths>
     <add>civicrm/event/add?reset=1</add>
index 09530a7ae358a3bfc590452263cf4600e24f04bc..43b0ce68a9e44c6d0f319114138937f7e6948acd 100644 (file)
@@ -8,6 +8,7 @@
   <comment>Formerly civicrm_contribution_type merged into this table in 4.3</comment>
   <log>true</log>
   <component>CiviContribute</component>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>Financial Type ID</title>
index becbbc63918757e06ebdd3e95cc6c4e73162b768..15201307d3fe4795eb663b4c74567a479e44954b 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.5</add>
   <log>true</log>
   <component>CiviMember</component>
+  <labelField>label</labelField>
   <field>
     <name>id</name>
     <title>Membership Status ID</title>
index bf2223bcb92e3db7a3242d536f806e5871027b1f..8316e655b74fb5ad638d38d4e50a0fb9a4acf993 100644 (file)
@@ -8,6 +8,7 @@
   <add>1.5</add>
   <log>true</log>
   <component>CiviMember</component>
+  <labelField>name</labelField>
   <field>
     <name>id</name>
     <title>Membership Type ID</title>
index f3ee241333175a6e6032ef8d274529abf5256903..e9e94f70c33d3dcc4c6c13730ccc134573392434 100644 (file)
@@ -32,6 +32,15 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
       */
       public static $_icon = '{$table.icon}';
    {/if}
+
+   {if $table.labelField}
+     /**
+      * Field to show when displaying a record.
+      *
+      * @var string
+      */
+      public static $_labelField = '{$table.labelField}';
+   {/if}
       /**
        * Should CiviCRM log any modifications to this table in the civicrm_log table.
        *