*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b7ed773542d2b9e4016e073dac6c70b3)
+ * (GenCodeChecksum:83343ea4b40dbc52f046f542d8f80d53)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Case_DAO_CaseType constructor.
+ */
class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_case_type';
/**
- * 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 $definition;
/**
- * class constructor
- *
- * @return civicrm_case_type
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_case_type';
'title' => ts('Case Type ID') ,
'description' => 'Autoincremented type id',
'required' => true,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'title' => array(
'name' => 'title',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of the Case Type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case Type Is Active') ,
'description' => 'Is this entry active?',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case Type Is Reserved') ,
'description' => 'Is this case type a predefined system type?',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'weight' => array(
'name' => 'weight',
'description' => 'Ordering of the case types',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'definition' => array(
'name' => 'definition',
'type' => CRM_Utils_Type::T_BLOB,
'title' => ts('Case Type Definition') ,
'description' => 'xml definition of case type',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);