Merge pull request #14326 from civicrm/5.14
[civicrm-core.git] / CRM / Core / DAO / OpenID.php
index e891899d581e102069c34a5045e53004f14265ec..542d774e9fa65cec5313f47bcfd0d73107137b09 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f43063bba0682c56356dbf7afa64658)
+ * (GenCodeChecksum:d63a37d228f3faa87726f65906737301)
  */
 
 /**
@@ -19,33 +19,33 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
    *
    * @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;
 
@@ -59,14 +59,14 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
   /**
    * 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;
 
@@ -86,7 +86,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
    */
   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']);
     }
@@ -107,6 +107,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           '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',
@@ -117,6 +118,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           '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',
@@ -128,6 +130,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           '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',
@@ -157,6 +160,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           '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',
@@ -168,6 +172,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           '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',