X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FEvent%2FDAO%2FReply.php;h=8ca919a823fe637b269b5fb1ce8c250e4edb8ff3;hb=e0dde290a5ed0728d149278456185ecdccb67b63;hp=ba515a77723efe0645c41afa5fbb1c848ee2901b;hpb=9ea95270b6a71c2aa27860e7de45985520cd4479;p=civicrm-core.git diff --git a/CRM/Mailing/Event/DAO/Reply.php b/CRM/Mailing/Event/DAO/Reply.php index ba515a7772..8ca919a823 100644 --- a/CRM/Mailing/Event/DAO/Reply.php +++ b/CRM/Mailing/Event/DAO/Reply.php @@ -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/Reply.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c820f3b64d2152014b47a738c32f1f84) + * (GenCodeChecksum:651380df4cde36fdfc999b5570cac1f9) */ /** @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_reply'; + public static $_tableName = 'civicrm_mailing_event_reply'; /** * 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 @@ -63,7 +63,7 @@ class CRM_Mailing_Event_DAO_Reply 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'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } @@ -83,6 +83,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Reply ID'), 'required' => TRUE, + 'where' => 'civicrm_mailing_event_reply.id', 'table_name' => 'civicrm_mailing_event_reply', 'entity' => 'Reply', 'bao' => 'CRM_Mailing_Event_BAO_Reply', @@ -94,6 +95,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { 'title' => ts('Event Queue'), 'description' => ts('FK to EventQueue'), 'required' => TRUE, + 'where' => 'civicrm_mailing_event_reply.event_queue_id', 'table_name' => 'civicrm_mailing_event_reply', 'entity' => 'Reply', 'bao' => 'CRM_Mailing_Event_BAO_Reply', @@ -106,6 +108,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { 'title' => ts('Reply Timestamp'), 'description' => ts('When this reply event occurred.'), 'required' => TRUE, + 'where' => 'civicrm_mailing_event_reply.time_stamp', 'default' => 'CURRENT_TIMESTAMP', 'table_name' => 'civicrm_mailing_event_reply', 'entity' => 'Reply',