Merge pull request #23185 from eileenmcnaughton/smarty_wiz
[civicrm-core.git] / CRM / ACL / DAO / ACLEntityRole.php
index b085e2e640e06a8097f2f78a82477ce806835f43..b88aceb5d6da054051254618ae8bdf1ecd8ecc42 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fe3bd0baaffcc93590b3285c6cf96fc1)
+ * (GenCodeChecksum:b7a657943e1cf6e84d93e4b729fe7d10)
  */
 
 /**
@@ -33,14 +33,18 @@ class CRM_ACL_DAO_ACLEntityRole extends CRM_Core_DAO {
   /**
    * Unique table ID
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $id;
 
   /**
    * Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $acl_role_id;
 
@@ -48,20 +52,26 @@ class CRM_ACL_DAO_ACLEntityRole extends CRM_Core_DAO {
    * Table of the object joined to the ACL Role (Contact or Group)
    *
    * @var string
+   *   (SQL type: varchar(64))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $entity_table;
 
   /**
    * ID of the group/contact object being joined
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $entity_id;
 
   /**
    * Is this property active?
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_active;
 
@@ -176,7 +186,9 @@ class CRM_ACL_DAO_ACLEntityRole extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('ACL Entity Role is Active'),
           'description' => ts('Is this property active?'),
+          'required' => TRUE,
           'where' => 'civicrm_acl_entity_role.is_active',
+          'default' => '1',
           'table_name' => 'civicrm_acl_entity_role',
           'entity' => 'ACLEntityRole',
           'bao' => 'CRM_ACL_BAO_ACLEntityRole',