CRM-19925 Updated DAO files
[civicrm-core.git] / CRM / Activity / DAO / ActivityContact.php
index f015261c57fd623944d9dd863d0faff19d15428d..0d41866638c8147e5dcfc159c414881a647bb608 100644 (file)
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f0e603e16da3ae5c5ac641e6a4bdc46e)
+ * (GenCodeChecksum:aad054dda65b709f5861d75e45c20131)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Activity_DAO_ActivityContact constructor.
+ */
 class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_activity_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
    */
@@ -73,16 +75,14 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
    */
   public $record_type_id;
   /**
-   * class constructor
-   *
-   * @return civicrm_activity_contact
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_activity_contact';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -110,6 +110,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'title' => ts('Activity Contact ID') ,
           'description' => 'Activity contact id',
           'required' => true,
+          'table_name' => 'civicrm_activity_contact',
+          'entity' => 'ActivityContact',
+          'bao' => 'CRM_Activity_BAO_ActivityContact',
         ) ,
         'activity_id' => array(
           'name' => 'activity_id',
@@ -117,6 +120,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'title' => ts('Activity ID') ,
           'description' => 'Foreign key to the activity for this record.',
           'required' => true,
+          'table_name' => 'civicrm_activity_contact',
+          'entity' => 'ActivityContact',
+          'bao' => 'CRM_Activity_BAO_ActivityContact',
           'FKClassName' => 'CRM_Activity_DAO_Activity',
         ) ,
         'contact_id' => array(
@@ -130,6 +136,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_activity_contact',
+          'entity' => 'ActivityContact',
+          'bao' => 'CRM_Activity_BAO_ActivityContact',
           'FKClassName' => 'CRM_Contact_DAO_Contact',
         ) ,
         'record_type_id' => array(
@@ -137,6 +146,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Record Type ID') ,
           'description' => 'Nature of this contact\'s role in the activity: 1 assignee, 2 creator, 3 focus or target.',
+          'table_name' => 'civicrm_activity_contact',
+          'entity' => 'ActivityContact',
+          'bao' => 'CRM_Activity_BAO_ActivityContact',
           'html' => array(
             'type' => 'Select',
           ) ,