Merge pull request #14266 from seamuslee001/dev_core_369
[civicrm-core.git] / CRM / Mailing / Event / DAO / Forward.php
index baf2fef8e97e6ee93439d59172e88d4b9205cf66..7f9e189d4861bb46eea7a469a559b8c060c84a62 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c187b9e7dd1d6f2a9a9fd19180acd98f)
+ * (GenCodeChecksum:73d4b00ff9ea00d604d5e83963ba5597)
  */
 
 /**
@@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_mailing_event_forward';
+  public static $_tableName = 'civicrm_mailing_event_forward';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
    * @var int unsigned
@@ -70,7 +70,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
    */
   public static function getReferenceColumns() {
     if (!isset(Civi::$statics[__CLASS__]['links'])) {
-      Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_queue_id', 'civicrm_mailing_event_queue', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dest_queue_id', 'civicrm_mailing_event_queue', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
@@ -91,6 +91,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Forward ID'),
           'required' => TRUE,
+          'where' => 'civicrm_mailing_event_forward.id',
           'table_name' => 'civicrm_mailing_event_forward',
           'entity' => 'Forward',
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
@@ -102,6 +103,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'title' => ts('Mailing Event Queue'),
           'description' => ts('FK to EventQueue'),
           'required' => TRUE,
+          'where' => 'civicrm_mailing_event_forward.event_queue_id',
           'table_name' => 'civicrm_mailing_event_forward',
           'entity' => 'Forward',
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
@@ -113,6 +115,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Destination Queue'),
           'description' => ts('FK to EventQueue for destination'),
+          'where' => 'civicrm_mailing_event_forward.dest_queue_id',
           'table_name' => 'civicrm_mailing_event_forward',
           'entity' => 'Forward',
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
@@ -125,6 +128,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'title' => ts('Timestamp'),
           'description' => ts('When this forward event occurred.'),
           'required' => TRUE,
+          'where' => 'civicrm_mailing_event_forward.time_stamp',
           'default' => 'CURRENT_TIMESTAMP',
           'table_name' => 'civicrm_mailing_event_forward',
           'entity' => 'Forward',