Merge pull request #14326 from civicrm/5.14
[civicrm-core.git] / CRM / Contact / DAO / ACLContactCache.php
index 1deee6674ac7d6edfa46553e724808da62b5e2ec..1134bf2a1c995e8f8b22a638d50bb848ff7e0713 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ab40fa26e037ef4897359d3c288d42b8)
+ * (GenCodeChecksum:8bc987e1284d464f9b475686d9dc32a2)
  */
 
 /**
@@ -19,33 +19,33 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_acl_contact_cache';
+  public static $_tableName = 'civicrm_acl_contact_cache';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
    * primary key
    *
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
   /**
    * FK to civicrm_contact (could be null for anon user)
    *
-   * @var int unsigned
+   * @var int
    */
   public $user_id;
 
   /**
    * FK to civicrm_contact
    *
-   * @var int unsigned
+   * @var int
    */
   public $contact_id;
 
@@ -72,7 +72,7 @@ class CRM_Contact_DAO_ACLContactCache 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']);
     }
@@ -93,6 +93,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'title' => ts('ACL Contact Cache ID'),
           'description' => ts('primary key'),
           'required' => TRUE,
+          'where' => 'civicrm_acl_contact_cache.id',
           'table_name' => 'civicrm_acl_contact_cache',
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
@@ -103,6 +104,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Contact ID'),
           'description' => ts('FK to civicrm_contact (could be null for anon user)'),
+          'where' => 'civicrm_acl_contact_cache.user_id',
           'table_name' => 'civicrm_acl_contact_cache',
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
@@ -114,6 +116,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'title' => ts('Contact ID'),
           'description' => ts('FK to civicrm_contact'),
           'required' => TRUE,
+          'where' => 'civicrm_acl_contact_cache.contact_id',
           'table_name' => 'civicrm_acl_contact_cache',
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
@@ -128,6 +131,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
+          'where' => 'civicrm_acl_contact_cache.operation',
           'table_name' => 'civicrm_acl_contact_cache',
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
@@ -137,7 +141,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           ],
           'pseudoconstant' => [
             'callback' => 'CRM_ACL_BAO_ACL::operation',
-          ]
+          ],
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);