*
* 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
*/
*/
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]
'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',
'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(
'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(
'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',
) ,