*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d9992e7d40fdab9d29f2a093e34aa1cb)
+ * (GenCodeChecksum:4144d565580335c15e750f73a73df644)
*/
/**
/**
* Should we track URL click-throughs for this mailing?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Should we forward replies back to the author?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Should we enable the auto-responder?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Should we track when recipients open/read this mailing?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Has at least one job associated with this mailing finished?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Overwrite the VERP address in Reply-To
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Is this mailing archived?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Remove duplicate emails?
*
- * @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('Url Tracking'),
'description' => ts('Should we track URL click-throughs for this mailing?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.url_tracking',
+ 'default' => '0',
'table_name' => 'civicrm_mailing',
'entity' => 'Mailing',
'bao' => 'CRM_Mailing_BAO_Mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Forward Replies'),
'description' => ts('Should we forward replies back to the author?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.forward_replies',
+ 'default' => '0',
'table_name' => 'civicrm_mailing',
'entity' => 'Mailing',
'bao' => 'CRM_Mailing_BAO_Mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Auto Responder'),
'description' => ts('Should we enable the auto-responder?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.auto_responder',
+ 'default' => '0',
'table_name' => 'civicrm_mailing',
'entity' => 'Mailing',
'bao' => 'CRM_Mailing_BAO_Mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Track Mailing?'),
'description' => ts('Should we track when recipients open/read this mailing?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.open_tracking',
+ 'default' => '0',
'table_name' => 'civicrm_mailing',
'entity' => 'Mailing',
'bao' => 'CRM_Mailing_BAO_Mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mailing Completed'),
'description' => ts('Has at least one job associated with this mailing finished?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.is_completed',
+ 'default' => '0',
'table_name' => 'civicrm_mailing',
'entity' => 'Mailing',
'bao' => 'CRM_Mailing_BAO_Mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Override Verp'),
'description' => ts('Overwrite the VERP address in Reply-To'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.override_verp',
'default' => '0',
'table_name' => 'civicrm_mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Mailing Archived?'),
'description' => ts('Is this mailing archived?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.is_archived',
'default' => '0',
'table_name' => 'civicrm_mailing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('No Duplicate emails?'),
'description' => ts('Remove duplicate emails?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing.dedupe_email',
'default' => '0',
'table_name' => 'civicrm_mailing',
*
* Generated from xml/schema/CRM/Mailing/MailingComponent.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:07a2027aee545a570c9fd99294f98d9a)
+ * (GenCodeChecksum:0714e4996da6d79fc972efe53df08a26)
*/
/**
/**
* Is this the default component for this component_type?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Is this property active?
*
- * @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('Mailing Component is Default?'),
'description' => ts('Is this the default component for this component_type?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing_component.is_default',
'default' => '0',
'table_name' => 'civicrm_mailing_component',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mailing Component Is Active?'),
'description' => ts('Is this property active?'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing_component.is_active',
+ 'default' => '1',
'table_name' => 'civicrm_mailing_component',
'entity' => 'MailingComponent',
'bao' => 'CRM_Mailing_BAO_MailingComponent',
--- /dev/null
+<?php
+return [
+ 'civicrm_mailing' => [
+ 'url_tracking' => "DEFAULT 0 COMMENT 'Should we track URL click-throughs for this mailing?'",
+ 'forward_replies' => "DEFAULT 0 COMMENT 'Should we forward replies back to the author?'",
+ 'auto_responder' => "DEFAULT 0 COMMENT 'Should we enable the auto-responder?'",
+ 'open_tracking' => "DEFAULT 0 COMMENT 'Should we track when recipients open/read this mailing?'",
+ 'is_completed' => "DEFAULT 0 COMMENT 'Has at least one job associated with this mailing finished?'",
+ 'override_verp' => "DEFAULT 0 COMMENT 'Overwrite the VERP address in Reply-To'",
+ 'is_archived' => "DEFAULT 0 COMMENT 'Is this mailing archived?'",
+ 'dedupe_email' => "DEFAULT 0 COMMENT 'Remove duplicate emails?'",
+ ],
+ 'civicrm_mailing_job' => [
+ 'is_test' => "DEFAULT 0 COMMENT 'Is this job for a test mail?'",
+ ],
+ 'civicrm_mailing_component' => [
+ 'is_active' => "DEFAULT 1 COMMENT 'Is this property active?'",
+ ],
+];
<field>
<name>url_tracking</name>
<type>boolean</type>
+ <default>0</default>
+ <required>true</required>
<comment>Should we track URL click-throughs for this mailing?</comment>
<html>
<type>CheckBox</type>
<field>
<name>forward_replies</name>
<type>boolean</type>
+ <default>0</default>
+ <required>true</required>
<comment>Should we forward replies back to the author?</comment>
<html>
<type>CheckBox</type>
<field>
<name>auto_responder</name>
<type>boolean</type>
+ <default>0</default>
+ <required>true</required>
<comment>Should we enable the auto-responder?</comment>
<html>
<type>CheckBox</type>
<name>open_tracking</name>
<title>Track Mailing?</title>
<type>boolean</type>
+ <default>0</default>
+ <required>true</required>
<comment>Should we track when recipients open/read this mailing?</comment>
</field>
<field>
<name>is_completed</name>
<title>Mailing Completed</title>
<type>boolean</type>
+ <default>0</default>
+ <required>true</required>
<comment>Has at least one job associated with this mailing finished?</comment>
<html>
<type>CheckBox</type>
<name>override_verp</name>
<type>boolean</type>
<default>0</default>
+ <required>true</required>
<add>2.2</add>
<comment>Overwrite the VERP address in Reply-To</comment>
<html>
<type>boolean</type>
<title>Is Mailing Archived?</title>
<default>0</default>
+ <required>true</required>
<comment>Is this mailing archived?</comment>
<html>
<type>CheckBox</type>
<type>boolean</type>
<title>No Duplicate emails?</title>
<default>0</default>
+ <required>true</required>
<add>4.1</add>
<comment>Remove duplicate emails?</comment>
<html>