Added pseudoconstant for acl_id
authorPradeep Nayak <pradpnayak@gmail.com>
Mon, 30 Mar 2020 03:03:30 +0000 (04:03 +0100)
committerPradeep Nayak <pradpnayak@gmail.com>
Mon, 30 Mar 2020 03:03:30 +0000 (04:03 +0100)
CRM/ACL/DAO/ACLCache.php
xml/schema/ACL/Cache.xml

index 49daef0619b45fd675b7ceeaa52aa2d6b5bf1440..958223b878aec7441021362a76a74424dde6f39f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6c22da308c28e1b6766087c3073112a0)
+ * (GenCodeChecksum:976ef3393c10c32cacd6c6405b892533)
  */
 
 /**
@@ -111,6 +111,9 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
           'bao' => 'CRM_ACL_DAO_ACLCache',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'html' => [
+            'type' => 'EntityRef',
+          ],
         ],
         'acl_id' => [
           'name' => 'acl_id',
@@ -124,6 +127,11 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
           'bao' => 'CRM_ACL_DAO_ACLCache',
           'localizable' => 0,
           'FKClassName' => 'CRM_ACL_DAO_ACL',
+          'pseudoconstant' => [
+            'table' => 'civicrm_acl',
+            'keyColumn' => 'id',
+            'labelColumn' => 'name',
+          ],
         ],
         'modified_date' => [
           'name' => 'modified_date',
index 36e9123dc337054b30afab0416b850652eac0208..869eadb96189744be50660dfdd48f49ffabca427 100644 (file)
@@ -23,6 +23,9 @@
     <title>Cache Contact</title>
     <type>int unsigned</type>
     <comment>Foreign Key to Contact</comment>
+    <html>
+      <type>EntityRef</type>
+    </html>
     <add>1.6</add>
   </field>
   <foreignKey>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Foreign Key to ACL</comment>
+    <pseudoconstant>
+      <table>civicrm_acl</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
     <add>1.6</add>
   </field>
   <foreignKey>