From 522a26c97d574d2ce6f88c729fa01998ed203794 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 25 Jan 2017 13:13:34 +1300 Subject: [PATCH] CRM-19925 Updated DAO files --- CRM/ACL/DAO/ACL.php | 35 +++- CRM/ACL/DAO/Cache.php | 14 +- CRM/ACL/DAO/EntityRole.php | 17 +- CRM/Activity/DAO/Activity.php | 78 ++++++- CRM/Activity/DAO/ActivityContact.php | 14 +- CRM/Batch/DAO/Batch.php | 53 ++++- CRM/Batch/DAO/EntityBatch.php | 14 +- CRM/Campaign/DAO/Campaign.php | 53 ++++- CRM/Campaign/DAO/CampaignGroup.php | 17 +- CRM/Campaign/DAO/Survey.php | 62 +++++- CRM/Case/DAO/Case.php | 26 ++- CRM/Case/DAO/CaseActivity.php | 11 +- CRM/Case/DAO/CaseContact.php | 11 +- CRM/Case/DAO/CaseType.php | 26 ++- CRM/Contact/DAO/ACLContactCache.php | 14 +- CRM/Contact/DAO/Contact.php | 160 +++++++++++++- CRM/Contact/DAO/ContactType.php | 26 ++- CRM/Contact/DAO/DashboardContact.php | 20 +- CRM/Contact/DAO/Group.php | 62 +++++- CRM/Contact/DAO/GroupContact.php | 20 +- CRM/Contact/DAO/GroupContactCache.php | 11 +- CRM/Contact/DAO/GroupNesting.php | 11 +- CRM/Contact/DAO/GroupOrganization.php | 11 +- CRM/Contact/DAO/Relationship.php | 35 +++- CRM/Contact/DAO/RelationshipType.php | 38 +++- CRM/Contact/DAO/SavedSearch.php | 23 +- CRM/Contact/DAO/SubscriptionHistory.php | 23 +- CRM/Contribute/DAO/Contribution.php | 94 ++++++++- CRM/Contribute/DAO/ContributionPage.php | 137 +++++++++++- CRM/Contribute/DAO/ContributionProduct.php | 32 ++- CRM/Contribute/DAO/ContributionRecur.php | 86 +++++++- CRM/Contribute/DAO/ContributionSoft.php | 32 ++- CRM/Contribute/DAO/Premium.php | 35 +++- CRM/Contribute/DAO/PremiumsProduct.php | 17 +- CRM/Contribute/DAO/Product.php | 59 +++++- CRM/Contribute/DAO/Widget.php | 53 ++++- CRM/Core/CodeGen/Specification.php | 1 - CRM/Core/DAO/ActionLog.php | 32 ++- CRM/Core/DAO/ActionMapping.php | 29 ++- CRM/Core/DAO/ActionSchedule.php | 116 +++++++++- CRM/Core/DAO/Address.php | 89 +++++++- CRM/Core/DAO/AddressFormat.php | 8 +- CRM/Core/DAO/AllCoreTables.data.php | 2 +- CRM/Core/DAO/Cache.php | 23 +- CRM/Core/DAO/Component.php | 11 +- CRM/Core/DAO/Country.php | 29 ++- CRM/Core/DAO/County.php | 14 +- CRM/Core/DAO/CustomField.php | 92 +++++++- CRM/Core/DAO/CustomGroup.php | 62 +++++- CRM/Core/DAO/Dashboard.php | 35 +++- CRM/Core/DAO/Discount.php | 20 +- CRM/Core/DAO/Domain.php | 26 ++- CRM/Core/DAO/Email.php | 38 +++- CRM/Core/DAO/EntityFile.php | 14 +- CRM/Core/DAO/EntityTag.php | 14 +- CRM/Core/DAO/Extension.php | 26 ++- CRM/Core/DAO/File.php | 23 +- CRM/Core/DAO/IM.php | 23 +- CRM/Core/DAO/Job.php | 35 +++- CRM/Core/DAO/JobLog.php | 26 ++- CRM/Core/DAO/LocBlock.php | 29 ++- CRM/Core/DAO/LocationType.php | 26 ++- CRM/Core/DAO/Log.php | 20 +- CRM/Core/DAO/MailSettings.php | 44 +++- CRM/Core/DAO/Managed.php | 20 +- CRM/Core/DAO/Mapping.php | 14 +- CRM/Core/DAO/MappingField.php | 44 +++- CRM/Core/DAO/Menu.php | 65 +++++- CRM/Core/DAO/MessageTemplate.php | 35 +++- CRM/Core/DAO/Navigation.php | 35 +++- CRM/Core/DAO/Note.php | 26 ++- CRM/Core/DAO/OpenID.php | 20 +- CRM/Core/DAO/OptionGroup.php | 26 ++- CRM/Core/DAO/OptionValue.php | 56 ++++- CRM/Core/DAO/Persistent.php | 17 +- CRM/Core/DAO/Phone.php | 32 ++- CRM/Core/DAO/PreferencesDate.php | 23 +- CRM/Core/DAO/PrevNextCache.php | 23 +- CRM/Core/DAO/PrintLabel.php | 35 +++- CRM/Core/DAO/RecurringEntity.php | 17 +- CRM/Core/DAO/Setting.php | 29 ++- CRM/Core/DAO/StateProvince.php | 14 +- CRM/Core/DAO/StatusPreference.php | 23 +- CRM/Core/DAO/SystemLog.php | 23 +- CRM/Core/DAO/Tag.php | 35 +++- CRM/Core/DAO/Timezone.php | 20 +- CRM/Core/DAO/UFField.php | 59 +++++- CRM/Core/DAO/UFGroup.php | 71 ++++++- CRM/Core/DAO/UFJoin.php | 26 ++- CRM/Core/DAO/UFMatch.php | 20 +- CRM/Core/DAO/Website.php | 14 +- CRM/Core/DAO/WordReplacement.php | 20 +- CRM/Core/DAO/Worldregion.php | 8 +- CRM/Cxn/DAO/Cxn.php | 35 +++- CRM/Dedupe/DAO/Exception.php | 11 +- CRM/Dedupe/DAO/Rule.php | 20 +- CRM/Dedupe/DAO/RuleGroup.php | 23 +- CRM/Event/Cart/DAO/Cart.php | 11 +- CRM/Event/Cart/DAO/EventInCart.php | 11 +- CRM/Event/DAO/Event.php | 209 ++++++++++++++++++- CRM/Event/DAO/Participant.php | 63 +++++- CRM/Event/DAO/ParticipantPayment.php | 11 +- CRM/Event/DAO/ParticipantStatusType.php | 29 ++- CRM/Financial/DAO/Currency.php | 17 +- CRM/Financial/DAO/EntityFinancialAccount.php | 17 +- CRM/Financial/DAO/EntityFinancialTrxn.php | 17 +- CRM/Financial/DAO/FinancialAccount.php | 53 ++++- CRM/Financial/DAO/FinancialItem.php | 35 +++- CRM/Financial/DAO/FinancialTrxn.php | 47 ++++- CRM/Financial/DAO/FinancialType.php | 20 +- CRM/Financial/DAO/PaymentProcessor.php | 68 +++++- CRM/Financial/DAO/PaymentProcessorType.php | 71 ++++++- CRM/Financial/DAO/PaymentToken.php | 41 +++- CRM/Friend/DAO/Friend.php | 32 ++- CRM/Grant/DAO/Grant.php | 47 ++++- CRM/Mailing/DAO/BouncePattern.php | 11 +- CRM/Mailing/DAO/BounceType.php | 14 +- CRM/Mailing/DAO/Component.php | 26 ++- CRM/Mailing/DAO/Mailing.php | 128 +++++++++++- CRM/Mailing/DAO/MailingAB.php | 44 +++- CRM/Mailing/DAO/MailingGroup.php | 23 +- CRM/Mailing/DAO/MailingJob.php | 35 +++- CRM/Mailing/DAO/Recipients.php | 17 +- CRM/Mailing/DAO/Spool.php | 23 +- CRM/Mailing/DAO/TrackableURL.php | 11 +- CRM/Mailing/Event/DAO/Bounce.php | 17 +- CRM/Mailing/Event/DAO/Confirm.php | 11 +- CRM/Mailing/Event/DAO/Delivered.php | 11 +- CRM/Mailing/Event/DAO/Forward.php | 14 +- CRM/Mailing/Event/DAO/Opened.php | 11 +- CRM/Mailing/Event/DAO/Queue.php | 20 +- CRM/Mailing/Event/DAO/Reply.php | 11 +- CRM/Mailing/Event/DAO/Subscribe.php | 17 +- CRM/Mailing/Event/DAO/TrackableURLOpen.php | 14 +- CRM/Mailing/Event/DAO/Unsubscribe.php | 14 +- CRM/Member/DAO/Membership.php | 50 ++++- CRM/Member/DAO/MembershipBlock.php | 41 +++- CRM/Member/DAO/MembershipLog.php | 29 ++- CRM/Member/DAO/MembershipPayment.php | 11 +- CRM/Member/DAO/MembershipStatus.php | 47 ++++- CRM/Member/DAO/MembershipType.php | 65 +++++- CRM/PCP/DAO/PCP.php | 50 ++++- CRM/PCP/DAO/PCPBlock.php | 41 +++- CRM/Pledge/DAO/Pledge.php | 71 ++++++- CRM/Pledge/DAO/PledgeBlock.php | 35 +++- CRM/Pledge/DAO/PledgePayment.php | 32 ++- CRM/Price/DAO/LineItem.php | 44 +++- CRM/Price/DAO/PriceField.php | 53 ++++- CRM/Price/DAO/PriceFieldValue.php | 53 ++++- CRM/Price/DAO/PriceSet.php | 41 +++- CRM/Price/DAO/PriceSetEntity.php | 14 +- CRM/Queue/DAO/QueueItem.php | 20 +- CRM/Report/DAO/ReportInstance.php | 65 +++++- CRM/SMS/DAO/Provider.php | 32 ++- 154 files changed, 5187 insertions(+), 154 deletions(-) diff --git a/CRM/ACL/DAO/ACL.php b/CRM/ACL/DAO/ACL.php index d48ca2e368..b34649bd2f 100644 --- a/CRM/ACL/DAO/ACL.php +++ b/CRM/ACL/DAO/ACL.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/ACL/ACL.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5727b59234c51d62e5d279c582cbd95b) + * (GenCodeChecksum:64a0037ac9582a2b613798886028013e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -151,6 +151,9 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { 'title' => ts('ACL ID') , 'description' => 'Unique table ID', 'required' => true, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'name' => array( 'name' => 'name', @@ -159,6 +162,9 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { 'description' => 'ACL Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', 'html' => array( 'type' => 'Text', ) , @@ -169,6 +175,9 @@ 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, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', 'html' => array( 'type' => 'Radio', ) , @@ -181,12 +190,18 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'entity_id' => array( 'name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity ID') , 'description' => 'ID of the object possessing this ACL', + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'operation' => array( 'name' => 'operation', @@ -196,6 +211,9 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { 'required' => true, 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', 'html' => array( 'type' => 'Select', ) , @@ -210,12 +228,18 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { 'description' => 'The table of the object controlled by this ACL entry', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'object_id' => array( 'name' => 'object_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('ACL Object ID') , 'description' => 'The ID of the object controlled by this ACL entry', + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'acl_table' => array( 'name' => 'acl_table', @@ -224,18 +248,27 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { 'description' => 'If this is a grant/revoke entry, what table are we granting?', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'acl_id' => array( 'name' => 'acl_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('ACL Group ID') , 'description' => 'ID of the ACL or ACL group being granted/revoked', + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('ACL Is Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_acl', + 'entity' => 'ACL', + 'bao' => 'CRM_ACL_BAO_ACL', 'html' => array( 'type' => 'Checkbox', ) , diff --git a/CRM/ACL/DAO/Cache.php b/CRM/ACL/DAO/Cache.php index 0d03f35622..a06ffb3111 100644 --- a/CRM/ACL/DAO/Cache.php +++ b/CRM/ACL/DAO/Cache.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/ACL/Cache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:2022900f4e480daf0ed872bd88a3579b) + * (GenCodeChecksum:c9b0fa8ca419c222fd5de7f8ceefcdd8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,12 +110,18 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO { 'title' => ts('Cache ID') , 'description' => 'Unique table ID', 'required' => true, + 'table_name' => 'civicrm_acl_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_ACL_BAO_Cache', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Cache Contact') , 'description' => 'Foreign Key to Contact', + 'table_name' => 'civicrm_acl_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_ACL_BAO_Cache', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'acl_id' => array( @@ -124,6 +130,9 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO { 'title' => ts('Cache ACL') , 'description' => 'Foreign Key to ACL', 'required' => true, + 'table_name' => 'civicrm_acl_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_ACL_BAO_Cache', 'FKClassName' => 'CRM_ACL_DAO_ACL', ) , 'modified_date' => array( @@ -132,6 +141,9 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO { 'title' => ts('Cache Modified Date') , 'description' => 'When was this cache entry last modified', 'required' => false, + 'table_name' => 'civicrm_acl_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_ACL_BAO_Cache', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/ACL/DAO/EntityRole.php b/CRM/ACL/DAO/EntityRole.php index 346482c452..88677377a0 100644 --- a/CRM/ACL/DAO/EntityRole.php +++ b/CRM/ACL/DAO/EntityRole.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/ACL/EntityRole.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9ec4917a20273426112e2d0df3e985d1) + * (GenCodeChecksum:005d4928f36bf24b5e20e13f18f0588d) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -115,6 +115,9 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO { 'title' => ts('Entity Role') , 'description' => 'Unique table ID', 'required' => true, + 'table_name' => 'civicrm_acl_entity_role', + 'entity' => 'EntityRole', + 'bao' => 'CRM_ACL_BAO_EntityRole', ) , 'acl_role_id' => array( 'name' => 'acl_role_id', @@ -122,6 +125,9 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO { 'title' => ts('ACL Role ID') , 'description' => 'Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)', 'required' => true, + 'table_name' => 'civicrm_acl_entity_role', + 'entity' => 'EntityRole', + 'bao' => 'CRM_ACL_BAO_EntityRole', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -131,6 +137,9 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_acl_entity_role', + 'entity' => 'EntityRole', + 'bao' => 'CRM_ACL_BAO_EntityRole', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -138,12 +147,18 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO { 'title' => ts('ACL Entity ID') , 'description' => 'ID of the group/contact object being joined', 'required' => true, + 'table_name' => 'civicrm_acl_entity_role', + 'entity' => 'EntityRole', + 'bao' => 'CRM_ACL_BAO_EntityRole', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('ACL Entity Role is Active') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_acl_entity_role', + 'entity' => 'EntityRole', + 'bao' => 'CRM_ACL_BAO_EntityRole', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Activity/DAO/Activity.php b/CRM/Activity/DAO/Activity.php index f2d9d68062..5cbc7a0d8c 100644 --- a/CRM/Activity/DAO/Activity.php +++ b/CRM/Activity/DAO/Activity.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Activity/Activity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9f8fd18414364d34516134b9d931ac02) + * (GenCodeChecksum:0dd661946f59d928e2b928c3c3f67d44) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -239,12 +239,18 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', ) , 'source_record_id' => array( 'name' => 'source_record_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Source Record') , 'description' => 'Artificial FK to original transaction (e.g. contribution) IF it is not an Activity. Table can be figured out through activity_type_id, and further through component registry.', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', ) , 'activity_type_id' => array( 'name' => 'activity_type_id', @@ -258,6 +264,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select', ) , @@ -278,6 +287,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?subject/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -292,8 +304,12 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?date(.time$)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDateTime', ) , ) , 'activity_duration' => array( @@ -306,6 +322,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?duration(s)?$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -322,6 +341,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?location$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -331,6 +353,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone (called) ID') , 'description' => 'Phone ID of the number called (optional - used if an existing phone number is selected).', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'FKClassName' => 'CRM_Core_DAO_Phone', 'html' => array( 'type' => 'EntityRef', @@ -343,6 +368,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'description' => 'Phone number in case the number does not exist in the civicrm_phone table.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -357,6 +385,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?detail(s)?$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -371,6 +402,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?status(.label$)?/i', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select', ) , @@ -384,6 +418,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Priority') , 'description' => 'ID of the priority given to this activity. Foreign key to civicrm_option_value.', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select', ) , @@ -397,6 +434,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Parent Activity Id') , 'description' => 'Parent meeting ID (if this is a follow-up item). This is not currently implemented', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'FKClassName' => 'CRM_Activity_DAO_Activity', ) , 'activity_is_test' => array( @@ -408,6 +448,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(is.)?test(.activity)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select', ) , @@ -418,6 +461,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'title' => ts('Activity Medium') , 'description' => 'Activity Medium, Implicit FK to civicrm_option_value where option_group = encounter_medium.', 'default' => 'NULL', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select', ) , @@ -430,6 +476,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'name' => 'is_auto', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Auto') , + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', ) , 'relationship_id' => array( 'name' => 'relationship_id', @@ -437,6 +486,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'title' => ts('Relationship Id') , 'description' => 'FK to Relationship ID', 'default' => 'NULL', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'FKClassName' => 'CRM_Contact_DAO_Relationship', ) , 'is_current_revision' => array( @@ -449,6 +501,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'CheckBox', ) , @@ -458,6 +513,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Original Activity ID ') , 'description' => 'Activity ID of the first activity record in versioning chain.', + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'FKClassName' => 'CRM_Activity_DAO_Activity', ) , 'activity_result' => array( @@ -467,6 +525,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'description' => 'Currently being used to store result id for survey activity, FK to option value.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -480,6 +541,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?(trash|deleted)/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -494,6 +558,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'CheckBox', @@ -514,6 +581,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Select', ) , @@ -526,6 +596,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', 'html' => array( 'type' => 'Text', ) , @@ -540,6 +613,9 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { 'headerPattern' => '/(activity.)?(star|favorite)/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity', + 'entity' => 'Activity', + 'bao' => 'CRM_Activity_BAO_Activity', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Activity/DAO/ActivityContact.php b/CRM/Activity/DAO/ActivityContact.php index 75ebc4bccd..0d41866638 100644 --- a/CRM/Activity/DAO/ActivityContact.php +++ b/CRM/Activity/DAO/ActivityContact.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Activity/ActivityContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f0e603e16da3ae5c5ac641e6a4bdc46e) + * (GenCodeChecksum:aad054dda65b709f5861d75e45c20131) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,6 +110,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO { 'title' => ts('Activity Contact ID') , 'description' => 'Activity contact id', 'required' => true, + 'table_name' => 'civicrm_activity_contact', + 'entity' => 'ActivityContact', + 'bao' => 'CRM_Activity_BAO_ActivityContact', ) , 'activity_id' => array( 'name' => 'activity_id', @@ -117,6 +120,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO { 'title' => ts('Activity ID') , 'description' => 'Foreign key to the activity for this record.', 'required' => true, + 'table_name' => 'civicrm_activity_contact', + 'entity' => 'ActivityContact', + 'bao' => 'CRM_Activity_BAO_ActivityContact', 'FKClassName' => 'CRM_Activity_DAO_Activity', ) , 'contact_id' => array( @@ -130,6 +136,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_activity_contact', + 'entity' => 'ActivityContact', + 'bao' => 'CRM_Activity_BAO_ActivityContact', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'record_type_id' => array( @@ -137,6 +146,9 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Record Type ID') , 'description' => 'Nature of this contact\'s role in the activity: 1 assignee, 2 creator, 3 focus or target.', + 'table_name' => 'civicrm_activity_contact', + 'entity' => 'ActivityContact', + 'bao' => 'CRM_Activity_BAO_ActivityContact', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Batch/DAO/Batch.php b/CRM/Batch/DAO/Batch.php index 23984beb42..14ed8afb13 100644 --- a/CRM/Batch/DAO/Batch.php +++ b/CRM/Batch/DAO/Batch.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Batch/Batch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:81081e8ad03b0097ba7949b4425b1ca8) + * (GenCodeChecksum:d02020e92b997906c5591971b4c4b988) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -188,6 +188,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'title' => ts('Batch ID') , 'description' => 'Unique Address ID', 'required' => true, + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', ) , 'name' => array( 'name' => 'name', @@ -196,6 +199,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'description' => 'Variable name/programmatic handle for this batch.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Text', ) , @@ -207,6 +213,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'description' => 'Friendly Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Text', ) , @@ -218,6 +227,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'description' => 'Description of this batch set.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'TextArea', ) , @@ -227,6 +239,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Created By') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -234,6 +249,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Batch Created Date') , 'description' => 'When was this item created', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Select Date', ) , @@ -243,6 +261,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Modified By') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'modified_date' => array( @@ -250,12 +271,18 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Batch Modified Date') , 'description' => 'When was this item created', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', ) , 'saved_search_id' => array( 'name' => 'saved_search_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Smart Group') , 'description' => 'FK to Saved Search ID', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'FKClassName' => 'CRM_Contact_DAO_SavedSearch', 'html' => array( 'type' => 'EntityRef', @@ -267,6 +294,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'title' => ts('Batch Status') , 'description' => 'fk to Batch Status options in civicrm_option_values', 'required' => true, + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Select', ) , @@ -280,6 +310,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Type') , 'description' => 'fk to Batch Type options in civicrm_option_values', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Select', ) , @@ -293,6 +326,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Mode') , 'description' => 'fk to Batch mode options in civicrm_option_values', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Select', ) , @@ -310,6 +346,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Text', ) , @@ -319,6 +358,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Number of Items') , 'description' => 'Number of items in a batch.', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Text', ) , @@ -328,6 +370,9 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Payment Method') , 'description' => 'fk to Payment Instrument options in civicrm_option_values', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', 'html' => array( 'type' => 'Select', ) , @@ -340,12 +385,18 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { 'name' => 'exported_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Batch Exported Date') , + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Batch Data') , 'description' => 'cache entered data', + 'table_name' => 'civicrm_batch', + 'entity' => 'Batch', + 'bao' => 'CRM_Batch_BAO_Batch', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Batch/DAO/EntityBatch.php b/CRM/Batch/DAO/EntityBatch.php index 1fed4a8a23..8280c76f2f 100644 --- a/CRM/Batch/DAO/EntityBatch.php +++ b/CRM/Batch/DAO/EntityBatch.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Batch/EntityBatch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:160615ef07fcb012b5d7fb23a54763a5) + * (GenCodeChecksum:e3fff81311c24e7691d3ae2c2522d93a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,6 +110,9 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO { 'title' => ts('EntityBatch ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_entity_batch', + 'entity' => 'EntityBatch', + 'bao' => 'CRM_Batch_BAO_EntityBatch', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -118,6 +121,9 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO { 'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_entity_batch', + 'entity' => 'EntityBatch', + 'bao' => 'CRM_Batch_BAO_EntityBatch', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -125,6 +131,9 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_entity_batch', + 'entity' => 'EntityBatch', + 'bao' => 'CRM_Batch_BAO_EntityBatch', ) , 'batch_id' => array( 'name' => 'batch_id', @@ -132,6 +141,9 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO { 'title' => ts('Batch ID') , 'description' => 'FK to civicrm_batch', 'required' => true, + 'table_name' => 'civicrm_entity_batch', + 'entity' => 'EntityBatch', + 'bao' => 'CRM_Batch_BAO_EntityBatch', 'FKClassName' => 'CRM_Batch_DAO_Batch', ) , ); diff --git a/CRM/Campaign/DAO/Campaign.php b/CRM/Campaign/DAO/Campaign.php index eb498fa24e..adc34aa461 100644 --- a/CRM/Campaign/DAO/Campaign.php +++ b/CRM/Campaign/DAO/Campaign.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Campaign/Campaign.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f458ad522680b056ea1fe27ef362b523) + * (GenCodeChecksum:1f3125d30683d39abc6a6e1d70a093c8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -194,6 +194,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', ) , 'name' => array( 'name' => 'name', @@ -208,6 +211,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Text', ) , @@ -224,6 +230,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Text', ) , @@ -235,6 +244,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'description' => 'Full description of Campaign.', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'TextArea', ) , @@ -249,6 +261,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'headerPattern' => '/^start|(s(tart\s)?date)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Select Date', ) , @@ -263,6 +278,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'headerPattern' => '/^end|(e(nd\s)?date)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Select Date', ) , @@ -278,6 +296,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Select', ) , @@ -297,6 +318,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Select', ) , @@ -317,6 +341,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'headerPattern' => '/external\s?id/i', 'dataPattern' => '/^\d{11,}$/', 'export' => true, + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Text', ) , @@ -332,6 +359,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'EntityRef', @@ -343,6 +373,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'title' => ts('Is Campaign Active?') , 'description' => 'Is this Campaign enabled or disabled/cancelled?', 'default' => '1', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'CheckBox', ) , @@ -352,6 +385,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Campaign Created By') , 'description' => 'FK to civicrm_contact, who created this Campaign.', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -359,6 +395,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Campaign Created Date') , 'description' => 'Date and time that Campaign was created.', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Select Date', ) , @@ -368,6 +407,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Campaign Modified By') , 'description' => 'FK to civicrm_contact, who recently edited this Campaign.', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'last_modified_date' => array( @@ -375,12 +417,18 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Campaign Modified Date') , 'description' => 'Date and time that Campaign was edited last time.', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', ) , 'goal_general' => array( 'name' => 'goal_general', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Campaign Goals') , 'description' => 'General goals for Campaign.', + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -394,6 +442,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_campaign', + 'entity' => 'Campaign', + 'bao' => 'CRM_Campaign_BAO_Campaign', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Campaign/DAO/CampaignGroup.php b/CRM/Campaign/DAO/CampaignGroup.php index e3089d7eaa..dd86f03445 100644 --- a/CRM/Campaign/DAO/CampaignGroup.php +++ b/CRM/Campaign/DAO/CampaignGroup.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4ff30619fe1018210832e24befe9c40f) + * (GenCodeChecksum:7ada46f496fcb74661d1de2090d934b5) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -116,6 +116,9 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { 'title' => ts('Campaign Group ID') , 'description' => 'Campaign Group id.', 'required' => true, + 'table_name' => 'civicrm_campaign_group', + 'entity' => 'CampaignGroup', + 'bao' => 'CRM_Campaign_DAO_CampaignGroup', ) , 'campaign_id' => array( 'name' => 'campaign_id', @@ -123,6 +126,9 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { 'title' => ts('Campaign') , 'description' => 'Foreign key to the activity Campaign.', 'required' => true, + 'table_name' => 'civicrm_campaign_group', + 'entity' => 'CampaignGroup', + 'bao' => 'CRM_Campaign_DAO_CampaignGroup', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'pseudoconstant' => array( 'table' => 'civicrm_campaign', @@ -138,6 +144,9 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'NULL', + 'table_name' => 'civicrm_campaign_group', + 'entity' => 'CampaignGroup', + 'bao' => 'CRM_Campaign_DAO_CampaignGroup', 'html' => array( 'type' => 'Select', ) , @@ -153,6 +162,9 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'default' => 'NULL', + 'table_name' => 'civicrm_campaign_group', + 'entity' => 'CampaignGroup', + 'bao' => 'CRM_Campaign_DAO_CampaignGroup', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -160,6 +172,9 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'Entity id of referenced table.', 'default' => 'NULL', + 'table_name' => 'civicrm_campaign_group', + 'entity' => 'CampaignGroup', + 'bao' => 'CRM_Campaign_DAO_CampaignGroup', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Campaign/DAO/Survey.php b/CRM/Campaign/DAO/Survey.php index 63ee8f0a94..0d749495e8 100644 --- a/CRM/Campaign/DAO/Survey.php +++ b/CRM/Campaign/DAO/Survey.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Campaign/Survey.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c45e190f503b80f0ee057a9ed43a5753) + * (GenCodeChecksum:094b1dddcc57e23dbccbfc315d403acc) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -207,6 +207,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Survey ID') , 'description' => 'Survey id.', 'required' => true, + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'title' => array( 'name' => 'title', @@ -221,6 +224,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'campaign_id' => array( 'name' => 'campaign_id', @@ -228,6 +234,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Survey Campaign ID') , 'description' => 'Foreign key to the Campaign.', 'default' => 'NULL', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'pseudoconstant' => array( 'table' => 'civicrm_campaign', @@ -246,6 +255,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'html' => array( 'type' => 'Select', ) , @@ -261,6 +273,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'description' => 'Recontact intervals for each status.', 'rows' => 20, 'cols' => 80, + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'html' => array( 'type' => 'TextArea', ) , @@ -272,6 +287,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'description' => 'Script instructions for volunteers to use for the survey.', 'rows' => 20, 'cols' => 80, + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'html' => array( 'type' => 'TextArea', ) , @@ -282,6 +300,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Survey Hold Duration') , 'description' => 'Number of days for recurrence of release.', 'default' => 'NULL', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'max_number_of_contacts' => array( 'name' => 'max_number_of_contacts', @@ -289,6 +310,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Maximum number of contacts') , 'description' => 'Maximum number of contacts to allow for survey.', 'default' => 'NULL', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'default_number_of_contacts' => array( 'name' => 'default_number_of_contacts', @@ -296,6 +320,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Default number of contacts') , 'description' => 'Default number of contacts to allow for survey.', 'default' => 'NULL', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'is_active' => array( 'name' => 'is_active', @@ -303,18 +330,27 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Survey Is Active') , 'description' => 'Is this survey enabled or disabled/cancelled?', 'default' => '1', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Default Survey') , 'description' => 'Is this default survey?', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Survey Created By') , 'description' => 'FK to civicrm_contact, who created this Survey.', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -322,12 +358,18 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Campaign Created Date') , 'description' => 'Date and time that Survey was created.', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'last_modified_id' => array( 'name' => 'last_modified_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Survey Modified') , 'description' => 'FK to civicrm_contact, who recently edited this Survey.', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'last_modified_date' => array( @@ -335,6 +377,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Survey Modified On') , 'description' => 'Date and time that Survey was edited last time.', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'result_id' => array( 'name' => 'result_id', @@ -342,12 +387,18 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Survey Result') , 'description' => 'Used to store option group id.', 'default' => 'NULL', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'bypass_confirm' => array( 'name' => 'bypass_confirm', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('No Email Verification') , 'description' => 'Bypass the email verification.', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'thankyou_title' => array( 'name' => 'thankyou_title', @@ -356,6 +407,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'description' => 'Title for Thank-you page (header title tag, and display at the top of the page).', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , 'thankyou_text' => array( 'name' => 'thankyou_text', @@ -364,6 +418,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'description' => 'text and html allowed. displayed above result on success page', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', 'html' => array( 'type' => 'TextArea', ) , @@ -374,6 +431,9 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { 'title' => ts('Is shared through social media') , 'description' => 'Can people share the petition through social media?', 'default' => '1', + 'table_name' => 'civicrm_survey', + 'entity' => 'Survey', + 'bao' => 'CRM_Campaign_BAO_Survey', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Case/DAO/Case.php b/CRM/Case/DAO/Case.php index 45531570b6..f8bea69025 100644 --- a/CRM/Case/DAO/Case.php +++ b/CRM/Case/DAO/Case.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Case/Case.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:04bab9fc8d6e510321735d25c97ca261) + * (GenCodeChecksum:44b646374975b3c38e6619c07369162c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -137,6 +137,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', ) , 'case_type_id' => array( 'name' => 'case_type_id', @@ -148,6 +151,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', 'FKClassName' => 'CRM_Case_DAO_CaseType', 'html' => array( 'type' => 'Select', @@ -170,6 +176,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', 'html' => array( 'type' => 'Text', ) , @@ -184,6 +193,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', 'html' => array( 'type' => 'Select Date', ) , @@ -198,6 +210,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', 'html' => array( 'type' => 'Select Date', ) , @@ -209,6 +224,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'description' => 'Details about the meeting (agenda, notes, etc).', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', 'html' => array( 'type' => 'TextArea', ) , @@ -224,6 +242,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', 'html' => array( 'type' => 'Select', ) , @@ -241,6 +262,9 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_case', + 'entity' => 'Case', + 'bao' => 'CRM_Case_BAO_Case', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Case/DAO/CaseActivity.php b/CRM/Case/DAO/CaseActivity.php index bea358a2c6..20322edd95 100644 --- a/CRM/Case/DAO/CaseActivity.php +++ b/CRM/Case/DAO/CaseActivity.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Case/CaseActivity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c03262db2a1c211dcc17de688ec9cc69) + * (GenCodeChecksum:c769e126891a72af7142bb9a7e61a49e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO { 'title' => ts('Case Activity ID') , 'description' => 'Unique case-activity association id', 'required' => true, + 'table_name' => 'civicrm_case_activity', + 'entity' => 'CaseActivity', + 'bao' => 'CRM_Case_DAO_CaseActivity', ) , 'case_id' => array( 'name' => 'case_id', @@ -111,6 +114,9 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO { 'title' => ts('Case') , 'description' => 'Case ID of case-activity association.', 'required' => true, + 'table_name' => 'civicrm_case_activity', + 'entity' => 'CaseActivity', + 'bao' => 'CRM_Case_DAO_CaseActivity', 'FKClassName' => 'CRM_Case_DAO_Case', ) , 'activity_id' => array( @@ -119,6 +125,9 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO { 'title' => ts('Activity ID') , 'description' => 'Activity ID of case-activity association.', 'required' => true, + 'table_name' => 'civicrm_case_activity', + 'entity' => 'CaseActivity', + 'bao' => 'CRM_Case_DAO_CaseActivity', 'FKClassName' => 'CRM_Activity_DAO_Activity', ) , ); diff --git a/CRM/Case/DAO/CaseContact.php b/CRM/Case/DAO/CaseContact.php index ba5625498f..4a5dd9773a 100644 --- a/CRM/Case/DAO/CaseContact.php +++ b/CRM/Case/DAO/CaseContact.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Case/CaseContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:81a99f6c6d9abe6d08efd359c015036c) + * (GenCodeChecksum:e428f3bbe24412a65b780ae70d400ddb) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO { 'title' => ts('Case Contact ID') , 'description' => 'Unique case-contact association id', 'required' => true, + 'table_name' => 'civicrm_case_contact', + 'entity' => 'CaseContact', + 'bao' => 'CRM_Case_BAO_CaseContact', ) , 'case_id' => array( 'name' => 'case_id', @@ -111,6 +114,9 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO { 'title' => ts('Case') , 'description' => 'Case ID of case-contact association.', 'required' => true, + 'table_name' => 'civicrm_case_contact', + 'entity' => 'CaseContact', + 'bao' => 'CRM_Case_BAO_CaseContact', 'FKClassName' => 'CRM_Case_DAO_Case', ) , 'contact_id' => array( @@ -119,6 +125,9 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'Contact ID of contact record given case belongs to.', 'required' => true, + 'table_name' => 'civicrm_case_contact', + 'entity' => 'CaseContact', + 'bao' => 'CRM_Case_BAO_CaseContact', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', diff --git a/CRM/Case/DAO/CaseType.php b/CRM/Case/DAO/CaseType.php index 18268da4f2..52fa1f49c0 100644 --- a/CRM/Case/DAO/CaseType.php +++ b/CRM/Case/DAO/CaseType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Case/CaseType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b7ed773542d2b9e4016e073dac6c70b3) + * (GenCodeChecksum:cc1d89a5ea5e6f961de5684cbc6376b9) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -119,6 +119,9 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO { 'title' => ts('Case Type ID') , 'description' => 'Autoincremented type id', 'required' => true, + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'name' => array( 'name' => 'name', @@ -128,6 +131,9 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'title' => array( 'name' => 'title', @@ -137,6 +143,9 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'description' => array( 'name' => 'description', @@ -145,18 +154,27 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO { 'description' => 'Description of the Case Type', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Case Type Is Active') , 'description' => 'Is this entry active?', + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Case Type Is Reserved') , 'description' => 'Is this case type a predefined system type?', + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'weight' => array( 'name' => 'weight', @@ -165,12 +183,18 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO { 'description' => 'Ordering of the case types', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , 'definition' => array( 'name' => 'definition', 'type' => CRM_Utils_Type::T_BLOB, 'title' => ts('Case Type Definition') , 'description' => 'xml definition of case type', + 'table_name' => 'civicrm_case_type', + 'entity' => 'CaseType', + 'bao' => 'CRM_Case_BAO_CaseType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contact/DAO/ACLContactCache.php b/CRM/Contact/DAO/ACLContactCache.php index cd9a2c59b3..fa4297b893 100644 --- a/CRM/Contact/DAO/ACLContactCache.php +++ b/CRM/Contact/DAO/ACLContactCache.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/ACLContactCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1fa52b3d989e373155239835b96a8191) + * (GenCodeChecksum:7e4a14b1fc751e6afde12ef2d97c0848) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,12 +110,18 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO { 'title' => ts('ACL Contact Cache ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_acl_contact_cache', + 'entity' => 'ACLContactCache', + 'bao' => 'CRM_Contact_DAO_ACLContactCache', ) , 'user_id' => array( 'name' => 'user_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact ID') , 'description' => 'FK to civicrm_contact (could be null for anon user)', + 'table_name' => 'civicrm_acl_contact_cache', + 'entity' => 'ACLContactCache', + 'bao' => 'CRM_Contact_DAO_ACLContactCache', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'contact_id' => array( @@ -124,6 +130,9 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'FK to civicrm_contact', 'required' => true, + 'table_name' => 'civicrm_acl_contact_cache', + 'entity' => 'ACLContactCache', + 'bao' => 'CRM_Contact_DAO_ACLContactCache', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'operation' => array( @@ -134,6 +143,9 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO { 'required' => true, 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_acl_contact_cache', + 'entity' => 'ACLContactCache', + 'bao' => 'CRM_Contact_DAO_ACLContactCache', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Contact/DAO/Contact.php b/CRM/Contact/DAO/Contact.php index 0cf637190e..dd66d1e924 100644 --- a/CRM/Contact/DAO/Contact.php +++ b/CRM/Contact/DAO/Contact.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/Contact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:27260577cac7dfa803107cb6f506b834) + * (GenCodeChecksum:0c8e687501dbd8f44354ee5f5cdf9b52) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -396,6 +396,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/internal|contact?|id$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , 'contact_type' => array( 'name' => 'contact_type', @@ -408,6 +411,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.contact_type', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -430,6 +436,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/C(ontact )?(subtype|sub-type|sub type)/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -449,6 +458,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/d(o )?(not )?(email)/i', 'dataPattern' => '/^\d{1,}$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -462,6 +474,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/d(o )?(not )?(call|phone)/i', 'dataPattern' => '/^\d{1,}$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -475,6 +490,9 @@ 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, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -488,6 +506,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/d(o )?(not )?(sms)/i', 'dataPattern' => '/^\d{1,}$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -501,6 +522,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/d(o )?(not )?(trade)/i', 'dataPattern' => '/^\d{1,}$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -516,6 +540,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -533,6 +560,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/legal\s?id/i', 'dataPattern' => '/\w+?\d{5,}/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -549,6 +579,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/external\s?id/i', 'dataPattern' => '/^\d{11,}$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -564,6 +597,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.sort_name', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -579,6 +615,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.display_name', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -595,6 +634,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/n(ick\s)name|nick$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -611,6 +653,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^legal|(l(egal\s)?name)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -625,6 +670,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'File', ) , @@ -641,6 +689,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^p(ref\w*\s)?c(omm\w*)|( meth\w*)$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -661,6 +712,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^lang/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -683,6 +737,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'Both', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -701,6 +758,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.hash', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , 'api_key' => array( 'name' => 'api_key', @@ -709,6 +769,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'description' => 'API Key for validating requests related to this contact.', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , 'contact_source' => array( 'name' => 'source', @@ -722,6 +785,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/(C(ontact\s)?Source)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -738,6 +804,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^first|(f(irst\s)?name)$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -754,6 +823,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^middle|(m(iddle\s)?name)$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -770,6 +842,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^last|(l(ast\s)?name)$/i', 'dataPattern' => '/^\w+(\s\w+)?+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -784,6 +859,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^(prefix|title)/i', 'dataPattern' => '/^(mr|ms|mrs|sir|dr)\.?$/i', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -802,6 +880,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^suffix$/i', 'dataPattern' => '/^(sr|jr)\.?|i{2,}$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -822,6 +903,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^title/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -835,6 +919,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.communication_style_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -848,6 +935,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Email Greeting ID') , 'description' => 'FK to civicrm_option_value.id, that has to be valid registered Email Greeting.', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , 'email_greeting_custom' => array( 'name' => 'email_greeting_custom', @@ -861,6 +951,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -872,6 +965,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'description' => 'Cache Email Greeting.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -881,6 +977,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Postal Greeting ID') , 'description' => 'FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -897,6 +996,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -908,6 +1010,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'description' => 'Cache Postal greeting.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -917,6 +1022,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Addressee ID') , 'description' => 'FK to civicrm_option_value.id, that has to be valid registered Addressee.', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , 'addressee_custom' => array( 'name' => 'addressee_custom', @@ -930,6 +1038,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -941,6 +1052,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'description' => 'Cache Addressee.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -957,6 +1071,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^job|(j(ob\s)?title)$/i', 'dataPattern' => '//', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -971,6 +1088,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^gender$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select', ) , @@ -989,8 +1109,12 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i', 'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select Date', + 'format' => 'birth', ) , ) , 'is_deceased' => array( @@ -1002,6 +1126,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/i(s\s)?d(eceased)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -1016,8 +1143,12 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^deceased|(d(eceased\s)?date)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Select Date', + 'format' => 'birth', ) , ) , 'household_name' => array( @@ -1032,6 +1163,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^household|(h(ousehold\s)?name)$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -1041,6 +1175,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Household Primary Contact ID') , 'description' => 'Optional FK to Primary Contact for this household.', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'Select', @@ -1058,6 +1195,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^organization|(o(rganization\s)?name)$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -1074,6 +1214,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '/^sic|(s(ic\s)?code)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -1091,6 +1234,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'dataPattern' => '/^[\w\/\:\.]+$/', 'export' => true, 'rule' => 'url', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'Text', ) , @@ -1104,6 +1250,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.employer_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -1118,6 +1267,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'where' => 'civicrm_contact.is_deleted', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', 'html' => array( 'type' => 'CheckBox', ) , @@ -1133,6 +1285,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'default' => 'NULL', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , 'modified_date' => array( 'name' => 'modified_date', @@ -1145,6 +1300,9 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', + 'table_name' => 'civicrm_contact', + 'entity' => 'Contact', + 'bao' => 'CRM_Contact_BAO_Contact', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contact/DAO/ContactType.php b/CRM/Contact/DAO/ContactType.php index c2b0d9641e..642094554a 100644 --- a/CRM/Contact/DAO/ContactType.php +++ b/CRM/Contact/DAO/ContactType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/ContactType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5cd581b1cd8b3dc4f942b1612a1daff0) + * (GenCodeChecksum:ab18da73e77c120a3b3797acdd86a312) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -133,6 +133,9 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'title' => ts('Contact Type ID') , 'description' => 'Contact Type ID', 'required' => true, + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', ) , 'name' => array( 'name' => 'name', @@ -141,6 +144,9 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'description' => 'Internal name of Contact Type (or Subtype).', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', ) , 'label' => array( 'name' => 'label', @@ -149,6 +155,9 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'description' => 'localized Name of Contact Type.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', ) , 'description' => array( 'name' => 'description', @@ -157,6 +166,9 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'description' => 'localized Optional verbose description of the type.', 'rows' => 2, 'cols' => 60, + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', 'html' => array( 'type' => 'TextArea', ) , @@ -168,12 +180,18 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'description' => 'URL of image if any.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', ) , 'parent_id' => array( 'name' => 'parent_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact Type Parent') , 'description' => 'Optional FK to parent contact type.', + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', 'FKClassName' => 'CRM_Contact_DAO_ContactType', 'pseudoconstant' => array( 'table' => 'civicrm_contact_type', @@ -187,12 +205,18 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Contact Type Is Active?') , 'description' => 'Is this entry active?', + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Contact Type is Reserved?') , 'description' => 'Is this contact type a predefined system type', + 'table_name' => 'civicrm_contact_type', + 'entity' => 'ContactType', + 'bao' => 'CRM_Contact_BAO_ContactType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contact/DAO/DashboardContact.php b/CRM/Contact/DAO/DashboardContact.php index ecae0eaf87..14c00f5aba 100644 --- a/CRM/Contact/DAO/DashboardContact.php +++ b/CRM/Contact/DAO/DashboardContact.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/DashboardContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:21ce0d18eb988e90850ba4f5e56c161f) + * (GenCodeChecksum:5b6c6d2ccc579b98b3300c77898e596e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -120,6 +120,9 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Dashboard Contact ID') , 'required' => true, + 'table_name' => 'civicrm_dashboard_contact', + 'entity' => 'DashboardContact', + 'bao' => 'CRM_Contact_BAO_DashboardContact', ) , 'dashboard_id' => array( 'name' => 'dashboard_id', @@ -127,6 +130,9 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO { 'title' => ts('Dashboard') , 'description' => 'Dashboard ID', 'required' => true, + 'table_name' => 'civicrm_dashboard_contact', + 'entity' => 'DashboardContact', + 'bao' => 'CRM_Contact_BAO_DashboardContact', 'FKClassName' => 'CRM_Core_DAO_Dashboard', ) , 'contact_id' => array( @@ -135,6 +141,9 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO { 'title' => ts('Dashboard Contact') , 'description' => 'Contact ID', 'required' => true, + 'table_name' => 'civicrm_dashboard_contact', + 'entity' => 'DashboardContact', + 'bao' => 'CRM_Contact_BAO_DashboardContact', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'column_no' => array( @@ -142,18 +151,27 @@ 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', + 'table_name' => 'civicrm_dashboard_contact', + 'entity' => 'DashboardContact', + 'bao' => 'CRM_Contact_BAO_DashboardContact', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Dashlet is Active?') , 'description' => 'Is this widget active?', + 'table_name' => 'civicrm_dashboard_contact', + 'entity' => 'DashboardContact', + 'bao' => 'CRM_Contact_BAO_DashboardContact', ) , 'weight' => array( 'name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , 'description' => 'Ordering of the widgets.', + 'table_name' => 'civicrm_dashboard_contact', + 'entity' => 'DashboardContact', + 'bao' => 'CRM_Contact_BAO_DashboardContact', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contact/DAO/Group.php b/CRM/Contact/DAO/Group.php index 06bb8dc1e1..e6c12fe60b 100644 --- a/CRM/Contact/DAO/Group.php +++ b/CRM/Contact/DAO/Group.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/Group.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:dfc60eae37cca2aa63dc674d2613264c) + * (GenCodeChecksum:f0c0283dd397c06e320397ca98628184) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -206,6 +206,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'title' => ts('Group ID') , 'description' => 'Group ID', 'required' => true, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'name' => array( 'name' => 'name', @@ -214,6 +217,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'description' => 'Internal name of Group.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'title' => array( 'name' => 'title', @@ -222,6 +228,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'description' => 'Name of Group.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'description' => array( 'name' => 'description', @@ -230,6 +239,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'description' => 'Optional verbose description of the group.', 'rows' => 2, 'cols' => 60, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', 'html' => array( 'type' => 'TextArea', ) , @@ -241,12 +253,18 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'description' => 'Module or process which created this group.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'saved_search_id' => array( 'name' => 'saved_search_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Saved Search ID') , 'description' => 'FK to saved search table.', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', 'FKClassName' => 'CRM_Contact_DAO_SavedSearch', ) , 'is_active' => array( @@ -254,6 +272,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Group Enabled') , 'description' => 'Is this entry active?', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'visibility' => array( 'name' => 'visibility', @@ -263,6 +284,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'maxlength' => 24, 'size' => CRM_Utils_Type::MEDIUM, 'default' => 'User and User Admin Only', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', 'html' => array( 'type' => 'Select', ) , @@ -275,18 +299,27 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Group Where Clause') , 'description' => 'the sql where clause if a saved search acl', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'select_tables' => array( 'name' => 'select_tables', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Tables For Select Clause') , 'description' => 'the tables to be included in a select data', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'where_tables' => array( 'name' => 'where_tables', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Tables For Where Clause') , 'description' => 'the tables to be included in the count statement', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'group_type' => array( 'name' => 'group_type', @@ -295,6 +328,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'description' => 'FK to group type', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', 'pseudoconstant' => array( 'optionGroupName' => 'group_type', 'optionEditPath' => 'civicrm/admin/options/group_type', @@ -306,6 +342,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'title' => ts('Group Cache Date') , 'description' => 'Date when we created the cache for a smart group', 'required' => false, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'refresh_date' => array( 'name' => 'refresh_date', @@ -313,35 +352,53 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'title' => ts('Next Group Refresh Time') , 'description' => 'Date and time when we need to refresh the cache next.', 'required' => false, + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'parents' => array( 'name' => 'parents', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Group Parents') , 'description' => 'IDs of the parent(s)', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'children' => array( 'name' => 'children', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Group Children') , 'description' => 'IDs of the child(ren)', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'is_hidden' => array( 'name' => 'is_hidden', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Group is Hidden') , 'description' => 'Is this group hidden?', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Group is Reserved') , + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Group Created By') , 'description' => 'FK to contact table.', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'modified_id' => array( @@ -349,6 +406,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Group Modified By') , 'description' => 'FK to contact table.', + 'table_name' => 'civicrm_group', + 'entity' => 'Group', + 'bao' => 'CRM_Contact_BAO_Group', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Contact/DAO/GroupContact.php b/CRM/Contact/DAO/GroupContact.php index e823fb87b6..dd7e5cd7f0 100644 --- a/CRM/Contact/DAO/GroupContact.php +++ b/CRM/Contact/DAO/GroupContact.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/GroupContact.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:679a5d513b09d5a9a945b81aa00bd4d8) + * (GenCodeChecksum:35fdfbf11a347cce6ecc36f73561a859) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -124,6 +124,9 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { 'title' => ts('Group Contact ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_group_contact', + 'entity' => 'GroupContact', + 'bao' => 'CRM_Contact_BAO_GroupContact', ) , 'group_id' => array( 'name' => 'group_id', @@ -131,6 +134,9 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { 'title' => ts('Group ID') , 'description' => 'FK to civicrm_group', 'required' => true, + 'table_name' => 'civicrm_group_contact', + 'entity' => 'GroupContact', + 'bao' => 'CRM_Contact_BAO_GroupContact', 'FKClassName' => 'CRM_Contact_DAO_Group', 'html' => array( 'type' => 'Select', @@ -147,6 +153,9 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'FK to civicrm_contact', 'required' => true, + 'table_name' => 'civicrm_group_contact', + 'entity' => 'GroupContact', + 'bao' => 'CRM_Contact_BAO_GroupContact', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'status' => array( @@ -156,6 +165,9 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { 'description' => 'status of contact relative to membership in group', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_group_contact', + 'entity' => 'GroupContact', + 'bao' => 'CRM_Contact_BAO_GroupContact', 'html' => array( 'type' => 'Select', ) , @@ -168,6 +180,9 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Group Contact Location') , 'description' => 'Optional location to associate with this membership', + 'table_name' => 'civicrm_group_contact', + 'entity' => 'GroupContact', + 'bao' => 'CRM_Contact_BAO_GroupContact', 'FKClassName' => 'CRM_Core_DAO_LocBlock', ) , 'email_id' => array( @@ -175,6 +190,9 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Group Contact Email') , 'description' => 'Optional email to associate with this membership', + 'table_name' => 'civicrm_group_contact', + 'entity' => 'GroupContact', + 'bao' => 'CRM_Contact_BAO_GroupContact', 'FKClassName' => 'CRM_Core_DAO_Email', ) , ); diff --git a/CRM/Contact/DAO/GroupContactCache.php b/CRM/Contact/DAO/GroupContactCache.php index a0f2b4d1a6..27f82be87b 100644 --- a/CRM/Contact/DAO/GroupContactCache.php +++ b/CRM/Contact/DAO/GroupContactCache.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/GroupContactCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:023a51d74e195284645b47368b5d0ba5) + * (GenCodeChecksum:31cd73a50f43edb3cb192e7f3fb47d25) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO { 'title' => ts('Group Contact Cache ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_group_contact_cache', + 'entity' => 'GroupContactCache', + 'bao' => 'CRM_Contact_BAO_GroupContactCache', ) , 'group_id' => array( 'name' => 'group_id', @@ -111,6 +114,9 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO { 'title' => ts('Group') , 'description' => 'FK to civicrm_group', 'required' => true, + 'table_name' => 'civicrm_group_contact_cache', + 'entity' => 'GroupContactCache', + 'bao' => 'CRM_Contact_BAO_GroupContactCache', 'FKClassName' => 'CRM_Contact_DAO_Group', 'html' => array( 'type' => 'Select', @@ -127,6 +133,9 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'FK to civicrm_contact', 'required' => true, + 'table_name' => 'civicrm_group_contact_cache', + 'entity' => 'GroupContactCache', + 'bao' => 'CRM_Contact_BAO_GroupContactCache', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Contact/DAO/GroupNesting.php b/CRM/Contact/DAO/GroupNesting.php index 211ef9804a..71acd19462 100644 --- a/CRM/Contact/DAO/GroupNesting.php +++ b/CRM/Contact/DAO/GroupNesting.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/GroupNesting.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:27daca1d6d4359440b4b23c02d8f6d9d) + * (GenCodeChecksum:4524a06b9ef249c447ab998d441d7413) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO { 'title' => ts('Group Nesting ID') , 'description' => 'Relationship ID', 'required' => true, + 'table_name' => 'civicrm_group_nesting', + 'entity' => 'GroupNesting', + 'bao' => 'CRM_Contact_BAO_GroupNesting', ) , 'child_group_id' => array( 'name' => 'child_group_id', @@ -111,6 +114,9 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO { 'title' => ts('Child Group') , 'description' => 'ID of the child group', 'required' => true, + 'table_name' => 'civicrm_group_nesting', + 'entity' => 'GroupNesting', + 'bao' => 'CRM_Contact_BAO_GroupNesting', 'FKClassName' => 'CRM_Contact_DAO_Group', ) , 'parent_group_id' => array( @@ -119,6 +125,9 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO { 'title' => ts('Parent Group') , 'description' => 'ID of the parent group', 'required' => true, + 'table_name' => 'civicrm_group_nesting', + 'entity' => 'GroupNesting', + 'bao' => 'CRM_Contact_BAO_GroupNesting', 'FKClassName' => 'CRM_Contact_DAO_Group', ) , ); diff --git a/CRM/Contact/DAO/GroupOrganization.php b/CRM/Contact/DAO/GroupOrganization.php index d09c5a9808..8832803dcf 100644 --- a/CRM/Contact/DAO/GroupOrganization.php +++ b/CRM/Contact/DAO/GroupOrganization.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/GroupOrganization.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:df04af8d9ec7a806781ad82b08145a47) + * (GenCodeChecksum:1a4ff148dcbf5716ea44817892483d27) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO { 'title' => ts('Group Organization ID') , 'description' => 'Relationship ID', 'required' => true, + 'table_name' => 'civicrm_group_organization', + 'entity' => 'GroupOrganization', + 'bao' => 'CRM_Contact_BAO_GroupOrganization', ) , 'group_id' => array( 'name' => 'group_id', @@ -111,6 +114,9 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO { 'title' => ts('Group') , 'description' => 'ID of the group', 'required' => true, + 'table_name' => 'civicrm_group_organization', + 'entity' => 'GroupOrganization', + 'bao' => 'CRM_Contact_BAO_GroupOrganization', 'FKClassName' => 'CRM_Contact_DAO_Group', 'html' => array( 'type' => 'Select', @@ -127,6 +133,9 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO { 'title' => ts('Organization') , 'description' => 'ID of the Organization Contact', 'required' => true, + 'table_name' => 'civicrm_group_organization', + 'entity' => 'GroupOrganization', + 'bao' => 'CRM_Contact_BAO_GroupOrganization', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Contact/DAO/Relationship.php b/CRM/Contact/DAO/Relationship.php index e5e1170fde..9bf186c67a 100644 --- a/CRM/Contact/DAO/Relationship.php +++ b/CRM/Contact/DAO/Relationship.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/Relationship.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:935010ec18927fdebfa19965f5f73b48) + * (GenCodeChecksum:7435ce706f5392235ecda689d0f55bba) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -156,6 +156,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'title' => ts('Relationship ID') , 'description' => 'Relationship ID', 'required' => true, + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', ) , 'contact_id_a' => array( 'name' => 'contact_id_a', @@ -163,6 +166,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'title' => ts('Contact A') , 'description' => 'id of the first contact', 'required' => true, + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'contact_id_b' => array( @@ -171,6 +177,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'title' => ts('Contact B') , 'description' => 'id of the second contact', 'required' => true, + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -182,6 +191,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'title' => ts('Relationship Type') , 'description' => 'id of the relationship', 'required' => true, + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'FKClassName' => 'CRM_Contact_DAO_RelationshipType', 'html' => array( 'type' => 'Select', @@ -192,6 +204,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Relationship Start Date') , 'description' => 'date when the relationship started', + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'html' => array( 'type' => 'Select Date', ) , @@ -201,6 +216,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Relationship End Date') , 'description' => 'date when the relationship ended', + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'html' => array( 'type' => 'Select Date', ) , @@ -211,6 +229,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'title' => ts('Relationship Is Active') , 'description' => 'is the relationship active ?', 'default' => '1', + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'html' => array( 'type' => 'CheckBox', ) , @@ -222,6 +243,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'description' => 'Optional verbose description for the relationship.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'html' => array( 'type' => 'Text', ) , @@ -233,6 +257,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'description' => 'is contact a has permission to view / edit contact and related data for contact b ? ', + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'html' => array( 'type' => 'CheckBox', ) , @@ -244,6 +271,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'description' => 'is contact b has permission to view / edit contact and related data for contact a ? ', + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'html' => array( 'type' => 'CheckBox', ) , @@ -254,6 +284,9 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'title' => ts('Relationship Case') , 'description' => 'FK to civicrm_case', 'default' => 'NULL', + 'table_name' => 'civicrm_relationship', + 'entity' => 'Relationship', + 'bao' => 'CRM_Contact_BAO_Relationship', 'FKClassName' => 'CRM_Case_DAO_Case', ) , ); diff --git a/CRM/Contact/DAO/RelationshipType.php b/CRM/Contact/DAO/RelationshipType.php index 40abc3c06d..fe50113ac5 100644 --- a/CRM/Contact/DAO/RelationshipType.php +++ b/CRM/Contact/DAO/RelationshipType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/RelationshipType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:43f57afa1c349eaa69cb12143276f444) + * (GenCodeChecksum:fd2114d6f9d64c68e710c21230e73c5f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -143,6 +143,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'title' => ts('Relationship Type ID') , 'description' => 'Primary key', 'required' => true, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'name_a_b' => array( 'name' => 'name_a_b', @@ -151,6 +154,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'name for relationship of contact_a to contact_b.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'label_a_b' => array( 'name' => 'label_a_b', @@ -159,6 +165,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'label for relationship of contact_a to contact_b.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'name_b_a' => array( 'name' => 'name_b_a', @@ -167,6 +176,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'Optional name for relationship of contact_b to contact_a.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'label_b_a' => array( 'name' => 'label_b_a', @@ -175,6 +187,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'Optional label for relationship of contact_b to contact_a.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'description' => array( 'name' => 'description', @@ -183,6 +198,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'Optional verbose description of the relationship type.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'contact_type_a' => array( 'name' => 'contact_type_a', @@ -191,6 +209,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'If defined, contact_a in a relationship of this type must be a specific contact_type.', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', 'html' => array( 'type' => 'Select', ) , @@ -208,6 +229,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'If defined, contact_b in a relationship of this type must be a specific contact_type.', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', 'html' => array( 'type' => 'Select', ) , @@ -226,6 +250,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { ', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', 'html' => array( 'type' => 'Select', ) , @@ -244,6 +271,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { ', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', 'html' => array( 'type' => 'Select', ) , @@ -259,6 +289,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Relationship Type is Reserved') , 'description' => 'Is this relationship type a predefined system type (can not be changed or de-activated)?', + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , 'is_active' => array( 'name' => 'is_active', @@ -267,6 +300,9 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { 'description' => 'Is this relationship type currently active (i.e. can be used when creating or editing relationships)? ', 'default' => '1', + 'table_name' => 'civicrm_relationship_type', + 'entity' => 'RelationshipType', + 'bao' => 'CRM_Contact_BAO_RelationshipType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contact/DAO/SavedSearch.php b/CRM/Contact/DAO/SavedSearch.php index 55041cea3b..98bdf05f19 100644 --- a/CRM/Contact/DAO/SavedSearch.php +++ b/CRM/Contact/DAO/SavedSearch.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/SavedSearch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1972403bedc8ca79674ce1b7f6f3760c) + * (GenCodeChecksum:80289cbf6e37633b88e216f1c456ed45) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -127,6 +127,9 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { 'title' => ts('Saved Search ID') , 'description' => 'Saved Search ID', 'required' => true, + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', ) , 'form_values' => array( 'name' => 'form_values', @@ -138,12 +141,18 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', ) , 'mapping_id' => array( 'name' => 'mapping_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mapping ID') , 'description' => 'Foreign key to civicrm_mapping used for saved search-builder searches.', + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', 'FKClassName' => 'CRM_Core_DAO_Mapping', ) , 'search_custom_id' => array( @@ -151,24 +160,36 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Option Value ID') , 'description' => 'Foreign key to civicrm_option value table used for saved custom searches.', + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', ) , 'where_clause' => array( 'name' => 'where_clause', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Where Clause') , 'description' => 'the sql where clause if a saved search acl', + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', ) , 'select_tables' => array( 'name' => 'select_tables', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Select Tables') , 'description' => 'the tables to be included in a select data', + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', ) , 'where_tables' => array( 'name' => 'where_tables', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Where Tables') , 'description' => 'the tables to be included in the count statement', + 'table_name' => 'civicrm_saved_search', + 'entity' => 'SavedSearch', + 'bao' => 'CRM_Contact_BAO_SavedSearch', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contact/DAO/SubscriptionHistory.php b/CRM/Contact/DAO/SubscriptionHistory.php index 4a7af6c5cb..d41f339056 100644 --- a/CRM/Contact/DAO/SubscriptionHistory.php +++ b/CRM/Contact/DAO/SubscriptionHistory.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1aa5b138c1294eb320ce13ff98c124ef) + * (GenCodeChecksum:ec4a81f7d1a8999051ec7292f499b4c1) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -128,6 +128,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'title' => ts('Group Membership History ID') , 'description' => 'Internal Id', 'required' => true, + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', ) , 'contact_id' => array( 'name' => 'contact_id', @@ -135,6 +138,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'Contact Id', 'required' => true, + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'group_id' => array( @@ -142,6 +148,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Group') , 'description' => 'Group Id', + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', 'FKClassName' => 'CRM_Contact_DAO_Group', 'html' => array( 'type' => 'Select', @@ -158,6 +167,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'title' => ts('Group Membership Action Date') , 'description' => 'Date of the (un)subscription', 'required' => true, + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', ) , 'method' => array( 'name' => 'method', @@ -166,6 +178,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'description' => 'How the (un)subscription was triggered', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', 'html' => array( 'type' => 'Select', ) , @@ -180,6 +195,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'description' => 'The state of the contact within the group', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', 'pseudoconstant' => array( 'callback' => 'CRM_Core_SelectValues::groupContactStatus', ) @@ -191,6 +209,9 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'description' => 'IP address or other tracking info', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_subscription_history', + 'entity' => 'SubscriptionHistory', + 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contribute/DAO/Contribution.php b/CRM/Contribute/DAO/Contribution.php index f7d1bb93f7..f35c3c7707 100644 --- a/CRM/Contribute/DAO/Contribution.php +++ b/CRM/Contribute/DAO/Contribution.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/Contribution.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f4c8d34b6650ac5eafbfbd3d6b8a51ca) + * (GenCodeChecksum:f066fa296dca6ef9876c7372a61c1a4a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -263,6 +263,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', ) , 'contribution_contact_id' => array( 'name' => 'contact_id', @@ -275,6 +278,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/contact(.?id)?/i', 'dataPattern' => '/^\d+$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -289,6 +295,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'where' => 'civicrm_contribution.financial_type_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array( 'type' => 'Select', @@ -309,6 +318,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'FKClassName' => 'CRM_Contribute_DAO_ContributionPage', 'html' => array( 'type' => 'Select', @@ -324,6 +336,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Method') , 'description' => 'FK to Payment Instrument', + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select', ) , @@ -342,8 +357,12 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/receive(.?date)?/i', 'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDateTime', ) , ) , 'non_deductible_amount' => array( @@ -360,6 +379,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/non?.?deduct/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -379,6 +401,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/^total|(.?^am(ou)?nt)/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -397,6 +422,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/fee(.?am(ou)?nt)?/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -415,6 +443,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/net(.?am(ou)?nt)?/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -431,6 +462,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/tr(ansactio|x)n(.?id)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -447,6 +481,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/invoice(.?id)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -464,6 +501,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'dataPattern' => '/^[A-Z]{3}$/i', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select', ) , @@ -484,8 +524,12 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/cancel(.?date)?/i', 'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDateTime', ) , ) , 'cancel_reason' => array( @@ -497,6 +541,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/(cancel.?)?reason/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -511,8 +558,12 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/receipt(.?date)?/i', 'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDateTime', ) , ) , 'thankyou_date' => array( @@ -525,8 +576,12 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/thank(s|(.?you))?(.?date)?/i', 'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDateTime', ) , ) , 'contribution_source' => array( @@ -541,6 +596,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/source/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -554,6 +612,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -563,6 +624,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Recurring Contribution ID') , 'description' => 'Conditional foreign key to civicrm_contribution_recur id. Each contribution made in connection with a recurring contribution carries a foreign key to the recurring contribution record. This assumes we can track these processor initiated events.', + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur', ) , 'is_test' => array( @@ -574,6 +638,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'CheckBox', ) , @@ -587,6 +654,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'CheckBox', ) , @@ -601,6 +671,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select', ) , @@ -614,6 +687,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Address') , 'description' => 'Conditional foreign key to civicrm_address.id. We insert an address record for each contribution when we have associated billing name and address data.', + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'FKClassName' => 'CRM_Core_DAO_Address', ) , 'check_number' => array( @@ -627,6 +703,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/check(.?number)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -641,6 +720,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'Select', @@ -663,6 +745,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/creditnote(.?id)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -681,6 +766,9 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/tax(.?am(ou)?nt)?/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Text', ) , @@ -695,8 +783,12 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'headerPattern' => '/revenue(.?date)?/i', 'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/', 'export' => true, + 'table_name' => 'civicrm_contribution', + 'entity' => 'Contribution', + 'bao' => 'CRM_Contribute_BAO_Contribution', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDateTime', ) , ) , ); diff --git a/CRM/Contribute/DAO/ContributionPage.php b/CRM/Contribute/DAO/ContributionPage.php index d043d8ca5f..9e0574a496 100644 --- a/CRM/Contribute/DAO/ContributionPage.php +++ b/CRM/Contribute/DAO/ContributionPage.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionPage.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4948188e5ba353c75f5c3fe00e67a5ea) + * (GenCodeChecksum:6b57cbb621c3ab76d60705c4aad97eb3) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -357,6 +357,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'title' => ts('Contribution Page ID') , 'description' => 'Contribution Id', 'required' => true, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'title' => array( 'name' => 'title', @@ -365,6 +368,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Contribution Page title. For top of page display', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'intro_text' => array( 'name' => 'intro_text', @@ -373,6 +379,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Text and html allowed. Displayed below title.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -382,6 +391,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Type') , 'description' => 'default financial type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array( 'type' => 'Select', @@ -399,6 +411,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Payment Processors configured for this contribution Page', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'Select', ) , @@ -413,6 +428,9 @@ 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', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_monetary' => array( 'name' => 'is_monetary', @@ -420,12 +438,18 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'title' => ts('Is Monetary') , 'description' => 'if true - allows real-time monetary transactions otherwise non-monetary transactions', 'default' => '1', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_recur' => array( 'name' => 'is_recur', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Recurring') , 'description' => 'if true - allows recurring contributions, valid only for PayPal_Standard', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_confirm_enabled' => array( 'name' => 'is_confirm_enabled', @@ -433,6 +457,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'title' => ts('Confirmation Page?') , 'description' => 'if false, the confirm page in contribution pages gets skipped', 'default' => '1', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'recur_frequency_unit' => array( 'name' => 'recur_frequency_unit', @@ -441,48 +468,72 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Supported recurring frequency units.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_recur_interval' => array( 'name' => 'is_recur_interval', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Support Recurring Intervals') , 'description' => 'if true - supports recurring intervals', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_recur_installments' => array( 'name' => 'is_recur_installments', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Recurring Installments?') , 'description' => 'if true - asks user for recurring installments', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'adjust_recur_start_date' => array( 'name' => 'adjust_recur_start_date', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Adjust Recurring Start Date') , 'description' => 'if true - user is able to adjust payment start date', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_pay_later' => array( 'name' => 'is_pay_later', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Pay Later') , 'description' => 'if true - allows the user to send payment directly to the org later', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'pay_later_text' => array( 'name' => 'pay_later_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Pay Later Text') , 'description' => 'The text displayed to the user in the main form', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'pay_later_receipt' => array( 'name' => 'pay_later_receipt', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Pay Later Receipt') , 'description' => 'The receipt sent to the user instead of the normal receipt text', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_partial_payment' => array( 'name' => 'is_partial_payment', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allow Partial Payment') , 'description' => 'is partial payment enabled for this online contribution page', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'initial_amount_label' => array( 'name' => 'initial_amount_label', @@ -491,12 +542,18 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Initial amount label for partial payment', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'initial_amount_help_text' => array( 'name' => 'initial_amount_help_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Initial Amount Help Text') , 'description' => 'Initial amount help text for partial payment', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'min_initial_amount' => array( 'name' => 'min_initial_amount', @@ -507,18 +564,27 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_allow_other_amount' => array( 'name' => 'is_allow_other_amount', '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', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'default_amount_id' => array( 'name' => 'default_amount_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Default Amount') , 'description' => 'FK to civicrm_option_value.', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'min_amount' => array( 'name' => 'min_amount', @@ -529,6 +595,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'max_amount' => array( 'name' => 'max_amount', @@ -539,6 +608,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'goal_amount' => array( 'name' => 'goal_amount', @@ -549,6 +621,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'thankyou_title' => array( 'name' => 'thankyou_title', @@ -557,6 +632,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Title for Thank-you page (header title tag, and display at the top of the page).', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'thankyou_text' => array( 'name' => 'thankyou_text', @@ -565,6 +643,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'text and html allowed. displayed above result on success page', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -576,6 +657,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Text and html allowed. displayed at the bottom of the success page. Common usage is to include link(s) to other pages such as tell-a-friend, etc.', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -585,6 +669,9 @@ 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', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'receipt_from_name' => array( 'name' => 'receipt_from_name', @@ -593,6 +680,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'FROM email name used for receipts generated by contributions to this contribution page.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'receipt_from_email' => array( 'name' => 'receipt_from_email', @@ -601,6 +691,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'FROM email address used for receipts generated by contributions to this contribution page.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'cc_receipt' => array( 'name' => 'cc_receipt', @@ -609,6 +702,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'comma-separated list of email addresses to cc each time a receipt is sent', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'bcc_receipt' => array( 'name' => 'bcc_receipt', @@ -617,6 +713,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'comma-separated list of email addresses to bcc each time a receipt is sent', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'receipt_text' => array( 'name' => 'receipt_text', @@ -625,6 +724,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'text to include above standard receipt info on receipt email. emails are text-only, so do not allow html for now', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'TextArea', ) , @@ -634,6 +736,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Page Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'footer_text' => array( 'name' => 'footer_text', @@ -642,6 +747,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'description' => 'Text and html allowed. Displayed at the bottom of the first page of the contribution wizard.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -652,24 +760,36 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'title' => ts('Is Amount Block Active?') , 'description' => 'Is this property active?', 'default' => '1', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'start_date' => array( 'name' => 'start_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Contribution Page Start Date') , 'description' => 'Date and time that this page starts.', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'end_date' => array( 'name' => 'end_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Contribution Page End Date') , 'description' => 'Date and time that this page ends. May be NULL if no defined end date/time', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Page Created By') , 'description' => 'FK to civicrm_contact, who created this contribution page', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -677,6 +797,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Contribution Page Created Date') , 'description' => 'Date and time that contribution page was created.', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'currency' => array( 'name' => 'currency', @@ -686,6 +809,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'html' => array( 'type' => 'Select', ) , @@ -701,6 +827,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Page Campaign ID') , 'description' => 'The campaign for which we are collecting contributions with this page.', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'pseudoconstant' => array( 'table' => 'civicrm_campaign', @@ -714,12 +843,18 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'title' => ts('Is Contribution Page Shared?') , 'description' => 'Can people share the contribution page through social media?', 'default' => '1', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , 'is_billing_required' => array( 'name' => 'is_billing_required', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is billing block required') , 'description' => 'if true - billing block is required for online contribution page', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contribute/DAO/ContributionProduct.php b/CRM/Contribute/DAO/ContributionProduct.php index 48679f2d8e..b278f6cfae 100644 --- a/CRM/Contribute/DAO/ContributionProduct.php +++ b/CRM/Contribute/DAO/ContributionProduct.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c40733f5ba2ac9d433e25758534a7f2e) + * (GenCodeChecksum:79de7abf1bfa670fa9cf3d43e6818bc9) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -140,18 +140,27 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Product ID') , 'required' => true, + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'product_id' => array( 'name' => 'product_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Product ID') , 'required' => true, + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'contribution_id' => array( 'name' => 'contribution_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution ID') , 'required' => true, + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', 'FKClassName' => 'CRM_Contribute_DAO_Contribution', ) , 'product_option' => array( @@ -165,6 +174,9 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'where' => 'civicrm_contribution_product.product_option', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'quantity' => array( 'name' => 'quantity', @@ -174,6 +186,9 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'where' => 'civicrm_contribution_product.quantity', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'fulfilled_date' => array( 'name' => 'fulfilled_date', @@ -184,6 +199,9 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'where' => 'civicrm_contribution_product.fulfilled_date', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'contribution_start_date' => array( 'name' => 'start_date', @@ -194,6 +212,9 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'where' => 'civicrm_contribution_product.start_date', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'contribution_end_date' => array( 'name' => 'end_date', @@ -204,11 +225,17 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'where' => 'civicrm_contribution_product.end_date', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'comment' => array( 'name' => 'comment', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Premium comment') , + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', ) , 'financial_type_id' => array( 'name' => 'financial_type_id', @@ -216,6 +243,9 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type(for membership price sets only).', 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_product', + 'entity' => 'ContributionProduct', + 'bao' => 'CRM_Contribute_DAO_ContributionProduct', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array( 'table' => 'civicrm_financial_type', diff --git a/CRM/Contribute/DAO/ContributionRecur.php b/CRM/Contribute/DAO/ContributionRecur.php index ee86743e44..3f70686b8e 100644 --- a/CRM/Contribute/DAO/ContributionRecur.php +++ b/CRM/Contribute/DAO/ContributionRecur.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0d69452bb0935f1146d7f5fdaff295bc) + * (GenCodeChecksum:903092052cbb36344deb3d866e823a0c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -255,6 +255,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'title' => ts('Recurring Contribution ID') , 'description' => 'Contribution Recur ID', 'required' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', ) , 'contact_id' => array( 'name' => 'contact_id', @@ -262,6 +265,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'Foreign key to civicrm_contact.id .', 'required' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'amount' => array( @@ -274,6 +280,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Text', ) , @@ -286,6 +295,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select', ) , @@ -304,6 +316,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'month', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select', ) , @@ -319,6 +334,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'title' => ts('Interval (number of units)') , 'description' => 'Number of time units for recurrence of payment.', 'required' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Text', ) , @@ -328,6 +346,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Number of Installments') , 'description' => 'Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Text', ) , @@ -338,6 +359,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'title' => ts('Recurring Contribution Started Date') , 'description' => 'The date the first scheduled recurring contribution occurs.', 'required' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -348,6 +372,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'title' => ts('Recurring Contribution Created Date') , 'description' => 'When this recurring contribution record was created.', 'required' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -357,6 +384,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Recurring Contribution Modified Date') , 'description' => 'Last updated date for this record. mostly the last time a payment was received', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -366,6 +396,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Recurring Contribution Cancel Date') , 'description' => 'Date this recurring contribution was cancelled by contributor- if we can get access to it', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -375,6 +408,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Recurring Contribution End Date') , 'description' => 'Date this recurring contribution finished successfully', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -386,12 +422,18 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'description' => 'Possibly needed to store a unique identifier for this recurring payment order - if this is available from the processor??', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', ) , 'payment_token_id' => array( 'name' => 'payment_token_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Token ID') , 'description' => 'Optionally used to store a link to a payment token used for this recurring contribution.', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'FKClassName' => 'CRM_Financial_DAO_PaymentToken', ) , 'trxn_id' => array( @@ -401,6 +443,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'description' => 'unique transaction id. may be processor id, bank id + trans id, or account number + check number... depending on payment_method', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', ) , 'invoice_id' => array( 'name' => 'invoice_id', @@ -409,6 +454,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'description' => 'unique invoice id, system generated or passed in', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', ) , 'contribution_status_id' => array( 'name' => 'contribution_status_id', @@ -420,6 +468,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'pseudoconstant' => array( 'optionGroupName' => 'contribution_status', 'optionEditPath' => 'civicrm/admin/options/contribution_status', @@ -434,6 +485,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'CheckBox', ) , @@ -445,6 +499,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'description' => 'Day in the period when the payment should be charged e.g. 1st of month, 15th etc.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Text', ) , @@ -454,6 +511,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Next Scheduled Contribution Date') , 'description' => 'Next scheduled date', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -463,6 +523,9 @@ 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.', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Text', ) , @@ -472,6 +535,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Retry Failed Attempt Date') , 'description' => 'Date to retry failed attempt', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select Date', ) , @@ -482,6 +548,9 @@ 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, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'CheckBox', ) , @@ -491,6 +560,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor') , 'description' => 'Foreign key to civicrm_payment_processor.id', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor', ) , 'financial_type_id' => array( @@ -502,6 +574,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'where' => 'civicrm_contribution_recur.financial_type_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array( 'table' => 'civicrm_financial_type', @@ -514,6 +589,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Method') , 'description' => 'FK to Payment Instrument', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'Select', ) , @@ -532,6 +610,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'pseudoconstant' => array( 'table' => 'civicrm_campaign', @@ -545,6 +626,9 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { 'title' => ts('Send email Receipt?') , 'description' => 'if true, receipt is automatically emailed to contact on each successful payment', 'default' => '1', + 'table_name' => 'civicrm_contribution_recur', + 'entity' => 'ContributionRecur', + 'bao' => 'CRM_Contribute_BAO_ContributionRecur', 'html' => array( 'type' => 'CheckBox', ) , diff --git a/CRM/Contribute/DAO/ContributionSoft.php b/CRM/Contribute/DAO/ContributionSoft.php index f725c8c9c3..a0bb399e54 100644 --- a/CRM/Contribute/DAO/ContributionSoft.php +++ b/CRM/Contribute/DAO/ContributionSoft.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ea8abcdf53630758c538439bb186c717) + * (GenCodeChecksum:a5b8a7e4a71da5c1b8ac736dbb96d04c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -149,6 +149,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', ) , 'contribution_id' => array( 'name' => 'contribution_id', @@ -156,6 +159,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'title' => ts('Soft Contribution - Contribution') , 'description' => 'FK to contribution table.', 'required' => true, + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', 'FKClassName' => 'CRM_Contribute_DAO_Contribution', ) , 'contribution_soft_contact_id' => array( @@ -169,6 +175,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'headerPattern' => '/contact(.?id)?/i', 'dataPattern' => '/^\d+$/', 'export' => true, + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'amount' => array( @@ -186,6 +195,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'headerPattern' => '/total(.?am(ou)?nt)?/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', ) , 'currency' => array( 'name' => 'currency', @@ -195,6 +207,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', 'html' => array( 'type' => 'Select', ) , @@ -211,6 +226,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'title' => ts('Soft Contribution PCP') , 'description' => 'FK to civicrm_pcp.id', 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', 'FKClassName' => 'CRM_PCP_DAO_PCP', 'pseudoconstant' => array( 'table' => 'civicrm_pcp', @@ -222,6 +240,9 @@ 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') , + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', ) , 'pcp_roll_nickname' => array( 'name' => 'pcp_roll_nickname', @@ -230,6 +251,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', ) , 'pcp_personal_note' => array( 'name' => 'pcp_personal_note', @@ -238,6 +262,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', ) , 'soft_credit_type_id' => array( 'name' => 'soft_credit_type_id', @@ -245,6 +272,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'title' => ts('Soft Credit Type') , 'description' => 'Soft Credit Type ID.Implicit FK to civicrm_option_value where option_group = soft_credit_type.', 'default' => 'NULL', + 'table_name' => 'civicrm_contribution_soft', + 'entity' => 'ContributionSoft', + 'bao' => 'CRM_Contribute_BAO_ContributionSoft', 'pseudoconstant' => array( 'optionGroupName' => 'soft_credit_type', 'optionEditPath' => 'civicrm/admin/options/soft_credit_type', diff --git a/CRM/Contribute/DAO/Premium.php b/CRM/Contribute/DAO/Premium.php index 0e9c951e98..3bb872d771 100644 --- a/CRM/Contribute/DAO/Premium.php +++ b/CRM/Contribute/DAO/Premium.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/Premium.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c84ce7b79339fc7842fe872fe75eccc1) + * (GenCodeChecksum:de907699739879536d4c8743092cb6c9) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -147,6 +147,9 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Premium ID') , 'required' => true, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -156,12 +159,18 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'entity_id' => array( 'name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Premium entity ID') , 'required' => true, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_active' => array( 'name' => 'premiums_active', @@ -169,6 +178,9 @@ 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, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_intro_title' => array( 'name' => 'premiums_intro_title', @@ -177,12 +189,18 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'description' => 'Title for Premiums section.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_intro_text' => array( 'name' => 'premiums_intro_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Premium Introductory Text') , 'description' => 'Displayed in
at top of Premiums section of page. Text and HTML allowed.', + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_contact_email' => array( 'name' => 'premiums_contact_email', @@ -191,6 +209,9 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'description' => 'This email address is included in receipts if it is populated and a premium has been selected.', 'maxlength' => 100, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_contact_phone' => array( 'name' => 'premiums_contact_phone', @@ -199,6 +220,9 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'description' => 'This phone number is included in receipts if it is populated and a premium has been selected.', 'maxlength' => 50, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_display_min_contribution' => array( 'name' => 'premiums_display_min_contribution', @@ -206,6 +230,9 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'title' => ts('Display Minimum Contribution?') , 'description' => 'Boolean. Should we automatically display minimum contribution amount text after the premium descriptions.', 'required' => true, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_nothankyou_label' => array( 'name' => 'premiums_nothankyou_label', @@ -214,12 +241,18 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { 'description' => 'Label displayed for No Thank-you option in premiums block (e.g. No thank you)', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , 'premiums_nothankyou_position' => array( 'name' => 'premiums_nothankyou_position', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('No Thank-you Position') , 'default' => '1', + 'table_name' => 'civicrm_premiums', + 'entity' => 'Premium', + 'bao' => 'CRM_Contribute_BAO_Premium', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contribute/DAO/PremiumsProduct.php b/CRM/Contribute/DAO/PremiumsProduct.php index 1fcd2ba8bd..6d733cbb27 100644 --- a/CRM/Contribute/DAO/PremiumsProduct.php +++ b/CRM/Contribute/DAO/PremiumsProduct.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3580529cebca0659c28e8d4f55015c22) + * (GenCodeChecksum:1b580dfa766db80a9b2faaf4e8037bb7) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -116,6 +116,9 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { 'title' => ts('Premium Product ID') , 'description' => 'Contribution ID', 'required' => true, + 'table_name' => 'civicrm_premiums_product', + 'entity' => 'PremiumsProduct', + 'bao' => 'CRM_Contribute_DAO_PremiumsProduct', ) , 'premiums_id' => array( 'name' => 'premiums_id', @@ -123,6 +126,9 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { 'title' => ts('Premium') , 'description' => 'Foreign key to premiums settings record.', 'required' => true, + 'table_name' => 'civicrm_premiums_product', + 'entity' => 'PremiumsProduct', + 'bao' => 'CRM_Contribute_DAO_PremiumsProduct', 'FKClassName' => 'CRM_Contribute_DAO_Premium', ) , 'product_id' => array( @@ -131,6 +137,9 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { 'title' => ts('Product') , 'description' => 'Foreign key to each product object.', 'required' => true, + 'table_name' => 'civicrm_premiums_product', + 'entity' => 'PremiumsProduct', + 'bao' => 'CRM_Contribute_DAO_PremiumsProduct', 'FKClassName' => 'CRM_Contribute_DAO_Product', ) , 'weight' => array( @@ -138,6 +147,9 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , 'required' => true, + 'table_name' => 'civicrm_premiums_product', + 'entity' => 'PremiumsProduct', + 'bao' => 'CRM_Contribute_DAO_PremiumsProduct', ) , 'financial_type_id' => array( 'name' => 'financial_type_id', @@ -145,6 +157,9 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type.', 'default' => 'NULL', + 'table_name' => 'civicrm_premiums_product', + 'entity' => 'PremiumsProduct', + 'bao' => 'CRM_Contribute_DAO_PremiumsProduct', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array( 'table' => 'civicrm_financial_type', diff --git a/CRM/Contribute/DAO/Product.php b/CRM/Contribute/DAO/Product.php index 0000e625c4..f6f6ecd99a 100644 --- a/CRM/Contribute/DAO/Product.php +++ b/CRM/Contribute/DAO/Product.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/Product.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:cb23fc697bf604c7303bd7c0994635cc) + * (GenCodeChecksum:664c12f246e380cf7761283a565a1bab) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -197,6 +197,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Product ID') , 'required' => true, + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'product_name' => array( 'name' => 'name', @@ -210,12 +213,18 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'where' => 'civicrm_product.name', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'description' => array( 'name' => 'description', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Description') , 'description' => 'Optional description of the product/premium.', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'sku' => array( 'name' => 'sku', @@ -228,12 +237,18 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'where' => 'civicrm_product.sku', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'options' => array( 'name' => 'options', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Options') , 'description' => 'Store comma-delimited list of color, size, etc. options for the product.', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'image' => array( 'name' => 'image', @@ -242,6 +257,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'description' => 'Full or relative URL to uploaded image - fullsize.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'thumbnail' => array( 'name' => 'thumbnail', @@ -250,6 +268,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'description' => 'Full or relative URL to image thumbnail.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'price' => array( 'name' => 'price', @@ -260,6 +281,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'currency' => array( 'name' => 'currency', @@ -269,6 +293,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', 'html' => array( 'type' => 'Select', ) , @@ -285,6 +312,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type.', 'default' => 'NULL', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array( 'table' => 'civicrm_financial_type', @@ -301,6 +331,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'cost' => array( 'name' => 'cost', @@ -311,6 +344,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'is_active' => array( 'name' => 'is_active', @@ -318,6 +354,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'title' => ts('Is Active') , 'description' => 'Disabling premium removes it from the premiums_premium join table below.', 'required' => true, + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'period_type' => array( 'name' => 'period_type', @@ -328,6 +367,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'rolling', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', 'html' => array( 'type' => 'Select', ) , @@ -341,6 +383,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'title' => ts('Fixed Period Start Day') , 'description' => 'Month and day (MMDD) that fixed period type subscription or membership starts.', 'default' => '0101', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', ) , 'duration_unit' => array( 'name' => 'duration_unit', @@ -349,6 +394,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'year', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', 'html' => array( 'type' => 'Select', ) , @@ -361,6 +409,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Duration Interval') , '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', ) , 'frequency_unit' => array( 'name' => 'frequency_unit', @@ -370,6 +421,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'month', + 'table_name' => 'civicrm_product', + 'entity' => 'Product', + 'bao' => 'CRM_Contribute_DAO_Product', 'html' => array( 'type' => 'Select', ) , @@ -382,6 +436,9 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Frequency Interval') , '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', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Contribute/DAO/Widget.php b/CRM/Contribute/DAO/Widget.php index 6628f7cc62..b823394e8f 100644 --- a/CRM/Contribute/DAO/Widget.php +++ b/CRM/Contribute/DAO/Widget.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Contribute/Widget.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0c274425d81e53c5a1f1a4f4e3078ce3) + * (GenCodeChecksum:ab7155865feec4576bd385395739a49a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -178,12 +178,18 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Widget ID') , 'description' => 'Contribution Id', 'required' => true, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'contribution_page_id' => array( 'name' => 'contribution_page_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Page') , 'description' => 'The Contribution Page which triggered this contribution', + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', 'FKClassName' => 'CRM_Contribute_DAO_ContributionPage', ) , 'is_active' => array( @@ -191,6 +197,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Enabled?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'title' => array( 'name' => 'title', @@ -199,6 +208,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'description' => 'Widget title.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'url_logo' => array( 'name' => 'url_logo', @@ -207,6 +219,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'description' => 'URL to Widget logo', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'button_title' => array( 'name' => 'button_title', @@ -215,12 +230,18 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'description' => 'Button title.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'about' => array( 'name' => 'about', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Description') , 'description' => 'About description.', + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'url_homepage' => array( 'name' => 'url_homepage', @@ -229,6 +250,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'description' => 'URL to Homepage.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_title' => array( 'name' => 'color_title', @@ -236,6 +260,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Title Color') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_button' => array( 'name' => 'color_button', @@ -243,6 +270,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Button Colour') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_bar' => array( 'name' => 'color_bar', @@ -250,6 +280,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Bar Color') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_main_text' => array( 'name' => 'color_main_text', @@ -257,6 +290,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Main Text Color') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_main' => array( 'name' => 'color_main', @@ -264,6 +300,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Main Colour') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_main_bg' => array( 'name' => 'color_main_bg', @@ -271,6 +310,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Backgroup Color') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_bg' => array( 'name' => 'color_bg', @@ -278,6 +320,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Other Backgroun Colour') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_about_link' => array( 'name' => 'color_about_link', @@ -285,6 +330,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('About Link Colour') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , 'color_homepage_link' => array( 'name' => 'color_homepage_link', @@ -292,6 +340,9 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { 'title' => ts('Homepage Link Colour') , 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_contribution_widget', + 'entity' => 'Widget', + 'bao' => 'CRM_Contribute_BAO_Widget', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/CodeGen/Specification.php b/CRM/Core/CodeGen/Specification.php index 1cf0285593..dbebd3291f 100644 --- a/CRM/Core/CodeGen/Specification.php +++ b/CRM/Core/CodeGen/Specification.php @@ -204,7 +204,6 @@ class CRM_Core_CodeGen_Specification { 'objectName' => $klass, 'labelName' => substr($name, 8), 'className' => $this->classNames[$name], - 'baopath' => $baoPath . $klass . '.php', 'bao' => (file_exists($baoPath . $klass . '.php') ? str_replace('DAO', 'BAO', $this->classNames[$name]) : $this->classNames[$name]), 'entity' => $klass, 'attributes_simple' => trim($database['tableAttributes_simple']), diff --git a/CRM/Core/DAO/ActionLog.php b/CRM/Core/DAO/ActionLog.php index 2f51e831f8..0a3170abc5 100644 --- a/CRM/Core/DAO/ActionLog.php +++ b/CRM/Core/DAO/ActionLog.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/ActionLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:721c03b2046e11d8774a5e14204a28d8) + * (GenCodeChecksum:606dca7d7eee4bb6a8e1fd397fa47c70) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -145,12 +145,18 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Action Schedule ID') , 'required' => true, + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Action Schedule Contact ID') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'entity_id' => array( @@ -159,6 +165,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'FK to id of the entity that the action was performed on. Pseudo - FK.', 'required' => true, + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -167,6 +176,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { 'description' => 'name of the entity table for the above id, e.g. civicrm_activity, civicrm_participant', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'action_schedule_id' => array( 'name' => 'action_schedule_id', @@ -174,6 +186,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { 'title' => ts('Schedule') , 'description' => 'FK to the action schedule that this action originated from.', 'required' => true, + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', 'FKClassName' => 'CRM_Core_DAO_ActionSchedule', ) , 'action_date_time' => array( @@ -181,24 +196,36 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Action Date And Time') , 'description' => 'date time that the action was performed on.', + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'is_error' => array( 'name' => 'is_error', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Error?') , 'description' => 'Was there any error sending the reminder?', + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'message' => array( 'name' => 'message', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Message') , 'description' => 'Description / text in case there was an error encountered.', + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'repetition_number' => array( 'name' => 'repetition_number', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Repetition Number') , 'description' => 'Keeps track of the sequence number of this repetition.', + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , 'reference_date' => array( 'name' => 'reference_date', @@ -206,6 +233,9 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { 'title' => ts('Reference Date') , 'description' => 'Stores the date from the entity which triggered this reminder action (e.g. membership.end_date for most membership renewal reminders)', 'default' => 'NULL', + 'table_name' => 'civicrm_action_log', + 'entity' => 'ActionLog', + 'bao' => 'CRM_Core_BAO_ActionLog', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/ActionMapping.php b/CRM/Core/DAO/ActionMapping.php index 76655f84ba..4040d01832 100644 --- a/CRM/Core/DAO/ActionMapping.php +++ b/CRM/Core/DAO/ActionMapping.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/ActionMapping.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:cf61768a3400766af641f4d6e9f6cba8) + * (GenCodeChecksum:ad6e23eb5487a699b76678891df6175e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -123,6 +123,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Action Mapping ID') , 'required' => true, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity' => array( 'name' => 'entity', @@ -131,6 +134,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity for which the reminder is created', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_value' => array( 'name' => 'entity_value', @@ -139,6 +145,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity value', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_value_label' => array( 'name' => 'entity_value_label', @@ -147,6 +156,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity value label', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_status' => array( 'name' => 'entity_status', @@ -155,6 +167,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity status', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_status_label' => array( 'name' => 'entity_status_label', @@ -163,6 +178,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity status label', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_date_start' => array( 'name' => 'entity_date_start', @@ -171,6 +189,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity date', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_date_end' => array( 'name' => 'entity_date_end', @@ -179,6 +200,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity date', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , 'entity_recipient' => array( 'name' => 'entity_recipient', @@ -187,6 +211,9 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { 'description' => 'Entity recipient', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_mapping', + 'entity' => 'ActionMapping', + 'bao' => 'CRM_Core_DAO_ActionMapping', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/ActionSchedule.php b/CRM/Core/DAO/ActionSchedule.php index 37d3302743..17a2d9e696 100644 --- a/CRM/Core/DAO/ActionSchedule.php +++ b/CRM/Core/DAO/ActionSchedule.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/ActionSchedule.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:06960967b276e6b2b7cd31a7ded61c03) + * (GenCodeChecksum:b2eee0985301a53fa1b3f716da197103) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -312,6 +312,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Action Schedule ID') , 'required' => true, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'name' => array( 'name' => 'name', @@ -320,6 +323,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Name of the action(reminder)', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'title' => array( 'name' => 'title', @@ -328,6 +334,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Title of the action(reminder)', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'recipient' => array( 'name' => 'recipient', @@ -336,12 +345,18 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Recipient', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'limit_to' => array( 'name' => 'limit_to', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Limit To') , 'description' => 'Is this the recipient criteria limited to OR in addition to?', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'entity_value' => array( 'name' => 'entity_value', @@ -350,6 +365,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Entity value', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'entity_status' => array( 'name' => 'entity_status', @@ -358,12 +376,18 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Entity status', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'start_action_offset' => array( 'name' => 'start_action_offset', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Start Action Offset') , 'description' => 'Reminder Interval.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'start_action_unit' => array( 'name' => 'start_action_unit', @@ -372,6 +396,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Time units for reminder.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'html' => array( 'type' => 'Select', ) , @@ -386,6 +413,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Reminder Action', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'start_action_date' => array( 'name' => 'start_action_date', @@ -394,11 +424,17 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Entity date', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'is_repeat' => array( 'name' => 'is_repeat', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Repeat?') , + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'repetition_frequency_unit' => array( 'name' => 'repetition_frequency_unit', @@ -407,6 +443,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Time units for repetition of reminder.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'html' => array( 'type' => 'Select', ) , @@ -419,6 +458,9 @@ 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.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'end_frequency_unit' => array( 'name' => 'end_frequency_unit', @@ -427,6 +469,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Time units till repetition of reminder.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'html' => array( 'type' => 'Select', ) , @@ -439,6 +484,9 @@ 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.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'end_action' => array( 'name' => 'end_action', @@ -447,6 +495,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Reminder Action till repeating the reminder.', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'end_date' => array( 'name' => 'end_date', @@ -455,6 +506,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Entity end date', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'is_active' => array( 'name' => 'is_active', @@ -462,6 +516,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'title' => ts('Schedule is Active?') , 'description' => 'Is this option active?', 'default' => '1', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'recipient_manual' => array( 'name' => 'recipient_manual', @@ -470,6 +527,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Contact IDs to which reminder should be sent.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'recipient_listing' => array( 'name' => 'recipient_listing', @@ -478,24 +538,36 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'listing based on recipient field.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'body_text' => array( 'name' => 'body_text', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Reminder Text') , 'description' => 'Body of the mailing in text format.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'body_html' => array( 'name' => 'body_html', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Reminder HTML') , 'description' => 'Body of the mailing in html format.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'sms_body_text' => array( 'name' => 'sms_body_text', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('SMS Reminder Text') , 'description' => 'Content of the SMS text.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'subject' => array( 'name' => 'subject', @@ -504,6 +576,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Subject of mailing', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'record_activity' => array( 'name' => 'record_activity', @@ -511,6 +586,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'title' => ts('Record Activity for Reminder?') , 'description' => 'Record Activity for this reminder?', 'default' => 'NULL', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'mapping_id' => array( 'name' => 'mapping_id', @@ -519,12 +597,18 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Name/ID of the mapping to use on this table', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'group_id' => array( 'name' => 'group_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Reminder Group') , 'description' => 'FK to Group', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'FKClassName' => 'CRM_Contact_DAO_Group', 'html' => array( 'type' => 'Select', @@ -540,6 +624,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Reminder Template') , 'description' => 'FK to the message template.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'FKClassName' => 'CRM_Core_DAO_MessageTemplate', ) , 'sms_template_id' => array( @@ -547,6 +634,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('SMS Reminder Template') , 'description' => 'FK to the message template.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'FKClassName' => 'CRM_Core_DAO_MessageTemplate', ) , 'absolute_date' => array( @@ -554,6 +644,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Fixed Date for Reminder') , 'description' => 'Date on which the reminder be sent.', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'from_name' => array( 'name' => 'from_name', @@ -562,6 +655,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Name in "from" field', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'from_email' => array( 'name' => 'from_email', @@ -570,6 +666,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Email address in "from" field', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'mode' => array( 'name' => 'mode', @@ -579,6 +678,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, 'default' => 'Email', + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'html' => array( 'type' => 'Select', ) , @@ -591,6 +693,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'name' => 'sms_provider_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('SMS Provider') , + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', 'FKClassName' => 'CRM_SMS_DAO_Provider', 'html' => array( 'type' => 'Select', @@ -603,6 +708,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Used for repeating entity', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'filter_contact_language' => array( 'name' => 'filter_contact_language', @@ -611,6 +719,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Used for multilingual installation', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , 'communication_language' => array( 'name' => 'communication_language', @@ -619,6 +730,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { 'description' => 'Used for multilingual installation', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_action_schedule', + 'entity' => 'ActionSchedule', + 'bao' => 'CRM_Core_BAO_ActionSchedule', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Address.php b/CRM/Core/DAO/Address.php index 6831efc7df..48dd3159ff 100644 --- a/CRM/Core/DAO/Address.php +++ b/CRM/Core/DAO/Address.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Address.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:af966c0284f44b6d20f654125b211c37) + * (GenCodeChecksum:f287c4fdc26ea566a1b4fdd3c8975bcb) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -264,12 +264,18 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'title' => ts('Address ID') , 'description' => 'Unique Address ID', 'required' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact ID') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'location_type_id' => array( @@ -277,6 +283,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Address Location Type') , 'description' => 'Which Location does this address belong to.', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Select', ) , @@ -291,6 +300,9 @@ 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.', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'CheckBox', ) , @@ -300,6 +312,9 @@ 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.', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'CheckBox', ) , @@ -319,6 +334,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/(street|address)/i', 'dataPattern' => '/^(\d{1,5}( [0-9A-Za-z]+)+)$|^(P\.?O\.\? Box \d{1,5})$/i', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -332,6 +350,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'where' => 'civicrm_address.street_number', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -348,6 +369,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'where' => 'civicrm_address.street_number_suffix', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -359,6 +383,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'description' => 'Directional prefix, e.g. SE Main St, SE is the prefix.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -374,6 +401,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'where' => 'civicrm_address.street_name', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -385,6 +415,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'description' => 'St, Rd, Dr, etc.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -396,6 +429,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'description' => 'Directional prefix, e.g. Main St S, S is the suffix.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -411,6 +447,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'where' => 'civicrm_address.street_unit', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -427,6 +466,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/(supplemental(\s)?)?address(\s\d+)?/i', 'dataPattern' => '/unit|ap(ar)?t(ment)?\s(\d|\w)+/i', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -443,6 +485,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/(supplemental(\s)?)?address(\s\d+)?/i', 'dataPattern' => '/unit|ap(ar)?t(ment)?\s(\d|\w)+/i', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -454,6 +499,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'description' => 'Supplemental Address Information, Line 3', 'maxlength' => 96, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -470,6 +518,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/city/i', 'dataPattern' => '/^[A-Za-z]+(\.?)(\s?[A-Za-z]+){0,2}$/', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -479,6 +530,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('County') , 'description' => 'Which County does this address belong to.', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'FKClassName' => 'CRM_Core_DAO_County', 'html' => array( 'type' => 'ChainSelect', @@ -494,6 +548,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('State/Province') , 'description' => 'Which State_Province does this address belong to.', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'FKClassName' => 'CRM_Core_DAO_StateProvince', 'html' => array( 'type' => 'ChainSelect', @@ -516,6 +573,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/p(ostal)\sc(ode)\ss(uffix)/i', 'dataPattern' => '/\d?\d{4}(-\d{4})?/', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -532,6 +592,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/postal|zip/i', 'dataPattern' => '/\d?\d{4}(-\d{4})?/', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -543,12 +606,18 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'description' => 'USPS Bulk mailing code.', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', ) , 'country_id' => array( 'name' => 'country_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Country') , 'description' => 'Which Country does this address belong to.', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'FKClassName' => 'CRM_Core_DAO_Country', 'html' => array( 'type' => 'Select', @@ -570,6 +639,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/geo/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -584,6 +656,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/geo/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -593,6 +668,9 @@ 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', + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'CheckBox', ) , @@ -604,6 +682,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'description' => 'Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -619,6 +700,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '/^location|(l(ocation\s)?name)$/i', 'dataPattern' => '/^\w+$/', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'html' => array( 'type' => 'Text', ) , @@ -633,6 +717,9 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_address', + 'entity' => 'Address', + 'bao' => 'CRM_Core_BAO_Address', 'FKClassName' => 'CRM_Core_DAO_Address', ) , ); diff --git a/CRM/Core/DAO/AddressFormat.php b/CRM/Core/DAO/AddressFormat.php index e251db04ec..ef16a59f22 100644 --- a/CRM/Core/DAO/AddressFormat.php +++ b/CRM/Core/DAO/AddressFormat.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/AddressFormat.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ef2bb5732dc5f40f6713f48c72f011ba) + * (GenCodeChecksum:dc31831c9c3be6d795d1f1b2c355f0e4) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -83,12 +83,18 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO { 'title' => ts('Address Format ID') , 'description' => 'Address Format Id', 'required' => true, + 'table_name' => 'civicrm_address_format', + 'entity' => 'AddressFormat', + 'bao' => 'CRM_Core_DAO_AddressFormat', ) , 'format' => array( 'name' => 'format', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Address Format') , 'description' => 'The format of an address', + 'table_name' => 'civicrm_address_format', + 'entity' => 'AddressFormat', + 'bao' => 'CRM_Core_DAO_AddressFormat', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/AllCoreTables.data.php b/CRM/Core/DAO/AllCoreTables.data.php index 0960a51ee9..d64334f521 100644 --- a/CRM/Core/DAO/AllCoreTables.data.php +++ b/CRM/Core/DAO/AllCoreTables.data.php @@ -24,7 +24,7 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ */ -// (GenCodeChecksum:91eca27988f62050330654fa6ce26ca2) +// (GenCodeChecksum:616d65664572d5eaffb63dd660d6ff36) return array( 'CRM_Core_DAO_AddressFormat' => array( 'name' => 'AddressFormat', diff --git a/CRM/Core/DAO/Cache.php b/CRM/Core/DAO/Cache.php index b2122836c6..526ecb118c 100644 --- a/CRM/Core/DAO/Cache.php +++ b/CRM/Core/DAO/Cache.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Cache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b145d7f1474d493c2df518be572bc56c) + * (GenCodeChecksum:b9b25f7ebdd74e09ed9641a217ffb521) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -124,6 +124,9 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { 'name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', ) , 'group_name' => array( 'name' => 'group_name', @@ -133,6 +136,9 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { 'required' => true, 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', ) , 'path' => array( 'name' => 'path', @@ -141,17 +147,26 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { 'description' => 'Unique path name for cache element', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Data') , 'description' => 'data associated with this path', + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', ) , 'component_id' => array( 'name' => 'component_id', 'type' => CRM_Utils_Type::T_INT, 'description' => 'Component that this menu item belongs to', + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', 'FKClassName' => 'CRM_Core_DAO_Component', 'html' => array( 'type' => 'Select', @@ -167,12 +182,18 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Created Date') , 'description' => 'When was the cache item created', + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', ) , 'expired_date' => array( 'name' => 'expired_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Expired Date') , 'description' => 'When should the cache item expire', + 'table_name' => 'civicrm_cache', + 'entity' => 'Cache', + 'bao' => 'CRM_Core_BAO_Cache', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Component.php b/CRM/Core/DAO/Component.php index e5ca40f9da..72dbb3b4f2 100644 --- a/CRM/Core/DAO/Component.php +++ b/CRM/Core/DAO/Component.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Component.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:139dcaac103194eb41070ed8d7753d90) + * (GenCodeChecksum:890aede5d4ff5b9408e5560494eca6e6) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -89,6 +89,9 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'description' => 'Component ID', 'required' => true, + 'table_name' => 'civicrm_component', + 'entity' => 'Component', + 'bao' => 'CRM_Core_DAO_Component', ) , 'name' => array( 'name' => 'name', @@ -98,6 +101,9 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_component', + 'entity' => 'Component', + 'bao' => 'CRM_Core_DAO_Component', ) , 'namespace' => array( 'name' => 'namespace', @@ -108,6 +114,9 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO { ', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_component', + 'entity' => 'Component', + 'bao' => 'CRM_Core_DAO_Component', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Country.php b/CRM/Core/DAO/Country.php index 4765253102..dfe97a6950 100644 --- a/CRM/Core/DAO/Country.php +++ b/CRM/Core/DAO/Country.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Country.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3b3a4169f7747aa7b8fd5b6a81859e50) + * (GenCodeChecksum:c5310b6d489953cb4e44654d4dd990c2) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -140,6 +140,9 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'title' => ts('Country ID') , 'description' => 'Country Id', 'required' => true, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , 'name' => array( 'name' => 'name', @@ -153,6 +156,9 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'headerPattern' => '/country/i', 'dataPattern' => '/^[A-Z][a-z]+\.?(\s+[A-Z][a-z]+){0,3}$/', 'export' => true, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , 'iso_code' => array( 'name' => 'iso_code', @@ -161,6 +167,9 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'description' => 'ISO Code', 'maxlength' => 2, 'size' => CRM_Utils_Type::TWO, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , 'country_code' => array( 'name' => 'country_code', @@ -169,12 +178,18 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'description' => 'National prefix to be used when dialing TO this country.', 'maxlength' => 4, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , 'address_format_id' => array( 'name' => 'address_format_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Address Format') , 'description' => 'Foreign key to civicrm_address_format.id.', + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', 'FKClassName' => 'CRM_Core_DAO_AddressFormat', ) , 'idd_prefix' => array( @@ -184,6 +199,9 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'description' => 'International direct dialing prefix from within the country TO another country', 'maxlength' => 4, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , 'ndd_prefix' => array( 'name' => 'ndd_prefix', @@ -192,6 +210,9 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'description' => 'Access prefix to call within a country to a different area', 'maxlength' => 4, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , 'region_id' => array( 'name' => 'region_id', @@ -199,6 +220,9 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'title' => ts('Region') , 'description' => 'Foreign key to civicrm_worldregion.id.', 'required' => true, + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', 'FKClassName' => 'CRM_Core_DAO_Worldregion', ) , 'is_province_abbreviated' => array( @@ -206,6 +230,9 @@ 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?', + 'table_name' => 'civicrm_country', + 'entity' => 'Country', + 'bao' => 'CRM_Core_BAO_Country', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/County.php b/CRM/Core/DAO/County.php index e1174bf650..3daea9d1a2 100644 --- a/CRM/Core/DAO/County.php +++ b/CRM/Core/DAO/County.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/County.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5123c059a50972248c5ced75a03c4eb5) + * (GenCodeChecksum:824c915d12ea56f2abb94267ca139391) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -109,6 +109,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'title' => ts('County ID') , 'description' => 'County ID', 'required' => true, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', ) , 'name' => array( 'name' => 'name', @@ -122,6 +125,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'headerPattern' => '/county/i', 'dataPattern' => '/[A-Z]{2}/', 'export' => true, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', ) , 'abbreviation' => array( 'name' => 'abbreviation', @@ -130,6 +136,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'description' => '2-4 Character Abbreviation of County', 'maxlength' => 4, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', ) , 'state_province_id' => array( 'name' => 'state_province_id', @@ -137,6 +146,9 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'title' => ts('State') , 'description' => 'ID of State/Province that County belongs', 'required' => true, + 'table_name' => 'civicrm_county', + 'entity' => 'County', + 'bao' => 'CRM_Core_DAO_County', 'FKClassName' => 'CRM_Core_DAO_StateProvince', ) , ); diff --git a/CRM/Core/DAO/CustomField.php b/CRM/Core/DAO/CustomField.php index 1d121497a5..6552ccaa58 100644 --- a/CRM/Core/DAO/CustomField.php +++ b/CRM/Core/DAO/CustomField.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/CustomField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:dc13acb1a31d4ed4837ebb0a167da9e9) + * (GenCodeChecksum:9a71ccf425ce3ba8f5ad59f4fdb8ebf8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -265,6 +265,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'title' => ts('Custom Field ID') , 'description' => 'Unique Custom Field ID', 'required' => true, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'custom_group_id' => array( 'name' => 'custom_group_id', @@ -272,6 +275,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'title' => ts('Custom Group') , 'description' => 'FK to civicrm_custom_group.', 'required' => true, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', 'FKClassName' => 'CRM_Core_DAO_CustomGroup', 'html' => array( 'type' => 'Select', @@ -289,6 +295,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Variable name/programmatic handle for this group.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'label' => array( 'name' => 'label', @@ -298,6 +307,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'data_type' => array( 'name' => 'data_type', @@ -307,6 +319,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 16, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', 'html' => array( 'type' => 'Select', ) , @@ -322,6 +337,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', 'pseudoconstant' => array( 'callback' => 'CRM_Core_SelectValues::customHtmlType', ) @@ -333,24 +351,36 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Use form_options.is_default for field_types which use options.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'is_required' => array( 'name' => 'is_required', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Custom Field Is Required?') , 'description' => 'Is a value required for this property.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'is_searchable' => array( 'name' => 'is_searchable', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allow Searching on Field?') , 'description' => 'Is this property searchable.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'is_search_range' => array( 'name' => 'is_search_range', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Search as a Range') , 'description' => 'Is this property range searchable.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'weight' => array( 'name' => 'weight', @@ -359,18 +389,27 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Controls field display order within an extended property group.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'help_pre' => array( 'name' => 'help_pre', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Custom Field Pre Text') , 'description' => 'Description and/or help text to display before this field.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'help_post' => array( 'name' => 'help_post', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Custom Field Post Text') , 'description' => 'Description and/or help text to display after this field.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'mask' => array( 'name' => 'mask', @@ -379,6 +418,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Optional format instructions for specific field types, like date types.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'attributes' => array( 'name' => 'attributes', @@ -387,6 +429,9 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Store collection of type-appropriate attributes, e.g. textarea needs rows/cols attributes', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'javascript' => array( 'name' => 'javascript', @@ -395,42 +440,63 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Optional scripting attributes for field.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Custom Field Is Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'is_view' => array( 'name' => 'is_view', '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', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'options_per_line' => array( 'name' => 'options_per_line', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Options Per Line') , 'description' => 'number of options per line for checkbox and radio', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'text_length' => array( 'name' => 'text_length', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Length') , 'description' => 'field length if alphanumeric', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'start_date_years' => array( 'name' => 'start_date_years', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Start Date') , 'description' => 'Date may be up to start_date_years years prior to the current date.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'end_date_years' => array( 'name' => 'end_date_years', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field End Date') , 'description' => 'Date may be up to end_date_years years after the current date.', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'date_format' => array( 'name' => 'date_format', @@ -439,24 +505,36 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'date format for custom date', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'time_format' => array( 'name' => 'time_format', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Time Format') , 'description' => 'time format for custom date', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'note_columns' => array( 'name' => 'note_columns', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Note Columns') , 'description' => ' Number of columns in Note Field ', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'note_rows' => array( 'name' => 'note_rows', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Note Rows') , 'description' => ' Number of rows in Note Field ', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'column_name' => array( 'name' => 'column_name', @@ -465,12 +543,18 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Name of the column that holds the values for this field.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'option_group_id' => array( 'name' => 'option_group_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Field Option Group') , 'description' => 'For elements with options, the option group id that is used', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'filter' => array( 'name' => 'filter', @@ -479,12 +563,18 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { 'description' => 'Stores Contact Get API params contact reference custom fields. May be used for other filters in the future.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , 'in_selector' => array( 'name' => 'in_selector', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Field Display') , 'description' => 'Should the multi-record custom field values be displayed in tab table listing', + 'table_name' => 'civicrm_custom_field', + 'entity' => 'CustomField', + 'bao' => 'CRM_Core_BAO_CustomField', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/CustomGroup.php b/CRM/Core/DAO/CustomGroup.php index 6863df3626..4eede3724b 100644 --- a/CRM/Core/DAO/CustomGroup.php +++ b/CRM/Core/DAO/CustomGroup.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/CustomGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:01465947abefe26da02c4a81505afe08) + * (GenCodeChecksum:190b0c5691831c6708b5de7ce556836d) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -205,6 +205,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'title' => ts('Custom Group ID') , 'description' => 'Unique Custom Group ID', 'required' => true, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'name' => array( 'name' => 'name', @@ -213,6 +216,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'Variable name/programmatic handle for this group.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'title' => array( 'name' => 'title', @@ -222,6 +228,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'extends' => array( 'name' => 'extends', @@ -231,6 +240,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'Contact', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'extends_entity_column_id' => array( 'name' => 'extends_entity_column_id', @@ -238,6 +250,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'title' => ts('Custom Group Subtype List') , 'description' => 'FK to civicrm_option_value.id (for option group custom_data_type.)', 'default' => 'NULL', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'extends_entity_column_value' => array( 'name' => 'extends_entity_column_value', @@ -246,6 +261,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'linking custom group for dynamic object', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'style' => array( 'name' => 'style', @@ -254,6 +272,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'Visual relationship between this form and its parent.', 'maxlength' => 15, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', 'html' => array( 'type' => 'Select', ) , @@ -266,6 +287,9 @@ 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 ?', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'help_pre' => array( 'name' => 'help_pre', @@ -274,6 +298,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'Description and/or help text to display before fields in form.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', 'html' => array( 'type' => 'TextArea', ) , @@ -285,6 +312,9 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'Description and/or help text to display after fields in form.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', 'html' => array( 'type' => 'TextArea', ) , @@ -296,12 +326,18 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'Controls display order when multiple extended property groups are setup for the same class.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Custom Group Is Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'table_name' => array( 'name' => 'table_name', @@ -310,36 +346,54 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'description' => 'Name of the table that holds the values for this group.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'is_multiple' => array( 'name' => 'is_multiple', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Supports Multiple Records') , 'description' => 'Does this group hold multiple values?', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'min_multiple' => array( 'name' => 'min_multiple', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Minimum Multiple Records') , 'description' => 'minimum number of multiple records (typically 0?)', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'max_multiple' => array( 'name' => 'max_multiple', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Maximum Multiple Records') , 'description' => 'maximum number of multiple records, if 0 - no max', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'collapse_adv_display' => array( 'name' => 'collapse_adv_display', '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 ?', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Custom Group Created By') , 'description' => 'FK to civicrm_contact, who created this custom group', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -347,12 +401,18 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Custom Group Created Date') , 'description' => 'Date and time this custom group was created.', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Reserved Group?') , 'description' => 'Is this a reserved Custom Group?', + 'table_name' => 'civicrm_custom_group', + 'entity' => 'CustomGroup', + 'bao' => 'CRM_Core_BAO_CustomGroup', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Dashboard.php b/CRM/Core/DAO/Dashboard.php index b46de226ed..cffe960613 100644 --- a/CRM/Core/DAO/Dashboard.php +++ b/CRM/Core/DAO/Dashboard.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Dashboard.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4d82a52ab0d5d66d835192785ff0c1cc) + * (GenCodeChecksum:3e0b2bd066d83876c81d84a574f29fe1) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -149,6 +149,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('DashletID') , 'required' => true, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -156,6 +159,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'title' => ts('Dashlet Domain') , 'description' => 'Domain for dashboard', 'required' => true, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -170,6 +176,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'Internal name of dashlet.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'label' => array( 'name' => 'label', @@ -178,6 +187,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'dashlet title', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'url' => array( 'name' => 'url', @@ -186,6 +198,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'url in case of external dashlet', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'permission' => array( 'name' => 'permission', @@ -194,6 +209,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'Permission for the dashlet', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'permission_operator' => array( 'name' => 'permission_operator', @@ -202,6 +220,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'Permission Operator', 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'fullscreen_url' => array( 'name' => 'fullscreen_url', @@ -210,18 +231,27 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'fullscreen url for dashlet', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Dashlet Active?') , 'description' => 'Is this dashlet active?', + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Dashlet Reserved?') , 'description' => 'Is this dashlet reserved?', + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , 'cache_minutes' => array( 'name' => 'cache_minutes', @@ -230,6 +260,9 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { 'description' => 'Number of minutes to cache dashlet content in browser localStorage.', 'required' => true, 'default' => '60', + 'table_name' => 'civicrm_dashboard', + 'entity' => 'Dashboard', + 'bao' => 'CRM_Core_BAO_Dashboard', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Discount.php b/CRM/Core/DAO/Discount.php index 9eb0345108..50957121f3 100644 --- a/CRM/Core/DAO/Discount.php +++ b/CRM/Core/DAO/Discount.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Discount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b82536086f7f2111cddc36452c9aeb9e) + * (GenCodeChecksum:f09af911434bdf229ff455ec8a0616b0) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -122,6 +122,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { 'title' => ts('Discount ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_discount', + 'entity' => 'Discount', + 'bao' => 'CRM_Core_BAO_Discount', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -130,6 +133,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { 'description' => 'physical tablename for entity being joined to discount, e.g. civicrm_event', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_discount', + 'entity' => 'Discount', + 'bao' => 'CRM_Core_BAO_Discount', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -137,6 +143,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_discount', + 'entity' => 'Discount', + 'bao' => 'CRM_Core_BAO_Discount', ) , 'participant_discount_name' => array( 'name' => 'price_set_id', @@ -148,6 +157,9 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { 'where' => 'civicrm_discount.price_set_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_discount', + 'entity' => 'Discount', + 'bao' => 'CRM_Core_BAO_Discount', 'FKClassName' => 'CRM_Price_DAO_PriceSet', ) , 'start_date' => array( @@ -155,12 +167,18 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Discount Start Date') , 'description' => 'Date when discount starts.', + 'table_name' => 'civicrm_discount', + 'entity' => 'Discount', + 'bao' => 'CRM_Core_BAO_Discount', ) , 'end_date' => array( 'name' => 'end_date', 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Discount End Date') , 'description' => 'Date when discount ends.', + 'table_name' => 'civicrm_discount', + 'entity' => 'Discount', + 'bao' => 'CRM_Core_BAO_Discount', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Domain.php b/CRM/Core/DAO/Domain.php index bd90723ce8..989d117c3c 100644 --- a/CRM/Core/DAO/Domain.php +++ b/CRM/Core/DAO/Domain.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Domain.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a403ee4e3ef5f8398d0103c8a5ba1645) + * (GenCodeChecksum:8dd47669e949ac899026a03b3c47c488) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -133,6 +133,9 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'title' => ts('Domain ID') , 'description' => 'Domain ID', 'required' => true, + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', ) , 'name' => array( 'name' => 'name', @@ -141,6 +144,9 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'description' => 'Name of Domain / Organization', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', 'html' => array( 'type' => 'Text', ) , @@ -152,6 +158,9 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'description' => 'Description of Domain.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', 'html' => array( 'type' => 'Text', ) , @@ -163,6 +172,9 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'description' => 'Backend configuration.', 'rows' => 20, 'cols' => 80, + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', 'html' => array( 'type' => 'TextArea', ) , @@ -174,12 +186,18 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'description' => 'The civicrm version this instance is running', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Domain Contact') , 'description' => 'FK to Contact ID. This is specifically not an FK to avoid circular constraints', + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'locales' => array( @@ -187,6 +205,9 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Supported Languages') , 'description' => 'list of locales supported by the current db state (NULL for single-lang install)', + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', ) , 'locale_custom_strings' => array( 'name' => 'locale_custom_strings', @@ -195,6 +216,9 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { 'description' => 'Locale specific string overrides', 'rows' => 20, 'cols' => 80, + 'table_name' => 'civicrm_domain', + 'entity' => 'Domain', + 'bao' => 'CRM_Core_BAO_Domain', 'html' => array( 'type' => 'TextArea', ) , diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index d6dcff52b1..55b5ad19ae 100644 --- a/CRM/Core/DAO/Email.php +++ b/CRM/Core/DAO/Email.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Email.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:988b68b07a90ff903001c8f68b2e2545) + * (GenCodeChecksum:4ad6f174320af9da20e5f3cd86295a8a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -157,12 +157,18 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'title' => ts('Email ID') , 'description' => 'Unique Email ID', 'required' => true, + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Email Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'location_type_id' => array( @@ -170,6 +176,9 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Email Location Type') , 'description' => 'Which Location does this email belong to.', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', 'html' => array( 'type' => 'Select', ) , @@ -192,6 +201,9 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'dataPattern' => '/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/', 'export' => true, 'rule' => 'email', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', 'html' => array( 'type' => 'Text', ) , @@ -201,12 +213,18 @@ 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?', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'is_billing' => array( 'name' => 'is_billing', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Billing Email?') , 'description' => 'Is this the billing?', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'on_hold' => array( 'name' => 'on_hold', @@ -218,6 +236,9 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'where' => 'civicrm_email.on_hold', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', 'html' => array( 'type' => 'CheckBox', ) , @@ -232,18 +253,27 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'where' => 'civicrm_email.is_bulkmail', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'hold_date' => array( 'name' => 'hold_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Hold Date') , 'description' => 'When the address went on bounce hold', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'reset_date' => array( 'name' => 'reset_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Reset Date') , 'description' => 'When the address bounce status was last reset', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'signature_text' => array( 'name' => 'signature_text', @@ -256,6 +286,9 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , 'signature_html' => array( 'name' => 'signature_html', @@ -268,6 +301,9 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_email', + 'entity' => 'Email', + 'bao' => 'CRM_Core_BAO_Email', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/EntityFile.php b/CRM/Core/DAO/EntityFile.php index 41baea28cc..8dfd35aa09 100644 --- a/CRM/Core/DAO/EntityFile.php +++ b/CRM/Core/DAO/EntityFile.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/EntityFile.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:e5908be6be52569450e442e9fd5f0356) + * (GenCodeChecksum:59378491e72c7d8ae875c88b9a24d2c9) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,6 +110,9 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO { 'title' => ts('Entity File ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_entity_file', + 'entity' => 'EntityFile', + 'bao' => 'CRM_Core_DAO_EntityFile', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -118,6 +121,9 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO { 'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_entity_file', + 'entity' => 'EntityFile', + 'bao' => 'CRM_Core_DAO_EntityFile', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -125,6 +131,9 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_entity_file', + 'entity' => 'EntityFile', + 'bao' => 'CRM_Core_DAO_EntityFile', ) , 'file_id' => array( 'name' => 'file_id', @@ -132,6 +141,9 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO { 'title' => ts('File') , 'description' => 'FK to civicrm_file', 'required' => true, + 'table_name' => 'civicrm_entity_file', + 'entity' => 'EntityFile', + 'bao' => 'CRM_Core_DAO_EntityFile', 'FKClassName' => 'CRM_Core_DAO_File', ) , ); diff --git a/CRM/Core/DAO/EntityTag.php b/CRM/Core/DAO/EntityTag.php index 5619260735..7709f8eba4 100644 --- a/CRM/Core/DAO/EntityTag.php +++ b/CRM/Core/DAO/EntityTag.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/EntityTag.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b20b74dc25d45ec2053e8aa064530c1e) + * (GenCodeChecksum:5111634a7040650184aa7e5206b1ea56) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,6 +110,9 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO { 'title' => ts('Entity Tag ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_entity_tag', + 'entity' => 'EntityTag', + 'bao' => 'CRM_Core_BAO_EntityTag', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -118,6 +121,9 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO { 'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_entity_tag', + 'entity' => 'EntityTag', + 'bao' => 'CRM_Core_BAO_EntityTag', 'pseudoconstant' => array( 'optionGroupName' => 'tag_used_for', 'optionEditPath' => 'civicrm/admin/options/tag_used_for', @@ -129,6 +135,9 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_entity_tag', + 'entity' => 'EntityTag', + 'bao' => 'CRM_Core_BAO_EntityTag', ) , 'tag_id' => array( 'name' => 'tag_id', @@ -136,6 +145,9 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO { 'title' => ts('Tag') , 'description' => 'FK to civicrm_tag', 'required' => true, + 'table_name' => 'civicrm_entity_tag', + 'entity' => 'EntityTag', + 'bao' => 'CRM_Core_BAO_EntityTag', 'FKClassName' => 'CRM_Core_DAO_Tag', 'html' => array( 'type' => 'Select', diff --git a/CRM/Core/DAO/Extension.php b/CRM/Core/DAO/Extension.php index cc948c47f8..5874746cbc 100644 --- a/CRM/Core/DAO/Extension.php +++ b/CRM/Core/DAO/Extension.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Extension.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9f05903fb26f373b3f7715b2a5e90ce6) + * (GenCodeChecksum:d6bfb607b63fda77d26266578ac330a8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -118,6 +118,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'title' => ts('Extension ID') , 'description' => 'Local Extension ID', 'required' => true, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , 'type' => array( 'name' => 'type', @@ -126,6 +129,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'required' => true, 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', 'html' => array( 'type' => 'Select', ) , @@ -141,6 +147,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , 'name' => array( 'name' => 'name', @@ -154,6 +163,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , 'label' => array( 'name' => 'label', @@ -167,6 +179,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , 'file' => array( 'name' => 'file', @@ -180,6 +195,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , 'schema_version' => array( 'name' => 'schema_version', @@ -193,6 +211,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , 'is_active' => array( 'name' => 'is_active', @@ -200,6 +221,9 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'title' => ts('Extension is Active?') , 'description' => 'Is this extension active?', 'default' => '1', + 'table_name' => 'civicrm_extension', + 'entity' => 'Extension', + 'bao' => 'CRM_Core_BAO_Extension', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/File.php b/CRM/Core/DAO/File.php index c137365f95..5c588ce244 100644 --- a/CRM/Core/DAO/File.php +++ b/CRM/Core/DAO/File.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/File.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0eba11703ecd7155339b6527ff0f864e) + * (GenCodeChecksum:5ebcac807175fc3e3aa6030c9416fd14) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -113,12 +113,18 @@ class CRM_Core_DAO_File extends CRM_Core_DAO { 'title' => ts('File ID') , 'description' => 'Unique ID', 'required' => true, + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , 'file_type_id' => array( 'name' => 'file_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('File Type') , 'description' => 'Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.', + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , 'mime_type' => array( 'name' => 'mime_type', @@ -127,6 +133,9 @@ class CRM_Core_DAO_File extends CRM_Core_DAO { 'description' => 'mime type of the document', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , 'uri' => array( 'name' => 'uri', @@ -135,12 +144,18 @@ class CRM_Core_DAO_File extends CRM_Core_DAO { 'description' => 'uri of the file on disk', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , 'document' => array( 'name' => 'document', 'type' => CRM_Utils_Type::T_MEDIUMBLOB, 'title' => ts('File Contents') , 'description' => 'contents of the document', + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , 'description' => array( 'name' => 'description', @@ -149,12 +164,18 @@ class CRM_Core_DAO_File extends CRM_Core_DAO { 'description' => 'Additional descriptive text regarding this attachment (optional).', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , 'upload_date' => array( 'name' => 'upload_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('File Upload Date') , 'description' => 'Date and time that this attachment was uploaded or written to server.', + 'table_name' => 'civicrm_file', + 'entity' => 'File', + 'bao' => 'CRM_Core_BAO_File', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/IM.php b/CRM/Core/DAO/IM.php index 5d46129fff..d353372174 100644 --- a/CRM/Core/DAO/IM.php +++ b/CRM/Core/DAO/IM.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/IM.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f8e6b92d253482e7ad6cfd663e583d66) + * (GenCodeChecksum:53a1953d19c17bde7f130123db0284fb) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -127,12 +127,18 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { 'title' => ts('Instant Messenger ID') , 'description' => 'Unique IM ID', 'required' => true, + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('IM Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'location_type_id' => array( @@ -140,6 +146,9 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('IM Location Type') , 'description' => 'Which Location does this email belong to.', + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', 'html' => array( 'type' => 'Select', ) , @@ -161,6 +170,9 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { 'headerPattern' => '/I(nstant )?M(ess.*)?|screen(\s+)?name/i', 'dataPattern' => '/^[A-Za-z][0-9A-Za-z]{20,}$/', 'export' => true, + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', 'html' => array( 'type' => 'Text', ) , @@ -170,6 +182,9 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('IM Provider') , 'description' => 'Which IM Provider does this screen name belong to.', + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', 'html' => array( 'type' => 'Select', ) , @@ -183,12 +198,18 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is IM Primary?') , 'description' => 'Is this the primary IM for this contact and location.', + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', ) , 'is_billing' => array( 'name' => 'is_billing', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is IM Billing?') , 'description' => 'Is this the billing?', + 'table_name' => 'civicrm_im', + 'entity' => 'IM', + 'bao' => 'CRM_Core_BAO_IM', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Job.php b/CRM/Core/DAO/Job.php index 06b5f60991..2d393f3669 100644 --- a/CRM/Core/DAO/Job.php +++ b/CRM/Core/DAO/Job.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Job.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5c0e5cb30a7aaee5be8f3a2e6d23b84b) + * (GenCodeChecksum:e85676147c697d8b831063aa9e13f9b4) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -151,6 +151,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'title' => ts('Job ID') , 'description' => 'Job Id', 'required' => true, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -158,6 +161,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'title' => ts('Job Domain') , 'description' => 'Which Domain is this scheduled job for', 'required' => true, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -173,6 +179,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'Daily', + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', 'html' => array( 'type' => 'Select', ) , @@ -186,6 +195,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'title' => ts('Last Run') , 'description' => 'When was this cron entry last run', 'default' => 'NULL', + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'scheduled_run_date' => array( 'name' => 'scheduled_run_date', @@ -194,6 +206,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'description' => 'When is this cron entry scheduled to run', 'required' => false, 'default' => 'NULL', + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'name' => array( 'name' => 'name', @@ -202,6 +217,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'description' => 'Title of the job', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'description' => array( 'name' => 'description', @@ -210,6 +228,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'description' => 'Description of the job', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'api_entity' => array( 'name' => 'api_entity', @@ -218,6 +239,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'description' => 'Entity of the job api call', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'api_action' => array( 'name' => 'api_action', @@ -226,6 +250,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'description' => 'Action of the job api call', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , 'parameters' => array( 'name' => 'parameters', @@ -234,6 +261,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'description' => 'List of parameters to the command.', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', 'html' => array( 'type' => 'TextArea', ) , @@ -243,6 +273,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Job Is Active?') , 'description' => 'Is this job active?', + 'table_name' => 'civicrm_job', + 'entity' => 'Job', + 'bao' => 'CRM_Core_BAO_Job', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/JobLog.php b/CRM/Core/DAO/JobLog.php index c733221743..47ef0e816c 100644 --- a/CRM/Core/DAO/JobLog.php +++ b/CRM/Core/DAO/JobLog.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/JobLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4b0845059b2070b57b02b8b1c6c9df50) + * (GenCodeChecksum:65d0e0cdf11d956a795d2793461e4432) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -133,6 +133,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'title' => ts('Job Log ID') , 'description' => 'Job log entry Id', 'required' => true, + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -140,6 +143,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'title' => ts('Domain ID') , 'description' => 'Which Domain is this scheduled job for', 'required' => true, + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -152,12 +158,18 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TIMESTAMP, 'title' => ts('Timestamp') , 'description' => 'Log entry date', + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , 'job_id' => array( 'name' => 'job_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Job ID') , 'description' => 'Pointer to job id - not a FK though, just for logging purposes', + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , 'name' => array( 'name' => 'name', @@ -166,6 +178,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'description' => 'Title of the job', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , 'command' => array( 'name' => 'command', @@ -174,6 +189,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'description' => 'Full path to file containing job script', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , 'description' => array( 'name' => 'description', @@ -182,12 +200,18 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'description' => 'Title line of log entry', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Extended Data') , 'description' => 'Potential extended data for specific job run (e.g. tracebacks).', + 'table_name' => 'civicrm_job_log', + 'entity' => 'JobLog', + 'bao' => 'CRM_Core_DAO_JobLog', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/LocBlock.php b/CRM/Core/DAO/LocBlock.php index b7bfa920db..ff2d054bbd 100644 --- a/CRM/Core/DAO/LocBlock.php +++ b/CRM/Core/DAO/LocBlock.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/LocBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3b7c983be2e2ecc28d15c6ae02681985) + * (GenCodeChecksum:ecec4c8ded5032d2f163be6e13879e67) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -138,53 +138,80 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO { 'title' => ts('Location Block ID') , 'description' => 'Unique ID', 'required' => true, + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', ) , 'address_id' => array( 'name' => 'address_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Block Address') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_Address', ) , 'email_id' => array( 'name' => 'email_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Block Email') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_Email', ) , 'phone_id' => array( 'name' => 'phone_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Block Phone') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_Phone', ) , 'im_id' => array( 'name' => 'im_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Block IM') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_IM', ) , 'address_2_id' => array( 'name' => 'address_2_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Block IM 2') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_Address', ) , 'email_2_id' => array( 'name' => 'email_2_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Email 2') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_Email', ) , 'phone_2_id' => array( 'name' => 'phone_2_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone 2') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_Phone', ) , 'im_2_id' => array( 'name' => 'im_2_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Instant Messenger 2') , + 'table_name' => 'civicrm_loc_block', + 'entity' => 'LocBlock', + 'bao' => 'CRM_Core_DAO_LocBlock', 'FKClassName' => 'CRM_Core_DAO_IM', ) , ); diff --git a/CRM/Core/DAO/LocationType.php b/CRM/Core/DAO/LocationType.php index ee92fb6d99..90aa78f6ae 100644 --- a/CRM/Core/DAO/LocationType.php +++ b/CRM/Core/DAO/LocationType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/LocationType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f0327e335eb583862d2bd8afad6444ac) + * (GenCodeChecksum:0b798f6f542204b5746806626f24361c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -119,6 +119,9 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'title' => ts('Location Type ID') , 'description' => 'Location Type ID', 'required' => true, + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'name' => array( 'name' => 'name', @@ -127,6 +130,9 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => 'Location Type Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'display_name' => array( 'name' => 'display_name', @@ -135,6 +141,9 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => 'Location Type Display Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'vcard_name' => array( 'name' => 'vcard_name', @@ -143,6 +152,9 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => 'vCard Location Type Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'description' => array( 'name' => 'description', @@ -151,24 +163,36 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { 'description' => 'Location Type Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Location Type is Reserved?') , 'description' => 'Is this location type a predefined system location?', + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Location Type is Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Default Location Type?') , 'description' => 'Is this location type the default?', + 'table_name' => 'civicrm_location_type', + 'entity' => 'LocationType', + 'bao' => 'CRM_Core_BAO_LocationType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Log.php b/CRM/Core/DAO/Log.php index a481f4d635..9b674bb136 100644 --- a/CRM/Core/DAO/Log.php +++ b/CRM/Core/DAO/Log.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Log.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:316a8a9a9d716cc5847f05668de2c331) + * (GenCodeChecksum:a0c51596a4ccc5f07a5dcec00bbb7231) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -122,6 +122,9 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO { 'title' => ts('Log ID') , 'description' => 'Log ID', 'required' => true, + 'table_name' => 'civicrm_log', + 'entity' => 'Log', + 'bao' => 'CRM_Core_BAO_Log', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -131,6 +134,9 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_log', + 'entity' => 'Log', + 'bao' => 'CRM_Core_BAO_Log', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -138,18 +144,27 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO { 'title' => ts('Entity ID ') , 'description' => 'Foreign key to the referenced item.', 'required' => true, + 'table_name' => 'civicrm_log', + 'entity' => 'Log', + 'bao' => 'CRM_Core_BAO_Log', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Data') , 'description' => 'Updates does to this object if any.', + 'table_name' => 'civicrm_log', + 'entity' => 'Log', + 'bao' => 'CRM_Core_BAO_Log', ) , 'modified_id' => array( 'name' => 'modified_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Modified By') , 'description' => 'FK to Contact ID of person under whose credentials this data modification was made.', + 'table_name' => 'civicrm_log', + 'entity' => 'Log', + 'bao' => 'CRM_Core_BAO_Log', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'modified_date' => array( @@ -157,6 +172,9 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Modified Date') , 'description' => 'When was the referenced entity created or modified or deleted.', + 'table_name' => 'civicrm_log', + 'entity' => 'Log', + 'bao' => 'CRM_Core_BAO_Log', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/MailSettings.php b/CRM/Core/DAO/MailSettings.php index c45dfbece1..32dd11b9ab 100644 --- a/CRM/Core/DAO/MailSettings.php +++ b/CRM/Core/DAO/MailSettings.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/MailSettings.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:16f3698a9997d082948fd562d6782962) + * (GenCodeChecksum:0e3685a7f3ef7351dd7539dc0320cb1e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -169,6 +169,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'title' => ts('Mail Settings ID') , 'description' => 'primary key', 'required' => true, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -176,6 +179,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'title' => ts('Mail Settings Domain') , 'description' => 'Which Domain is this match entry for', 'required' => true, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -190,12 +196,18 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'name of this group of settings', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Default Mail Settings?') , 'description' => 'whether this is the default set of settings for this domain', + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'domain' => array( 'name' => 'domain', @@ -204,6 +216,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'email address domain (the part after @)', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'localpart' => array( 'name' => 'localpart', @@ -212,6 +227,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'optional local part (like civimail+ for addresses like civimail+s.1.2@example.com)', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'return_path' => array( 'name' => 'return_path', @@ -220,6 +238,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'contents of the Return-Path header', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'protocol' => array( 'name' => 'protocol', @@ -228,6 +249,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'name of the protocol to use for polling (like IMAP, POP3 or Maildir)', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', 'html' => array( 'type' => 'Select', ) , @@ -243,12 +267,18 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'server to use when polling', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'port' => array( 'name' => 'port', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mail Port') , 'description' => 'port to use when polling', + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'username' => array( 'name' => 'username', @@ -257,6 +287,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'username to use when polling', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'password' => array( 'name' => 'password', @@ -265,12 +298,18 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'password to use when polling', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'is_ssl' => array( 'name' => 'is_ssl', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Mail Account Uses SSL') , 'description' => 'whether to use SSL or not', + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , 'source' => array( 'name' => 'source', @@ -279,6 +318,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { 'description' => 'folder to poll from when using IMAP, path to poll from when using Maildir, etc.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mail_settings', + 'entity' => 'MailSettings', + 'bao' => 'CRM_Core_BAO_MailSettings', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Managed.php b/CRM/Core/DAO/Managed.php index 16ffe22257..b5d4a9159f 100644 --- a/CRM/Core/DAO/Managed.php +++ b/CRM/Core/DAO/Managed.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Managed.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c6ff05c82573ab973ddae2bd839a5a6d) + * (GenCodeChecksum:1eadd6ffdb011ed6d4ff672f1e629719) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -107,6 +107,9 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { 'title' => ts('Managed ID') , 'description' => 'Surrogate Key', 'required' => true, + 'table_name' => 'civicrm_managed', + 'entity' => 'Managed', + 'bao' => 'CRM_Core_DAO_Managed', ) , 'module' => array( 'name' => 'module', @@ -116,6 +119,9 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { 'required' => true, 'maxlength' => 127, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_managed', + 'entity' => 'Managed', + 'bao' => 'CRM_Core_DAO_Managed', ) , 'name' => array( 'name' => 'name', @@ -124,6 +130,9 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { 'description' => 'Symbolic name used by the module to identify the object', 'maxlength' => 127, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_managed', + 'entity' => 'Managed', + 'bao' => 'CRM_Core_DAO_Managed', ) , 'entity_type' => array( 'name' => 'entity_type', @@ -133,6 +142,9 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_managed', + 'entity' => 'Managed', + 'bao' => 'CRM_Core_DAO_Managed', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -140,6 +152,9 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'Foreign key to the referenced item.', 'required' => true, + 'table_name' => 'civicrm_managed', + 'entity' => 'Managed', + 'bao' => 'CRM_Core_DAO_Managed', ) , 'cleanup' => array( 'name' => 'cleanup', @@ -148,6 +163,9 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { 'description' => 'Policy on when to cleanup entity (always, never, unused)', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_managed', + 'entity' => 'Managed', + 'bao' => 'CRM_Core_DAO_Managed', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Core/DAO/Mapping.php b/CRM/Core/DAO/Mapping.php index 94377e5180..7c7bfbf5aa 100644 --- a/CRM/Core/DAO/Mapping.php +++ b/CRM/Core/DAO/Mapping.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Mapping.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4e293e6d117828f1e2000de5a4a0d0c0) + * (GenCodeChecksum:87937c4e117abc8cd9ed04c2f054d26f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -95,6 +95,9 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO { 'title' => ts('Mapping ID') , 'description' => 'Mapping ID', 'required' => true, + 'table_name' => 'civicrm_mapping', + 'entity' => 'Mapping', + 'bao' => 'CRM_Core_BAO_Mapping', ) , 'name' => array( 'name' => 'name', @@ -103,6 +106,9 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO { 'description' => 'Name of Mapping', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_mapping', + 'entity' => 'Mapping', + 'bao' => 'CRM_Core_BAO_Mapping', ) , 'description' => array( 'name' => 'description', @@ -111,12 +117,18 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO { 'description' => 'Description of Mapping.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mapping', + 'entity' => 'Mapping', + 'bao' => 'CRM_Core_BAO_Mapping', ) , 'mapping_type_id' => array( 'name' => 'mapping_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mapping Type') , 'description' => 'Mapping Type', + 'table_name' => 'civicrm_mapping', + 'entity' => 'Mapping', + 'bao' => 'CRM_Core_BAO_Mapping', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Core/DAO/MappingField.php b/CRM/Core/DAO/MappingField.php index aa1361a992..e4a9fd867e 100644 --- a/CRM/Core/DAO/MappingField.php +++ b/CRM/Core/DAO/MappingField.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/MappingField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1488c12897446c8720328c904584442e) + * (GenCodeChecksum:935db8f08ad2cb16367389613e1097a3) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -171,6 +171,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'title' => ts('Mapping Field ID') , 'description' => 'Mapping Field ID', 'required' => true, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , 'mapping_id' => array( 'name' => 'mapping_id', @@ -178,6 +181,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'title' => ts('Mapping ID') , 'description' => 'Mapping to which this field belongs', 'required' => true, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'FKClassName' => 'CRM_Core_DAO_Mapping', ) , 'name' => array( @@ -187,6 +193,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'description' => 'Mapping field key', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , 'contact_type' => array( 'name' => 'contact_type', @@ -195,6 +204,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'description' => 'Contact Type in mapping', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'html' => array( 'type' => 'Select', ) , @@ -205,12 +217,18 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'title' => ts('Column Number') , 'description' => 'Column number for mapping set', 'required' => true, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , 'location_type_id' => array( 'name' => 'location_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location type ID') , 'description' => 'Location type of this mapping, if required', + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'FKClassName' => 'CRM_Core_DAO_LocationType', ) , 'phone_type_id' => array( @@ -218,12 +236,18 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone type ID') , 'description' => 'Which type of phone does this number belongs.', + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , 'im_provider_id' => array( 'name' => 'im_provider_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('IM provider ID') , 'description' => 'Which type of IM Provider does this name belong.', + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'html' => array( 'type' => 'Select', ) , @@ -237,6 +261,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Website type ID') , 'description' => 'Which type of website does this site belong', + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'html' => array( 'type' => 'Select', ) , @@ -250,6 +277,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Relationship type ID') , 'description' => 'Relationship type, if required', + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'FKClassName' => 'CRM_Contact_DAO_RelationshipType', ) , 'relationship_direction' => array( @@ -258,6 +288,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'title' => ts('Relationship Direction') , 'maxlength' => 6, 'size' => CRM_Utils_Type::SIX, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , 'grouping' => array( 'name' => 'grouping', @@ -267,6 +300,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { mappings). ', 'default' => '1', + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , 'operator' => array( 'name' => 'operator', @@ -275,6 +311,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'description' => 'SQL WHERE operator for search-builder mapping fields (search criteria).', 'maxlength' => 16, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', 'html' => array( 'type' => 'Select', ) , @@ -289,6 +328,9 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'description' => 'SQL WHERE value for search-builder mapping fields.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mapping_field', + 'entity' => 'MappingField', + 'bao' => 'CRM_Core_DAO_MappingField', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Menu.php b/CRM/Core/DAO/Menu.php index bd7cac3bb3..2142548933 100644 --- a/CRM/Core/DAO/Menu.php +++ b/CRM/Core/DAO/Menu.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Menu.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:cde2f8bb660dfd2d166e6a3a6c231178) + * (GenCodeChecksum:6b8b04ecdcad520cc0d209ea00c338c0) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -209,6 +209,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Menu ID') , 'required' => true, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -216,6 +219,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'title' => ts('Domain') , 'description' => 'Which Domain is this menu item for', 'required' => true, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -230,12 +236,18 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'Path Name', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'path_arguments' => array( 'name' => 'path_arguments', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Arguments') , 'description' => 'Arguments to pass to the url', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'title' => array( 'name' => 'title', @@ -243,6 +255,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'title' => ts('Menu Title') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'access_callback' => array( 'name' => 'access_callback', @@ -251,12 +266,18 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'Function to call to check access permissions', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'access_arguments' => array( 'name' => 'access_arguments', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Access Arguments') , 'description' => 'Arguments to pass to access callback', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'page_callback' => array( 'name' => 'page_callback', @@ -265,18 +286,27 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'function to call for this url', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'page_arguments' => array( 'name' => 'page_arguments', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Page Arguments') , 'description' => 'Arguments to pass to page callback', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'breadcrumb' => array( 'name' => 'breadcrumb', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Breadcrumb') , 'description' => 'Breadcrumb for the path.', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'return_url' => array( 'name' => 'return_url', @@ -285,6 +315,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'Url where a page should redirected to, if next url not known.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'return_url_args' => array( 'name' => 'return_url_args', @@ -293,12 +326,18 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'Arguments to pass to return_url', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'component_id' => array( 'name' => 'component_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Component') , 'description' => 'Component that this menu item belongs to', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', 'FKClassName' => 'CRM_Core_DAO_Component', 'html' => array( 'type' => 'Select', @@ -314,24 +353,36 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Enabled?') , 'description' => 'Is this menu item active?', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'is_public' => array( 'name' => 'is_public', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Public?') , 'description' => 'Is this menu accessible to the public?', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'is_exposed' => array( 'name' => 'is_exposed', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Exposed?') , 'description' => 'Is this menu exposed to the navigation system?', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'is_ssl' => array( 'name' => 'is_ssl', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Use SSL?') , 'description' => 'Should this menu be exposed via SSL if enabled?', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'weight' => array( 'name' => 'weight', @@ -340,6 +391,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'Ordering of the menu items in various blocks.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'type' => array( 'name' => 'type', @@ -348,6 +402,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'Drupal menu type.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'page_type' => array( 'name' => 'page_type', @@ -356,12 +413,18 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'description' => 'CiviCRM menu type.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , 'skipBreadcrumb' => array( 'name' => 'skipBreadcrumb', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Hide Breadcrumb?') , 'description' => 'skip this url being exposed to breadcrumb', + 'table_name' => 'civicrm_menu', + 'entity' => 'Menu', + 'bao' => 'CRM_Core_DAO_Menu', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/MessageTemplate.php b/CRM/Core/DAO/MessageTemplate.php index 3303762216..5d03c8eac4 100644 --- a/CRM/Core/DAO/MessageTemplate.php +++ b/CRM/Core/DAO/MessageTemplate.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/MessageTemplate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3fbfb8f01af4d15128b6e3982d9337d9) + * (GenCodeChecksum:eb871e98ab4f44d12853c54bd78c8077) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -136,6 +136,9 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { 'title' => ts('Message Template ID') , 'description' => 'Message Template ID', 'required' => true, + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'msg_title' => array( 'name' => 'msg_title', @@ -144,18 +147,27 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { 'description' => 'Descriptive title of message', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'msg_subject' => array( 'name' => 'msg_subject', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Message Template Subject') , 'description' => 'Subject for email message.', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'msg_text' => array( 'name' => 'msg_text', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Message Template Text') , 'description' => 'Text formatted message', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', 'html' => array( 'type' => 'TextArea', ) , @@ -165,6 +177,9 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Message Template HTML') , 'description' => 'HTML formatted message', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', 'html' => array( 'type' => 'RichTextEditor', ) , @@ -174,12 +189,18 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Active') , 'default' => '1', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'workflow_id' => array( 'name' => 'workflow_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Message Template Workflow') , 'description' => 'a pseudo-FK to civicrm_option_value', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'is_default' => array( 'name' => 'is_default', @@ -187,24 +208,36 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { 'title' => ts('Message Template Is Default?') , 'description' => 'is this the default message template for the workflow referenced by workflow_id?', 'default' => '1', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Message Template Is Reserved?') , 'description' => 'is this the reserved message template which we ship for the workflow referenced by workflow_id?', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'is_sms' => array( 'name' => 'is_sms', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Message Template is used for SMS?') , 'description' => 'Is this message template used for sms?', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', ) , 'pdf_format_id' => array( 'name' => 'pdf_format_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Message Template Format') , 'description' => 'a pseudo-FK to civicrm_option_value containing PDF Page Format.', + 'table_name' => 'civicrm_msg_template', + 'entity' => 'MessageTemplate', + 'bao' => 'CRM_Core_BAO_MessageTemplate', 'pseudoconstant' => array( 'optionGroupName' => 'pdf_format', 'keyColumn' => 'id', diff --git a/CRM/Core/DAO/Navigation.php b/CRM/Core/DAO/Navigation.php index e4e230b873..936857267c 100644 --- a/CRM/Core/DAO/Navigation.php +++ b/CRM/Core/DAO/Navigation.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Navigation.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:54cd16aaee611bffac63ee4fa10787fa) + * (GenCodeChecksum:6bcfc36c3844541d96395d62c5f1b33e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -150,6 +150,9 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Navigation ID') , 'required' => true, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -157,6 +160,9 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'title' => ts('Navigation Domain') , 'description' => 'Which Domain is this navigation item for', 'required' => true, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -171,6 +177,9 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'description' => 'Navigation Title', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'name' => array( 'name' => 'name', @@ -179,6 +188,9 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'description' => 'Internal Name', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'url' => array( 'name' => 'url', @@ -187,6 +199,9 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'description' => 'url in case of custom navigation link', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'permission' => array( 'name' => 'permission', @@ -195,6 +210,9 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'description' => 'Permission for menu item', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'permission_operator' => array( 'name' => 'permission_operator', @@ -203,12 +221,18 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'description' => 'Permission Operator', 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'parent_id' => array( 'name' => 'parent_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Navigation parent ID') , 'description' => 'Parent navigation item, used for grouping', + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', 'FKClassName' => 'CRM_Core_DAO_Navigation', 'pseudoconstant' => array( 'table' => 'civicrm_navigation', @@ -222,18 +246,27 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Active') , 'description' => 'Is this navigation item active?', + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'has_separator' => array( 'name' => 'has_separator', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Use separator') , 'description' => 'If separator needs to be added after this menu item', + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , 'weight' => array( 'name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , 'description' => 'Ordering of the navigation items in various blocks.', + 'table_name' => 'civicrm_navigation', + 'entity' => 'Navigation', + 'bao' => 'CRM_Core_BAO_Navigation', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Note.php b/CRM/Core/DAO/Note.php index 5c02eeae5f..cf62bc16e4 100644 --- a/CRM/Core/DAO/Note.php +++ b/CRM/Core/DAO/Note.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Note.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:685b6d9d10917535fe9fdf3f63f4a559) + * (GenCodeChecksum:ad394e9a106ae70fd38afdbe29030fae) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -134,6 +134,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'title' => ts('Note ID') , 'description' => 'Note ID', 'required' => true, + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -143,6 +146,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', 'pseudoconstant' => array( 'callback' => 'CRM_Core_BAO_Note::entityTables', ) @@ -153,6 +159,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'title' => ts('Note Entity ID') , 'description' => 'Foreign key to the referenced item.', 'required' => true, + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', ) , 'note' => array( 'name' => 'note', @@ -166,6 +175,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'headerPattern' => '/Note|Comment/i', 'dataPattern' => '//', 'export' => true, + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', 'html' => array( 'type' => 'TextArea', ) , @@ -175,6 +187,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Note Created By') , 'description' => 'FK to Contact ID creator', + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'modified_date' => array( @@ -182,6 +197,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Note Modified By') , 'description' => 'When was this note last modified/edited', + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', ) , 'subject' => array( 'name' => 'subject', @@ -190,6 +208,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'description' => 'subject of note description', 'maxlength' => 255, 'size' => 60, + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', 'html' => array( 'type' => 'Text', ) , @@ -201,6 +222,9 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { 'description' => 'Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_note', + 'entity' => 'Note', + 'bao' => 'CRM_Core_BAO_Note', 'pseudoconstant' => array( 'optionGroupName' => 'note_privacy', 'optionEditPath' => 'civicrm/admin/options/note_privacy', diff --git a/CRM/Core/DAO/OpenID.php b/CRM/Core/DAO/OpenID.php index a50918c9c7..153c55cfba 100644 --- a/CRM/Core/DAO/OpenID.php +++ b/CRM/Core/DAO/OpenID.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/OpenID.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3efcaf2616702a4f0de774761beea36b) + * (GenCodeChecksum:901c3d244415b1f62513c4cb0acabb40) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -121,12 +121,18 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'title' => ts('Open ID identifier') , 'description' => 'Unique OpenID ID', 'required' => true, + 'table_name' => 'civicrm_openid', + 'entity' => 'OpenID', + 'bao' => 'CRM_Core_BAO_OpenID', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('OpenID Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_openid', + 'entity' => 'OpenID', + 'bao' => 'CRM_Core_BAO_OpenID', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'location_type_id' => array( @@ -134,6 +140,9 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('OpenID Location Type') , 'description' => 'Which Location does this email belong to.', + 'table_name' => 'civicrm_openid', + 'entity' => 'OpenID', + 'bao' => 'CRM_Core_BAO_OpenID', ) , 'openid' => array( 'name' => 'openid', @@ -148,6 +157,9 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'dataPattern' => '/^[\w\/\:\.]+$/', 'export' => true, 'rule' => 'url', + 'table_name' => 'civicrm_openid', + 'entity' => 'OpenID', + 'bao' => 'CRM_Core_BAO_OpenID', ) , 'allowed_to_login' => array( 'name' => 'allowed_to_login', @@ -155,12 +167,18 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'title' => ts('Allowed to login?') , 'description' => 'Whether or not this user is allowed to login', 'required' => true, + 'table_name' => 'civicrm_openid', + 'entity' => 'OpenID', + 'bao' => 'CRM_Core_BAO_OpenID', ) , 'is_primary' => array( 'name' => 'is_primary', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is OpenID Primary?') , 'description' => 'Is this the primary email for this contact and location.', + 'table_name' => 'civicrm_openid', + 'entity' => 'OpenID', + 'bao' => 'CRM_Core_BAO_OpenID', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/OptionGroup.php b/CRM/Core/DAO/OptionGroup.php index e65fd4b629..25c8337a41 100644 --- a/CRM/Core/DAO/OptionGroup.php +++ b/CRM/Core/DAO/OptionGroup.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/OptionGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5b506b744806a9089160f2f99714a26a) + * (GenCodeChecksum:2e3db1094947600ecdc89b4d3255111c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -119,6 +119,9 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { 'title' => ts('Option Group ID') , 'description' => 'Option Group ID', 'required' => true, + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , 'name' => array( 'name' => 'name', @@ -128,6 +131,9 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , 'title' => array( 'name' => 'title', @@ -136,6 +142,9 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { 'description' => 'Option Group title.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , 'description' => array( 'name' => 'description', @@ -144,6 +153,9 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { 'description' => 'Option group description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , 'data_type' => array( 'name' => 'data_type', @@ -152,6 +164,9 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { 'description' => 'Option group description.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', 'pseudoconstant' => array( 'callback' => 'CRM_Utils_Type::dataTypes', ) @@ -162,18 +177,27 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { 'title' => ts('Option Group Is Reserved?') , 'description' => 'Is this a predefined system option group (i.e. it can not be deleted)?', 'default' => '1', + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Option Group Is Active?') , 'description' => 'Is this option group active?', + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , 'is_locked' => array( 'name' => 'is_locked', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Option Group Is Locked') , 'description' => 'A lock to remove the ability to add new options via the UI.', + 'table_name' => 'civicrm_option_group', + 'entity' => 'OptionGroup', + 'bao' => 'CRM_Core_BAO_OptionGroup', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/OptionValue.php b/CRM/Core/DAO/OptionValue.php index 501abacdec..0421faf71a 100644 --- a/CRM/Core/DAO/OptionValue.php +++ b/CRM/Core/DAO/OptionValue.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/OptionValue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fdf2f62ba69b54da0567362493827448) + * (GenCodeChecksum:6b362793b6f41ccdaa6281af6d6e7f46) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -194,6 +194,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'title' => ts('Option Value ID') , 'description' => 'Option ID', 'required' => true, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'option_group_id' => array( 'name' => 'option_group_id', @@ -201,6 +204,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'title' => ts('Option Group ID') , 'description' => 'Group which this option belongs to.', 'required' => true, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', 'FKClassName' => 'CRM_Core_DAO_OptionGroup', 'html' => array( 'type' => 'Select', @@ -219,6 +225,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'required' => true, 'maxlength' => 512, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'value' => array( 'name' => 'value', @@ -228,6 +237,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'required' => true, 'maxlength' => 512, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'name' => array( 'name' => 'name', @@ -241,6 +253,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'grouping' => array( 'name' => 'grouping', @@ -249,18 +264,27 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'description' => 'Use to sort and/or set display properties for sub-set(s) of options within an option group. EXAMPLE: Use for college_interest field, to differentiate partners from non-partners.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'filter' => array( 'name' => 'filter', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Filter') , 'description' => 'Bitwise logic can be used to create subsets of options within an option_group for different uses.', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Option is Default?') , 'description' => 'Is this the default option for the group?', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'weight' => array( 'name' => 'weight', @@ -268,6 +292,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'title' => ts('Order') , 'description' => 'Controls display sort order.', 'required' => true, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'description' => array( 'name' => 'description', @@ -276,6 +303,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'description' => 'Optional description.', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', 'html' => array( 'type' => 'TextArea', ) , @@ -285,12 +315,18 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Option is Header?') , 'description' => 'Is this row simply a display header? Expected usage is to render these as OPTGROUP tags within a SELECT field list of options?', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Option Is Reserved?') , 'description' => 'Is this a predefined system object?', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'is_active' => array( 'name' => 'is_active', @@ -298,12 +334,18 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'title' => ts('Option Is Active') , 'description' => 'Is this option active?', 'default' => '1', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'component_id' => array( 'name' => 'component_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Option Component') , 'description' => 'Component that this option value belongs/caters to.', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', 'FKClassName' => 'CRM_Core_DAO_Component', 'html' => array( 'type' => 'Select', @@ -319,6 +361,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Option Domain') , 'description' => 'Which Domain is this option value for', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -331,6 +376,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Option Visibility') , 'default' => 'NULL', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'icon' => array( 'name' => 'icon', @@ -340,6 +388,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , 'color' => array( 'name' => 'color', @@ -349,6 +400,9 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_option_value', + 'entity' => 'OptionValue', + 'bao' => 'CRM_Core_BAO_OptionValue', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Persistent.php b/CRM/Core/DAO/Persistent.php index 2a78ac2006..a3257570f7 100644 --- a/CRM/Core/DAO/Persistent.php +++ b/CRM/Core/DAO/Persistent.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Persistent.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9b08831f82375bb41e0f54c03b69b79e) + * (GenCodeChecksum:435a9aa78f94ebc91ddf5cccd749c06c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'title' => ts('Persistent ID') , 'description' => 'Persistent Record Id', 'required' => true, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'context' => array( 'name' => 'context', @@ -110,6 +113,9 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'name' => array( 'name' => 'name', @@ -119,12 +125,18 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Data') , 'description' => 'data associated with name', + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'is_config' => array( 'name' => 'is_config', @@ -132,6 +144,9 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'title' => ts('Is Configuration?') , 'description' => 'Config Settings', 'required' => true, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Phone.php b/CRM/Core/DAO/Phone.php index 2ce49e2d65..ca615e0fee 100644 --- a/CRM/Core/DAO/Phone.php +++ b/CRM/Core/DAO/Phone.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Phone.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:97437ba9054b6175f63fe45e1756081f) + * (GenCodeChecksum:5c4a5cc072b2fbe3bef7323078037a39) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -145,12 +145,18 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'title' => ts('Phone ID') , 'description' => 'Unique Phone ID', 'required' => true, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'location_type_id' => array( @@ -158,6 +164,9 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone Location Type') , 'description' => 'Which Location does this phone belong to.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', 'html' => array( 'type' => 'Select', ) , @@ -172,18 +181,27 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Phone Primary?') , 'description' => 'Is this the primary phone for this contact and location.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', ) , 'is_billing' => array( 'name' => 'is_billing', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Billing Phone') , 'description' => 'Is this the billing?', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', ) , 'mobile_provider_id' => array( 'name' => 'mobile_provider_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mobile Provider') , 'description' => 'Which Mobile Provider does this phone belong to.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', ) , 'phone' => array( 'name' => 'phone', @@ -197,6 +215,9 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'headerPattern' => '/phone/i', 'dataPattern' => '/^[\d\(\)\-\.\s]+$/', 'export' => true, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', 'html' => array( 'type' => 'Text', ) , @@ -213,6 +234,9 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'headerPattern' => '/extension/i', 'dataPattern' => '/^\d+$/', 'export' => true, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', 'html' => array( 'type' => 'Text', ) , @@ -224,12 +248,18 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { 'description' => 'Phone number stripped of all whitespace, letters, and punctuation.', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', ) , 'phone_type_id' => array( 'name' => 'phone_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone Type') , 'description' => 'Which type of phone does this number belongs.', + 'table_name' => 'civicrm_phone', + 'entity' => 'Phone', + 'bao' => 'CRM_Core_BAO_Phone', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Core/DAO/PreferencesDate.php b/CRM/Core/DAO/PreferencesDate.php index 92f4df910f..333b574278 100644 --- a/CRM/Core/DAO/PreferencesDate.php +++ b/CRM/Core/DAO/PreferencesDate.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/PreferencesDate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:85f54758c28f13fd4ec48f1bf45a9875) + * (GenCodeChecksum:83439f40bb9575f11349e417c71ca68e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -111,6 +111,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Date Preference ID') , 'required' => true, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , 'name' => array( 'name' => 'name', @@ -120,6 +123,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , 'description' => array( 'name' => 'description', @@ -128,6 +134,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'description' => 'Description of this date type.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , 'start' => array( 'name' => 'start', @@ -135,6 +144,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'title' => ts('Start') , 'description' => 'The start offset relative to current year', 'required' => true, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , 'end' => array( 'name' => 'end', @@ -142,6 +154,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'title' => ts('End Offset') , 'description' => 'The end offset relative to current year, can be negative', 'required' => true, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , 'date_format' => array( 'name' => 'date_format', @@ -150,6 +165,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'description' => 'The date type', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , 'time_format' => array( 'name' => 'time_format', @@ -158,6 +176,9 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { 'description' => 'time format', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_preferences_date', + 'entity' => 'PreferencesDate', + 'bao' => 'CRM_Core_BAO_PreferencesDate', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/PrevNextCache.php b/CRM/Core/DAO/PrevNextCache.php index 2379d858ec..cb2038220d 100644 --- a/CRM/Core/DAO/PrevNextCache.php +++ b/CRM/Core/DAO/PrevNextCache.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/PrevNextCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:50673715dba67219734f6235bf18f0db) + * (GenCodeChecksum:c8b28aa80b16b802dadc6f922048fc7d) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,6 +110,9 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Prev Next Cache ID') , 'required' => true, + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -118,6 +121,9 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO { 'description' => 'physical tablename for entity being joined to discount, e.g. civicrm_event', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , 'entity_id1' => array( 'name' => 'entity_id1', @@ -125,6 +131,9 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO { 'title' => ts('Prev Next Entity ID 1') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , 'entity_id2' => array( 'name' => 'entity_id2', @@ -132,6 +141,9 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO { 'title' => ts('Prev Next Entity ID 2') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , 'cacheKey' => array( 'name' => 'cacheKey', @@ -140,17 +152,26 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO { 'description' => 'Unique path name for cache element of the searched item', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Prev Next Data') , 'description' => 'cached snapshot of the serialized data', + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , 'is_selected' => array( 'name' => 'is_selected', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Selected') , + 'table_name' => 'civicrm_prevnext_cache', + 'entity' => 'PrevNextCache', + 'bao' => 'CRM_Core_BAO_PrevNextCache', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/PrintLabel.php b/CRM/Core/DAO/PrintLabel.php index 126d009b87..b3d0281fe3 100644 --- a/CRM/Core/DAO/PrintLabel.php +++ b/CRM/Core/DAO/PrintLabel.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/PrintLabel.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f918d361f86f65ae2e6691b2d2dc062f) + * (GenCodeChecksum:bcabbb7ab1a643e2aeafe9cc0714027b) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -149,6 +149,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Print Label ID') , 'required' => true, + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'title' => array( 'name' => 'title', @@ -157,6 +160,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'description' => 'User title for for this label layout', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'name' => array( 'name' => 'name', @@ -165,12 +171,18 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'description' => 'variable name/programmatic handle for this field.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'description' => array( 'name' => 'description', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Description') , 'description' => 'Description of this label layout', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'label_format_name' => array( 'name' => 'label_format_name', @@ -179,6 +191,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'description' => 'This refers to name column of civicrm_option_value row in name_badge option group', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', 'html' => array( 'type' => 'Select', ) , @@ -192,6 +207,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Label Type') , 'description' => 'Implicit FK to civicrm_option_value row in NEW label_type option group', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', 'html' => array( 'type' => 'Select', ) , @@ -205,6 +223,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Data') , 'description' => 'contains json encode configurations options', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'is_default' => array( 'name' => 'is_default', @@ -212,6 +233,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'title' => ts('Label is Default?') , 'description' => 'Is this default?', 'default' => '1', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'is_active' => array( 'name' => 'is_active', @@ -219,6 +243,9 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'title' => ts('Label Is Active?') , 'description' => 'Is this option active?', 'default' => '1', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'is_reserved' => array( 'name' => 'is_reserved', @@ -226,12 +253,18 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { 'title' => ts('Is Label Reserved?') , 'description' => 'Is this reserved label?', 'default' => '1', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Label Created By') , 'description' => 'FK to civicrm_contact, who created this label layout', + 'table_name' => 'civicrm_print_label', + 'entity' => 'PrintLabel', + 'bao' => 'CRM_Core_DAO_PrintLabel', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Core/DAO/RecurringEntity.php b/CRM/Core/DAO/RecurringEntity.php index 914292600f..016ec1580b 100644 --- a/CRM/Core/DAO/RecurringEntity.php +++ b/CRM/Core/DAO/RecurringEntity.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/RecurringEntity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:313755d167ca428c11a245f50a786127) + * (GenCodeChecksum:5fb23a9b10fd9ba0dad2bfa4f28bd95a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -99,6 +99,9 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('ID') , 'required' => true, + 'table_name' => 'civicrm_recurring_entity', + 'entity' => 'RecurringEntity', + 'bao' => 'CRM_Core_BAO_RecurringEntity', ) , 'parent_id' => array( 'name' => 'parent_id', @@ -106,12 +109,18 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { 'title' => ts('Parent ID') , 'description' => 'Recurring Entity Parent ID', 'required' => true, + 'table_name' => 'civicrm_recurring_entity', + 'entity' => 'RecurringEntity', + 'bao' => 'CRM_Core_BAO_RecurringEntity', ) , 'entity_id' => array( 'name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity ID') , 'description' => 'Recurring Entity Child ID', + 'table_name' => 'civicrm_recurring_entity', + 'entity' => 'RecurringEntity', + 'bao' => 'CRM_Core_BAO_RecurringEntity', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -121,6 +130,9 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_recurring_entity', + 'entity' => 'RecurringEntity', + 'bao' => 'CRM_Core_BAO_RecurringEntity', ) , 'mode' => array( 'name' => 'mode', @@ -129,6 +141,9 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { 'description' => '1-this entity, 2-this and the following entities, 3-all the entities', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_recurring_entity', + 'entity' => 'RecurringEntity', + 'bao' => 'CRM_Core_BAO_RecurringEntity', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Setting.php b/CRM/Core/DAO/Setting.php index 27f6cd882f..7a81395814 100644 --- a/CRM/Core/DAO/Setting.php +++ b/CRM/Core/DAO/Setting.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Setting.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:cc5f4aca441eb6d874c637a53cabddd8) + * (GenCodeChecksum:91a0de9ff5f2bffc9dee33e917c07899) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -140,6 +140,9 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Setting ID') , 'required' => true, + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', ) , 'name' => array( 'name' => 'name', @@ -148,12 +151,18 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { 'description' => 'Unique name for setting', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', ) , 'value' => array( 'name' => 'value', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Value') , 'description' => 'data associated with this group / name combo', + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -161,6 +170,9 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { 'title' => ts('Setting Domain') , 'description' => 'Which Domain is this menu item for', 'required' => true, + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -173,6 +185,9 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Setting Contact') , 'description' => 'FK to Contact ID if the setting is localized to a contact', + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'is_domain' => array( @@ -180,12 +195,18 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Domain Setting?') , 'description' => 'Is this setting a contact specific or site wide setting?', + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', ) , 'component_id' => array( 'name' => 'component_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Setting Component') , 'description' => 'Component that this menu item belongs to', + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', 'FKClassName' => 'CRM_Core_DAO_Component', 'html' => array( 'type' => 'Select', @@ -201,12 +222,18 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Setting Created Date') , 'description' => 'When was the setting created', + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Setting Created By') , 'description' => 'FK to civicrm_contact, who created this setting', + 'table_name' => 'civicrm_setting', + 'entity' => 'Setting', + 'bao' => 'CRM_Core_BAO_Setting', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Core/DAO/StateProvince.php b/CRM/Core/DAO/StateProvince.php index b3f257f9fc..8b35cc4988 100644 --- a/CRM/Core/DAO/StateProvince.php +++ b/CRM/Core/DAO/StateProvince.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/StateProvince.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:70c072816098c4cbd13b7c13218c35e8) + * (GenCodeChecksum:e5dfa02e49518692335417068be35aa9) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -109,6 +109,9 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO { 'title' => ts('State ID') , 'description' => 'State/Province ID', 'required' => true, + 'table_name' => 'civicrm_state_province', + 'entity' => 'StateProvince', + 'bao' => 'CRM_Core_DAO_StateProvince', ) , 'name' => array( 'name' => 'name', @@ -122,6 +125,9 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO { 'headerPattern' => '/state|prov(ince)?/i', 'dataPattern' => '/[A-Z]{2}/', 'export' => true, + 'table_name' => 'civicrm_state_province', + 'entity' => 'StateProvince', + 'bao' => 'CRM_Core_DAO_StateProvince', ) , 'abbreviation' => array( 'name' => 'abbreviation', @@ -130,6 +136,9 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO { 'description' => '2-4 Character Abbreviation of State/Province', 'maxlength' => 4, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_state_province', + 'entity' => 'StateProvince', + 'bao' => 'CRM_Core_DAO_StateProvince', ) , 'country_id' => array( 'name' => 'country_id', @@ -137,6 +146,9 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO { 'title' => ts('Country') , 'description' => 'ID of Country that State/Province belong', 'required' => true, + 'table_name' => 'civicrm_state_province', + 'entity' => 'StateProvince', + 'bao' => 'CRM_Core_DAO_StateProvince', 'FKClassName' => 'CRM_Core_DAO_Country', ) , ); diff --git a/CRM/Core/DAO/StatusPreference.php b/CRM/Core/DAO/StatusPreference.php index a4f45c5d20..c9cc246bad 100644 --- a/CRM/Core/DAO/StatusPreference.php +++ b/CRM/Core/DAO/StatusPreference.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/StatusPreference.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a4010608f5b37f8e703fd4ae4b63bb35) + * (GenCodeChecksum:85d69d553067343befccf2308e6e9cc5) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -127,6 +127,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'title' => ts('Status Preference ID') , 'description' => 'Unique Status Preference ID', 'required' => true, + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -134,6 +137,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'title' => ts('Setting Domain') , 'description' => 'Which Domain is this Status Preference for', 'required' => true, + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -154,6 +160,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', ) , 'hush_until' => array( 'name' => 'hush_until', @@ -166,6 +175,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', ) , 'ignore_severity' => array( 'name' => 'ignore_severity', @@ -178,6 +190,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', 'pseudoconstant' => array( 'callback' => 'CRM_Utils_Check::getSeverityList', ) @@ -189,6 +204,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'description' => 'These settings are per-check, and can\'t be compared across checks.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', ) , 'check_info' => array( 'name' => 'check_info', @@ -197,6 +215,9 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { 'description' => 'These values are per-check, and can\'t be compared across checks.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_status_pref', + 'entity' => 'StatusPreference', + 'bao' => 'CRM_Core_BAO_StatusPreference', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/SystemLog.php b/CRM/Core/DAO/SystemLog.php index 364e58b4d5..f4a4c9cc7e 100644 --- a/CRM/Core/DAO/SystemLog.php +++ b/CRM/Core/DAO/SystemLog.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/SystemLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:de437db587f1fb4d7f90320e3e42db2c) + * (GenCodeChecksum:593327a2dbc09824972cc4d44fbd6893) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -113,6 +113,9 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'title' => ts('System Log ID') , 'description' => 'Primary key ID', 'required' => true, + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , 'message' => array( 'name' => 'message', @@ -122,12 +125,18 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'required' => true, 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , 'context' => array( 'name' => 'context', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Detailed Log Data') , 'description' => 'JSON encoded data', + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , 'level' => array( 'name' => 'level', @@ -137,6 +146,9 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'maxlength' => 9, 'size' => CRM_Utils_Type::TWELVE, 'default' => 'info', + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , 'timestamp' => array( 'name' => 'timestamp', @@ -144,12 +156,18 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'title' => ts('Log Timestamp') , 'description' => 'Timestamp of when event occurred.', 'default' => 'CURRENT_TIMESTAMP', + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Log Contact ID') , 'description' => 'Optional Contact ID that created the log. Not an FK as we keep this regardless', + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , 'hostname' => array( 'name' => 'hostname', @@ -158,6 +176,9 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'description' => 'Optional Name of logging host', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_system_log', + 'entity' => 'SystemLog', + 'bao' => 'CRM_Core_DAO_SystemLog', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Tag.php b/CRM/Core/DAO/Tag.php index 3aba969955..65233d5d77 100644 --- a/CRM/Core/DAO/Tag.php +++ b/CRM/Core/DAO/Tag.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Tag.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1e6ad1d5a7c05b1a7d300d2a7722ba4d) + * (GenCodeChecksum:d676c3ec724cfc5f8b03e891b148c7ab) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -149,6 +149,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'title' => ts('Tag ID') , 'description' => 'Tag ID', 'required' => true, + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'name' => array( 'name' => 'name', @@ -158,6 +161,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'description' => array( 'name' => 'description', @@ -166,6 +172,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'description' => 'Optional verbose description of the tag.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'parent_id' => array( 'name' => 'parent_id', @@ -173,6 +182,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'title' => ts('Parent Tag') , 'description' => 'Optional parent id for this tag.', 'default' => 'NULL', + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', 'FKClassName' => 'CRM_Core_DAO_Tag', ) , 'is_selectable' => array( @@ -181,16 +193,25 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'title' => ts('Display Tag?') , 'description' => 'Is this tag selectable / displayed', 'default' => '1', + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Reserved') , + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'is_tagset' => array( 'name' => 'is_tagset', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Tagset') , + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'used_for' => array( 'name' => 'used_for', @@ -199,6 +220,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'default' => 'NULL', + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', 'html' => array( 'type' => 'Select', ) , @@ -212,6 +236,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Tag Created By') , 'description' => 'FK to civicrm_contact, who created this tag', + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'color' => array( @@ -222,12 +249,18 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , 'created_date' => array( 'name' => 'created_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Tag Created Date') , 'description' => 'Date and time that tag was created.', + 'table_name' => 'civicrm_tag', + 'entity' => 'Tag', + 'bao' => 'CRM_Core_BAO_Tag', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Timezone.php b/CRM/Core/DAO/Timezone.php index 9cce19a4f8..58ad4f8685 100644 --- a/CRM/Core/DAO/Timezone.php +++ b/CRM/Core/DAO/Timezone.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Timezone.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7c62b5e4fa45d144d5defc849ee0ca6f) + * (GenCodeChecksum:42027e07849551eac4deddd0eb21da5d) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -120,6 +120,9 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { 'title' => ts('Timezone ID') , 'description' => 'Timezone Id', 'required' => true, + 'table_name' => 'civicrm_timezone', + 'entity' => 'Timezone', + 'bao' => 'CRM_Core_DAO_Timezone', ) , 'name' => array( 'name' => 'name', @@ -128,6 +131,9 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { 'description' => 'Timezone full name', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_timezone', + 'entity' => 'Timezone', + 'bao' => 'CRM_Core_DAO_Timezone', ) , 'abbreviation' => array( 'name' => 'abbreviation', @@ -136,6 +142,9 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { 'description' => 'ISO Code for timezone abbreviation', 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_timezone', + 'entity' => 'Timezone', + 'bao' => 'CRM_Core_DAO_Timezone', ) , 'gmt' => array( 'name' => 'gmt', @@ -144,11 +153,17 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { 'description' => 'GMT name of the timezone', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_timezone', + 'entity' => 'Timezone', + 'bao' => 'CRM_Core_DAO_Timezone', ) , 'offset' => array( 'name' => 'offset', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('GMT Offset') , + 'table_name' => 'civicrm_timezone', + 'entity' => 'Timezone', + 'bao' => 'CRM_Core_DAO_Timezone', ) , 'country_id' => array( 'name' => 'country_id', @@ -156,6 +171,9 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { 'title' => ts('Country') , 'description' => 'Country Id', 'required' => true, + 'table_name' => 'civicrm_timezone', + 'entity' => 'Timezone', + 'bao' => 'CRM_Core_DAO_Timezone', 'FKClassName' => 'CRM_Core_DAO_Country', ) , ); diff --git a/CRM/Core/DAO/UFField.php b/CRM/Core/DAO/UFField.php index fee4979cf4..cdb9f9032b 100644 --- a/CRM/Core/DAO/UFField.php +++ b/CRM/Core/DAO/UFField.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/UFField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4565f52f669979587f1e3e1b6f6a1684) + * (GenCodeChecksum:7fdc008a9c2681e68699bbb85690cfc6) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -200,6 +200,9 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'title' => ts('Profile Field ID') , 'description' => 'Unique table ID', 'required' => true, + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'uf_group_id' => array( 'name' => 'uf_group_id', @@ -207,6 +210,9 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'title' => ts('Profile ID') , 'description' => 'Which form does this field belong to.', 'required' => true, + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', 'FKClassName' => 'CRM_Core_DAO_UFGroup', 'html' => array( 'type' => 'Select', @@ -225,6 +231,9 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'is_active' => array( 'name' => 'is_active', @@ -232,18 +241,27 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'title' => ts('Profile Field Is Active') , 'description' => 'Is this field currently shareable? If false, hide the field for all sharing contexts.', 'default' => '1', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'is_view' => array( 'name' => 'is_view', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Is View Only') , 'description' => 'the field is view only and not editable in user forms.', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'is_required' => array( 'name' => 'is_required', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Field Is Required') , 'description' => 'Is this field required when included in a user or registration form?', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'weight' => array( 'name' => 'weight', @@ -252,18 +270,27 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'description' => 'Controls field display order when user framework fields are displayed in registration and account editing forms.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'help_post' => array( 'name' => 'help_post', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Profile Field Post Help') , 'description' => 'Description and/or help text to display after this field.', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'help_pre' => array( 'name' => 'help_pre', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Profile Field Pre Help') , 'description' => 'Description and/or help text to display before this field.', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'visibility' => array( 'name' => 'visibility', @@ -273,6 +300,9 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, 'default' => 'User and User Admin Only', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', 'html' => array( 'type' => 'Select', ) , @@ -285,18 +315,27 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Field Is a Filter') , 'description' => 'Is this field included as a column in the selector table?', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'is_searchable' => array( 'name' => 'is_searchable', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Field Is Searchable') , 'description' => 'Is this field included search form of profile?', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'location_type_id' => array( 'name' => 'location_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Profile Field Location Type') , 'description' => 'Location type of this mapping, if required', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', 'FKClassName' => 'CRM_Core_DAO_LocationType', ) , 'phone_type_id' => array( @@ -304,12 +343,18 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Profile Field Phone Type') , 'description' => 'Phone Type Id, if required', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'website_type_id' => array( 'name' => 'website_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Profile Field Website Type') , 'description' => 'Website Type Id, if required', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'label' => array( 'name' => 'label', @@ -319,6 +364,9 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'field_type' => array( 'name' => 'field_type', @@ -327,18 +375,27 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { 'description' => 'This field saves field type (ie individual,household.. field etc).', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Field Is Reserved') , 'description' => 'Is this field reserved for use by some other CiviCRM functionality?', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , 'is_multi_summary' => array( 'name' => 'is_multi_summary', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Field Supports Multiple') , 'description' => 'Include in multi-record listing?', + 'table_name' => 'civicrm_uf_field', + 'entity' => 'UFField', + 'bao' => 'CRM_Core_BAO_UFField', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/UFGroup.php b/CRM/Core/DAO/UFGroup.php index 60fcd1fe2c..6f076d76de 100644 --- a/CRM/Core/DAO/UFGroup.php +++ b/CRM/Core/DAO/UFGroup.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/UFGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0428de652198e17e9b651a08e38f9cc4) + * (GenCodeChecksum:16bf8f20b843d4d8824e37d8f922108b) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -224,6 +224,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'title' => ts('Profile ID') , 'description' => 'Unique table ID', 'required' => true, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_active' => array( 'name' => 'is_active', @@ -231,6 +234,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'title' => ts('Profile Is Active') , 'description' => 'Is this form currently active? If false, hide all related fields for all sharing contexts.', 'default' => '1', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'group_type' => array( 'name' => 'group_type', @@ -244,6 +250,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'title' => array( 'name' => 'title', @@ -253,6 +262,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'description' => array( 'name' => 'description', @@ -261,6 +273,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'description' => 'Optional verbose description of the profile.', 'rows' => 2, 'cols' => 60, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', 'html' => array( 'type' => 'TextArea', ) , @@ -272,6 +287,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'description' => 'Description and/or help text to display before fields in form.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', 'html' => array( 'type' => 'TextArea', ) , @@ -283,6 +301,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'description' => 'Description and/or help text to display after fields in form.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', 'html' => array( 'type' => 'TextArea', ) , @@ -292,6 +313,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Profile Search Limit Group') , 'description' => 'Group id, foreign key from civicrm_group', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', 'FKClassName' => 'CRM_Contact_DAO_Group', ) , 'post_URL' => array( @@ -301,12 +325,18 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'description' => 'Redirect to URL.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'add_to_group_id' => array( 'name' => 'add_to_group_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Add Contact To Group') , 'description' => 'foreign key to civicrm_group_id', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', 'FKClassName' => 'CRM_Contact_DAO_Group', ) , 'add_captcha' => array( @@ -314,30 +344,45 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Show Captcha On Profile') , 'description' => 'Should a CAPTCHA widget be included this Profile form.', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_map' => array( 'name' => 'is_map', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Map Profile') , 'description' => 'Do we want to map results from this profile.', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_edit_link' => array( 'name' => 'is_edit_link', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Show Edit Link?') , 'description' => 'Should edit link display in profile selector', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_uf_link' => array( 'name' => 'is_uf_link', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Show Link to CMS User') , 'description' => 'Should we display a link to the website profile in profile selector', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_update_dupe' => array( 'name' => 'is_update_dupe', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Update on Duplicate') , 'description' => 'Should we update the contact record if we find a duplicate', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'cancel_URL' => array( 'name' => 'cancel_URL', @@ -346,23 +391,35 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'description' => 'Redirect to URL when Cancle button clik .', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_cms_user' => array( 'name' => 'is_cms_user', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Create CMS User?') , 'description' => 'Should we create a cms user for this profile ', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'notify' => array( 'name' => 'notify', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Notify on Profile Submit') , + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Profile Is Reserved') , 'description' => 'Is this group reserved for use by some other CiviCRM functionality?', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'name' => array( 'name' => 'name', @@ -371,12 +428,18 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'description' => 'Name of the UF group for directly addressing it in the codebase', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Profile Created By') , 'description' => 'FK to civicrm_contact, who created this UF group', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -384,12 +447,18 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('UF Group Created Date') , 'description' => 'Date and time this UF group was created.', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , 'is_proximity_search' => array( 'name' => 'is_proximity_search', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Include Proximity Search?') , 'description' => 'Should we include proximity search feature in this profile search form?', + 'table_name' => 'civicrm_uf_group', + 'entity' => 'UFGroup', + 'bao' => 'CRM_Core_BAO_UFGroup', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/UFJoin.php b/CRM/Core/DAO/UFJoin.php index a6a2321a0f..915f4c0d61 100644 --- a/CRM/Core/DAO/UFJoin.php +++ b/CRM/Core/DAO/UFJoin.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/UFJoin.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0c93775718d7f983d457974f5a733491) + * (GenCodeChecksum:ff46cde9614a8c441e00dc66cdeb8667) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -134,6 +134,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'title' => ts('UF Join ID') , 'description' => 'Unique table ID', 'required' => true, + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', ) , 'is_active' => array( 'name' => 'is_active', @@ -141,6 +144,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'title' => ts('Profile Use is active') , 'description' => 'Is this join currently active?', 'default' => '1', + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', ) , 'module' => array( 'name' => 'module', @@ -150,6 +156,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -158,6 +167,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'description' => 'Name of table where item being referenced is stored. Modules which only need a single collection of uf_join instances may choose not to populate entity_table and entity_id.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', 'pseudoconstant' => array( 'callback' => 'CRM_Core_BAO_UFJoin::entityTables', ) @@ -167,6 +179,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Profile Entity ID') , 'description' => 'Foreign key to the referenced item.', + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', ) , 'weight' => array( 'name' => 'weight', @@ -175,6 +190,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'description' => 'Controls display order when multiple user framework groups are setup for concurrent display.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', ) , 'uf_group_id' => array( 'name' => 'uf_group_id', @@ -182,6 +200,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'title' => ts('Profile ID') , 'description' => 'Which form does this field belong to.', 'required' => true, + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', 'FKClassName' => 'CRM_Core_DAO_UFGroup', 'html' => array( 'type' => 'Select', @@ -197,6 +218,9 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Profile Use Data') , 'description' => 'Json serialized array of data used by the ufjoin.module', + 'table_name' => 'civicrm_uf_join', + 'entity' => 'UFJoin', + 'bao' => 'CRM_Core_BAO_UFJoin', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/UFMatch.php b/CRM/Core/DAO/UFMatch.php index 7e935db7b5..6d19ec3c96 100644 --- a/CRM/Core/DAO/UFMatch.php +++ b/CRM/Core/DAO/UFMatch.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/UFMatch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3753b535177e56dd00e57a1acb5d85a1) + * (GenCodeChecksum:7a4ca7be149cba37dc9cfb8c2885989c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -122,6 +122,9 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { 'title' => ts('UF Match ID') , 'description' => 'System generated ID.', 'required' => true, + 'table_name' => 'civicrm_uf_match', + 'entity' => 'UFMatch', + 'bao' => 'CRM_Core_BAO_UFMatch', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -129,6 +132,9 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { 'title' => ts('UF Match Domain ID') , 'description' => 'Which Domain is this match entry for', 'required' => true, + 'table_name' => 'civicrm_uf_match', + 'entity' => 'UFMatch', + 'bao' => 'CRM_Core_BAO_UFMatch', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -142,6 +148,9 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { 'title' => ts('CMS ID') , 'description' => 'UF ID', 'required' => true, + 'table_name' => 'civicrm_uf_match', + 'entity' => 'UFMatch', + 'bao' => 'CRM_Core_BAO_UFMatch', ) , 'uf_name' => array( 'name' => 'uf_name', @@ -150,12 +159,18 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { 'description' => 'UF Name', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_uf_match', + 'entity' => 'UFMatch', + 'bao' => 'CRM_Core_BAO_UFMatch', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('CiviCRM Contact ID') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_uf_match', + 'entity' => 'UFMatch', + 'bao' => 'CRM_Core_BAO_UFMatch', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'language' => array( @@ -165,6 +180,9 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { 'description' => 'UI language preferred by the given user/contact', 'maxlength' => 5, 'size' => CRM_Utils_Type::SIX, + 'table_name' => 'civicrm_uf_match', + 'entity' => 'UFMatch', + 'bao' => 'CRM_Core_BAO_UFMatch', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Core/DAO/Website.php b/CRM/Core/DAO/Website.php index bfd5ab4fc0..c04526369c 100644 --- a/CRM/Core/DAO/Website.php +++ b/CRM/Core/DAO/Website.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Website.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:40a585fbb41385458f0332b03388c078) + * (GenCodeChecksum:42189dd53f14c27bba3cc5f498ad1324) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -109,12 +109,18 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { 'title' => ts('Website ID') , 'description' => 'Unique Website ID', 'required' => true, + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'url' => array( @@ -129,6 +135,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { 'headerPattern' => '/Website/i', 'dataPattern' => '/^[A-Za-z][0-9A-Za-z]{20,}$/', 'export' => true, + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', 'html' => array( 'type' => 'Text', ) , @@ -138,6 +147,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Website Type') , 'description' => 'Which Website type does this website belong to.', + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Core/DAO/WordReplacement.php b/CRM/Core/DAO/WordReplacement.php index 75e453f9fd..0ee85b9fcb 100644 --- a/CRM/Core/DAO/WordReplacement.php +++ b/CRM/Core/DAO/WordReplacement.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/WordReplacement.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:92b2139ba33ee66fec3e6bb529af304e) + * (GenCodeChecksum:ae2435f4e472f131fa088a232ae6d88e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -120,6 +120,9 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { 'title' => ts('Word Replacement ID') , 'description' => 'Word replacement ID', 'required' => true, + 'table_name' => 'civicrm_word_replacement', + 'entity' => 'WordReplacement', + 'bao' => 'CRM_Core_BAO_WordReplacement', ) , 'find_word' => array( 'name' => 'find_word', @@ -128,6 +131,9 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { 'description' => 'Word which need to be replaced', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_word_replacement', + 'entity' => 'WordReplacement', + 'bao' => 'CRM_Core_BAO_WordReplacement', ) , 'replace_word' => array( 'name' => 'replace_word', @@ -136,6 +142,9 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { 'description' => 'Word which will replace the word in find', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_word_replacement', + 'entity' => 'WordReplacement', + 'bao' => 'CRM_Core_BAO_WordReplacement', ) , 'is_active' => array( 'name' => 'is_active', @@ -143,6 +152,9 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { 'title' => ts('Word Replacement is Active') , 'description' => 'Is this entry active?', 'default' => '1', + 'table_name' => 'civicrm_word_replacement', + 'entity' => 'WordReplacement', + 'bao' => 'CRM_Core_BAO_WordReplacement', ) , 'match_type' => array( 'name' => 'match_type', @@ -151,6 +163,9 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { 'maxlength' => 16, 'size' => CRM_Utils_Type::TWELVE, 'default' => 'wildcardMatch', + 'table_name' => 'civicrm_word_replacement', + 'entity' => 'WordReplacement', + 'bao' => 'CRM_Core_BAO_WordReplacement', 'html' => array( 'type' => 'Select', ) , @@ -163,6 +178,9 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Word Replacement Domain ID') , 'description' => 'FK to Domain ID. This is for Domain specific word replacement', + 'table_name' => 'civicrm_word_replacement', + 'entity' => 'WordReplacement', + 'bao' => 'CRM_Core_BAO_WordReplacement', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', diff --git a/CRM/Core/DAO/Worldregion.php b/CRM/Core/DAO/Worldregion.php index 661739cfe1..c218d96f13 100644 --- a/CRM/Core/DAO/Worldregion.php +++ b/CRM/Core/DAO/Worldregion.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/Worldregion.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:710a568363468092ddc0fc7d1b14abd1) + * (GenCodeChecksum:f5c8d65e40e3ba2255256675c0aa863f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -83,6 +83,9 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO { 'title' => ts('World Region ID') , 'description' => 'Country Id', 'required' => true, + 'table_name' => 'civicrm_worldregion', + 'entity' => 'Worldregion', + 'bao' => 'CRM_Core_DAO_Worldregion', ) , 'world_region' => array( 'name' => 'name', @@ -95,6 +98,9 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO { 'where' => 'civicrm_worldregion.name', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_worldregion', + 'entity' => 'Worldregion', + 'bao' => 'CRM_Core_DAO_Worldregion', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Cxn/DAO/Cxn.php b/CRM/Cxn/DAO/Cxn.php index c31802d5c2..6429c60eee 100644 --- a/CRM/Cxn/DAO/Cxn.php +++ b/CRM/Cxn/DAO/Cxn.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Cxn/Cxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:486a0a360a4a9913e94e3879e51300f6) + * (GenCodeChecksum:72b767c4b9d246ef1efb8b9c7c5b6312) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -137,6 +137,9 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'title' => ts('Connection ID') , 'description' => 'Connection ID', 'required' => true, + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'app_guid' => array( 'name' => 'app_guid', @@ -145,12 +148,18 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'description' => 'Application GUID', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'app_meta' => array( 'name' => 'app_meta', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Application Metadata (JSON)') , 'description' => 'Application Metadata (JSON)', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'cxn_guid' => array( 'name' => 'cxn_guid', @@ -159,24 +168,36 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'description' => 'Connection GUID', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'secret' => array( 'name' => 'secret', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Secret') , 'description' => 'Shared secret', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'perm' => array( 'name' => 'perm', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Perm') , 'description' => 'Permissions approved for the service (JSON)', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'options' => array( 'name' => 'options', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Options') , 'description' => 'Options for the service (JSON)', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'is_active' => array( 'name' => 'is_active', @@ -184,6 +205,9 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'title' => ts('Is Active') , 'description' => 'Is connection currently enabled?', 'default' => '1', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'created_date' => array( 'name' => 'created_date', @@ -192,6 +216,9 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'description' => 'When was the connection was created.', 'required' => false, 'default' => 'NULL', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'modified_date' => array( 'name' => 'modified_date', @@ -200,6 +227,9 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'description' => 'When the connection was created or modified.', 'required' => false, 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , 'fetched_date' => array( 'name' => 'fetched_date', @@ -208,6 +238,9 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { 'description' => 'The last time the application metadata was fetched.', 'required' => false, 'default' => 'NULL', + 'table_name' => 'civicrm_cxn', + 'entity' => 'Cxn', + 'bao' => 'CRM_Cxn_BAO_Cxn', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Dedupe/DAO/Exception.php b/CRM/Dedupe/DAO/Exception.php index b5727da2c8..d15ce148c6 100644 --- a/CRM/Dedupe/DAO/Exception.php +++ b/CRM/Dedupe/DAO/Exception.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Dedupe/Exception.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:dcb340c85bb19050f0ed6c4c46dc8a4f) + * (GenCodeChecksum:1686b10aca53b1028d00ba93c1275a01) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,12 +104,18 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO { 'title' => ts('Dedupe Exception ID') , 'description' => 'Unique dedupe exception id', 'required' => true, + 'table_name' => 'civicrm_dedupe_exception', + 'entity' => 'Exception', + 'bao' => 'CRM_Dedupe_DAO_Exception', ) , 'contact_id1' => array( 'name' => 'contact_id1', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('First Dupe Contact ID') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_dedupe_exception', + 'entity' => 'Exception', + 'bao' => 'CRM_Dedupe_DAO_Exception', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'contact_id2' => array( @@ -117,6 +123,9 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Second Dupe Contact ID') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_dedupe_exception', + 'entity' => 'Exception', + 'bao' => 'CRM_Dedupe_DAO_Exception', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Dedupe/DAO/Rule.php b/CRM/Dedupe/DAO/Rule.php index c2f67c63d4..fb4d4247f8 100644 --- a/CRM/Dedupe/DAO/Rule.php +++ b/CRM/Dedupe/DAO/Rule.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Dedupe/Rule.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:083bfadf2e54fb13a6875d14f2e52b5a) + * (GenCodeChecksum:04d8d83fcc9facdeae7f32f1f0f0134d) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -121,6 +121,9 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { 'title' => ts('Dedupe Rule ID') , 'description' => 'Unique dedupe rule id', 'required' => true, + 'table_name' => 'civicrm_dedupe_rule', + 'entity' => 'Rule', + 'bao' => 'CRM_Dedupe_BAO_Rule', ) , 'dedupe_rule_group_id' => array( 'name' => 'dedupe_rule_group_id', @@ -128,6 +131,9 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { 'title' => ts('Dedupe Rule Group') , 'description' => 'The id of the rule group this rule belongs to', 'required' => true, + 'table_name' => 'civicrm_dedupe_rule', + 'entity' => 'Rule', + 'bao' => 'CRM_Dedupe_BAO_Rule', 'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup', ) , 'rule_table' => array( @@ -138,6 +144,9 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_dedupe_rule', + 'entity' => 'Rule', + 'bao' => 'CRM_Dedupe_BAO_Rule', ) , 'rule_field' => array( 'name' => 'rule_field', @@ -147,12 +156,18 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_dedupe_rule', + 'entity' => 'Rule', + 'bao' => 'CRM_Dedupe_BAO_Rule', ) , 'rule_length' => array( 'name' => 'rule_length', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Rule Length') , 'description' => 'The length of the matching substring', + 'table_name' => 'civicrm_dedupe_rule', + 'entity' => 'Rule', + 'bao' => 'CRM_Dedupe_BAO_Rule', 'html' => array( 'type' => 'Text', ) , @@ -163,6 +178,9 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { 'title' => ts('Order') , 'description' => 'The weight of the rule', 'required' => true, + 'table_name' => 'civicrm_dedupe_rule', + 'entity' => 'Rule', + 'bao' => 'CRM_Dedupe_BAO_Rule', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Dedupe/DAO/RuleGroup.php b/CRM/Dedupe/DAO/RuleGroup.php index ac6d983139..24eacd38fd 100644 --- a/CRM/Dedupe/DAO/RuleGroup.php +++ b/CRM/Dedupe/DAO/RuleGroup.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Dedupe/RuleGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8abbb6f14d0c67212a271bc1a08b57c2) + * (GenCodeChecksum:025711212afbee5275704d4a7e63868f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -113,6 +113,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'title' => ts('Rule Group ID') , 'description' => 'Unique dedupe rule group id', 'required' => true, + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', ) , 'contact_type' => array( 'name' => 'contact_type', @@ -121,6 +124,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'description' => 'The type of contacts this group applies to', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', 'html' => array( 'type' => 'Select', ) , @@ -137,6 +143,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'title' => ts('Threshold') , 'description' => 'The weight threshold the sum of the rule weights has to cross to consider two contacts the same', 'required' => true, + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', 'html' => array( 'type' => 'Text', ) , @@ -149,6 +158,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'required' => true, 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', 'html' => array( 'type' => 'Radio', ) , @@ -163,6 +175,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'description' => 'Name of the rule group', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', ) , 'title' => array( 'name' => 'title', @@ -171,6 +186,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'description' => 'Label of the rule group', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', 'html' => array( 'type' => 'Text', ) , @@ -180,6 +198,9 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Reserved?') , 'description' => 'Is this a reserved rule - a rule group that has been optimized and cannot be changed by the admin', + 'table_name' => 'civicrm_dedupe_rule_group', + 'entity' => 'RuleGroup', + 'bao' => 'CRM_Dedupe_BAO_RuleGroup', 'html' => array( 'type' => 'CheckBox', ) , diff --git a/CRM/Event/Cart/DAO/Cart.php b/CRM/Event/Cart/DAO/Cart.php index 9f8d499fc7..3022119f76 100644 --- a/CRM/Event/Cart/DAO/Cart.php +++ b/CRM/Event/Cart/DAO/Cart.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Event/Cart/Cart.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8570af177a3699d8c171da3fc47baead) + * (GenCodeChecksum:d4897397e64f37a6e13086f1d4cab2ce) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -102,18 +102,27 @@ class CRM_Event_Cart_DAO_Cart extends CRM_Core_DAO { 'title' => ts('Cart ID') , 'description' => 'Cart Id', 'required' => true, + 'table_name' => 'civicrm_event_carts', + 'entity' => 'Cart', + 'bao' => 'CRM_Event_Cart_BAO_Cart', ) , 'user_id' => array( 'name' => 'user_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Created By') , 'description' => 'FK to civicrm_contact who created this cart', + 'table_name' => 'civicrm_event_carts', + 'entity' => 'Cart', + 'bao' => 'CRM_Event_Cart_BAO_Cart', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'completed' => array( 'name' => 'completed', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Complete?') , + 'table_name' => 'civicrm_event_carts', + 'entity' => 'Cart', + 'bao' => 'CRM_Event_Cart_BAO_Cart', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Event/Cart/DAO/EventInCart.php b/CRM/Event/Cart/DAO/EventInCart.php index 12e4231d06..1d4ac3275b 100644 --- a/CRM/Event/Cart/DAO/EventInCart.php +++ b/CRM/Event/Cart/DAO/EventInCart.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a4e5911c90ffc91d0dceb60bf024afc8) + * (GenCodeChecksum:7fc2704d7a10bd0af8f9a34ab7adf2f1) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,12 +104,18 @@ class CRM_Event_Cart_DAO_EventInCart extends CRM_Core_DAO { 'title' => ts('Event In Cart') , 'description' => 'Event In Cart Id', 'required' => true, + 'table_name' => 'civicrm_events_in_carts', + 'entity' => 'EventInCart', + 'bao' => 'CRM_Event_Cart_BAO_EventInCart', ) , 'event_id' => array( 'name' => 'event_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Event') , 'description' => 'FK to Event ID', + 'table_name' => 'civicrm_events_in_carts', + 'entity' => 'EventInCart', + 'bao' => 'CRM_Event_Cart_BAO_EventInCart', 'FKClassName' => 'CRM_Event_DAO_Event', ) , 'event_cart_id' => array( @@ -117,6 +123,9 @@ class CRM_Event_Cart_DAO_EventInCart extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Event In Cart') , 'description' => 'FK to Event Cart ID', + 'table_name' => 'civicrm_events_in_carts', + 'entity' => 'EventInCart', + 'bao' => 'CRM_Event_Cart_BAO_EventInCart', 'FKClassName' => 'CRM_Event_Cart_DAO_Cart', ) , ); diff --git a/CRM/Event/DAO/Event.php b/CRM/Event/DAO/Event.php index 23dcb04e3f..8738f0b52d 100644 --- a/CRM/Event/DAO/Event.php +++ b/CRM/Event/DAO/Event.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Event/Event.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:852ff9c0ec07c4eff96a484e1b44f781) + * (GenCodeChecksum:014eddf6b4d26ee14495d25e73ed6b64) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -501,6 +501,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Event ID') , 'description' => 'Event', 'required' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', ) , 'event_title' => array( 'name' => 'title', @@ -514,6 +517,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'headerPattern' => '/(event.)?title$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -525,6 +531,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -536,6 +545,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Full description of event. Text and html allowed. Displayed on built-in Event Information screens.', 'rows' => 8, 'cols' => 60, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -545,6 +557,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Event Type') , 'description' => 'Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -558,6 +573,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Participant Listing') , 'description' => 'Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -572,6 +590,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Is Event Public') , 'description' => 'Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.', 'default' => '1', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -586,6 +607,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'headerPattern' => '/^start|(s(tart\s)?date)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select Date', ) , @@ -600,6 +624,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'headerPattern' => '/^end|(e(nd\s)?date)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select Date', ) , @@ -609,6 +636,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Online Registration') , 'description' => 'If true, include registration link on Event Info page.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -620,6 +650,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -629,6 +662,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Registration Start Date') , 'description' => 'Date and time that online registration starts.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select Date', ) , @@ -638,6 +674,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Registration End Date') , 'description' => 'Date and time that online registration ends.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select Date', ) , @@ -648,6 +687,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Max Participants') , 'description' => 'Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.', 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -659,6 +701,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -668,6 +713,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is this a PAID event?') , 'description' => 'If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -678,6 +726,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'Financial type assigned to paid event registrations for this event. Required if is_monetary is true.', 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -694,6 +745,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Payment Processors configured for this Event (if is_monetary is true)', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -708,6 +762,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Map Enabled') , 'description' => 'Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -717,6 +774,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Active') , 'description' => 'Is this Event enabled or disabled/cancelled?', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -732,6 +792,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'headerPattern' => '/^fee|(f(ee\s)?label)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -742,6 +805,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('show location') , 'description' => 'If true, show event location.', 'default' => '1', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -751,6 +817,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Block ID') , 'description' => 'FK to Location Block ID', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'FKClassName' => 'CRM_Core_DAO_LocBlock', ) , 'default_role_id' => array( @@ -764,6 +833,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -779,6 +851,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -790,6 +865,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -802,6 +880,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -813,6 +894,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -824,6 +908,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -833,6 +920,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is confirm email') , 'description' => 'If true, confirmation is automatically emailed to contact on successful registration.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -844,6 +934,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now', 'rows' => 4, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -855,6 +948,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'FROM email name used for confirmation emails.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -866,6 +962,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'FROM email address used for confirmation emails.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -877,6 +976,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'comma-separated list of email addresses to cc each time a confirmation is sent', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -888,6 +990,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'comma-separated list of email addresses to bcc each time a confirmation is sent', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -897,12 +1002,18 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Default Fee ID') , 'description' => 'FK to civicrm_option_value.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', ) , 'default_discount_fee_id' => array( 'name' => 'default_discount_fee_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Default Discount Fee ID') , 'description' => 'FK to civicrm_option_value.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', ) , 'thankyou_title' => array( 'name' => 'thankyou_title', @@ -912,6 +1023,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -923,6 +1037,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'ThankYou Text.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -934,6 +1051,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Footer message.', 'rows' => 6, 'cols' => 50, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -943,6 +1063,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Pay Later Allowed') , 'description' => 'if true - allows the user to send payment directly to the org later', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -952,6 +1075,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Pay Later Text') , 'description' => 'The text displayed to the user in the main form', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -961,6 +1087,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Pay Later Receipt Text') , 'description' => 'The receipt sent to the user instead of the normal receipt text', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -970,6 +1099,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Partial Payments Enabled') , 'description' => 'is partial payment enabled for this event', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -981,6 +1113,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Initial amount label for partial payment', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -990,6 +1125,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Initial Amount Help Text') , 'description' => 'Initial amount help text for partial payment', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -1003,6 +1141,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -1012,6 +1153,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allow Multiple Registrations') , 'description' => 'if true - allows the user to register multiple participants for event', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1021,12 +1165,18 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Maximum number of additional participants per registration') , 'description' => 'Maximum number of additional participants that can be registered on a single booking', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', ) , 'allow_same_participant_emails' => array( 'name' => 'allow_same_participant_emails', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Does Event allow multiple registrations from same email address?') , 'description' => 'if true - allows the user to register multiple registrations from same email address.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1036,6 +1186,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Waitlist Enabled') , 'description' => 'Whether the event has waitlist support.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1045,6 +1198,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Requires Approval') , 'description' => 'Whether participants require approval before they can finish registering.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1054,6 +1210,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Expiration Time') , 'description' => 'Expire pending but unconfirmed registrations after this many hours.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -1063,6 +1222,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allow Self-service Cancellation or Transfer') , 'description' => 'Allow self service cancellation or transfer for event?', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1072,6 +1234,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Self-service Cancellation or Transfer Time') , 'description' => 'Number of hours prior to event start date to allow self-service cancellation or transfer.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -1083,6 +1248,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Text to display when the event is full, but participants can signup for a waitlist.', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -1094,6 +1262,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'description' => 'Text to display when the approval is required to complete registration for an event.', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'TextArea', ) , @@ -1104,6 +1275,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Is an Event Template') , 'description' => 'whether the event has template', 'required' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1120,6 +1294,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'headerPattern' => '/(template.)?title$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Text', ) , @@ -1129,6 +1306,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Created By Contact ID') , 'description' => 'FK to civicrm_contact, who created this event', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -1136,6 +1316,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Event Created Date') , 'description' => 'Date and time that event was created.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', ) , 'currency' => array( 'name' => 'currency', @@ -1149,6 +1332,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'headerPattern' => '/cur(rency)?/i', 'dataPattern' => '/^[A-Z]{3}$/i', 'export' => true, + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -1164,6 +1350,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Campaign') , 'description' => 'The campaign for which this event has been created.', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'EntityRef', @@ -1180,6 +1369,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Is shared through social media') , 'description' => 'Can people share the event through social media?', 'default' => '1', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1190,6 +1382,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Is the booking confirmation screen enabled?') , 'description' => 'If false, the event booking confirmation screen gets skipped', 'default' => '1', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , @@ -1200,6 +1395,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Parent Event ID') , 'description' => 'Implicit FK to civicrm_event: parent event', 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'EntityRef', ) , @@ -1210,6 +1408,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Subevent Slot Label ID') , 'description' => 'Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.', 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'Select', ) , @@ -1220,6 +1421,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'title' => ts('Dedupe Rule') , 'description' => 'Rule to use when matching registrations for this event', 'default' => 'NULL', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup', 'html' => array( 'type' => 'Select', @@ -1236,6 +1440,9 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is billing block required') , 'description' => 'if true than billing block is required this event', + 'table_name' => 'civicrm_event', + 'entity' => 'Event', + 'bao' => 'CRM_Event_BAO_Event', 'html' => array( 'type' => 'CheckBox', ) , diff --git a/CRM/Event/DAO/Participant.php b/CRM/Event/DAO/Participant.php index b591a05204..b497955e61 100644 --- a/CRM/Event/DAO/Participant.php +++ b/CRM/Event/DAO/Participant.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Event/Participant.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5c9653302e7cc416c68b794981f9f9b8) + * (GenCodeChecksum:3c53d2d7a62cf0428fef11b9df02fcd2) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -210,6 +210,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/(^(participant(.)?)?id$)/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'participant_contact_id' => array( 'name' => 'contact_id', @@ -222,6 +225,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/contact(.?id)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'event_id' => array( @@ -235,6 +241,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/event id$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Event_DAO_Event', ) , 'participant_status_id' => array( @@ -249,6 +258,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => '1', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Event_DAO_ParticipantStatusType', 'html' => array( 'type' => 'Select', @@ -272,6 +284,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'html' => array( 'type' => 'Select', ) , @@ -290,6 +305,13 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/^(r(egister\s)?date)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', + 'html' => array( + 'type' => 'Select Date', + 'format' => 'activityDateTime', + ) , ) , 'participant_source' => array( 'name' => 'source', @@ -303,6 +325,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/(participant.)?(source)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'participant_fee_level' => array( 'name' => 'fee_level', @@ -316,6 +341,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/^(f(ee\s)?level)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'participant_is_test' => array( 'name' => 'is_test', @@ -326,6 +354,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'participant_is_pay_later' => array( 'name' => 'is_pay_later', @@ -336,6 +367,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/(is.)?(pay(.)?later)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'participant_fee_amount' => array( 'name' => 'fee_amount', @@ -351,6 +385,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '/fee(.?am(ou)?nt)?/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'participant_registered_by_id' => array( 'name' => 'registered_by_id', @@ -363,6 +400,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Event_DAO_Participant', ) , 'participant_discount_id' => array( @@ -371,6 +411,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'title' => ts('Discount ID') , 'description' => 'FK to Discount ID', 'default' => 'NULL', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Core_DAO_Discount', ) , 'participant_fee_currency' => array( @@ -386,6 +429,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'dataPattern' => '/^[A-Z]{3}$/i', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'html' => array( 'type' => 'Select', ) , @@ -406,6 +452,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'pseudoconstant' => array( 'table' => 'civicrm_campaign', @@ -418,12 +467,18 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Discount Amount') , 'description' => 'Discount Amount', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'cart_id' => array( 'name' => 'cart_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Event Cart ID') , 'description' => 'FK to civicrm_event_carts', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Event_Cart_DAO_Cart', ) , 'must_wait' => array( @@ -431,6 +486,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Must Wait on List') , 'description' => 'On Waiting List', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', ) , 'transferred_to_contact_id' => array( 'name' => 'transferred_to_contact_id', @@ -443,6 +501,9 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'dataPattern' => '', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_participant', + 'entity' => 'Participant', + 'bao' => 'CRM_Event_BAO_Participant', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , ); diff --git a/CRM/Event/DAO/ParticipantPayment.php b/CRM/Event/DAO/ParticipantPayment.php index 5ce3152443..1d67a167d9 100644 --- a/CRM/Event/DAO/ParticipantPayment.php +++ b/CRM/Event/DAO/ParticipantPayment.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Event/ParticipantPayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c007647ef27d75ac1b1bcdc74ac1a2b7) + * (GenCodeChecksum:98af10333d1dca08770a55573e291c32) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO { 'title' => ts('Payment ID') , 'description' => 'Participant Payment Id', 'required' => true, + 'table_name' => 'civicrm_participant_payment', + 'entity' => 'ParticipantPayment', + 'bao' => 'CRM_Event_BAO_ParticipantPayment', ) , 'participant_id' => array( 'name' => 'participant_id', @@ -111,6 +114,9 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO { 'title' => ts('Participant ID') , 'description' => 'Participant Id (FK)', 'required' => true, + 'table_name' => 'civicrm_participant_payment', + 'entity' => 'ParticipantPayment', + 'bao' => 'CRM_Event_BAO_ParticipantPayment', 'FKClassName' => 'CRM_Event_DAO_Participant', ) , 'contribution_id' => array( @@ -119,6 +125,9 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO { 'title' => ts('Contribution') , 'description' => 'FK to contribution table.', 'required' => true, + 'table_name' => 'civicrm_participant_payment', + 'entity' => 'ParticipantPayment', + 'bao' => 'CRM_Event_BAO_ParticipantPayment', 'FKClassName' => 'CRM_Contribute_DAO_Contribution', ) , ); diff --git a/CRM/Event/DAO/ParticipantStatusType.php b/CRM/Event/DAO/ParticipantStatusType.php index 8384a7eb59..d34564f22a 100644 --- a/CRM/Event/DAO/ParticipantStatusType.php +++ b/CRM/Event/DAO/ParticipantStatusType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c129b855ca83f4e0e659f57936b92799) + * (GenCodeChecksum:c9d362916fb5d3e9c3ffa089517bff7e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -125,6 +125,9 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'title' => ts('Participant Status Type ID') , 'description' => 'unique participant status type id', 'required' => true, + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'participant_status' => array( 'name' => 'name', @@ -138,6 +141,9 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'label' => array( 'name' => 'label', @@ -146,6 +152,9 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'description' => 'localized label for display of this status type', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'class' => array( 'name' => 'class', @@ -154,6 +163,9 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'description' => 'the general group of status type this one belongs to', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', 'html' => array( 'type' => 'Select', ) , @@ -166,6 +178,9 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Participant Status Is Reserved?>') , 'description' => 'whether this is a status type required by the system', + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'is_active' => array( 'name' => 'is_active', @@ -173,12 +188,18 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'title' => ts('Participant Status is Active') , 'description' => 'whether this status type is active', 'default' => '1', + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'is_counted' => array( 'name' => 'is_counted', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Participant Status Counts?') , 'description' => 'whether this status type is counted against event size limit', + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'weight' => array( 'name' => 'weight', @@ -186,12 +207,18 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { 'title' => ts('Order') , 'description' => 'controls sort order', 'required' => true, + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', ) , 'visibility_id' => array( 'name' => 'visibility_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Participant Status Visibility') , 'description' => 'whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group', + 'table_name' => 'civicrm_participant_status_type', + 'entity' => 'ParticipantStatusType', + 'bao' => 'CRM_Event_BAO_ParticipantStatusType', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Financial/DAO/Currency.php b/CRM/Financial/DAO/Currency.php index 457a961f94..34f17c4486 100644 --- a/CRM/Financial/DAO/Currency.php +++ b/CRM/Financial/DAO/Currency.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/Currency.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:deabd1e34379cc8d360e65777d1d4c9b) + * (GenCodeChecksum:901761be1a81c165e690e7cafe8fe419) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO { 'title' => ts('Currency ID') , 'description' => 'Currency Id', 'required' => true, + 'table_name' => 'civicrm_currency', + 'entity' => 'Currency', + 'bao' => 'CRM_Financial_DAO_Currency', ) , 'name' => array( 'name' => 'name', @@ -114,6 +117,9 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_currency', + 'entity' => 'Currency', + 'bao' => 'CRM_Financial_DAO_Currency', 'html' => array( 'type' => 'Text', ) , @@ -125,6 +131,9 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO { 'description' => 'Currency Symbol', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_currency', + 'entity' => 'Currency', + 'bao' => 'CRM_Financial_DAO_Currency', 'html' => array( 'type' => 'Text', ) , @@ -141,6 +150,9 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_currency', + 'entity' => 'Currency', + 'bao' => 'CRM_Financial_DAO_Currency', ) , 'full_name' => array( 'name' => 'full_name', @@ -149,6 +161,9 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO { 'description' => 'Full currency name', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_currency', + 'entity' => 'Currency', + 'bao' => 'CRM_Financial_DAO_Currency', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Financial/DAO/EntityFinancialAccount.php b/CRM/Financial/DAO/EntityFinancialAccount.php index 651dd6dcf2..5021b4eb42 100644 --- a/CRM/Financial/DAO/EntityFinancialAccount.php +++ b/CRM/Financial/DAO/EntityFinancialAccount.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:13b6c60f03bc97b4cd018e009e43fbf9) + * (GenCodeChecksum:46b680193ab75e97679a2521282b1cc0) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -116,6 +116,9 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { 'title' => ts('Entity Financial Account ID') , 'description' => 'ID', 'required' => true, + 'table_name' => 'civicrm_entity_financial_account', + 'entity' => 'EntityFinancialAccount', + 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -130,6 +133,9 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_entity_financial_account', + 'entity' => 'EntityFinancialAccount', + 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -137,6 +143,9 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'Links to an id in the entity_table, such as vid in civicrm_financial_type', 'required' => true, + 'table_name' => 'civicrm_entity_financial_account', + 'entity' => 'EntityFinancialAccount', + 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount', ) , 'account_relationship' => array( 'name' => 'account_relationship', @@ -144,6 +153,9 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { 'title' => ts('Account Relationship') , 'description' => 'FK to a new civicrm_option_value (account_relationship)', 'required' => true, + 'table_name' => 'civicrm_entity_financial_account', + 'entity' => 'EntityFinancialAccount', + 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount', 'html' => array( 'type' => 'Select', ) , @@ -158,6 +170,9 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { 'title' => ts('Financial Account') , 'description' => 'FK to the financial_account_id', 'required' => true, + 'table_name' => 'civicrm_entity_financial_account', + 'entity' => 'EntityFinancialAccount', + 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount', 'FKClassName' => 'CRM_Financial_DAO_FinancialAccount', 'html' => array( 'type' => 'Select', diff --git a/CRM/Financial/DAO/EntityFinancialTrxn.php b/CRM/Financial/DAO/EntityFinancialTrxn.php index 581424d451..93239a5809 100644 --- a/CRM/Financial/DAO/EntityFinancialTrxn.php +++ b/CRM/Financial/DAO/EntityFinancialTrxn.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:42848b82aaf63e76e1848ea1a6dbd4b2) + * (GenCodeChecksum:058c355295d7bbbdefb1421ba1d2a294) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -114,6 +114,9 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO { 'title' => ts('Entity Financial Transaction ID') , 'description' => 'ID', 'required' => true, + 'table_name' => 'civicrm_entity_financial_trxn', + 'entity' => 'EntityFinancialTrxn', + 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -128,17 +131,26 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_entity_financial_trxn', + 'entity' => 'EntityFinancialTrxn', + 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn', ) , 'entity_id' => array( 'name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity ID') , 'required' => true, + 'table_name' => 'civicrm_entity_financial_trxn', + 'entity' => 'EntityFinancialTrxn', + 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn', ) , 'financial_trxn_id' => array( 'name' => 'financial_trxn_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Transaction Id') , + 'table_name' => 'civicrm_entity_financial_trxn', + 'entity' => 'EntityFinancialTrxn', + 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn', 'FKClassName' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'amount' => array( @@ -156,6 +168,9 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO { 'headerPattern' => '/amount/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_entity_financial_trxn', + 'entity' => 'EntityFinancialTrxn', + 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Financial/DAO/FinancialAccount.php b/CRM/Financial/DAO/FinancialAccount.php index e3a7640897..1e63f7f042 100644 --- a/CRM/Financial/DAO/FinancialAccount.php +++ b/CRM/Financial/DAO/FinancialAccount.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialAccount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f8ca05b54a4b94d2636d0da894b7236f) + * (GenCodeChecksum:e2138251a2433069b991db111a5f55d2) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -188,6 +188,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'title' => ts('Financial Account ID') , 'description' => 'ID', 'required' => true, + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'name' => array( 'name' => 'name', @@ -197,12 +200,18 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'financial_account_contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact ID') , 'description' => 'FK to Contact ID that is responsible for the funds in this account', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'financial_account_type_id' => array( @@ -212,6 +221,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'description' => 'pseudo FK into civicrm_option_value.', 'required' => true, 'default' => '3', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', 'html' => array( 'type' => 'Select', ) , @@ -231,6 +243,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'where' => 'civicrm_financial_account.accounting_code', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'account_type_code' => array( 'name' => 'account_type_code', @@ -243,6 +258,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'where' => 'civicrm_financial_account.account_type_code', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'description' => array( 'name' => 'description', @@ -251,12 +269,18 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'description' => 'Financial Type Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'parent_id' => array( 'name' => 'parent_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Account Parent') , 'description' => 'Parent ID in account hierarchy', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', 'FKClassName' => 'CRM_Financial_DAO_FinancialAccount', ) , 'is_header_account' => array( @@ -264,6 +288,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Header Financial Account?') , 'description' => 'Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'is_deductible' => array( 'name' => 'is_deductible', @@ -271,12 +298,18 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 'title' => ts('Deductible Financial Account?') , 'description' => 'Is this account tax-deductible?', 'default' => '1', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'is_tax' => array( 'name' => 'is_tax', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Tax Financial Account?') , 'description' => 'Is this account for taxes?', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'tax_rate' => array( 'name' => 'tax_rate', @@ -287,24 +320,36 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 10, 8 ) , + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Reserved Financial Account?') , 'description' => 'Is this a predefined system object?', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Financial Account is Active') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Default Financial Account') , 'description' => 'Is this account the default one (or default tax one) for its financial_account_type?', + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'opening_balance' => array( 'name' => 'opening_balance', @@ -315,6 +360,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , 'current_period_opening_balance' => array( 'name' => 'current_period_opening_balance', @@ -325,6 +373,9 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_financial_account', + 'entity' => 'FinancialAccount', + 'bao' => 'CRM_Financial_BAO_FinancialAccount', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Financial/DAO/FinancialItem.php b/CRM/Financial/DAO/FinancialItem.php index 5bc7fdee4c..4fe424823c 100644 --- a/CRM/Financial/DAO/FinancialItem.php +++ b/CRM/Financial/DAO/FinancialItem.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4abc5641f9aab2a8d925cf5898a3a858) + * (GenCodeChecksum:090a94af55641978012615f30c962781) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -151,6 +151,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Item ID') , 'required' => true, + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , 'created_date' => array( 'name' => 'created_date', @@ -159,6 +162,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'description' => 'Date and time the item was created', 'required' => true, 'default' => 'CURRENT_TIMESTAMP', + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , 'transaction_date' => array( 'name' => 'transaction_date', @@ -166,6 +172,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'title' => ts('Financial Item Transaction Date') , 'description' => 'Date and time of the source transaction', 'required' => true, + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , 'contact_id' => array( 'name' => 'contact_id', @@ -177,6 +186,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'where' => 'civicrm_financial_item.contact_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'description' => array( @@ -186,6 +198,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'description' => 'Human readable description of this item, to ease display without lookup of source item.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , 'amount' => array( 'name' => 'amount', @@ -197,6 +212,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , 'currency' => array( 'name' => 'currency', @@ -209,6 +227,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'where' => 'civicrm_financial_item.currency', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', 'html' => array( 'type' => 'Select', ) , @@ -224,6 +245,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Account ID') , 'description' => 'FK to civicrm_financial_account', + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', 'FKClassName' => 'CRM_Financial_DAO_FinancialAccount', 'html' => array( 'type' => 'Select', @@ -243,6 +267,9 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'where' => 'civicrm_financial_item.status_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', 'html' => array( 'type' => 'Select', ) , @@ -258,12 +285,18 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { 'description' => 'The table providing the source of this item such as civicrm_line_item', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , 'entity_id' => array( 'name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity ID') , 'description' => 'The specific source item that is responsible for the creation of this financial_item', + 'table_name' => 'civicrm_financial_item', + 'entity' => 'FinancialItem', + 'bao' => 'CRM_Financial_BAO_FinancialItem', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Financial/DAO/FinancialTrxn.php b/CRM/Financial/DAO/FinancialTrxn.php index 6ac7e12972..d7f37ea86a 100644 --- a/CRM/Financial/DAO/FinancialTrxn.php +++ b/CRM/Financial/DAO/FinancialTrxn.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fec5d6572bfe0de3f9dc41afd33fee9b) + * (GenCodeChecksum:f8e72183039a2faadf244264d5f5da22) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -175,12 +175,18 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Transaction ID') , 'required' => true, + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'from_financial_account_id' => array( 'name' => 'from_financial_account_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Transaction From Account') , 'description' => 'FK to financial_account table.', + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'FKClassName' => 'CRM_Financial_DAO_FinancialAccount', 'html' => array( 'type' => 'Select', @@ -196,6 +202,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Transaction To Account') , 'description' => 'FK to financial_financial_account table.', + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'FKClassName' => 'CRM_Financial_DAO_FinancialAccount', 'html' => array( 'type' => 'Select', @@ -212,6 +221,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'title' => ts('Financial Transaction Date') , 'description' => 'date transaction occurred', 'default' => 'NULL', + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'total_amount' => array( 'name' => 'total_amount', @@ -223,6 +235,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'fee_amount' => array( 'name' => 'fee_amount', @@ -233,6 +248,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'net_amount' => array( 'name' => 'net_amount', @@ -243,6 +261,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'currency' => array( 'name' => 'currency', @@ -257,6 +278,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'dataPattern' => '/^[A-Z]{3}$/', 'export' => true, 'default' => 'NULL', + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'html' => array( 'type' => 'Select', ) , @@ -277,6 +301,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'trxn_id' => array( 'name' => 'trxn_id', @@ -285,6 +312,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'description' => 'Transaction id supplied by external processor. This may not be unique.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'trxn_result_code' => array( 'name' => 'trxn_result_code', @@ -293,6 +323,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'description' => 'processor result code', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', ) , 'status_id' => array( 'name' => 'status_id', @@ -304,6 +337,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'headerPattern' => '/status/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'pseudoconstant' => array( 'optionGroupName' => 'contribution_status', 'optionEditPath' => 'civicrm/admin/options/contribution_status', @@ -314,6 +350,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor') , 'description' => 'Payment Processor for this financial transaction', + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor', ) , 'financial_trxn_payment_instrument_id' => array( @@ -321,6 +360,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Method') , 'description' => 'FK to payment_instrument option group values', + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'html' => array( 'type' => 'Select', ) , @@ -336,6 +378,9 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'description' => 'Check number', 'maxlength' => 255, 'size' => 6, + 'table_name' => 'civicrm_financial_trxn', + 'entity' => 'FinancialTrxn', + 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Financial/DAO/FinancialType.php b/CRM/Financial/DAO/FinancialType.php index ed27a12934..2460fd503b 100644 --- a/CRM/Financial/DAO/FinancialType.php +++ b/CRM/Financial/DAO/FinancialType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:70310c419681152b59c27bc1b3e013d9) + * (GenCodeChecksum:9afeed9e1cb73cc4abf490d723ff4ea1) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -107,6 +107,9 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO { 'title' => ts('Financial Type ID') , 'description' => 'ID of original financial_type so you can search this table by the financial_type.id and then select the relevant version based on the timestamp', 'required' => true, + 'table_name' => 'civicrm_financial_type', + 'entity' => 'FinancialType', + 'bao' => 'CRM_Financial_BAO_FinancialType', ) , 'financial_type' => array( 'name' => 'name', @@ -121,6 +124,9 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO { 'headerPattern' => '/(finan(cial)?)?type/i', 'dataPattern' => '/donation|member|campaign/i', 'export' => true, + 'table_name' => 'civicrm_financial_type', + 'entity' => 'FinancialType', + 'bao' => 'CRM_Financial_BAO_FinancialType', ) , 'description' => array( 'name' => 'description', @@ -129,6 +135,9 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO { 'description' => 'Financial Type Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_financial_type', + 'entity' => 'FinancialType', + 'bao' => 'CRM_Financial_BAO_FinancialType', ) , 'is_deductible' => array( 'name' => 'is_deductible', @@ -136,18 +145,27 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO { 'title' => ts('Is Tax Deductible?') , 'description' => 'Is this financial type tax-deductible? If true, contributions of this type may be fully OR partially deductible - non-deductible amount is stored in the Contribution record.', 'default' => '1', + 'table_name' => 'civicrm_financial_type', + 'entity' => 'FinancialType', + 'bao' => 'CRM_Financial_BAO_FinancialType', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Financial Type is Reserved?') , 'description' => 'Is this a predefined system object?', + 'table_name' => 'civicrm_financial_type', + 'entity' => 'FinancialType', + 'bao' => 'CRM_Financial_BAO_FinancialType', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Financial Type Is Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_financial_type', + 'entity' => 'FinancialType', + 'bao' => 'CRM_Financial_BAO_FinancialType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Financial/DAO/PaymentProcessor.php b/CRM/Financial/DAO/PaymentProcessor.php index 9cd1af0c62..287d04d762 100644 --- a/CRM/Financial/DAO/PaymentProcessor.php +++ b/CRM/Financial/DAO/PaymentProcessor.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:562f15d08243acea7e0fe53e2affe9ff) + * (GenCodeChecksum:d5485d41addbdca4a391125775dea22c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -208,6 +208,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Payment Processor ID') , 'description' => 'Payment Processor ID', 'required' => true, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -215,6 +218,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Payment Processor Domain') , 'description' => 'Which Domain is this match entry for', 'required' => true, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -229,6 +235,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'description' => 'Payment Processor Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'description' => array( 'name' => 'description', @@ -237,11 +246,17 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'description' => 'Payment Processor Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'payment_processor_type_id' => array( 'name' => 'payment_processor_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor Type ID') , + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessorType', 'pseudoconstant' => array( 'table' => 'civicrm_payment_processor_type', @@ -254,18 +269,27 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor is Active?') , 'description' => 'Is this processor active?', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Is Default?') , 'description' => 'Is this processor the default?', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'is_test' => array( 'name' => 'is_test', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Test Processor?') , 'description' => 'Is this processor for a test site?', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'user_name' => array( 'name' => 'user_name', @@ -273,6 +297,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('User Name') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'password' => array( 'name' => 'password', @@ -280,11 +307,17 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Password') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'signature' => array( 'name' => 'signature', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Signature') , + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'url_site' => array( 'name' => 'url_site', @@ -292,6 +325,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Site URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'url_api' => array( 'name' => 'url_api', @@ -299,6 +335,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('API URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'url_recur' => array( 'name' => 'url_recur', @@ -306,6 +345,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Recurring Payments URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'url_button' => array( 'name' => 'url_button', @@ -313,6 +355,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Button URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'subject' => array( 'name' => 'subject', @@ -320,6 +365,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Subject') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'class_name' => array( 'name' => 'class_name', @@ -327,6 +375,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Suffix for PHP class name implementation') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'billing_mode' => array( 'name' => 'billing_mode', @@ -334,12 +385,18 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Processor Billing Mode') , 'description' => 'Billing Mode (deprecated)', 'required' => true, + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'is_recur' => array( 'name' => 'is_recur', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Supports Recurring?') , 'description' => 'Can process recurring contributions', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'payment_type' => array( 'name' => 'payment_type', @@ -347,6 +404,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Payment Type') , 'description' => 'Payment Type: Credit or Debit (deprecated)', 'default' => '1', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , 'payment_instrument_id' => array( 'name' => 'payment_instrument_id', @@ -354,6 +414,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Payment Method') , 'description' => 'Payment Instrument ID', 'default' => '1', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', 'pseudoconstant' => array( 'optionGroupName' => 'payment_instrument', 'optionEditPath' => 'civicrm/admin/options/payment_instrument', @@ -365,6 +428,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { 'title' => ts('Accepted Credit Cards') , 'description' => 'array of accepted credit card types', 'default' => 'NULL', + 'table_name' => 'civicrm_payment_processor', + 'entity' => 'PaymentProcessor', + 'bao' => 'CRM_Financial_BAO_PaymentProcessor', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Financial/DAO/PaymentProcessorType.php b/CRM/Financial/DAO/PaymentProcessorType.php index 5c67de64db..012e91f877 100644 --- a/CRM/Financial/DAO/PaymentProcessorType.php +++ b/CRM/Financial/DAO/PaymentProcessorType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:580f1a6f2d7a243acf2ed4efe383ad12) + * (GenCodeChecksum:39cdf5f44260a922c605275692b91f07) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -196,6 +196,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Payment Processor Type ID') , 'description' => 'Payment Processor Type ID', 'required' => true, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'name' => array( 'name' => 'name', @@ -204,6 +207,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'description' => 'Payment Processor Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'title' => array( 'name' => 'title', @@ -212,6 +218,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'description' => 'Payment Processor Name.', 'maxlength' => 127, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'description' => array( 'name' => 'description', @@ -220,18 +229,27 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'description' => 'Payment Processor Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Type Is Active?') , 'description' => 'Is this processor active?', + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Type is Default?') , 'description' => 'Is this processor the default?', + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'user_name_label' => array( 'name' => 'user_name_label', @@ -239,6 +257,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Label for User Name if used') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'password_label' => array( 'name' => 'password_label', @@ -246,6 +267,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Label for password') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'signature_label' => array( 'name' => 'signature_label', @@ -253,6 +277,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Label for Signature') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'subject_label' => array( 'name' => 'subject_label', @@ -260,6 +287,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Label for Subject') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'class_name' => array( 'name' => 'class_name', @@ -267,6 +297,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Suffix for PHP class name implementation') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_site_default' => array( 'name' => 'url_site_default', @@ -274,6 +307,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Live Site URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_api_default' => array( 'name' => 'url_api_default', @@ -281,6 +317,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default API Site URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_recur_default' => array( 'name' => 'url_recur_default', @@ -288,6 +327,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Live Recurring Payments URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_button_default' => array( 'name' => 'url_button_default', @@ -295,6 +337,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Live Button URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_site_test_default' => array( 'name' => 'url_site_test_default', @@ -302,6 +347,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Test Site URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_api_test_default' => array( 'name' => 'url_api_test_default', @@ -309,6 +357,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Test API URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_recur_test_default' => array( 'name' => 'url_recur_test_default', @@ -316,6 +367,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Test Recurring Payment URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'url_button_test_default' => array( 'name' => 'url_button_test_default', @@ -323,6 +377,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Default Test Button URL') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'billing_mode' => array( 'name' => 'billing_mode', @@ -330,6 +387,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Billing Mode') , 'description' => 'Billing Mode (deprecated)', 'required' => true, + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', 'html' => array( 'type' => 'Select', ) , @@ -342,6 +402,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Type Supports Recurring?') , 'description' => 'Can process recurring contributions', + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'payment_type' => array( 'name' => 'payment_type', @@ -349,6 +412,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Processor Type Payment Type') , 'description' => 'Payment Type: Credit or Debit (deprecated)', 'default' => '1', + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', ) , 'payment_instrument_id' => array( 'name' => 'payment_instrument_id', @@ -356,6 +422,9 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { 'title' => ts('Payment Method') , 'description' => 'Payment Instrument ID', 'default' => '1', + 'table_name' => 'civicrm_payment_processor_type', + 'entity' => 'PaymentProcessorType', + 'bao' => 'CRM_Financial_BAO_PaymentProcessorType', 'pseudoconstant' => array( 'optionGroupName' => 'payment_instrument', 'optionEditPath' => 'civicrm/admin/options/payment_instrument', diff --git a/CRM/Financial/DAO/PaymentToken.php b/CRM/Financial/DAO/PaymentToken.php index e539c5bb6f..3c78cba4c7 100644 --- a/CRM/Financial/DAO/PaymentToken.php +++ b/CRM/Financial/DAO/PaymentToken.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Financial/PaymentToken.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5eb52139a66fec2b47a6b3f461339599) + * (GenCodeChecksum:5fc7f512cc85341d815456cf9c355797) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -164,6 +164,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'title' => ts('Payment Token ID') , 'description' => 'Payment Token ID', 'required' => true, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'contact_id' => array( 'name' => 'contact_id', @@ -171,6 +174,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'FK to Contact ID for the owner of the token', 'required' => true, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'payment_processor_id' => array( @@ -178,6 +184,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor ID') , 'required' => true, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor', ) , 'token' => array( @@ -188,6 +197,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'created_date' => array( 'name' => 'created_date', @@ -195,12 +207,18 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'title' => ts('Created Date') , 'description' => 'Date created', 'default' => 'CURRENT_TIMESTAMP', + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Created ID') , 'description' => 'Contact ID of token creator', + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'expiry_date' => array( @@ -208,6 +226,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Expiry Date') , 'description' => 'Date this token expires', + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'email' => array( 'name' => 'email', @@ -216,6 +237,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'description' => 'Email at the time of token creation. Useful for fraud forensics', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'billing_first_name' => array( 'name' => 'billing_first_name', @@ -224,6 +248,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'description' => 'Billing first name at the time of token creation. Useful for fraud forensics', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'billing_middle_name' => array( 'name' => 'billing_middle_name', @@ -232,6 +259,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'description' => 'Billing middle name at the time of token creation. Useful for fraud forensics', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'billing_last_name' => array( 'name' => 'billing_last_name', @@ -240,6 +270,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'description' => 'Billing last name at the time of token creation. Useful for fraud forensics', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'masked_account_number' => array( 'name' => 'masked_account_number', @@ -248,6 +281,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'description' => 'Holds the part of the card number or account details that may be retained or displayed', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , 'ip_address' => array( 'name' => 'ip_address', @@ -256,6 +292,9 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { 'description' => 'IP used when creating the token. Useful for fraud forensics', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_payment_token', + 'entity' => 'PaymentToken', + 'bao' => 'CRM_Financial_DAO_PaymentToken', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Friend/DAO/Friend.php b/CRM/Friend/DAO/Friend.php index ff05a50ed9..2f78371225 100644 --- a/CRM/Friend/DAO/Friend.php +++ b/CRM/Friend/DAO/Friend.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Friend/Friend.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:62111759b7ebef1f78bd30c04c2086ba) + * (GenCodeChecksum:62f899b48f9f20def0ab8def52ff5be7) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -143,6 +143,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'title' => ts('Friend ID') , 'description' => 'Friend ID', 'required' => true, + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -152,6 +155,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -159,6 +165,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'title' => ts('Entity ID') , 'description' => 'Foreign key to the referenced item.', 'required' => true, + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', ) , 'title' => array( 'name' => 'title', @@ -166,6 +175,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'title' => ts('Title') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'Text', ) , @@ -175,6 +187,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Intro') , 'description' => 'Introductory message to contributor or participant displayed on the Tell a Friend form.', + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'Text', ) , @@ -184,6 +199,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Suggested Message') , 'description' => 'Suggested message to friends, provided as default on the Tell A Friend form.', + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'Text', ) , @@ -200,6 +218,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'Text', ) , @@ -211,6 +232,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'description' => 'Text for Tell a Friend thank you page header and HTML title.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'Text', ) , @@ -220,6 +244,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Thank You Text') , 'description' => 'Thank you message displayed on success page.', + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'Text', ) , @@ -228,6 +255,9 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Enabled?') , + 'table_name' => 'civicrm_tell_friend', + 'entity' => 'Friend', + 'bao' => 'CRM_Friend_BAO_Friend', 'html' => array( 'type' => 'CheckBox', ) , diff --git a/CRM/Grant/DAO/Grant.php b/CRM/Grant/DAO/Grant.php index 32270be56a..63b7395591 100644 --- a/CRM/Grant/DAO/Grant.php +++ b/CRM/Grant/DAO/Grant.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Grant/Grant.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:38ec42e92df1109ae3a0fe337852fbd5) + * (GenCodeChecksum:5b5a9e7de7ef9bec79b0aa543804422c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -181,6 +181,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', ) , 'grant_contact_id' => array( 'name' => 'contact_id', @@ -192,6 +195,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'where' => 'civicrm_grant.contact_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -206,6 +212,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'where' => 'civicrm_grant.application_received_date', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', ) , 'decision_date' => array( 'name' => 'decision_date', @@ -217,6 +226,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Select Date', ) , @@ -231,6 +243,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Select Date', ) , @@ -240,6 +255,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Grant Due Date') , 'description' => 'Date on which grant report is due.', + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Select Date', ) , @@ -254,6 +272,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'CheckBox', ) , @@ -268,6 +289,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'where' => 'civicrm_grant.grant_type_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Select', ) , @@ -291,6 +315,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Text', ) , @@ -304,6 +331,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Text', ) , @@ -322,6 +352,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Text', ) , @@ -334,6 +367,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'required' => true, 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Select', ) , @@ -356,6 +392,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'TextArea', ) , @@ -371,6 +410,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'html' => array( 'type' => 'Select', ) , @@ -385,6 +427,9 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type.', 'default' => 'NULL', + 'table_name' => 'civicrm_grant', + 'entity' => 'Grant', + 'bao' => 'CRM_Grant_BAO_Grant', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array( 'table' => 'civicrm_financial_type', diff --git a/CRM/Mailing/DAO/BouncePattern.php b/CRM/Mailing/DAO/BouncePattern.php index 1de4ba609f..0a634603a8 100644 --- a/CRM/Mailing/DAO/BouncePattern.php +++ b/CRM/Mailing/DAO/BouncePattern.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/BouncePattern.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:69f9b6d9935a5baf3e24bcd743104ce5) + * (GenCodeChecksum:4e496c14b703c0c46a4011924eda52e6) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Bounce Pattern ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_bounce_pattern', + 'entity' => 'BouncePattern', + 'bao' => 'CRM_Mailing_BAO_BouncePattern', ) , 'bounce_type_id' => array( 'name' => 'bounce_type_id', @@ -108,6 +111,9 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO { 'title' => ts('Bounce Type') , 'description' => 'Type of bounce', 'required' => true, + 'table_name' => 'civicrm_mailing_bounce_pattern', + 'entity' => 'BouncePattern', + 'bao' => 'CRM_Mailing_BAO_BouncePattern', 'FKClassName' => 'CRM_Mailing_DAO_BounceType', ) , 'pattern' => array( @@ -117,6 +123,9 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO { 'description' => 'A regexp to match a message to a bounce type', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_bounce_pattern', + 'entity' => 'BouncePattern', + 'bao' => 'CRM_Mailing_BAO_BouncePattern', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/DAO/BounceType.php b/CRM/Mailing/DAO/BounceType.php index de935afc49..d988e57e08 100644 --- a/CRM/Mailing/DAO/BounceType.php +++ b/CRM/Mailing/DAO/BounceType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/BounceType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:39ce9c0840073f1a91f41d1eed737c5e) + * (GenCodeChecksum:d68c2efe2239490c33482af1416b3c80) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -93,6 +93,9 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Bounce Type ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_bounce_type', + 'entity' => 'BounceType', + 'bao' => 'CRM_Mailing_DAO_BounceType', ) , 'name' => array( 'name' => 'name', @@ -102,6 +105,9 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO { 'required' => true, 'maxlength' => 24, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_mailing_bounce_type', + 'entity' => 'BounceType', + 'bao' => 'CRM_Mailing_DAO_BounceType', ) , 'description' => array( 'name' => 'description', @@ -110,6 +116,9 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO { 'description' => 'A description of this bounce type', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_bounce_type', + 'entity' => 'BounceType', + 'bao' => 'CRM_Mailing_DAO_BounceType', ) , 'hold_threshold' => array( 'name' => 'hold_threshold', @@ -117,6 +126,9 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO { 'title' => ts('Hold Threshold') , 'description' => 'Number of bounces of this type required before the email address is put on bounce hold', 'required' => true, + 'table_name' => 'civicrm_mailing_bounce_type', + 'entity' => 'BounceType', + 'bao' => 'CRM_Mailing_DAO_BounceType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/DAO/Component.php b/CRM/Mailing/DAO/Component.php index f57644c307..e636dbbe48 100644 --- a/CRM/Mailing/DAO/Component.php +++ b/CRM/Mailing/DAO/Component.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Component.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6ba335406e14e0ac4cd865e7f1d7178b) + * (GenCodeChecksum:108b795c40ec776368214ac33a4c2a52) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -116,6 +116,9 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Component ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', ) , 'name' => array( 'name' => 'name', @@ -124,6 +127,9 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'description' => 'The name of this component', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', ) , 'component_type' => array( 'name' => 'component_type', @@ -132,6 +138,9 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'description' => 'Type of Component.', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', 'html' => array( 'type' => 'Select', ) , @@ -145,6 +154,9 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'title' => ts('Subject') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', ) , 'body_html' => array( 'name' => 'body_html', @@ -153,6 +165,9 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'description' => 'Body of the component in html format.', 'rows' => 8, 'cols' => 80, + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', 'html' => array( 'type' => 'TextArea', ) , @@ -164,6 +179,9 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'description' => 'Body of the component in text format.', 'rows' => 8, 'cols' => 80, + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', 'html' => array( 'type' => 'TextArea', ) , @@ -173,12 +191,18 @@ class CRM_Mailing_DAO_Component extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Mailing Component is Default?') , 'description' => 'Is this the default component for this component_type?', + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Mailing Component Is Active?') , 'description' => 'Is this property active?', + 'table_name' => 'civicrm_mailing_component', + 'entity' => 'Component', + 'bao' => 'CRM_Mailing_BAO_Component', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/DAO/Mailing.php b/CRM/Mailing/DAO/Mailing.php index 8744a32b67..22fe945352 100644 --- a/CRM/Mailing/DAO/Mailing.php +++ b/CRM/Mailing/DAO/Mailing.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Mailing.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:99efa41e4294197973111d4d5ced5972) + * (GenCodeChecksum:ef93e557813ce88a79ae6a0e07765301) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -345,12 +345,18 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing ID') , 'required' => true, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'domain_id' => array( 'name' => 'domain_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Domain') , 'description' => 'Which site is this mailing for', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -363,6 +369,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Header') , 'description' => 'FK to the header component.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Mailing_DAO_Component', ) , 'footer_id' => array( @@ -370,6 +379,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Footer') , 'description' => 'FK to the footer component.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Mailing_DAO_Component', ) , 'reply_id' => array( @@ -377,6 +389,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Reply') , 'description' => 'FK to the auto-responder component.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Mailing_DAO_Component', ) , 'unsubscribe_id' => array( @@ -384,18 +399,27 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Unsubscribe') , 'description' => 'FK to the unsubscribe component.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Mailing_DAO_Component', ) , 'resubscribe_id' => array( 'name' => 'resubscribe_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Resubscribe') , + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'optout_id' => array( 'name' => 'optout_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Opt Out') , 'description' => 'FK to the opt-out component.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Mailing_DAO_Component', ) , 'name' => array( @@ -405,6 +429,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'Mailing Name.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Text', ) , @@ -416,6 +443,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'differentiate between standalone mailings, A/B tests, and A/B final-winner', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Select', ) , @@ -430,6 +460,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'From Header of mailing', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Text', ) , @@ -441,6 +474,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'From Email of mailing', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Text', ) , @@ -452,6 +488,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'Reply-To Email of mailing', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Text', ) , @@ -465,6 +504,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'default' => 'traditional', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'pseudoconstant' => array( 'callback' => 'CRM_Mailing_BAO_Mailing::getTemplateTypeNames', ) @@ -474,6 +516,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Template Options (JSON)') , 'description' => 'Advanced options used by the email templating system. (JSON encoded)', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'subject' => array( 'name' => 'subject', @@ -482,6 +527,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'Subject of mailing', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Text', ) , @@ -491,18 +539,27 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Body Text') , 'description' => 'Body of the mailing in text format.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'body_html' => array( 'name' => 'body_html', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Body Html') , 'description' => 'Body of the mailing in html format.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'url_tracking' => array( 'name' => 'url_tracking', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Url Tracking') , 'description' => 'Should we track URL click-throughs for this mailing?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -512,6 +569,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Forward Replies') , 'description' => 'Should we forward replies back to the author?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -521,6 +581,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Auto Responder') , 'description' => 'Should we enable the auto-responder?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -530,12 +593,18 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Track Mailing?') , 'description' => 'Should we track when recipients open/read this mailing?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'is_completed' => array( 'name' => 'is_completed', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Mailing Completed') , 'description' => 'Has at least one job associated with this mailing finished?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -545,6 +614,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Message Template') , 'description' => 'FK to the message template.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Core_DAO_MessageTemplate', ) , 'override_verp' => array( @@ -552,6 +624,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Override Verp') , 'description' => 'Should we overrite VERP address in Reply-To', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -561,6 +636,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Creator') , 'description' => 'FK to Contact ID who first created this mailing', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -568,6 +646,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Mailing Created Date') , 'description' => 'Date and time this mailing was created.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Select Date', ) , @@ -577,6 +658,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Scheduled By') , 'description' => 'FK to Contact ID who scheduled this mailing', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'scheduled_date' => array( @@ -584,12 +668,18 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Mailing Scheduled Date') , 'description' => 'Date and time this mailing was scheduled.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'approver_id' => array( 'name' => 'approver_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Approved By') , 'description' => 'FK to Contact ID who approved this mailing', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'approval_date' => array( @@ -597,12 +687,18 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Mailing Approved Date') , 'description' => 'Date and time this mailing was approved.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'approval_status_id' => array( 'name' => 'approval_status_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Approval Status') , 'description' => 'The status of this mailing. Values: none, approved, rejected', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Select', ) , @@ -616,6 +712,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Approval Note') , 'description' => 'Note behind the decision.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'TextArea', ) , @@ -625,6 +724,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Mailing Archived?') , 'description' => 'Is this mailing archived?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -637,6 +739,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'maxlength' => 40, 'size' => CRM_Utils_Type::BIG, 'default' => 'Public Pages', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Select', ) , @@ -649,6 +754,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Campaign') , 'description' => 'The campaign for which this mailing has been initiated.', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'Select', @@ -664,6 +772,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('No Duplicate emails?') , 'description' => 'Remove duplicate emails?', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'CheckBox', ) , @@ -672,6 +783,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'name' => 'sms_provider_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing SMS Provider') , + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_SMS_DAO_Provider', 'html' => array( 'type' => 'Select', @@ -684,12 +798,18 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'Key for validating requests related to this mailing.', 'maxlength' => 16, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', ) , 'location_type_id' => array( 'name' => 'location_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Location Type') , 'description' => 'With email_selection_method, determines which email address to use', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'FKClassName' => 'CRM_Core_DAO_LocationType', 'pseudoconstant' => array( 'table' => 'civicrm_location_type', @@ -705,6 +825,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'maxlength' => 20, 'size' => CRM_Utils_Type::MEDIUM, 'default' => 'automatic', + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'pseudoconstant' => array( 'callback' => 'CRM_Core_SelectValues::emailSelectMethods', ) @@ -716,6 +839,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { 'description' => 'Language of the content of the mailing. Useful for tokens.', 'maxlength' => 5, 'size' => CRM_Utils_Type::SIX, + 'table_name' => 'civicrm_mailing', + 'entity' => 'Mailing', + 'bao' => 'CRM_Mailing_BAO_Mailing', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Mailing/DAO/MailingAB.php b/CRM/Mailing/DAO/MailingAB.php index cd399eeec9..b4b1c5f999 100644 --- a/CRM/Mailing/DAO/MailingAB.php +++ b/CRM/Mailing/DAO/MailingAB.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingAB.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9cdad4c84482433cdec1c1c1ca0dcf97) + * (GenCodeChecksum:34704091aa51693971aaab2d2ac7c1cf) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -164,6 +164,9 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('MailingAB ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'name' => array( 'name' => 'name', @@ -172,6 +175,9 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'description' => 'Name of the A/B test', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'status' => array( 'name' => 'status', @@ -180,6 +186,9 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'description' => 'Status', 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', 'pseudoconstant' => array( 'callback' => 'CRM_Mailing_PseudoConstant::abStatus', ) @@ -189,24 +198,36 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing ID (A)') , 'description' => 'The first experimental mailing ("A" condition)', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'mailing_id_b' => array( 'name' => 'mailing_id_b', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing ID (B)') , 'description' => 'The second experimental mailing ("B" condition)', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'mailing_id_c' => array( 'name' => 'mailing_id_c', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing ID (C)') , 'description' => 'The final, general mailing (derived from A or B)', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'domain_id' => array( 'name' => 'domain_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Domain ID') , 'description' => 'Which site is this mailing for', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'testing_criteria' => array( 'name' => 'testing_criteria', @@ -214,6 +235,9 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'title' => ts('Testing Criteria') , 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', 'pseudoconstant' => array( 'callback' => 'CRM_Mailing_PseudoConstant::abTestCriteria', ) @@ -224,6 +248,9 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'title' => ts('Winner Criteria') , 'maxlength' => 32, 'size' => CRM_Utils_Type::MEDIUM, + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', 'pseudoconstant' => array( 'callback' => 'CRM_Mailing_PseudoConstant::abWinnerCriteria', ) @@ -235,23 +262,35 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'description' => 'What specific url to track', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'declare_winning_time' => array( 'name' => 'declare_winning_time', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Declaration Time') , 'description' => 'In how much time to declare winner', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'group_percentage' => array( 'name' => 'group_percentage', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Group Percentage') , + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', ) , 'created_id' => array( 'name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('AB Test Created By') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'created_date' => array( @@ -259,6 +298,9 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('AB Test Created Date') , 'description' => 'When was this item created', + 'table_name' => 'civicrm_mailing_abtest', + 'entity' => 'MailingAB', + 'bao' => 'CRM_Mailing_BAO_MailingAB', 'html' => array( 'type' => 'Select Date', ) , diff --git a/CRM/Mailing/DAO/MailingGroup.php b/CRM/Mailing/DAO/MailingGroup.php index d0184d8d71..69a8975723 100644 --- a/CRM/Mailing/DAO/MailingGroup.php +++ b/CRM/Mailing/DAO/MailingGroup.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:da1368978867c9bcae28f74bdf76f199) + * (GenCodeChecksum:fa734125b5fd4a3d8d916fc0cfdfbba4) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -126,6 +126,9 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Group ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', ) , 'mailing_id' => array( 'name' => 'mailing_id', @@ -133,6 +136,9 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { 'title' => ts('Mailing') , 'description' => 'The ID of a previous mailing to include/exclude recipients.', 'required' => true, + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', 'FKClassName' => 'CRM_Mailing_DAO_Mailing', ) , 'group_type' => array( @@ -142,6 +148,9 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { 'description' => 'Are the members of the group included or excluded?.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', 'html' => array( 'type' => 'Select', ) , @@ -157,6 +166,9 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', 'pseudoconstant' => array( 'callback' => 'CRM_Mailing_BAO_Mailing::mailingGroupEntityTables', ) @@ -167,18 +179,27 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { 'title' => ts('Mailing Group Entity') , 'description' => 'Foreign key to the referenced item.', 'required' => true, + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', ) , 'search_id' => array( 'name' => 'search_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Group Search') , 'description' => 'The filtering search. custom search id or -1 for civicrm api search', + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', ) , 'search_args' => array( 'name' => 'search_args', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Mailing Group Search Arguments') , 'description' => 'The arguments to be sent to the search function', + 'table_name' => 'civicrm_mailing_group', + 'entity' => 'MailingGroup', + 'bao' => 'CRM_Mailing_DAO_MailingGroup', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/DAO/MailingJob.php b/CRM/Mailing/DAO/MailingJob.php index 17e9d22c21..899e0f5f4b 100644 --- a/CRM/Mailing/DAO/MailingJob.php +++ b/CRM/Mailing/DAO/MailingJob.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/MailingJob.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:df7f5d74b6be9d995c7990e4315bfe40) + * (GenCodeChecksum:0d980fe5408cdcfa95a640da20a9f2f2) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -150,6 +150,9 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Job ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'mailing_id' => array( 'name' => 'mailing_id', @@ -157,6 +160,9 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'title' => ts('Mailing') , 'description' => 'The ID of the mailing this Job will send.', 'required' => true, + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', 'FKClassName' => 'CRM_Mailing_DAO_Mailing', ) , 'scheduled_date' => array( @@ -164,18 +170,27 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Mailing Scheduled Date') , 'description' => 'date on which this job was scheduled.', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'start_date' => array( 'name' => 'start_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Mailing Job Start Date') , 'description' => 'date on which this job was started.', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'end_date' => array( 'name' => 'end_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Mailing Job End Date') , 'description' => 'date on which this job ended.', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'status' => array( 'name' => 'status', @@ -184,6 +199,9 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'description' => 'The state of this job', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', 'html' => array( 'type' => 'Select', ) , @@ -196,6 +214,9 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Mailing Job Is Test?') , 'description' => 'Is this job for a test mail?', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'job_type' => array( 'name' => 'job_type', @@ -204,6 +225,9 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'description' => 'Type of mailling job: null | child ', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'parent_id' => array( 'name' => 'parent_id', @@ -211,6 +235,9 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'title' => ts('Mailing Job Parent') , 'description' => 'Parent job id', 'default' => 'NULL', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', 'FKClassName' => 'CRM_Mailing_DAO_MailingJob', ) , 'job_offset' => array( @@ -218,12 +245,18 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Job Offset') , 'description' => 'Offset of the child job', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , 'job_limit' => array( 'name' => 'job_limit', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Job Limit') , 'description' => 'Queue size limit for each child job', + 'table_name' => 'civicrm_mailing_job', + 'entity' => 'MailingJob', + 'bao' => 'CRM_Mailing_BAO_MailingJob', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/DAO/Recipients.php b/CRM/Mailing/DAO/Recipients.php index 2b8104a4bd..5ca8d796e9 100644 --- a/CRM/Mailing/DAO/Recipients.php +++ b/CRM/Mailing/DAO/Recipients.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Recipients.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f29121ef2b9a728e3af9bc9ae45e949e) + * (GenCodeChecksum:7eb576d30bbc948ab5b632294a081cf8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -116,6 +116,9 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Recipients ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_recipients', + 'entity' => 'Recipients', + 'bao' => 'CRM_Mailing_BAO_Recipients', ) , 'mailing_id' => array( 'name' => 'mailing_id', @@ -123,6 +126,9 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { 'title' => ts('Mailing') , 'description' => 'The ID of the mailing this Job will send.', 'required' => true, + 'table_name' => 'civicrm_mailing_recipients', + 'entity' => 'Recipients', + 'bao' => 'CRM_Mailing_BAO_Recipients', 'FKClassName' => 'CRM_Mailing_DAO_Mailing', ) , 'contact_id' => array( @@ -131,6 +137,9 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { 'title' => ts('Mailing Recipient') , 'description' => 'FK to Contact', 'required' => true, + 'table_name' => 'civicrm_mailing_recipients', + 'entity' => 'Recipients', + 'bao' => 'CRM_Mailing_BAO_Recipients', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'email_id' => array( @@ -139,6 +148,9 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { 'title' => ts('Recipient Email') , 'description' => 'FK to Email', 'default' => 'NULL', + 'table_name' => 'civicrm_mailing_recipients', + 'entity' => 'Recipients', + 'bao' => 'CRM_Mailing_BAO_Recipients', 'FKClassName' => 'CRM_Core_DAO_Email', ) , 'phone_id' => array( @@ -147,6 +159,9 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { 'title' => ts('Recipient Phone') , 'description' => 'FK to Phone', 'default' => 'NULL', + 'table_name' => 'civicrm_mailing_recipients', + 'entity' => 'Recipients', + 'bao' => 'CRM_Mailing_BAO_Recipients', 'FKClassName' => 'CRM_Core_DAO_Phone', ) , ); diff --git a/CRM/Mailing/DAO/Spool.php b/CRM/Mailing/DAO/Spool.php index 983fd1af2d..6f402eae1d 100644 --- a/CRM/Mailing/DAO/Spool.php +++ b/CRM/Mailing/DAO/Spool.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Spool.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:79a17f549e804c08e52dd5bccc546c3c) + * (GenCodeChecksum:8d44e660311ef22bdbe80d66a87485bd) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -125,6 +125,9 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Spool ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', ) , 'job_id' => array( 'name' => 'job_id', @@ -132,6 +135,9 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO { 'title' => ts('Mailing Job') , 'description' => 'The ID of the Job .', 'required' => true, + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', 'FKClassName' => 'CRM_Mailing_DAO_MailingJob', ) , 'recipient_email' => array( @@ -139,30 +145,45 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Recipient Email') , 'description' => 'The email of the receipients this mail is to be sent.', + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', ) , 'headers' => array( 'name' => 'headers', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Headers') , 'description' => 'The header information of this mailing .', + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', ) , 'body' => array( 'name' => 'body', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Body') , 'description' => 'The body of this mailing.', + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', ) , 'added_at' => array( 'name' => 'added_at', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Added') , 'description' => 'date on which this job was added.', + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', ) , 'removed_at' => array( 'name' => 'removed_at', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Removed') , 'description' => 'date on which this job was removed.', + 'table_name' => 'civicrm_mailing_spool', + 'entity' => 'Spool', + 'bao' => 'CRM_Mailing_BAO_Spool', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/DAO/TrackableURL.php b/CRM/Mailing/DAO/TrackableURL.php index 21a5462ca3..c93b410460 100644 --- a/CRM/Mailing/DAO/TrackableURL.php +++ b/CRM/Mailing/DAO/TrackableURL.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/TrackableURL.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3346d0c06632d01a12bc81b0f4313915) + * (GenCodeChecksum:a9512c3a642cc3d3f5333f6c92aa430f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Trackable URL ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_trackable_url', + 'entity' => 'TrackableURL', + 'bao' => 'CRM_Mailing_BAO_TrackableURL', ) , 'url' => array( 'name' => 'url', @@ -108,6 +111,9 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO { 'title' => ts('Url') , 'description' => 'The URL to be tracked.', 'required' => true, + 'table_name' => 'civicrm_mailing_trackable_url', + 'entity' => 'TrackableURL', + 'bao' => 'CRM_Mailing_BAO_TrackableURL', ) , 'mailing_id' => array( 'name' => 'mailing_id', @@ -115,6 +121,9 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO { 'title' => ts('Mailing') , 'description' => 'FK to the mailing', 'required' => true, + 'table_name' => 'civicrm_mailing_trackable_url', + 'entity' => 'TrackableURL', + 'bao' => 'CRM_Mailing_BAO_TrackableURL', 'FKClassName' => 'CRM_Mailing_DAO_Mailing', ) , ); diff --git a/CRM/Mailing/Event/DAO/Bounce.php b/CRM/Mailing/Event/DAO/Bounce.php index 149c9abbcb..d968f653c8 100644 --- a/CRM/Mailing/Event/DAO/Bounce.php +++ b/CRM/Mailing/Event/DAO/Bounce.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3ab35b407e4951a75170bca8cd86a619) + * (GenCodeChecksum:190aac8f61192fc1b2ff3dd7b3f3214a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -113,6 +113,9 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Bounce ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_bounce', + 'entity' => 'Bounce', + 'bao' => 'CRM_Mailing_Event_BAO_Bounce', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -120,6 +123,9 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO { 'title' => ts('Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_bounce', + 'entity' => 'Bounce', + 'bao' => 'CRM_Mailing_Event_BAO_Bounce', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'bounce_type_id' => array( @@ -127,6 +133,9 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Bounce Type') , 'description' => 'What type of bounce was it?', + 'table_name' => 'civicrm_mailing_event_bounce', + 'entity' => 'Bounce', + 'bao' => 'CRM_Mailing_Event_BAO_Bounce', 'html' => array( 'type' => 'Select', ) , @@ -143,6 +152,9 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO { 'description' => 'The reason the email bounced.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_event_bounce', + 'entity' => 'Bounce', + 'bao' => 'CRM_Mailing_Event_BAO_Bounce', ) , 'time_stamp' => array( 'name' => 'time_stamp', @@ -150,6 +162,9 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO { 'title' => ts('Timestamp') , 'description' => 'When this bounce event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_bounce', + 'entity' => 'Bounce', + 'bao' => 'CRM_Mailing_Event_BAO_Bounce', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Confirm.php b/CRM/Mailing/Event/DAO/Confirm.php index 31de22382d..9e76bd61fa 100644 --- a/CRM/Mailing/Event/DAO/Confirm.php +++ b/CRM/Mailing/Event/DAO/Confirm.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c6e6b02a3a8b126eaee7bf4b58b8261e) + * (GenCodeChecksum:2f2090543c189e82f75a64b171646b0a) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Confirmation ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_confirm', + 'entity' => 'Confirm', + 'bao' => 'CRM_Mailing_Event_BAO_Confirm', ) , 'event_subscribe_id' => array( 'name' => 'event_subscribe_id', @@ -108,6 +111,9 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO { 'title' => ts('Mailing Subscribe ID') , 'description' => 'FK to civicrm_mailing_event_subscribe', 'required' => true, + 'table_name' => 'civicrm_mailing_event_confirm', + 'entity' => 'Confirm', + 'bao' => 'CRM_Mailing_Event_BAO_Confirm', 'FKClassName' => 'CRM_Mailing_Event_DAO_Subscribe', ) , 'time_stamp' => array( @@ -116,6 +122,9 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO { 'title' => ts('Confirm Timestamp') , 'description' => 'When this confirmation event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_confirm', + 'entity' => 'Confirm', + 'bao' => 'CRM_Mailing_Event_BAO_Confirm', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Delivered.php b/CRM/Mailing/Event/DAO/Delivered.php index 4050c693b2..13dde5292a 100644 --- a/CRM/Mailing/Event/DAO/Delivered.php +++ b/CRM/Mailing/Event/DAO/Delivered.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6a51b03a333ce5ccbd3533cb4f6bf8b9) + * (GenCodeChecksum:dfd599fb520f1b5a626a2821aaa1066f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Delivered ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_delivered', + 'entity' => 'Delivered', + 'bao' => 'CRM_Mailing_Event_BAO_Delivered', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -108,6 +111,9 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO { 'title' => ts('Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_delivered', + 'entity' => 'Delivered', + 'bao' => 'CRM_Mailing_Event_BAO_Delivered', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'time_stamp' => array( @@ -116,6 +122,9 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO { 'title' => ts('Timestamp') , 'description' => 'When this delivery event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_delivered', + 'entity' => 'Delivered', + 'bao' => 'CRM_Mailing_Event_BAO_Delivered', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Forward.php b/CRM/Mailing/Event/DAO/Forward.php index 2b3e17d450..36033e9db1 100644 --- a/CRM/Mailing/Event/DAO/Forward.php +++ b/CRM/Mailing/Event/DAO/Forward.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Forward.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:922aee5401dd28090fba60a303710e1d) + * (GenCodeChecksum:436109f4cf7ea2aef0c5c4b5d094bfd3) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -108,6 +108,9 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Forward ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_forward', + 'entity' => 'Forward', + 'bao' => 'CRM_Mailing_Event_BAO_Forward', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -115,6 +118,9 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO { 'title' => ts('Mailing Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_forward', + 'entity' => 'Forward', + 'bao' => 'CRM_Mailing_Event_BAO_Forward', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'dest_queue_id' => array( @@ -122,6 +128,9 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Destination Queue') , 'description' => 'FK to EventQueue for destination', + 'table_name' => 'civicrm_mailing_event_forward', + 'entity' => 'Forward', + 'bao' => 'CRM_Mailing_Event_BAO_Forward', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'time_stamp' => array( @@ -130,6 +139,9 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO { 'title' => ts('Timestamp') , 'description' => 'When this forward event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_forward', + 'entity' => 'Forward', + 'bao' => 'CRM_Mailing_Event_BAO_Forward', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Opened.php b/CRM/Mailing/Event/DAO/Opened.php index 8ec2ddd330..ca3398c1ef 100644 --- a/CRM/Mailing/Event/DAO/Opened.php +++ b/CRM/Mailing/Event/DAO/Opened.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Opened.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:e874762899f7abc3c57b64d13585a9c4) + * (GenCodeChecksum:f198eefb2b8122c48c0ad7fd0705ffcf) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Opened ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_opened', + 'entity' => 'Opened', + 'bao' => 'CRM_Mailing_Event_BAO_Opened', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -108,6 +111,9 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO { 'title' => ts('Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_opened', + 'entity' => 'Opened', + 'bao' => 'CRM_Mailing_Event_BAO_Opened', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'time_stamp' => array( @@ -116,6 +122,9 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO { 'title' => ts('Timestamp') , 'description' => 'When this open event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_opened', + 'entity' => 'Opened', + 'bao' => 'CRM_Mailing_Event_BAO_Opened', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Queue.php b/CRM/Mailing/Event/DAO/Queue.php index 5a9c4de544..57b20b59de 100644 --- a/CRM/Mailing/Event/DAO/Queue.php +++ b/CRM/Mailing/Event/DAO/Queue.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Queue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b774f21eb9f8b5977e3fa07c4bcfe299) + * (GenCodeChecksum:fd33cf9185f35b5abc7f906115e5fe91) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -122,6 +122,9 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Event Queue ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_queue', + 'entity' => 'Queue', + 'bao' => 'CRM_Mailing_Event_BAO_Queue', ) , 'job_id' => array( 'name' => 'job_id', @@ -129,6 +132,9 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { 'title' => ts('Job ID') , 'description' => 'FK to Job', 'required' => true, + 'table_name' => 'civicrm_mailing_event_queue', + 'entity' => 'Queue', + 'bao' => 'CRM_Mailing_Event_BAO_Queue', 'FKClassName' => 'CRM_Mailing_DAO_MailingJob', ) , 'email_id' => array( @@ -137,6 +143,9 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { 'title' => ts('Email ID') , 'description' => 'FK to Email', 'default' => 'NULL', + 'table_name' => 'civicrm_mailing_event_queue', + 'entity' => 'Queue', + 'bao' => 'CRM_Mailing_Event_BAO_Queue', 'FKClassName' => 'CRM_Core_DAO_Email', ) , 'contact_id' => array( @@ -145,6 +154,9 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'FK to Contact', 'required' => true, + 'table_name' => 'civicrm_mailing_event_queue', + 'entity' => 'Queue', + 'bao' => 'CRM_Mailing_Event_BAO_Queue', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'hash' => array( @@ -155,6 +167,9 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_event_queue', + 'entity' => 'Queue', + 'bao' => 'CRM_Mailing_Event_BAO_Queue', ) , 'phone_id' => array( 'name' => 'phone_id', @@ -162,6 +177,9 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { 'title' => ts('Phone ID') , 'description' => 'FK to Phone', 'default' => 'NULL', + 'table_name' => 'civicrm_mailing_event_queue', + 'entity' => 'Queue', + 'bao' => 'CRM_Mailing_Event_BAO_Queue', 'FKClassName' => 'CRM_Core_DAO_Phone', ) , ); diff --git a/CRM/Mailing/Event/DAO/Reply.php b/CRM/Mailing/Event/DAO/Reply.php index 99baa73427..465647e100 100644 --- a/CRM/Mailing/Event/DAO/Reply.php +++ b/CRM/Mailing/Event/DAO/Reply.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Reply.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a72b7c44389fe297b7f1a187a37ea42a) + * (GenCodeChecksum:64d95bdb81a8c4a7abfa045510d72396) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -101,6 +101,9 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Reply ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_reply', + 'entity' => 'Reply', + 'bao' => 'CRM_Mailing_Event_BAO_Reply', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -108,6 +111,9 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { 'title' => ts('Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_reply', + 'entity' => 'Reply', + 'bao' => 'CRM_Mailing_Event_BAO_Reply', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'time_stamp' => array( @@ -116,6 +122,9 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { 'title' => ts('Reply Timestamp') , 'description' => 'When this reply event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_reply', + 'entity' => 'Reply', + 'bao' => 'CRM_Mailing_Event_BAO_Reply', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Subscribe.php b/CRM/Mailing/Event/DAO/Subscribe.php index 2e20f21cab..8a33bf712f 100644 --- a/CRM/Mailing/Event/DAO/Subscribe.php +++ b/CRM/Mailing/Event/DAO/Subscribe.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:2f33a8fdacd5e6e0a8858e73a536f3fc) + * (GenCodeChecksum:24bb2ee64dae74379cb2a1bbc038bdac) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -114,6 +114,9 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Subscribe ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_subscribe', + 'entity' => 'Subscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Subscribe', ) , 'group_id' => array( 'name' => 'group_id', @@ -121,6 +124,9 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO { 'title' => ts('Mailing Subscribe Group') , 'description' => 'FK to Group', 'required' => true, + 'table_name' => 'civicrm_mailing_event_subscribe', + 'entity' => 'Subscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Subscribe', 'FKClassName' => 'CRM_Contact_DAO_Group', 'html' => array( 'type' => 'Select', @@ -137,6 +143,9 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO { 'title' => ts('Mailing Subscribe Contact') , 'description' => 'FK to Contact', 'required' => true, + 'table_name' => 'civicrm_mailing_event_subscribe', + 'entity' => 'Subscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Subscribe', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'hash' => array( @@ -147,6 +156,9 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_mailing_event_subscribe', + 'entity' => 'Subscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Subscribe', ) , 'time_stamp' => array( 'name' => 'time_stamp', @@ -154,6 +166,9 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO { 'title' => ts('Mailing Subscribe Timestamp') , 'description' => 'When this subscription event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_subscribe', + 'entity' => 'Subscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Subscribe', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/TrackableURLOpen.php b/CRM/Mailing/Event/DAO/TrackableURLOpen.php index 0d09ccec40..45c5ac1d3e 100644 --- a/CRM/Mailing/Event/DAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/DAO/TrackableURLOpen.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:20c6eeec7cf50407bcfec31a21b8b352) + * (GenCodeChecksum:52362dedcb8c728132a0968cefe06b87) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -108,6 +108,9 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Trackable URL Open ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_trackable_url_open', + 'entity' => 'TrackableURLOpen', + 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -115,6 +118,9 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO { 'title' => ts('Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_trackable_url_open', + 'entity' => 'TrackableURLOpen', + 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'trackable_url_id' => array( @@ -123,6 +129,9 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO { 'title' => ts('Trackable Url') , 'description' => 'FK to TrackableURL', 'required' => true, + 'table_name' => 'civicrm_mailing_event_trackable_url_open', + 'entity' => 'TrackableURLOpen', + 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen', 'FKClassName' => 'CRM_Mailing_DAO_TrackableURL', ) , 'time_stamp' => array( @@ -131,6 +140,9 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO { 'title' => ts('Timestamp') , 'description' => 'When this trackable URL open occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_trackable_url_open', + 'entity' => 'TrackableURLOpen', + 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Mailing/Event/DAO/Unsubscribe.php b/CRM/Mailing/Event/DAO/Unsubscribe.php index 8c574945bf..b42c425b79 100644 --- a/CRM/Mailing/Event/DAO/Unsubscribe.php +++ b/CRM/Mailing/Event/DAO/Unsubscribe.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6494a1c74d3259aaec6b09e69b4c42ae) + * (GenCodeChecksum:e5970acf41727e81f0fa1a7ca2044305) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -107,6 +107,9 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Unsubscribe ID') , 'required' => true, + 'table_name' => 'civicrm_mailing_event_unsubscribe', + 'entity' => 'Unsubscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe', ) , 'event_queue_id' => array( 'name' => 'event_queue_id', @@ -114,6 +117,9 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO { 'title' => ts('Mailing Event Queue') , 'description' => 'FK to EventQueue', 'required' => true, + 'table_name' => 'civicrm_mailing_event_unsubscribe', + 'entity' => 'Unsubscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe', 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue', ) , 'org_unsubscribe' => array( @@ -122,6 +128,9 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO { 'title' => ts('Unsubscribe is for Organization?') , 'description' => 'Unsubscribe at org- or group-level', 'required' => true, + 'table_name' => 'civicrm_mailing_event_unsubscribe', + 'entity' => 'Unsubscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe', ) , 'time_stamp' => array( 'name' => 'time_stamp', @@ -129,6 +138,9 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO { 'title' => ts('Unsubscribe Timestamp') , 'description' => 'When this delivery event occurred.', 'required' => true, + 'table_name' => 'civicrm_mailing_event_unsubscribe', + 'entity' => 'Unsubscribe', + 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Member/DAO/Membership.php b/CRM/Member/DAO/Membership.php index b68697c95d..45a038c724 100644 --- a/CRM/Member/DAO/Membership.php +++ b/CRM/Member/DAO/Membership.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Member/Membership.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:c9823a62881681e2126d92c19e85876f) + * (GenCodeChecksum:794bd904da5edcacc20dd5784fcdcf0c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -182,6 +182,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/^(m(embership\s)?id)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', ) , 'membership_contact_id' => array( 'name' => 'contact_id', @@ -194,6 +197,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/contact(.?id)?/i', 'dataPattern' => '/^\d+$/', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -210,6 +216,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/^(m(embership\s)?type)$/i', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'FKClassName' => 'CRM_Member_DAO_MembershipType', 'html' => array( 'type' => 'Select', @@ -230,8 +239,12 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/^join|(j(oin\s)?date)$/i', 'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDate', ) , ) , 'membership_start_date' => array( @@ -244,8 +257,12 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/(member(ship)?.)?start(s)?(.date$)?/i', 'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDate', ) , ) , 'membership_end_date' => array( @@ -258,8 +275,12 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/(member(ship)?.)?end(s)?(.date$)?/i', 'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'Select Date', + 'format' => 'activityDate', ) , ) , 'membership_source' => array( @@ -273,6 +294,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/^(member(ship?))?source$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'Text', ) , @@ -288,6 +312,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/(member(ship|).)?(status)$/i', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'FKClassName' => 'CRM_Member_DAO_MembershipStatus', 'html' => array( 'type' => 'Select', @@ -308,6 +335,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/override$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'CheckBox', ) , @@ -321,6 +351,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'where' => 'civicrm_membership.owner_membership_id', 'headerPattern' => '', 'dataPattern' => '', + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'FKClassName' => 'CRM_Member_DAO_Membership', ) , 'max_related' => array( @@ -328,6 +361,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Max Related') , 'description' => 'Maximum number of related memberships (membership_type override).', + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'Text', ) , @@ -341,6 +377,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/(is.)?test(.member(ship)?)?/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'CheckBox', ) , @@ -354,6 +393,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '/(is.)?(pay(.)?later)$/i', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'html' => array( 'type' => 'CheckBox', ) , @@ -363,6 +405,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Recurring Contribution') , 'description' => 'Conditional foreign key to civicrm_contribution_recur id. Each membership in connection with a recurring contribution carries a foreign key to the recurring contribution record. This assumes we can track these processor initiated events.', + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur', ) , 'member_campaign_id' => array( @@ -375,6 +420,9 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership', + 'entity' => 'Membership', + 'bao' => 'CRM_Member_BAO_Membership', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'Select', diff --git a/CRM/Member/DAO/MembershipBlock.php b/CRM/Member/DAO/MembershipBlock.php index aaa89878cf..206bc94891 100644 --- a/CRM/Member/DAO/MembershipBlock.php +++ b/CRM/Member/DAO/MembershipBlock.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Member/MembershipBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:23f10318bfaa3e50862d8ad8853ce662) + * (GenCodeChecksum:59de2666c2c92dc873bbe7dc303eeca8) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -164,6 +164,9 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'title' => ts('Membership Block ID') , 'description' => 'Membership Id', 'required' => true, + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -172,6 +175,9 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'description' => 'Name for Membership Status', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -179,6 +185,9 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'title' => ts('Membership Block Entity ID') , 'description' => 'FK to civicrm_contribution_page.id', 'required' => true, + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', 'FKClassName' => 'CRM_Contribute_DAO_ContributionPage', ) , 'membership_types' => array( @@ -188,12 +197,18 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'description' => 'Membership types to be exposed by this block', 'maxlength' => 1024, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'membership_type_default' => array( 'name' => 'membership_type_default', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Block Default Type') , 'description' => 'Optional foreign key to membership_type', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', 'FKClassName' => 'CRM_Member_DAO_MembershipType', ) , 'display_min_fee' => array( @@ -202,6 +217,9 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'title' => ts('Membership Block Display Minimum Fee') , 'description' => 'Display minimum membership fee', 'default' => '1', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'is_separate_payment' => array( 'name' => 'is_separate_payment', @@ -209,6 +227,9 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'title' => ts('Membership Block Is Separate Payment') , 'description' => 'Should membership transactions be processed separately', 'default' => '1', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'new_title' => array( 'name' => 'new_title', @@ -217,12 +238,18 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'description' => 'Title to display at top of block', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'new_text' => array( 'name' => 'new_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Membership Block New Text') , 'description' => 'Text to display below title', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'renewal_title' => array( 'name' => 'renewal_title', @@ -231,18 +258,27 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'description' => 'Title for renewal', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'renewal_text' => array( 'name' => 'renewal_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Membership Block Renewal Text') , 'description' => 'Text to display for member renewal', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'is_required' => array( 'name' => 'is_required', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Required') , 'description' => 'Is membership sign up optional', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , 'is_active' => array( 'name' => 'is_active', @@ -250,6 +286,9 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { 'title' => ts('Is Active') , 'description' => 'Is this membership_block enabled', 'default' => '1', + 'table_name' => 'civicrm_membership_block', + 'entity' => 'MembershipBlock', + 'bao' => 'CRM_Member_BAO_MembershipBlock', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Member/DAO/MembershipLog.php b/CRM/Member/DAO/MembershipLog.php index c107ae8054..a5e5c27c6a 100644 --- a/CRM/Member/DAO/MembershipLog.php +++ b/CRM/Member/DAO/MembershipLog.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Member/MembershipLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0c51f7b8ad368df053d1345e0a20d33a) + * (GenCodeChecksum:aa569c9888f34d402e688ef7d6fdb88c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -140,6 +140,9 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Log ID') , 'required' => true, + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', ) , 'membership_id' => array( 'name' => 'membership_id', @@ -147,6 +150,9 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { 'title' => ts('Membership ID') , 'description' => 'FK to Membership table', 'required' => true, + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', 'FKClassName' => 'CRM_Member_DAO_Membership', ) , 'status_id' => array( @@ -155,6 +161,9 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { 'title' => ts('Membership Status') , 'description' => 'New status assigned to membership by this action. FK to Membership Status', 'required' => true, + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', 'FKClassName' => 'CRM_Member_DAO_MembershipStatus', ) , 'start_date' => array( @@ -162,18 +171,27 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Membership Log Start Date') , 'description' => 'New membership period start date', + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', ) , 'end_date' => array( 'name' => 'end_date', 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Membership Log End Date') , 'description' => 'New membership period expiration date.', + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', ) , 'modified_id' => array( 'name' => 'modified_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Log modified By') , 'description' => 'FK to Contact ID of person under whose credentials this data modification was made.', + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'modified_date' => array( @@ -181,12 +199,18 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Membership Change Date') , 'description' => 'Date this membership modification action was logged.', + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', ) , 'membership_type_id' => array( 'name' => 'membership_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Type ID') , 'description' => 'FK to Membership Type.', + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', 'FKClassName' => 'CRM_Member_DAO_MembershipType', ) , 'max_related' => array( @@ -194,6 +218,9 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Maximum Related Memberships') , 'description' => 'Maximum number of related memberships.', + 'table_name' => 'civicrm_membership_log', + 'entity' => 'MembershipLog', + 'bao' => 'CRM_Member_BAO_MembershipLog', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Member/DAO/MembershipPayment.php b/CRM/Member/DAO/MembershipPayment.php index 967c41cd2b..675b0cf5d9 100644 --- a/CRM/Member/DAO/MembershipPayment.php +++ b/CRM/Member/DAO/MembershipPayment.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Member/MembershipPayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:78253d51d8f0904aabc8a4f259c09704) + * (GenCodeChecksum:64b3b70a3f88a5a11a8a75570911be7f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -102,6 +102,9 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Payment ID') , 'required' => true, + 'table_name' => 'civicrm_membership_payment', + 'entity' => 'MembershipPayment', + 'bao' => 'CRM_Member_BAO_MembershipPayment', ) , 'membership_id' => array( 'name' => 'membership_id', @@ -109,6 +112,9 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO { 'title' => ts('Membership') , 'description' => 'FK to Membership table', 'required' => true, + 'table_name' => 'civicrm_membership_payment', + 'entity' => 'MembershipPayment', + 'bao' => 'CRM_Member_BAO_MembershipPayment', 'FKClassName' => 'CRM_Member_DAO_Membership', ) , 'contribution_id' => array( @@ -116,6 +122,9 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution') , 'description' => 'FK to contribution table.', + 'table_name' => 'civicrm_membership_payment', + 'entity' => 'MembershipPayment', + 'bao' => 'CRM_Member_BAO_MembershipPayment', 'FKClassName' => 'CRM_Contribute_DAO_Contribution', ) , ); diff --git a/CRM/Member/DAO/MembershipStatus.php b/CRM/Member/DAO/MembershipStatus.php index cce5470654..0581aab70f 100644 --- a/CRM/Member/DAO/MembershipStatus.php +++ b/CRM/Member/DAO/MembershipStatus.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Member/MembershipStatus.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:386d3a47b6acc84c75655d3682cc1403) + * (GenCodeChecksum:9c8aaaf7ade5ec9ba8d46131fc335d0b) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -160,6 +160,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'title' => ts('Membership Status ID') , 'description' => 'Membership Id', 'required' => true, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'membership_status' => array( 'name' => 'name', @@ -173,6 +176,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'label' => array( 'name' => 'label', @@ -181,6 +187,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'description' => 'Label for Membership Status', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'start_event' => array( 'name' => 'start_event', @@ -189,6 +198,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'description' => 'Event when this status starts.', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', 'html' => array( 'type' => 'Select', ) , @@ -203,6 +215,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'description' => 'Unit used for adjusting from start_event.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', 'html' => array( 'type' => 'Select', ) , @@ -215,6 +230,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Start Event Adjust Interval') , 'description' => 'Status range begins this many units from start_event.', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'end_event' => array( 'name' => 'end_event', @@ -223,6 +241,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'description' => 'Event after which this status ends.', 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', 'html' => array( 'type' => 'Select', ) , @@ -237,6 +258,9 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'description' => 'Unit used for adjusting from the ending event.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', 'html' => array( 'type' => 'Select', ) , @@ -249,29 +273,44 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('End Event Adjust Interval') , 'description' => 'Status range ends this many units from end_event.', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'is_current_member' => array( 'name' => 'is_current_member', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Current Membership?') , 'description' => 'Does this status aggregate to current members (e.g. New, Renewed, Grace might all be TRUE... while Unrenewed, Lapsed, Inactive would be FALSE).', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'is_admin' => array( 'name' => 'is_admin', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Admin Assigned Only?') , 'description' => 'Is this status for admin/manual assignment only.', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'weight' => array( 'name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'is_default' => array( 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Default Status?') , 'description' => 'Assign this status to a membership record if no other status match is found.', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'is_active' => array( 'name' => 'is_active', @@ -279,12 +318,18 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { 'title' => ts('Is Active') , 'description' => 'Is this membership_status enabled.', 'default' => '1', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Reserved') , 'description' => 'Is this membership_status reserved.', + 'table_name' => 'civicrm_membership_status', + 'entity' => 'MembershipStatus', + 'bao' => 'CRM_Member_BAO_MembershipStatus', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Member/DAO/MembershipType.php b/CRM/Member/DAO/MembershipType.php index d9281c6690..20bcb23461 100644 --- a/CRM/Member/DAO/MembershipType.php +++ b/CRM/Member/DAO/MembershipType.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Member/MembershipType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:cf8d2289660af72910adad2eb28bc85b) + * (GenCodeChecksum:a53e1a6c010fd3c018de37aaab2b5d70) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -210,6 +210,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Membership Type ID') , 'description' => 'Membership Id', 'required' => true, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -217,6 +220,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Membership Type Domain') , 'description' => 'Which Domain is this match entry for', 'required' => true, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -236,6 +242,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'description' => array( 'name' => 'description', @@ -244,6 +253,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'description' => 'Description of Membership Type', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'html' => array( 'type' => 'TextArea', ) , @@ -254,6 +266,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Membership Type Organization') , 'description' => 'Owner organization for this membership type. FK to Contact ID', 'required' => true, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'financial_type_id' => array( @@ -262,6 +277,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Membership Financial Type') , 'description' => 'If membership is paid by a contribution - what financial type should be used. FK to civicrm_financial_type.id', 'required' => true, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array( 'table' => 'civicrm_financial_type', @@ -278,6 +296,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'duration_unit' => array( 'name' => 'duration_unit', @@ -286,6 +307,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'description' => 'Unit in which membership period is expressed.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'html' => array( 'type' => 'Select', ) , @@ -298,6 +322,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership Type Duration Interval') , 'description' => 'Number of duration units in membership period (e.g. 1 year, 12 months).', + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'period_type' => array( 'name' => 'period_type', @@ -306,6 +333,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'description' => 'Rolling membership period starts on signup date. Fixed membership periods start on fixed_period_start_day.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'pseudoconstant' => array( 'callback' => 'CRM_Core_SelectValues::periodType', ) @@ -315,12 +345,18 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Fixed Period Start Day') , 'description' => 'For fixed period memberships, month and day (mmdd) on which subscription/membership will start. Period start is back-dated unless after rollover day.', + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'fixed_period_rollover_day' => array( 'name' => 'fixed_period_rollover_day', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Fixed Period Rollover Day') , 'description' => 'For fixed period memberships, signups after this day (mmdd) rollover to next period.', + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'relationship_type_id' => array( 'name' => 'relationship_type_id', @@ -329,6 +365,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'description' => 'FK to Relationship Type ID', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'relationship_direction' => array( 'name' => 'relationship_direction', @@ -336,12 +375,18 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Relationship Direction') , 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'max_related' => array( 'name' => 'max_related', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Max Related Members for Type') , 'description' => 'Maximum number of related memberships.', + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'visibility' => array( 'name' => 'visibility', @@ -349,6 +394,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Visible') , 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'html' => array( 'type' => 'Select', ) , @@ -360,6 +408,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , 'receipt_text_signup' => array( 'name' => 'receipt_text_signup', @@ -368,6 +419,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'description' => 'Receipt Text for membership signup', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'html' => array( 'type' => 'TextArea', ) , @@ -379,6 +433,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'description' => 'Receipt Text for membership renewal', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'html' => array( 'type' => 'TextArea', ) , @@ -388,6 +445,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Auto Renew') , 'description' => '0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;', + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', 'pseudoconstant' => array( 'callback' => 'CRM_Core_SelectValues::memberAutoRenew', ) @@ -398,6 +458,9 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { 'title' => ts('Is Active') , 'description' => 'Is this membership_type enabled', 'default' => '1', + 'table_name' => 'civicrm_membership_type', + 'entity' => 'MembershipType', + 'bao' => 'CRM_Member_BAO_MembershipType', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/PCP/DAO/PCP.php b/CRM/PCP/DAO/PCP.php index 5932e8d428..0ce07e503b 100644 --- a/CRM/PCP/DAO/PCP.php +++ b/CRM/PCP/DAO/PCP.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/PCP/PCP.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0bcab6bf2c0208b27e710a7653da32ba) + * (GenCodeChecksum:b0ad3c4d4285b2ea74ea434530fa6f64) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -174,6 +174,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'title' => ts('Personal Campaign Page ID') , 'description' => 'Personal Campaign Page ID', 'required' => true, + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', ) , 'pcp_contact_id' => array( 'name' => 'contact_id', @@ -181,6 +184,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'title' => ts('Contact ID') , 'description' => 'FK to Contact ID', 'required' => true, + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -191,6 +197,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Personal Campaign Page Status') , 'required' => true, + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'Select', ) , @@ -206,6 +215,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'Text', ) , @@ -215,6 +227,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Intro Text') , 'default' => 'NULL', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'TexArea', ) , @@ -224,6 +239,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Page Text') , 'default' => 'NULL', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'TexArea', ) , @@ -235,6 +253,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'Text', ) , @@ -245,6 +266,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'title' => ts('Contribution Page') , 'description' => 'The Contribution or Event Page which triggered this pcp', 'required' => true, + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', ) , 'page_type' => array( 'name' => 'page_type', @@ -254,6 +278,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'default' => 'contribute', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'Select', ) , @@ -264,11 +291,17 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'title' => ts('PCP Block') , 'description' => 'The pcp block that this pcp page was created from', 'required' => true, + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', ) , 'is_thermometer' => array( 'name' => 'is_thermometer', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Use Thermometer?') , + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'CheckBox', ) , @@ -277,6 +310,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'name' => 'is_honor_roll', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Show Honor Roll?') , + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'CheckBox', ) , @@ -290,6 +326,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'Text', ) , @@ -302,6 +341,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'Select', ) , @@ -317,6 +359,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Enabled?') , 'description' => 'Is Personal Campaign Page enabled/active?', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'CheckBox', ) , @@ -326,6 +371,9 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Notify Owner?') , 'description' => 'Notify owner via email when someone donates to page?', + 'table_name' => 'civicrm_pcp', + 'entity' => 'PCP', + 'bao' => 'CRM_PCP_BAO_PCP', 'html' => array( 'type' => 'CheckBox', ) , diff --git a/CRM/PCP/DAO/PCPBlock.php b/CRM/PCP/DAO/PCPBlock.php index b8685cc7b6..ee0cdca75c 100644 --- a/CRM/PCP/DAO/PCPBlock.php +++ b/CRM/PCP/DAO/PCPBlock.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/PCP/PCPBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5657c6e05eb867adb0984d5d2c45616e) + * (GenCodeChecksum:19658f7692f6185ddf125d80f236aede) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -164,6 +164,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('PCP Block ID') , 'description' => 'PCP block Id', 'required' => true, + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -171,6 +174,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Entity Table') , 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -178,6 +184,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Entity') , 'description' => 'FK to civicrm_contribution_page.id OR civicrm_event.id', 'required' => true, + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'target_entity_type' => array( 'name' => 'target_entity_type', @@ -188,6 +197,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'contribute', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'target_entity_id' => array( 'name' => 'target_entity_id', @@ -195,6 +207,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Target Entity ID') , 'description' => 'The entity that this pcp targets', 'required' => true, + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'supporter_profile_id' => array( 'name' => 'supporter_profile_id', @@ -202,6 +217,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Supporter Profile') , 'description' => 'FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?', 'default' => 'NULL', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', 'FKClassName' => 'CRM_Core_DAO_UFGroup', ) , 'owner_notify_id' => array( @@ -209,6 +227,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Owner Notification') , 'description' => 'FK to civicrm_option_group with name = PCP owner notifications', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', 'html' => array( 'type' => 'Radio', ) , @@ -223,6 +244,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Approval Required?') , 'description' => 'Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?', 'default' => 'NULL', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'is_tellfriend_enabled' => array( 'name' => 'is_tellfriend_enabled', @@ -230,6 +254,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Tell a Friend Enabled?') , 'description' => 'Does Personal Campaign Page allow using tell a friend?', 'default' => 'NULL', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'tellfriend_limit' => array( 'name' => 'tellfriend_limit', @@ -237,6 +264,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Tell A Friend Limit') , 'description' => 'Maximum recipient fields allowed in tell a friend', 'default' => 'NULL', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'link_text' => array( 'name' => 'link_text', @@ -246,6 +276,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'is_active' => array( 'name' => 'is_active', @@ -253,6 +286,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'title' => ts('Enabled?') , 'description' => 'Is Personal Campaign Page Block enabled/active?', 'default' => '1', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , 'notify_email' => array( 'name' => 'notify_email', @@ -262,6 +298,9 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_pcp_block', + 'entity' => 'PCPBlock', + 'bao' => 'CRM_PCP_BAO_PCPBlock', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Pledge/DAO/Pledge.php b/CRM/Pledge/DAO/Pledge.php index 6a5970a475..8b8ab496c8 100644 --- a/CRM/Pledge/DAO/Pledge.php +++ b/CRM/Pledge/DAO/Pledge.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Pledge/Pledge.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6aa082b07bbcb93e0a7c5e9048643c91) + * (GenCodeChecksum:abf97ff2eccd3eddbdfce18258aff4a1) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -230,6 +230,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', ) , 'pledge_contact_id' => array( 'name' => 'contact_id', @@ -242,6 +245,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'FKClassName' => 'CRM_Contact_DAO_Contact', 'html' => array( 'type' => 'EntityRef', @@ -252,6 +258,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Type') , 'description' => 'FK to Financial Type', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array( 'type' => 'Select', @@ -267,6 +276,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Pledge Contribution Page') , 'description' => 'The Contribution Page which triggered this contribution', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'FKClassName' => 'CRM_Contribute_DAO_ContributionPage', ) , 'pledge_amount' => array( @@ -284,6 +296,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Text', ) , @@ -298,6 +313,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Text', ) , @@ -310,6 +328,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select', ) , @@ -328,6 +349,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'month', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select', ) , @@ -344,6 +368,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'description' => 'Number of time units for recurrence of pledge payments.', 'required' => true, 'default' => '1', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Text', ) , @@ -355,6 +382,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'description' => 'Day in the period when the pledge payment is due e.g. 1st of month, 15th etc. Use this to set the scheduled dates for pledge payments.', 'required' => true, 'default' => '3', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select', ) , @@ -365,6 +395,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'title' => ts('Pledge Number of Installments') , 'description' => 'Total number of payments to be made.', 'default' => '1', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Text', ) , @@ -375,6 +408,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'title' => ts('Pledge Start Date') , 'description' => 'The date the first scheduled pledge occurs.', 'required' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select Date', ) , @@ -390,6 +426,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select Date', ) , @@ -399,6 +438,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Pledge Acknowledged') , 'description' => 'When a pledge acknowledgement message was sent to the contributor.', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select Date', ) , @@ -408,12 +450,18 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Pledge Modified Date') , 'description' => 'Last updated date for this pledge record.', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', ) , 'cancel_date' => array( 'name' => 'cancel_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Pledge Cancelled Date') , 'description' => 'Date this pledge was cancelled by contributor.', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select Date', ) , @@ -423,6 +471,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Pledge End Date') , 'description' => 'Date this pledge finished successfully (total pledge payments equal to or greater than pledged amount).', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select Date', ) , @@ -433,6 +484,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'title' => ts('Maximum Number of Reminders') , 'description' => 'The maximum number of payment reminders to send for any given payment.', 'default' => '1', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Text', ) , @@ -443,6 +497,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'title' => ts('Initial Reminder Day') , 'description' => 'Send initial reminder this many days prior to the payment due date.', 'default' => '5', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Select', ) , @@ -453,6 +510,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'title' => ts('Additional Reminder Days') , 'description' => 'Send additional reminder this many days after last one sent, up to maximum number of reminders.', 'default' => '5', + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'Text', ) , @@ -467,6 +527,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'pseudoconstant' => array( 'optionGroupName' => 'contribution_status', 'optionEditPath' => 'civicrm/admin/options/contribution_status', @@ -481,6 +544,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'html' => array( 'type' => 'CheckBox', ) , @@ -495,6 +561,9 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge', + 'entity' => 'Pledge', + 'bao' => 'CRM_Pledge_BAO_Pledge', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array( 'type' => 'Select', diff --git a/CRM/Pledge/DAO/PledgeBlock.php b/CRM/Pledge/DAO/PledgeBlock.php index 17d9ea83cc..1a488cc5fe 100644 --- a/CRM/Pledge/DAO/PledgeBlock.php +++ b/CRM/Pledge/DAO/PledgeBlock.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:884b8af4af4d96ca57a59d3bfe2d0634) + * (GenCodeChecksum:ae4e663c058d6484605ac75df78fef1f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -151,6 +151,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Pledge Block ID') , 'description' => 'Pledge ID', 'required' => true, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -159,6 +162,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'description' => 'physical tablename for entity being joined to pledge, e.g. civicrm_contact', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -166,6 +172,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Entity Id') , 'description' => 'FK to entity table specified in entity_table column.', 'required' => true, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'pledge_frequency_unit' => array( 'name' => 'pledge_frequency_unit', @@ -174,12 +183,18 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'description' => 'Delimited list of supported frequency units', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'is_pledge_interval' => array( 'name' => 'is_pledge_interval', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Expose Frequency Interval?') , 'description' => 'Is frequency interval exposed on the contribution form.', + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'max_reminders' => array( 'name' => 'max_reminders', @@ -187,6 +202,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Maximum Number of Reminders') , 'description' => 'The maximum number of payment reminders to send for any given payment.', 'default' => '1', + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'initial_reminder_day' => array( 'name' => 'initial_reminder_day', @@ -194,6 +212,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Initial Reminder Day') , 'description' => 'Send initial reminder this many days prior to the payment due date.', 'default' => '5', + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'additional_reminder_day' => array( 'name' => 'additional_reminder_day', @@ -201,6 +222,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Additional Reminder Days') , 'description' => 'Send additional reminder this many days after last one sent, up to maximum number of reminders.', 'default' => '5', + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'pledge_start_date' => array( 'name' => 'pledge_start_date', @@ -209,6 +233,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'description' => 'The date the first scheduled pledge occurs.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'is_pledge_start_date_visible' => array( 'name' => 'is_pledge_start_date_visible', @@ -216,6 +243,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Show Recurring Donation Start Date?') , 'description' => 'If true - recurring start date is shown.', 'required' => true, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , 'is_pledge_start_date_editable' => array( 'name' => 'is_pledge_start_date_editable', @@ -223,6 +253,9 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { 'title' => ts('Allow Edits to Recurring Donation Start Date?') , 'description' => 'If true - recurring start date is editable.', 'required' => true, + 'table_name' => 'civicrm_pledge_block', + 'entity' => 'PledgeBlock', + 'bao' => 'CRM_Pledge_BAO_PledgeBlock', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Pledge/DAO/PledgePayment.php b/CRM/Pledge/DAO/PledgePayment.php index 4527173ba5..f2b4fd013c 100644 --- a/CRM/Pledge/DAO/PledgePayment.php +++ b/CRM/Pledge/DAO/PledgePayment.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Pledge/PledgePayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:61fd25d78097c2495d13be5336a17923) + * (GenCodeChecksum:a879d5d1209af280f5713279e0911e2b) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -148,6 +148,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', ) , 'pledge_id' => array( 'name' => 'pledge_id', @@ -155,6 +158,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'title' => ts('Pledge') , 'description' => 'FK to Pledge table', 'required' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', 'FKClassName' => 'CRM_Pledge_DAO_Pledge', ) , 'contribution_id' => array( @@ -162,6 +168,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution') , 'description' => 'FK to contribution table.', + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', 'FKClassName' => 'CRM_Contribute_DAO_Contribution', ) , 'pledge_payment_scheduled_amount' => array( @@ -179,6 +188,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', ) , 'pledge_payment_actual_amount' => array( 'name' => 'actual_amount', @@ -194,6 +206,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', ) , 'currency' => array( 'name' => 'currency', @@ -203,6 +218,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', 'html' => array( 'type' => 'Select', ) , @@ -224,6 +242,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', ) , 'pledge_payment_reminder_date' => array( 'name' => 'reminder_date', @@ -235,6 +256,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', ) , 'pledge_payment_reminder_count' => array( 'name' => 'reminder_count', @@ -246,6 +270,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', ) , 'pledge_payment_status_id' => array( 'name' => 'status_id', @@ -256,6 +283,9 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => false, + 'table_name' => 'civicrm_pledge_payment', + 'entity' => 'PledgePayment', + 'bao' => 'CRM_Pledge_BAO_PledgePayment', 'pseudoconstant' => array( 'optionGroupName' => 'contribution_status', 'optionEditPath' => 'civicrm/admin/options/contribution_status', diff --git a/CRM/Price/DAO/LineItem.php b/CRM/Price/DAO/LineItem.php index 8c9843f41e..3be1793e2c 100644 --- a/CRM/Price/DAO/LineItem.php +++ b/CRM/Price/DAO/LineItem.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Price/LineItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b80ad6c535fb23d2a40fc36104895a79) + * (GenCodeChecksum:b79438c224d31b7195236f3e1cdd5855) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -173,6 +173,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'title' => ts('Line Item ID') , 'description' => 'Line Item', 'required' => true, + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -182,6 +185,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -189,12 +195,18 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'title' => ts('Line Item Entity') , 'description' => 'entry in table', 'required' => true, + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', ) , 'contribution_id' => array( 'name' => 'contribution_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Line Item Contribution') , 'description' => 'FK to civicrm_contribution', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'FKClassName' => 'CRM_Contribute_DAO_Contribution', ) , 'price_field_id' => array( @@ -202,6 +214,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Line Item Price Field') , 'description' => 'FK to civicrm_price_field', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'FKClassName' => 'CRM_Price_DAO_PriceField', ) , 'label' => array( @@ -212,6 +227,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'html' => array( 'type' => 'Text', ) , @@ -226,6 +244,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'html' => array( 'type' => 'Text', ) , @@ -240,6 +261,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'html' => array( 'type' => 'Text', ) , @@ -254,6 +278,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 20, 2 ) , + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', ) , 'participant_count' => array( 'name' => 'participant_count', @@ -261,6 +288,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'title' => ts('Line Item Participant Count') , 'description' => 'Participant count for field', 'default' => 'NULL', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'html' => array( 'type' => 'Text', ) , @@ -271,6 +301,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'title' => ts('Line Item Option') , 'description' => 'FK to civicrm_price_field_value', 'default' => 'NULL', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'FKClassName' => 'CRM_Price_DAO_PriceFieldValue', ) , 'financial_type_id' => array( @@ -279,6 +312,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type.', 'default' => 'NULL', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array( 'type' => 'Select', @@ -300,6 +336,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 2 ) , 'default' => '0.0', + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'html' => array( 'type' => 'Text', ) , @@ -318,6 +357,9 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'headerPattern' => '/tax(.?am(ou)?nt)?/i', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'export' => true, + 'table_name' => 'civicrm_line_item', + 'entity' => 'LineItem', + 'bao' => 'CRM_Price_BAO_LineItem', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Price/DAO/PriceField.php b/CRM/Price/DAO/PriceField.php index e47a83fe20..c1f0546063 100644 --- a/CRM/Price/DAO/PriceField.php +++ b/CRM/Price/DAO/PriceField.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Price/PriceField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:019e28bc18cd97350792036a5f9eedf1) + * (GenCodeChecksum:966d70f0e4bc5a6726beff4a9b43952c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -186,6 +186,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field ID') , 'description' => 'Price Field', 'required' => true, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', ) , 'price_set_id' => array( 'name' => 'price_set_id', @@ -193,6 +196,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Set') , 'description' => 'FK to civicrm_price_set', 'required' => true, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'FKClassName' => 'CRM_Price_DAO_PriceSet', ) , 'name' => array( @@ -203,6 +209,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Text', ) , @@ -215,6 +224,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Text', ) , @@ -226,6 +238,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'required' => true, 'maxlength' => 12, 'size' => CRM_Utils_Type::TWELVE, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Select', ) , @@ -238,6 +253,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Price Field Quantity Required?') , 'description' => 'Enter a quantity for this field?', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'CheckBox', ) , @@ -249,6 +267,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'description' => 'Description and/or help text to display before this field.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'TextArea', ) , @@ -260,6 +281,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'description' => 'Description and/or help text to display after this field.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'TextArea', ) , @@ -270,6 +294,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Order') , 'description' => 'Order in which the fields should appear', 'default' => '1', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Select', ) , @@ -280,6 +307,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field Show Amounts?') , 'description' => 'Should the price be displayed next to the label for each option?', 'default' => '1', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'CheckBox', ) , @@ -290,6 +320,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field Options per Row') , 'description' => 'number of options per line for checkbox and radio', 'default' => '1', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Text', ) , @@ -300,6 +333,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field Is Active?') , 'description' => 'Is this price field active', 'default' => '1', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'CheckBox', ) , @@ -310,6 +346,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field is Required?') , 'description' => 'Is this price field required (value must be > 1)', 'default' => '1', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'CheckBox', ) , @@ -320,6 +359,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field Start Date') , 'description' => 'If non-zero, do not show this field before the date specified', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'CheckBox', ) , @@ -330,6 +372,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field End Date') , 'description' => 'If non-zero, do not show this field after the date specified', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Select Date', ) , @@ -341,6 +386,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'description' => 'Optional scripting attributes for field', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Text', ) , @@ -351,6 +399,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { 'title' => ts('Price Field Visibility') , 'description' => 'Implicit FK to civicrm_option_group with name = \'visibility\'', 'default' => '1', + 'table_name' => 'civicrm_price_field', + 'entity' => 'PriceField', + 'bao' => 'CRM_Price_BAO_PriceField', 'html' => array( 'type' => 'Select', ) , diff --git a/CRM/Price/DAO/PriceFieldValue.php b/CRM/Price/DAO/PriceFieldValue.php index 1402b69a20..9f42662fce 100644 --- a/CRM/Price/DAO/PriceFieldValue.php +++ b/CRM/Price/DAO/PriceFieldValue.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Price/PriceFieldValue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ed52bc054bb8aed4bb154756a79fafa1) + * (GenCodeChecksum:f0ace0187969a76ff45c62032e8303a2) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -189,6 +189,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Price Field Value ID') , 'description' => 'Price Field Value', 'required' => true, + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', ) , 'price_field_id' => array( 'name' => 'price_field_id', @@ -196,6 +199,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Price Field') , 'description' => 'FK to civicrm_price_field', 'required' => true, + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'FKClassName' => 'CRM_Price_DAO_PriceField', ) , 'name' => array( @@ -205,6 +211,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'description' => 'Price field option name', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -216,6 +225,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'description' => 'Price field option label', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -228,6 +240,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'rows' => 2, 'cols' => 60, 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'TextArea', ) , @@ -240,6 +255,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'rows' => 2, 'cols' => 60, 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'TextArea', ) , @@ -252,6 +270,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'rows' => 2, 'cols' => 60, 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'TextArea', ) , @@ -264,6 +285,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'required' => true, 'maxlength' => 512, 'size' => 8, + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -274,6 +298,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Count') , 'description' => 'Number of participants per field option', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -284,6 +311,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Max Value') , 'description' => 'Max number of participants per field options', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -294,6 +324,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Order') , 'description' => 'Order in which the field options should appear', 'default' => '1', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -304,6 +337,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Membership Type') , 'description' => 'FK to Membership Type', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'FKClassName' => 'CRM_Member_DAO_MembershipType', 'html' => array( 'type' => 'Select', @@ -315,6 +351,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Membership Num Terms') , 'description' => 'Number of terms for this membership', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , @@ -324,6 +363,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Default Price Field Option?') , 'description' => 'Is this default price field option', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'CheckBox', ) , @@ -334,6 +376,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Price Field Value is Active') , 'description' => 'Is this price field value active', 'default' => '1', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', ) , 'financial_type_id' => array( 'name' => 'financial_type_id', @@ -341,6 +386,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type.', 'default' => 'NULL', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array( 'type' => 'Select', @@ -362,6 +410,9 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 2 ) , 'default' => '0.0', + 'table_name' => 'civicrm_price_field_value', + 'entity' => 'PriceFieldValue', + 'bao' => 'CRM_Price_BAO_PriceFieldValue', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Price/DAO/PriceSet.php b/CRM/Price/DAO/PriceSet.php index 9da26f214c..af48d1ce51 100644 --- a/CRM/Price/DAO/PriceSet.php +++ b/CRM/Price/DAO/PriceSet.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Price/PriceSet.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1642f2b38411573c40848c0d7c83c74c) + * (GenCodeChecksum:80d53a8eb9ccb6a4fe13148a41fb30d1) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -164,12 +164,18 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'title' => ts('Price Set ID') , 'description' => 'Price Set', 'required' => true, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', ) , 'domain_id' => array( 'name' => 'domain_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Price Set Domain') , 'description' => 'Which Domain is this price-set for', + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'FKClassName' => 'CRM_Core_DAO_Domain', 'html' => array( 'type' => 'Text', @@ -188,6 +194,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'Text', ) , @@ -200,6 +209,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'Text', ) , @@ -210,6 +222,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'title' => ts('Price Set Is Active?') , 'description' => 'Is this price set active', 'default' => '1', + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'CheckBox', ) , @@ -221,6 +236,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'description' => 'Description and/or help text to display before fields in form.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'TextArea', ) , @@ -232,6 +250,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'description' => 'Description and/or help text to display after fields in form.', 'rows' => 4, 'cols' => 80, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'TextArea', ) , @@ -243,6 +264,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'description' => 'Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'Text', ) , @@ -255,6 +279,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'Text', ) , @@ -270,6 +297,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'title' => ts('Financial Type') , 'description' => 'FK to Financial Type(for membership price sets only).', 'default' => 'NULL', + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array( 'type' => 'Select', @@ -285,6 +315,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Price Set Quick Config?') , 'description' => 'Is set if edited on Contribution or Event Page rather than through Manage Price Sets', + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'CheckBox', ) , @@ -294,6 +327,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Price Set Is Reserved') , 'description' => 'Is this a predefined system price set (i.e. it can not be deleted, edited)?', + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'CheckBox', ) , @@ -303,6 +339,9 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Minimum Amount') , 'description' => 'Minimum Amount required for this set.', + 'table_name' => 'civicrm_price_set', + 'entity' => 'PriceSet', + 'bao' => 'CRM_Price_BAO_PriceSet', 'html' => array( 'type' => 'Text', ) , diff --git a/CRM/Price/DAO/PriceSetEntity.php b/CRM/Price/DAO/PriceSetEntity.php index a5686f54ab..aeaf556dc3 100644 --- a/CRM/Price/DAO/PriceSetEntity.php +++ b/CRM/Price/DAO/PriceSetEntity.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Price/PriceSetEntity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3f65892a77e8bb07a146880abcc67702) + * (GenCodeChecksum:60733cc4b62e54f28024d6e0b1d90bd5) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -110,6 +110,9 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO { 'title' => ts('Price Set Entity ID') , 'description' => 'Price Set Entity', 'required' => true, + 'table_name' => 'civicrm_price_set_entity', + 'entity' => 'PriceSetEntity', + 'bao' => 'CRM_Price_DAO_PriceSetEntity', ) , 'entity_table' => array( 'name' => 'entity_table', @@ -119,6 +122,9 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_price_set_entity', + 'entity' => 'PriceSetEntity', + 'bao' => 'CRM_Price_DAO_PriceSetEntity', ) , 'entity_id' => array( 'name' => 'entity_id', @@ -126,6 +132,9 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO { 'title' => ts('Entity IF') , 'description' => 'Item in table', 'required' => true, + 'table_name' => 'civicrm_price_set_entity', + 'entity' => 'PriceSetEntity', + 'bao' => 'CRM_Price_DAO_PriceSetEntity', ) , 'price_set_id' => array( 'name' => 'price_set_id', @@ -133,6 +142,9 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO { 'title' => ts('Price Set') , 'description' => 'price set being used', 'required' => true, + 'table_name' => 'civicrm_price_set_entity', + 'entity' => 'PriceSetEntity', + 'bao' => 'CRM_Price_DAO_PriceSetEntity', 'FKClassName' => 'CRM_Price_DAO_PriceSet', ) , ); diff --git a/CRM/Queue/DAO/QueueItem.php b/CRM/Queue/DAO/QueueItem.php index ace993c701..177d6d6fae 100644 --- a/CRM/Queue/DAO/QueueItem.php +++ b/CRM/Queue/DAO/QueueItem.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Queue/QueueItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:45218486c40b902ee5e043e22b1a7d20) + * (GenCodeChecksum:29c70cc367a66f90eb5616927289949e) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -104,6 +104,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Queue ID') , 'required' => true, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', ) , 'queue_name' => array( 'name' => 'queue_name', @@ -113,6 +116,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Text', ) , @@ -122,6 +128,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , 'required' => true, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Text', ) , @@ -132,6 +141,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'title' => ts('Submit Time') , 'description' => 'date on which this item was submitted to the queue', 'required' => true, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Select Date', ) , @@ -141,6 +153,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Release Time') , 'description' => 'date on which this job becomes available; null if ASAP', + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Select Date', ) , @@ -150,6 +165,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Queue item datas') , 'description' => 'Serialized queue', + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); diff --git a/CRM/Report/DAO/ReportInstance.php b/CRM/Report/DAO/ReportInstance.php index f5f8274471..87d26a1401 100644 --- a/CRM/Report/DAO/ReportInstance.php +++ b/CRM/Report/DAO/ReportInstance.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Report/ReportInstance.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:4d7edbf54140044fccbc576ca21d7465) + * (GenCodeChecksum:d5a94a431757634406b4710296279835) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -214,6 +214,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'title' => ts('Report Instance ID') , 'description' => 'Report Instance ID', 'required' => true, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', ) , 'domain_id' => array( 'name' => 'domain_id', @@ -221,6 +224,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'title' => ts('Report Instance Domain ID') , 'description' => 'Which Domain is this instance for', 'required' => true, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array( 'table' => 'civicrm_domain', @@ -235,6 +241,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'Report Instance Title.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -247,6 +256,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Select', ) , @@ -258,6 +270,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'when combined with report_id/template uniquely identifies the instance', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -269,6 +284,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'arguments that are passed in the url when invoking the instance', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -280,6 +298,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'Report Instance description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -291,6 +312,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'permission required to be able to run this instance', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -302,6 +326,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'role required to be able to run this instance', 'maxlength' => 1024, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -316,12 +343,18 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', ) , 'is_active' => array( 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Report Instance is Active') , 'description' => 'Is this entry active?', + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'CheckBox', ) , @@ -331,6 +364,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Report Instance Created By') , 'description' => 'FK to contact table.', + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'owner_id' => array( @@ -338,6 +374,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Report Instance Owned By') , 'description' => 'FK to contact table.', + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'email_subject' => array( @@ -347,6 +386,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'Subject of email', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -356,6 +398,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Email Report Instance To') , 'description' => 'comma-separated list of email addresses to send the report to', + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -365,6 +410,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('cc Email Report Instance To') , 'description' => 'comma-separated list of email addresses to send the report to', + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'Text', ) , @@ -376,6 +424,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'comma-separated list of email addresses to send the report to', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'TextArea', ) , @@ -387,6 +438,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'description' => 'comma-separated list of email addresses to send the report to', 'rows' => 4, 'cols' => 60, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'TextArea', ) , @@ -401,6 +455,9 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'FKClassName' => 'CRM_Core_DAO_Navigation', ) , 'drilldown_id' => array( @@ -413,12 +470,18 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { 'headerPattern' => '', 'dataPattern' => '', 'export' => true, + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'FKClassName' => 'CRM_Report_DAO_ReportInstance', ) , 'is_reserved' => array( 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Instance is Reserved') , + 'table_name' => 'civicrm_report_instance', + 'entity' => 'ReportInstance', + 'bao' => 'CRM_Report_BAO_ReportInstance', 'html' => array( 'type' => 'CheckBox', ) , diff --git a/CRM/SMS/DAO/Provider.php b/CRM/SMS/DAO/Provider.php index 1ace4350ea..c4ab65208c 100644 --- a/CRM/SMS/DAO/Provider.php +++ b/CRM/SMS/DAO/Provider.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/SMS/Provider.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:31f5a6353dfc5b4630f3e0e9e82ce40e) + * (GenCodeChecksum:e3213cedffb39026a84af8e4c210669f) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -126,6 +126,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'title' => ts('SMS Provider ID') , 'description' => 'SMS Provider ID', 'required' => true, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', ) , 'name' => array( 'name' => 'name', @@ -134,6 +137,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'description' => 'Provider internal name points to option_value of option_group sms_provider_name', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', ) , 'title' => array( 'name' => 'title', @@ -142,6 +148,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'description' => 'Provider name visible to user', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'Text', ) , @@ -152,6 +161,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'title' => ts('SMS Provider Username') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'Text', ) , @@ -162,6 +174,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'title' => ts('SMS Provider Password') , 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'Text', ) , @@ -172,6 +187,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'title' => ts('SMS Provider API') , 'description' => 'points to value in civicrm_option_value for group sms_api_type', 'required' => true, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'Select', ) , @@ -182,6 +200,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'title' => ts('SMS Provider API URL') , 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'Text', ) , @@ -191,6 +212,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('SMS Provider API Params') , 'description' => 'the api params in xml, http or smtp format', + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'Text', ) , @@ -199,6 +223,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('SMS Provider is Default?') , + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'CheckBox', ) , @@ -207,6 +234,9 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('SMS Provider is Active?') , + 'table_name' => 'civicrm_sms_provider', + 'entity' => 'Provider', + 'bao' => 'CRM_SMS_BAO_Provider', 'html' => array( 'type' => 'CheckBox', ) , -- 2.25.1