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
*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b7a575fdf29260fa003d73bd4d5942c5)
+ * (GenCodeChecksum:709746b9e63da79d9ee75de3a0687db4)
*/
/**
*
* Generated from xml/schema/CRM/ACL/ACLCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:63a707737221d2c70efbc51d58711209)
+ * (GenCodeChecksum:6593794a6e82670ad992cc331c22f33e)
*/
/**
*
* Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:db754438e4d852834a61b3d38b6a48dc)
+ * (GenCodeChecksum:fe3bd0baaffcc93590b3285c6cf96fc1)
*/
/**
*
* Generated from xml/schema/CRM/Activity/Activity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e86dd56976cbc807306691e8fa94b0d)
+ * (GenCodeChecksum:3724c8dbc64bff361edd263e78780dbe)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Activity/ActivityContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0b5f5392a9786a52d7120f48d363092b)
+ * (GenCodeChecksum:9d55ecc09cc160c1cc41485bf7d026ef)
*/
/**
*
* Generated from xml/schema/CRM/Batch/Batch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:960030e220b16f07d0b225e48a3ef2af)
+ * (GenCodeChecksum:965795e9c5cb8876ff6198abee5ffc71)
*/
/**
*
* Generated from xml/schema/CRM/Batch/EntityBatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b44598a5cc827e632f2c9fb663f2bed3)
+ * (GenCodeChecksum:9a6509e0c6f8869d4cdaeebd7e0073a3)
*/
/**
*
* Generated from xml/schema/CRM/Campaign/Campaign.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a27331994abb64995fc5491434eeed7f)
+ * (GenCodeChecksum:9d4da1f7966af86e8426aa449826f41c)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cc4c72732eccbe071147fea0abb4aef)
+ * (GenCodeChecksum:223af3013edf80baca1b0cde031cad41)
*/
/**
*
* Generated from xml/schema/CRM/Campaign/Survey.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:64142d8dce39f27b66b36f62ba137b74)
+ * (GenCodeChecksum:4b168e929887a0c86a634bb72d4f317a)
*/
/**
*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:27e15fc1d0e3517884c9773d25806620)
+ * (GenCodeChecksum:1ae35a7a60938212678c1585defc3506)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Case/CaseActivity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d100a5f236a3bb8d64c4aaa61b8c6c2c)
+ * (GenCodeChecksum:e5c1c45fc5dc666a02a3c1e872ba9a2b)
*/
/**
*
* Generated from xml/schema/CRM/Case/CaseContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18adf9ee53d1c7f6c5eddfc1e6b8709d)
+ * (GenCodeChecksum:e7ecd6e1648086f8925bad0dda6bec31)
*/
/**
*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b2ffb684b29a774f07bd06851722f17d)
+ * (GenCodeChecksum:9080f32e76695319d1e6110372c0900c)
*/
/**
*
* Generated from xml/schema/CRM/Contact/ACLContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e1095c2503a3ec13bd3f781ce1df1aaf)
+ * (GenCodeChecksum:912d65e10ee9243dfa3cbe089e2a4ae3)
*/
/**
*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aa86c226e54f7c7f8a8ad6b5e8c8aa5a)
+ * (GenCodeChecksum:5a83ff9bd2a1837caa260151fa56f3ac)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:40856f91e0f1928df248e985eb4ae479)
+ * (GenCodeChecksum:f1913952f114c2ac041dfba5fef49d5d)
*/
/**
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61c7e21d25723963142a22bca0a4840e)
+ * (GenCodeChecksum:a2eac9e772485e4a551738ad107dc209)
*/
/**
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a1580f6293c41ecbf8aa0bc2f6246d36)
+ * (GenCodeChecksum:29b3646b12fccdf8a2d561dc483c8980)
*/
/**
*
* Generated from xml/schema/CRM/Contact/GroupContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9f48934735df21bb6b4f9a5d7e1bd70b)
+ * (GenCodeChecksum:53a34c1b6c96fe915f0ab57b93994b72)
*/
/**
*
* Generated from xml/schema/CRM/Contact/GroupContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:294c8ab665d49fcddebe5d1d79307dd4)
+ * (GenCodeChecksum:26ac45cd1045e34353ef787013eeb84c)
*/
/**
*
* Generated from xml/schema/CRM/Contact/GroupNesting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4b5533a1c6ef550d3057dee8ce53efc)
+ * (GenCodeChecksum:a2d08c11cd6a0aedbcdf816fdb772839)
*/
/**
*
* Generated from xml/schema/CRM/Contact/GroupOrganization.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18934ada33c41380e719798d5f8550e8)
+ * (GenCodeChecksum:406b553dbbfbfbf54fa3d32bc1e9fecc)
*/
/**
*
* Generated from xml/schema/CRM/Contact/Relationship.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a10cc7576dc2353519a6c572435fb10a)
+ * (GenCodeChecksum:402d6e2cc8ffa3be531d291a20f59560)
*/
/**
*
* Generated from xml/schema/CRM/Contact/RelationshipCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dd52d37d1350a679b727c906ea37661b)
+ * (GenCodeChecksum:0ebd9cc2623ee84848476636cfe86dcb)
*/
/**
*
* Generated from xml/schema/CRM/Contact/RelationshipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:900900618e15312139bf51a922485802)
+ * (GenCodeChecksum:59f2be616e7324c1a2b34e840b24beb2)
*/
/**
*
* Generated from xml/schema/CRM/Contact/SavedSearch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a25df5165c48a42f0280efe9eb262d5)
+ * (GenCodeChecksum:c884fe02dfd203d381429f83672e1a9e)
*/
/**
*
* Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58a499585518faad19d52d57dfb1f1ba)
+ * (GenCodeChecksum:f5eb6517b054998df7a07e5a81874a1b)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/Contribution.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ef0d9ea550f1f00e6f995bcb8270e0d)
+ * (GenCodeChecksum:59912e3825f18a5769be0e5be1ca01ff)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:34ea39fcae2a3b299abcd53936219d1a)
+ * (GenCodeChecksum:bba87623f1ecb7c432b3e59cb159b5ea)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:908e3aa238e68db7e91731a9c441ee18)
+ * (GenCodeChecksum:874d8c0fea5d04fa5db38546c30f8c3d)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:feaacc6f0a65f84c0005249110fa4001)
+ * (GenCodeChecksum:b51d7abea248616355265be7ec255050)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:236d3c83fd57553a2df8f4caa50d1c65)
+ * (GenCodeChecksum:48d432f2fe34f212c110e21cbd229fc5)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/Premium.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52b14835ecf6ed706d67f6843badb693)
+ * (GenCodeChecksum:7ea059e7d6ccfe258964ab274089ac60)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:add71f3063792c8442cc337808a9af17)
+ * (GenCodeChecksum:41745812fcc812419159f6a93b52a715)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/Product.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8b0ea5f8731eb9ed3702295d3169ac8)
+ * (GenCodeChecksum:b70d9c858ea4a663872931e6028b0ead)
*/
/**
*
* Generated from xml/schema/CRM/Contribute/Widget.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:894a949697861e0f3912e5a9d0b67aed)
+ * (GenCodeChecksum:b27e8be28af42d6dfa9a76589ed05d7b)
*/
/**
'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'),
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++;
*
* Generated from xml/schema/CRM/Core/ActionLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a0c147177cdb17585bd74bbc836f7cb5)
+ * (GenCodeChecksum:b2a5ecdfd400bdf2fe892f9391f8a7ea)
*/
/**
*
* Generated from xml/schema/CRM/Core/ActionMapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2db355e73b3c39feaecdb8e18ddf7c14)
+ * (GenCodeChecksum:bbddce29b37d3352bf681595ee0d3ffd)
*/
/**
*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:48adb86fcda3fc1cb7489d95490582b5)
+ * (GenCodeChecksum:35dfd5d26ce9445b37c831c51ccc5d7e)
*/
/**
*
* Generated from xml/schema/CRM/Core/Address.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4da4403036bc996d0096c71c7ed226a)
+ * (GenCodeChecksum:bd0caca7da12cba4ed8161b892a77229)
*/
/**
*
* Generated from xml/schema/CRM/Core/AddressFormat.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97f3200f7d0f056c11607371d23b2c53)
+ * (GenCodeChecksum:fc7e6c978b71e38b5357cee46708a649)
*/
/**
*
* Generated from xml/schema/CRM/Core/Cache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f75fff9457efc515701d6441c5da3cfd)
+ * (GenCodeChecksum:da6b1275fea0ffb19d09613211f7628e)
*/
/**
*
* Generated from xml/schema/CRM/Core/Component.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:715b933f7b0163579b567da290425992)
+ * (GenCodeChecksum:fd26fa740989a13ac1d91618c2059d57)
*/
/**
*
* Generated from xml/schema/CRM/Core/Country.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e511bfb7cab9f771950ac3c5900c78e)
+ * (GenCodeChecksum:680f4faa9e939df6f6c4ba3f1efd7853)
*/
/**
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:36a36257bf7ce221e17843ebeca96f19)
+ * (GenCodeChecksum:6666108a662d719144f390bf4746268d)
*/
/**
*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8ec2e0591921853bc86149754f5704f9)
+ * (GenCodeChecksum:b53a928be3c87ec7da4f88da3ec825b8)
*/
/**
*
* Generated from xml/schema/CRM/Core/CustomGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ddee40c6f144396056437d29bc0337d7)
+ * (GenCodeChecksum:fbf405c2b8b04de06a84977970ae8b02)
*/
/**
*
* Generated from xml/schema/CRM/Core/Dashboard.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6cb9571887b8c1d15ca18ea07b2ab757)
+ * (GenCodeChecksum:0404bd5bf3e04c20da16ec1950db8ac0)
*/
/**
*
* Generated from xml/schema/CRM/Core/Discount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ef47ec0e0453218f9c5e6ce9435694f7)
+ * (GenCodeChecksum:681876b76553a2f0db5a0c0f9d18eda0)
*/
/**
*
* Generated from xml/schema/CRM/Core/Domain.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90abce1cfca0d365b4ff49fadad001b2)
+ * (GenCodeChecksum:e10798e1d9921d637856a2dfcf7738dc)
*/
/**
*
* Generated from xml/schema/CRM/Core/Email.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4c29213d7bce543125d95b77efa03bbd)
+ * (GenCodeChecksum:84e4a7efb791b5e3ed3b7d7fc9e21a09)
*/
/**
*
* Generated from xml/schema/CRM/Core/EntityFile.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37cc0051ec4b2d54eeeefe4c4d004b6d)
+ * (GenCodeChecksum:db6759b7a93a170611ad4eb003cb9f54)
*/
/**
*
* Generated from xml/schema/CRM/Core/EntityTag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a73f1ade107530181eeb073fd39fc950)
+ * (GenCodeChecksum:c5bfb60ebd84dbe86b8dd8b522fd11e6)
*/
/**
*
* Generated from xml/schema/CRM/Core/Extension.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b979161a3a2ef67738823c85fb902876)
+ * (GenCodeChecksum:8d9c173c0d7da38d4c28c6b712aecee0)
*/
/**
*
* Generated from xml/schema/CRM/Core/File.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7a720dc32168f5e3b5c21226a1daa564)
+ * (GenCodeChecksum:6bf3c3f06e1c01d91a6c6cf5ada7a889)
*/
/**
*
* Generated from xml/schema/CRM/Core/IM.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc655887019b64f21d96c5eff7040972)
+ * (GenCodeChecksum:179c338e66288123b7ca45c78ad57fcc)
*/
/**
*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c999b0d2442859f0c0e5e18de30f2eb2)
+ * (GenCodeChecksum:e5798e1ce73654af23730d7188a0c963)
*/
/**
*
* Generated from xml/schema/CRM/Core/JobLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3aa1cb73c46b5f34cd44a1a37a981722)
+ * (GenCodeChecksum:6677b28207cbf86835164b7b33c38608)
*/
/**
*
* Generated from xml/schema/CRM/Core/LocBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0fc0d628b8d0a4e918045455192980ca)
+ * (GenCodeChecksum:8b7812b634efd7d94dfe689a0d45d12b)
*/
/**
*
* Generated from xml/schema/CRM/Core/LocationType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f297dfb63ce60fba3e9fe36811e63c54)
+ * (GenCodeChecksum:f9c5e451793d7a168906f173ea492ba7)
*/
/**
*
* Generated from xml/schema/CRM/Core/Log.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:125889d1bc0b6eb15c827e1ad378037e)
+ * (GenCodeChecksum:8fe4326f940304ec2c8ea86754d6142e)
*/
/**
*
* Generated from xml/schema/CRM/Core/MailSettings.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e2f8aca7ff7a4c1d4569cd57d978f751)
+ * (GenCodeChecksum:116c87968f4c16758eff8825047a6ceb)
*/
/**
*
* Generated from xml/schema/CRM/Core/Managed.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7254649f0a40bd37a56d5781567c47c7)
+ * (GenCodeChecksum:c8697305b613f6ca6854638025df2fd7)
*/
/**
*
* Generated from xml/schema/CRM/Core/Mapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:12087a864ccb66be7b11af781b242c02)
+ * (GenCodeChecksum:4a0976e14e588b9a81c79e72849494e0)
*/
/**
*
* Generated from xml/schema/CRM/Core/MappingField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f46b7a16002a4e16ee2db61fc394a13a)
+ * (GenCodeChecksum:d2ce640ccb1f30190097cced450038e0)
*/
/**
*
* Generated from xml/schema/CRM/Core/Menu.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c09d043f3d205f3502a3e16f94a200dd)
+ * (GenCodeChecksum:43fa7e0ff85619af0065d2802de6f8f4)
*/
/**
*
* Generated from xml/schema/CRM/Core/MessageTemplate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:09434f7bf2a0cccd82d6f3edf6873e39)
+ * (GenCodeChecksum:10bf11ca59e77fe7be9dfd775e5d5cd0)
*/
/**
*
* Generated from xml/schema/CRM/Core/Navigation.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a120683f9bd11ea9e17fbccfed289fd)
+ * (GenCodeChecksum:2b9fb139d42e95f23ebc1fe7b055c546)
*/
/**
*
* Generated from xml/schema/CRM/Core/Note.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:93f7d0a057e66114cd7b2086c511f0fd)
+ * (GenCodeChecksum:a84f607a5a29a8977287f694f05ab721)
*/
/**
*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52f04f084f77d77647b6fd4fd70f91d9)
+ * (GenCodeChecksum:6547ff2f60e61de44f3ca5a866c1df6a)
*/
/**
*
* Generated from xml/schema/CRM/Core/OptionGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f7256e2bd9f6f3c96ea39c8642dcafb)
+ * (GenCodeChecksum:6be4b908c7861e9026d1f2d78c42a0ac)
*/
/**
*
* Generated from xml/schema/CRM/Core/OptionValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb1be9c1b4275b0298724537618f6895)
+ * (GenCodeChecksum:171565168517add49222893871a84e43)
*/
/**
*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cadb26f607b1638fc26aea5a2a5ccd73)
+ * (GenCodeChecksum:632e24c7c46ff01ecb1acab879bcf625)
*/
/**
*
* Generated from xml/schema/CRM/Core/PreferencesDate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92207005de86924b05203395e1e83675)
+ * (GenCodeChecksum:767dc30f83e4087a07c185f857fc8fb3)
*/
/**
*
* Generated from xml/schema/CRM/Core/PrevNextCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:207e660d644f8fa00b5873ca2d0a298b)
+ * (GenCodeChecksum:af3cb54c291525d39547cefa9bddf11a)
*/
/**
*
* Generated from xml/schema/CRM/Core/PrintLabel.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:56331718846a7dc11e08e8c206696d8a)
+ * (GenCodeChecksum:cae6bd3ef03de9c99cd64c3c232fca54)
*/
/**
*
* Generated from xml/schema/CRM/Core/RecurringEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3295c773e777a676d813419cd27825af)
+ * (GenCodeChecksum:9176ce7b1312c05e06b2d744da945f83)
*/
/**
*
* Generated from xml/schema/CRM/Core/Setting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65d67bb9fc865db88ef5e3a6da69ba87)
+ * (GenCodeChecksum:1cc77a956cd4dfc7dd2a7f22579ad742)
*/
/**
*
* Generated from xml/schema/CRM/Core/StateProvince.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3807f834dde7f3a4bca379cf6e9d9130)
+ * (GenCodeChecksum:d99e943649a1c2db96c2111d7feeeec2)
*/
/**
*
* Generated from xml/schema/CRM/Core/StatusPreference.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37d97f482b6f4e6082c43ad214b5678c)
+ * (GenCodeChecksum:97f98c6f510e57260d2a5e3647a00d4f)
*/
/**
*
* Generated from xml/schema/CRM/Core/SystemLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cd995817d0c300048fa38a8a7ff5d1cd)
+ * (GenCodeChecksum:1dd363d9554947bfdd8c75bba4ee5da9)
*/
/**
*
* Generated from xml/schema/CRM/Core/Tag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:780c9949951c1a27be4fcbc0f9f3a7f0)
+ * (GenCodeChecksum:6bf223ca710a35bc6fb4c5e3f373b214)
*/
/**
*
* Generated from xml/schema/CRM/Core/Timezone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:884c166906e487ac1758fa4da6c816a6)
+ * (GenCodeChecksum:a1960975c14d40dedac3cbf6121044db)
*/
/**
*
* Generated from xml/schema/CRM/Core/Translation.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9c290a244c0efde76b4e0cd83a069b2b)
+ * (GenCodeChecksum:26a0aec7a4d0e31684a513f1a3f6fa18)
*/
/**
*
* Generated from xml/schema/CRM/Core/UFField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4129a22b34b4161f5091e01ceaf5a4c1)
+ * (GenCodeChecksum:47f3fbbbd8d816a9cfb9f7fb4e7d5dc4)
*/
/**
*
* Generated from xml/schema/CRM/Core/UFGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9b253928c8d6b6fd8869e8e8a63e6f6)
+ * (GenCodeChecksum:0cb6463f64d494ca888d10708269b63c)
*/
/**
*
* Generated from xml/schema/CRM/Core/UFJoin.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e50870bd9bbc252854166ca3e90c5601)
+ * (GenCodeChecksum:ad3e1eb59e96ed7553d2a3f48430c934)
*/
/**
*
* Generated from xml/schema/CRM/Core/UFMatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebed522d00626aa9ba2b98178b2045a4)
+ * (GenCodeChecksum:c192c2dfffc598c44141e666fb164342)
*/
/**
*
* Generated from xml/schema/CRM/Core/Website.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bcaae3388c26a04cb9e57dc9546dbfe7)
+ * (GenCodeChecksum:042da2fb78309555f5d4ecbe41d33cd0)
*/
/**
*
* Generated from xml/schema/CRM/Core/WordReplacement.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e4ee8b38fc050b33ce056fff1587d5e6)
+ * (GenCodeChecksum:4465ed4733f5b424c231d208ef1f61d7)
*/
/**
*
* Generated from xml/schema/CRM/Core/Worldregion.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3c8f6cd69c0e0be698517191ad882cb7)
+ * (GenCodeChecksum:897ca1a3833baf2e0c5bc09b350d26cd)
*/
/**
*
* Generated from xml/schema/CRM/Cxn/Cxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c39a28a9d03c9ed8d63e7c0959f6a947)
+ * (GenCodeChecksum:337dd2bb4d7df6fcf7d74813e2c45bd5)
*/
/**
*
* Generated from xml/schema/CRM/Dedupe/DedupeException.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cc97827790267ad8bfb46052ae0360c)
+ * (GenCodeChecksum:52d33f10e1ffb90a32f65a9fa73ac9b3)
*/
/**
*
* Generated from xml/schema/CRM/Dedupe/DedupeRule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:782d96ecc76d4020270fce04574a39b5)
+ * (GenCodeChecksum:be34a32d6749dbd8caecac45f2086b61)
*/
/**
*
* Generated from xml/schema/CRM/Dedupe/DedupeRuleGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d2b969468d4841e3b7595d7beba7cea2)
+ * (GenCodeChecksum:2168d89d281dc113ef6403af4dc39658)
*/
/**
*
* Generated from xml/schema/CRM/Event/Cart/Cart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:183604c066e28af10c1a6b1dc9ccb698)
+ * (GenCodeChecksum:889446482ab589edebb02d7abee76bc5)
*/
/**
*
* Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cde461dbf781f6bb0efa0531f00038b6)
+ * (GenCodeChecksum:872f4e67be93efbed14721bb030227db)
*/
/**
*
* Generated from xml/schema/CRM/Event/Event.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0bee3952ac39a53952b6a7979a79e13)
+ * (GenCodeChecksum:4b2cc938c8bb6e8bcba91513d109ff5f)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2129f60f86eef85a5a5a97a22d41134e)
+ * (GenCodeChecksum:0e7f61919241631110f216e80d72d845)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Event/ParticipantPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6300da7ad1aebb4963cb5857ef146772)
+ * (GenCodeChecksum:faf8b6394f4e57dd2bd6702f712f7157)
*/
/**
*
* Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d4e01997101377c20d79423f6dc281b9)
+ * (GenCodeChecksum:0f5f8f9d2171b25bb250914d746996bc)
*/
/**
*
* Generated from xml/schema/CRM/Financial/Currency.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:702d26343c15d3e3ee91c16f302ba0c0)
+ * (GenCodeChecksum:710d5211ef6887a78a0d2a531b87555a)
*/
/**
*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:70f25c56047d21ecc405e8b7a60ef68d)
+ * (GenCodeChecksum:ed1b639bfb9c1c9be37ed44ed2efe98c)
*/
/**
*
* Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3317f412b569aed0c63b8692d0b7016)
+ * (GenCodeChecksum:fafa322736bff4ccf082449b5e54cd35)
*/
/**
*
* Generated from xml/schema/CRM/Financial/FinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f273f668e30ddfa505cac215f0485c64)
+ * (GenCodeChecksum:08824371a351806b30fc54c608138bd6)
*/
/**
*
* Generated from xml/schema/CRM/Financial/FinancialItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9deaca104b5b1126ad3a064c520d0c3)
+ * (GenCodeChecksum:70be7900a331cb86c9cd6ee76544adc5)
*/
/**
*
* Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2275bd3093a607f7639f8680918dfe89)
+ * (GenCodeChecksum:330be109309bcc6fc543b287c805e606)
*/
/**
*
* Generated from xml/schema/CRM/Financial/FinancialType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:035576414ddb721b2607522dc5d874e4)
+ * (GenCodeChecksum:2e4be9c40fcfbca83940bb875d516886)
*/
/**
*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf3b781bf6401730a67544ab64bb6883)
+ * (GenCodeChecksum:a541d72f9435b6ae2706d98cc01b1598)
*/
/**
*
* Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:38d6905c856137c04e68c5ebdbab4de9)
+ * (GenCodeChecksum:f60f8f4248c8c667223720869d8c81b3)
*/
/**
*
* Generated from xml/schema/CRM/Financial/PaymentToken.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:03492b5f23f8ab161d3515587ed50470)
+ * (GenCodeChecksum:f1c4b32a0722841ec435f9b6c4ecfe54)
*/
/**
*
* Generated from xml/schema/CRM/Friend/Friend.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2405dab9bde6a82673d70673b9c4833b)
+ * (GenCodeChecksum:cddccd848fafb980eb26245c21f47f76)
*/
/**
*
* Generated from xml/schema/CRM/Grant/Grant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3514965c4290206b308ba49da1915ac9)
+ * (GenCodeChecksum:36856b7ed6b7fc04e812c92fd42df94f)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Mailing/BouncePattern.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a340a133494d8de320812a282997d760)
+ * (GenCodeChecksum:c69a86cc75621a05e32951247e12f06b)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/BounceType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b880ec51ff0445ed90072824ba388c5)
+ * (GenCodeChecksum:cde25653865971ad7f5692dfd0eb7c39)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0ec62681276293bf364dc27bc3117b11)
+ * (GenCodeChecksum:a2d71da677efc3436ae8ed9414cdecca)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:753d6580550aec3404384c585451fb96)
+ * (GenCodeChecksum:021242562cab688e65a6c13247c61636)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/MailingComponent.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4fb4d43c4e99fd287db2ae1936ad6b96)
+ * (GenCodeChecksum:41af94f2313c33bb228194f142fc8e0b)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/MailingGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52fcf6b74cf0c8f3ad9d3e6e9c6f8fb4)
+ * (GenCodeChecksum:1e483c2e468defc82c46dd66146595bb)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/MailingJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:66ec8ea61011246f741eab74caed0622)
+ * (GenCodeChecksum:2527bca832d0e7751c69a42d33f28159)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Recipients.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1bb8ea55e30a902501c79a39d7129aa9)
+ * (GenCodeChecksum:b3c4d09f9c6afa1f96dc0d1cdbaec935)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Spool.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d898fa4a28acbca7f43244142daa4712)
+ * (GenCodeChecksum:37cfd90aa2697070996f893259692b4b)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/TrackableURL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b33ea7557c17d9f6eb2f5bc9a3a1807b)
+ * (GenCodeChecksum:4c224c28653ab679c03fb8e98ddc3401)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:de41ec098f97421e689810ea56f27df2)
+ * (GenCodeChecksum:6f3c41c50e9baa89d14295479d66975c)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ca8f4e4d694557fcff22370853263d17)
+ * (GenCodeChecksum:666c5eb15eb75fd23bebb088db0bc004)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:67eb9eaad7e2da2d70e39d358ecfdb6f)
+ * (GenCodeChecksum:01ce8759ea940b4dd34213f25b15e7d3)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Forward.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b725b983e15e98213760102ea9472505)
+ * (GenCodeChecksum:60c155254c97ad953fc07b9244440f4e)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Opened.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:287f7852cf7a1218f9ff6c4ee0a6470a)
+ * (GenCodeChecksum:eb80ba7a01169cc0320fb2807c873291)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Queue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62c78a2685fdd214159e30c944cd85c6)
+ * (GenCodeChecksum:64ec9770e9d859c3dba4512005c188be)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Reply.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:614965c0ed3cb79b5a93c1e3d1248e03)
+ * (GenCodeChecksum:500b838b63185072b949c9e1a308f9d0)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4b0ac23074c6737a52e326f42c8c25ca)
+ * (GenCodeChecksum:e9d5fb2bce9ebd0adb366e76b39d3e84)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ac2ff5ffce9ff76d15e976845bbd8e8)
+ * (GenCodeChecksum:5eed5ab9c156c3f774a049f39546cbac)
*/
/**
*
* Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2f06825cf706eb25be63167950390a62)
+ * (GenCodeChecksum:c1409a676271a172fdc33339a4414951)
*/
/**
*
* Generated from xml/schema/CRM/Member/Membership.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dc1ce9eef7433fb191d837f800a9f745)
+ * (GenCodeChecksum:e364568e0284363b3a9141823215c536)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Member/MembershipBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3a11d3829c8792b08f4e1f361c80e91c)
+ * (GenCodeChecksum:1f5c13fb36ae0853ed5982f6ca40d65a)
*/
/**
*
* Generated from xml/schema/CRM/Member/MembershipLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a110ab7dd0e4be40f840eae85b85048b)
+ * (GenCodeChecksum:cca53e3abe058a7b585138271658d90c)
*/
/**
*
* Generated from xml/schema/CRM/Member/MembershipPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e8b8450bfe96eaf47f0f7d4070caaa8)
+ * (GenCodeChecksum:cb00d5477470230f8ab9b18bc56ca910)
*/
/**
*
* Generated from xml/schema/CRM/Member/MembershipStatus.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:614df1344aee4571915f071bef3d1090)
+ * (GenCodeChecksum:62a534dbf9aed62f4d496939b44acf3d)
*/
/**
*
* Generated from xml/schema/CRM/Member/MembershipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:32c41f6fbf066a56e2beb49cfb976977)
+ * (GenCodeChecksum:e989278865fbeabd9f3d6efc7271a2d1)
*/
/**
*
* Generated from xml/schema/CRM/PCP/PCP.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b6ab23bb8e72eac29f57d10b07ece09c)
+ * (GenCodeChecksum:0d2fc92a3a801a3eb5eca71989b21557)
*/
/**
*
* Generated from xml/schema/CRM/PCP/PCPBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ded07a159b7baf093c3fb98e0656063f)
+ * (GenCodeChecksum:4b5ca843e0a3a2e4b439d03513b20682)
*/
/**
*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:207537ed0241f8d30a332da89eb213af)
+ * (GenCodeChecksum:49bcf54cf3de315f6e8f07519eb1b5f2)
*/
/**
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.
*
*
* Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2ee09d20ee73675e8c28c7aa9207f67d)
+ * (GenCodeChecksum:37dd1b6ee946c78093489ce7a98c55e0)
*/
/**
*
* Generated from xml/schema/CRM/Pledge/PledgePayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a539e4dbc9ec376ab590718431839b72)
+ * (GenCodeChecksum:bfa7183802af9f28111c1d7c7dc6af5a)
*/
/**
*
* Generated from xml/schema/CRM/Price/LineItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cffc97712c8823323cbeb39a0851363a)
+ * (GenCodeChecksum:588f54f07db70f636888c88374b6b5b1)
*/
/**
*
* Generated from xml/schema/CRM/Price/PriceField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a39277a5a91f48154c7015c413a91ee7)
+ * (GenCodeChecksum:9449b207c28052d794e6d0c9d179f51c)
*/
/**
*
* Generated from xml/schema/CRM/Price/PriceFieldValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e22215cf06dcae5dd461ef3fc2c60a2e)
+ * (GenCodeChecksum:7da3309222cffae75ba3d149e8acb395)
*/
/**
*
* Generated from xml/schema/CRM/Price/PriceSet.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbf63d57ef651ede1f0713ac37828dd4)
+ * (GenCodeChecksum:5c5630b1371dd1c8894a25b58ffbb5d9)
*/
/**
*
* Generated from xml/schema/CRM/Price/PriceSetEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4a30fb02c5799b90ff91dc46befa95fe)
+ * (GenCodeChecksum:0be314d066d9e72b66c86a2de6d681a9)
*/
/**
*
* Generated from xml/schema/CRM/Queue/QueueItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7378ae2c08e07dfba99311bbe1958dbf)
+ * (GenCodeChecksum:c509d1bc7563d1cddf1b5c823520b32c)
*/
/**
*
* Generated from xml/schema/CRM/Report/ReportInstance.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f70f5daefce7003cb9325af0740c447d)
+ * (GenCodeChecksum:8119de0836afac038bfa8eeed2c0fb63)
*/
/**
*
* Generated from xml/schema/CRM/SMS/Provider.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3825081bc48abd82f194a390677769bd)
+ * (GenCodeChecksum:0411ce23fd693f810e4b17271b84e567)
*/
/**
'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']);
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;
}
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
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)}