*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b22e42a53e4863614014323e5b98526)
+ * (GenCodeChecksum:0af7d1843e1f675978451550b843ba68)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('ACLs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/ACL/ACLCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:976ef3393c10c32cacd6c6405b892533)
+ * (GenCodeChecksum:ca99bbbd188d9c890d47e35c1b0b3bbd)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('ACLCaches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/ACL/EntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:72c64ec6e3120ef60450b00939325d62)
+ * (GenCodeChecksum:b7e097df726e1a5c5c3e495b4583db7a)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Entity Roles');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Activity/Activity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a6494c64eb7395b2221ab118a480c951)
+ * (GenCodeChecksum:69e64467532d53d75fadb5148fe42e76)
*/
/**
*/
public static $_tableName = 'civicrm_activity';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-tasks';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Activities');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Activity/ActivityContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:51894f9aa59e1fed6591b4aa3632e6a6)
+ * (GenCodeChecksum:51e1279768073419675c95b4792366a8)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Activity Contacts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Batch/Batch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ec065dd0aaa794ee44d5fb2216deac3d)
+ * (GenCodeChecksum:a1b3aef6caf88c912e7cc40e1220ae67)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Batches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Batch/EntityBatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d086b52bbce9c11d89087feea79f1bf0)
+ * (GenCodeChecksum:a88f13eb18fecbda3f310bd2e1f97767)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Entity Batches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Campaign/Campaign.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f69a15a0b3ca2db78b4981c73b7d1757)
+ * (GenCodeChecksum:859dab84ee64d9d58287ba723faf3774)
*/
/**
*/
public static $_tableName = 'civicrm_campaign';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-bullhorn';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Campaigns');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b64d5b0724ee405d4ec21c7a1ce7372)
+ * (GenCodeChecksum:c245f47a5db1f3cd039da4cf06b667d1)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Campaign Groups');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Campaign/Survey.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f7cedbe0c777cf7b99c543e80ff5cf0b)
+ * (GenCodeChecksum:44d3b1a60152ac9eb8080e80b3b11d2c)
*/
/**
*/
public static $_tableName = 'civicrm_survey';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-clipboard';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Surveys');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:02b3ed592b9c45f74b0d398c8cf25efd)
+ * (GenCodeChecksum:faa618f0586b8f1f8b581cbde6c279dc)
*/
/**
*/
public static $_tableName = 'civicrm_case';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-folder-open';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Cases');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Case/CaseActivity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:555cd1b20eead1100aa77725a7dd2057)
+ * (GenCodeChecksum:51e6c7e07af84da07b90145b2dd8c0df)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Case Activities');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Case/CaseContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:882177c38c507306b2a456e4cf0303fa)
+ * (GenCodeChecksum:cf45b00165fe5bdad9b216e46091e3e6)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Case Contacts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dfde3b4da5d2f8fd1d41d48398c86e46)
+ * (GenCodeChecksum:91266a2984e12a7526d5a6b13a901c63)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Case Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Contact/ACLContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:74b0413eb512bbd0ecddcb1391ce3c3b)
+ * (GenCodeChecksum:6ab50b60a3e996451e8e35f730207f46)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('ACLContact Caches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e811ca59eee757951e6e190a318f9749)
+ * (GenCodeChecksum:6d8b87302a9cecf71150fc71ca3879dd)
*/
/**
*/
public static $_tableName = 'civicrm_contact';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-address-book-o';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contacts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3ad338181596a9b5e3a9f6549fd381c9)
+ * (GenCodeChecksum:41e6919118b3b6fd2da46ce6aba1da8b)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contact Types');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65a1fcc31732f320ae7193e2a111f72b)
+ * (GenCodeChecksum:ebe84476b55f9383d54e5a645f657f83)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Dashboard Contacts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d166e1dc365b62901602a50d4fb8b727)
+ * (GenCodeChecksum:06233cafdd53c046ba9008ae8af40a1b)
*/
/**
*/
public static $_tableName = 'civicrm_group';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-users';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Groups');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/GroupContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dcc7fe36954bd34340026bb6af5235ef)
+ * (GenCodeChecksum:a2d4155bf9e67023136598c9ca86be31)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Group Contacts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/GroupContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0978847d01b9b3f7819759f8171344c)
+ * (GenCodeChecksum:773c4e4cbe66d404e30e3dffa2dcb8a1)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Group Contact Caches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/GroupNesting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3dbfee8b12a7e1edeaaf4ead4e48db7e)
+ * (GenCodeChecksum:9d8fbfd3582d798a3536300ed7848d85)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Group Nestings');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/GroupOrganization.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fad51ea5930a191661af5319a25e99c7)
+ * (GenCodeChecksum:12abfd5fb4d2eef796fec3a526338538)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Group Organizations');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/Relationship.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:376227269d8c1c224c357387d0862a9f)
+ * (GenCodeChecksum:f512c36730defcd334c0e6ccc896e7fb)
*/
/**
*/
public static $_tableName = 'civicrm_relationship';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-handshake-o';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Relationships');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/RelationshipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:727adcb362121a8c027992f37aa8e7f6)
+ * (GenCodeChecksum:81dab8a4d80601fe4afa3dc1556cc804)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Relationship Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Contact/SavedSearch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a60876bf99e330f6a463247686a92f31)
+ * (GenCodeChecksum:f84f342e55d9bbc420ff499c2789ab48)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Saved Searches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:28bbce4d536484d73c7ade80e3ec9448)
+ * (GenCodeChecksum:a927d94545a8c48923591a3cd494c6be)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Subscription Histories');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/Contribution.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0954aa2ae3574927fda6614f14168fc8)
+ * (GenCodeChecksum:37ea1e1c100be249d416ec13f8269c52)
*/
/**
*/
public static $_tableName = 'civicrm_contribution';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-credit-card';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contributions');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:382259aca3342191a285c0984cab168b)
+ * (GenCodeChecksum:95842d15d54a368f68e6531a1b16797b)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contribution Pages');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:559257fd322f405c912fe7507fcb1cb3)
+ * (GenCodeChecksum:ebb8b8950e36872fffdc5ffcf1fc426f)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contribution Products');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1c6a0e2a296ffbb530eee381975b9d17)
+ * (GenCodeChecksum:0a7eaba45ea7d692276b351cd9cee473)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Recurring Contributions');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7fbb150189946e587cb80c075945e5ba)
+ * (GenCodeChecksum:c03f89f9fba7d8b9c3b863393e617a78)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Contribution Softs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/Premium.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cd90a0aedd51eaf91e1977705e80071f)
+ * (GenCodeChecksum:62ca558719cfe842066d2fb208df2f76)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Premiums');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:444f1def563a1e986ddf0ac56f5b2e84)
+ * (GenCodeChecksum:c0e05c7f98e0801599d18ab12b1937a7)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Premiums Products');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/Product.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0af317e71745b39afb378570922fab90)
+ * (GenCodeChecksum:ba0100c0ce50f67d39a4e131474de7e1)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Products');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Contribute/Widget.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5623f4ecd23646d12dd4278675006d7a)
+ * (GenCodeChecksum:aca8ff271ebf96332e4273589061f8a9)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Widgets');
+ }
+
/**
* Returns foreign keys and entity references.
*
'sourceFile' => $sourceFile,
'fileName' => $klass . '.php',
'objectName' => $klass,
+ 'title' => $tableXML->title ?? self::nameToTitle($klass),
+ 'icon' => $tableXML->icon ?? NULL,
'labelName' => substr($name, 8),
'className' => $this->classNames[$name],
'bao' => (file_exists($baoPath . $klass . '.php') ? str_replace('DAO', 'BAO', $this->classNames[$name]) : $this->classNames[$name]),
return 'CRM_Utils_Type::HUGE';
}
+ /**
+ * Converts an entity name to a user friendly string.
+ *
+ * @param string $name
+ * return string
+ */
+ public static function nameToTitle(string $name) {
+ $name = preg_replace('/([a-z])([A-Z])/', '$1 $2', $name);
+ return CRM_Utils_String::pluralize($name);
+ }
+
}
* @deprecated
*/
public static $_nullObject = NULL;
+
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = NULL;
+
/**
* @var array
* @deprecated
$this->__table = $this->getTableName();
}
+ /**
+ * Returns localized title of this entity.
+ * @return string
+ */
+ public static function getEntityTitle() {
+ $className = static::class;
+ Civi::log()->warning("$className needs to be regeneraged. Missing getEntityTitle method.", ['civi.tag' => 'deprecated']);
+ return CRM_Core_DAO_AllCoreTables::getBriefName($className);
+ }
+
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:e23a4eda4386716e3553aeb30bf1f255)
+ * (GenCodeChecksum:744811fde95e9b8fd7d6a0bc6ce0a4dd)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Action Logs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/ActionMapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b597d359bb254799b8756ee555156dc3)
+ * (GenCodeChecksum:369620c3d8cd0ff237b5372cff2e041f)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Action Mappings');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:480f98c7f38407759f99648abdd78368)
+ * (GenCodeChecksum:6268d24c3a013ae819b86f182c553344)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Action Schedules');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Address.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aed8175462599ecc4c8d43887d76350a)
+ * (GenCodeChecksum:ecd12ccf6f73ab607645bb57298e8366)
*/
/**
*/
public static $_tableName = 'civicrm_address';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-map-marker';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Addresses');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/AddressFormat.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a9ea837c3e5896b5e2b0b62052a5fdaf)
+ * (GenCodeChecksum:f6157f3762d51c4a658be0b2c3b55a17)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Address Formats');
+ }
+
/**
* Returns all the column names of this table
*
*
* @param string $daoName
* Ex: 'Contact'.
- * @return string|NULL
+ * @return CRM_Core_DAO|NULL
* Ex: 'CRM_Contact_DAO_Contact'.
*/
public static function getFullName($daoName) {
*
* Generated from xml/schema/CRM/Core/Cache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2639f5b19898adf08f19b9f2713d5e76)
+ * (GenCodeChecksum:545b50d2d3c660110b57694fb951a84d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Caches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Component.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7df1b2e6e35d3bbd5ae6d71f559cf8cb)
+ * (GenCodeChecksum:401ea910c7f9dc995191f6a4764037ca)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Components');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/Country.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e91ee1ac50cda49d3d228fe953d1ab34)
+ * (GenCodeChecksum:0e0ebf773f04ad229c4165fe05f63345)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Countries');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c22121afe6539d3ec7c51e905de299d7)
+ * (GenCodeChecksum:fe1dce431c3df99392a7a0e5b7d6a612)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Counties');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0b21a2a1f1cba7a76fd8830db1626513)
+ * (GenCodeChecksum:dea9a99c6b6a34dbc3b1f6d04e801661)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Custom Fields');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/CustomGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9fe326403964113e2dde1631bf583c5e)
+ * (GenCodeChecksum:db4bf2393a66e6df5ec2a504b2cf6b3d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Custom Groups');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Dashboard.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:06a6051f8aa495ae244afaa0e75aa7e0)
+ * (GenCodeChecksum:cde009752aa290013f7eca7fed93b9bb)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Dashboards');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Discount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:856b526f1fe395e4460ebf886a258d4f)
+ * (GenCodeChecksum:dcc27cc6871dbb3ce3f892ec35508bef)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Discounts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Domain.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cdd41aa071b68a8a4be6b28f7ca3a0a3)
+ * (GenCodeChecksum:eeb436dfcd543144a2d60e2ddf48e015)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Domains');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Email.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ae76175a9d3e57bc555ce90cac672e73)
+ * (GenCodeChecksum:04c281c9aa6ce3a51e2e08273469ca9f)
*/
/**
*/
public static $_tableName = 'civicrm_email';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-envelope-o';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Emails');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/EntityFile.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ed68159183f272ac4669f1a708bbebd7)
+ * (GenCodeChecksum:9f53de4bc8c3551092104bbb880cca60)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Entity Files');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/EntityTag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af7c604a97027819d9c6316fb84d25bc)
+ * (GenCodeChecksum:8296b5b3e00aa11bdbf6bdbd0a522f2e)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Entity Tags');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Extension.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:13eeed42541ea3b610faa3bc99f6d9cb)
+ * (GenCodeChecksum:570f59a162584f56d66ee72a09e0c6c9)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Extensions');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/File.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e39b61dad16348293a20264602193ad)
+ * (GenCodeChecksum:99baae76a4c2bf505fa7e0c67706844b)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Files');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/IM.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9ea5d47a6892a28874a633ca8c5ef92c)
+ * (GenCodeChecksum:e7172d0e1832211ef5bee017828f41e8)
*/
/**
*/
public static $_tableName = 'civicrm_im';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-comments-o';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Instant Messaging');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8624f719151185db79cd04810c2c2bf)
+ * (GenCodeChecksum:22125e7d95e0e7fcd6df2a696555f352)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Jobs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/JobLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3456b559213c3916aad90a0db8789757)
+ * (GenCodeChecksum:12719e12e89bcb64ad0f701988fe439b)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Job Logs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/LocBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a9b4f279ec52aa2e142cd26ae8beffd5)
+ * (GenCodeChecksum:9442f8158c0a237f0e2340230a748261)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Loc Blocks');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/LocationType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:260be4cdbe3a79363c3ada3137125c4a)
+ * (GenCodeChecksum:a7c9ceb9ba007a11f69bf4be9fc732e0)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Location Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/Log.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0a82a165e8054985acc0f57feebc65ff)
+ * (GenCodeChecksum:3f7c58e17bdae8212004611d6fa2f6f3)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Logs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/MailSettings.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:05dd0edd89684132a6caf6b165665737)
+ * (GenCodeChecksum:1c0272c8ff0392b03ef4a1f6ab23c0df)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mail Settingses');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Managed.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7063a28b0e93d12d335eaad9de5f2aa7)
+ * (GenCodeChecksum:341e6ee8dbeb3ab714034368c32837f1)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Manageds');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/Mapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3f02847e736fe72f375e4ff32c2a61c5)
+ * (GenCodeChecksum:5b937841c099c775e7467f70fdd529b3)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mappings');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/MappingField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:77ca1e64609d29de090d71311dc0e7ac)
+ * (GenCodeChecksum:fdc6c79da7e1c0c60b5a5987ce42fd0d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mapping Fields');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Menu.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:96c64cb8e13a36f16745aefaff64440a)
+ * (GenCodeChecksum:8495038ad35a0a38425fd1d57a6fca43)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Menus');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/MessageTemplate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90ed9b8ad7299f01d2f83ea90b7b7a15)
+ * (GenCodeChecksum:51b2e2f362cb7a438a04146b11589662)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Message Templates');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/Navigation.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aeeb917df8c32ff97102c2c710d41d19)
+ * (GenCodeChecksum:3819d9a3e40bfbc36a06809c1f4bd98c)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Navigations');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Note.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7a58bb39022811ac55bfaed58c241487)
+ * (GenCodeChecksum:fd649e023be90204b62cc283886fa400)
*/
/**
*/
public static $_tableName = 'civicrm_note';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-sticky-note';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Notes');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2afae5cc76cd5df22b314276138fc122)
+ * (GenCodeChecksum:4fcc767aa82b542cd813a9de097a322c)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Open IDs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/OptionGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:54d95c919472473c234b6747d668bf85)
+ * (GenCodeChecksum:1a8e6b71368afcabdc96d2fe768d67ec)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Option Groups');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/OptionValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7aa11987c26800632c3798b4cfce95c1)
+ * (GenCodeChecksum:83c97e8281f7ceb605ed4e462abf25ee)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Option Values');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:76a7202934e0d8aa7f4240c61a42e42c)
+ * (GenCodeChecksum:dcfc4989d248f3990a5ac2a422597061)
*/
/**
*/
public static $_tableName = 'civicrm_phone';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-phone';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Phones');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/PreferencesDate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ae20ee814de4f0fe71ac45d4a392fba9)
+ * (GenCodeChecksum:59621b636915c317561204de52299004)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Preferences Dates');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/PrevNextCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3e9aecea5100250d4b6ce9a4f6ca036)
+ * (GenCodeChecksum:bfe0f84f9404ffcc242ca8c15de4ca14)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Prev Next Caches');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/PrintLabel.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8dffa0c7640137bb8dede0fd7c67cff)
+ * (GenCodeChecksum:e6d0fdaf773f8dec9b1b9282a41788d9)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Print Labels');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/RecurringEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f1f931c974eaf11d7540549468feae59)
+ * (GenCodeChecksum:6321192add109bdc0211b72cc49e3611)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Recurring Entities');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/Setting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4d9feaf199010473cdf5b2d0a0d2f5e)
+ * (GenCodeChecksum:ecb3cb15071a1a6d785c458130040476)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Settings');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/StateProvince.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e9d53ba801682110c3839eb703aa052)
+ * (GenCodeChecksum:87314c17f95f8e72c6067d2c6a1892b5)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('State Provinces');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/StatusPreference.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58684eb3e6d1e474bae8449f4a84ef63)
+ * (GenCodeChecksum:247c306dde20f79544e92221883dcef5)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Status Preferences');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/SystemLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:53db5a26709c3b0d4cad8e38b28aef18)
+ * (GenCodeChecksum:99bd9a916303fe5167b981e14e05351e)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('System Logs');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Core/Tag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18f8021635fed59be1eabc246f6b88cb)
+ * (GenCodeChecksum:9aea04911ddc80492007b3217709ba9f)
*/
/**
*/
public static $_tableName = 'civicrm_tag';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-tag';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Tags');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Timezone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a48a49afa56a0c510fb1c05a41a62435)
+ * (GenCodeChecksum:0c8797659c05f81eb6f2f2589b5baee4)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Timezones');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/UFField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0ae6fe5adeee3c32d64c87272d090b6)
+ * (GenCodeChecksum:00cecb109e6a5589dff3c84d3665abfd)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('UFFields');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/UFGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:17f8c18034495ef7294802e4597b06f3)
+ * (GenCodeChecksum:a8da7bcb3b3499b21475a73fde62e9ec)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('UFGroups');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/UFJoin.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d8e9800524a344006c80c158e722f6cd)
+ * (GenCodeChecksum:159c61f4198faeeae14a9f79948e7509)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('UFJoins');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/UFMatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d732d7f3bfb8cec86d292b888e12a93c)
+ * (GenCodeChecksum:7ce4fe9f5303456e336af537ec214114)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('UFMatches');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Website.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b71c21e94fb523fd92a2579cb36ccc9b)
+ * (GenCodeChecksum:0abd2a4df3623b2f609a209ada2890f5)
*/
/**
*/
public static $_tableName = 'civicrm_website';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-desktop';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Websites');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/WordReplacement.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0e956a44911169933aabb2bfdc266e32)
+ * (GenCodeChecksum:7c49ce3c9b6ec6cebff0413535928cbf)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Word Replacements');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Core/Worldregion.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ec8ef1b1bc0640dbc48b47a34ea197ed)
+ * (GenCodeChecksum:f077b55105d6cbc918a1beddb158fe7d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Worldregions');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Cxn/Cxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbdc69652244ce9a681d85cd39ab2ba8)
+ * (GenCodeChecksum:efa483cd4f17b2ff7c7444dd888b2369)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Cxns');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Dedupe/Exception.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc7e5282c75e16acace7b9d8555f6ef7)
+ * (GenCodeChecksum:ba60ce547a19bb867543b38a84f4654d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Exceptions');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Dedupe/Rule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9d3a0a3213757c341f051bf258b5c67f)
+ * (GenCodeChecksum:78004d786287419f4f322dd22c8e7daa)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Rules');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Dedupe/RuleGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:16caaddab6049c5559c418b140d03fa8)
+ * (GenCodeChecksum:77493b98b740fced03c2bca0ab28f567)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Rule Groups');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Event/Cart/Cart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:57220a9c79c8b801d23ed0c31cb18a63)
+ * (GenCodeChecksum:ff4dc6dfd849ffb9b89627be860bad2b)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Carts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a3cddf6fa66ed1294fb6a2736449ac3f)
+ * (GenCodeChecksum:08059cba106ef30473329a642a4edc84)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Event In Carts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Event/Event.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:700e3666bce40a962c06c970790fb599)
+ * (GenCodeChecksum:7d58a760f7733cbb24b8e49ba31825af)
*/
/**
*/
public static $_tableName = 'civicrm_event';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-calendar';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Events');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc3da50711791a21ca2aff845977efbb)
+ * (GenCodeChecksum:b69fa86841b69f5f447c8dbd1b135437)
*/
/**
*/
public static $_tableName = 'civicrm_participant';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-ticket';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Participants');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Event/ParticipantPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2bf1d538625b84200c82b914ea043e90)
+ * (GenCodeChecksum:f368164249ac0b81ebd1920d0976ddf2)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Participant Payments');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d87b49cf752d4ffb3ff346c30506e170)
+ * (GenCodeChecksum:169aa98c17692b3d292aba16450fe51a)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Participant Status Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Financial/Currency.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:deb271a4217800d258244eab0eec2af5)
+ * (GenCodeChecksum:37f7754e31fe685b29f1e04a13264253)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Currencies');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:677acfd2e16083ab88abbeb3051dd616)
+ * (GenCodeChecksum:52f632fb4083dc1e94f1d252a4eeec99)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Entity Financial Accounts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a2a7ed7efce5731cde1127d2ca874fb6)
+ * (GenCodeChecksum:2654d7bdf6a8a80e13d17a6bb88e2a1a)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Entity Financial Trxns');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Financial/FinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ccca91d77f1c8f2639bf0d81bd484b9c)
+ * (GenCodeChecksum:50acc3ed98cf98d333d2fa80d7089577)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Financial Accounts');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Financial/FinancialItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:955fb837c150c2f16f165f8a03610769)
+ * (GenCodeChecksum:f0c54d50618e54bd122e14fab50402be)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Financial Items');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b87e37bc3aa9d445e74d1f5d38bdb61)
+ * (GenCodeChecksum:fc57b040c59579f712c08578967559e5)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Financial Trxns');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Financial/FinancialType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2b85a903889dbaebc8fd1dc4994ef11d)
+ * (GenCodeChecksum:9ee373312e38ce1a53603685cb99724c)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Financial Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf330d3d3e18960b1e32a3001d8cd038)
+ * (GenCodeChecksum:5ed40da0dfabffcfec0b61650d63dd27)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Payment Processors');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1133a3c9eb58738c315a8509fea39d72)
+ * (GenCodeChecksum:5df657121babe9100c41c72eecb72181)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Payment Processor Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Financial/PaymentToken.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:13544efb93b23abff9ec2bf420fcd15a)
+ * (GenCodeChecksum:720f0e7cb082e98a9ec58b94de532db3)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Payment Tokens');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Friend/Friend.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1800a70ee75e0958cd01c250085ab793)
+ * (GenCodeChecksum:b414251f70114c81d45e699531a109af)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Friends');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Grant/Grant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e3991ac7947eba1455b363a55b1064eb)
+ * (GenCodeChecksum:7c259bc89c2ee91302a9bd188f6cc3db)
*/
/**
*/
public static $_tableName = 'civicrm_grant';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-money';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Grants');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/BouncePattern.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c72ed4774d00758d25e6a167f4215906)
+ * (GenCodeChecksum:265a74c7d2cd07b11d0b43bf91e0fe62)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Bounce Patterns');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/BounceType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9a10baee53da12eee58e5b229fadf6d9)
+ * (GenCodeChecksum:3870b655b29d0264bd4915d3c93a3018)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Bounce Types');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5e3229fc70fd87ddb448fcc672e44c3d)
+ * (GenCodeChecksum:f1550e9f33a11dda97195455557f3035)
*/
/**
*/
public static $_tableName = 'civicrm_mailing';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-envelope-o';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailings');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:808ef560b5f6c959cb4f3ceea87f5e38)
+ * (GenCodeChecksum:afe07cb9f1839c37e7511949fc1f0bdc)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailing ABs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/MailingComponent.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f490a6a53497465a1dcb603a9eba297)
+ * (GenCodeChecksum:0a36b87bc4baaec899f666c22187a071)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailing Components');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Mailing/MailingGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c36d380f7c8e1c66c5bb3e721ebb2586)
+ * (GenCodeChecksum:2cb7030bb80525d10031c1d8d524c4a6)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailing Groups');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/MailingJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:91fa15df43a9b86ba6cd53f1cc9783eb)
+ * (GenCodeChecksum:6f300d432494c6b7df0480c1768290c8)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailing Jobs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Recipients.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:75cd62ee31977e5f17025529a8b00a77)
+ * (GenCodeChecksum:a41f54cef4cdf0fe50f59ecc7a52cdee)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Recipientses');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Spool.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d7cd83f74e7fdb454cf91ea9d2fd3450)
+ * (GenCodeChecksum:96b1fb5521e4495353d74a3017db6a73)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Spools');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/TrackableURL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af4238980ab67199493caf43c6ce2f35)
+ * (GenCodeChecksum:d6ed69fd6ed6a2344ce2349f1c56889f)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Trackable URLs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3ac099332818c43f2dca066c6e73149c)
+ * (GenCodeChecksum:730596183ae4efba185b7a5ad20fd7d6)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Bounces');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a7b8a7cbbffc3c2ad56f4a27a5fe0d47)
+ * (GenCodeChecksum:801236eec78c2079b4a35e3f6d097eef)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Confirms');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:868d8d539be2f960708c791e77142cf7)
+ * (GenCodeChecksum:8c36caf8d0b3d93b6ecc08db039309e4)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Delivereds');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Forward.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2d80815845585711db7a4ceaa9d54187)
+ * (GenCodeChecksum:9a9500f955376ac43ed4cd941eb8e47d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Forwards');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Opened.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e7b766df9d29ea2c12eca943ce3c6d3)
+ * (GenCodeChecksum:2dc61dd49b47eef791905aafc1ba6ee4)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Openeds');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Queue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c13b7d1f71aa2aaba32558fe215efb3c)
+ * (GenCodeChecksum:3c7d41d69880cdcac21a45499b412db7)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Queues');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Reply.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb0b422177a50b7c27241338317f4f77)
+ * (GenCodeChecksum:3598974beede4fd0cdcfeab1422dc465)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Replies');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f6605e240579a1d1911cd7fa1fa535df)
+ * (GenCodeChecksum:97eb613e24b342aeb86b6e82b740ce7c)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Subscribes');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e3972b32e62b53916079913b418785d9)
+ * (GenCodeChecksum:958934aa3faffa4fb0de8d6c178b428a)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Trackable URLOpens');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b94d81304a2444e6200faad7c2703a87)
+ * (GenCodeChecksum:b7ec3c7157b019ce2783d5d0b369690c)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Unsubscribes');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Member/Membership.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a676a436711b85a6c7228e6566a12fc)
+ * (GenCodeChecksum:e4d8c3cad5d344630c65f778238f1e27)
*/
/**
*/
public static $_tableName = 'civicrm_membership';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-id-badge';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Memberships');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Member/MembershipBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:09fae8131ecad39069914c10f9f7ccf4)
+ * (GenCodeChecksum:becab4023b8e0c9d10b2081b7002467d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Membership Blocks');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Member/MembershipLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:68b899f9c0d2eabcc19b070cb6d92a25)
+ * (GenCodeChecksum:c4812779eb38780be0f426d084ac51ff)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Membership Logs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Member/MembershipPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4bff4dffec3c3a766c34f49eb96ece19)
+ * (GenCodeChecksum:a1d90b50f82493fea93ba2236877fb45)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Membership Payments');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Member/MembershipStatus.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37fdd036d0cc453eeb5cbfa14b7b27d2)
+ * (GenCodeChecksum:82972d65885561006f0b674bd0add135)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Membership Statuses');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Member/MembershipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c75161ef1844cf9a3977d458f0cb515b)
+ * (GenCodeChecksum:f5bc2479f6a11bf6e573782d008ca262)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Membership Types');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/PCP/PCP.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c12e9747f9f51dba37cbb4dc80fb36ef)
+ * (GenCodeChecksum:cbc0ec5e899ec81538d2a54f44281856)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('PCPs');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/PCP/PCPBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dd013e9f20918e34e96caa5728dd5047)
+ * (GenCodeChecksum:d4817f5b53ace3909b94c7f6baff5964)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('PCPBlocks');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:482a699f087b9ed0250d60f0663727f4)
+ * (GenCodeChecksum:7beeffe02aa5aa08578f40547b3c61bd)
*/
/**
*/
public static $_tableName = 'civicrm_pledge';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-paper-plane';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Pledges');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:748faa657d316e3de8124c5a1ecb7095)
+ * (GenCodeChecksum:8a4ad7f69cab18b992ea2c18ddccec62)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Pledge Blocks');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Pledge/PledgePayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cfecdde34ba28e4860662441f0f234f5)
+ * (GenCodeChecksum:265731583eeecb13c4759e29bf63b231)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Pledge Payments');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Price/LineItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6a272dce6bb5be6d82e1da572bfd4189)
+ * (GenCodeChecksum:5609d31fcef89762093ebeccbf76f91b)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Line Items');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Price/PriceField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:691cc70f15386dd0c2cd4ab63f9798af)
+ * (GenCodeChecksum:6e47994bc98a74964af2347e6f93ad23)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Price Fields');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Price/PriceFieldValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:47c904125e3421dde14b5fcd9b8a6f16)
+ * (GenCodeChecksum:192669fc7d0257b2f4a84c2cf6aebcc6)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Price Field Values');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Price/PriceSet.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1d3d7fd9d32dd7cd257c4f5a7468db29)
+ * (GenCodeChecksum:94d729c1b16adccb8e8b0111784314b5)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Price Sets');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Price/PriceSetEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4fdcc0f0c59179ec6ef07fd1cd87537)
+ * (GenCodeChecksum:11565afec12a53af8656a6eaf33b0977)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Price Set Entities');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/Queue/QueueItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2a3cbbf88c75557fad0418a96b051160)
+ * (GenCodeChecksum:4b3a1116045b1c18e6aa3288bbd07b49)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Queue Items');
+ }
+
/**
* Returns all the column names of this table
*
*
* Generated from xml/schema/CRM/Report/ReportInstance.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b68bec0504edaba7f0038dc41baa524)
+ * (GenCodeChecksum:e578602adaab855b72e2aef8992cb97e)
*/
/**
*/
public static $_tableName = 'civicrm_report_instance';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-bar-chart';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Reports');
+ }
+
/**
* Returns foreign keys and entity references.
*
*
* Generated from xml/schema/CRM/SMS/Provider.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f832b1b8dbd4cbee327a0900c128cc4)
+ * (GenCodeChecksum:964732a3dec2213ab9106ddd23e5391d)
*/
/**
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Providers');
+ }
+
/**
* Returns foreign keys and entity references.
*
* @return string
*/
public static function pluralize($str) {
- switch (substr($str, -1)) {
- case 's':
- return $str . 'es';
-
- case 'y':
- return substr($str, 0, -1) . 'ies';
-
- default:
- return $str . 's';
+ $lastLetter = substr($str, -1);
+ $lastTwo = substr($str, -2);
+ if ($lastLetter == 's' || $lastTwo == 'ch') {
+ return $str . 'es';
+ }
+ if ($lastLetter == 'y' && $lastTwo != 'ey') {
+ return substr($str, 0, -1) . 'ies';
}
+ return $str . 's';
}
/**
namespace Civi\Api4\Action\Entity;
use Civi\Api4\CustomGroup;
-use Civi\Api4\Utils\ReflectionUtils;
/**
* Get the names & docblocks of all APIv4 entities.
protected function getRecords() {
$entities = [];
$toGet = $this->_itemsToGet('name');
- $getDocs = $this->_isFieldSelected('description', 'comment', 'see');
$locations = array_merge([\Civi::paths()->getPath('[civicrm.root]/Civi.php')],
array_column(\CRM_Extension_System::singleton()->getMapper()->getActiveModuleFiles(), 'filePath')
);
foreach (glob("$dir/*.php") as $file) {
$matches = [];
preg_match('/(\w*)\.php$/', $file, $matches);
+ $entity = '\Civi\Api4\\' . $matches[1];
if (
(!$toGet || in_array($matches[1], $toGet))
- && is_a('\Civi\Api4\\' . $matches[1], '\Civi\Api4\Generic\AbstractEntity', TRUE)
+ && is_a($entity, '\Civi\Api4\Generic\AbstractEntity', TRUE)
) {
- $entity = ['name' => $matches[1]];
- if ($getDocs) {
- $this->addDocs($entity);
- }
- $entities[$matches[1]] = $entity;
+ $info = $entity::getInfo();
+ $entities[$info['name']] = $info;
}
}
}
$fieldName = 'Custom_' . $customEntity['name'];
$entities[$fieldName] = [
'name' => $fieldName,
- 'description' => $customEntity['title'] . ' custom group - extends ' . $customEntity['extends'],
+ 'title' => $customEntity['title'],
+ 'description' => 'Custom group - extends ' . $customEntity['extends'],
'see' => [
'https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/#multiple-record-fieldsets',
'\\Civi\\Api4\\CustomGroup',
return html_entity_decode(strip_tags($input), ENT_QUOTES | ENT_HTML5, 'UTF-8');
}
- /**
- * Add info from code docblock.
- *
- * @param $entity
- */
- private function addDocs(&$entity) {
- $reflection = new \ReflectionClass("\\Civi\\Api4\\" . $entity['name']);
- $entity += ReflectionUtils::getCodeDocs($reflection, NULL, ['entity' => $entity['name']]);
- unset($entity['package'], $entity['method']);
- }
-
}
$entityReflection = new \ReflectionClass('\Civi\Api4\\' . $this->_entityName);
foreach ($entityReflection->getMethods(\ReflectionMethod::IS_STATIC | \ReflectionMethod::IS_PUBLIC) as $method) {
$actionName = $method->getName();
- if ($actionName != 'permissions' && $actionName[0] != '_') {
+ if ($actionName != 'permissions' && $actionName != 'getInfo' && $actionName[0] != '_') {
$this->loadAction($actionName, $method);
}
}
namespace Civi\Api4\Generic;
use Civi\API\Exception\NotImplementedException;
+use Civi\Api4\Utils\ReflectionUtils;
/**
* Base class for all api entities.
return substr(static::class, strrpos(static::class, '\\') + 1);
}
+ /**
+ * Overridable function to return a localized title for this entity.
+ *
+ * @return string
+ */
+ protected static function getEntityTitle() {
+ return static::getEntityName();
+ }
+
/**
* Magic method to return the action object for an api.
*
return $actionObject;
}
+ /**
+ * Reflection function called by Entity::get()
+ *
+ * @see \Civi\Api4\Action\Entity\Get
+ * @return array
+ */
+ public static function getInfo() {
+ $info = [
+ 'name' => static::getEntityName(),
+ 'title' => static::getEntityTitle(),
+ ];
+ $reflection = new \ReflectionClass(static::class);
+ $info += ReflectionUtils::getCodeDocs($reflection, NULL, ['entity' => $info['name']]);
+ unset($info['package'], $info['method']);
+ return $info;
+ }
+
}
return new BasicReplaceAction(static::class, __FUNCTION__);
}
+ /**
+ * @return string
+ */
+ protected static function getEntityTitle() {
+ $name = static::getEntityName();
+ $dao = \CRM_Core_DAO_AllCoreTables::getFullName($name);
+ return $dao ? $dao::getEntityTitle() : $name;
+ }
+
+ /**
+ * @return array
+ */
+ public static function getInfo() {
+ $info = parent::getInfo();
+ $dao = \CRM_Core_DAO_AllCoreTables::getFullName($info['name']);
+ if ($dao) {
+ $info['icon'] = $dao::$_icon;
+ $info['dao'] = $dao;
+ }
+ return $info;
+ }
+
}
};
if (!entities.length) {
- formatForSelect2(schema, entities, 'name', ['description']);
+ formatForSelect2(schema, entities, 'name', ['description', 'icon']);
}
$scope.$bindToRoute({
<comment>Other Activity details stored here include contact, location, details.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-tasks</icon>
<field>
<name>id</name>
<uniqueName>activity_id</uniqueName>
<name>civicrm_campaign</name>
<comment>Campaign Details.</comment>
<add>3.3</add>
-
+ <icon>fa-bullhorn</icon>
<field>
<name>id</name>
<title>Campaign ID</title>
<name>civicrm_survey</name>
<comment>Campaign Survey Details.</comment>
<add>3.2</add>
-
+ <icon>fa-clipboard</icon>
<field>
<name>id</name>
<title>Survey ID</title>
<comment>This table stores information about cases grouping activities.</comment>
<add>1.8</add>
<log>true</log>
+ <icon>fa-folder-open</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<comment>Contact objects are defined by a civicrm_contact record plus a related civicrm_contact_type record.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-address-book-o</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<comment>Provide grouping of related contacts</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-users</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<comment>Relationship between any 2 types of contacts.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-handshake-o</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<name>civicrm_contribution</name>
<add>1.3</add>
<log>true</log>
+ <icon>fa-credit-card</icon>
<field>
<name>id</name>
<uniqueName>contribution_id</uniqueName>
<name>civicrm_contribution_recur</name>
<add>1.6</add>
<log>true</log>
+ <title>Recurring Contributions</title>
<field>
<name>id</name>
<uniqueName>contribution_recur_id</uniqueName>
<comment>Stores the physical street / mailing address. This format should be capable of storing ALL international addresses.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-map-marker</icon>
<field>
<name>id</name>
<uniqueName>address_id</uniqueName>
<comment>Email information for a specific location.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-envelope-o</icon>
<field>
<name>id</name>
<title>Email ID</title>
<comment>IM information for a specific location.</comment>
<add>1.1</add>
<log>true</log>
+ <title>Instant Messaging</title>
+ <icon>fa-comments-o</icon>
<field>
<name>id</name>
<title>Instant Messenger ID</title>
<comment>Notes can be linked to any object in the application.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-sticky-note</icon>
<field>
<name>id</name>
<title>Note ID</title>
<comment>Phone information for a specific location.</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-phone</icon>
<field>
<name>id</name>
<title>Phone ID</title>
<comment>Provides support for flat or hierarchical classification of various types of entities (contacts, groups, actions...).</comment>
<add>1.1</add>
<log>true</log>
+ <icon>fa-tag</icon>
<field>
<name>id</name>
<title>Tag ID</title>
<name>civicrm_website</name>
<comment>Website information for a specific location.</comment>
<add>3.2</add>
+ <icon>fa-desktop</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<name>civicrm_event</name>
<add>1.7</add>
<log>true</log>
+ <icon>fa-calendar</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<name>civicrm_participant</name>
<add>1.7</add>
<log>true</log>
+ <icon>fa-ticket</icon>
<field>
<name>id</name>
<uniqueName>participant_id</uniqueName>
<comment>This table stores information about grants given to a contact.</comment>
<add>1.8</add>
<log>true</log>
+ <icon>fa-money</icon>
<field>
<name>id</name>
<type>int unsigned</type>
<name>civicrm_mailing</name>
<comment>Stores information about a mailing.</comment>
<archive>true</archive>
+ <icon>fa-envelope-o</icon>
<field>
<name>id</name>
<title>Mailing ID</title>
<comment>Contact Membership records.</comment>
<add>1.5</add>
<log>true</log>
+ <icon>fa-id-badge</icon>
<field>
<name>id</name>
<uniqueName>membership_id</uniqueName>
<name>civicrm_pledge</name>
<add>2.1</add>
<log>true</log>
+ <icon>fa-paper-plane</icon>
<field>
<name>id</name>
<uniqueName>pledge_id</uniqueName>
<name>civicrm_report_instance</name>
<comment>Users can save their report instance and put in a cron tab etc.</comment>
<add>2.2</add>
+ <title>Reports</title>
+ <icon>fa-bar-chart</icon>
<field>
<name>id</name>
<title>Report Instance ID</title>
*/
public static $_tableName = '{$table.name}';
+ {if $table.icon}
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = '{$table.icon}';
+ {/if}
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct( );
{rdelim}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {ldelim}
+ return ts('{$table.title}');
+ {rdelim}
+
+
+
{if $table.foreignKey || $table.dynamicForeignKey}
/**
* Returns foreign keys and entity references.