X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FOpenID.php;h=094c63fd93ae4008812b9a9fa534aa401f2ae6d9;hb=042043f10262ec2859dc7d5c4786e3c0f564a095;hp=e891899d581e102069c34a5045e53004f14265ec;hpb=d7e0c6a6d10fbd3548bfebb9926a3bf79c91296b;p=civicrm-core.git diff --git a/CRM/Core/DAO/OpenID.php b/CRM/Core/DAO/OpenID.php index e891899d58..094c63fd93 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: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',