*
* @var string
*/
- static $_tableName = 'civicrm_uf_match';
+ public static $_tableName = 'civicrm_uf_match';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = TRUE;
+ public static $_log = TRUE;
/**
* System generated 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(), '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']);
'title' => ts('UF Match ID'),
'description' => ts('System generated ID.'),
'required' => TRUE,
+ 'where' => 'civicrm_uf_match.id',
'table_name' => 'civicrm_uf_match',
'entity' => 'UFMatch',
'bao' => 'CRM_Core_BAO_UFMatch',
'title' => ts('UF Match Domain ID'),
'description' => ts('Which Domain is this match entry for'),
'required' => TRUE,
+ 'where' => 'civicrm_uf_match.domain_id',
'table_name' => 'civicrm_uf_match',
'entity' => 'UFMatch',
'bao' => 'CRM_Core_BAO_UFMatch',
'title' => ts('CMS ID'),
'description' => ts('UF ID'),
'required' => TRUE,
+ 'where' => 'civicrm_uf_match.uf_id',
'table_name' => 'civicrm_uf_match',
'entity' => 'UFMatch',
'bao' => 'CRM_Core_BAO_UFMatch',
'description' => ts('UF Name'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_uf_match.uf_name',
'table_name' => 'civicrm_uf_match',
'entity' => 'UFMatch',
'bao' => 'CRM_Core_BAO_UFMatch',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('CiviCRM Contact ID'),
'description' => ts('FK to Contact ID'),
+ 'where' => 'civicrm_uf_match.contact_id',
'table_name' => 'civicrm_uf_match',
'entity' => 'UFMatch',
'bao' => 'CRM_Core_BAO_UFMatch',
'description' => ts('UI language preferred by the given user/contact'),
'maxlength' => 5,
'size' => CRM_Utils_Type::SIX,
+ 'where' => 'civicrm_uf_match.language',
'table_name' => 'civicrm_uf_match',
'entity' => 'UFMatch',
'bao' => 'CRM_Core_BAO_UFMatch',