Merge pull request #13267 from seamuslee001/copywrite_year_update
[civicrm-core.git] / CRM / Event / DAO / Participant.php
index a25c71bb8259d9b70a5378d3e5002c11eed989fe..f688facea2cb2018c5ae03277b7e1246507abec8 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/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2fe76154a50c0317faace43c47c3456a)
+ * (GenCodeChecksum:07eafc5db4afa9fe7ca200110727d42f)
  */
 
 /**
@@ -200,7 +200,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Participant ID'),
-          'description' => 'Participant Id',
+          'description' => ts('Participant Id'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_participant.id',
@@ -216,7 +216,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Contact ID'),
-          'description' => 'FK to Contact ID',
+          'description' => ts('FK to Contact ID'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_participant.contact_id',
@@ -233,7 +233,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'event_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Event'),
-          'description' => 'FK to Event ID',
+          'description' => ts('FK to Event ID'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_participant.event_id',
@@ -250,7 +250,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'status_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Participant Status'),
-          'description' => 'Participant status ID. FK to civicrm_participant_status_type. Default of 1 should map to status = Registered.',
+          'description' => ts('Participant status ID. FK to civicrm_participant_status_type. Default of 1 should map to status = Registered.'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_participant.status_id',
@@ -276,7 +276,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'role_id',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Participant Role'),
-          'description' => 'Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.',
+          'description' => ts('Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -302,7 +302,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'register_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Register date'),
-          'description' => 'When did contact register for event?',
+          'description' => ts('When did contact register for event?'),
           'import' => TRUE,
           'where' => 'civicrm_participant.register_date',
           'headerPattern' => '/^(r(egister\s)?date)$/i',
@@ -321,7 +321,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'source',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Participant Source'),
-          'description' => 'Source of this event registration.',
+          'description' => ts('Source of this event registration.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -341,9 +341,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'fee_level',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Fee level'),
-          'description' => 'Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
+          'description' => ts('Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
       we store the label value and not the key
-    ',
+    '),
           'import' => TRUE,
           'where' => 'civicrm_participant.fee_level',
           'headerPattern' => '/^(f(ee\s)?level)$/i',
@@ -364,6 +364,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => TRUE,
+          'default' => '0',
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -378,6 +379,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'headerPattern' => '/(is.)?(pay(.)?later)$/i',
           'dataPattern' => '',
           'export' => TRUE,
+          'default' => '0',
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -387,7 +389,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'fee_amount',
           'type' => CRM_Utils_Type::T_MONEY,
           'title' => ts('Fee Amount'),
-          'description' => 'actual processor fee if known - may be 0.',
+          'description' => ts('actual processor fee if known - may be 0.'),
           'precision' => [
             20,
             2
@@ -406,7 +408,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'registered_by_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Registered By ID'),
-          'description' => 'FK to Participant ID',
+          'description' => ts('FK to Participant ID'),
           'import' => TRUE,
           'where' => 'civicrm_participant.registered_by_id',
           'headerPattern' => '',
@@ -423,7 +425,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'discount_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Discount ID'),
-          'description' => 'FK to Discount ID',
+          'description' => ts('FK to Discount ID'),
           'default' => 'NULL',
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
@@ -435,7 +437,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'fee_currency',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Fee Currency'),
-          'description' => '3 character string, value derived from config setting.',
+          'description' => ts('3 character string, value derived from config setting.'),
           'maxlength' => 3,
           'size' => CRM_Utils_Type::FOUR,
           'import' => TRUE,
@@ -462,7 +464,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'campaign_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Campaign'),
-          'description' => 'The campaign for which this participant has been registered.',
+          'description' => ts('The campaign for which this participant has been registered.'),
           'import' => TRUE,
           'where' => 'civicrm_participant.campaign_id',
           'headerPattern' => '',
@@ -483,7 +485,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'discount_amount',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Discount Amount'),
-          'description' => 'Discount Amount',
+          'description' => ts('Discount Amount'),
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -493,7 +495,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'cart_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Event Cart ID'),
-          'description' => 'FK to civicrm_event_carts',
+          'description' => ts('FK to civicrm_event_carts'),
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -504,7 +506,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'must_wait',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Must Wait on List'),
-          'description' => 'On Waiting List',
+          'description' => ts('On Waiting List'),
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -514,7 +516,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'transferred_to_contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Transferred to Contact ID'),
-          'description' => 'FK to Contact ID',
+          'description' => ts('FK to Contact ID'),
           'import' => TRUE,
           'where' => 'civicrm_participant.transferred_to_contact_id',
           'headerPattern' => '/transfer(.?id)?/i',