Unverified Commit 2d929df8 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub

Merge pull request #16925 from pradpnayak/pseudoCon

Added pseudoconstant for acl_id
parents 3f75e5dd 1906ff52
......@@ -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',
......
......@@ -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>
......@@ -38,6 +41,11 @@
<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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment