+--------------------------------------------------------------------+
| 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/CaseContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:81a99f6c6d9abe6d08efd359c015036c)
+ * (GenCodeChecksum:15085a2da2c504f3157b293dda26d4ab)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Case_DAO_CaseContact constructor.
+ */
class CRM_Case_DAO_CaseContact extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_case_contact';
/**
- * 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 $contact_id;
/**
- * class constructor
- *
- * @return civicrm_case_contact
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_case_contact';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'title' => ts('Case Contact ID') ,
'description' => 'Unique case-contact association id',
'required' => true,
+ 'table_name' => 'civicrm_case_contact',
+ 'entity' => 'CaseContact',
+ 'bao' => 'CRM_Case_BAO_CaseContact',
) ,
'case_id' => array(
'name' => 'case_id',
'title' => ts('Case') ,
'description' => 'Case ID of case-contact association.',
'required' => true,
+ 'table_name' => 'civicrm_case_contact',
+ 'entity' => 'CaseContact',
+ 'bao' => 'CRM_Case_BAO_CaseContact',
'FKClassName' => 'CRM_Case_DAO_Case',
) ,
'contact_id' => array(
'title' => ts('Contact ID') ,
'description' => 'Contact ID of contact record given case belongs to.',
'required' => true,
+ 'table_name' => 'civicrm_case_contact',
+ 'entity' => 'CaseContact',
+ 'bao' => 'CRM_Case_BAO_CaseContact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',