Commit 45a83e42 authored by colemanw's avatar colemanw

Respect '0' as a default when generating DAOs

parent d076584a
......@@ -168,6 +168,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'title' => ts('Deny ACL?'),
'description' => 'Is this ACL entry Allow (0) or Deny (1) ?',
'required' => TRUE,
'default' => '0',
'table_name' => 'civicrm_acl',
'entity' => 'ACL',
'bao' => 'CRM_ACL_BAO_ACL',
......
......@@ -475,6 +475,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
'headerPattern' => '/(is.)?test(.activity)?/i',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_activity',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
......@@ -505,6 +506,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
'name' => 'is_auto',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Auto'),
'default' => '0',
'table_name' => 'civicrm_activity',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
......@@ -575,6 +577,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
'headerPattern' => '/(activity.)?(trash|deleted)/i',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_activity',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
......@@ -651,6 +654,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
'headerPattern' => '/(activity.)?(star|favorite)/i',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_activity',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
......
......@@ -349,6 +349,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Default Survey'),
'description' => 'Is this default survey?',
'default' => '0',
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
......@@ -412,6 +413,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('No Email Verification'),
'description' => 'Bypass the email verification.',
'default' => '0',
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
......
......@@ -271,6 +271,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
'headerPattern' => '',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_case',
'entity' => 'Case',
'bao' => 'CRM_Case_BAO_Case',
......
......@@ -487,6 +487,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '/d(o )?(not )?(email)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -504,6 +505,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '/d(o )?(not )?(call|phone)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -521,6 +523,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '/^(d(o\s)?n(ot\s)?mail)|(\w*)?bulk\s?(\w*)$/i',
'dataPattern' => '/^\d{1,}$/',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -538,6 +541,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '/d(o )?(not )?(sms)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -555,6 +559,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '/d(o )?(not )?(trade)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -574,6 +579,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -1218,6 +1224,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'headerPattern' => '/i(s\s)?d(eceased)$/i',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......@@ -1367,6 +1374,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
'where' => 'civicrm_contact.is_deleted',
'headerPattern' => '',
'dataPattern' => '',
'default' => '0',
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
......
......@@ -139,6 +139,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Column No'),
'description' => 'column no for this widget',
'default' => '0',
'table_name' => 'civicrm_dashboard_contact',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
......@@ -149,6 +150,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Dashlet is Active?'),
'description' => 'Is this widget active?',
'default' => '0',
'table_name' => 'civicrm_dashboard_contact',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
......@@ -159,6 +161,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order'),
'description' => 'Ordering of the widgets.',
'default' => '0',
'table_name' => 'civicrm_dashboard_contact',
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
......
......@@ -401,6 +401,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Group is Hidden'),
'description' => 'Is this group hidden?',
'default' => '0',
'table_name' => 'civicrm_group',
'entity' => 'Group',
'bao' => 'CRM_Contact_BAO_Group',
......@@ -410,6 +411,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Group is Reserved'),
'default' => '0',
'table_name' => 'civicrm_group',
'entity' => 'Group',
'bao' => 'CRM_Contact_BAO_Group',
......
......@@ -253,6 +253,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
'title' => ts('Contact A has Permission Over Contact B'),
'description' => 'Permission that Contact A has to view/update Contact B',
'required' => TRUE,
'default' => '0',
'table_name' => 'civicrm_relationship',
'entity' => 'Relationship',
'bao' => 'CRM_Contact_BAO_Relationship',
......@@ -270,6 +271,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
'title' => ts('Contact B has Permission Over Contact A'),
'description' => 'Permission that Contact B has to view/update Contact A',
'required' => TRUE,
'default' => '0',
'table_name' => 'civicrm_relationship',
'entity' => 'Relationship',
'bao' => 'CRM_Contact_BAO_Relationship',
......
......@@ -399,6 +399,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
'headerPattern' => '/non?.?deduct/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contribution',
'entity' => 'Contribution',
'bao' => 'CRM_Contribute_BAO_Contribution',
......@@ -696,6 +697,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
'headerPattern' => '',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contribution',
'entity' => 'Contribution',
'bao' => 'CRM_Contribute_BAO_Contribution',
......@@ -713,6 +715,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
'headerPattern' => '',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contribution',
'entity' => 'Contribution',
'bao' => 'CRM_Contribute_BAO_Contribution',
......
......@@ -458,6 +458,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Credit Card Only?'),
'description' => 'if true - processing logic must reject transaction at confirmation stage if pay method != credit card',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -479,6 +480,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Recurring'),
'description' => 'if true - allows recurring contributions, valid only for PayPal_Standard',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -521,6 +523,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Support Recurring Intervals'),
'description' => 'if true - supports recurring intervals',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -531,6 +534,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Recurring Installments?'),
'description' => 'if true - asks user for recurring installments',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -541,6 +545,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Adjust Recurring Start Date'),
'description' => 'if true - user is able to adjust payment start date',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -551,6 +556,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Pay Later'),
'description' => 'if true - allows the user to send payment directly to the org later',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -581,6 +587,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Partial Payment'),
'description' => 'is partial payment enabled for this online contribution page',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -627,6 +634,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Other Amounts'),
'description' => 'if true, page will include an input text field where user can enter their own amount',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -731,6 +739,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Send email Receipt'),
'description' => 'if true, receipt is automatically emailed to contact on success',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......@@ -930,6 +939,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is billing block required'),
'description' => 'if true - billing block is required for online contribution page',
'default' => '0',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
......
......@@ -508,6 +508,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
'headerPattern' => '',
'dataPattern' => '',
'export' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
......@@ -549,6 +550,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Number of Failures'),
'description' => 'Number of failed charge attempts since last success. Business rule could be set to deactivate on more than x failures.',
'default' => '0',
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
......@@ -576,6 +578,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
'title' => ts('Auto Renew'),
'description' => 'Some systems allow contributor to set a number of installments - but then auto-renew the subscription or commitment if they do not cancel.',
'required' => TRUE,
'default' => '0',
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
......
......@@ -233,6 +233,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
'name' => 'pcp_display_in_roll',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Soft Contribution Display on PCP'),
'default' => '0',
'table_name' => 'civicrm_contribution_soft',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
......
......@@ -169,6 +169,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
'title' => ts('Is Premium Active?'),
'description' => 'Is the Premiums feature enabled for this page?',
'required' => TRUE,
'default' => '0',
'table_name' => 'civicrm_premiums',
'entity' => 'Premium',
'bao' => 'CRM_Contribute_BAO_Premium',
......
......@@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contribute/Product.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:81e315b903d403508f379dc9c0fcf532)
* (GenCodeChecksum:a66a59f20355ce5773f427b85bd7bf0b)
*/
/**
......@@ -196,7 +196,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'required' => TRUE,
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'product_name' => [
......@@ -213,7 +213,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'dataPattern' => '',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 1,
],
'description' => [
......@@ -223,7 +223,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'description' => 'Optional description of the product/premium.',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 1,
],
'sku' => [
......@@ -239,7 +239,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'dataPattern' => '',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'options' => [
......@@ -249,7 +249,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'description' => 'Store comma-delimited list of color, size, etc. options for the product.',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 1,
],
'image' => [
......@@ -261,7 +261,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'thumbnail' => [
......@@ -273,7 +273,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'price' => [
......@@ -287,7 +287,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
],
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'currency' => [
......@@ -300,7 +300,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'default' => 'NULL',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'html' => [
'type' => 'Select',
......@@ -320,7 +320,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'default' => 'NULL',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => [
......@@ -340,7 +340,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
],
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'cost' => [
......@@ -354,7 +354,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
],
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'is_active' => [
......@@ -365,7 +365,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'required' => TRUE,
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'period_type' => [
......@@ -379,7 +379,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'default' => 'rolling',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'html' => [
'type' => 'Select',
......@@ -396,7 +396,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'default' => '0101',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'duration_unit' => [
......@@ -408,7 +408,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'default' => 'year',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'html' => [
'type' => 'Select',
......@@ -424,7 +424,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'description' => 'Number of units for total duration of subscription, service, membership (e.g. 12 Months).',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
'frequency_unit' => [
......@@ -437,7 +437,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'default' => 'month',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'html' => [
'type' => 'Select',
......@@ -453,7 +453,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
'description' => 'Number of units for delivery frequency of subscription, service, membership (e.g. every 3 Months).',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_DAO_Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
],
];
......
......@@ -200,6 +200,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Error?'),
'description' => 'Was there any error sending the reminder?',
'default' => '0',
'table_name' => 'civicrm_action_log',
'entity' => 'ActionLog',
'bao' => 'CRM_Core_BAO_ActionLog',
......
......@@ -407,6 +407,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Start Action Offset'),
'description' => 'Reminder Interval.',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
......@@ -458,6 +459,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
'name' => 'is_repeat',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Repeat?'),
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
......@@ -486,6 +488,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Repetition Frequency Interval'),
'description' => 'Time interval for repeating the reminder.',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
......@@ -514,6 +517,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('End Frequency Interval'),
'description' => 'Time interval till repeating the reminder.',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
......
......@@ -311,6 +311,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Address Primary?'),
'description' => 'Is this the primary address.',
'default' => '0',
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
......@@ -324,6 +325,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Address'),
'description' => 'Is this the billing address.',
'default' => '0',
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
......@@ -706,6 +708,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is manually geocoded'),
'description' => 'Is this a manually entered geo code',
'default' => '0',
'table_name' => 'civicrm_address',
'entity' => 'Address',
'bao' => 'CRM_Core_BAO_Address',
......
......@@ -227,6 +227,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Abbreviate Province?'),
'description' => 'Should state/province be displayed as abbreviation for contacts from this country?',
'default' => '0',
'table_name' => 'civicrm_country',
'entity' => 'Country',
'bao' => 'CRM_Core_BAO_Country',
......
......@@ -377,6 +377,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Custom Field Is Required?'),
'description' => 'Is a value required for this property.',
'default' => '0',
'table_name' => 'civicrm_custom_field',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
......@@ -387,6 +388,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Searching on Field?'),
'description' => 'Is this property searchable.',
'default' => '0',
'table_name' => 'civicrm_custom_field',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
......@@ -397,6 +399,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Search as a Range'),
'description' => 'Is this property range searchable.',
'default' => '0',
'table_name' => 'civicrm_custom_field',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
......@@ -486,6 +489,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Field is Viewable'),
'description' => 'Is this property set by PHP Code? A code field is viewable but not editable',
'default' => '0',
'table_name' => 'civicrm_custom_field',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
......@@ -617,6 +621,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Field Display'),
'description' => 'Should the multi-record custom field values be displayed in tab table listing',
'default' => '0',
'table_name' => 'civicrm_custom_field',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
......
......@@ -309,6 +309,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Collapse Custom Group?'),
'description' => 'Will this group be in collapsed or expanded mode on initial display ?',
'default' => '0',
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
......@@ -384,6 +385,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Supports Multiple Records'),
'description' => 'Does this group hold multiple values?',
'default' => '0',
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
......@@ -414,6 +416,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Collapse Group Display'),
'description' => 'Will this group be in collapsed or expanded mode on advanced search display ?',
'default' => '0',
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
......@@ -445,6 +448,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Reserved Group?'),
'description' => 'Is this a reserved Custom Group?',
'default' => '0',
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
......
......@@ -238,6 +238,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Dashlet Active?'),
'description' => 'Is this dashlet active?',
'default' => '0',
'table_name' => 'civicrm_dashboard',
'entity' => 'Dashboard',
'bao' => 'CRM_Core_BAO_Dashboard',
......@@ -248,6 +249,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Dashlet Reserved?'),
'description' => 'Is this dashlet reserved?',
'default' => '0',
'table_name' => 'civicrm_dashboard',
'entity' => 'Dashboard',
'bao' => 'CRM_Core_BAO_Dashboard',
......
......@@ -209,6 +209,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Primary email'),
'description' => 'Is this the primary?',
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
......@@ -219,6 +220,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Email?'),
'description' => 'Is this the billing?',
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
......@@ -234,6 +236,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
'where' => 'civicrm_email.on_hold',
'headerPattern' => '',
'dataPattern' => '',
'default' => '0',
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
......@@ -252,6 +255,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
'where' => 'civicrm_email.is_bulkmail',
'headerPattern' => '',