X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FOpenID.php;h=7a6650f7bc874a350cd10686a7f6ce6e0399fc8e;hb=e6bfcdd1e767fef7a47973bb1b98174a593bc6f2;hp=166758db6f1f7efb8803d62777e9de61b2134525;hpb=322c135ac129071763864a333681318fc6789c20;p=civicrm-core.git diff --git a/CRM/Core/DAO/OpenID.php b/CRM/Core/DAO/OpenID.php index 166758db6f..7a6650f7bc 100644 --- a/CRM/Core/DAO/OpenID.php +++ b/CRM/Core/DAO/OpenID.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OpenID.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6547ff2f60e61de44f3ca5a866c1df6a) + * (GenCodeChecksum:7c70e03ffe06633c9e61c5845967d286) */ /** @@ -33,42 +33,54 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { /** * 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; @@ -201,6 +213,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { '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',