Merge pull request #10040 from jaapjansma/CRM-20333
[civicrm-core.git] / CRM / Case / DAO / Case.php
index a1fa6e765baf5e87ea9c4fdceec77c68b67be85a..cde1c52c064e5cf89317ce53869e80ccd33a1017 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/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
    */
@@ -96,16 +98,14 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
    */
   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]
@@ -137,17 +137,24 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           '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',
@@ -170,6 +177,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_case',
+          'entity' => 'Case',
+          'bao' => 'CRM_Case_BAO_Case',
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -184,6 +194,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_case',
+          'entity' => 'Case',
+          'bao' => 'CRM_Case_BAO_Case',
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -198,6 +211,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_case',
+          'entity' => 'Case',
+          'bao' => 'CRM_Case_BAO_Case',
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -209,6 +225,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           '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',
           ) ,
@@ -224,6 +243,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => false,
+          'table_name' => 'civicrm_case',
+          'entity' => 'Case',
+          'bao' => 'CRM_Case_BAO_Case',
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -241,6 +263,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           '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']);