CRM-19925 Updated DAO files
[civicrm-core.git] / CRM / ACL / DAO / EntityRole.php
index af50453f9d66e701d894517f8a9d17b87c617edf..88677377a02f2a98131a4e681b9041886ff9c560 100644 (file)
@@ -3,7 +3,7 @@
 +--------------------------------------------------------------------+
 | CiviCRM version 4.7                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2016                                |
+| Copyright CiviCRM LLC (c) 2004-2017                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 */
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
  *
  * Generated from xml/schema/CRM/ACL/EntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9ec4917a20273426112e2d0df3e985d1)
+ * (GenCodeChecksum:005d4928f36bf24b5e20e13f18f0588d)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_ACL_DAO_EntityRole constructor.
+ */
 class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_acl_entity_role';
   /**
-   * static value to see if we should log any modifications to
-   * this table in the civicrm_log table
+   * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var boolean
    */
@@ -79,16 +81,14 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
    */
   public $is_active;
   /**
-   * class constructor
-   *
-   * @return civicrm_acl_entity_role
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_acl_entity_role';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -115,6 +115,9 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'title' => ts('Entity Role') ,
           'description' => 'Unique table ID',
           'required' => true,
+          'table_name' => 'civicrm_acl_entity_role',
+          'entity' => 'EntityRole',
+          'bao' => 'CRM_ACL_BAO_EntityRole',
         ) ,
         'acl_role_id' => array(
           'name' => 'acl_role_id',
@@ -122,6 +125,9 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'title' => ts('ACL Role ID') ,
           'description' => 'Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)',
           'required' => true,
+          'table_name' => 'civicrm_acl_entity_role',
+          'entity' => 'EntityRole',
+          'bao' => 'CRM_ACL_BAO_EntityRole',
         ) ,
         'entity_table' => array(
           'name' => 'entity_table',
@@ -131,6 +137,9 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
+          'table_name' => 'civicrm_acl_entity_role',
+          'entity' => 'EntityRole',
+          'bao' => 'CRM_ACL_BAO_EntityRole',
         ) ,
         'entity_id' => array(
           'name' => 'entity_id',
@@ -138,12 +147,18 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'title' => ts('ACL Entity ID') ,
           'description' => 'ID of the group/contact object being joined',
           'required' => true,
+          'table_name' => 'civicrm_acl_entity_role',
+          'entity' => 'EntityRole',
+          'bao' => 'CRM_ACL_BAO_EntityRole',
         ) ,
         'is_active' => array(
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('ACL Entity Role is Active') ,
           'description' => 'Is this property active?',
+          'table_name' => 'civicrm_acl_entity_role',
+          'entity' => 'EntityRole',
+          'bao' => 'CRM_ACL_BAO_EntityRole',
         ) ,
       );
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);