*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebe84476b55f9383d54e5a645f657f83)
+ * (GenCodeChecksum:ef3a393d20b6654dcef952f21df8072d)
*/
/**
* Database access object for the DashboardContact entity.
*/
class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '3.1';
/**
* Static instance to hold the table name.
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Dashboard Contacts');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Dashboard Contacts') : ts('Dashboard Contact');
}
/**
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
+ 'add' => '3.1',
],
'dashboard_id' => [
'name' => 'dashboard_id',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Dashboard',
+ 'add' => '3.1',
],
'contact_id' => [
'name' => 'contact_id',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'add' => '3.1',
],
'column_no' => [
'name' => 'column_no',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
+ 'add' => '3.1',
],
'is_active' => [
'name' => 'is_active',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
+ 'add' => '3.1',
],
'weight' => [
'name' => 'weight',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
+ 'add' => '3.1',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);