*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5727b59234c51d62e5d279c582cbd95b)
+ * (GenCodeChecksum:0d351e0ae594f1db9f53743dfd3c2efb)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_ACL_DAO_ACL constructor.
+ */
class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_acl';
/**
- * 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
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_acl';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'title' => ts('ACL ID') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'name' => array(
'name' => 'name',
'description' => 'ACL Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Deny ACL?') ,
'description' => 'Is this ACL entry Allow (0) or Deny (1) ?',
'required' => true,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
'html' => array(
'type' => 'Radio',
) ,
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID') ,
'description' => 'ID of the object possessing this ACL',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'operation' => array(
'name' => 'operation',
'required' => true,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'description' => 'The table of the object controlled by this ACL entry',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'object_id' => array(
'name' => 'object_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Object ID') ,
'description' => 'The ID of the object controlled by this ACL entry',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'acl_table' => array(
'name' => 'acl_table',
'description' => 'If this is a grant/revoke entry, what table are we granting?',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'acl_id' => array(
'name' => 'acl_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Group ID') ,
'description' => 'ID of the ACL or ACL group being granted/revoked',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('ACL Is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
+ 'localizable' => 0,
'html' => array(
'type' => 'Checkbox',
) ,