Skip to content

Commit

Permalink
curious
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Oct 6, 2021
1 parent 60c151c commit 364fd40
Show file tree
Hide file tree
Showing 48 changed files with 118 additions and 117 deletions.
4 changes: 2 additions & 2 deletions CRM/Activity/DAO/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public static function &fields() {
'title' => ts('Activity Medium'),
'description' => ts('Activity Medium, Implicit FK to civicrm_option_value where option_group = encounter_medium.'),
'where' => 'civicrm_activity.medium_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_activity',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
Expand Down Expand Up @@ -593,7 +593,7 @@ public static function &fields() {
'title' => ts('Relationship ID'),
'description' => ts('FK to Relationship ID'),
'where' => 'civicrm_activity.relationship_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_activity',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
Expand Down
6 changes: 3 additions & 3 deletions CRM/Campaign/DAO/Campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public static function &fields() {
'import' => TRUE,
'where' => 'civicrm_campaign.campaign_type_id',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
Expand All @@ -370,7 +370,7 @@ public static function &fields() {
'import' => TRUE,
'where' => 'civicrm_campaign.status_id',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
Expand Down Expand Up @@ -413,7 +413,7 @@ public static function &fields() {
'import' => TRUE,
'where' => 'civicrm_campaign.parent_id',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
Expand Down
6 changes: 3 additions & 3 deletions CRM/Campaign/DAO/CampaignGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public static function &fields() {
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'where' => 'civicrm_campaign_group.group_type',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_campaign_group',
'entity' => 'CampaignGroup',
'bao' => 'CRM_Campaign_DAO_CampaignGroup',
Expand All @@ -178,7 +178,7 @@ public static function &fields() {
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'where' => 'civicrm_campaign_group.entity_table',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_campaign_group',
'entity' => 'CampaignGroup',
'bao' => 'CRM_Campaign_DAO_CampaignGroup',
Expand All @@ -191,7 +191,7 @@ public static function &fields() {
'title' => ts('Entity ID'),
'description' => ts('Entity id of referenced table.'),
'where' => 'civicrm_campaign_group.entity_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_campaign_group',
'entity' => 'CampaignGroup',
'bao' => 'CRM_Campaign_DAO_CampaignGroup',
Expand Down
12 changes: 6 additions & 6 deletions CRM/Campaign/DAO/Survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static function &fields() {
'title' => ts('Campaign ID'),
'description' => ts('Foreign key to the Campaign.'),
'where' => 'civicrm_survey.campaign_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
Expand All @@ -294,7 +294,7 @@ public static function &fields() {
'import' => TRUE,
'where' => 'civicrm_survey.activity_type_id',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
Expand Down Expand Up @@ -348,7 +348,7 @@ public static function &fields() {
'title' => ts('Survey Hold Duration'),
'description' => ts('Number of days for recurrence of release.'),
'where' => 'civicrm_survey.release_frequency',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
Expand All @@ -361,7 +361,7 @@ public static function &fields() {
'title' => ts('Maximum number of contacts'),
'description' => ts('Maximum number of contacts to allow for survey.'),
'where' => 'civicrm_survey.max_number_of_contacts',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
Expand All @@ -374,7 +374,7 @@ public static function &fields() {
'title' => ts('Default number of contacts'),
'description' => ts('Default number of contacts to allow for survey.'),
'where' => 'civicrm_survey.default_number_of_contacts',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
Expand Down Expand Up @@ -469,7 +469,7 @@ public static function &fields() {
'title' => ts('Survey Result'),
'description' => ts('Used to store option group id.'),
'where' => 'civicrm_survey.result_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_survey',
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Case/DAO/Case.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public static function &fields() {
'required' => FALSE,
'where' => 'civicrm_case.created_date',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_case',
'entity' => 'Case',
'bao' => 'CRM_Case_BAO_Case',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contact/DAO/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,7 @@ public static function &fields() {
'required' => FALSE,
'where' => 'civicrm_contact.created_date',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contact',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Contact/DAO/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_group.frontend_title',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_group',
'entity' => 'Group',
'bao' => 'CRM_Contact_BAO_Group',
Expand All @@ -576,7 +576,7 @@ public static function &fields() {
'rows' => 2,
'cols' => 60,
'where' => 'civicrm_group.frontend_description',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_group',
'entity' => 'Group',
'bao' => 'CRM_Contact_BAO_Group',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contact/DAO/Relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public static function &fields() {
'title' => ts('Case ID'),
'description' => ts('FK to civicrm_case'),
'where' => 'civicrm_relationship.case_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_relationship',
'entity' => 'Relationship',
'bao' => 'CRM_Contact_BAO_Relationship',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Contact/DAO/SavedSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_saved_search.name',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_saved_search',
'entity' => 'SavedSearch',
'bao' => 'CRM_Contact_BAO_SavedSearch',
Expand All @@ -212,7 +212,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_saved_search.label',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_saved_search',
'entity' => 'SavedSearch',
'bao' => 'CRM_Contact_BAO_SavedSearch',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contribute/DAO/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ public static function &fields() {
'headerPattern' => '/cur(rency)?/i',
'dataPattern' => '/^[A-Z]{3}$/i',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution',
'entity' => 'Contribution',
'bao' => 'CRM_Contribute_BAO_Contribution',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Contribute/DAO/ContributionPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ public static function &fields() {
'where' => 'civicrm_contribution_page.currency',
'headerPattern' => '/cur(rency)?/i',
'dataPattern' => '/^[A-Z]{3}$/i',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
Expand Down Expand Up @@ -1101,7 +1101,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_contribution_page.frontend_title',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contribute/DAO/ContributionProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public static function &fields() {
'title' => ts('Financial Type ID'),
'description' => ts('FK to Financial Type(for membership price sets only).'),
'where' => 'civicrm_contribution_product.financial_type_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_product',
'entity' => 'ContributionProduct',
'bao' => 'CRM_Contribute_DAO_ContributionProduct',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contribute/DAO/ContributionRecur.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static function &fields() {
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'where' => 'civicrm_contribution_recur.currency',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
Expand Down
10 changes: 5 additions & 5 deletions CRM/Contribute/DAO/ContributionSoft.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public static function &fields() {
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'where' => 'civicrm_contribution_soft.currency',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_soft',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
Expand All @@ -247,7 +247,7 @@ public static function &fields() {
'title' => ts('PCP ID'),
'description' => ts('FK to civicrm_pcp.id'),
'where' => 'civicrm_contribution_soft.pcp_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_soft',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
Expand Down Expand Up @@ -282,7 +282,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_contribution_soft.pcp_roll_nickname',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_soft',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
Expand All @@ -296,7 +296,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_contribution_soft.pcp_personal_note',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_soft',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
Expand All @@ -312,7 +312,7 @@ public static function &fields() {
'title' => ts('Soft Credit Type'),
'description' => ts('Soft Credit Type ID.Implicit FK to civicrm_option_value where option_group = soft_credit_type.'),
'where' => 'civicrm_contribution_soft.soft_credit_type_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_contribution_soft',
'entity' => 'ContributionSoft',
'bao' => 'CRM_Contribute_BAO_ContributionSoft',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contribute/DAO/PremiumsProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public static function &fields() {
'title' => ts('Financial Type ID'),
'description' => ts('FK to Financial Type.'),
'where' => 'civicrm_premiums_product.financial_type_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_premiums_product',
'entity' => 'PremiumsProduct',
'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Contribute/DAO/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public static function &fields() {
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'where' => 'civicrm_product.currency',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_BAO_Product',
Expand All @@ -356,7 +356,7 @@ public static function &fields() {
'title' => ts('Financial Type ID'),
'description' => ts('FK to Financial Type.'),
'where' => 'civicrm_product.financial_type_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_BAO_Product',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/DAO/ActionLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public static function &fields() {
'title' => ts('Reference Date'),
'description' => ts('Stores the date from the entity which triggered this reminder action (e.g. membership.end_date for most membership renewal reminders)'),
'where' => 'civicrm_action_log.reference_date',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_action_log',
'entity' => 'ActionLog',
'bao' => 'CRM_Core_BAO_ActionLog',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/DAO/ActionSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ public static function &fields() {
'title' => ts('Record Activity for Reminder?'),
'description' => ts('Record Activity for this reminder?'),
'where' => 'civicrm_action_schedule.record_activity',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/DAO/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static function &fields() {
'description' => ts('When should the cache item expire'),
'required' => FALSE,
'where' => 'civicrm_cache.expired_date',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_cache',
'entity' => 'Cache',
'bao' => 'CRM_Core_BAO_Cache',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Core/DAO/CustomGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public static function &fields() {
'title' => ts('Custom Group Subtype List'),
'description' => ts('FK to civicrm_option_value.id (for option group custom_data_type.)'),
'where' => 'civicrm_custom_group.extends_entity_column_id',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
Expand Down Expand Up @@ -552,7 +552,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_custom_group.icon',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Core/DAO/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public static function &fields() {
'import' => TRUE,
'where' => 'civicrm_email.signature_text',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
Expand All @@ -369,7 +369,7 @@ public static function &fields() {
'import' => TRUE,
'where' => 'civicrm_email.signature_html',
'export' => TRUE,
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_email',
'entity' => 'Email',
'bao' => 'CRM_Core_BAO_Email',
Expand Down
4 changes: 2 additions & 2 deletions CRM/Core/DAO/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public static function &fields() {
'description' => ts('When was this cron entry last run'),
'required' => FALSE,
'where' => 'civicrm_job.last_run',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
Expand All @@ -232,7 +232,7 @@ public static function &fields() {
'description' => ts('When is this cron entry scheduled to run'),
'required' => FALSE,
'where' => 'civicrm_job.scheduled_run_date',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/DAO/Navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public static function &fields() {
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_navigation.icon',
'default' => 'NULL',
'default' => NULL,
'table_name' => 'civicrm_navigation',
'entity' => 'Navigation',
'bao' => 'CRM_Core_BAO_Navigation',
Expand Down
Loading

0 comments on commit 364fd40

Please sign in to comment.