Merge pull request #9724 from civicrm/michaelmcandrew-CRM-19921
[civicrm-core.git] / CRM / Core / DAO / ActionLog.php
index 7e9b9ffa0a408f76099ac49e172ed4eaf48d1233..fe50dac0a2df6a6258586bbee64480b2f4cafdab 100644 (file)
  *
  * 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
    */
@@ -108,16 +110,14 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
    */
   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]
@@ -145,12 +145,18 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           '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',
         ) ,
         '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',
           'FKClassName' => 'CRM_Contact_DAO_Contact',
         ) ,
         'entity_id' => array(
@@ -159,6 +165,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           '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',
         ) ,
         'entity_table' => array(
           'name' => 'entity_table',
@@ -167,6 +176,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           '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',
         ) ,
         'action_schedule_id' => array(
           'name' => 'action_schedule_id',
@@ -174,6 +186,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           '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',
           'FKClassName' => 'CRM_Core_DAO_ActionSchedule',
         ) ,
         'action_date_time' => array(
@@ -181,24 +196,36 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           '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',
         ) ,
         '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',
         ) ,
         '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',
         ) ,
         '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',
         ) ,
         'reference_date' => array(
           'name' => 'reference_date',
@@ -206,6 +233,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           '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',
         ) ,
       );
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);