Add titles and icons to entities
[civicrm-core.git] / CRM / ACL / DAO / ACLCache.php
index 49daef0619b45fd675b7ceeaa52aa2d6b5bf1440..832948e99a523b77aa93b7853901696335a65b34 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:ca99bbbd188d9c890d47e35c1b0b3bbd)
  */
 
 /**
@@ -64,6 +64,13 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('ACLCaches');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -111,6 +118,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 +134,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',