*
* Generated from xml/schema/CRM/Event/Cart/Cart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58e30874811fa80b8a405f368004e697)
+ * (GenCodeChecksum:e88efc43107d7828fa4b0d2c29abb564)
*/
/**
public $user_id;
/**
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
'name' => 'completed',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Complete?'),
+ 'required' => TRUE,
'where' => 'civicrm_event_carts.completed',
'default' => '0',
'table_name' => 'civicrm_event_carts',
*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62382336b5251b2ee93828d70138cd7e)
+ * (GenCodeChecksum:9d1b4abcd8bb1106b31c610026aed0d5)
*/
/**
public $fee_level;
/**
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
public $is_test;
/**
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
'name' => 'is_test',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Test'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_participant.is_test',
'export' => TRUE,
'name' => 'is_pay_later',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Pay Later'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_participant.is_pay_later',
'headerPattern' => '/(is.)?(pay(.)?later)$/i',
*
* Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb9ea5411d4ab4f767d891f2e0f20858)
+ * (GenCodeChecksum:ed0f2b22eb6983f73fa5b87fc4fa7c9c)
*/
/**
/**
* whether this is a status type required by the system
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* whether this status type is active
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* whether this status type is counted against event size limit
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status Is Reserved?>'),
'description' => ts('whether this is a status type required by the system'),
+ 'required' => TRUE,
'where' => 'civicrm_participant_status_type.is_reserved',
+ 'default' => '0',
'table_name' => 'civicrm_participant_status_type',
'entity' => 'ParticipantStatusType',
'bao' => 'CRM_Event_BAO_ParticipantStatusType',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status is Active'),
'description' => ts('whether this status type is active'),
+ 'required' => TRUE,
'where' => 'civicrm_participant_status_type.is_active',
'default' => '1',
'table_name' => 'civicrm_participant_status_type',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status Counts?'),
'description' => ts('whether this status type is counted against event size limit'),
+ 'required' => TRUE,
'where' => 'civicrm_participant_status_type.is_counted',
+ 'default' => '0',
'table_name' => 'civicrm_participant_status_type',
'entity' => 'ParticipantStatusType',
'bao' => 'CRM_Event_BAO_ParticipantStatusType',
--- /dev/null
+<?php
+return [
+ // No change in DAO?
+ 'civicrm_event' => [
+ 'is_public' => "DEFAULT 1 COMMENT 'Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.'",
+ 'is_online_registration' => "DEFAULT 0 COMMENT 'If true, include registration link on Event Info page.'",
+ 'is_monetary' => "DEFAULT 0 COMMENT 'If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.'",
+ 'is_map' => "DEFAULT 0 COMMENT 'Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?'",
+ 'is_active' => "DEFAULT 0 COMMENT 'Is this Event enabled or disabled/cancelled?'",
+ 'is_show_location' => "DEFAULT 1 COMMENT 'If true, show event location.'",
+ 'is_email_confirm' => "DEFAULT 0 COMMENT 'If true, confirmation is automatically emailed to contact on successful registration.'",
+ 'is_pay_later' => "DEFAULT 0 COMMENT 'if true - allows the user to send payment directly to the org later'",
+ 'is_partial_payment' => "DEFAULT 0 COMMENT 'is partial payment enabled for this event'",
+ 'is_multiple_registrations' => "DEFAULT 0 COMMENT 'if true - allows the user to register multiple participants for event'",
+ 'allow_same_participant_emails' => "DEFAULT 0 COMMENT 'if true - allows the user to register multiple registrations from same email address.'",
+ 'has_waitlist' => "DEFAULT 0 COMMENT 'Whether the event has waitlist support.'",
+ 'requires_approval' => "DEFAULT 0 COMMENT 'Whether participants require approval before they can finish registering.'",
+ 'allow_selfcancelxfer' => "DEFAULT 0 COMMENT 'Allow self service cancellation or transfer for event?'",
+ 'is_template' => "DEFAULT 0 COMMENT 'whether the event has template'",
+ 'is_share' => "DEFAULT 1 COMMENT 'Can people share the event through social media?'",
+ 'is_confirm_enabled' => "DEFAULT 1 COMMENT 'If false, the event booking confirmation screen gets skipped'",
+ 'is_billing_required' => "DEFAULT 0 COMMENT 'if true than billing block is required this event'",
+ ],
+ 'civicrm_event_carts' => [
+ 'completed' => "DEFAULT 0",
+ ],
+ 'civicrm_participant' => [
+ 'is_test' => "DEFAULT 0",
+ 'is_pay_later' => "DEFAULT 0",
+ ],
+ 'civicrm_participant_status_type' => [
+ 'is_reserved' => "DEFAULT 0 COMMENT 'whether this is a status type required by the system'",
+ 'is_active' => "DEFAULT 1 COMMENT 'whether this status type is active'",
+ 'is_counted' => "DEFAULT 0 COMMENT 'whether this status type is counted against event size limit'",
+ ],
+];
<title>Complete?</title>
<type>boolean</type>
<default>0</default>
+ <required>true</required>
<add>4.1</add>
</field>
<foreignKey>
<title>Test</title>
<type>boolean</type>
<default>0</default>
+ <required>true</required>
<import>true</import>
<add>1.7</add>
</field>
<title>Is Pay Later</title>
<type>boolean</type>
<default>0</default>
+ <required>true</required>
<import>true</import>
<headerPattern>/(is.)?(pay(.)?later)$/i</headerPattern>
<add>2.1</add>
<title>Participant Status Is Reserved?></title>
<type>boolean</type>
<comment>whether this is a status type required by the system</comment>
+ <default>0</default>
+ <required>true</required>
<add>3.0</add>
</field>
<field>
<type>boolean</type>
<default>1</default>
<comment>whether this status type is active</comment>
+ <default>0</default>
+ <required>true</required>
<add>3.0</add>
</field>
<field>
<title>Participant Status Counts?</title>
<type>boolean</type>
<comment>whether this status type is counted against event size limit</comment>
+ <default>0</default>
+ <required>true</required>
<add>3.0</add>
</field>
<field>