*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d49159426e04e1bab16768e2f7ed9551)
+ * (GenCodeChecksum:3d1a53d2aa2092299ce1a5b5ceb468f1)
*/
/**
return $plural ? ts('ACLs') : ts('ACL');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'ACL',
'bao' => 'CRM_ACL_BAO_ACL',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'pseudoconstant' => [
'optionGroupName' => 'acl_role',
'optionEditPath' => 'civicrm/admin/options/acl_role',
*
* Generated from xml/schema/CRM/ACL/ACLCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9c12474c5ca5cb7ebdd2863c0d196fdd)
+ * (GenCodeChecksum:a4f7301d73ae6c7771075e585f120059)
*/
/**
return $plural ? ts('ACLCaches') : ts('ACLCache');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'acl_id', 'civicrm_acl', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_ACL_DAO_ACLCache',
'localizable' => 0,
'FKClassName' => 'CRM_ACL_DAO_ACL',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("ACL"),
],
*
* Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:40a405c8fced6fcaf672b6f7986ac941)
+ * (GenCodeChecksum:864dfaaffafb1aac5963e88c3b847c56)
*/
/**
return $plural ? ts('ACL Role Assignments') : ts('ACL Role Assignment');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'ACLEntityRole',
'bao' => 'CRM_ACL_BAO_ACLEntityRole',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.6',
],
'is_active' => [
*
* Generated from xml/schema/CRM/Activity/Activity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ffa034666119a99fd35c5cf8955b8ecc)
+ * (GenCodeChecksum:18d2e627738109617e50c084979441c0)
*/
/**
return ts('Past or future actions concerning one or more contacts.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_activity', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_id', 'civicrm_relationship', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'original_id', 'civicrm_activity', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Phone',
+ 'FKColumnName' => 'id',
'deprecated' => TRUE,
'html' => [
'type' => 'EntityRef',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'FKClassName' => 'CRM_Activity_DAO_Activity',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Parent Activity"),
],
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Relationship',
+ 'FKColumnName' => 'id',
'deprecated' => TRUE,
'html' => [
'label' => ts("Relationship"),
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'FKClassName' => 'CRM_Activity_DAO_Activity',
+ 'FKColumnName' => 'id',
'deprecated' => TRUE,
'html' => [
'label' => ts("Original Activity"),
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Activity/ActivityContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd1feb6c83534a381e35804ae722914d)
+ * (GenCodeChecksum:1e56caf678b48133edb050534211993a)
*/
/**
return $plural ? ts('Activity Contacts') : ts('Activity Contact');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'activity_id', 'civicrm_activity', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Activity_BAO_ActivityContact',
'localizable' => 0,
'FKClassName' => 'CRM_Activity_DAO_Activity',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Activity"),
],
'bao' => 'CRM_Activity_BAO_ActivityContact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Batch/Batch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4f4971d181f79d33d8cd13fb54ea14b)
+ * (GenCodeChecksum:9b0fed60412874a7e3ebcaabe143bb18)
*/
/**
return $plural ? ts('Batches') : ts('Batch');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Batch_BAO_Batch',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Batch_BAO_Batch',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
'bao' => 'CRM_Batch_BAO_Batch',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_SavedSearch',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Smart Group"),
*
* Generated from xml/schema/CRM/Batch/EntityBatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3aeab19bbe2e645ffa8a149e2819d3a7)
+ * (GenCodeChecksum:c2622d64e4cab3d7fb2a2b1cc2424efd)
*/
/**
return $plural ? ts('Entity Batches') : ts('Entity Batch');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'batch_id', 'civicrm_batch', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'EntityBatch',
'bao' => 'CRM_Batch_BAO_EntityBatch',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '3.3',
],
'batch_id' => [
'bao' => 'CRM_Batch_BAO_EntityBatch',
'localizable' => 0,
'FKClassName' => 'CRM_Batch_DAO_Batch',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Batch"),
],
*
* Generated from xml/schema/CRM/Campaign/Campaign.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbeaf967ec7d7d3532d4cacb2a0e36b4)
+ * (GenCodeChecksum:a54430a3a190945a3252b69151eb26ff)
*/
/**
return ts('Campaigns link activities, contributions, mailings, etc. that share a programmatic goal.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_campaign', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'last_modified_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Campaign_BAO_Campaign',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Parent Campaign"),
'bao' => 'CRM_Campaign_BAO_Campaign',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Campaign_BAO_Campaign',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
*
* Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a33ba39795de9f821cfb90cbe83db039)
+ * (GenCodeChecksum:f76990e9e90197859805296c8ce7818e)
*/
/**
return $plural ? ts('Campaign Groups') : ts('Campaign Group');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Campaign_DAO_CampaignGroup',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Campaign"),
'entity' => 'CampaignGroup',
'bao' => 'CRM_Campaign_DAO_CampaignGroup',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '3.3',
],
];
*
* Generated from xml/schema/CRM/Campaign/Survey.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b517a686715877b8cde6af69122dcc0d)
+ * (GenCodeChecksum:6b7ed7c668ff78b88eff06644a9673c8)
*/
/**
return $plural ? ts('Surveys') : ts('Survey');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'last_modified_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Campaign_BAO_Survey',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Campaign"),
'bao' => 'CRM_Campaign_BAO_Survey',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Campaign_BAO_Survey',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b5dbbb96b15e9ff288890017d324b984)
+ * (GenCodeChecksum:ae2ebb6d7b065ab0e098e67f581cc874)
*/
/**
return ts('Collections of activities and relationships for a given purpose.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_type_id', 'civicrm_case_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Case_BAO_Case',
'localizable' => 0,
'FKClassName' => 'CRM_Case_DAO_CaseType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Case Type"),
*
* Generated from xml/schema/CRM/Case/CaseActivity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f23fb40d45733dd00663de2b580911b5)
+ * (GenCodeChecksum:0800682b3ed520cf7a9295226219cef2)
*/
/**
return $plural ? ts('Case Activities') : ts('Case Activity');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_id', 'civicrm_case', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'activity_id', 'civicrm_activity', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Case_DAO_CaseActivity',
'localizable' => 0,
'FKClassName' => 'CRM_Case_DAO_Case',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Case"),
],
'bao' => 'CRM_Case_DAO_CaseActivity',
'localizable' => 0,
'FKClassName' => 'CRM_Activity_DAO_Activity',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Activity"),
],
*
* Generated from xml/schema/CRM/Case/CaseContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61369f10107baa2a4c95d6cd83045a00)
+ * (GenCodeChecksum:e86592582af3784c253cac8744460ffe)
*/
/**
return $plural ? ts('Case Contacts') : ts('Case Contact');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_id', 'civicrm_case', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Case_BAO_CaseContact',
'localizable' => 0,
'FKClassName' => 'CRM_Case_DAO_Case',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Case"),
],
'bao' => 'CRM_Case_BAO_CaseContact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0470d0df786c3ac33a435555a3d026fb)
+ * (GenCodeChecksum:f799748a5b7e54fafad9dea3cafbb444)
*/
/**
return ts('Individuals, organizations, households, etc.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'primary_contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'employer_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Household Primary Contact"),
],
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Current Employer"),
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e4773f83a587c49fc7efc7a507b06fb8)
+ * (GenCodeChecksum:e6867c8178161a74d2aa6c0cd2f55b7a)
*/
/**
return $plural ? ts('Contact Types') : ts('Contact Type');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_contact_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_ContactType',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_ContactType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Parent"),
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2b31333980964ba3394f0c71cc764a9d)
+ * (GenCodeChecksum:bdf36ed6404765eac4648f18ddd25e0c)
*/
/**
return $plural ? ts('Dashboard Contacts') : ts('Dashboard Contact');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dashboard_id', 'civicrm_dashboard', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Dashboard',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Dashboard"),
],
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:751b5e9e81fbe25cb995f4b4c3494346)
+ * (GenCodeChecksum:d673dfbe94fef69bf9598fdf3020dda4)
*/
/**
return $plural ? ts('Groups') : ts('Group');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_Group',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_SavedSearch',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Saved Search"),
],
'bao' => 'CRM_Contact_BAO_Group',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Contact_BAO_Group',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
*
* Generated from xml/schema/CRM/Contact/GroupContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7a06dd829a0206d8af74a2773b8957db)
+ * (GenCodeChecksum:b823eecee947f4102bccd38a2fa10d04)
*/
/**
return $plural ? ts('Group Contacts') : ts('Group Contact');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_id', 'civicrm_loc_block', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_GroupContact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Group"),
'bao' => 'CRM_Contact_BAO_GroupContact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Contact_BAO_GroupContact',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_LocBlock',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Location"),
],
'bao' => 'CRM_Contact_BAO_GroupContact',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Email',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Email"),
],
*
* Generated from xml/schema/CRM/Contact/GroupContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0f806c2e812e87a837b693f1ba442cae)
+ * (GenCodeChecksum:a700f89a58ee1b7e63ca867bcbc1de86)
*/
/**
return $plural ? ts('Group Contact Caches') : ts('Group Contact Cache');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_GroupContactCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Group"),
'bao' => 'CRM_Contact_BAO_GroupContactCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Contact/GroupNesting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c87d24cc1ea2c257dc344001e0516a42)
+ * (GenCodeChecksum:31b039d439208a08efb24155443a9241)
*/
/**
return $plural ? ts('Group Nestings') : ts('Group Nesting');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'child_group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_group_id', 'civicrm_group', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_GroupNesting',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Child Group"),
],
'bao' => 'CRM_Contact_BAO_GroupNesting',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Parent Group"),
],
*
* Generated from xml/schema/CRM/Contact/GroupOrganization.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aff10fe04b6becadd6b1de47a34e52c1)
+ * (GenCodeChecksum:0154a5b5ddbc324b25eb18b18cee70b5)
*/
/**
return $plural ? ts('Group Organizations') : ts('Group Organization');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'organization_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_GroupOrganization',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Group"),
'bao' => 'CRM_Contact_BAO_GroupOrganization',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Organization"),
],
*
* Generated from xml/schema/CRM/Contact/Relationship.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e6e709da33773d09d7e788d21c64437b)
+ * (GenCodeChecksum:cb178a4634f48ebf1240e74240100693)
*/
/**
return $plural ? ts('Relationships') : ts('Relationship');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id_a', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id_b', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_type_id', 'civicrm_relationship_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_id', 'civicrm_case', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact A"),
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact B"),
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_RelationshipType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Relationship Type"),
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
'FKClassName' => 'CRM_Case_DAO_Case',
+ 'FKColumnName' => 'id',
'component' => 'CiviCase',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Contact/RelationshipCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9170513963860f5b9cadce190a68b8bf)
+ * (GenCodeChecksum:6d5a3561e59414ced7321ba51416886d)
*/
/**
return $plural ? ts('Related Contacts') : ts('Related Contact');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_id', 'civicrm_relationship', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_type_id', 'civicrm_relationship_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'near_contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'far_contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_id', 'civicrm_case', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Relationship',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Relationship"),
],
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_RelationshipType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Relationship Type"),
],
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact (Near side)"),
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact (Far side)"),
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
'FKClassName' => 'CRM_Case_DAO_Case',
+ 'FKColumnName' => 'id',
'component' => 'CiviCase',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Contact/SavedSearch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0207c460a525db5da9ceb5b20708d77a)
+ * (GenCodeChecksum:6a4e86b2c7c5ad71a68b90c40cd5313f)
*/
/**
return $plural ? ts('Saved Searches') : ts('Saved Search');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mapping_id', 'civicrm_mapping', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Mapping',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Mapping"),
],
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
*
* Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:447fef069f8e4e0b537c30f43e61226f)
+ * (GenCodeChecksum:c2c9def531bf0ef05e40200f82a280e4)
*/
/**
return $plural ? ts('Subscription Histories') : ts('Subscription History');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Group"),
*
* Generated from xml/schema/CRM/Contribute/Contribution.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f62008d2fa8bae5fcc90e9fa11cf9591)
+ * (GenCodeChecksum:ac06e44eef3c31fd91b5a2e722cce4e2)
*/
/**
return ts('Financial records consisting of transactions, line-items, etc.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_recur_id', 'civicrm_contribution_recur', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_id', 'civicrm_address', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Contribution Page"),
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Recurring Contribution"),
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Address',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Address"),
],
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8c1f3262364d5a5f1255e1f0eb4bf690)
+ * (GenCodeChecksum:0878c44e4ecbf95e1c3c18731633e8a1)
*/
/**
return $plural ? ts('Contribution Pages') : ts('Contribution Page');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_BAO_ContributionPage',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
'bao' => 'CRM_Contribute_BAO_ContributionPage',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Contribute_BAO_ContributionPage',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ffe5040ca99302edbb97acf3b183f9c7)
+ * (GenCodeChecksum:bdaea7c43da84af6dc29826b644505a0)
*/
/**
return $plural ? ts('Contribution Products') : ts('Contribution Product');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'product_id', 'civicrm_product', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_DAO_ContributionProduct',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Product',
+ 'FKColumnName' => 'id',
'add' => '1.4',
],
'contribution_id' => [
'bao' => 'CRM_Contribute_DAO_ContributionProduct',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contribution"),
'bao' => 'CRM_Contribute_DAO_ContributionProduct',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Financial Type"),
],
*
* Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d12951f50f11d6868ebb04fe6f3d9707)
+ * (GenCodeChecksum:5a9eadcb838cebf85ce424f126822690)
*/
/**
return $plural ? ts('Recurring Contributions') : ts('Recurring Contribution');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_token_id', 'civicrm_payment_token', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_PaymentToken',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Payment Token"),
],
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Payment Processor"),
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d205401be46596f6de807e4b45ab18fd)
+ * (GenCodeChecksum:3ecf6fc6d7483e6dea0d1fb222797cd7)
*/
/**
return $plural ? ts('Contribution Soft Credits') : ts('Contribution Soft Credit');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'pcp_id', 'civicrm_pcp', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contribution"),
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'localizable' => 0,
'FKClassName' => 'CRM_PCP_DAO_PCP',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("PCP"),
],
*
* Generated from xml/schema/CRM/Contribute/Premium.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3463ecde633704e18dc34fb992825c11)
+ * (GenCodeChecksum:7b586940572f3109ff5917254103dd4e)
*/
/**
return $plural ? ts('Premiums') : ts('Premium');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.4',
],
'premiums_active' => [
*
* Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:01fc05143613e3855c45143ed3518bc5)
+ * (GenCodeChecksum:6e4ab04c238e7960a2134aeda0df31f0)
*/
/**
return $plural ? ts('Product Premiums') : ts('Product Premium');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'premiums_id', 'civicrm_premiums', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'product_id', 'civicrm_product', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Premium',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Premium"),
],
'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Product',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Product"),
],
'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Financial Type"),
],
*
* Generated from xml/schema/CRM/Contribute/Product.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6bd62695324c0ebd78baa0eca84db6e8)
+ * (GenCodeChecksum:0ef2f469fb291abae7fe738f40d6b885)
*/
/**
return $plural ? ts('Products') : ts('Product');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Financial Type"),
],
*
* Generated from xml/schema/CRM/Contribute/Widget.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3f38f90af537cdb630a2b0b09cd2c718)
+ * (GenCodeChecksum:14b5198c0eb470500fe1c33d2a6526e4)
*/
/**
return $plural ? ts('Widgets') : ts('Widget');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Contribute_BAO_Widget',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contribution Page"),
],
*
* Generated from xml/schema/CRM/Core/ActionLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f26b6a45f88673909bc79f0dc47ec95e)
+ * (GenCodeChecksum:281e8a8a8378ddbbf65de5cfacc97828)
*/
/**
return $plural ? ts('Action Logs') : ts('Action Log');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'action_schedule_id', 'civicrm_action_schedule', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_ActionLog',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'entity' => 'ActionLog',
'bao' => 'CRM_Core_BAO_ActionLog',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '3.4',
],
'entity_table' => [
'bao' => 'CRM_Core_BAO_ActionLog',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_ActionSchedule',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Schedule"),
],
*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e6121895aa480e9b4fdbf171b01b91dc)
+ * (GenCodeChecksum:155066f04857fec33b9f6b5d9d422cd9)
*/
/**
return $plural ? ts('Scheduled Reminders') : ts('Scheduled Reminder');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'msg_template_id', 'civicrm_msg_template', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'sms_template_id', 'civicrm_msg_template', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'sms_provider_id', 'civicrm_sms_provider', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_ActionSchedule',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Group"),
'bao' => 'CRM_Core_BAO_ActionSchedule',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Message Template"),
],
'bao' => 'CRM_Core_BAO_ActionSchedule',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("SMS Template"),
],
'bao' => 'CRM_Core_BAO_ActionSchedule',
'localizable' => 0,
'FKClassName' => 'CRM_SMS_DAO_Provider',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("SMS Provider"),
*
* Generated from xml/schema/CRM/Core/Address.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7fed80f6afc84e71f18055294868044d)
+ * (GenCodeChecksum:8ab653268a837a495427e04e0f874af7)
*/
/**
return $plural ? ts('Addresses') : ts('Address');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'county_id', 'civicrm_county', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'state_province_id', 'civicrm_state_province', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'country_id', 'civicrm_country', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'master_id', 'civicrm_address', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_County',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'ChainSelect',
'label' => ts("County"),
'localizable' => 0,
'localize_context' => 'province',
'FKClassName' => 'CRM_Core_DAO_StateProvince',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'ChainSelect',
'label' => ts("State/Province"),
'localizable' => 0,
'localize_context' => 'country',
'FKClassName' => 'CRM_Core_DAO_Country',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Country"),
'bao' => 'CRM_Core_BAO_Address',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Address',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Master Address Belongs To"),
],
*
* Generated from xml/schema/CRM/Core/Cache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7bc573038c1e40396686f8340a38bda1)
+ * (GenCodeChecksum:b61a713809b89c9f8bf1bbd6256ef986)
*/
/**
return $plural ? ts('Caches') : ts('Cache');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Cache',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Component',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Component"),
*
* Generated from xml/schema/CRM/Core/Country.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3efea686c5569dab5aa3924dc04275a)
+ * (GenCodeChecksum:0a6cc17a97d1804a8ef0634e097b6315)
*/
/**
return ts('Countries of the world');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_format_id', 'civicrm_address_format', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'region_id', 'civicrm_worldregion', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Country',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_AddressFormat',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Address Format"),
],
'localizable' => 0,
'localize_context' => 'country',
'FKClassName' => 'CRM_Core_DAO_Worldregion',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("World Region"),
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a79e59728f1c68d4ecc4dbd789decab2)
+ * (GenCodeChecksum:5872e0fad72f1657c21120cb8de7f834)
*/
/**
return $plural ? ts('Counties') : ts('County');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'state_province_id', 'civicrm_state_province', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_County',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_StateProvince',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("State"),
],
*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e888a6eaf53db3f3d0572a9a1a552c15)
+ * (GenCodeChecksum:5272bbce1af37e0a1dd56fed8ca8ecdf)
*/
/**
return $plural ? ts('Custom Fields') : ts('Custom Field');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'custom_group_id', 'civicrm_custom_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'option_group_id', 'civicrm_option_group', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_CustomField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_CustomGroup',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Custom Group"),
'bao' => 'CRM_Core_BAO_CustomField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_OptionGroup',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Field Option Group"),
],
*
* Generated from xml/schema/CRM/Core/CustomGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:05aa9cfdd47acd56178a0a33a2f6ffc1)
+ * (GenCodeChecksum:d87ef7faf84bd9ec8d1ac5195054a05a)
*/
/**
return $plural ? ts('Custom Field Groups') : ts('Custom Field Group');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_CustomGroup',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Core/Dashboard.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8ae82bee366f48ef26b35caf23b89398)
+ * (GenCodeChecksum:1131a6e3957e7ce8e0a2371565562cad)
*/
/**
return $plural ? ts('Dashboards') : ts('Dashboard');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Dashboard',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
*
* Generated from xml/schema/CRM/Core/Discount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:83144959b102b14625522e9fae8dd8d8)
+ * (GenCodeChecksum:937a5a030125d65e7b8a064cecf919fd)
*/
/**
return $plural ? ts('Discounts') : ts('Discount');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'Discount',
'bao' => 'CRM_Core_BAO_Discount',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '2.1',
],
'participant_discount_name' => [
'bao' => 'CRM_Core_BAO_Discount',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceSet',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Price Set"),
*
* Generated from xml/schema/CRM/Core/Domain.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62b9169ac4b8697ec80e752d06ee1bce)
+ * (GenCodeChecksum:4814b16c7b4c8d130e3e29d7ae309d88)
*/
/**
return $plural ? ts('Domains') : ts('Domain');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Domain',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/Email.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:df7f07aea847edcfd8aeb02390f2e5ba)
+ * (GenCodeChecksum:840e0540daf99f6fad7bf13389157479)
*/
/**
return $plural ? ts('Emails') : ts('Email');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Email',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/EntityFile.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:21c0d34d03ae7f8aad9706aab1793656)
+ * (GenCodeChecksum:e2899940239f57513f7bc889b482907c)
*/
/**
return $plural ? ts('Entity Files') : ts('Entity File');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'file_id', 'civicrm_file', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'EntityFile',
'bao' => 'CRM_Core_DAO_EntityFile',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.5',
],
'file_id' => [
'bao' => 'CRM_Core_DAO_EntityFile',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_File',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("File"),
],
*
* Generated from xml/schema/CRM/Core/EntityTag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5bca5ff1c4ba7d85034410408464f0ac)
+ * (GenCodeChecksum:0c6284da3e376f8bcc7e75f2382eea41)
*/
/**
return $plural ? ts('Entity Tags') : ts('Entity Tag');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'tag_id', 'civicrm_tag', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'EntityTag',
'bao' => 'CRM_Core_BAO_EntityTag',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '3.2',
],
'tag_id' => [
'bao' => 'CRM_Core_BAO_EntityTag',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Tag',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Tag"),
*
* Generated from xml/schema/CRM/Core/File.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b96c549a621e1c17bcfdfe8c300f6e8c)
+ * (GenCodeChecksum:3da10c3077bcd95ae97573351c54c377)
*/
/**
return $plural ? ts('Files') : ts('File');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_File',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Core/IM.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:950d37fd8d509c34689d6d40dca59c1d)
+ * (GenCodeChecksum:55bc6457cdc907da89416f4904e1f8c4)
*/
/**
return $plural ? ts('Instant Messaging') : ts('Instant Messaging');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_IM',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8cdd8a0345692691b54720bd3568e5f0)
+ * (GenCodeChecksum:fd14e515195028086bdf96c0fd3d8288)
*/
/**
return $plural ? ts('Jobs') : ts('Job');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Job',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Domain"),
*
* Generated from xml/schema/CRM/Core/JobLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd30c815442ad1c13c530d3e697670e0)
+ * (GenCodeChecksum:2cc5d57c7214571368b304d67759dc29)
*/
/**
return $plural ? ts('Job Logs') : ts('Job Log');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'job_id', 'civicrm_job', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_JobLog',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Core_DAO_JobLog',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Job',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Number',
],
*
* Generated from xml/schema/CRM/Core/LocBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2d97c9b9682d113cff88a2e34ef6f954)
+ * (GenCodeChecksum:f5b7464778aa3355be9143c7bd44bef6)
*/
/**
return $plural ? ts('Locations') : ts('Location');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_id', 'civicrm_address', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'im_id', 'civicrm_im', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_2_id', 'civicrm_address', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_2_id', 'civicrm_email', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_2_id', 'civicrm_phone', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'im_2_id', 'civicrm_im', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Address',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Address"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Email',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Email"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Phone',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Phone"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_IM',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Instant Messenger"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Address',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Address 2"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Email',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Email 2"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Phone',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Phone 2"),
],
'bao' => 'CRM_Core_DAO_LocBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_IM',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Instant Messenger 2"),
],
*
* Generated from xml/schema/CRM/Core/Log.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e61044339c5186502e8f949e0cf21085)
+ * (GenCodeChecksum:a664e18ae03c664f20186590a3e5807c)
*/
/**
return $plural ? ts('Logs') : ts('Log');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'Log',
'bao' => 'CRM_Core_BAO_Log',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.5',
],
'data' => [
'bao' => 'CRM_Core_BAO_Log',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
*
* Generated from xml/schema/CRM/Core/MailSettings.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7d9b4af7c9e04acac0e734ce036ea527)
+ * (GenCodeChecksum:02ee7569c4d85495c6fca92b53108695)
*/
/**
return $plural ? ts('Mail Accounts') : ts('Mail Account');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_MailSettings',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Core_BAO_MailSettings',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Campaign"),
*
* Generated from xml/schema/CRM/Core/MappingField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f7b866fac291f09aa847fd68700c9c2)
+ * (GenCodeChecksum:fde17b05b7e7ff25edec775c5a412f7e)
*/
/**
return $plural ? ts('Mapping Fields') : ts('Mapping Field');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mapping_id', 'civicrm_mapping', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_type_id', 'civicrm_location_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_type_id', 'civicrm_relationship_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_MappingField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Mapping',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Mapping"),
],
'bao' => 'CRM_Core_DAO_MappingField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_LocationType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Location type"),
'bao' => 'CRM_Core_DAO_MappingField',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_RelationshipType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Relationship type"),
],
*
* Generated from xml/schema/CRM/Core/Menu.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cb35af506e5fb70dbdd88627f8b1dee4)
+ * (GenCodeChecksum:68b2bb93878a4b972546d9e3f43e1a4c)
*/
/**
return $plural ? ts('Menus') : ts('Menu');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_Menu',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Domain"),
'bao' => 'CRM_Core_DAO_Menu',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Component',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Component"),
*
* Generated from xml/schema/CRM/Core/Navigation.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:54dbd5cd7f55ace4dba98ba8c838902e)
+ * (GenCodeChecksum:23df3f63163a45fc78d97f9d41b40c59)
*/
/**
return $plural ? ts('Menu Items') : ts('Menu Item');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_navigation', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Navigation',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Core_BAO_Navigation',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Navigation',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("parent"),
],
*
* Generated from xml/schema/CRM/Core/Note.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9036c8c92bb1abbbd67b08f5c06f7ea3)
+ * (GenCodeChecksum:30875e48458bd58afb6a8098b58391d8)
*/
/**
return $plural ? ts('Notes') : ts('Note');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'Note',
'bao' => 'CRM_Core_BAO_Note',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Reference Item"),
'bao' => 'CRM_Core_BAO_Note',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Created By"),
*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:53b8b7ca863512c191623ab26381dd0d)
+ * (GenCodeChecksum:ba943523844376fa804ca9fbbb63be8b)
*/
/**
return $plural ? ts('Open IDs') : ts('Open ID');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_OpenID',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/OptionValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7c23d52de169c1ef27cc3a24c3de132e)
+ * (GenCodeChecksum:631d0bd9404a447b384b44cc1b8daeff)
*/
/**
return $plural ? ts('Option Values') : ts('Option Value');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'option_group_id', 'civicrm_option_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_OptionValue',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_OptionGroup',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Option Group"),
'bao' => 'CRM_Core_BAO_OptionValue',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Component',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Component"),
'bao' => 'CRM_Core_BAO_OptionValue',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4d8d0c7b49e69a754ef6ae5865537c7f)
+ * (GenCodeChecksum:170cfc165e0c7d8b1cc7e5fc1696e49f)
*/
/**
return $plural ? ts('Phones') : ts('Phone');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Phone',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/PrintLabel.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:53efa9e6a15294d0acdc98f16923d6c7)
+ * (GenCodeChecksum:666799f63e1b59a7fb459a736d37ebbb)
*/
/**
return $plural ? ts('Print Labels') : ts('Print Label');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_PrintLabel',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Core/Setting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2edd9c93748aeaf72a7717586b2c8e72)
+ * (GenCodeChecksum:fd7511a97b39fb876ce599402a278428)
*/
/**
return $plural ? ts('Settings') : ts('Setting');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Setting',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Core_BAO_Setting',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Core_BAO_Setting',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Component',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Component"),
'bao' => 'CRM_Core_BAO_Setting',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Core/StateProvince.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2dea7ed65c9904a80de16e8d48f35a59)
+ * (GenCodeChecksum:77d17a177f161cc2029169c9c6e9d2fa)
*/
/**
return $plural ? ts('States/Provinces') : ts('State/Province');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'country_id', 'civicrm_country', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_StateProvince',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Country',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Country"),
],
*
* Generated from xml/schema/CRM/Core/StatusPreference.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:279691bc3c75b9e09c2a7b18847348d8)
+ * (GenCodeChecksum:f5a0658b23ddc17ca0b627791baa9b00)
*/
/**
return $plural ? ts('Status Preferences') : ts('Status Preference');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_StatusPreference',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
*
* Generated from xml/schema/CRM/Core/Tag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ded9d6a9f9c08146a0205da83c838c91)
+ * (GenCodeChecksum:3242cc59c5a6987043ff9b89fffd9812)
*/
/**
return $plural ? ts('Tags') : ts('Tag');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_tag', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Tag',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Parent Tag"),
],
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Created By"),
*
* Generated from xml/schema/CRM/Core/Timezone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90f0271d09bd3cadf02286f30b926eb6)
+ * (GenCodeChecksum:df6cc62c608df47d2b3d166d3393f45b)
*/
/**
return $plural ? ts('Timezones') : ts('Timezone');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'country_id', 'civicrm_country', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_DAO_Timezone',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Country',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Country"),
],
*
* Generated from xml/schema/CRM/Core/Translation.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:50d8cca3198bc1c9d4616308f2e5c462)
+ * (GenCodeChecksum:0e4a4c57a9282c3e3ddb08422400b36e)
*/
/**
return $plural ? ts('Translated Strings') : ts('Translated String');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'Translation',
'bao' => 'CRM_Core_BAO_Translation',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '5.39',
],
'language' => [
*
* Generated from xml/schema/CRM/Core/UFField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e07b4f9c58827ac1460403ab699905ab)
+ * (GenCodeChecksum:c5bb2d5c455892b58bd0ae998f8f8116)
*/
/**
return $plural ? ts('Profile Fields') : ts('Profile Field');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'uf_group_id', 'civicrm_uf_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_type_id', 'civicrm_location_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_UFField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_UFGroup',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Profile"),
'bao' => 'CRM_Core_BAO_UFField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_LocationType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Location Type"),
],
*
* Generated from xml/schema/CRM/Core/UFGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6fc322aa33235bda47a6c3322173d741)
+ * (GenCodeChecksum:7e7f497a6e1fed5d867407723f1d4a33)
*/
/**
return $plural ? ts('Profiles') : ts('Profile');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'limit_listings_group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'add_to_group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_UFGroup',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Search Limit Group"),
],
'bao' => 'CRM_Core_BAO_UFGroup',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Add Contact To Group"),
],
'bao' => 'CRM_Core_BAO_UFGroup',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Core/UFJoin.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e11a1e64ca03c7ba82294c75de0dc4c4)
+ * (GenCodeChecksum:aec017870809d4d38daa4767c0ade45e)
*/
/**
return $plural ? ts('Profile Uses') : ts('Profile Use');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'uf_group_id', 'civicrm_uf_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'UFJoin',
'bao' => 'CRM_Core_BAO_UFJoin',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.3',
],
'weight' => [
'bao' => 'CRM_Core_BAO_UFJoin',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_UFGroup',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Profile"),
*
* Generated from xml/schema/CRM/Core/UFMatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:19280813191bcf496c8e43eb9778157a)
+ * (GenCodeChecksum:573747cc2ce1867945de4b241f7697c6)
*/
/**
return $plural ? ts('User Accounts') : ts('User Account');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_UFMatch',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Core_BAO_UFMatch',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/UserJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:03487d9109a74e0f60ee656055d205f7)
+ * (GenCodeChecksum:1dd5100f469beec27435f1444c73eeb5)
*/
/**
return $plural ? ts('User Jobs') : ts('User Job');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'queue_id', 'civicrm_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_UserJob',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Core_BAO_UserJob',
'localizable' => 0,
'FKClassName' => 'CRM_Queue_DAO_Queue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Queue"),
],
*
* Generated from xml/schema/CRM/Core/Website.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:782dd40595dfdc4b4a836c4f1c394929)
+ * (GenCodeChecksum:0bc5336361de1d2286a64abc50719968)
*/
/**
return $plural ? ts('Websites') : ts('Website');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_Website',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Core/WordReplacement.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f212963034ccdf6c73970466b31552f3)
+ * (GenCodeChecksum:f9d6a1b7c34275dac925cde23c8a02be)
*/
/**
return $plural ? ts('Word Replacements') : ts('Word Replacement');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Core_BAO_WordReplacement',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
*
* Generated from xml/schema/CRM/Dedupe/DedupeException.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1c0e7ffb2de1859052fd27537b100eb6)
+ * (GenCodeChecksum:4165d0a98662caa2de6fcefbde15c2e2)
*/
/**
return $plural ? ts('Dedupe Exceptions') : ts('Dedupe Exception');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id1', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id2', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Dedupe_BAO_DedupeException',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("First Dupe Contact"),
],
'bao' => 'CRM_Dedupe_BAO_DedupeException',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Second Dupe Contact"),
],
*
* Generated from xml/schema/CRM/Dedupe/DedupeRule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61dda939bb4ad3a9ff3e07c06ec3712d)
+ * (GenCodeChecksum:bf2a66e6cf05d4aba90d5de0732674f0)
*/
/**
return $plural ? ts('Dedupe Rules') : ts('Dedupe Rule');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dedupe_rule_group_id', 'civicrm_dedupe_rule_group', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Dedupe_BAO_DedupeRule',
'localizable' => 0,
'FKClassName' => 'CRM_Dedupe_DAO_DedupeRuleGroup',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Group"),
],
*
* Generated from xml/schema/CRM/Event/Cart/Cart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cb3e9b057ebe0f648e9efb2cf9bc800b)
+ * (GenCodeChecksum:8e893fbe5da167afb44ab4d4d108239c)
*/
/**
return $plural ? ts('Carts') : ts('Cart');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'user_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Event_Cart_BAO_Cart',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e58760fd44de010b38a2c59924fe99f)
+ * (GenCodeChecksum:53e6a1294997529a3b2babce613e214c)
*/
/**
return $plural ? ts('Event In Carts') : ts('Event In Cart');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_id', 'civicrm_event', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_cart_id', 'civicrm_event_carts', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Event_Cart_BAO_EventInCart',
'localizable' => 0,
'FKClassName' => 'CRM_Event_DAO_Event',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Event"),
],
'bao' => 'CRM_Event_Cart_BAO_EventInCart',
'localizable' => 0,
'FKClassName' => 'CRM_Event_Cart_DAO_Cart',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Event In Cart"),
],
*
* Generated from xml/schema/CRM/Event/Event.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd75d47cd23c3893174a0b55ba831894)
+ * (GenCodeChecksum:d63c53d10f2e09895a19061ea9d51093)
*/
/**
return ts('Scheduled in-person or online events which contacts can register for and attend.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'loc_block_id', 'civicrm_loc_block', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dedupe_rule_group_id', 'civicrm_dedupe_rule_group', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Event_BAO_Event',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_LocBlock',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Location Block"),
],
'bao' => 'CRM_Event_BAO_Event',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Event_BAO_Event',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
'bao' => 'CRM_Event_BAO_Event',
'localizable' => 0,
'FKClassName' => 'CRM_Dedupe_DAO_DedupeRuleGroup',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Dedupe Rule"),
*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:54acecd8443b824933d1cae2e77b2f8e)
+ * (GenCodeChecksum:9467fd6b3257cf173c367e78d7875b82)
*/
/**
return ts('Records of contacts\' attendance and roles in events.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_id', 'civicrm_event', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'status_id', 'civicrm_participant_status_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'registered_by_id', 'civicrm_participant', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'discount_id', 'civicrm_discount', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'cart_id', 'civicrm_event_carts', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'transferred_to_contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Event_DAO_Event',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Event"),
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Event_DAO_ParticipantStatusType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Status"),
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Event_DAO_Participant',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Registered By Participant"),
],
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Discount',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Discount"),
],
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Event_Cart_DAO_Cart',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Event Cart"),
],
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Transferred to"),
],
'bao' => 'CRM_Event_BAO_Participant',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Created By"),
*
* Generated from xml/schema/CRM/Event/ParticipantPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ef2987af3276c7d47393ce4d0b295605)
+ * (GenCodeChecksum:54606fa6b25d1f6db3229594b6e3eef0)
*/
/**
return $plural ? ts('Participant Payments') : ts('Participant Payment');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'participant_id', 'civicrm_participant', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Event_BAO_ParticipantPayment',
'localizable' => 0,
'FKClassName' => 'CRM_Event_DAO_Participant',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Participant"),
],
'bao' => 'CRM_Event_BAO_ParticipantPayment',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contribution"),
*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:73bd55d66da916d2b27113d0cd8ca6f7)
+ * (GenCodeChecksum:dc2ac86086d6245161241084f0bfdd45)
*/
/**
return $plural ? ts('Entity Financial Accounts') : ts('Entity Financial Account');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_account_id', 'civicrm_financial_account', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'EntityFinancialAccount',
'bao' => 'CRM_Financial_BAO_EntityFinancialAccount',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Entity"),
'bao' => 'CRM_Financial_BAO_EntityFinancialAccount',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Account"),
*
* Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9147404f8b46a55b3a5a2f1351418b82)
+ * (GenCodeChecksum:9e34bfe525333d841625c6f0c43cc62e)
*/
/**
return $plural ? ts('Entity Financial Trxns') : ts('Entity Financial Trxn');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_trxn_id', 'civicrm_financial_trxn', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'EntityFinancialTrxn',
'bao' => 'CRM_Financial_BAO_EntityFinancialTrxn',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '3.2',
],
'financial_trxn_id' => [
'bao' => 'CRM_Financial_BAO_EntityFinancialTrxn',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialTrxn',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Financial Transaction"),
],
*
* Generated from xml/schema/CRM/Financial/FinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0551f4c3b00db2c2fa9f7265bfce9c84)
+ * (GenCodeChecksum:c1a56dd20c19e96296f4f70a4a690893)
*/
/**
return $plural ? ts('Financial Accounts') : ts('Financial Account');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_financial_account', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Financial_BAO_FinancialAccount',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Financial_BAO_FinancialAccount',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Parent"),
],
*
* Generated from xml/schema/CRM/Financial/FinancialItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:87f954efec21c5b1d861f797e01a2838)
+ * (GenCodeChecksum:a8a10fc175856157ba11e9cdc5420e0f)
*/
/**
return $plural ? ts('Financial Items') : ts('Financial Item');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_account_id', 'civicrm_financial_account', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Financial_BAO_FinancialItem',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Financial_BAO_FinancialItem',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Account"),
'entity' => 'FinancialItem',
'bao' => 'CRM_Financial_BAO_FinancialItem',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '4.3',
],
];
*
* Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:41175dc63ab7c3cc6ea7f66021c5607a)
+ * (GenCodeChecksum:56b888e49da4fb4fd30e68316b16f8a7)
*/
/**
return $plural ? ts('Financial Trxns') : ts('Financial Trxn');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'from_financial_account_id', 'civicrm_financial_account', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'to_financial_account_id', 'civicrm_financial_account', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Financial_BAO_FinancialTrxn',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("From Account"),
'bao' => 'CRM_Financial_BAO_FinancialTrxn',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("To Account"),
'bao' => 'CRM_Financial_BAO_FinancialTrxn',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Payment Processor"),
*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d3616bad5f2242f0fdb560d2b6d0cf87)
+ * (GenCodeChecksum:4f2a2d7198a66ebeb31aa0f8ae8640f7)
*/
/**
return $plural ? ts('Payment Processors') : ts('Payment Processor');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_type_id', 'civicrm_payment_processor_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessorType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Type"),
],
*
* Generated from xml/schema/CRM/Financial/PaymentToken.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:24d43ecaed37e1b06affc775b7786b06)
+ * (GenCodeChecksum:e2af4137d7b9b510bbc239e5b829e5ba)
*/
/**
return $plural ? ts('Payment Tokens') : ts('Payment Token');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Financial_DAO_PaymentToken',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Financial_DAO_PaymentToken',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Payment Processor"),
],
'bao' => 'CRM_Financial_DAO_PaymentToken',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created"),
],
*
* Generated from xml/schema/CRM/Friend/Friend.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b837e6691ca658a0ba6bb86119518f13)
+ * (GenCodeChecksum:c9b5f756669b6fbb10e7c112d55b4c14)
*/
/**
return $plural ? ts('Friends') : ts('Friend');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'Friend',
'bao' => 'CRM_Friend_BAO_Friend',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '2.0',
],
'title' => [
*
* Generated from xml/schema/CRM/Mailing/BouncePattern.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:23e0fd111536ca0e0ea158bf8cbb9b2c)
+ * (GenCodeChecksum:cb74ea782c1326413de34b89cab91124)
*/
/**
return $plural ? ts('Bounce Patterns') : ts('Bounce Pattern');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'bounce_type_id', 'civicrm_mailing_bounce_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_BouncePattern',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_BounceType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Bounce Type"),
],
*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:55608e7270f5f764477813403689775a)
+ * (GenCodeChecksum:919b743c8a46a78f155d417cc1bd0631)
*/
/**
return ts('Mass emails sent from CiviMail.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'header_id', 'civicrm_mailing_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'footer_id', 'civicrm_mailing_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'reply_id', 'civicrm_mailing_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'unsubscribe_id', 'civicrm_mailing_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'optout_id', 'civicrm_mailing_component', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'msg_template_id', 'civicrm_msg_template', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'scheduled_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'approver_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'sms_provider_id', 'civicrm_sms_provider', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_type_id', 'civicrm_location_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Header"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Footer"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Reply"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Unsubscribe"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Opt Out"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Message Template"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Creator"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Scheduled By"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Approved By"),
],
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_SMS_DAO_Provider',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("SMS Provider"),
'bao' => 'CRM_Mailing_BAO_Mailing',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_LocationType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Location Type"),
],
*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d76d742acfe6647f447373ccf4380ecf)
+ * (GenCodeChecksum:bd7f5528773566cb04becedf849c5e1f)
*/
/**
return $plural ? ts('Mailing ABs') : ts('Mailing AB');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_MailingAB',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
*
* Generated from xml/schema/CRM/Mailing/MailingGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e274523a6e48c8b26fc29735e528ecdf)
+ * (GenCodeChecksum:65ad1f210e2b4be6f4608e72694619a3)
*/
/**
return $plural ? ts('Mailing Groups') : ts('Mailing Group');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_DAO_MailingGroup',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Mailing"),
],
'entity' => 'MailingGroup',
'bao' => 'CRM_Mailing_DAO_MailingGroup',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => NULL,
],
'search_id' => [
*
* Generated from xml/schema/CRM/Mailing/MailingJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92bce75ffec87400a53a47591c09201f)
+ * (GenCodeChecksum:61340ad6fba42d576e6289778b494bcc)
*/
/**
return ts('Attempted delivery of a mailing.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_mailing_job', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_MailingJob',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Mailing"),
'bao' => 'CRM_Mailing_BAO_MailingJob',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Parent"),
*
* Generated from xml/schema/CRM/Mailing/MailingRecipients.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ed447baf02cd4238bdf58c200d40bc22)
+ * (GenCodeChecksum:bf17f03f0d47a6eda3deab64a581aec8)
*/
/**
return $plural ? ts('Mailing Recipients') : ts('Mailing Recipient');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_MailingRecipients',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Mailing"),
],
'bao' => 'CRM_Mailing_BAO_MailingRecipients',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
'bao' => 'CRM_Mailing_BAO_MailingRecipients',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Email',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Email"),
],
'bao' => 'CRM_Mailing_BAO_MailingRecipients',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Phone',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Phone"),
],
*
* Generated from xml/schema/CRM/Mailing/MailingTrackableURL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f446966734b2d351d7a1f8e7557dc08c)
+ * (GenCodeChecksum:ce6c77dd702379d639959d67e7980a78)
*/
/**
return $plural ? ts('Mailing Links') : ts('Mailing Link');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_MailingTrackableURL',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Mailing"),
*
* Generated from xml/schema/CRM/Mailing/Spool.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:96425332a4c99c7776ca872198de0fd6)
+ * (GenCodeChecksum:7c22f5a9de4a49ac64bf394c58b8cd4c)
*/
/**
return $plural ? ts('Spools') : ts('Spool');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'job_id', 'civicrm_mailing_job', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_BAO_Spool',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Job"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventBounce.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b96900b12aa4dc97acf0b9aa873de1f5)
+ * (GenCodeChecksum:393a94b1b88af6753a4d32e77344eef3)
*/
/**
return ts('Mailings that failed to reach the inbox of the recipient.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventBounce',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventConfirm.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6dfb0a8830b5a314a417b6f0f2b51e2b)
+ * (GenCodeChecksum:16533bf0c855436ec5a131998f481dcc)
*/
/**
return $plural ? ts('Mailing Opt-In Confirmations') : ts('Mailing Opt-In Confirmation');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_subscribe_id', 'civicrm_mailing_event_subscribe', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventConfirm',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventSubscribe',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Mailing Subscribe"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventDelivered.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:622f5bc6672f5fce5606f72f98661fc4)
+ * (GenCodeChecksum:8cbbe3fbdde3f1093237bf19ac9bd9e9)
*/
/**
return $plural ? ts('Mailing Deliveries') : ts('Mailing Delivery');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventDelivered',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventForward.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e671ceef92366fa2bfd6121ec9dee4f)
+ * (GenCodeChecksum:610d9e35e6dee904928285f3a6d23f3d)
*/
/**
return $plural ? ts('Mailing Forwards') : ts('Mailing Forward');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dest_queue_id', 'civicrm_mailing_event_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventForward',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
'bao' => 'CRM_Mailing_Event_BAO_MailingEventForward',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Destination Queue"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventOpened.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af41b13d1cdb6968bedac3813c47f396)
+ * (GenCodeChecksum:0da200b083ab097f3efdafa091b209a0)
*/
/**
return $plural ? ts('Mailings Opened') : ts('Mailing Opened');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventOpened',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventQueue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:afc9bb708b2cdc3fe9cc389059b0b58f)
+ * (GenCodeChecksum:2b49f3437ecc6f6d2bf0c45370cb1089)
*/
/**
return ts('Intended recipients of a mailing.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'job_id', 'civicrm_mailing_job', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventQueue',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Outbound Mailing"),
],
'bao' => 'CRM_Mailing_Event_BAO_MailingEventQueue',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Mailing"),
],
'bao' => 'CRM_Mailing_Event_BAO_MailingEventQueue',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Email',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Email"),
],
'bao' => 'CRM_Mailing_Event_BAO_MailingEventQueue',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
'bao' => 'CRM_Mailing_Event_BAO_MailingEventQueue',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Phone',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Phone"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventReply.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3fb550581dbc39a87b575fa6b969126a)
+ * (GenCodeChecksum:9a804e1c42467f857e7146bcce53d89b)
*/
/**
return $plural ? ts('Mailing Replies') : ts('Mailing Reply');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventReply',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventSubscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:36347f06a659937f286ada4125b4bff8)
+ * (GenCodeChecksum:4a66301754363df0906c1c83eaaf7962)
*/
/**
return $plural ? ts('Mailing Opt-Ins') : ts('Mailing Opt-In');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventSubscribe',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Group"),
'bao' => 'CRM_Mailing_Event_BAO_MailingEventSubscribe',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contact"),
],
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventTrackableURLOpen.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6b5080d5367785fa44add485df62cba5)
+ * (GenCodeChecksum:c1fa35951b41c5f3e8c12652214fd591)
*/
/**
return $plural ? ts('Mailing Link Clickthroughs') : ts('Mailing Link Clickthrough');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'trackable_url_id', 'civicrm_mailing_trackable_url', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventTrackableURLOpen',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Recipient"),
'bao' => 'CRM_Mailing_Event_BAO_MailingEventTrackableURLOpen',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingTrackableURL',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Mailing Link"),
*
* Generated from xml/schema/CRM/Mailing/Event/MailingEventUnsubscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf2ca57c500dd6c00c7011f82a74c360)
+ * (GenCodeChecksum:896e4dab857ee0a19da7d4ee899c1084)
*/
/**
return $plural ? ts('Mailing Unsubscribes') : ts('Mailing Unsubscribe');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Mailing_Event_BAO_MailingEventUnsubscribe',
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_Event_DAO_MailingEventQueue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recipient"),
],
*
* Generated from xml/schema/CRM/Member/Membership.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:607cc8bc4dd07d1a87529f923a421937)
+ * (GenCodeChecksum:663eaa9d986f476eb6721540840a643d)
*/
/**
return ts('Records of contacts belonging to an organization\'s membership program.');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_id', 'civicrm_membership_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'status_id', 'civicrm_membership_status', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'owner_membership_id', 'civicrm_membership', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_recur_id', 'civicrm_contribution_recur', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Member_BAO_Membership',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
'bao' => 'CRM_Member_BAO_Membership',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_MembershipType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Membership Type"),
'bao' => 'CRM_Member_BAO_Membership',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_MembershipStatus',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Status"),
'bao' => 'CRM_Member_BAO_Membership',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_Membership',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Primary Member"),
],
'bao' => 'CRM_Member_BAO_Membership',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Recurring Contribution"),
],
'bao' => 'CRM_Member_BAO_Membership',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Member/MembershipBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a79f50e3b6f6922604ad809e6791f816)
+ * (GenCodeChecksum:8570f61c5c934d765c3d8d47edcfdc36)
*/
/**
return $plural ? ts('Membership Blocks') : ts('Membership Block');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'entity_id', 'civicrm_contribution_page', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_default', 'civicrm_membership_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Member_BAO_MembershipBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Entity"),
],
'bao' => 'CRM_Member_BAO_MembershipBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_MembershipType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Default Type"),
],
*
* Generated from xml/schema/CRM/Member/MembershipLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7623425db0f4b365b48211d621abb084)
+ * (GenCodeChecksum:ef568df305bf840b719c242e610d6519)
*/
/**
return $plural ? ts('Membership Logs') : ts('Membership Log');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_id', 'civicrm_membership', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'status_id', 'civicrm_membership_status', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_id', 'civicrm_membership_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Member_BAO_MembershipLog',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_Membership',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Membership"),
],
'bao' => 'CRM_Member_BAO_MembershipLog',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_MembershipStatus',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Membership Status"),
],
'bao' => 'CRM_Member_BAO_MembershipLog',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Modified By"),
],
'bao' => 'CRM_Member_BAO_MembershipLog',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_MembershipType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Membership Type"),
],
*
* Generated from xml/schema/CRM/Member/MembershipPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:da3ef13818ef6db9566c0ae8d68c4294)
+ * (GenCodeChecksum:44c05454d437ff852f4cf0a9b4b005f0)
*/
/**
return $plural ? ts('Membership Payments') : ts('Membership Payment');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_id', 'civicrm_membership', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Member_BAO_MembershipPayment',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_Membership',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Membership"),
],
'bao' => 'CRM_Member_BAO_MembershipPayment',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contribution"),
*
* Generated from xml/schema/CRM/Member/MembershipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a9c8c3f1c06a6a9bdae9ca67a05a77d)
+ * (GenCodeChecksum:bf10593b5e20b28573e422fadfe689a7)
*/
/**
return $plural ? ts('Membership Types') : ts('Membership Type');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'member_of_contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Organization"),
],
'bao' => 'CRM_Member_BAO_MembershipType',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Financial Type"),
],
*
* Generated from xml/schema/CRM/PCP/PCP.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0266b37c32174bdf3957a1b4104b03bc)
+ * (GenCodeChecksum:be838855e518a084a4da2a98fe52480d)
*/
/**
return $plural ? ts('Personal Campaign Pages') : ts('Personal Campaign Page');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_PCP_BAO_PCP',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
*
* Generated from xml/schema/CRM/PCP/PCPBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:59afb1ccb33634e9177906f142c87ddd)
+ * (GenCodeChecksum:aa66cc545cf04e5ea640df960af2ddea)
*/
/**
return $plural ? ts('Personal Campaign Blocks') : ts('Personal Campaign Block');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'supporter_profile_id', 'civicrm_uf_group', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'target_entity_id', NULL, 'id', 'target_entity_type');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'PCPBlock',
'bao' => 'CRM_PCP_BAO_PCPBlock',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '2.2',
],
'target_entity_type' => [
'entity' => 'PCPBlock',
'bao' => 'CRM_PCP_BAO_PCPBlock',
'localizable' => 0,
+ 'DFKEntityColumn' => 'target_entity_type',
+ 'FKColumnName' => 'id',
'add' => '4.1',
],
'supporter_profile_id' => [
'bao' => 'CRM_PCP_BAO_PCPBlock',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_UFGroup',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Supporter Profile"),
],
*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:91fbbe8481e26df491af63fd07594f20)
+ * (GenCodeChecksum:0e5accbafc151eeed6b7a5de6d194e84)
*/
/**
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.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Pledge_BAO_Pledge',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contact"),
'bao' => 'CRM_Pledge_BAO_Pledge',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
'bao' => 'CRM_Pledge_BAO_Pledge',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Contribution Page"),
],
'bao' => 'CRM_Pledge_BAO_Pledge',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'FKColumnName' => 'id',
'component' => 'CiviCampaign',
'html' => [
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:10d706ed0732ee50f39b79dc2a1c52f1)
+ * (GenCodeChecksum:f085d7cb178f9fcb0441c9229e317ec5)
*/
/**
return $plural ? ts('Pledge Blocks') : ts('Pledge Block');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'PledgeBlock',
'bao' => 'CRM_Pledge_BAO_PledgeBlock',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '2.1',
],
'pledge_frequency_unit' => [
*
* Generated from xml/schema/CRM/Pledge/PledgePayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a547e9089cb9b1d11fd408c1ffa88c10)
+ * (GenCodeChecksum:dd7ee360635e8fd3f8cfc484378f67b2)
*/
/**
return $plural ? ts('Pledge Payments') : ts('Pledge Payment');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'pledge_id', 'civicrm_pledge', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Pledge_BAO_PledgePayment',
'localizable' => 0,
'FKClassName' => 'CRM_Pledge_DAO_Pledge',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Pledge"),
],
'bao' => 'CRM_Pledge_BAO_PledgePayment',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contribution"),
*
* Generated from xml/schema/CRM/Price/LineItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:31531e3ea507e80f8c57ccecbdf28735)
+ * (GenCodeChecksum:4ed8cb9b05a2f47927b4fcfdefc6acc4)
*/
/**
return $plural ? ts('Line Items') : ts('Line Item');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_id', 'civicrm_price_field', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_value_id', 'civicrm_price_field_value', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'LineItem',
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.7',
],
'contribution_id' => [
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Contribution"),
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceField',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Price Field"),
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceFieldValue',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Option"),
],
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
*
* Generated from xml/schema/CRM/Price/PriceField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f41e66e916d22789b0a328cab214e1ed)
+ * (GenCodeChecksum:3c89e8cae44de908cbe9946b74e8dead)
*/
/**
return $plural ? ts('Price Fields') : ts('Price Field');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Price_BAO_PriceField',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceSet',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Price Set"),
*
* Generated from xml/schema/CRM/Price/PriceFieldValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1a91c79d5269c3dd811610148bc4af43)
+ * (GenCodeChecksum:9fe8e00e503d24fc46fd8f0d94cf4b55)
*/
/**
return $plural ? ts('Price Field Values') : ts('Price Field Value');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_id', 'civicrm_price_field', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_id', 'civicrm_membership_type', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Price_BAO_PriceFieldValue',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceField',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Price Field"),
'bao' => 'CRM_Price_BAO_PriceFieldValue',
'localizable' => 0,
'FKClassName' => 'CRM_Member_DAO_MembershipType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'EntityRef',
'label' => ts("Membership Type"),
'bao' => 'CRM_Price_BAO_PriceFieldValue',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
*
* Generated from xml/schema/CRM/Price/PriceSet.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:26eb3f354cdcccf189c881d2ff2fa4c2)
+ * (GenCodeChecksum:92854c16878bd3b29650b6e2230255a9)
*/
/**
return $plural ? ts('Price Sets') : ts('Price Set');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Price_BAO_PriceSet',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Text',
'label' => ts("Domain"),
'bao' => 'CRM_Price_BAO_PriceSet',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'FKColumnName' => 'id',
'html' => [
'type' => 'Select',
'label' => ts("Financial Type"),
*
* Generated from xml/schema/CRM/Price/PriceSetEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8965ad7e7c8761ea623e96c7908b0614)
+ * (GenCodeChecksum:f1affb16f087370afd28e790a9113d60)
*/
/**
return $plural ? ts('Price Set Entities') : ts('Price Set Entity');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'entity' => 'PriceSetEntity',
'bao' => 'CRM_Price_DAO_PriceSetEntity',
'localizable' => 0,
+ 'DFKEntityColumn' => 'entity_table',
+ 'FKColumnName' => 'id',
'add' => '1.8',
],
'price_set_id' => [
'bao' => 'CRM_Price_DAO_PriceSetEntity',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceSet',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Price Set"),
],
*
* Generated from xml/schema/CRM/Report/ReportInstance.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7434f5737d99543263d96a6b16c9ae99)
+ * (GenCodeChecksum:cec2ca039dc9ba4361ac9064b76e4a66)
*/
/**
return $plural ? ts('Reports') : ts('Report');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'owner_id', 'civicrm_contact', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'navigation_id', 'civicrm_navigation', 'id');
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'drilldown_id', 'civicrm_report_instance', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_Report_BAO_ReportInstance',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],
'bao' => 'CRM_Report_BAO_ReportInstance',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Created By"),
],
'bao' => 'CRM_Report_BAO_ReportInstance',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Owned By"),
],
'bao' => 'CRM_Report_BAO_ReportInstance',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Navigation',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Navigation"),
],
'bao' => 'CRM_Report_BAO_ReportInstance',
'localizable' => 0,
'FKClassName' => 'CRM_Report_DAO_ReportInstance',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Drilldown Report"),
],
*
* Generated from xml/schema/CRM/SMS/Provider.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2d570203bb9be927ba5276f3c2043d45)
+ * (GenCodeChecksum:d4af7847dcc050195f510ffd2c02c147)
*/
/**
return $plural ? ts('SMS Providers') : ts('SMS Provider');
}
- /**
- * Returns foreign keys and entity references.
- *
- * @return array
- * [CRM_Core_Reference_Interface]
- */
- public static function getReferenceColumns() {
- if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
- Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
- CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
- }
- return Civi::$statics[__CLASS__]['links'];
- }
-
/**
* Returns all the column names of this table
*
'bao' => 'CRM_SMS_BAO_Provider',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
+ 'FKColumnName' => 'id',
'html' => [
'label' => ts("Domain"),
],