+--------------------------------------------------------------------+
| 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/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:04bab9fc8d6e510321735d25c97ca261)
+ * (GenCodeChecksum:ec4612a24aed71e99dae33589efc40a0)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Case_DAO_Case constructor.
+ */
class CRM_Case_DAO_Case extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_case';
/**
- * 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_deleted;
/**
- * class constructor
- *
- * @return civicrm_case
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_case';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
) ,
'case_type_id' => array(
'name' => 'case_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Case Type') ,
'description' => 'FK to civicrm_case_type.id',
+ 'required' => true,
'import' => true,
'where' => 'civicrm_case.case_type_id',
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'FKClassName' => 'CRM_Case_DAO_CaseType',
'html' => array(
'type' => 'Select',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Select Date',
) ,
'description' => 'Details about the meeting (agenda, notes, etc).',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'TextArea',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);