X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FEvent%2FDAO%2FForward.php;h=059c6b3a4a1c373c0ba8b863943b4c9e978922bb;hb=a0741dc66a56012dca28350f8c1ddaad5ec03918;hp=a560f33c489c84bf0bebc441a88523c0e3e88ff7;hpb=6b83d5bdd0f2ca546924feae6aa42aeddb1d40cf;p=civicrm-core.git diff --git a/CRM/Mailing/Event/DAO/Forward.php b/CRM/Mailing/Event/DAO/Forward.php index a560f33c48..059c6b3a4a 100644 --- a/CRM/Mailing/Event/DAO/Forward.php +++ b/CRM/Mailing/Event/DAO/Forward.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Forward.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:73d4b00ff9ea00d604d5e83963ba5597) + * (GenCodeChecksum:b178f318b31d833f478b236f268cbcec) */ /** @@ -19,31 +19,31 @@ 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 + * @var int */ public $id; /** * FK to EventQueue * - * @var int unsigned + * @var int */ public $event_queue_id; /** * FK to EventQueue for destination * - * @var int unsigned + * @var int */ public $dest_queue_id; @@ -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',