/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:deaadd903f7cfee93f6b70fb2e9fc012)
+ * (GenCodeChecksum:74b37d0061cdff5aa638ff68f3879b6c)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_county';
+ public static $_tableName = 'civicrm_county';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* County 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(), 'state_province_id', 'civicrm_state_province', 'id');
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
}
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('County ID'),
- 'description' => 'County ID',
+ 'description' => ts('County ID'),
'required' => TRUE,
+ 'where' => 'civicrm_county.id',
'table_name' => 'civicrm_county',
'entity' => 'County',
'bao' => 'CRM_Core_DAO_County',
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('County'),
- 'description' => 'Name of County',
+ 'description' => ts('Name of County'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'import' => TRUE,
'name' => 'abbreviation',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('County Abbreviation'),
- 'description' => '2-4 Character Abbreviation of County',
+ 'description' => ts('2-4 Character Abbreviation of County'),
'maxlength' => 4,
'size' => CRM_Utils_Type::FOUR,
+ 'where' => 'civicrm_county.abbreviation',
'table_name' => 'civicrm_county',
'entity' => 'County',
'bao' => 'CRM_Core_DAO_County',
'name' => 'state_province_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('State'),
- 'description' => 'ID of State/Province that County belongs',
+ 'description' => ts('ID of State/Province that County belongs'),
'required' => TRUE,
+ 'where' => 'civicrm_county.state_province_id',
'table_name' => 'civicrm_county',
'entity' => 'County',
'bao' => 'CRM_Core_DAO_County',