*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fcaf9990a79e1ea3bd799a6ff75db893)
+ * (GenCodeChecksum:4ca199ee96c9079ad7ce673c7a06d5f6)
*/
/**
'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,
'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',
'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
'html' => [
'type' => 'Select',
+ 'label' => ts("Participant Role"),
],
'pseudoconstant' => [
'optionGroupName' => 'participant_role',
'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',
'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',
'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',
'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',