Merge pull request #22482 from eileenmcnaughton/token
[civicrm-core.git] / CRM / Event / DAO / Participant.php
index 74b25157d243529468275fd4889fda3b20585809..67278329c847610c3c48281d0c646d25b6856f36 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fcaf9990a79e1ea3bd799a6ff75db893)
+ * (GenCodeChecksum:4ca199ee96c9079ad7ce673c7a06d5f6)
  */
 
 /**
@@ -315,7 +315,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
         'participant_role_id' => [
           'name' => 'role_id',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Participant Role'),
+          'title' => ts('Participant Role ID'),
           'description' => ts('Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
@@ -323,7 +323,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'where' => 'civicrm_participant.role_id',
           'headerPattern' => '/(participant.)?(role)$/i',
           'export' => TRUE,
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -331,6 +331,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
           'html' => [
             'type' => 'Select',
+            'label' => ts("Participant Role"),
           ],
           'pseudoconstant' => [
             'optionGroupName' => 'participant_role',
@@ -451,7 +452,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'import' => TRUE,
           'where' => 'civicrm_participant.registered_by_id',
           'export' => TRUE,
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -468,7 +469,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'title' => ts('Discount ID'),
           'description' => ts('FK to Discount ID'),
           'where' => 'civicrm_participant.discount_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -491,7 +492,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'headerPattern' => '/(fee)?.?cur(rency)?/i',
           'dataPattern' => '/^[A-Z]{3}$/i',
           'export' => TRUE,
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
@@ -583,7 +584,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'where' => 'civicrm_participant.transferred_to_contact_id',
           'headerPattern' => '/transfer(.?id)?/i',
           'export' => TRUE,
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_participant',
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',