/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/Domain.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7bc078fa4adebf142c73c95fab321f25)
+ * (GenCodeChecksum:c5d80d8a9e689b48c5f6373b9229c442)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_domain';
+ public static $_tableName = 'civicrm_domain';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* Domain ID
*/
public static function getReferenceColumns() {
if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+ 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']);
}
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Domain ID'),
- 'description' => 'Domain ID',
+ 'description' => ts('Domain ID'),
'required' => TRUE,
+ 'where' => 'civicrm_domain.id',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Domain Name'),
- 'description' => 'Name of Domain / Organization',
+ 'description' => ts('Name of Domain / Organization'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_domain.name',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'description',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Domain Description'),
- 'description' => 'Description of Domain.',
+ 'description' => ts('Description of Domain.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_domain.description',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'config_backend',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Domain Configuration'),
- 'description' => 'Backend configuration.',
+ 'description' => ts('Backend configuration.'),
+ 'where' => 'civicrm_domain.config_backend',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'version',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('CiviCRM Version'),
- 'description' => 'The civicrm version this instance is running',
+ 'description' => ts('The civicrm version this instance is running'),
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'where' => 'civicrm_domain.version',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Domain Contact'),
- 'description' => 'FK to Contact ID. This is specifically not an FK to avoid circular constraints',
+ 'description' => ts('FK to Contact ID. This is specifically not an FK to avoid circular constraints'),
+ 'where' => 'civicrm_domain.contact_id',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'locales',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Supported Languages'),
- 'description' => 'list of locales supported by the current db state (NULL for single-lang install)',
+ 'description' => ts('list of locales supported by the current db state (NULL for single-lang install)'),
+ 'where' => 'civicrm_domain.locales',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',
'name' => 'locale_custom_strings',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Language Customizations'),
- 'description' => 'Locale specific string overrides',
+ 'description' => ts('Locale specific string overrides'),
+ 'where' => 'civicrm_domain.locale_custom_strings',
'table_name' => 'civicrm_domain',
'entity' => 'Domain',
'bao' => 'CRM_Core_BAO_Domain',