From: Coleman Watts Date: Tue, 2 Feb 2021 19:24:51 +0000 (-0500) Subject: Add "labelField" metadata to entities X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8ab43c93eec01a236c4f02c58aff55a111e3b216;p=civicrm-core.git Add "labelField" metadata to entities This determines which field will be shown when displaying a single record e.g. when viewing a Contact, show the display_name. --- diff --git a/CRM/ACL/DAO/ACL.php b/CRM/ACL/DAO/ACL.php index a63ba76a04..2bb1a99803 100644 --- a/CRM/ACL/DAO/ACL.php +++ b/CRM/ACL/DAO/ACL.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/ACL/ACL.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b4b1db29de0700887b7875f82d079c10) + * (GenCodeChecksum:945c6124726a8a24c2b1915f892e5d7f) */ /** diff --git a/CRM/ACL/DAO/ACLCache.php b/CRM/ACL/DAO/ACLCache.php index ae394a532b..181af8cdc0 100644 --- a/CRM/ACL/DAO/ACLCache.php +++ b/CRM/ACL/DAO/ACLCache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/ACL/ACLCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9676dd799030fb9b56b490595dd3a847) + * (GenCodeChecksum:d578da6a914d1f86daeff26e50653fc4) */ /** diff --git a/CRM/ACL/DAO/EntityRole.php b/CRM/ACL/DAO/EntityRole.php index 043e1f673f..3701d04d1e 100644 --- a/CRM/ACL/DAO/EntityRole.php +++ b/CRM/ACL/DAO/EntityRole.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/ACL/EntityRole.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ec91adfcc1d76814541811d4b97e45b2) + * (GenCodeChecksum:012d2481ba1ccdef7d19a17eae876597) */ /** diff --git a/CRM/Activity/DAO/Activity.php b/CRM/Activity/DAO/Activity.php index 7a11bf5990..6d764364cb 100644 --- a/CRM/Activity/DAO/Activity.php +++ b/CRM/Activity/DAO/Activity.php @@ -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. * diff --git a/CRM/Activity/DAO/ActivityContact.php b/CRM/Activity/DAO/ActivityContact.php index c789e4f0ed..c80dbbf1b9 100644 --- a/CRM/Activity/DAO/ActivityContact.php +++ b/CRM/Activity/DAO/ActivityContact.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Activity/ActivityContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1263921d2a6832e26c5a7e34c684e35b) + * (GenCodeChecksum:ea2c719e3d50906c6e8695743b39f3d1) */ /** diff --git a/CRM/Batch/DAO/Batch.php b/CRM/Batch/DAO/Batch.php index 4b4925ef6d..8c9421d887 100644 --- a/CRM/Batch/DAO/Batch.php +++ b/CRM/Batch/DAO/Batch.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Batch/Batch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:717006044703500afc7d4f45f63194df) + * (GenCodeChecksum:d8e02b922579edb2fc29f4717ba25699) */ /** diff --git a/CRM/Batch/DAO/EntityBatch.php b/CRM/Batch/DAO/EntityBatch.php index e496cad7cd..0a080da4b5 100644 --- a/CRM/Batch/DAO/EntityBatch.php +++ b/CRM/Batch/DAO/EntityBatch.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Batch/EntityBatch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:61cb70a15ffc587cc8476204cb16353f) + * (GenCodeChecksum:9d04febc575fa821cc186aecfbce8965) */ /** diff --git a/CRM/Campaign/DAO/Campaign.php b/CRM/Campaign/DAO/Campaign.php index 69092b2960..5e2534cb4e 100644 --- a/CRM/Campaign/DAO/Campaign.php +++ b/CRM/Campaign/DAO/Campaign.php @@ -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. * diff --git a/CRM/Campaign/DAO/CampaignGroup.php b/CRM/Campaign/DAO/CampaignGroup.php index a04ca5e611..a448bd16fb 100644 --- a/CRM/Campaign/DAO/CampaignGroup.php +++ b/CRM/Campaign/DAO/CampaignGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9e8df6e6e1df93fb351b51bcda21c176) + * (GenCodeChecksum:88f73bc59595d75977b66fe76466a22c) */ /** diff --git a/CRM/Campaign/DAO/Survey.php b/CRM/Campaign/DAO/Survey.php index 479411f1be..aa303547ee 100644 --- a/CRM/Campaign/DAO/Survey.php +++ b/CRM/Campaign/DAO/Survey.php @@ -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. * diff --git a/CRM/Case/DAO/Case.php b/CRM/Case/DAO/Case.php index aa52e8d454..483f25ac88 100644 --- a/CRM/Case/DAO/Case.php +++ b/CRM/Case/DAO/Case.php @@ -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. * diff --git a/CRM/Case/DAO/CaseActivity.php b/CRM/Case/DAO/CaseActivity.php index 89baec8d64..96baecd3fb 100644 --- a/CRM/Case/DAO/CaseActivity.php +++ b/CRM/Case/DAO/CaseActivity.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Case/CaseActivity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5fc2509491a88a1bd2d8ce808f99a00e) + * (GenCodeChecksum:86671184c99ebfb57f4eb57c2f07b81b) */ /** diff --git a/CRM/Case/DAO/CaseContact.php b/CRM/Case/DAO/CaseContact.php index 24d41dc53e..7adb2d563e 100644 --- a/CRM/Case/DAO/CaseContact.php +++ b/CRM/Case/DAO/CaseContact.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Case/CaseContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8ccb7c478dfa4eb1b3b022eeabc71b79) + * (GenCodeChecksum:183cc7024ea45a45b22d912a813ad571) */ /** diff --git a/CRM/Case/DAO/CaseType.php b/CRM/Case/DAO/CaseType.php index 4dc5e69aae..299d708a7e 100644 --- a/CRM/Case/DAO/CaseType.php +++ b/CRM/Case/DAO/CaseType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Case/CaseType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9151b8db1ff873f31d574b5cdec128ac) + * (GenCodeChecksum:6a52ae7afff416692c421e61c34645d6) */ /** diff --git a/CRM/Contact/DAO/ACLContactCache.php b/CRM/Contact/DAO/ACLContactCache.php index ce7d7b9576..c298e5f8ca 100644 --- a/CRM/Contact/DAO/ACLContactCache.php +++ b/CRM/Contact/DAO/ACLContactCache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/ACLContactCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:26fea9c61af7afdc2f3401213e0eab2b) + * (GenCodeChecksum:0344ff6318aa46a5eb71653f0af1b03a) */ /** diff --git a/CRM/Contact/DAO/Contact.php b/CRM/Contact/DAO/Contact.php index b1661fd458..bf067a163f 100644 --- a/CRM/Contact/DAO/Contact.php +++ b/CRM/Contact/DAO/Contact.php @@ -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. * diff --git a/CRM/Contact/DAO/ContactType.php b/CRM/Contact/DAO/ContactType.php index 85184131fd..a6fe11a8eb 100644 --- a/CRM/Contact/DAO/ContactType.php +++ b/CRM/Contact/DAO/ContactType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/ContactType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:dfe2f3758a8cf1ad9bd23dfb9e2de671) + * (GenCodeChecksum:7b959770a932c13bc00ff85cbecc045e) */ /** diff --git a/CRM/Contact/DAO/DashboardContact.php b/CRM/Contact/DAO/DashboardContact.php index 6cc3cc5341..7ff5944899 100644 --- a/CRM/Contact/DAO/DashboardContact.php +++ b/CRM/Contact/DAO/DashboardContact.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/DashboardContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:d65c9f2feca6cd296a047c2f4e2a862c) + * (GenCodeChecksum:583e1de6afb140898039f277bd3475be) */ /** diff --git a/CRM/Contact/DAO/Group.php b/CRM/Contact/DAO/Group.php index 417c467eb0..bdb88dc88c 100644 --- a/CRM/Contact/DAO/Group.php +++ b/CRM/Contact/DAO/Group.php @@ -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. * diff --git a/CRM/Contact/DAO/GroupContact.php b/CRM/Contact/DAO/GroupContact.php index 5f6dde1bde..a721362273 100644 --- a/CRM/Contact/DAO/GroupContact.php +++ b/CRM/Contact/DAO/GroupContact.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/GroupContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5c26ac19a56e589da1399e755469229b) + * (GenCodeChecksum:56b483aa4bf347ec6193ad05c1ab3d0a) */ /** diff --git a/CRM/Contact/DAO/GroupContactCache.php b/CRM/Contact/DAO/GroupContactCache.php index f8314a24f4..92067ada62 100644 --- a/CRM/Contact/DAO/GroupContactCache.php +++ b/CRM/Contact/DAO/GroupContactCache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/GroupContactCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:db2873674d73776ad753a88082ea072a) + * (GenCodeChecksum:5178c3ecf2bb087a51fc88c339ac9172) */ /** diff --git a/CRM/Contact/DAO/GroupNesting.php b/CRM/Contact/DAO/GroupNesting.php index d61c74bc68..c4be7696c3 100644 --- a/CRM/Contact/DAO/GroupNesting.php +++ b/CRM/Contact/DAO/GroupNesting.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/GroupNesting.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0e7931bbaab17bdf66a41f8b912f92f6) + * (GenCodeChecksum:fcc4ba34c2f709a89170d80de223c53d) */ /** diff --git a/CRM/Contact/DAO/GroupOrganization.php b/CRM/Contact/DAO/GroupOrganization.php index 2461b6cb60..dc4a43cce7 100644 --- a/CRM/Contact/DAO/GroupOrganization.php +++ b/CRM/Contact/DAO/GroupOrganization.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/GroupOrganization.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a16da367f856704d5432044055ed5d16) + * (GenCodeChecksum:10c5435437b8d3b3cbbca748fc008edd) */ /** diff --git a/CRM/Contact/DAO/Relationship.php b/CRM/Contact/DAO/Relationship.php index 6312c40554..549a6af751 100644 --- a/CRM/Contact/DAO/Relationship.php +++ b/CRM/Contact/DAO/Relationship.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/Relationship.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5c1cfe38206fb7c465befe517bf6f23d) + * (GenCodeChecksum:e1fb735aa0cc3878713b6a3c2ca9c428) */ /** diff --git a/CRM/Contact/DAO/RelationshipCache.php b/CRM/Contact/DAO/RelationshipCache.php index c888435bfd..bd40845225 100644 --- a/CRM/Contact/DAO/RelationshipCache.php +++ b/CRM/Contact/DAO/RelationshipCache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/RelationshipCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ec899f1ccb7f617701d7108dc4282691) + * (GenCodeChecksum:b35c483041c2cf38afed94446977fa1e) */ /** diff --git a/CRM/Contact/DAO/RelationshipType.php b/CRM/Contact/DAO/RelationshipType.php index 14df1f92eb..63b6de6612 100644 --- a/CRM/Contact/DAO/RelationshipType.php +++ b/CRM/Contact/DAO/RelationshipType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/RelationshipType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a3e3c18c34421b3dbcffb17bd313aa17) + * (GenCodeChecksum:baf94ca6a0ab322520a4ef80dc466b3a) */ /** diff --git a/CRM/Contact/DAO/SavedSearch.php b/CRM/Contact/DAO/SavedSearch.php index 1f81f53c8b..c6f4dac629 100644 --- a/CRM/Contact/DAO/SavedSearch.php +++ b/CRM/Contact/DAO/SavedSearch.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/SavedSearch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:73251f9c4af0127e2e9fc2770f21869d) + * (GenCodeChecksum:60133924e9299405ccd3ebf987663476) */ /** diff --git a/CRM/Contact/DAO/SubscriptionHistory.php b/CRM/Contact/DAO/SubscriptionHistory.php index a8e7de48a6..b6f1f8c5a8 100644 --- a/CRM/Contact/DAO/SubscriptionHistory.php +++ b/CRM/Contact/DAO/SubscriptionHistory.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3557b2bfd9b5364ea356c17a7237fd5e) + * (GenCodeChecksum:a610d2218f91399a58b1fb8e4f90441d) */ /** diff --git a/CRM/Contribute/DAO/Contribution.php b/CRM/Contribute/DAO/Contribution.php index b47d34d2e1..e9936e8cf2 100644 --- a/CRM/Contribute/DAO/Contribution.php +++ b/CRM/Contribute/DAO/Contribution.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/Contribution.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a24c14ae34bb8c68b8f0348b946c18b9) + * (GenCodeChecksum:11b9f8bc6198e4338be2406de58b6723) */ /** diff --git a/CRM/Contribute/DAO/ContributionPage.php b/CRM/Contribute/DAO/ContributionPage.php index 75a82ba3f4..e38ebbf9fe 100644 --- a/CRM/Contribute/DAO/ContributionPage.php +++ b/CRM/Contribute/DAO/ContributionPage.php @@ -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. * diff --git a/CRM/Contribute/DAO/ContributionProduct.php b/CRM/Contribute/DAO/ContributionProduct.php index ef635d760f..0c9eb3373b 100644 --- a/CRM/Contribute/DAO/ContributionProduct.php +++ b/CRM/Contribute/DAO/ContributionProduct.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f1269124a9b0ee2a9482aea7d0ee221c) + * (GenCodeChecksum:0e560708ae82cbbea43d50872921f623) */ /** diff --git a/CRM/Contribute/DAO/ContributionRecur.php b/CRM/Contribute/DAO/ContributionRecur.php index 55e632c1a9..9bed9fd903 100644 --- a/CRM/Contribute/DAO/ContributionRecur.php +++ b/CRM/Contribute/DAO/ContributionRecur.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c080fbdfdb5b780a36f5a48e5a88eaae) + * (GenCodeChecksum:5e2fa2241a3f8c014352d897be31fad1) */ /** diff --git a/CRM/Contribute/DAO/ContributionSoft.php b/CRM/Contribute/DAO/ContributionSoft.php index ce611201dc..1bdde526c9 100644 --- a/CRM/Contribute/DAO/ContributionSoft.php +++ b/CRM/Contribute/DAO/ContributionSoft.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fcbdcb4461e427de7ecb5f1759538907) + * (GenCodeChecksum:13ea3cb5cb23675acf2be4667deb1e45) */ /** diff --git a/CRM/Contribute/DAO/Premium.php b/CRM/Contribute/DAO/Premium.php index 0564f5c137..1b698b86b4 100644 --- a/CRM/Contribute/DAO/Premium.php +++ b/CRM/Contribute/DAO/Premium.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/Premium.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:44100b596ee94445f953e783f37cdfba) + * (GenCodeChecksum:1b739de8bbefea885f3835009c2346a9) */ /** diff --git a/CRM/Contribute/DAO/PremiumsProduct.php b/CRM/Contribute/DAO/PremiumsProduct.php index d5980d098b..e945d58797 100644 --- a/CRM/Contribute/DAO/PremiumsProduct.php +++ b/CRM/Contribute/DAO/PremiumsProduct.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:10a4fa226e76cf7278ae9e4790c237aa) + * (GenCodeChecksum:e0f6b18be4eda69e76c5e2242893e133) */ /** diff --git a/CRM/Contribute/DAO/Product.php b/CRM/Contribute/DAO/Product.php index 4373dbe3d7..ae96a78011 100644 --- a/CRM/Contribute/DAO/Product.php +++ b/CRM/Contribute/DAO/Product.php @@ -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. * diff --git a/CRM/Contribute/DAO/Widget.php b/CRM/Contribute/DAO/Widget.php index d852ced939..295d32c8bc 100644 --- a/CRM/Contribute/DAO/Widget.php +++ b/CRM/Contribute/DAO/Widget.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/Widget.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b98e1da73e0723e617a9dae64a8e8dad) + * (GenCodeChecksum:9331ebf30ff0efe3e853ecab8c27efb2) */ /** diff --git a/CRM/Core/CodeGen/Specification.php b/CRM/Core/CodeGen/Specification.php index 269cb57813..015b56560c 100644 --- a/CRM/Core/CodeGen/Specification.php +++ b/CRM/Core/CodeGen/Specification.php @@ -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 ?? []), diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 4fb383276f..81b02ceefb 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -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 diff --git a/CRM/Core/DAO/ActionLog.php b/CRM/Core/DAO/ActionLog.php index 96d4bfa19a..91f36de89b 100644 --- a/CRM/Core/DAO/ActionLog.php +++ b/CRM/Core/DAO/ActionLog.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/ActionLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5e54867f6cec000d7f219c82a1c081d3) + * (GenCodeChecksum:4127ee42bdd435f58118662f65c4fe84) */ /** diff --git a/CRM/Core/DAO/ActionMapping.php b/CRM/Core/DAO/ActionMapping.php index 2bdd4fa93d..a2b96a8e04 100644 --- a/CRM/Core/DAO/ActionMapping.php +++ b/CRM/Core/DAO/ActionMapping.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/ActionMapping.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:786c067af45c5d1979519a8326665453) + * (GenCodeChecksum:c52c12ce8a0134ab553e2cbe7a7ad7f7) */ /** diff --git a/CRM/Core/DAO/ActionSchedule.php b/CRM/Core/DAO/ActionSchedule.php index fdb2ebb466..f7b4141748 100644 --- a/CRM/Core/DAO/ActionSchedule.php +++ b/CRM/Core/DAO/ActionSchedule.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/ActionSchedule.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:df905816967f9d1ec039390d6e639672) + * (GenCodeChecksum:942d4be76392811af80f2ba8c92941e6) */ /** diff --git a/CRM/Core/DAO/Address.php b/CRM/Core/DAO/Address.php index 8b00d71af7..0ff76ccd8f 100644 --- a/CRM/Core/DAO/Address.php +++ b/CRM/Core/DAO/Address.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Address.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:44eb25ddfd0e9d87e213e2f80f80233d) + * (GenCodeChecksum:9fc4f7e6d90b100aec8e543d18b3064c) */ /** diff --git a/CRM/Core/DAO/AddressFormat.php b/CRM/Core/DAO/AddressFormat.php index 374ca1449b..45c3c20c04 100644 --- a/CRM/Core/DAO/AddressFormat.php +++ b/CRM/Core/DAO/AddressFormat.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/AddressFormat.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:47ce2c9d196b195fda0a60eaac02f5d1) + * (GenCodeChecksum:4920351f2ab4a3e6d7a51a6831906782) */ /** diff --git a/CRM/Core/DAO/Cache.php b/CRM/Core/DAO/Cache.php index beafabc7c0..4d530b6044 100644 --- a/CRM/Core/DAO/Cache.php +++ b/CRM/Core/DAO/Cache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Cache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6b4eec63c83fffde053a8259221d0bfe) + * (GenCodeChecksum:4c6850e83ad62f89ca0768f5f1f70beb) */ /** diff --git a/CRM/Core/DAO/Component.php b/CRM/Core/DAO/Component.php index 0c9216f26d..525e5aaae4 100644 --- a/CRM/Core/DAO/Component.php +++ b/CRM/Core/DAO/Component.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Component.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3b686ef7dde6f66dfe5eb708e667dcc7) + * (GenCodeChecksum:15d3ddeacb4afb61c83b6b89678d1023) */ /** diff --git a/CRM/Core/DAO/Country.php b/CRM/Core/DAO/Country.php index f382ac3ea1..238ae8ea20 100644 --- a/CRM/Core/DAO/Country.php +++ b/CRM/Core/DAO/Country.php @@ -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. * diff --git a/CRM/Core/DAO/County.php b/CRM/Core/DAO/County.php index 3bfb53cd73..dc9aebe280 100644 --- a/CRM/Core/DAO/County.php +++ b/CRM/Core/DAO/County.php @@ -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. * diff --git a/CRM/Core/DAO/CustomField.php b/CRM/Core/DAO/CustomField.php index e02729998a..92d512af44 100644 --- a/CRM/Core/DAO/CustomField.php +++ b/CRM/Core/DAO/CustomField.php @@ -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. * diff --git a/CRM/Core/DAO/CustomGroup.php b/CRM/Core/DAO/CustomGroup.php index 58742e8fd4..b96a2b39ab 100644 --- a/CRM/Core/DAO/CustomGroup.php +++ b/CRM/Core/DAO/CustomGroup.php @@ -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. * diff --git a/CRM/Core/DAO/Dashboard.php b/CRM/Core/DAO/Dashboard.php index 2e31d42d4d..c249812b33 100644 --- a/CRM/Core/DAO/Dashboard.php +++ b/CRM/Core/DAO/Dashboard.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Dashboard.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:96e683f4bec8fff387930109c2f5ea41) + * (GenCodeChecksum:da79552cec455b6d3347a9eab6fbd5ba) */ /** diff --git a/CRM/Core/DAO/Discount.php b/CRM/Core/DAO/Discount.php index 05377bc2bf..f38bfd5f08 100644 --- a/CRM/Core/DAO/Discount.php +++ b/CRM/Core/DAO/Discount.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Discount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ccb85ff70ce8a536ac4a941628455d8d) + * (GenCodeChecksum:21fd136286714890f83997ed552ff7a9) */ /** diff --git a/CRM/Core/DAO/Domain.php b/CRM/Core/DAO/Domain.php index f178a01687..ca1676aabc 100644 --- a/CRM/Core/DAO/Domain.php +++ b/CRM/Core/DAO/Domain.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Domain.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6a8de20676ad3eeaca16ea3059958a4e) + * (GenCodeChecksum:e0f95fc75ca145449570ee01ad603db6) */ /** diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index 75ef40b6ba..0ce302194d 100644 --- a/CRM/Core/DAO/Email.php +++ b/CRM/Core/DAO/Email.php @@ -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. * diff --git a/CRM/Core/DAO/EntityFile.php b/CRM/Core/DAO/EntityFile.php index 2227979928..a82b9dcb89 100644 --- a/CRM/Core/DAO/EntityFile.php +++ b/CRM/Core/DAO/EntityFile.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/EntityFile.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8d4673d56dc80b50b0acdd5186a19068) + * (GenCodeChecksum:f69f69d9bdd1339e4128c289e4c66bac) */ /** diff --git a/CRM/Core/DAO/EntityTag.php b/CRM/Core/DAO/EntityTag.php index 5a4e358856..b063c0138e 100644 --- a/CRM/Core/DAO/EntityTag.php +++ b/CRM/Core/DAO/EntityTag.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/EntityTag.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f02ad487f101cb549da790954fbaa7a4) + * (GenCodeChecksum:87cdf7b752999de6a992ee32e0118d9e) */ /** diff --git a/CRM/Core/DAO/Extension.php b/CRM/Core/DAO/Extension.php index 9b2ca48c88..8f86605666 100644 --- a/CRM/Core/DAO/Extension.php +++ b/CRM/Core/DAO/Extension.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Extension.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c85a50145f3c9647e6fb46328034090e) + * (GenCodeChecksum:5dd2ae0de7d091c437acac61990bd25a) */ /** diff --git a/CRM/Core/DAO/File.php b/CRM/Core/DAO/File.php index 8598cfc242..eaf90e006e 100644 --- a/CRM/Core/DAO/File.php +++ b/CRM/Core/DAO/File.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/File.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:d47b8b85ee8790c3da0216b40c2dc657) + * (GenCodeChecksum:48da22a0ac1cbc4061d3f47916c4828b) */ /** diff --git a/CRM/Core/DAO/IM.php b/CRM/Core/DAO/IM.php index b1d6e63df1..b1c6bb8294 100644 --- a/CRM/Core/DAO/IM.php +++ b/CRM/Core/DAO/IM.php @@ -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. * diff --git a/CRM/Core/DAO/Job.php b/CRM/Core/DAO/Job.php index c24f6dcad1..76ee644c96 100644 --- a/CRM/Core/DAO/Job.php +++ b/CRM/Core/DAO/Job.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Job.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:434388c3fa5b5f67932dd71f5d64a031) + * (GenCodeChecksum:8e610840383d1d67376a442507b7de78) */ /** diff --git a/CRM/Core/DAO/JobLog.php b/CRM/Core/DAO/JobLog.php index 314634b300..591bbbf70e 100644 --- a/CRM/Core/DAO/JobLog.php +++ b/CRM/Core/DAO/JobLog.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/JobLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:03cf51e361b98d8ed31dcbd86eda2722) + * (GenCodeChecksum:030669116dbbcb2ac95ace538ccef9e2) */ /** diff --git a/CRM/Core/DAO/LocBlock.php b/CRM/Core/DAO/LocBlock.php index 9e43a2a241..912488b5b1 100644 --- a/CRM/Core/DAO/LocBlock.php +++ b/CRM/Core/DAO/LocBlock.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/LocBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:86653150176ca5b8f4bb80b8dc581010) + * (GenCodeChecksum:077ee3453e455a1e09cbe1b030756b9a) */ /** diff --git a/CRM/Core/DAO/LocationType.php b/CRM/Core/DAO/LocationType.php index 561ea83175..863a809bd7 100644 --- a/CRM/Core/DAO/LocationType.php +++ b/CRM/Core/DAO/LocationType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/LocationType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0aac55ebb9932e5ab19fcf2e6eca7dd0) + * (GenCodeChecksum:0327a8f5a6113259101b762b138471ca) */ /** diff --git a/CRM/Core/DAO/Log.php b/CRM/Core/DAO/Log.php index c648403e39..748e1caa21 100644 --- a/CRM/Core/DAO/Log.php +++ b/CRM/Core/DAO/Log.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Log.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:816b07245cf23f330f371b32bc278d17) + * (GenCodeChecksum:7f8848b98de2f566ee305bc883450484) */ /** diff --git a/CRM/Core/DAO/MailSettings.php b/CRM/Core/DAO/MailSettings.php index fd35409ecd..31ca9658a8 100644 --- a/CRM/Core/DAO/MailSettings.php +++ b/CRM/Core/DAO/MailSettings.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MailSettings.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a362c7cd24732b55a96cd4e526d29102) + * (GenCodeChecksum:a16e81997bf4b6cb25dfafd32c10a49a) */ /** diff --git a/CRM/Core/DAO/Managed.php b/CRM/Core/DAO/Managed.php index 55aae70513..c915357686 100644 --- a/CRM/Core/DAO/Managed.php +++ b/CRM/Core/DAO/Managed.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Managed.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a6c528f54d10bee8fbc3b12c1bafd44c) + * (GenCodeChecksum:d9e22fa6b1d9a18b552e5cfba7d1be90) */ /** diff --git a/CRM/Core/DAO/Mapping.php b/CRM/Core/DAO/Mapping.php index caf70fe97d..954ce5915c 100644 --- a/CRM/Core/DAO/Mapping.php +++ b/CRM/Core/DAO/Mapping.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Mapping.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:50a6b7f051df6e61bf9e0b9b930dc861) + * (GenCodeChecksum:c7b4a3dcfbac7edda9d0573807cab642) */ /** diff --git a/CRM/Core/DAO/MappingField.php b/CRM/Core/DAO/MappingField.php index d32d628cad..095371c4b3 100644 --- a/CRM/Core/DAO/MappingField.php +++ b/CRM/Core/DAO/MappingField.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MappingField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b61d71dabcb618c14e3e8d7985b324de) + * (GenCodeChecksum:3712a8e412a011a13e2898d0f151b264) */ /** diff --git a/CRM/Core/DAO/Menu.php b/CRM/Core/DAO/Menu.php index abc4794b7d..d926508b93 100644 --- a/CRM/Core/DAO/Menu.php +++ b/CRM/Core/DAO/Menu.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Menu.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:57fa30940edf98c8e957dd1f33df3f51) + * (GenCodeChecksum:6391b63b227b5de3c68bbf951b2e3add) */ /** diff --git a/CRM/Core/DAO/MessageTemplate.php b/CRM/Core/DAO/MessageTemplate.php index b374ba633e..b4b6f2fd03 100644 --- a/CRM/Core/DAO/MessageTemplate.php +++ b/CRM/Core/DAO/MessageTemplate.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MessageTemplate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8bdd2857d4229fc76ced7a2153574864) + * (GenCodeChecksum:d8ec6425eecc359e3b504dffcdd71456) */ /** diff --git a/CRM/Core/DAO/Navigation.php b/CRM/Core/DAO/Navigation.php index a01fe2ad64..b3e2f9737a 100644 --- a/CRM/Core/DAO/Navigation.php +++ b/CRM/Core/DAO/Navigation.php @@ -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. * diff --git a/CRM/Core/DAO/Note.php b/CRM/Core/DAO/Note.php index 0cac3ede16..b243cde7ab 100644 --- a/CRM/Core/DAO/Note.php +++ b/CRM/Core/DAO/Note.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Note.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b623a27bc1f57db04764a14ce6a3f113) + * (GenCodeChecksum:9e73096c6f34086fd42e8098649c7abc) */ /** diff --git a/CRM/Core/DAO/OpenID.php b/CRM/Core/DAO/OpenID.php index d699f9cab4..ff4b9c87b6 100644 --- a/CRM/Core/DAO/OpenID.php +++ b/CRM/Core/DAO/OpenID.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OpenID.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:47984d6d7242a00042bf664e5fff0600) + * (GenCodeChecksum:cb1ead5da887d91854185af42e87d223) */ /** diff --git a/CRM/Core/DAO/OptionGroup.php b/CRM/Core/DAO/OptionGroup.php index 6ed7e5b6b7..cbc52386f1 100644 --- a/CRM/Core/DAO/OptionGroup.php +++ b/CRM/Core/DAO/OptionGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OptionGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0892af5a47aecaeaa04a82c6f9875348) + * (GenCodeChecksum:3d9ef1e2ede76e804564e12cb8c2e70e) */ /** diff --git a/CRM/Core/DAO/OptionValue.php b/CRM/Core/DAO/OptionValue.php index 6d517cba38..762f8338e2 100644 --- a/CRM/Core/DAO/OptionValue.php +++ b/CRM/Core/DAO/OptionValue.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OptionValue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:613a9cc4fed472d40f1d49cf456a9711) + * (GenCodeChecksum:976770c043870752548e424a09ee7190) */ /** diff --git a/CRM/Core/DAO/Phone.php b/CRM/Core/DAO/Phone.php index 7c6afe22e3..b181d28210 100644 --- a/CRM/Core/DAO/Phone.php +++ b/CRM/Core/DAO/Phone.php @@ -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. * diff --git a/CRM/Core/DAO/PreferencesDate.php b/CRM/Core/DAO/PreferencesDate.php index cafec81099..0d24df1506 100644 --- a/CRM/Core/DAO/PreferencesDate.php +++ b/CRM/Core/DAO/PreferencesDate.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/PreferencesDate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a0d91310a76fe98662806ef3104d8f30) + * (GenCodeChecksum:65c1286e931e9eb728cc0603eb36f5f0) */ /** diff --git a/CRM/Core/DAO/PrevNextCache.php b/CRM/Core/DAO/PrevNextCache.php index a1ff559fd5..20321b93c1 100644 --- a/CRM/Core/DAO/PrevNextCache.php +++ b/CRM/Core/DAO/PrevNextCache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/PrevNextCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:eb88786d7c15dbc509450465b4fdd6a2) + * (GenCodeChecksum:b2e4e9de3ff3cf7e4cd2cc163a330186) */ /** diff --git a/CRM/Core/DAO/PrintLabel.php b/CRM/Core/DAO/PrintLabel.php index 516171a969..696b286e3a 100644 --- a/CRM/Core/DAO/PrintLabel.php +++ b/CRM/Core/DAO/PrintLabel.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/PrintLabel.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:39e91965d2ee2599f3eae8ab3b4cc7f8) + * (GenCodeChecksum:47b9dfd5441035d4594e8e9fa56147c0) */ /** diff --git a/CRM/Core/DAO/RecurringEntity.php b/CRM/Core/DAO/RecurringEntity.php index 994edba70e..6c0c82624a 100644 --- a/CRM/Core/DAO/RecurringEntity.php +++ b/CRM/Core/DAO/RecurringEntity.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/RecurringEntity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9cb2098de9f52e400a1083f996431878) + * (GenCodeChecksum:e220816a83c51a7e8045aae07d573823) */ /** diff --git a/CRM/Core/DAO/Setting.php b/CRM/Core/DAO/Setting.php index 6945563cfd..c6e97170f6 100644 --- a/CRM/Core/DAO/Setting.php +++ b/CRM/Core/DAO/Setting.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Setting.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:2eb3a69876a76a1aca598e6bfb7031a4) + * (GenCodeChecksum:5322f74fd868a3e1116a2aec225c5d5d) */ /** diff --git a/CRM/Core/DAO/StateProvince.php b/CRM/Core/DAO/StateProvince.php index 777af4481b..5647e46ae0 100644 --- a/CRM/Core/DAO/StateProvince.php +++ b/CRM/Core/DAO/StateProvince.php @@ -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. * diff --git a/CRM/Core/DAO/StatusPreference.php b/CRM/Core/DAO/StatusPreference.php index da0a13644e..4238fac6b2 100644 --- a/CRM/Core/DAO/StatusPreference.php +++ b/CRM/Core/DAO/StatusPreference.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/StatusPreference.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:bb2fbd63b6758475161446097d35804c) + * (GenCodeChecksum:c7707a17613329c62550361da0678903) */ /** diff --git a/CRM/Core/DAO/SystemLog.php b/CRM/Core/DAO/SystemLog.php index c92cbcea6b..0ac0aabc33 100644 --- a/CRM/Core/DAO/SystemLog.php +++ b/CRM/Core/DAO/SystemLog.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/SystemLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:e302c6097bd6aff575d7067c771eaef0) + * (GenCodeChecksum:cfa50c5985279e7135c046e0aeccb662) */ /** diff --git a/CRM/Core/DAO/Tag.php b/CRM/Core/DAO/Tag.php index c76428bc8e..050ac61d1d 100644 --- a/CRM/Core/DAO/Tag.php +++ b/CRM/Core/DAO/Tag.php @@ -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. * diff --git a/CRM/Core/DAO/Timezone.php b/CRM/Core/DAO/Timezone.php index bc16f905b9..f2648404dc 100644 --- a/CRM/Core/DAO/Timezone.php +++ b/CRM/Core/DAO/Timezone.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Timezone.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1a876a8f56414a6d8094669bb3ce16f8) + * (GenCodeChecksum:4f08daa9358efcad25c3405495c619f7) */ /** diff --git a/CRM/Core/DAO/UFField.php b/CRM/Core/DAO/UFField.php index d95e7cbd62..0c51d6958f 100644 --- a/CRM/Core/DAO/UFField.php +++ b/CRM/Core/DAO/UFField.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/UFField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1c306561fedcaf68fb7d1c78756edf2e) + * (GenCodeChecksum:957f3b024ca6a7560b418aee01389aec) */ /** diff --git a/CRM/Core/DAO/UFGroup.php b/CRM/Core/DAO/UFGroup.php index 06ef6672c1..df4423c695 100644 --- a/CRM/Core/DAO/UFGroup.php +++ b/CRM/Core/DAO/UFGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/UFGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:94b47a495b66ddc579bd2c3559e8af7d) + * (GenCodeChecksum:87b09ca770a4ef4a9eeec0403a7d774f) */ /** diff --git a/CRM/Core/DAO/UFJoin.php b/CRM/Core/DAO/UFJoin.php index 6fdd9f5096..e6b35adc5b 100644 --- a/CRM/Core/DAO/UFJoin.php +++ b/CRM/Core/DAO/UFJoin.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/UFJoin.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:e5418263459cb127f21a1eafeba89e4c) + * (GenCodeChecksum:c0ed1de85eee511aab82c44d39549aa4) */ /** diff --git a/CRM/Core/DAO/UFMatch.php b/CRM/Core/DAO/UFMatch.php index 3a72a545ef..ee2b034c13 100644 --- a/CRM/Core/DAO/UFMatch.php +++ b/CRM/Core/DAO/UFMatch.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/UFMatch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b10c23e083b100bb39e93f9fd8b1cf86) + * (GenCodeChecksum:c9c6016d9accdae2e80e856574c0fd5a) */ /** diff --git a/CRM/Core/DAO/Website.php b/CRM/Core/DAO/Website.php index 50ffba632e..6c12cf2879 100644 --- a/CRM/Core/DAO/Website.php +++ b/CRM/Core/DAO/Website.php @@ -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. * diff --git a/CRM/Core/DAO/WordReplacement.php b/CRM/Core/DAO/WordReplacement.php index 9e5d54137b..f8cbbab1e3 100644 --- a/CRM/Core/DAO/WordReplacement.php +++ b/CRM/Core/DAO/WordReplacement.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/WordReplacement.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:765a5a578d09ff1a4662c313438f7995) + * (GenCodeChecksum:fb2a7a67345007ac9a5c10109579bdd1) */ /** diff --git a/CRM/Core/DAO/Worldregion.php b/CRM/Core/DAO/Worldregion.php index 9d4615c1b8..618785cebc 100644 --- a/CRM/Core/DAO/Worldregion.php +++ b/CRM/Core/DAO/Worldregion.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Worldregion.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:bc0230cdd003ef494022c8d78486656e) + * (GenCodeChecksum:2f91a9ed30715b6c08bd8913d6a8fe88) */ /** diff --git a/CRM/Cxn/DAO/Cxn.php b/CRM/Cxn/DAO/Cxn.php index 08b20f3375..5956d23807 100644 --- a/CRM/Cxn/DAO/Cxn.php +++ b/CRM/Cxn/DAO/Cxn.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Cxn/Cxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4c6be1bafb940a9e87e5952364b00fb1) + * (GenCodeChecksum:5cf7a8ccd1c1453d25dce3fef34f1dbb) */ /** diff --git a/CRM/Dedupe/DAO/Exception.php b/CRM/Dedupe/DAO/Exception.php index b5d6939707..c650f68669 100644 --- a/CRM/Dedupe/DAO/Exception.php +++ b/CRM/Dedupe/DAO/Exception.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Dedupe/Exception.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:10f530a37c036ee1bd91295ed84e0c6d) + * (GenCodeChecksum:6d9c7d81ac4475428d43659344ae39b8) */ /** diff --git a/CRM/Dedupe/DAO/Rule.php b/CRM/Dedupe/DAO/Rule.php index 459714a31a..7d95879967 100644 --- a/CRM/Dedupe/DAO/Rule.php +++ b/CRM/Dedupe/DAO/Rule.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Dedupe/Rule.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7771f7be0df7716eb9372415720e1622) + * (GenCodeChecksum:682c730aac1fbf17f0cc2048e4b328f7) */ /** diff --git a/CRM/Dedupe/DAO/RuleGroup.php b/CRM/Dedupe/DAO/RuleGroup.php index f8636db879..d7c16a171a 100644 --- a/CRM/Dedupe/DAO/RuleGroup.php +++ b/CRM/Dedupe/DAO/RuleGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Dedupe/RuleGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:521bf67a7ab4ab491ff90780009e759f) + * (GenCodeChecksum:f7430387dfcfaacfd48a49d8d39d3c8b) */ /** diff --git a/CRM/Event/Cart/DAO/Cart.php b/CRM/Event/Cart/DAO/Cart.php index 6125df0f7f..bf1a2b6073 100644 --- a/CRM/Event/Cart/DAO/Cart.php +++ b/CRM/Event/Cart/DAO/Cart.php @@ -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) */ /** diff --git a/CRM/Event/Cart/DAO/EventInCart.php b/CRM/Event/Cart/DAO/EventInCart.php index aad296ee96..865af15401 100644 --- a/CRM/Event/Cart/DAO/EventInCart.php +++ b/CRM/Event/Cart/DAO/EventInCart.php @@ -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) */ /** diff --git a/CRM/Event/DAO/Event.php b/CRM/Event/DAO/Event.php index 7cd25de01e..ea4305c1da 100644 --- a/CRM/Event/DAO/Event.php +++ b/CRM/Event/DAO/Event.php @@ -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. * diff --git a/CRM/Event/DAO/Participant.php b/CRM/Event/DAO/Participant.php index c883a9f54f..34537d28fa 100644 --- a/CRM/Event/DAO/Participant.php +++ b/CRM/Event/DAO/Participant.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Event/Participant.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:25a479f6858f45acff4110a2de47bbae) + * (GenCodeChecksum:a746f8f8a28c6f945abbba148794d2c2) */ /** diff --git a/CRM/Event/DAO/ParticipantPayment.php b/CRM/Event/DAO/ParticipantPayment.php index 99f836c3df..59a5b1ba31 100644 --- a/CRM/Event/DAO/ParticipantPayment.php +++ b/CRM/Event/DAO/ParticipantPayment.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Event/ParticipantPayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:46b1d29e4240673e67e23252fd2a1e1b) + * (GenCodeChecksum:aa8546c94f2f8c9fc72109f58b80c2bc) */ /** diff --git a/CRM/Event/DAO/ParticipantStatusType.php b/CRM/Event/DAO/ParticipantStatusType.php index 028a28f168..10bdbf4ade 100644 --- a/CRM/Event/DAO/ParticipantStatusType.php +++ b/CRM/Event/DAO/ParticipantStatusType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:05084131b15d6dd7f29ad8d62df1bb82) + * (GenCodeChecksum:7390922bd58d23808a484981bd822aed) */ /** diff --git a/CRM/Financial/DAO/Currency.php b/CRM/Financial/DAO/Currency.php index c7fbee1473..fef3fec8b2 100644 --- a/CRM/Financial/DAO/Currency.php +++ b/CRM/Financial/DAO/Currency.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/Currency.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:dfa755f71113ba5258a488c28b9a1273) + * (GenCodeChecksum:a9172e230dd513e6a06f5fec2e0ddb90) */ /** diff --git a/CRM/Financial/DAO/EntityFinancialAccount.php b/CRM/Financial/DAO/EntityFinancialAccount.php index 9dafc39a71..650237fa28 100644 --- a/CRM/Financial/DAO/EntityFinancialAccount.php +++ b/CRM/Financial/DAO/EntityFinancialAccount.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4fc4867bfb36e44a31368515e6b9aad3) + * (GenCodeChecksum:e7fe0d109914d345588895ccf1838406) */ /** diff --git a/CRM/Financial/DAO/EntityFinancialTrxn.php b/CRM/Financial/DAO/EntityFinancialTrxn.php index 8d5fd5c75e..980cb84282 100644 --- a/CRM/Financial/DAO/EntityFinancialTrxn.php +++ b/CRM/Financial/DAO/EntityFinancialTrxn.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4f05ac73d1ac6b79d0c9fade6ec4adbd) + * (GenCodeChecksum:2912f015bf4110e65ee786c0ae45656c) */ /** diff --git a/CRM/Financial/DAO/FinancialAccount.php b/CRM/Financial/DAO/FinancialAccount.php index 9158cf3d67..41c4eb8c01 100644 --- a/CRM/Financial/DAO/FinancialAccount.php +++ b/CRM/Financial/DAO/FinancialAccount.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialAccount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ecd889135e73d124a753ac96a7dd05bc) + * (GenCodeChecksum:10364ea2fe3f28106488849b2c495f0b) */ /** diff --git a/CRM/Financial/DAO/FinancialItem.php b/CRM/Financial/DAO/FinancialItem.php index 0db8ea56c5..d9844515d7 100644 --- a/CRM/Financial/DAO/FinancialItem.php +++ b/CRM/Financial/DAO/FinancialItem.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b3bc1270d0d0769da2bd49b49585ac61) + * (GenCodeChecksum:d8fb58f8b09009330bcb325ebfea20e0) */ /** diff --git a/CRM/Financial/DAO/FinancialTrxn.php b/CRM/Financial/DAO/FinancialTrxn.php index 5bd0cb5b1b..77156b1951 100644 --- a/CRM/Financial/DAO/FinancialTrxn.php +++ b/CRM/Financial/DAO/FinancialTrxn.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fc046a70dcf53925768a8b28647dd6dc) + * (GenCodeChecksum:051ade878e9e6696ed4e2615e7362ae4) */ /** diff --git a/CRM/Financial/DAO/FinancialType.php b/CRM/Financial/DAO/FinancialType.php index 2a3d44bba6..349daa199d 100644 --- a/CRM/Financial/DAO/FinancialType.php +++ b/CRM/Financial/DAO/FinancialType.php @@ -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. * diff --git a/CRM/Financial/DAO/PaymentProcessor.php b/CRM/Financial/DAO/PaymentProcessor.php index 6015891295..73c0b2b928 100644 --- a/CRM/Financial/DAO/PaymentProcessor.php +++ b/CRM/Financial/DAO/PaymentProcessor.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ce0ba2d5ffb2cc00c72c3c300db8eadf) + * (GenCodeChecksum:8c42ca973c4031a67a5052682c3d73e7) */ /** diff --git a/CRM/Financial/DAO/PaymentProcessorType.php b/CRM/Financial/DAO/PaymentProcessorType.php index bdb4c8e094..85388fd7b0 100644 --- a/CRM/Financial/DAO/PaymentProcessorType.php +++ b/CRM/Financial/DAO/PaymentProcessorType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:15dff8fa9ba4df684c09d6fb8c9f0430) + * (GenCodeChecksum:f9fcb11332c6ea71f0154640b3c68fd0) */ /** diff --git a/CRM/Financial/DAO/PaymentToken.php b/CRM/Financial/DAO/PaymentToken.php index c983f9afd6..c8daffcebc 100644 --- a/CRM/Financial/DAO/PaymentToken.php +++ b/CRM/Financial/DAO/PaymentToken.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/PaymentToken.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8ceea9ee5d164fb8b69a178117a7ebb8) + * (GenCodeChecksum:86a461eda642a7a84d3a78eb9f23691d) */ /** diff --git a/CRM/Friend/DAO/Friend.php b/CRM/Friend/DAO/Friend.php index 61d6d98483..ce763be30f 100644 --- a/CRM/Friend/DAO/Friend.php +++ b/CRM/Friend/DAO/Friend.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Friend/Friend.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3d5fa2c27a1430537988ce50ac455566) + * (GenCodeChecksum:8c8c8cacf834ac9e53d14f781a844d50) */ /** diff --git a/CRM/Grant/DAO/Grant.php b/CRM/Grant/DAO/Grant.php index b61479b16b..763e987a26 100644 --- a/CRM/Grant/DAO/Grant.php +++ b/CRM/Grant/DAO/Grant.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Grant/Grant.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4ab9a294ffb22e1a8ff42103bc6f9bed) + * (GenCodeChecksum:02b3cf969c3c6b7fb7960ffca2f57eb7) */ /** diff --git a/CRM/Mailing/DAO/BouncePattern.php b/CRM/Mailing/DAO/BouncePattern.php index ad0248d4ee..ff07795a6c 100644 --- a/CRM/Mailing/DAO/BouncePattern.php +++ b/CRM/Mailing/DAO/BouncePattern.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/BouncePattern.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b6a045ddc0126618d3ee8c08a1c495b0) + * (GenCodeChecksum:b80f792e12420d9022ce8fa209051fc4) */ /** diff --git a/CRM/Mailing/DAO/BounceType.php b/CRM/Mailing/DAO/BounceType.php index d4fcce6762..a818831e74 100644 --- a/CRM/Mailing/DAO/BounceType.php +++ b/CRM/Mailing/DAO/BounceType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/BounceType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fda474bf7647672115d82925ba255f6d) + * (GenCodeChecksum:d85cecf66659cee08c967e8671ba7b6d) */ /** diff --git a/CRM/Mailing/DAO/Mailing.php b/CRM/Mailing/DAO/Mailing.php index 3fd0735bff..0f754955da 100644 --- a/CRM/Mailing/DAO/Mailing.php +++ b/CRM/Mailing/DAO/Mailing.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/Mailing.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:e64cedbbdd4a36410257c174d92faae4) + * (GenCodeChecksum:e2de6d8875a7f838b190810bcec4e27e) */ /** diff --git a/CRM/Mailing/DAO/MailingAB.php b/CRM/Mailing/DAO/MailingAB.php index c81af427b2..9b4572a42f 100644 --- a/CRM/Mailing/DAO/MailingAB.php +++ b/CRM/Mailing/DAO/MailingAB.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingAB.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:175573c32fef00a9a00350db020b1696) + * (GenCodeChecksum:1308702399d924188a14948adb1a8a3f) */ /** diff --git a/CRM/Mailing/DAO/MailingComponent.php b/CRM/Mailing/DAO/MailingComponent.php index 1633191ed1..a226619b4d 100644 --- a/CRM/Mailing/DAO/MailingComponent.php +++ b/CRM/Mailing/DAO/MailingComponent.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingComponent.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c7300c29b273a7e479cd5b77bc951be8) + * (GenCodeChecksum:c0dc3b9eb926996a014984996efa7da3) */ /** diff --git a/CRM/Mailing/DAO/MailingGroup.php b/CRM/Mailing/DAO/MailingGroup.php index 031e68b946..22c7bf605d 100644 --- a/CRM/Mailing/DAO/MailingGroup.php +++ b/CRM/Mailing/DAO/MailingGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fca3e29764697a459aa7d5000fec50b5) + * (GenCodeChecksum:88cec18ec4ae0f83580267d64c0ddbd3) */ /** diff --git a/CRM/Mailing/DAO/MailingJob.php b/CRM/Mailing/DAO/MailingJob.php index 0fd88a85e2..0018b8c066 100644 --- a/CRM/Mailing/DAO/MailingJob.php +++ b/CRM/Mailing/DAO/MailingJob.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingJob.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1b9f973abaa13e77251c3082a4fa7363) + * (GenCodeChecksum:16d3f472e9379145910fa49ef5d2576a) */ /** diff --git a/CRM/Mailing/DAO/Recipients.php b/CRM/Mailing/DAO/Recipients.php index 8d1b9d4eac..ecbfe5d621 100644 --- a/CRM/Mailing/DAO/Recipients.php +++ b/CRM/Mailing/DAO/Recipients.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/Recipients.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fc6a72dcf5e8f2519fc503568b048b74) + * (GenCodeChecksum:7428211457ae09e5130c0cbcd33c30db) */ /** diff --git a/CRM/Mailing/DAO/Spool.php b/CRM/Mailing/DAO/Spool.php index 35bf153891..2e978a70da 100644 --- a/CRM/Mailing/DAO/Spool.php +++ b/CRM/Mailing/DAO/Spool.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/Spool.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:20306dd6c4ce1990d47a78f8cd42606a) + * (GenCodeChecksum:c682e199c6d4026f4b2e00c184d066ae) */ /** diff --git a/CRM/Mailing/DAO/TrackableURL.php b/CRM/Mailing/DAO/TrackableURL.php index dc6f6cc592..5fce2651ea 100644 --- a/CRM/Mailing/DAO/TrackableURL.php +++ b/CRM/Mailing/DAO/TrackableURL.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/TrackableURL.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a3235a7f9b19cd9594dab7408265f615) + * (GenCodeChecksum:c783ac33364c2caa8e884035cf529358) */ /** diff --git a/CRM/Mailing/Event/DAO/Bounce.php b/CRM/Mailing/Event/DAO/Bounce.php index da494bb5c3..f4529f95ac 100644 --- a/CRM/Mailing/Event/DAO/Bounce.php +++ b/CRM/Mailing/Event/DAO/Bounce.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Confirm.php b/CRM/Mailing/Event/DAO/Confirm.php index e7e6417e92..bdb0f812ec 100644 --- a/CRM/Mailing/Event/DAO/Confirm.php +++ b/CRM/Mailing/Event/DAO/Confirm.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Delivered.php b/CRM/Mailing/Event/DAO/Delivered.php index e7a3b5f31a..2efbb1a06f 100644 --- a/CRM/Mailing/Event/DAO/Delivered.php +++ b/CRM/Mailing/Event/DAO/Delivered.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Forward.php b/CRM/Mailing/Event/DAO/Forward.php index 3df2bd70ea..dc1702c8bd 100644 --- a/CRM/Mailing/Event/DAO/Forward.php +++ b/CRM/Mailing/Event/DAO/Forward.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Opened.php b/CRM/Mailing/Event/DAO/Opened.php index b3df0ae769..430730bf6f 100644 --- a/CRM/Mailing/Event/DAO/Opened.php +++ b/CRM/Mailing/Event/DAO/Opened.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Queue.php b/CRM/Mailing/Event/DAO/Queue.php index d85953da87..ea55a2f50f 100644 --- a/CRM/Mailing/Event/DAO/Queue.php +++ b/CRM/Mailing/Event/DAO/Queue.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Reply.php b/CRM/Mailing/Event/DAO/Reply.php index c6b462e227..3389b73e04 100644 --- a/CRM/Mailing/Event/DAO/Reply.php +++ b/CRM/Mailing/Event/DAO/Reply.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Subscribe.php b/CRM/Mailing/Event/DAO/Subscribe.php index ae51468cef..d2d20ccb4f 100644 --- a/CRM/Mailing/Event/DAO/Subscribe.php +++ b/CRM/Mailing/Event/DAO/Subscribe.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/TrackableURLOpen.php b/CRM/Mailing/Event/DAO/TrackableURLOpen.php index e4e40d6f95..345a08d959 100644 --- a/CRM/Mailing/Event/DAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/DAO/TrackableURLOpen.php @@ -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) */ /** diff --git a/CRM/Mailing/Event/DAO/Unsubscribe.php b/CRM/Mailing/Event/DAO/Unsubscribe.php index c351b71e57..04521a5348 100644 --- a/CRM/Mailing/Event/DAO/Unsubscribe.php +++ b/CRM/Mailing/Event/DAO/Unsubscribe.php @@ -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) */ /** diff --git a/CRM/Member/DAO/Membership.php b/CRM/Member/DAO/Membership.php index ab9743aca9..3b4cc63562 100644 --- a/CRM/Member/DAO/Membership.php +++ b/CRM/Member/DAO/Membership.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/Membership.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c69464029008f62263d9befb37b79391) + * (GenCodeChecksum:497f88dd714287acb6b42017dc0b7cd3) */ /** diff --git a/CRM/Member/DAO/MembershipBlock.php b/CRM/Member/DAO/MembershipBlock.php index eabb31bbfc..244cf0f9d2 100644 --- a/CRM/Member/DAO/MembershipBlock.php +++ b/CRM/Member/DAO/MembershipBlock.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/MembershipBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5e9363fa5064faee6dc27f96afcb4cf3) + * (GenCodeChecksum:687b0ecc1e487ede5c4c5719da6e3909) */ /** diff --git a/CRM/Member/DAO/MembershipLog.php b/CRM/Member/DAO/MembershipLog.php index ebb957e58d..bb220ae47e 100644 --- a/CRM/Member/DAO/MembershipLog.php +++ b/CRM/Member/DAO/MembershipLog.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/MembershipLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7374d7db00c9fe6e86a696434b8bba6f) + * (GenCodeChecksum:9766c309b84737eab95138742c8437b6) */ /** diff --git a/CRM/Member/DAO/MembershipPayment.php b/CRM/Member/DAO/MembershipPayment.php index 473e59f279..06b6d80a01 100644 --- a/CRM/Member/DAO/MembershipPayment.php +++ b/CRM/Member/DAO/MembershipPayment.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/MembershipPayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:19e551db721c6a286c81456c16568bea) + * (GenCodeChecksum:da6d071abd8e0d0353dabb2afc00d2bc) */ /** diff --git a/CRM/Member/DAO/MembershipStatus.php b/CRM/Member/DAO/MembershipStatus.php index 94ec0409d5..971d5a7f9a 100644 --- a/CRM/Member/DAO/MembershipStatus.php +++ b/CRM/Member/DAO/MembershipStatus.php @@ -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. * diff --git a/CRM/Member/DAO/MembershipType.php b/CRM/Member/DAO/MembershipType.php index 3407bf9977..61717183f0 100644 --- a/CRM/Member/DAO/MembershipType.php +++ b/CRM/Member/DAO/MembershipType.php @@ -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. * diff --git a/CRM/PCP/DAO/PCP.php b/CRM/PCP/DAO/PCP.php index 44e31fff1e..20082ae7a5 100644 --- a/CRM/PCP/DAO/PCP.php +++ b/CRM/PCP/DAO/PCP.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/PCP/PCP.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6799d7afab4c8caeb518d19653090978) + * (GenCodeChecksum:133163f158f7a842a37e9dba4da2b648) */ /** diff --git a/CRM/PCP/DAO/PCPBlock.php b/CRM/PCP/DAO/PCPBlock.php index e11b5782ed..a5a7a16ffd 100644 --- a/CRM/PCP/DAO/PCPBlock.php +++ b/CRM/PCP/DAO/PCPBlock.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/PCP/PCPBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4e188de537dbafef837dcc55947ee1b4) + * (GenCodeChecksum:0faa54e4d68236817b226432e5bd9345) */ /** diff --git a/CRM/Pledge/DAO/Pledge.php b/CRM/Pledge/DAO/Pledge.php index cd7952b522..c9ff550a9b 100644 --- a/CRM/Pledge/DAO/Pledge.php +++ b/CRM/Pledge/DAO/Pledge.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Pledge/Pledge.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6c3c68d4e00946adbfbc368e87d72a36) + * (GenCodeChecksum:8a17ba664d9a2c65860be67652def7f5) */ /** diff --git a/CRM/Pledge/DAO/PledgeBlock.php b/CRM/Pledge/DAO/PledgeBlock.php index 048230641b..03218aae33 100644 --- a/CRM/Pledge/DAO/PledgeBlock.php +++ b/CRM/Pledge/DAO/PledgeBlock.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:044b9e8fedad0a0e71621172f92bddfb) + * (GenCodeChecksum:47f6d38b1b268722741b09f95a0280c7) */ /** diff --git a/CRM/Pledge/DAO/PledgePayment.php b/CRM/Pledge/DAO/PledgePayment.php index ffbca53c75..0d3fdc6763 100644 --- a/CRM/Pledge/DAO/PledgePayment.php +++ b/CRM/Pledge/DAO/PledgePayment.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Pledge/PledgePayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4daa04efc77569c5e172fb2c92c956b2) + * (GenCodeChecksum:8055dbf00528ceb9dc2eaf626f5bfebc) */ /** diff --git a/CRM/Price/DAO/LineItem.php b/CRM/Price/DAO/LineItem.php index 262413aa4d..16cc02060e 100644 --- a/CRM/Price/DAO/LineItem.php +++ b/CRM/Price/DAO/LineItem.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/LineItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:eeaf69c8d27acbb7ad4dd4eba0c587d7) + * (GenCodeChecksum:352b3e74d3a66e445f53670cecaf6d02) */ /** diff --git a/CRM/Price/DAO/PriceField.php b/CRM/Price/DAO/PriceField.php index ec4c8e9d66..ecc417bc3a 100644 --- a/CRM/Price/DAO/PriceField.php +++ b/CRM/Price/DAO/PriceField.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/PriceField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:82c753fc735a0a09af3c426fff7603cf) + * (GenCodeChecksum:80c222a0dfea9ae97009c96e010fce90) */ /** diff --git a/CRM/Price/DAO/PriceFieldValue.php b/CRM/Price/DAO/PriceFieldValue.php index 25791f373c..e030da529c 100644 --- a/CRM/Price/DAO/PriceFieldValue.php +++ b/CRM/Price/DAO/PriceFieldValue.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/PriceFieldValue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:d01e238a4afcdf6b79cc2dc59987361d) + * (GenCodeChecksum:4556e03b68f88f9fe61520ba3aa88be7) */ /** diff --git a/CRM/Price/DAO/PriceSet.php b/CRM/Price/DAO/PriceSet.php index 223ff10f4a..2a380a54de 100644 --- a/CRM/Price/DAO/PriceSet.php +++ b/CRM/Price/DAO/PriceSet.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/PriceSet.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9252b0d8247c5419198250cbf0a2a9d4) + * (GenCodeChecksum:4fe369dcc2eb277bdbb04d52be2d4a55) */ /** diff --git a/CRM/Price/DAO/PriceSetEntity.php b/CRM/Price/DAO/PriceSetEntity.php index 9f28417ca1..fdae7c0017 100644 --- a/CRM/Price/DAO/PriceSetEntity.php +++ b/CRM/Price/DAO/PriceSetEntity.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/PriceSetEntity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b85629f3ae24a3f503327a5d60f4f17f) + * (GenCodeChecksum:2432785fb15a3b0c707ef841e9a7ceb8) */ /** diff --git a/CRM/Queue/DAO/QueueItem.php b/CRM/Queue/DAO/QueueItem.php index 8eb9f6476e..36e5c9df15 100644 --- a/CRM/Queue/DAO/QueueItem.php +++ b/CRM/Queue/DAO/QueueItem.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Queue/QueueItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:2ec3738d4db4ad5473162176d25f552c) + * (GenCodeChecksum:80b0f2b14031c2b5de3a9d81371a5b01) */ /** diff --git a/CRM/Report/DAO/ReportInstance.php b/CRM/Report/DAO/ReportInstance.php index 84c5491503..dc37d97d8b 100644 --- a/CRM/Report/DAO/ReportInstance.php +++ b/CRM/Report/DAO/ReportInstance.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Report/ReportInstance.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7c11a51cc566e33761a9f06522c43bbd) + * (GenCodeChecksum:e60478dd772b18e57443ff1cd0d1c72e) */ /** diff --git a/CRM/SMS/DAO/Provider.php b/CRM/SMS/DAO/Provider.php index e335813439..5d4ac4e2a3 100644 --- a/CRM/SMS/DAO/Provider.php +++ b/CRM/SMS/DAO/Provider.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/SMS/Provider.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6501ba50ba1ce7df2d0408cc78bb012c) + * (GenCodeChecksum:a30b3fc9b4995ff366e829f75368ec0a) */ /** diff --git a/Civi/Api4/Entity.php b/Civi/Api4/Entity.php index 7bb80be3d1..5689252494 100644 --- a/Civi/Api4/Entity.php +++ b/Civi/Api4/Entity.php @@ -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', diff --git a/Civi/Api4/Generic/AbstractEntity.php b/Civi/Api4/Generic/AbstractEntity.php index 1c69eae15e..ae17fcdd34 100644 --- a/Civi/Api4/Generic/AbstractEntity.php +++ b/Civi/Api4/Generic/AbstractEntity.php @@ -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) { diff --git a/xml/schema/Activity/Activity.xml b/xml/schema/Activity/Activity.xml index 2a1dde72ea..3f7ee3169c 100644 --- a/xml/schema/Activity/Activity.xml +++ b/xml/schema/Activity/Activity.xml @@ -7,6 +7,7 @@ 1.1 true fa-tasks + subject civicrm/activity?reset=1&action=add&context=standalone civicrm/activity?reset=1&action=view&id=[id] diff --git a/xml/schema/Campaign/Campaign.xml b/xml/schema/Campaign/Campaign.xml index 99f1c19cf3..3610464350 100644 --- a/xml/schema/Campaign/Campaign.xml +++ b/xml/schema/Campaign/Campaign.xml @@ -6,6 +6,7 @@ Campaign Details. 3.3 fa-bullhorn + title CiviCampaign civicrm/campaign/add?reset=1 diff --git a/xml/schema/Campaign/Survey.xml b/xml/schema/Campaign/Survey.xml index dc41dbeefa..821af4bd4f 100644 --- a/xml/schema/Campaign/Survey.xml +++ b/xml/schema/Campaign/Survey.xml @@ -6,6 +6,7 @@ Campaign Survey Details. 3.2 fa-clipboard + title CiviCampaign id diff --git a/xml/schema/Case/Case.xml b/xml/schema/Case/Case.xml index ed1dba9d79..8ecbf21cd7 100644 --- a/xml/schema/Case/Case.xml +++ b/xml/schema/Case/Case.xml @@ -7,6 +7,7 @@ 1.8 true fa-folder-open + subject CiviCase id diff --git a/xml/schema/Contact/Contact.xml b/xml/schema/Contact/Contact.xml index 6002cc6f46..33c33703c2 100644 --- a/xml/schema/Contact/Contact.xml +++ b/xml/schema/Contact/Contact.xml @@ -8,6 +8,7 @@ 1.1 true fa-address-book-o + display_name civicrm/contact/add?reset=1&ct=[contact_type] civicrm/contact/view?reset=1&cid=[id] diff --git a/xml/schema/Contact/Group.xml b/xml/schema/Contact/Group.xml index e694a6a666..9dfd7fc857 100644 --- a/xml/schema/Contact/Group.xml +++ b/xml/schema/Contact/Group.xml @@ -8,6 +8,7 @@ 1.1 true fa-users + title civicrm/group/add?reset=1 diff --git a/xml/schema/Contribute/ContributionPage.xml b/xml/schema/Contribute/ContributionPage.xml index ec39744138..a8db2380f4 100644 --- a/xml/schema/Contribute/ContributionPage.xml +++ b/xml/schema/Contribute/ContributionPage.xml @@ -8,6 +8,7 @@ 1.3 true CiviContribute + title id Contribution Page ID diff --git a/xml/schema/Contribute/Product.xml b/xml/schema/Contribute/Product.xml index 2f4e32485c..e75c938d86 100644 --- a/xml/schema/Contribute/Product.xml +++ b/xml/schema/Contribute/Product.xml @@ -8,6 +8,7 @@ 1.4 true CiviContribute + name id Product ID diff --git a/xml/schema/Core/Country.xml b/xml/schema/Core/Country.xml index fdf1173165..051ce788ce 100644 --- a/xml/schema/Core/Country.xml +++ b/xml/schema/Core/Country.xml @@ -5,6 +5,7 @@ Country civicrm_country 1.1 + name id Country ID diff --git a/xml/schema/Core/County.xml b/xml/schema/Core/County.xml index 936064e9eb..db959aa660 100644 --- a/xml/schema/Core/County.xml +++ b/xml/schema/Core/County.xml @@ -5,6 +5,7 @@ County civicrm_county 1.1 + name id County ID diff --git a/xml/schema/Core/CustomField.xml b/xml/schema/Core/CustomField.xml index 54cd5c5d74..4232753f6f 100644 --- a/xml/schema/Core/CustomField.xml +++ b/xml/schema/Core/CustomField.xml @@ -7,6 +7,7 @@ Stores info about an extended (custom) property (data and form field info). 1.1 true + label id int unsigned diff --git a/xml/schema/Core/CustomGroup.xml b/xml/schema/Core/CustomGroup.xml index e21458ecba..018e05bd22 100644 --- a/xml/schema/Core/CustomGroup.xml +++ b/xml/schema/Core/CustomGroup.xml @@ -8,6 +8,7 @@ 1.1 true + title id int unsigned diff --git a/xml/schema/Core/Email.xml b/xml/schema/Core/Email.xml index 3a07e9e06a..4a2bbe2615 100644 --- a/xml/schema/Core/Email.xml +++ b/xml/schema/Core/Email.xml @@ -8,6 +8,7 @@ 1.1 true fa-envelope-o + email id Email ID diff --git a/xml/schema/Core/IM.xml b/xml/schema/Core/IM.xml index 58ca90324d..f521fb645a 100644 --- a/xml/schema/Core/IM.xml +++ b/xml/schema/Core/IM.xml @@ -10,6 +10,7 @@ Instant Messaging Instant Messaging fa-comments-o + name id Instant Messenger ID diff --git a/xml/schema/Core/Navigation.xml b/xml/schema/Core/Navigation.xml index 5de7ea9d37..bc9dc654e7 100644 --- a/xml/schema/Core/Navigation.xml +++ b/xml/schema/Core/Navigation.xml @@ -6,6 +6,7 @@ civicrm_navigation Table to store navigation. 3.0 + label id Navigation ID diff --git a/xml/schema/Core/Phone.xml b/xml/schema/Core/Phone.xml index eb0ad8e1f6..007ffa8486 100644 --- a/xml/schema/Core/Phone.xml +++ b/xml/schema/Core/Phone.xml @@ -8,6 +8,7 @@ 1.1 true fa-phone + phone id Phone ID diff --git a/xml/schema/Core/StateProvince.xml b/xml/schema/Core/StateProvince.xml index 3963138abb..f2352e0592 100644 --- a/xml/schema/Core/StateProvince.xml +++ b/xml/schema/Core/StateProvince.xml @@ -7,6 +7,7 @@ 1.1 State/Province States/Provinces + name id State ID diff --git a/xml/schema/Core/Tag.xml b/xml/schema/Core/Tag.xml index 6ea2e8e1e2..43229977b6 100644 --- a/xml/schema/Core/Tag.xml +++ b/xml/schema/Core/Tag.xml @@ -8,6 +8,7 @@ 1.1 true fa-tag + name id Tag ID diff --git a/xml/schema/Core/Website.xml b/xml/schema/Core/Website.xml index e94f80ecc2..f9e8e0ea7a 100644 --- a/xml/schema/Core/Website.xml +++ b/xml/schema/Core/Website.xml @@ -7,6 +7,7 @@ Website information for a specific location. 3.2 fa-desktop + url id int unsigned diff --git a/xml/schema/Event/Event.xml b/xml/schema/Event/Event.xml index 6bef35f231..e6682fe97f 100644 --- a/xml/schema/Event/Event.xml +++ b/xml/schema/Event/Event.xml @@ -7,6 +7,7 @@ 1.7 true fa-calendar + title CiviEvent civicrm/event/add?reset=1 diff --git a/xml/schema/Financial/FinancialType.xml b/xml/schema/Financial/FinancialType.xml index 09530a7ae3..43b0ce68a9 100644 --- a/xml/schema/Financial/FinancialType.xml +++ b/xml/schema/Financial/FinancialType.xml @@ -8,6 +8,7 @@ Formerly civicrm_contribution_type merged into this table in 4.3 true CiviContribute + name id Financial Type ID diff --git a/xml/schema/Member/MembershipStatus.xml b/xml/schema/Member/MembershipStatus.xml index becbbc6391..15201307d3 100644 --- a/xml/schema/Member/MembershipStatus.xml +++ b/xml/schema/Member/MembershipStatus.xml @@ -8,6 +8,7 @@ 1.5 true CiviMember + label id Membership Status ID diff --git a/xml/schema/Member/MembershipType.xml b/xml/schema/Member/MembershipType.xml index bf2223bcb9..8316e655b7 100644 --- a/xml/schema/Member/MembershipType.xml +++ b/xml/schema/Member/MembershipType.xml @@ -8,6 +8,7 @@ 1.5 true CiviMember + name id Membership Type ID diff --git a/xml/templates/dao.tpl b/xml/templates/dao.tpl index f3ee241333..e9e94f70c3 100644 --- a/xml/templates/dao.tpl +++ b/xml/templates/dao.tpl @@ -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. *