SearchKit - Add translatable descriptions to entities
authorColeman Watts <coleman@civicrm.org>
Mon, 14 Jun 2021 12:49:38 +0000 (08:49 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 17 Jun 2021 01:01:09 +0000 (21:01 -0400)
Before: Entities had descriptions derived from code comments, which were written for developers and English-only
After: Entities can have a user-friendly description which is translated

168 files changed:
CRM/ACL/DAO/ACL.php
CRM/ACL/DAO/ACLCache.php
CRM/ACL/DAO/ACLEntityRole.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/Translation.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/DedupeException.php
CRM/Dedupe/DAO/DedupeRule.php
CRM/Dedupe/DAO/DedupeRuleGroup.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/Generic/AbstractEntity.php
xml/schema/Activity/Activity.xml
xml/schema/Campaign/Campaign.xml
xml/schema/Case/Case.xml
xml/schema/Contact/Contact.xml
xml/schema/Contribute/Contribution.xml
xml/schema/Event/Event.xml
xml/schema/Event/Participant.xml
xml/schema/Grant/Grant.xml
xml/schema/Mailing/Mailing.xml
xml/schema/Member/Membership.xml
xml/schema/Pledge/Pledge.xml
xml/templates/dao.tpl

index 224fdba98c23935a1a350d2072ba526cba1e46f7..4bddbd0eb78960001506c6f1f6991eb9c56e0f63 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b7a575fdf29260fa003d73bd4d5942c5)
+ * (GenCodeChecksum:709746b9e63da79d9ee75de3a0687db4)
  */
 
 /**
index cad2946ce483dcad46aafe0bd86e4b91dc8a4950..7fbc4bfaa64f1ccba2ef8942553e79b04c31b1dd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:63a707737221d2c70efbc51d58711209)
+ * (GenCodeChecksum:6593794a6e82670ad992cc331c22f33e)
  */
 
 /**
index 57a8a5d0e4e17cfd0687ba7f2bdc1ad8d8d580ba..b085e2e640e06a8097f2f78a82477ce806835f43 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:db754438e4d852834a61b3d38b6a48dc)
+ * (GenCodeChecksum:fe3bd0baaffcc93590b3285c6cf96fc1)
  */
 
 /**
index f065ad021b7a293ac4b16af1100d4d281f57d9d8..3fd10d995eacf2dc8e0a904d25627a3256500f7c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/Activity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e86dd56976cbc807306691e8fa94b0d)
+ * (GenCodeChecksum:3724c8dbc64bff361edd263e78780dbe)
  */
 
 /**
@@ -253,6 +253,15 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
     return $plural ? ts('Activities') : ts('Activity');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Past or future actions concerning one or more contacts.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index e155ecf0b180724527e99742428189911aab029d..cb434a9a451c3f896ff4ae47049ef50b1296b2ec 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0b5f5392a9786a52d7120f48d363092b)
+ * (GenCodeChecksum:9d55ecc09cc160c1cc41485bf7d026ef)
  */
 
 /**
index 54ace21e85f6a5c0412c7870aacbcfe6bc8df346..4b303f08660dfd9f3353d06043ca920daef5dde4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:960030e220b16f07d0b225e48a3ef2af)
+ * (GenCodeChecksum:965795e9c5cb8876ff6198abee5ffc71)
  */
 
 /**
index f93193b3a645fc3f9a320aa36994136b1daba48c..c3108dae19581b8c281ff6a086ab84bcf8fc6375 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/EntityBatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b44598a5cc827e632f2c9fb663f2bed3)
+ * (GenCodeChecksum:9a6509e0c6f8869d4cdaeebd7e0073a3)
  */
 
 /**
index 25ebb4f9822158633954fd387e1e804738cf68c0..882f5b8deddeed49d6963ba098db202dd5e0eeba 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Campaign.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a27331994abb64995fc5491434eeed7f)
+ * (GenCodeChecksum:9d4da1f7966af86e8426aa449826f41c)
  */
 
 /**
@@ -193,6 +193,15 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
     return $plural ? ts('Campaigns') : ts('Campaign');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Campaigns link activities, contributions, mailings, etc. that share a programmatic goal.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 7750d453874e760bb6e880fd8cf95e3a0e4b5d01..4e57abbf6c592016faff5d32e752655e95dbf122 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cc4c72732eccbe071147fea0abb4aef)
+ * (GenCodeChecksum:223af3013edf80baca1b0cde031cad41)
  */
 
 /**
index f3fb7e1bec008fc2818ac6e9f169f2bcc7327df1..ff8493c33f60235a6a77193924c8aa70bba303ae 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Survey.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:64142d8dce39f27b66b36f62ba137b74)
+ * (GenCodeChecksum:4b168e929887a0c86a634bb72d4f317a)
  */
 
 /**
index 79798ad08383c98a6e9fc13cdd91fcbef4243632..9d5a50a43349c80a12ed8955c9e4faa417e292d6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/Case.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:27e15fc1d0e3517884c9773d25806620)
+ * (GenCodeChecksum:1ae35a7a60938212678c1585defc3506)
  */
 
 /**
@@ -131,6 +131,15 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
     return $plural ? ts('Cases') : ts('Case');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Collections of activities and relationships for a given purpose.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index a3176fdcb5585c9f0850dcdd7cd070e00ff4b210..d887ef82de6117adb2eafed66d31bf7e1d1611c4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseActivity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d100a5f236a3bb8d64c4aaa61b8c6c2c)
+ * (GenCodeChecksum:e5c1c45fc5dc666a02a3c1e872ba9a2b)
  */
 
 /**
index fdee0d96dd9c57b8969e274b28529c260bf99436..5cafa972a8475bb165a3c710bec4ffd0615c7af2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18adf9ee53d1c7f6c5eddfc1e6b8709d)
+ * (GenCodeChecksum:e7ecd6e1648086f8925bad0dda6bec31)
  */
 
 /**
index 5e7ef8c341ab5d69fb537fc54d1c1b0f0b05b738..ec47d3d698c98964e15c18fba2f788ee4170c67e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b2ffb684b29a774f07bd06851722f17d)
+ * (GenCodeChecksum:9080f32e76695319d1e6110372c0900c)
  */
 
 /**
index 9279d1dab13b2de6e4836462d0f8954024d46c07..50bdac46fbba21f3efc234e63a0af4bb8cc4f588 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e1095c2503a3ec13bd3f781ce1df1aaf)
+ * (GenCodeChecksum:912d65e10ee9243dfa3cbe089e2a4ae3)
  */
 
 /**
index 505b150ed560aa03e16182fd057c47edcb6cbf22..2d92c545d622bb3d442aa58f7ee836f363e403d3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aa86c226e54f7c7f8a8ad6b5e8c8aa5a)
+ * (GenCodeChecksum:5a83ff9bd2a1837caa260151fa56f3ac)
  */
 
 /**
@@ -424,6 +424,15 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
     return $plural ? ts('Contacts') : ts('Contact');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Individuals, organizations, households, etc.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 63d4d17a17b8ee03600a277866379522fe53f2b5..26db28868a1b5ae41eb4f66ed41756982a0dafe7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:40856f91e0f1928df248e985eb4ae479)
+ * (GenCodeChecksum:f1913952f114c2ac041dfba5fef49d5d)
  */
 
 /**
index cd01949fa52f71ad2cc08c0e2fa6c02c136b00c7..8cf85d6ef71a56bc379ad35d45e1bf4332ea43da 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61c7e21d25723963142a22bca0a4840e)
+ * (GenCodeChecksum:a2eac9e772485e4a551738ad107dc209)
  */
 
 /**
index 71832748b6e272ec102f96aa6b8b1aca8c2e14b5..5631e77581ba2153c92514f220680b0726a274a8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Group.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a1580f6293c41ecbf8aa0bc2f6246d36)
+ * (GenCodeChecksum:29b3646b12fccdf8a2d561dc483c8980)
  */
 
 /**
index 9271b0143774fd5d128e52d87f7af16f1835b091..a00fcd6728bf2bf67670797677fed307f6cc6657 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9f48934735df21bb6b4f9a5d7e1bd70b)
+ * (GenCodeChecksum:53a34c1b6c96fe915f0ab57b93994b72)
  */
 
 /**
index 50523339055c0d9e010a99d6fe706e71002fef2d..5b5e5bfa96d10b1476cf8de8dce47d58ab0e87ad 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:294c8ab665d49fcddebe5d1d79307dd4)
+ * (GenCodeChecksum:26ac45cd1045e34353ef787013eeb84c)
  */
 
 /**
index 9359b59fa22f53c57e2f1e49566dceef79c4d2ba..80d27a44d7695a875ba9a6b682c3d343ed211a9c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupNesting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4b5533a1c6ef550d3057dee8ce53efc)
+ * (GenCodeChecksum:a2d08c11cd6a0aedbcdf816fdb772839)
  */
 
 /**
index 9fee19ee270a5ab9cac8b1c546e12d1c2fef0e6b..807465028f697ca83edb4b6235b2a0c7200148f0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18934ada33c41380e719798d5f8550e8)
+ * (GenCodeChecksum:406b553dbbfbfbf54fa3d32bc1e9fecc)
  */
 
 /**
index 211536c505bba9013c9d55ed813c39349a252ebe..5c2783fceed22e16ead33b44b4cb87b8a89a1422 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Relationship.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a10cc7576dc2353519a6c572435fb10a)
+ * (GenCodeChecksum:402d6e2cc8ffa3be531d291a20f59560)
  */
 
 /**
index e61073232a58cd242e35ed36401436916352e5a0..2adb4eea5cde731776789c5be29aa9ef39863b85 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dd52d37d1350a679b727c906ea37661b)
+ * (GenCodeChecksum:0ebd9cc2623ee84848476636cfe86dcb)
  */
 
 /**
index 38ff8fc775e7625d639e5ce5585485a90bff1b29..7b8d02c91c1e81ab1743c0e50e3a974db598b9f6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:900900618e15312139bf51a922485802)
+ * (GenCodeChecksum:59f2be616e7324c1a2b34e840b24beb2)
  */
 
 /**
index 2f607703c1b0b3c453b1a32e81c599059c3ffc81..c0ecd2a212d3c9626139c8ef968a7f7feb6feed1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a25df5165c48a42f0280efe9eb262d5)
+ * (GenCodeChecksum:c884fe02dfd203d381429f83672e1a9e)
  */
 
 /**
index 5de4c8515cdfa97ee6767c8ce51ef5044ea82362..9aa23278b50e1b88c3ddbe2f8a4b3aac9704951f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58a499585518faad19d52d57dfb1f1ba)
+ * (GenCodeChecksum:f5eb6517b054998df7a07e5a81874a1b)
  */
 
 /**
index 2c2f90e7ed69988b50c65d07415805140ef409bc..85144ddce32d4f789a45131fb348d0f9356eceb3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ef0d9ea550f1f00e6f995bcb8270e0d)
+ * (GenCodeChecksum:59912e3825f18a5769be0e5be1ca01ff)
  */
 
 /**
@@ -273,6 +273,15 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
     return $plural ? ts('Contributions') : ts('Contribution');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Financial records consisting of transactions, line-items, etc.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index d28bc50de1d7647cce1eb6d6058b3be06ac02ce1..6e7510f754a367aa67b2159b12f8e833b0e2d5cd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:34ea39fcae2a3b299abcd53936219d1a)
+ * (GenCodeChecksum:bba87623f1ecb7c432b3e59cb159b5ea)
  */
 
 /**
index 28cbd8c763e64331b6037c54a409738a001e55a1..9ba71809a7130b8215d59a3df7e83bc909da84bd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:908e3aa238e68db7e91731a9c441ee18)
+ * (GenCodeChecksum:874d8c0fea5d04fa5db38546c30f8c3d)
  */
 
 /**
index daa75ed903ba5847446affac438bb679273daefa..967b890b5eab8c2f55091912c8e43cc7561ca124 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:feaacc6f0a65f84c0005249110fa4001)
+ * (GenCodeChecksum:b51d7abea248616355265be7ec255050)
  */
 
 /**
index e59dbcca77ffdfde6893a4eee39acf677047317f..6bf05ba685ff92a549c954c6ce0610ab0e81df50 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:236d3c83fd57553a2df8f4caa50d1c65)
+ * (GenCodeChecksum:48d432f2fe34f212c110e21cbd229fc5)
  */
 
 /**
index fd7dac9069ab8d54ee09ddb0ed72402f623816b8..6c9603b22d613fbe10a65c648f6901b4de344a76 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Premium.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52b14835ecf6ed706d67f6843badb693)
+ * (GenCodeChecksum:7ea059e7d6ccfe258964ab274089ac60)
  */
 
 /**
index 5df4c1b93f1d0071534b1b755025086f357076e0..35e0db7a9794aa202c89634c9329349ae8e69f0c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:add71f3063792c8442cc337808a9af17)
+ * (GenCodeChecksum:41745812fcc812419159f6a93b52a715)
  */
 
 /**
index 001335336062c07d8a493cc3b31c2b6b71d4efed..4261da5bdcd3bcb89b18b431c8ed08547180e92d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8b0ea5f8731eb9ed3702295d3169ac8)
+ * (GenCodeChecksum:b70d9c858ea4a663872931e6028b0ead)
  */
 
 /**
index e55827af3ef427210b62d451df37be04338f5c67..9891471e38e26c8355c9683296d97ae96caccfb3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Widget.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:894a949697861e0f3912e5a9d0b67aed)
+ * (GenCodeChecksum:b27e8be28af42d6dfa9a76589ed05d7b)
  */
 
 /**
index 0c379947e062eee2acfa9e4245ffd771ff89a6f5..4d476550a432971540179e10b58b20daba2eee6b 100644 (file)
@@ -226,6 +226,7 @@ class CRM_Core_CodeGen_Specification {
       'attributes_simple' => trim($database['tableAttributes_simple']),
       'attributes_modern' => trim($database['tableAttributes_modern']),
       'comment' => $this->value('comment', $tableXML),
+      'description' => $this->value('description', $tableXML),
       'localizable' => $localizable,
       'log' => $this->value('log', $tableXML, 'false'),
       'archive' => $this->value('archive', $tableXML, 'false'),
index 617c91f2a49192ec7a8bc5d63e08a88a2cfe53a0..181c39a7579528b6bb216a48e97eae1418aa141d 100644 (file)
@@ -137,6 +137,15 @@ class CRM_Core_DAO extends DB_DataObject {
     return CRM_Core_DAO_AllCoreTables::getBriefName($className);
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string|null
+   */
+  public static function getEntityDescription() {
+    return NULL;
+  }
+
   public function __clone() {
     if (!empty($this->_DB_resultid)) {
       $this->resultCopies++;
index 9015963bc4ef1b912241a4c60c3545f93938bd22..3d9b0315cf52213f47b5bd5ffc3e515986ce5cf8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a0c147177cdb17585bd74bbc836f7cb5)
+ * (GenCodeChecksum:b2a5ecdfd400bdf2fe892f9391f8a7ea)
  */
 
 /**
index d99cd9866f1fe1da9895f261fb83e2f575c8c359..a337d7dc50cdbc19d6034d6b268cda3387d60dc0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionMapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2db355e73b3c39feaecdb8e18ddf7c14)
+ * (GenCodeChecksum:bbddce29b37d3352bf681595ee0d3ffd)
  */
 
 /**
index 0b71befdf007dfbdf4f0f0f41c52d83ae34f488f..a58346853ab50118c79f74976ea68c47421e9396 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionSchedule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:48adb86fcda3fc1cb7489d95490582b5)
+ * (GenCodeChecksum:35dfd5d26ce9445b37c831c51ccc5d7e)
  */
 
 /**
index 6872c34d99a654dde46c4915cd7f88d3d032d816..0ce4ef2710ab2b23008ed182ae3b2e031bdf5341 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4da4403036bc996d0096c71c7ed226a)
+ * (GenCodeChecksum:bd0caca7da12cba4ed8161b892a77229)
  */
 
 /**
index 9e6e0983f5a56247a4d8851a69c1847a41537610..aad2567193bb1ad6b60f1d9aa8cb2eb8b68a5775 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/AddressFormat.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97f3200f7d0f056c11607371d23b2c53)
+ * (GenCodeChecksum:fc7e6c978b71e38b5357cee46708a649)
  */
 
 /**
index 56b0955e449b6977e56a36c5ff7becbedca4cf12..b1e3978b7e677875a14fbfe74701fa5c169672db 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Cache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f75fff9457efc515701d6441c5da3cfd)
+ * (GenCodeChecksum:da6b1275fea0ffb19d09613211f7628e)
  */
 
 /**
index e5a4a26fbe90a7eaf0f20e59d9ad693087be080a..54b4aa5e2db2446e8711e66a203bed0f6f807938 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Component.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:715b933f7b0163579b567da290425992)
+ * (GenCodeChecksum:fd26fa740989a13ac1d91618c2059d57)
  */
 
 /**
index 7b6649cd3a48dc77761cd03c2d628e0c2eeaf925..6a900cf5404136c6d20ba3beaa530094f9f0cf92 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e511bfb7cab9f771950ac3c5900c78e)
+ * (GenCodeChecksum:680f4faa9e939df6f6c4ba3f1efd7853)
  */
 
 /**
index 88d06ebc500eb9c88af9f26580a43e72b14f47eb..943f2d724b3b20730669e10760df8af712247c9f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:36a36257bf7ce221e17843ebeca96f19)
+ * (GenCodeChecksum:6666108a662d719144f390bf4746268d)
  */
 
 /**
index d8c977b01222de8aa9ca6cbe73c22718cc6268c4..758beb4cf98b0b7f795284ead6d09d96e08c940e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8ec2e0591921853bc86149754f5704f9)
+ * (GenCodeChecksum:b53a928be3c87ec7da4f88da3ec825b8)
  */
 
 /**
index 3798bb95dd7c45693689ef8b291e7d97748ced64..0ffa8fe4cd133027811d281c2b184ba19659d64c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ddee40c6f144396056437d29bc0337d7)
+ * (GenCodeChecksum:fbf405c2b8b04de06a84977970ae8b02)
  */
 
 /**
index 7cbae2ae9d75a3320d0e444a89f25c27cbe18a05..127a74dd9cc97a8a0da9b3db9226d2eeffe6c98d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6cb9571887b8c1d15ca18ea07b2ab757)
+ * (GenCodeChecksum:0404bd5bf3e04c20da16ec1950db8ac0)
  */
 
 /**
index f9ac08ac65a65183f3d56ed144c7de3820c0ef3a..a1d65e4876a6e9d24b970876391029a5453be662 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ef47ec0e0453218f9c5e6ce9435694f7)
+ * (GenCodeChecksum:681876b76553a2f0db5a0c0f9d18eda0)
  */
 
 /**
index dfda39051bfd582d364c0e03f13c1bfaa59a69cb..743582be7d37f6c34b8eba4bb0a9eeb0c40aed6c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Domain.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90abce1cfca0d365b4ff49fadad001b2)
+ * (GenCodeChecksum:e10798e1d9921d637856a2dfcf7738dc)
  */
 
 /**
index 36081e21866ba276e422bdf90b37bc11c1bc9b02..d72c3b3b85632d661fc5567ef22ebce50158687d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4c29213d7bce543125d95b77efa03bbd)
+ * (GenCodeChecksum:84e4a7efb791b5e3ed3b7d7fc9e21a09)
  */
 
 /**
index d26286a44b80d7a7f296c1861bb02039e9b97de2..6b86fd5d4117c413a411c496771a043ab75e22ee 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityFile.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37cc0051ec4b2d54eeeefe4c4d004b6d)
+ * (GenCodeChecksum:db6759b7a93a170611ad4eb003cb9f54)
  */
 
 /**
index a7bac1ac8ebed6d5d0cf267ec6801544c89949d6..c5ed9f3f325cba4415fa88bf71c5cb4bf4619589 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityTag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a73f1ade107530181eeb073fd39fc950)
+ * (GenCodeChecksum:c5bfb60ebd84dbe86b8dd8b522fd11e6)
  */
 
 /**
index e2371a50c8c5a7e63bdae4654970c88ac5f1353f..389961ba3264fa39a6c69b889a1a274d8f227d16 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Extension.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b979161a3a2ef67738823c85fb902876)
+ * (GenCodeChecksum:8d9c173c0d7da38d4c28c6b712aecee0)
  */
 
 /**
index 9b1627cff87e49f631467deb5fcf1c56571d7cfb..51ffc3b345001cc414a8eb8a7c9f712b02794378 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/File.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7a720dc32168f5e3b5c21226a1daa564)
+ * (GenCodeChecksum:6bf3c3f06e1c01d91a6c6cf5ada7a889)
  */
 
 /**
index d4869d7e0129ef9b10cd2efd2aa336d53306dce8..5faf041d315d94331926d4ad99e0af0f396f3ff3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/IM.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc655887019b64f21d96c5eff7040972)
+ * (GenCodeChecksum:179c338e66288123b7ca45c78ad57fcc)
  */
 
 /**
index 62e640fc4b3b1886389e86e085db9d31171aca96..284cb4da1b249664595dff39924ac2ce79a07b02 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c999b0d2442859f0c0e5e18de30f2eb2)
+ * (GenCodeChecksum:e5798e1ce73654af23730d7188a0c963)
  */
 
 /**
index daa54b465b5c7daf0695c9d83fd9fb39834a87b0..9f73d5f82c658b56691b7ecb67ae2fa6c66a5532 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3aa1cb73c46b5f34cd44a1a37a981722)
+ * (GenCodeChecksum:6677b28207cbf86835164b7b33c38608)
  */
 
 /**
index d947b7fdb7358b02f9b139d794134b689f4fccef..4e388f600d003b16e9a45a37e6fb76e5062113a2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0fc0d628b8d0a4e918045455192980ca)
+ * (GenCodeChecksum:8b7812b634efd7d94dfe689a0d45d12b)
  */
 
 /**
index 51380c66daeae251deb53f1b2f354e5239894421..fe2b14131aa907c3287fc07497e91a294b897aeb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocationType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f297dfb63ce60fba3e9fe36811e63c54)
+ * (GenCodeChecksum:f9c5e451793d7a168906f173ea492ba7)
  */
 
 /**
index 1c7e794e34aabed4d659f7f75b08e141b98f2d5b..dcbc1e2340d5986b11caeb228de03ee2d5b1ff68 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Log.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:125889d1bc0b6eb15c827e1ad378037e)
+ * (GenCodeChecksum:8fe4326f940304ec2c8ea86754d6142e)
  */
 
 /**
index f34dbf3a97b370e362eb6323d96bd244a8da0728..db6854affcf7ac7bf5af839b11923268f5b4fd73 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MailSettings.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e2f8aca7ff7a4c1d4569cd57d978f751)
+ * (GenCodeChecksum:116c87968f4c16758eff8825047a6ceb)
  */
 
 /**
index 6877a0e75a3884aac16bc698bc3f5f5e15fe6398..91ce2a7b7acc901b5afefa487c8b3df082968843 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Managed.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7254649f0a40bd37a56d5781567c47c7)
+ * (GenCodeChecksum:c8697305b613f6ca6854638025df2fd7)
  */
 
 /**
index bbae336b6f13c091bff4db7da55bab2511c99f11..3ace2b661c87b426e0349203d52134d6919c8fea 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Mapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:12087a864ccb66be7b11af781b242c02)
+ * (GenCodeChecksum:4a0976e14e588b9a81c79e72849494e0)
  */
 
 /**
index b3d14930470b60899efffebb02537a4664039ec3..9c976231026f80f663620d16270064899a2b2f97 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f46b7a16002a4e16ee2db61fc394a13a)
+ * (GenCodeChecksum:d2ce640ccb1f30190097cced450038e0)
  */
 
 /**
index 74082ea4a605e33e306658e6ad96d8d02672531d..f70e8b2f91fa473ba72b63e2caa80f4bbbca1ddb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c09d043f3d205f3502a3e16f94a200dd)
+ * (GenCodeChecksum:43fa7e0ff85619af0065d2802de6f8f4)
  */
 
 /**
index 96d2a821794bda7ec9a7f2bb22518039df3bf7bd..a84d7eed54e6f89f7b9e92d40bae57a2c6cd06d2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:09434f7bf2a0cccd82d6f3edf6873e39)
+ * (GenCodeChecksum:10bf11ca59e77fe7be9dfd775e5d5cd0)
  */
 
 /**
index 286599105603c7e1871dbd2df6421c0912d1c28a..ab154b8353a63862131bb991abc43927e39cca16 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Navigation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a120683f9bd11ea9e17fbccfed289fd)
+ * (GenCodeChecksum:2b9fb139d42e95f23ebc1fe7b055c546)
  */
 
 /**
index 1f9547b0b859ee82ff4722182f77ae4d8e6b7723..35067ea2924c30d36825b0113fa571517b62032d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Note.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:93f7d0a057e66114cd7b2086c511f0fd)
+ * (GenCodeChecksum:a84f607a5a29a8977287f694f05ab721)
  */
 
 /**
index 406081e41878c62cdf7aa0f254092d2841357185..166758db6f1f7efb8803d62777e9de61b2134525 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52f04f084f77d77647b6fd4fd70f91d9)
+ * (GenCodeChecksum:6547ff2f60e61de44f3ca5a866c1df6a)
  */
 
 /**
index b979ae6062a5652d4f7e900e94a01b8f26907c96..59dfd5c4e0eb9109f467808b606ec5af26b14dba 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f7256e2bd9f6f3c96ea39c8642dcafb)
+ * (GenCodeChecksum:6be4b908c7861e9026d1f2d78c42a0ac)
  */
 
 /**
index c59dfc270fd111a5fcfb0e3b3d1994552233e7f8..e421d63a2afe17ab831b9d20e246fd1588a8407a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb1be9c1b4275b0298724537618f6895)
+ * (GenCodeChecksum:171565168517add49222893871a84e43)
  */
 
 /**
index 505eb9025481aba8c412e39873b9243cbfc2f160..c4918cc592f2ac0190988592d2d3d6f176194c7f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cadb26f607b1638fc26aea5a2a5ccd73)
+ * (GenCodeChecksum:632e24c7c46ff01ecb1acab879bcf625)
  */
 
 /**
index d0368081472a1dfe05f794c1eddd34d8defbb6dc..f0c15bc898d4b26ddb8861fb0a91ae5c5c6059d5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92207005de86924b05203395e1e83675)
+ * (GenCodeChecksum:767dc30f83e4087a07c185f857fc8fb3)
  */
 
 /**
index 66cf6c2be53532af501312b90c0b5081ae4404a8..8bcc48e6140734e6f65682d1f86d80bbe1c974dd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrevNextCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:207e660d644f8fa00b5873ca2d0a298b)
+ * (GenCodeChecksum:af3cb54c291525d39547cefa9bddf11a)
  */
 
 /**
index 517aedd7ad2d8814aa6a035dc0679342f8df00b1..9fa29c8fcab24ccc07109ef45499b3dc0338f9e8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrintLabel.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:56331718846a7dc11e08e8c206696d8a)
+ * (GenCodeChecksum:cae6bd3ef03de9c99cd64c3c232fca54)
  */
 
 /**
index a66dccd577422ca1bf741dfd0d07848c3f02e73a..276dad5b04baaab96c51bca8dbaee28d307d1ee8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/RecurringEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3295c773e777a676d813419cd27825af)
+ * (GenCodeChecksum:9176ce7b1312c05e06b2d744da945f83)
  */
 
 /**
index f5f3ffec4cf1bf87f3c1488d96b133dbdff71fda..cb03d030a918261cc278e62cb2c325f1e7e7731d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Setting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65d67bb9fc865db88ef5e3a6da69ba87)
+ * (GenCodeChecksum:1cc77a956cd4dfc7dd2a7f22579ad742)
  */
 
 /**
index 66eaa99e8e24627fe241afd4cd2eef937e2547b4..66f8bfe33ac9e188205805452778635f1ccd5fba 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StateProvince.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3807f834dde7f3a4bca379cf6e9d9130)
+ * (GenCodeChecksum:d99e943649a1c2db96c2111d7feeeec2)
  */
 
 /**
index b9220759d358a19d73521cf8b1f8eb3094175de0..58146b7396aca8a4d5d75930f42cd65ee5b67c34 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37d97f482b6f4e6082c43ad214b5678c)
+ * (GenCodeChecksum:97f98c6f510e57260d2a5e3647a00d4f)
  */
 
 /**
index 00c16bbc39681ca17dc77d54d9bdcc35b0dde7d6..ea1920cf12b55b10740896cdde0a2083b2e78758 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cd995817d0c300048fa38a8a7ff5d1cd)
+ * (GenCodeChecksum:1dd363d9554947bfdd8c75bba4ee5da9)
  */
 
 /**
index 6c745b9fd668f5c64a8fa592ac045091ccf7806f..4886437cfef9e1a4e184c6eb4fe112e75d76d734 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:780c9949951c1a27be4fcbc0f9f3a7f0)
+ * (GenCodeChecksum:6bf223ca710a35bc6fb4c5e3f373b214)
  */
 
 /**
index 70f171897b05c30543a515d3746bde0f0cdedd3c..20d5781b970cd4458ed68b2ee17e73a2eca22854 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Timezone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:884c166906e487ac1758fa4da6c816a6)
+ * (GenCodeChecksum:a1960975c14d40dedac3cbf6121044db)
  */
 
 /**
index 84bd641b7a95f262d0e90cd962b60602269200e9..aba20f3afa392974f224d270d3281a0eea458aa4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Translation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9c290a244c0efde76b4e0cd83a069b2b)
+ * (GenCodeChecksum:26a0aec7a4d0e31684a513f1a3f6fa18)
  */
 
 /**
index 6edd64787adbb3b7a30e14734564aa44d777a505..ba2cdcba545b7c406d6c31e823684c00db50b1ea 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4129a22b34b4161f5091e01ceaf5a4c1)
+ * (GenCodeChecksum:47f3fbbbd8d816a9cfb9f7fb4e7d5dc4)
  */
 
 /**
index 85f63b0500f809388ba84cfedb63d678195bb633..a7dccae40d352bc91b7112ae189d354c101a3021 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9b253928c8d6b6fd8869e8e8a63e6f6)
+ * (GenCodeChecksum:0cb6463f64d494ca888d10708269b63c)
  */
 
 /**
index d8d8080c4b248107d56dd4a5f399489b5a787add..e60816d109c9a99023984866d720e77c305ece8f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFJoin.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e50870bd9bbc252854166ca3e90c5601)
+ * (GenCodeChecksum:ad3e1eb59e96ed7553d2a3f48430c934)
  */
 
 /**
index 479a232f25098e4f2fd8f0637668ac54a50f8dc6..f374311007caca32590da8396c0536c863255447 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFMatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebed522d00626aa9ba2b98178b2045a4)
+ * (GenCodeChecksum:c192c2dfffc598c44141e666fb164342)
  */
 
 /**
index 835a3a0b3bbf86ca26b54e70c44e19188fe4b5a3..80d55ebb667dc5a2a2a4a7e670f600b71f0c7c25 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bcaae3388c26a04cb9e57dc9546dbfe7)
+ * (GenCodeChecksum:042da2fb78309555f5d4ecbe41d33cd0)
  */
 
 /**
index fe81bace669782452dd6e30a50dc545972ee857c..47141b827ff9f102993c4ba1edb79d4e7dae9650 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/WordReplacement.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e4ee8b38fc050b33ce056fff1587d5e6)
+ * (GenCodeChecksum:4465ed4733f5b424c231d208ef1f61d7)
  */
 
 /**
index 81a344a4057ebb67b21ed4befa28b92574a957e7..cea1ffea6c53032abf3fdd253e2d9000b9980ca7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Worldregion.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3c8f6cd69c0e0be698517191ad882cb7)
+ * (GenCodeChecksum:897ca1a3833baf2e0c5bc09b350d26cd)
  */
 
 /**
index cc7a98696424b9529dd9d1cf64806781a77986dd..1edc4fb4562716f235920805ab5909335e42b33c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Cxn/Cxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c39a28a9d03c9ed8d63e7c0959f6a947)
+ * (GenCodeChecksum:337dd2bb4d7df6fcf7d74813e2c45bd5)
  */
 
 /**
index 756018093824c002cdf95c408191b4b961df8da6..b1a96bab878dcf968d31fb9c2b2e2b4890ca5a18 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/DedupeException.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cc97827790267ad8bfb46052ae0360c)
+ * (GenCodeChecksum:52d33f10e1ffb90a32f65a9fa73ac9b3)
  */
 
 /**
index 7dc912053c978de82a57d075219aff377048e855..b876fe3629b0c2b8341be3a9196bfeb99e80bb8b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/DedupeRule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:782d96ecc76d4020270fce04574a39b5)
+ * (GenCodeChecksum:be34a32d6749dbd8caecac45f2086b61)
  */
 
 /**
index 55daa8ae2db9889f853c5c8ea1c68ceaf5f1ff68..14c9cc4d5d3d018a4c0135c92ae0121fda1ef1c1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/DedupeRuleGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d2b969468d4841e3b7595d7beba7cea2)
+ * (GenCodeChecksum:2168d89d281dc113ef6403af4dc39658)
  */
 
 /**
index 9332fb5538bc6e5700e1043656af0f490ea18517..52d427809716566df17ca1ae91506d0f53b35a51 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/Cart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:183604c066e28af10c1a6b1dc9ccb698)
+ * (GenCodeChecksum:889446482ab589edebb02d7abee76bc5)
  */
 
 /**
index 28e81c9c1925b4d23d85e19680999eee2931877b..461ae202be1d010d5197c3eed748fa8c616805a2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cde461dbf781f6bb0efa0531f00038b6)
+ * (GenCodeChecksum:872f4e67be93efbed14721bb030227db)
  */
 
 /**
index 5403c25a2b45944ce25e0619883758371f7e2abe..e1391f4ac6529d00b482d1110f68ea7ad0b16ddb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Event.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0bee3952ac39a53952b6a7979a79e13)
+ * (GenCodeChecksum:4b2cc938c8bb6e8bcba91513d109ff5f)
  */
 
 /**
@@ -554,6 +554,15 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
     return $plural ? ts('Events') : ts('Event');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Scheduled in-person or online events which contacts can register for and attend.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 830c99acf273c1c0491a3e1d403c6504b6c3a413..3e891d8ae1f4b6a87079ecacb7dba83c72a77202 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2129f60f86eef85a5a5a97a22d41134e)
+ * (GenCodeChecksum:0e7f61919241631110f216e80d72d845)
  */
 
 /**
@@ -186,6 +186,15 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
     return $plural ? ts('Participants') : ts('Participant');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Records of contacts\' attendance and roles in events.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 57b9b9697aa8e6557b16c51b74de2a4e26833db7..9fe49f0c864c90fb016323719c558ea864ecda7c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6300da7ad1aebb4963cb5857ef146772)
+ * (GenCodeChecksum:faf8b6394f4e57dd2bd6702f712f7157)
  */
 
 /**
index 3e24df9e46f3fb386b40219789be07a3cb5f6719..f4da6903bba55169ca15036974bdfb62c2d3d69a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d4e01997101377c20d79423f6dc281b9)
+ * (GenCodeChecksum:0f5f8f9d2171b25bb250914d746996bc)
  */
 
 /**
index f9988e57b812fe8393be2161af52e3f4d9b004a0..cfad1c496df514ad0e394c4e956401325eaeafb2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/Currency.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:702d26343c15d3e3ee91c16f302ba0c0)
+ * (GenCodeChecksum:710d5211ef6887a78a0d2a531b87555a)
  */
 
 /**
index 96042a5f85b6d47a42e663ddd632d3ffb621f76d..18c6243f5bf9a5ec3ee5fb93b56bf14f396d90c0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:70f25c56047d21ecc405e8b7a60ef68d)
+ * (GenCodeChecksum:ed1b639bfb9c1c9be37ed44ed2efe98c)
  */
 
 /**
index 9d049c7cc86688fee25de24c324a0628261906c5..5b56512c5f8c1ddacda1423daf19a89a096a4439 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3317f412b569aed0c63b8692d0b7016)
+ * (GenCodeChecksum:fafa322736bff4ccf082449b5e54cd35)
  */
 
 /**
index 6361feda037d47776985d5fe0896769e29bc3660..377a0521c4869b013a253b6b881a5225f0842796 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f273f668e30ddfa505cac215f0485c64)
+ * (GenCodeChecksum:08824371a351806b30fc54c608138bd6)
  */
 
 /**
index 2e99cdfd698d83b6f996603df6b15cf634f41544..106dddb0417bcad016445a9b8392f6ad3789cf50 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9deaca104b5b1126ad3a064c520d0c3)
+ * (GenCodeChecksum:70be7900a331cb86c9cd6ee76544adc5)
  */
 
 /**
index 4b37bb92904a8f96cf13ae336e11da9378289632..17f736233b539460e716aa30ff29690141654e5c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2275bd3093a607f7639f8680918dfe89)
+ * (GenCodeChecksum:330be109309bcc6fc543b287c805e606)
  */
 
 /**
index a5db19a8dc7dff990a2a4845edcd75e0e704fd00..3593396d76565b8a59e971a893751d0f70379e4d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:035576414ddb721b2607522dc5d874e4)
+ * (GenCodeChecksum:2e4be9c40fcfbca83940bb875d516886)
  */
 
 /**
index 6d821d2a5c9a86655f7968e21d8186a0585b43dd..47cd88caec9b4970665062ccec8166b86a15736e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf3b781bf6401730a67544ab64bb6883)
+ * (GenCodeChecksum:a541d72f9435b6ae2706d98cc01b1598)
  */
 
 /**
index 3066dcb0f93e0222fe16a2c48218f8762199ea82..32118ba04a13fd277a6681d4e76b81974416d119 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:38d6905c856137c04e68c5ebdbab4de9)
+ * (GenCodeChecksum:f60f8f4248c8c667223720869d8c81b3)
  */
 
 /**
index bd883442697ee6b25c639d83f514cce7ea11e3e1..0c6816df4d674002f08ea3f0b25229fef21259d7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentToken.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:03492b5f23f8ab161d3515587ed50470)
+ * (GenCodeChecksum:f1c4b32a0722841ec435f9b6c4ecfe54)
  */
 
 /**
index f466450c42e28ced0f9363a46471639b4d2af1d7..e5a77e498de0fdf202417003716ddaebdbb20c1a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2405dab9bde6a82673d70673b9c4833b)
+ * (GenCodeChecksum:cddccd848fafb980eb26245c21f47f76)
  */
 
 /**
index d2c9021b8142022b1bf9c7695d2e77933aa11e1a..41b3abeb613de7d0730a1058833203f8388cb5f8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3514965c4290206b308ba49da1915ac9)
+ * (GenCodeChecksum:36856b7ed6b7fc04e812c92fd42df94f)
  */
 
 /**
@@ -173,6 +173,15 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
     return $plural ? ts('Grants') : ts('Grant');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Funds applied for and given out by this organization.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 830af977d37f636b995bb2e7724c2aa4b477827f..091639a689b5f1af97dc7a9055c345282014406e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BouncePattern.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a340a133494d8de320812a282997d760)
+ * (GenCodeChecksum:c69a86cc75621a05e32951247e12f06b)
  */
 
 /**
index dbe383e1b5020ba3c96082121fb0d7c06f1be46c..8a274e839262dcadb4c8384cf5a831fa9c4ed0cd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BounceType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b880ec51ff0445ed90072824ba388c5)
+ * (GenCodeChecksum:cde25653865971ad7f5692dfd0eb7c39)
  */
 
 /**
index 55cafbfff6b0413fb1cdf7624fbbb6e5dbf6defc..24666f8b5894910958fffbfee0a711c3f269b91f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Mailing.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0ec62681276293bf364dc27bc3117b11)
+ * (GenCodeChecksum:a2d71da677efc3436ae8ed9414cdecca)
  */
 
 /**
@@ -361,6 +361,15 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
     return $plural ? ts('Mailings') : ts('Mailing');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Mass emails sent from CiviMail.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 871bfb30acc655fb0c08a7fd598a029af27d1ec1..0e3e3ad5e5a490c5719aada9f29c30fed119a2eb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:753d6580550aec3404384c585451fb96)
+ * (GenCodeChecksum:021242562cab688e65a6c13247c61636)
  */
 
 /**
index a6d1ee4647cc6375a3d9a6798955adc2bc35cc35..281181c445006386f1184bed343cfa45a7b4fc55 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4fb4d43c4e99fd287db2ae1936ad6b96)
+ * (GenCodeChecksum:41af94f2313c33bb228194f142fc8e0b)
  */
 
 /**
index f5e6d3cd90cd6f43f820b7537bdba24aaa4da314..0fd5b1f8940048ddb2779ebc199534fa06ac6ad7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52fcf6b74cf0c8f3ad9d3e6e9c6f8fb4)
+ * (GenCodeChecksum:1e483c2e468defc82c46dd66146595bb)
  */
 
 /**
index 2b74f4c9188441ebc4659e5f38efc6e5118b63ad..fb5b2d8748c89c60abc144279fb94a37280de610 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:66ec8ea61011246f741eab74caed0622)
+ * (GenCodeChecksum:2527bca832d0e7751c69a42d33f28159)
  */
 
 /**
index f56a780af7c573516dcbc5125a494ee1737c6852..01c79e8ed008931059ee4efb5dd963de7d499e05 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Recipients.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1bb8ea55e30a902501c79a39d7129aa9)
+ * (GenCodeChecksum:b3c4d09f9c6afa1f96dc0d1cdbaec935)
  */
 
 /**
index 6cb780587acf0bc1c8a846a9555121e7f4bf769a..e222a98fa11d1935d2a59ed8d830921ebbfeb974 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Spool.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d898fa4a28acbca7f43244142daa4712)
+ * (GenCodeChecksum:37cfd90aa2697070996f893259692b4b)
  */
 
 /**
index c2d4fcb0c7732ab96c2d3e8fe2b42c2ac4395fae..2c018815e7fac6d89f1bdf5b21c8484447e15769 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/TrackableURL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b33ea7557c17d9f6eb2f5bc9a3a1807b)
+ * (GenCodeChecksum:4c224c28653ab679c03fb8e98ddc3401)
  */
 
 /**
index a03433da669e28509b24df95acacabbae1761c46..aebb50a011f4b0c6b34278a2dc905f44251065f2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:de41ec098f97421e689810ea56f27df2)
+ * (GenCodeChecksum:6f3c41c50e9baa89d14295479d66975c)
  */
 
 /**
index 1a893442ecdff92226b9759f9cd3483f6d211684..b8bde92ad97a861bbd248cfe6c9c0d077d1b42f4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ca8f4e4d694557fcff22370853263d17)
+ * (GenCodeChecksum:666c5eb15eb75fd23bebb088db0bc004)
  */
 
 /**
index 3f24abf80866c48940313c74efbbc0be1edd8a1e..7713ee98bcc5ef2f67d353c7f47eba9562ac63ad 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:67eb9eaad7e2da2d70e39d358ecfdb6f)
+ * (GenCodeChecksum:01ce8759ea940b4dd34213f25b15e7d3)
  */
 
 /**
index fe7ba7958df2872799fb74ec1e0c58df76521e67..01cca5af26e5a633dda6df03af3c1367bd145fcc 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b725b983e15e98213760102ea9472505)
+ * (GenCodeChecksum:60c155254c97ad953fc07b9244440f4e)
  */
 
 /**
index 7be8425c144dfde0543ae1faaf4f35ea1cf49b7d..2b340f50d4f98a52d7acf5a953b8811b1a63a4b4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Opened.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:287f7852cf7a1218f9ff6c4ee0a6470a)
+ * (GenCodeChecksum:eb80ba7a01169cc0320fb2807c873291)
  */
 
 /**
index 82b76f1c88984f5ad6966652ba599bb281e1ac04..fc34ac15a4906d33810e1dfa50fb44b38c2a6a5e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Queue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62c78a2685fdd214159e30c944cd85c6)
+ * (GenCodeChecksum:64ec9770e9d859c3dba4512005c188be)
  */
 
 /**
index 0e89b58def9aee4bc5d13a23a83f036dc8669284..0e3dfdd8707a7852be23bcebeb566852e319e59f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:614965c0ed3cb79b5a93c1e3d1248e03)
+ * (GenCodeChecksum:500b838b63185072b949c9e1a308f9d0)
  */
 
 /**
index 9ad620fc11d55a6d275358af73a1a09d88cde4f6..95e65c8e3cdc6898af367e70cd040bc090abb22c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4b0ac23074c6737a52e326f42c8c25ca)
+ * (GenCodeChecksum:e9d5fb2bce9ebd0adb366e76b39d3e84)
  */
 
 /**
index 9c9d5abe018e9c4c7efbbf21bb8175303b1fed77..1b990938126d14d213496ad62cee2783bd67b842 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ac2ff5ffce9ff76d15e976845bbd8e8)
+ * (GenCodeChecksum:5eed5ab9c156c3f774a049f39546cbac)
  */
 
 /**
index fdfa2d5c5527d9abe1f9d33e97d0321f7fe02483..9e0bd515af887616ef7cce01c2b21239010c0215 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2f06825cf706eb25be63167950390a62)
+ * (GenCodeChecksum:c1409a676271a172fdc33339a4414951)
  */
 
 /**
index 4cffc2f57002671173b14ba4db1d687d6fcaabf6..c1d0ef01f3e8d663faab8fc55c0f7cecc2c28d2c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/Membership.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dc1ce9eef7433fb191d837f800a9f745)
+ * (GenCodeChecksum:e364568e0284363b3a9141823215c536)
  */
 
 /**
@@ -174,6 +174,15 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
     return $plural ? ts('Memberships') : ts('Membership');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Records of contacts belonging to an organization\'s membership program.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 6e537bf79e2d83fe16356345a17e60fcbb7e94ed..891dc5b991b37071f4d54efed0be82bb2fb2de79 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3a11d3829c8792b08f4e1f361c80e91c)
+ * (GenCodeChecksum:1f5c13fb36ae0853ed5982f6ca40d65a)
  */
 
 /**
index 708ba7bc48b310feb8903e4fbf48dcbe66e6e6ac..2d13cc86d0b2da8ba6e28f83a176b9d58ae15d05 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a110ab7dd0e4be40f840eae85b85048b)
+ * (GenCodeChecksum:cca53e3abe058a7b585138271658d90c)
  */
 
 /**
index adae99b2bf6be7eb08efaed5325108a53e02734e..a549158e021513641913abb99df84228c9d8a2b6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e8b8450bfe96eaf47f0f7d4070caaa8)
+ * (GenCodeChecksum:cb00d5477470230f8ab9b18bc56ca910)
  */
 
 /**
index 87063dc707cee0993a5ae297f44c277c8c48cb1d..85b8e054d8e85cd36d1e1d9216bd432c22038890 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipStatus.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:614df1344aee4571915f071bef3d1090)
+ * (GenCodeChecksum:62a534dbf9aed62f4d496939b44acf3d)
  */
 
 /**
index 1d41c800102697cdc3495015ca885163aca23f13..c81123e029ba2edb5db2df9a078f4671f000e455 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:32c41f6fbf066a56e2beb49cfb976977)
+ * (GenCodeChecksum:e989278865fbeabd9f3d6efc7271a2d1)
  */
 
 /**
index 4772c5beb1acb7df6bb0fd9d7c2bc792465a2a93..9c04ed84fde09e20c1a948d2b28db4d1f3932815 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b6ab23bb8e72eac29f57d10b07ece09c)
+ * (GenCodeChecksum:0d2fc92a3a801a3eb5eca71989b21557)
  */
 
 /**
index c80700c2a1c27312b6f65d0332a2049cc3b3cb7a..e1cfd859bb2805cbe562f82826873896b09057f9 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCPBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ded07a159b7baf093c3fb98e0656063f)
+ * (GenCodeChecksum:4b5ca843e0a3a2e4b439d03513b20682)
  */
 
 /**
index c08c2f005240d1e81e2187c5e562c4f7462db7ef..ab4a7c68291631f642281ae809294dd17bdf5f03 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:207537ed0241f8d30a332da89eb213af)
+ * (GenCodeChecksum:49bcf54cf3de315f6e8f07519eb1b5f2)
  */
 
 /**
@@ -215,6 +215,15 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
     return $plural ? ts('Pledges') : ts('Pledge');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Promises to contribute at a future time, either in full, or at regular intervals until a total goal is reached.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
index 2caae9e1bb139ec6a705ab98f38bd494ae0b4a85..209e60a3aa4173a4b24989ae54524ca3ecbd0d14 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2ee09d20ee73675e8c28c7aa9207f67d)
+ * (GenCodeChecksum:37dd1b6ee946c78093489ce7a98c55e0)
  */
 
 /**
index d5ccaec3769056197eca62edaa559012924b783f..0dae73a2f09c8bd1626d0e472116e8d931e93cdb 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a539e4dbc9ec376ab590718431839b72)
+ * (GenCodeChecksum:bfa7183802af9f28111c1d7c7dc6af5a)
  */
 
 /**
index 0aa851939ea13011c2b77a9d2ddcb3ba76f343e8..4d027fbc98f96c33156de0d6d716f4e3068b4c95 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cffc97712c8823323cbeb39a0851363a)
+ * (GenCodeChecksum:588f54f07db70f636888c88374b6b5b1)
  */
 
 /**
index f83f32045c3d71d52df0f7ca687a6f62121d14d0..287939e200b7dd996bb398e9cdb08e6fbe7ae40b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a39277a5a91f48154c7015c413a91ee7)
+ * (GenCodeChecksum:9449b207c28052d794e6d0c9d179f51c)
  */
 
 /**
index 5d17c5643363b727f575c8f4e74f901130146022..cda909f20222513bdb6123e5038213dc5c68ea71 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e22215cf06dcae5dd461ef3fc2c60a2e)
+ * (GenCodeChecksum:7da3309222cffae75ba3d149e8acb395)
  */
 
 /**
index a46029975e2261d18576c7c7f7236a440e8f6bb1..dfdb9cbc03201cd0cec88b42c5e14283b441e941 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbf63d57ef651ede1f0713ac37828dd4)
+ * (GenCodeChecksum:5c5630b1371dd1c8894a25b58ffbb5d9)
  */
 
 /**
index 791a62d9c6edf7e2562229502377afadcd462b7a..9d13d2992cfd542e80b15fe271b5964108501e81 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4a30fb02c5799b90ff91dc46befa95fe)
+ * (GenCodeChecksum:0be314d066d9e72b66c86a2de6d681a9)
  */
 
 /**
index 09cefb0c5d5c30c31b9f61684d88f203cd659616..db5d14ab80749e97c9c95fa4022acf93641db959 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Queue/QueueItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7378ae2c08e07dfba99311bbe1958dbf)
+ * (GenCodeChecksum:c509d1bc7563d1cddf1b5c823520b32c)
  */
 
 /**
index 9edcb20f58a4dde10c7f43057e96326f4514263a..2a1de9cd4575a4db8062cd56533bb91d1e34a316 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f70f5daefce7003cb9325af0740c447d)
+ * (GenCodeChecksum:8119de0836afac038bfa8eeed2c0fb63)
  */
 
 /**
index c8a99f4f25dc7f8ce96aadf6116c8a3c4a81951a..37ed7ffcc5f95a6e48ababa552aa177d2e2eb547 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/SMS/Provider.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3825081bc48abd82f194a390677769bd)
+ * (GenCodeChecksum:0411ce23fd693f810e4b17271b84e567)
  */
 
 /**
index ce0fb9d29bf9dbb85ca412e198fdc677e8ef6c5a..66bd4d3c1d7915461639a43d1a1eee75d4187de9 100644 (file)
@@ -147,6 +147,9 @@ abstract class AbstractEntity {
       'paths' => static::getEntityPaths(),
       'class' => static::class,
       'id_field' => 'id',
+      // Entities without a @searchable annotation will default to secondary,
+      // which makes them visible in SearchKit but not at the top of the list.
+      'searchable' => 'secondary',
     ];
     // Add info for entities with a corresponding DAO
     $dao = \CRM_Core_DAO_AllCoreTables::getFullName($info['name']);
@@ -159,11 +162,11 @@ abstract class AbstractEntity {
     foreach (ReflectionUtils::getTraits(static::class) as $trait) {
       $info['type'][] = self::stripNamespace($trait);
     }
-    // Entities without a @searchable annotation will default to secondary,
-    // which makes them visible in SearchKit but not at the top of the list.
-    $info['searchable'] = 'secondary';
     $reflection = new \ReflectionClass(static::class);
     $info = array_merge($info, ReflectionUtils::getCodeDocs($reflection, NULL, ['entity' => $info['name']]));
+    if ($dao) {
+      $info['description'] = $dao::getEntityDescription() ?? $info['description'] ?? NULL;
+    }
     unset($info['package'], $info['method']);
     return $info;
   }
index 18bedf70f7c5a4bf84b47396d515fbee43d7fcc5..e2ace4d164dfbd9f1b17bffdb9763338e784e480 100644 (file)
@@ -3,6 +3,7 @@
   <base>CRM/Activity</base>
   <class>Activity</class>
   <name>civicrm_activity</name>
+  <description>Past or future actions concerning one or more contacts.</description>
   <comment>Other Activity details stored here include contact, location, details.</comment>
   <add>1.1</add>
   <log>true</log>
index 1e63131e379f7f63f0f37771f002a04f4852bf42..0b6000960a36f7376fbf50f24b28d1dda816dd9a 100644 (file)
@@ -4,6 +4,7 @@
   <class>Campaign</class>
   <name>civicrm_campaign</name>
   <comment>Campaign Details.</comment>
+  <description>Campaigns link activities, contributions, mailings, etc. that share a programmatic goal.</description>
   <add>3.3</add>
   <icon>fa-bullhorn</icon>
   <labelField>title</labelField>
index 545765b3e0cbaa171f9fb21a942266bf872b3593..a95d44923aff6eefc6d2a08d3803d8cde9a4fcb9 100644 (file)
@@ -3,6 +3,7 @@
   <base>CRM/Case</base>
   <class>Case</class>
   <name>civicrm_case</name>
+  <description>Collections of activities and relationships for a given purpose.</description>
   <comment>This table stores information about cases grouping activities.</comment>
   <add>1.8</add>
   <log>true</log>
index 0922d4c4b85cfaa180d9e4d415f553f4ec525e6f..59ee1a7cbdbfa124a6b68db1a9485af7fd4ce76e 100644 (file)
@@ -5,6 +5,7 @@
   <class>Contact</class>
   <name>civicrm_contact</name>
   <comment>Contact objects are defined by a civicrm_contact record plus a related civicrm_contact_type record.</comment>
+  <description>Individuals, organizations, households, etc.</description>
   <add>1.1</add>
   <log>true</log>
   <icon>fa-address-book-o</icon>
index 3ccb9b73a7dde4949b2cea5a51de3e1442302771..f61001dea769e2bda1499fe8f94b8266a89f31a3 100644 (file)
@@ -4,6 +4,7 @@
   <base>CRM/Contribute</base>
   <class>Contribution</class>
   <name>civicrm_contribution</name>
+  <description>Financial records consisting of transactions, line-items, etc.</description>
   <add>1.3</add>
   <log>true</log>
   <icon>fa-credit-card</icon>
index a15918729eba320b0448f4515ffcab64f0b1db13..10c768ca808cd485eb775b39210e294213f4c08b 100644 (file)
@@ -4,6 +4,7 @@
   <base>CRM/Event</base>
   <class>Event</class>
   <name>civicrm_event</name>
+  <description>Scheduled in-person or online events which contacts can register for and attend.</description>
   <add>1.7</add>
   <log>true</log>
   <icon>fa-calendar</icon>
index 2ff822e9dbc5289f44cc5807977ce0a23d1f2470..4899849f9598ff0ec8415845e0e3414d475dbf25 100644 (file)
@@ -4,6 +4,7 @@
   <base>CRM/Event</base>
   <class>Participant</class>
   <name>civicrm_participant</name>
+  <description>Records of contacts' attendance and roles in events.</description>
   <add>1.7</add>
   <log>true</log>
   <icon>fa-ticket</icon>
index f34b1c4b9579d80e111b1bbea501197280260082..567865e7616f67733058cf7a8ebca8c7c990565c 100644 (file)
@@ -3,6 +3,7 @@
   <base>CRM/Grant</base>
   <class>Grant</class>
   <name>civicrm_grant</name>
+  <description>Funds applied for and given out by this organization.</description>
   <comment>This table stores information about grants given to a contact.</comment>
   <add>1.8</add>
   <log>true</log>
index 6dbbdcd52c0a7b69e385502813946a4ef7b7dd1f..ca0dee584aa6b57cdcc2b514eae4ce454bea2777 100644 (file)
@@ -5,6 +5,7 @@
   <class>Mailing</class>
   <name>civicrm_mailing</name>
   <comment>Stores information about a mailing.</comment>
+  <description>Mass emails sent from CiviMail.</description>
   <archive>true</archive>
   <icon>fa-envelope-o</icon>
   <component>CiviMail</component>
index eecda658537c6f7a6cfec8248e2af3dd4ebe02af..06f6a75c53f506fcd5ea01f8c3747a8e9faaba81 100644 (file)
@@ -4,6 +4,7 @@
   <base>CRM/Member</base>
   <class>Membership</class>
   <name>civicrm_membership</name>
+  <description>Records of contacts belonging to an organization's membership program.</description>
   <comment>Contact Membership records.</comment>
   <add>1.5</add>
   <log>true</log>
index 87b6e3b4d7e872415bef0b94b5002387ab8ef07a..9cd15669993c728f14e550ec226c3ee3abc6a141 100644 (file)
@@ -3,6 +3,7 @@
   <base>CRM/Pledge</base>
   <class>Pledge</class>
   <name>civicrm_pledge</name>
+  <description>Promises to contribute at a future time, either in full, or at regular intervals until a total goal is reached.</description>
   <add>2.1</add>
   <log>true</log>
   <icon>fa-paper-plane</icon>
index 86b7a544cc413d853cd54eb0d742bca0fdee25d9..ebfdfb8b5ea5398b2d08abfb0f3e98bd9ff62512 100644 (file)
@@ -87,6 +87,16 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
         return $plural ? {$tsFunctionName}('{$table.titlePlural}') : {$tsFunctionName}('{$table.title}');
     {rdelim}
 
+{if !empty($table.description)}
+  /**
+  * Returns user-friendly description of this entity.
+  *
+  * @return string
+  */
+  public static function getEntityDescription() {ldelim}
+    return {$tsFunctionName}('{$table.description|replace:"'":"\'"}');
+  {rdelim}
+{/if}
 
 
 {if !empty($table.foreignKey) || !empty($table.dynamicForeignKey)}