+--------------------------------------------------------------------+
| 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/Core/ActionLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:721c03b2046e11d8774a5e14204a28d8)
+ * (GenCodeChecksum:4ef96df03630ecc884c881b79a40818f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_ActionLog constructor.
+ */
class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_action_log';
/**
- * 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 $reference_date;
/**
- * class constructor
- *
- * @return civicrm_action_log
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_action_log';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule ID') ,
'required' => true,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule Contact ID') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'entity_id' => array(
'title' => ts('Entity ID') ,
'description' => 'FK to id of the entity that the action was performed on. Pseudo - FK.',
'required' => true,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'name of the entity table for the above id, e.g. civicrm_activity, civicrm_participant',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'action_schedule_id' => array(
'name' => 'action_schedule_id',
'title' => ts('Schedule') ,
'description' => 'FK to the action schedule that this action originated from.',
'required' => true,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_ActionSchedule',
) ,
'action_date_time' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Action Date And Time') ,
'description' => 'date time that the action was performed on.',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'is_error' => array(
'name' => 'is_error',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Error?') ,
'description' => 'Was there any error sending the reminder?',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'message' => array(
'name' => 'message',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Message') ,
'description' => 'Description / text in case there was an error encountered.',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'repetition_number' => array(
'name' => 'repetition_number',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Repetition Number') ,
'description' => 'Keeps track of the sequence number of this repetition.',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
'reference_date' => array(
'name' => 'reference_date',
'title' => ts('Reference Date') ,
'description' => 'Stores the date from the entity which triggered this reminder action (e.g. membership.end_date for most membership renewal reminders)',
'default' => 'NULL',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
+ 'localizable' => 0,
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);