*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6547ff2f60e61de44f3ca5a866c1df6a)
+ * (GenCodeChecksum:7c70e03ffe06633c9e61c5845967d286)
*/
/**
/**
* Unique OpenID ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
* FK to Contact ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $contact_id;
/**
* Which Location does this email belong to.
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $location_type_id;
/**
* the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $openid;
/**
* Whether or not this user is allowed to login
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $allowed_to_login;
/**
* Is this the primary email for this contact and location.
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_primary;
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Primary ID'),
'description' => ts('Is this the primary email for this contact and location.'),
+ 'required' => TRUE,
'where' => 'civicrm_openid.is_primary',
'default' => '0',
'table_name' => 'civicrm_openid',