/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f43063bba0682c56356dbf7afa64658)
+ * (GenCodeChecksum:496f243b38b9c438d44ca4598a1c9566)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_openid';
+ public static $_tableName = 'civicrm_openid';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* Unique OpenID 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']);
}
'title' => ts('Open ID identifier'),
'description' => ts('Unique OpenID ID'),
'required' => TRUE,
+ 'where' => 'civicrm_openid.id',
'table_name' => 'civicrm_openid',
'entity' => 'OpenID',
'bao' => 'CRM_Core_BAO_OpenID',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('OpenID Contact'),
'description' => ts('FK to Contact ID'),
+ 'where' => 'civicrm_openid.contact_id',
'table_name' => 'civicrm_openid',
'entity' => 'OpenID',
'bao' => 'CRM_Core_BAO_OpenID',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('OpenID Location Type'),
'description' => ts('Which Location does this email belong to.'),
+ 'where' => 'civicrm_openid.location_type_id',
'table_name' => 'civicrm_openid',
'entity' => 'OpenID',
'bao' => 'CRM_Core_BAO_OpenID',
'title' => ts('Allowed to login?'),
'description' => ts('Whether or not this user is allowed to login'),
'required' => TRUE,
+ 'where' => 'civicrm_openid.allowed_to_login',
'default' => '0',
'table_name' => 'civicrm_openid',
'entity' => 'OpenID',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is OpenID Primary?'),
'description' => ts('Is this the primary email for this contact and location.'),
+ 'where' => 'civicrm_openid.is_primary',
'default' => '0',
'table_name' => 'civicrm_openid',
'entity' => 'OpenID',