Declare API Key as a protected field for future use
[civicrm-core.git] / CRM / Core / DAO / OpenID.php
index 94f5fff735f09e691af0aa648dd91956df15faf8..094c63fd93ae4008812b9a9fa534aa401f2ae6d9 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @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)
  */
 
 /**
@@ -19,14 +19,14 @@ 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
@@ -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',