*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f43063bba0682c56356dbf7afa64658)
+ * (GenCodeChecksum:d63a37d228f3faa87726f65906737301)
*/
/**
*
* @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
*
- * @var int unsigned
+ * @var int
*/
public $id;
/**
* FK to Contact ID
*
- * @var int unsigned
+ * @var int
*/
public $contact_id;
/**
* Which Location does this email belong to.
*
- * @var int unsigned
+ * @var int
*/
public $location_type_id;
/**
* Whether or not this user is allowed to login
*
- * @var boolean
+ * @var bool
*/
public $allowed_to_login;
/**
* Is this the primary email for this contact and location.
*
- * @var boolean
+ * @var bool
*/
public $is_primary;
*/
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',