/**
* @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)
*/
/**
'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',
'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',
'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',
'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',
'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,
'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',
'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,
'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',
'headerPattern' => '',
'dataPattern' => '',
'export' => TRUE,
+ 'default' => '0',
'table_name' => 'civicrm_participant',
'entity' => 'Participant',
'bao' => 'CRM_Event_BAO_Participant',
'headerPattern' => '/(is.)?(pay(.)?later)$/i',
'dataPattern' => '',
'export' => TRUE,
+ 'default' => '0',
'table_name' => 'civicrm_participant',
'entity' => 'Participant',
'bao' => 'CRM_Event_BAO_Participant',
'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
'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' => '',
'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',
'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,
'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' => '',
'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',
'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',
'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',
'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',