+--------------------------------------------------------------------+
| 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
*/
*/
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]
'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',
'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',
'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',
'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']);