From fa45b5b94d6640f4e7430272f6029c91bb3f50b6 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 7 Apr 2019 11:54:08 +1000 Subject: [PATCH] (NFC) Set _log and _table_name variables to be public --- CRM/ACL/DAO/ACL.php | 6 +++--- CRM/ACL/DAO/Cache.php | 4 ++-- CRM/ACL/DAO/EntityRole.php | 4 ++-- CRM/Activity/DAO/Activity.php | 6 +++--- CRM/Activity/DAO/ActivityContact.php | 6 +++--- CRM/Batch/DAO/Batch.php | 6 +++--- CRM/Batch/DAO/EntityBatch.php | 6 +++--- CRM/Campaign/DAO/Campaign.php | 6 +++--- CRM/Campaign/DAO/CampaignGroup.php | 6 +++--- CRM/Campaign/DAO/Survey.php | 6 +++--- CRM/Case/DAO/Case.php | 6 +++--- CRM/Case/DAO/CaseActivity.php | 6 +++--- CRM/Case/DAO/CaseContact.php | 6 +++--- CRM/Case/DAO/CaseType.php | 4 ++-- CRM/Contact/DAO/ACLContactCache.php | 6 +++--- CRM/Contact/DAO/Contact.php | 6 +++--- CRM/Contact/DAO/ContactType.php | 6 +++--- CRM/Contact/DAO/DashboardContact.php | 6 +++--- CRM/Contact/DAO/Group.php | 6 +++--- CRM/Contact/DAO/GroupContact.php | 6 +++--- CRM/Contact/DAO/GroupContactCache.php | 6 +++--- CRM/Contact/DAO/GroupNesting.php | 6 +++--- CRM/Contact/DAO/GroupOrganization.php | 6 +++--- CRM/Contact/DAO/Relationship.php | 6 +++--- CRM/Contact/DAO/RelationshipType.php | 4 ++-- CRM/Contact/DAO/SavedSearch.php | 6 +++--- CRM/Contact/DAO/SubscriptionHistory.php | 6 +++--- CRM/Contribute/DAO/Contribution.php | 6 +++--- CRM/Contribute/DAO/ContributionPage.php | 6 +++--- CRM/Contribute/DAO/ContributionProduct.php | 6 +++--- CRM/Contribute/DAO/ContributionRecur.php | 6 +++--- CRM/Contribute/DAO/ContributionSoft.php | 6 +++--- CRM/Contribute/DAO/Premium.php | 6 +++--- CRM/Contribute/DAO/PremiumsProduct.php | 6 +++--- CRM/Contribute/DAO/Product.php | 6 +++--- CRM/Contribute/DAO/Widget.php | 6 +++--- CRM/Core/DAO/ActionLog.php | 6 +++--- CRM/Core/DAO/ActionMapping.php | 4 ++-- CRM/Core/DAO/ActionSchedule.php | 6 +++--- CRM/Core/DAO/Address.php | 6 +++--- CRM/Core/DAO/AddressFormat.php | 4 ++-- CRM/Core/DAO/Cache.php | 6 +++--- CRM/Core/DAO/Component.php | 4 ++-- CRM/Core/DAO/Country.php | 6 +++--- CRM/Core/DAO/County.php | 6 +++--- CRM/Core/DAO/CustomField.php | 6 +++--- CRM/Core/DAO/CustomGroup.php | 6 +++--- CRM/Core/DAO/Dashboard.php | 6 +++--- CRM/Core/DAO/Discount.php | 6 +++--- CRM/Core/DAO/Domain.php | 6 +++--- CRM/Core/DAO/Email.php | 6 +++--- CRM/Core/DAO/EntityFile.php | 6 +++--- CRM/Core/DAO/EntityTag.php | 6 +++--- CRM/Core/DAO/Extension.php | 4 ++-- CRM/Core/DAO/File.php | 6 +++--- CRM/Core/DAO/IM.php | 6 +++--- CRM/Core/DAO/Job.php | 6 +++--- CRM/Core/DAO/JobLog.php | 6 +++--- CRM/Core/DAO/LocBlock.php | 6 +++--- CRM/Core/DAO/LocationType.php | 4 ++-- CRM/Core/DAO/Log.php | 6 +++--- CRM/Core/DAO/MailSettings.php | 6 +++--- CRM/Core/DAO/Managed.php | 4 ++-- CRM/Core/DAO/Mapping.php | 4 ++-- CRM/Core/DAO/MappingField.php | 6 +++--- CRM/Core/DAO/Menu.php | 6 +++--- CRM/Core/DAO/MessageTemplate.php | 4 ++-- CRM/Core/DAO/Navigation.php | 6 +++--- CRM/Core/DAO/Note.php | 6 +++--- CRM/Core/DAO/OpenID.php | 6 +++--- CRM/Core/DAO/OptionGroup.php | 4 ++-- CRM/Core/DAO/OptionValue.php | 6 +++--- CRM/Core/DAO/Persistent.php | 4 ++-- CRM/Core/DAO/Phone.php | 6 +++--- CRM/Core/DAO/PreferencesDate.php | 4 ++-- CRM/Core/DAO/PrevNextCache.php | 4 ++-- CRM/Core/DAO/PrintLabel.php | 6 +++--- CRM/Core/DAO/RecurringEntity.php | 4 ++-- CRM/Core/DAO/Setting.php | 6 +++--- CRM/Core/DAO/StateProvince.php | 6 +++--- CRM/Core/DAO/StatusPreference.php | 6 +++--- CRM/Core/DAO/SystemLog.php | 4 ++-- CRM/Core/DAO/Tag.php | 6 +++--- CRM/Core/DAO/Timezone.php | 6 +++--- CRM/Core/DAO/UFField.php | 6 +++--- CRM/Core/DAO/UFGroup.php | 6 +++--- CRM/Core/DAO/UFJoin.php | 6 +++--- CRM/Core/DAO/UFMatch.php | 6 +++--- CRM/Core/DAO/Website.php | 6 +++--- CRM/Core/DAO/WordReplacement.php | 6 +++--- CRM/Core/DAO/Worldregion.php | 4 ++-- CRM/Core/I18n/SchemaStructure.php | 10 +++++----- CRM/Cxn/DAO/Cxn.php | 4 ++-- CRM/Dedupe/DAO/Exception.php | 6 +++--- CRM/Dedupe/DAO/Rule.php | 6 +++--- CRM/Dedupe/DAO/RuleGroup.php | 4 ++-- CRM/Event/Cart/DAO/Cart.php | 4 ++-- CRM/Event/Cart/DAO/EventInCart.php | 4 ++-- CRM/Event/DAO/Event.php | 6 +++--- CRM/Event/DAO/Participant.php | 6 +++--- CRM/Event/DAO/ParticipantPayment.php | 6 +++--- CRM/Event/DAO/ParticipantStatusType.php | 4 ++-- CRM/Financial/DAO/Currency.php | 4 ++-- CRM/Financial/DAO/EntityFinancialAccount.php | 6 +++--- CRM/Financial/DAO/EntityFinancialTrxn.php | 6 +++--- CRM/Financial/DAO/FinancialAccount.php | 6 +++--- CRM/Financial/DAO/FinancialItem.php | 6 +++--- CRM/Financial/DAO/FinancialTrxn.php | 6 +++--- CRM/Financial/DAO/FinancialType.php | 4 ++-- CRM/Financial/DAO/PaymentProcessor.php | 6 +++--- CRM/Financial/DAO/PaymentProcessorType.php | 4 ++-- CRM/Financial/DAO/PaymentToken.php | 6 +++--- CRM/Friend/DAO/Friend.php | 6 +++--- CRM/Grant/DAO/Grant.php | 6 +++--- CRM/Mailing/DAO/BouncePattern.php | 6 +++--- CRM/Mailing/DAO/BounceType.php | 4 ++-- CRM/Mailing/DAO/Mailing.php | 6 +++--- CRM/Mailing/DAO/MailingAB.php | 6 +++--- CRM/Mailing/DAO/MailingComponent.php | 4 ++-- CRM/Mailing/DAO/MailingGroup.php | 6 +++--- CRM/Mailing/DAO/MailingJob.php | 6 +++--- CRM/Mailing/DAO/Recipients.php | 6 +++--- CRM/Mailing/DAO/Spool.php | 6 +++--- CRM/Mailing/DAO/TrackableURL.php | 6 +++--- CRM/Mailing/Event/DAO/Bounce.php | 4 ++-- CRM/Mailing/Event/DAO/Confirm.php | 4 ++-- CRM/Mailing/Event/DAO/Delivered.php | 4 ++-- CRM/Mailing/Event/DAO/Forward.php | 4 ++-- CRM/Mailing/Event/DAO/Opened.php | 4 ++-- CRM/Mailing/Event/DAO/Queue.php | 4 ++-- CRM/Mailing/Event/DAO/Reply.php | 4 ++-- CRM/Mailing/Event/DAO/Subscribe.php | 4 ++-- CRM/Mailing/Event/DAO/TrackableURLOpen.php | 4 ++-- CRM/Mailing/Event/DAO/Unsubscribe.php | 4 ++-- CRM/Member/DAO/Membership.php | 6 +++--- CRM/Member/DAO/MembershipBlock.php | 6 +++--- CRM/Member/DAO/MembershipLog.php | 6 +++--- CRM/Member/DAO/MembershipPayment.php | 6 +++--- CRM/Member/DAO/MembershipStatus.php | 4 ++-- CRM/Member/DAO/MembershipType.php | 6 +++--- CRM/PCP/DAO/PCP.php | 6 +++--- CRM/PCP/DAO/PCPBlock.php | 6 +++--- CRM/Pledge/DAO/Pledge.php | 6 +++--- CRM/Pledge/DAO/PledgeBlock.php | 6 +++--- CRM/Pledge/DAO/PledgePayment.php | 6 +++--- CRM/Price/DAO/LineItem.php | 6 +++--- CRM/Price/DAO/PriceField.php | 6 +++--- CRM/Price/DAO/PriceFieldValue.php | 6 +++--- CRM/Price/DAO/PriceSet.php | 6 +++--- CRM/Price/DAO/PriceSetEntity.php | 6 +++--- CRM/Queue/DAO/QueueItem.php | 4 ++-- CRM/Report/DAO/ReportInstance.php | 6 +++--- CRM/SMS/DAO/Provider.php | 6 +++--- xml/templates/dao.tpl | 4 ++-- 154 files changed, 422 insertions(+), 422 deletions(-) diff --git a/CRM/ACL/DAO/ACL.php b/CRM/ACL/DAO/ACL.php index a1d1b72bd3..51791fb5f5 100644 --- a/CRM/ACL/DAO/ACL.php +++ b/CRM/ACL/DAO/ACL.php @@ -19,14 +19,14 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_acl'; + public static $_tableName = 'civicrm_acl'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique table ID @@ -217,7 +217,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO { ], 'pseudoconstant' => [ 'callback' => 'CRM_ACL_BAO_ACL::operation', - ], + ] ], 'object_table' => [ 'name' => 'object_table', diff --git a/CRM/ACL/DAO/Cache.php b/CRM/ACL/DAO/Cache.php index 208dce728f..cd74fd01bb 100644 --- a/CRM/ACL/DAO/Cache.php +++ b/CRM/ACL/DAO/Cache.php @@ -19,14 +19,14 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_acl_cache'; + public static $_tableName = 'civicrm_acl_cache'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique table ID diff --git a/CRM/ACL/DAO/EntityRole.php b/CRM/ACL/DAO/EntityRole.php index a4dda46a39..bb0fda29f2 100644 --- a/CRM/ACL/DAO/EntityRole.php +++ b/CRM/ACL/DAO/EntityRole.php @@ -19,14 +19,14 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_acl_entity_role'; + public static $_tableName = 'civicrm_acl_entity_role'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique table ID diff --git a/CRM/Activity/DAO/Activity.php b/CRM/Activity/DAO/Activity.php index 10a2bd9c80..b6434b2bf6 100644 --- a/CRM/Activity/DAO/Activity.php +++ b/CRM/Activity/DAO/Activity.php @@ -19,14 +19,14 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_activity'; + public static $_tableName = 'civicrm_activity'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Other Activity ID @@ -223,7 +223,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_activity', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_id', 'civicrm_relationship', 'id'); diff --git a/CRM/Activity/DAO/ActivityContact.php b/CRM/Activity/DAO/ActivityContact.php index 41637f1f6b..eab2e15f2a 100644 --- a/CRM/Activity/DAO/ActivityContact.php +++ b/CRM/Activity/DAO/ActivityContact.php @@ -19,14 +19,14 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_activity_contact'; + public static $_tableName = 'civicrm_activity_contact'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Activity contact id @@ -72,7 +72,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'activity_id', 'civicrm_activity', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Batch/DAO/Batch.php b/CRM/Batch/DAO/Batch.php index 6e52b333b4..a066888d14 100644 --- a/CRM/Batch/DAO/Batch.php +++ b/CRM/Batch/DAO/Batch.php @@ -19,14 +19,14 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_batch'; + public static $_tableName = 'civicrm_batch'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique Address ID @@ -161,7 +161,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id'); diff --git a/CRM/Batch/DAO/EntityBatch.php b/CRM/Batch/DAO/EntityBatch.php index a0430c1b13..7526bf3d91 100644 --- a/CRM/Batch/DAO/EntityBatch.php +++ b/CRM/Batch/DAO/EntityBatch.php @@ -19,14 +19,14 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_entity_batch'; + public static $_tableName = 'civicrm_entity_batch'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * primary key @@ -72,7 +72,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'batch_id', 'civicrm_batch', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Campaign/DAO/Campaign.php b/CRM/Campaign/DAO/Campaign.php index ed802d0e1c..3615394107 100644 --- a/CRM/Campaign/DAO/Campaign.php +++ b/CRM/Campaign/DAO/Campaign.php @@ -19,14 +19,14 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_campaign'; + public static $_tableName = 'civicrm_campaign'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique Campaign ID. @@ -163,7 +163,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_campaign', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'last_modified_id', 'civicrm_contact', 'id'); diff --git a/CRM/Campaign/DAO/CampaignGroup.php b/CRM/Campaign/DAO/CampaignGroup.php index 7262b441ac..39807c1ac6 100644 --- a/CRM/Campaign/DAO/CampaignGroup.php +++ b/CRM/Campaign/DAO/CampaignGroup.php @@ -19,14 +19,14 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_campaign_group'; + public static $_tableName = 'civicrm_campaign_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Campaign Group id. @@ -79,7 +79,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Campaign/DAO/Survey.php b/CRM/Campaign/DAO/Survey.php index 07abfbf0f2..17cc7fcc90 100644 --- a/CRM/Campaign/DAO/Survey.php +++ b/CRM/Campaign/DAO/Survey.php @@ -19,14 +19,14 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_survey'; + public static $_tableName = 'civicrm_survey'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Survey id. @@ -184,7 +184,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'last_modified_id', 'civicrm_contact', 'id'); diff --git a/CRM/Case/DAO/Case.php b/CRM/Case/DAO/Case.php index cbc8b16fb4..2405fa06e4 100644 --- a/CRM/Case/DAO/Case.php +++ b/CRM/Case/DAO/Case.php @@ -19,14 +19,14 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_case'; + public static $_tableName = 'civicrm_case'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Case ID @@ -112,7 +112,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_type_id', 'civicrm_case_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Case/DAO/CaseActivity.php b/CRM/Case/DAO/CaseActivity.php index c18b9c3f29..f941d5cdd2 100644 --- a/CRM/Case/DAO/CaseActivity.php +++ b/CRM/Case/DAO/CaseActivity.php @@ -19,14 +19,14 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_case_activity'; + public static $_tableName = 'civicrm_case_activity'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique case-activity association id @@ -65,7 +65,7 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_id', 'civicrm_case', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'activity_id', 'civicrm_activity', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Case/DAO/CaseContact.php b/CRM/Case/DAO/CaseContact.php index f9ed6c241f..641b5e5ae5 100644 --- a/CRM/Case/DAO/CaseContact.php +++ b/CRM/Case/DAO/CaseContact.php @@ -19,14 +19,14 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_case_contact'; + public static $_tableName = 'civicrm_case_contact'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique case-contact association id @@ -65,7 +65,7 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'case_id', 'civicrm_case', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Case/DAO/CaseType.php b/CRM/Case/DAO/CaseType.php index d68a89e831..f187f9d650 100644 --- a/CRM/Case/DAO/CaseType.php +++ b/CRM/Case/DAO/CaseType.php @@ -19,14 +19,14 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_case_type'; + public static $_tableName = 'civicrm_case_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Autoincremented type id diff --git a/CRM/Contact/DAO/ACLContactCache.php b/CRM/Contact/DAO/ACLContactCache.php index 1deee6674a..b1c08f0f3f 100644 --- a/CRM/Contact/DAO/ACLContactCache.php +++ b/CRM/Contact/DAO/ACLContactCache.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_acl_contact_cache'; + public static $_tableName = 'civicrm_acl_contact_cache'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * primary key @@ -72,7 +72,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Contact/DAO/Contact.php b/CRM/Contact/DAO/Contact.php index fdf2f72564..c5833d27b8 100644 --- a/CRM/Contact/DAO/Contact.php +++ b/CRM/Contact/DAO/Contact.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contact'; + public static $_tableName = 'civicrm_contact'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Contact ID @@ -394,7 +394,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'primary_contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'employer_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contact/DAO/ContactType.php b/CRM/Contact/DAO/ContactType.php index 0ee5120228..db032d503f 100644 --- a/CRM/Contact/DAO/ContactType.php +++ b/CRM/Contact/DAO/ContactType.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contact_type'; + public static $_tableName = 'civicrm_contact_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Contact Type ID @@ -100,7 +100,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_contact_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Contact/DAO/DashboardContact.php b/CRM/Contact/DAO/DashboardContact.php index 28d22111ec..8b354a2bb3 100644 --- a/CRM/Contact/DAO/DashboardContact.php +++ b/CRM/Contact/DAO/DashboardContact.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_dashboard_contact'; + public static $_tableName = 'civicrm_dashboard_contact'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -84,7 +84,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dashboard_id', 'civicrm_dashboard', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contact/DAO/Group.php b/CRM/Contact/DAO/Group.php index 395779023d..1213b90fc6 100644 --- a/CRM/Contact/DAO/Group.php +++ b/CRM/Contact/DAO/Group.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_group'; + public static $_tableName = 'civicrm_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Group ID @@ -182,7 +182,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id'); diff --git a/CRM/Contact/DAO/GroupContact.php b/CRM/Contact/DAO/GroupContact.php index 7b619666f7..8a259670c6 100644 --- a/CRM/Contact/DAO/GroupContact.php +++ b/CRM/Contact/DAO/GroupContact.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_group_contact'; + public static $_tableName = 'civicrm_group_contact'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * primary key @@ -86,7 +86,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_id', 'civicrm_loc_block', 'id'); diff --git a/CRM/Contact/DAO/GroupContactCache.php b/CRM/Contact/DAO/GroupContactCache.php index a6d183b052..7e97bd7b86 100644 --- a/CRM/Contact/DAO/GroupContactCache.php +++ b/CRM/Contact/DAO/GroupContactCache.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_group_contact_cache'; + public static $_tableName = 'civicrm_group_contact_cache'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * primary key @@ -65,7 +65,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contact/DAO/GroupNesting.php b/CRM/Contact/DAO/GroupNesting.php index 11ac4f2dcb..d7a59df693 100644 --- a/CRM/Contact/DAO/GroupNesting.php +++ b/CRM/Contact/DAO/GroupNesting.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_group_nesting'; + public static $_tableName = 'civicrm_group_nesting'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Relationship ID @@ -65,7 +65,7 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'child_group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_group_id', 'civicrm_group', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contact/DAO/GroupOrganization.php b/CRM/Contact/DAO/GroupOrganization.php index 6238bcc8cd..fd90ae2bfb 100644 --- a/CRM/Contact/DAO/GroupOrganization.php +++ b/CRM/Contact/DAO/GroupOrganization.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_group_organization'; + public static $_tableName = 'civicrm_group_organization'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Relationship ID @@ -65,7 +65,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'organization_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contact/DAO/Relationship.php b/CRM/Contact/DAO/Relationship.php index 4c805e863d..c40f421831 100644 --- a/CRM/Contact/DAO/Relationship.php +++ b/CRM/Contact/DAO/Relationship.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_relationship'; + public static $_tableName = 'civicrm_relationship'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Relationship ID @@ -121,7 +121,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id_a', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id_b', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_type_id', 'civicrm_relationship_type', 'id'); diff --git a/CRM/Contact/DAO/RelationshipType.php b/CRM/Contact/DAO/RelationshipType.php index c545a4674a..11bb3d1ba0 100644 --- a/CRM/Contact/DAO/RelationshipType.php +++ b/CRM/Contact/DAO/RelationshipType.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_relationship_type'; + public static $_tableName = 'civicrm_relationship_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Primary key diff --git a/CRM/Contact/DAO/SavedSearch.php b/CRM/Contact/DAO/SavedSearch.php index 5324ce2ef7..e1c75e9bac 100644 --- a/CRM/Contact/DAO/SavedSearch.php +++ b/CRM/Contact/DAO/SavedSearch.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_saved_search'; + public static $_tableName = 'civicrm_saved_search'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Saved Search ID @@ -93,7 +93,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mapping_id', 'civicrm_mapping', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Contact/DAO/SubscriptionHistory.php b/CRM/Contact/DAO/SubscriptionHistory.php index 0fe5a9e490..90f7ea3d8f 100644 --- a/CRM/Contact/DAO/SubscriptionHistory.php +++ b/CRM/Contact/DAO/SubscriptionHistory.php @@ -19,14 +19,14 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_subscription_history'; + public static $_tableName = 'civicrm_subscription_history'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Internal Id @@ -93,7 +93,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contribute/DAO/Contribution.php b/CRM/Contribute/DAO/Contribution.php index c97c3d23d1..a3640ef1a4 100644 --- a/CRM/Contribute/DAO/Contribution.php +++ b/CRM/Contribute/DAO/Contribution.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contribution'; + public static $_tableName = 'civicrm_contribution'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Contribution ID @@ -242,7 +242,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id'); diff --git a/CRM/Contribute/DAO/ContributionPage.php b/CRM/Contribute/DAO/ContributionPage.php index aa9e93532c..116c52df9d 100644 --- a/CRM/Contribute/DAO/ContributionPage.php +++ b/CRM/Contribute/DAO/ContributionPage.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contribution_page'; + public static $_tableName = 'civicrm_contribution_page'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Contribution Id @@ -359,7 +359,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id'); diff --git a/CRM/Contribute/DAO/ContributionProduct.php b/CRM/Contribute/DAO/ContributionProduct.php index a8e344185c..58dd6257ce 100644 --- a/CRM/Contribute/DAO/ContributionProduct.php +++ b/CRM/Contribute/DAO/ContributionProduct.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contribution_product'; + public static $_tableName = 'civicrm_contribution_product'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -104,7 +104,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Contribute/DAO/ContributionRecur.php b/CRM/Contribute/DAO/ContributionRecur.php index e4642341d8..ba78c33c9c 100644 --- a/CRM/Contribute/DAO/ContributionRecur.php +++ b/CRM/Contribute/DAO/ContributionRecur.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contribution_recur'; + public static $_tableName = 'civicrm_contribution_recur'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Contribution Recur ID @@ -243,7 +243,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_token_id', 'civicrm_payment_token', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id'); diff --git a/CRM/Contribute/DAO/ContributionSoft.php b/CRM/Contribute/DAO/ContributionSoft.php index 0e165a224f..ae009420f0 100644 --- a/CRM/Contribute/DAO/ContributionSoft.php +++ b/CRM/Contribute/DAO/ContributionSoft.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contribution_soft'; + public static $_tableName = 'civicrm_contribution_soft'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Soft Contribution ID @@ -108,7 +108,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'pcp_id', 'civicrm_pcp', 'id'); diff --git a/CRM/Contribute/DAO/Premium.php b/CRM/Contribute/DAO/Premium.php index e5f5e213bf..643bf1dbaf 100644 --- a/CRM/Contribute/DAO/Premium.php +++ b/CRM/Contribute/DAO/Premium.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_premiums'; + public static $_tableName = 'civicrm_premiums'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -115,7 +115,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Contribute/DAO/PremiumsProduct.php b/CRM/Contribute/DAO/PremiumsProduct.php index ac79dab653..7f319b0669 100644 --- a/CRM/Contribute/DAO/PremiumsProduct.php +++ b/CRM/Contribute/DAO/PremiumsProduct.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_premiums_product'; + public static $_tableName = 'civicrm_premiums_product'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Contribution ID @@ -77,7 +77,7 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'premiums_id', 'civicrm_premiums', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'product_id', 'civicrm_product', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); diff --git a/CRM/Contribute/DAO/Product.php b/CRM/Contribute/DAO/Product.php index aeeba277a4..d4e1e75ef5 100644 --- a/CRM/Contribute/DAO/Product.php +++ b/CRM/Contribute/DAO/Product.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_product'; + public static $_tableName = 'civicrm_product'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -174,7 +174,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Contribute/DAO/Widget.php b/CRM/Contribute/DAO/Widget.php index 1dc507e5aa..fb7eb5e58e 100644 --- a/CRM/Contribute/DAO/Widget.php +++ b/CRM/Contribute/DAO/Widget.php @@ -19,14 +19,14 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_contribution_widget'; + public static $_tableName = 'civicrm_contribution_widget'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Contribution Id @@ -145,7 +145,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/ActionLog.php b/CRM/Core/DAO/ActionLog.php index 2ee540bf3c..cdccd9babb 100644 --- a/CRM/Core/DAO/ActionLog.php +++ b/CRM/Core/DAO/ActionLog.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_action_log'; + public static $_tableName = 'civicrm_action_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -112,7 +112,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'action_schedule_id', 'civicrm_action_schedule', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); diff --git a/CRM/Core/DAO/ActionMapping.php b/CRM/Core/DAO/ActionMapping.php index 7170a4bd07..cafb30f2aa 100644 --- a/CRM/Core/DAO/ActionMapping.php +++ b/CRM/Core/DAO/ActionMapping.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_action_mapping'; + public static $_tableName = 'civicrm_action_mapping'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Core/DAO/ActionSchedule.php b/CRM/Core/DAO/ActionSchedule.php index 8101c1d023..7e5afe04e9 100644 --- a/CRM/Core/DAO/ActionSchedule.php +++ b/CRM/Core/DAO/ActionSchedule.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_action_schedule'; + public static $_tableName = 'civicrm_action_schedule'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -304,7 +304,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'msg_template_id', 'civicrm_msg_template', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'sms_template_id', 'civicrm_msg_template', 'id'); diff --git a/CRM/Core/DAO/Address.php b/CRM/Core/DAO/Address.php index d435e84823..05402a732e 100644 --- a/CRM/Core/DAO/Address.php +++ b/CRM/Core/DAO/Address.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_address'; + public static $_tableName = 'civicrm_address'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Address ID @@ -247,7 +247,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'county_id', 'civicrm_county', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'state_province_id', 'civicrm_state_province', 'id'); diff --git a/CRM/Core/DAO/AddressFormat.php b/CRM/Core/DAO/AddressFormat.php index e1cb8f7061..d9286653a4 100644 --- a/CRM/Core/DAO/AddressFormat.php +++ b/CRM/Core/DAO/AddressFormat.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_address_format'; + public static $_tableName = 'civicrm_address_format'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Address Format Id diff --git a/CRM/Core/DAO/Cache.php b/CRM/Core/DAO/Cache.php index 9ab23364a1..d378cc8dd9 100644 --- a/CRM/Core/DAO/Cache.php +++ b/CRM/Core/DAO/Cache.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_cache'; + public static $_tableName = 'civicrm_cache'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -91,7 +91,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Component.php b/CRM/Core/DAO/Component.php index 61d59a73d0..6303b7b100 100644 --- a/CRM/Core/DAO/Component.php +++ b/CRM/Core/DAO/Component.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_component'; + public static $_tableName = 'civicrm_component'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Component ID diff --git a/CRM/Core/DAO/Country.php b/CRM/Core/DAO/Country.php index 56e719371f..376f3738f8 100644 --- a/CRM/Core/DAO/Country.php +++ b/CRM/Core/DAO/Country.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_country'; + public static $_tableName = 'civicrm_country'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Country Id @@ -107,7 +107,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_format_id', 'civicrm_address_format', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'region_id', 'civicrm_worldregion', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/County.php b/CRM/Core/DAO/County.php index f9e75d702a..6858becf82 100644 --- a/CRM/Core/DAO/County.php +++ b/CRM/Core/DAO/County.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_county'; + public static $_tableName = 'civicrm_county'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * County ID @@ -72,7 +72,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'state_province_id', 'civicrm_state_province', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/CustomField.php b/CRM/Core/DAO/CustomField.php index 5b837c8121..8d06e9a74c 100644 --- a/CRM/Core/DAO/CustomField.php +++ b/CRM/Core/DAO/CustomField.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_custom_field'; + public static $_tableName = 'civicrm_custom_field'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Custom Field ID @@ -254,7 +254,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'custom_group_id', 'civicrm_custom_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'option_group_id', 'civicrm_option_group', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/CustomGroup.php b/CRM/Core/DAO/CustomGroup.php index ad282441f9..dbb98871ca 100644 --- a/CRM/Core/DAO/CustomGroup.php +++ b/CRM/Core/DAO/CustomGroup.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_custom_group'; + public static $_tableName = 'civicrm_custom_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Custom Group ID @@ -191,7 +191,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Dashboard.php b/CRM/Core/DAO/Dashboard.php index ea20cb1b52..b9fe1d241c 100644 --- a/CRM/Core/DAO/Dashboard.php +++ b/CRM/Core/DAO/Dashboard.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_dashboard'; + public static $_tableName = 'civicrm_dashboard'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -119,7 +119,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Discount.php b/CRM/Core/DAO/Discount.php index 7c396bc056..eff4329fbb 100644 --- a/CRM/Core/DAO/Discount.php +++ b/CRM/Core/DAO/Discount.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_discount'; + public static $_tableName = 'civicrm_discount'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * primary key @@ -86,7 +86,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/Domain.php b/CRM/Core/DAO/Domain.php index 89fe6d18c5..b3abdbb2d5 100644 --- a/CRM/Core/DAO/Domain.php +++ b/CRM/Core/DAO/Domain.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_domain'; + public static $_tableName = 'civicrm_domain'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Domain ID @@ -100,7 +100,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index 5f472e124d..cd169bef4a 100644 --- a/CRM/Core/DAO/Email.php +++ b/CRM/Core/DAO/Email.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_email'; + public static $_tableName = 'civicrm_email'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Email ID @@ -128,7 +128,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/EntityFile.php b/CRM/Core/DAO/EntityFile.php index 6003d7bfa8..388f6b02dc 100644 --- a/CRM/Core/DAO/EntityFile.php +++ b/CRM/Core/DAO/EntityFile.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_entity_file'; + public static $_tableName = 'civicrm_entity_file'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * primary key @@ -72,7 +72,7 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'file_id', 'civicrm_file', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/EntityTag.php b/CRM/Core/DAO/EntityTag.php index 63ed15c7c8..47bd481d6a 100644 --- a/CRM/Core/DAO/EntityTag.php +++ b/CRM/Core/DAO/EntityTag.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_entity_tag'; + public static $_tableName = 'civicrm_entity_tag'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * primary key @@ -72,7 +72,7 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'tag_id', 'civicrm_tag', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/Extension.php b/CRM/Core/DAO/Extension.php index 722548b0f2..be80ddb697 100644 --- a/CRM/Core/DAO/Extension.php +++ b/CRM/Core/DAO/Extension.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_extension'; + public static $_tableName = 'civicrm_extension'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Local Extension ID diff --git a/CRM/Core/DAO/File.php b/CRM/Core/DAO/File.php index a2230c7d6b..41911d9b89 100644 --- a/CRM/Core/DAO/File.php +++ b/CRM/Core/DAO/File.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_File extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_file'; + public static $_tableName = 'civicrm_file'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique ID @@ -100,7 +100,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/IM.php b/CRM/Core/DAO/IM.php index c1183ba4c0..eed59c3908 100644 --- a/CRM/Core/DAO/IM.php +++ b/CRM/Core/DAO/IM.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_im'; + public static $_tableName = 'civicrm_im'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique IM ID @@ -93,7 +93,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Job.php b/CRM/Core/DAO/Job.php index 1ffdaf29f6..7c6ff616ef 100644 --- a/CRM/Core/DAO/Job.php +++ b/CRM/Core/DAO/Job.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_job'; + public static $_tableName = 'civicrm_job'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Job Id @@ -121,7 +121,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/JobLog.php b/CRM/Core/DAO/JobLog.php index a731638894..aaa71773e7 100644 --- a/CRM/Core/DAO/JobLog.php +++ b/CRM/Core/DAO/JobLog.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_job_log'; + public static $_tableName = 'civicrm_job_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Job log entry Id @@ -100,7 +100,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/LocBlock.php b/CRM/Core/DAO/LocBlock.php index 6209648646..8862e752b5 100644 --- a/CRM/Core/DAO/LocBlock.php +++ b/CRM/Core/DAO/LocBlock.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_loc_block'; + public static $_tableName = 'civicrm_loc_block'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique ID @@ -91,7 +91,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_id', 'civicrm_address', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id'); diff --git a/CRM/Core/DAO/LocationType.php b/CRM/Core/DAO/LocationType.php index ea8fdadaff..ebbe98c330 100644 --- a/CRM/Core/DAO/LocationType.php +++ b/CRM/Core/DAO/LocationType.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_location_type'; + public static $_tableName = 'civicrm_location_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Location Type ID diff --git a/CRM/Core/DAO/Log.php b/CRM/Core/DAO/Log.php index f6f132b2f8..61b9ab668c 100644 --- a/CRM/Core/DAO/Log.php +++ b/CRM/Core/DAO/Log.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_log'; + public static $_tableName = 'civicrm_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Log ID @@ -86,7 +86,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/MailSettings.php b/CRM/Core/DAO/MailSettings.php index 3c28b4d19c..5ffd0c27fe 100644 --- a/CRM/Core/DAO/MailSettings.php +++ b/CRM/Core/DAO/MailSettings.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mail_settings'; + public static $_tableName = 'civicrm_mail_settings'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * primary key @@ -149,7 +149,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Managed.php b/CRM/Core/DAO/Managed.php index 7726ec418e..4ba363ef56 100644 --- a/CRM/Core/DAO/Managed.php +++ b/CRM/Core/DAO/Managed.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_managed'; + public static $_tableName = 'civicrm_managed'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Surrogate Key diff --git a/CRM/Core/DAO/Mapping.php b/CRM/Core/DAO/Mapping.php index f9d9b4448a..e2e3a90a0c 100644 --- a/CRM/Core/DAO/Mapping.php +++ b/CRM/Core/DAO/Mapping.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mapping'; + public static $_tableName = 'civicrm_mapping'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Mapping ID diff --git a/CRM/Core/DAO/MappingField.php b/CRM/Core/DAO/MappingField.php index 370021559d..c7b228c75a 100644 --- a/CRM/Core/DAO/MappingField.php +++ b/CRM/Core/DAO/MappingField.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mapping_field'; + public static $_tableName = 'civicrm_mapping_field'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Mapping Field ID @@ -141,7 +141,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mapping_id', 'civicrm_mapping', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_type_id', 'civicrm_location_type', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'relationship_type_id', 'civicrm_relationship_type', 'id'); diff --git a/CRM/Core/DAO/Menu.php b/CRM/Core/DAO/Menu.php index 8963ed7596..10b3f14316 100644 --- a/CRM/Core/DAO/Menu.php +++ b/CRM/Core/DAO/Menu.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_menu'; + public static $_tableName = 'civicrm_menu'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -194,7 +194,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/MessageTemplate.php b/CRM/Core/DAO/MessageTemplate.php index 53fa3bdad4..3fee5bb1f1 100644 --- a/CRM/Core/DAO/MessageTemplate.php +++ b/CRM/Core/DAO/MessageTemplate.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_msg_template'; + public static $_tableName = 'civicrm_msg_template'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Message Template ID diff --git a/CRM/Core/DAO/Navigation.php b/CRM/Core/DAO/Navigation.php index 9b11520e20..60f0c807dd 100644 --- a/CRM/Core/DAO/Navigation.php +++ b/CRM/Core/DAO/Navigation.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_navigation'; + public static $_tableName = 'civicrm_navigation'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -126,7 +126,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_navigation', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/Note.php b/CRM/Core/DAO/Note.php index 8287d98ba0..95b17c3bf8 100644 --- a/CRM/Core/DAO/Note.php +++ b/CRM/Core/DAO/Note.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_note'; + public static $_tableName = 'civicrm_note'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Note ID @@ -100,7 +100,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/OpenID.php b/CRM/Core/DAO/OpenID.php index e891899d58..f70c0eca3d 100644 --- a/CRM/Core/DAO/OpenID.php +++ b/CRM/Core/DAO/OpenID.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_openid'; + public static $_tableName = 'civicrm_openid'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique OpenID ID @@ -86,7 +86,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/OptionGroup.php b/CRM/Core/DAO/OptionGroup.php index d127044f62..c65b63b9aa 100644 --- a/CRM/Core/DAO/OptionGroup.php +++ b/CRM/Core/DAO/OptionGroup.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_option_group'; + public static $_tableName = 'civicrm_option_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Option Group ID diff --git a/CRM/Core/DAO/OptionValue.php b/CRM/Core/DAO/OptionValue.php index 51972ced20..e896d99355 100644 --- a/CRM/Core/DAO/OptionValue.php +++ b/CRM/Core/DAO/OptionValue.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_option_value'; + public static $_tableName = 'civicrm_option_value'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Option ID @@ -168,7 +168,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'option_group_id', 'civicrm_option_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); diff --git a/CRM/Core/DAO/Persistent.php b/CRM/Core/DAO/Persistent.php index 1ec90bd7fc..c83bdf6505 100644 --- a/CRM/Core/DAO/Persistent.php +++ b/CRM/Core/DAO/Persistent.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_persistent'; + public static $_tableName = 'civicrm_persistent'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Persistent Record Id diff --git a/CRM/Core/DAO/Phone.php b/CRM/Core/DAO/Phone.php index a3307d4275..002ea1b93c 100644 --- a/CRM/Core/DAO/Phone.php +++ b/CRM/Core/DAO/Phone.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_phone'; + public static $_tableName = 'civicrm_phone'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Phone ID @@ -114,7 +114,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/PreferencesDate.php b/CRM/Core/DAO/PreferencesDate.php index 4b0e745aa6..02d3dd3554 100644 --- a/CRM/Core/DAO/PreferencesDate.php +++ b/CRM/Core/DAO/PreferencesDate.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_preferences_date'; + public static $_tableName = 'civicrm_preferences_date'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned diff --git a/CRM/Core/DAO/PrevNextCache.php b/CRM/Core/DAO/PrevNextCache.php index 59bedfc09c..3d878125a8 100644 --- a/CRM/Core/DAO/PrevNextCache.php +++ b/CRM/Core/DAO/PrevNextCache.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_prevnext_cache'; + public static $_tableName = 'civicrm_prevnext_cache'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Core/DAO/PrintLabel.php b/CRM/Core/DAO/PrintLabel.php index 43587a346a..5d9e84f6c9 100644 --- a/CRM/Core/DAO/PrintLabel.php +++ b/CRM/Core/DAO/PrintLabel.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_print_label'; + public static $_tableName = 'civicrm_print_label'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -119,7 +119,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/RecurringEntity.php b/CRM/Core/DAO/RecurringEntity.php index 20e4ce6bff..0c08cbe365 100644 --- a/CRM/Core/DAO/RecurringEntity.php +++ b/CRM/Core/DAO/RecurringEntity.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_recurring_entity'; + public static $_tableName = 'civicrm_recurring_entity'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned diff --git a/CRM/Core/DAO/Setting.php b/CRM/Core/DAO/Setting.php index c61455962c..7ce962cc08 100644 --- a/CRM/Core/DAO/Setting.php +++ b/CRM/Core/DAO/Setting.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_setting'; + public static $_tableName = 'civicrm_setting'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -105,7 +105,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id'); diff --git a/CRM/Core/DAO/StateProvince.php b/CRM/Core/DAO/StateProvince.php index 793519c102..345f8eb4c0 100644 --- a/CRM/Core/DAO/StateProvince.php +++ b/CRM/Core/DAO/StateProvince.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_state_province'; + public static $_tableName = 'civicrm_state_province'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * State/Province ID @@ -72,7 +72,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'country_id', 'civicrm_country', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/StatusPreference.php b/CRM/Core/DAO/StatusPreference.php index 9219d3db94..69bdf13503 100644 --- a/CRM/Core/DAO/StatusPreference.php +++ b/CRM/Core/DAO/StatusPreference.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_status_pref'; + public static $_tableName = 'civicrm_status_pref'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique Status Preference ID @@ -93,7 +93,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/SystemLog.php b/CRM/Core/DAO/SystemLog.php index dddf24d1d8..2090dd18dd 100644 --- a/CRM/Core/DAO/SystemLog.php +++ b/CRM/Core/DAO/SystemLog.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_system_log'; + public static $_tableName = 'civicrm_system_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Primary key ID diff --git a/CRM/Core/DAO/Tag.php b/CRM/Core/DAO/Tag.php index b296d405ed..bb716b1746 100644 --- a/CRM/Core/DAO/Tag.php +++ b/CRM/Core/DAO/Tag.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_tag'; + public static $_tableName = 'civicrm_tag'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Tag ID @@ -115,7 +115,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_tag', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/Timezone.php b/CRM/Core/DAO/Timezone.php index ef0ee771e6..3b75fab089 100644 --- a/CRM/Core/DAO/Timezone.php +++ b/CRM/Core/DAO/Timezone.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_timezone'; + public static $_tableName = 'civicrm_timezone'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Timezone Id @@ -84,7 +84,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'country_id', 'civicrm_country', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/UFField.php b/CRM/Core/DAO/UFField.php index 8093a57b47..9befc7fab5 100644 --- a/CRM/Core/DAO/UFField.php +++ b/CRM/Core/DAO/UFField.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_uf_field'; + public static $_tableName = 'civicrm_uf_field'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique table ID @@ -177,7 +177,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'uf_group_id', 'civicrm_uf_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'location_type_id', 'civicrm_location_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/UFGroup.php b/CRM/Core/DAO/UFGroup.php index 27bfa1f2a3..c3d7c54335 100644 --- a/CRM/Core/DAO/UFGroup.php +++ b/CRM/Core/DAO/UFGroup.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_uf_group'; + public static $_tableName = 'civicrm_uf_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique table ID @@ -231,7 +231,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'limit_listings_group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'add_to_group_id', 'civicrm_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); diff --git a/CRM/Core/DAO/UFJoin.php b/CRM/Core/DAO/UFJoin.php index 909508c766..eaa94f4a9a 100644 --- a/CRM/Core/DAO/UFJoin.php +++ b/CRM/Core/DAO/UFJoin.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_uf_join'; + public static $_tableName = 'civicrm_uf_join'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique table ID @@ -100,7 +100,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'uf_group_id', 'civicrm_uf_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/UFMatch.php b/CRM/Core/DAO/UFMatch.php index 76f9c7ee7e..6b54207610 100644 --- a/CRM/Core/DAO/UFMatch.php +++ b/CRM/Core/DAO/UFMatch.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_uf_match'; + public static $_tableName = 'civicrm_uf_match'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * System generated ID. @@ -86,7 +86,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Core/DAO/Website.php b/CRM/Core/DAO/Website.php index beb502964f..350f6d26ed 100644 --- a/CRM/Core/DAO/Website.php +++ b/CRM/Core/DAO/Website.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_website'; + public static $_tableName = 'civicrm_website'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique Website ID @@ -72,7 +72,7 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/WordReplacement.php b/CRM/Core/DAO/WordReplacement.php index e07d75920c..3084dae9bf 100644 --- a/CRM/Core/DAO/WordReplacement.php +++ b/CRM/Core/DAO/WordReplacement.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_word_replacement'; + public static $_tableName = 'civicrm_word_replacement'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Word replacement ID @@ -84,7 +84,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Core/DAO/Worldregion.php b/CRM/Core/DAO/Worldregion.php index b09eeff53c..8e297e7e2a 100644 --- a/CRM/Core/DAO/Worldregion.php +++ b/CRM/Core/DAO/Worldregion.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_worldregion'; + public static $_tableName = 'civicrm_worldregion'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Country Id diff --git a/CRM/Core/I18n/SchemaStructure.php b/CRM/Core/I18n/SchemaStructure.php index 1abf4abb7d..bec6ec355e 100644 --- a/CRM/Core/I18n/SchemaStructure.php +++ b/CRM/Core/I18n/SchemaStructure.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ - */ +*/ /** * @@ -42,7 +42,7 @@ class CRM_Core_I18n_SchemaStructure { * A table-indexed array of translatable columns. */ public static function &columns() { - static $result = NULL; + static $result = null; if (!$result) { $result = [ 'civicrm_location_type' => [ @@ -211,7 +211,7 @@ class CRM_Core_I18n_SchemaStructure { * Indices for translatable fields. */ public static function &indices() { - static $result = NULL; + static $result = null; if (!$result) { $result = [ 'civicrm_custom_group' => [ @@ -255,7 +255,7 @@ class CRM_Core_I18n_SchemaStructure { * Array of names of tables with fields that can be translated. */ static function &tables() { - static $result = NULL; + static $result = null; if (!$result) { $result = array_keys(self::columns()); } @@ -269,7 +269,7 @@ class CRM_Core_I18n_SchemaStructure { * Array of the widgets for editing translatable fields. */ static function &widgets() { - static $result = NULL; + static $result = null; if (!$result) { $result = [ 'civicrm_location_type' => [ diff --git a/CRM/Cxn/DAO/Cxn.php b/CRM/Cxn/DAO/Cxn.php index f4a87e67d4..96b240eead 100644 --- a/CRM/Cxn/DAO/Cxn.php +++ b/CRM/Cxn/DAO/Cxn.php @@ -19,14 +19,14 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_cxn'; + public static $_tableName = 'civicrm_cxn'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Connection ID diff --git a/CRM/Dedupe/DAO/Exception.php b/CRM/Dedupe/DAO/Exception.php index 3e824fa3e6..3692a9d0ac 100644 --- a/CRM/Dedupe/DAO/Exception.php +++ b/CRM/Dedupe/DAO/Exception.php @@ -19,14 +19,14 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_dedupe_exception'; + public static $_tableName = 'civicrm_dedupe_exception'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique dedupe exception id @@ -65,7 +65,7 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id1', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id2', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Dedupe/DAO/Rule.php b/CRM/Dedupe/DAO/Rule.php index ce99b810fc..b9e916d952 100644 --- a/CRM/Dedupe/DAO/Rule.php +++ b/CRM/Dedupe/DAO/Rule.php @@ -19,14 +19,14 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_dedupe_rule'; + public static $_tableName = 'civicrm_dedupe_rule'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique dedupe rule id @@ -86,7 +86,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dedupe_rule_group_id', 'civicrm_dedupe_rule_group', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Dedupe/DAO/RuleGroup.php b/CRM/Dedupe/DAO/RuleGroup.php index 420d82b369..d4b0fe9ba5 100644 --- a/CRM/Dedupe/DAO/RuleGroup.php +++ b/CRM/Dedupe/DAO/RuleGroup.php @@ -19,14 +19,14 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_dedupe_rule_group'; + public static $_tableName = 'civicrm_dedupe_rule_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Unique dedupe rule group id diff --git a/CRM/Event/Cart/DAO/Cart.php b/CRM/Event/Cart/DAO/Cart.php index bcb5af7bdf..e953400f05 100644 --- a/CRM/Event/Cart/DAO/Cart.php +++ b/CRM/Event/Cart/DAO/Cart.php @@ -19,14 +19,14 @@ class CRM_Event_Cart_DAO_Cart extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_event_carts'; + public static $_tableName = 'civicrm_event_carts'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Cart Id diff --git a/CRM/Event/Cart/DAO/EventInCart.php b/CRM/Event/Cart/DAO/EventInCart.php index f83c4681b7..f0c31b4d31 100644 --- a/CRM/Event/Cart/DAO/EventInCart.php +++ b/CRM/Event/Cart/DAO/EventInCart.php @@ -19,14 +19,14 @@ class CRM_Event_Cart_DAO_EventInCart extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_events_in_carts'; + public static $_tableName = 'civicrm_events_in_carts'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Event In Cart Id diff --git a/CRM/Event/DAO/Event.php b/CRM/Event/DAO/Event.php index de49e964e2..3febfd099d 100644 --- a/CRM/Event/DAO/Event.php +++ b/CRM/Event/DAO/Event.php @@ -19,14 +19,14 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_event'; + public static $_tableName = 'civicrm_event'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Event @@ -525,7 +525,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'loc_block_id', 'civicrm_loc_block', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id'); diff --git a/CRM/Event/DAO/Participant.php b/CRM/Event/DAO/Participant.php index f688facea2..93be1828db 100644 --- a/CRM/Event/DAO/Participant.php +++ b/CRM/Event/DAO/Participant.php @@ -19,14 +19,14 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_participant'; + public static $_tableName = 'civicrm_participant'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Participant Id @@ -174,7 +174,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'event_id', 'civicrm_event', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'status_id', 'civicrm_participant_status_type', 'id'); diff --git a/CRM/Event/DAO/ParticipantPayment.php b/CRM/Event/DAO/ParticipantPayment.php index 1e9402aa54..91838cbf53 100644 --- a/CRM/Event/DAO/ParticipantPayment.php +++ b/CRM/Event/DAO/ParticipantPayment.php @@ -19,14 +19,14 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_participant_payment'; + public static $_tableName = 'civicrm_participant_payment'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Participant Payment Id @@ -65,7 +65,7 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'participant_id', 'civicrm_participant', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Event/DAO/ParticipantStatusType.php b/CRM/Event/DAO/ParticipantStatusType.php index fac10276a3..00c8d1def9 100644 --- a/CRM/Event/DAO/ParticipantStatusType.php +++ b/CRM/Event/DAO/ParticipantStatusType.php @@ -19,14 +19,14 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_participant_status_type'; + public static $_tableName = 'civicrm_participant_status_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * unique participant status type id diff --git a/CRM/Financial/DAO/Currency.php b/CRM/Financial/DAO/Currency.php index 84de4610e4..672e3ed366 100644 --- a/CRM/Financial/DAO/Currency.php +++ b/CRM/Financial/DAO/Currency.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_currency'; + public static $_tableName = 'civicrm_currency'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Currency Id diff --git a/CRM/Financial/DAO/EntityFinancialAccount.php b/CRM/Financial/DAO/EntityFinancialAccount.php index 96e385eeab..687db0a729 100644 --- a/CRM/Financial/DAO/EntityFinancialAccount.php +++ b/CRM/Financial/DAO/EntityFinancialAccount.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_entity_financial_account'; + public static $_tableName = 'civicrm_entity_financial_account'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * ID @@ -79,7 +79,7 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_account_id', 'civicrm_financial_account', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Financial/DAO/EntityFinancialTrxn.php b/CRM/Financial/DAO/EntityFinancialTrxn.php index 710879740e..dd5940494d 100644 --- a/CRM/Financial/DAO/EntityFinancialTrxn.php +++ b/CRM/Financial/DAO/EntityFinancialTrxn.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_entity_financial_trxn'; + public static $_tableName = 'civicrm_entity_financial_trxn'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * ID @@ -75,7 +75,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_trxn_id', 'civicrm_financial_trxn', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Financial/DAO/FinancialAccount.php b/CRM/Financial/DAO/FinancialAccount.php index e3ecc12530..c6aaa00971 100644 --- a/CRM/Financial/DAO/FinancialAccount.php +++ b/CRM/Financial/DAO/FinancialAccount.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_financial_account'; + public static $_tableName = 'civicrm_financial_account'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * ID @@ -149,7 +149,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_financial_account', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Financial/DAO/FinancialItem.php b/CRM/Financial/DAO/FinancialItem.php index 30284d4d22..d25859144d 100644 --- a/CRM/Financial/DAO/FinancialItem.php +++ b/CRM/Financial/DAO/FinancialItem.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_financial_item'; + public static $_tableName = 'civicrm_financial_item'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -119,7 +119,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_account_id', 'civicrm_financial_account', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); diff --git a/CRM/Financial/DAO/FinancialTrxn.php b/CRM/Financial/DAO/FinancialTrxn.php index 57e96aedf1..f89106a691 100644 --- a/CRM/Financial/DAO/FinancialTrxn.php +++ b/CRM/Financial/DAO/FinancialTrxn.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_financial_trxn'; + public static $_tableName = 'civicrm_financial_trxn'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -161,7 +161,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'from_financial_account_id', 'civicrm_financial_account', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'to_financial_account_id', 'civicrm_financial_account', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id'); diff --git a/CRM/Financial/DAO/FinancialType.php b/CRM/Financial/DAO/FinancialType.php index 516fe493e8..611c7b6506 100644 --- a/CRM/Financial/DAO/FinancialType.php +++ b/CRM/Financial/DAO/FinancialType.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_financial_type'; + public static $_tableName = 'civicrm_financial_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * 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 diff --git a/CRM/Financial/DAO/PaymentProcessor.php b/CRM/Financial/DAO/PaymentProcessor.php index 311fe33b96..2c8bcffc34 100644 --- a/CRM/Financial/DAO/PaymentProcessor.php +++ b/CRM/Financial/DAO/PaymentProcessor.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_payment_processor'; + public static $_tableName = 'civicrm_payment_processor'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Payment Processor ID @@ -185,7 +185,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_type_id', 'civicrm_payment_processor_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Financial/DAO/PaymentProcessorType.php b/CRM/Financial/DAO/PaymentProcessorType.php index 8fc4a6279a..e5de98746e 100644 --- a/CRM/Financial/DAO/PaymentProcessorType.php +++ b/CRM/Financial/DAO/PaymentProcessorType.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_payment_processor_type'; + public static $_tableName = 'civicrm_payment_processor_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Payment Processor Type ID diff --git a/CRM/Financial/DAO/PaymentToken.php b/CRM/Financial/DAO/PaymentToken.php index f016332899..923f2fb4fb 100644 --- a/CRM/Financial/DAO/PaymentToken.php +++ b/CRM/Financial/DAO/PaymentToken.php @@ -19,14 +19,14 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_payment_token'; + public static $_tableName = 'civicrm_payment_token'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Payment Token ID @@ -133,7 +133,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); diff --git a/CRM/Friend/DAO/Friend.php b/CRM/Friend/DAO/Friend.php index 421f6c6481..568c648d33 100644 --- a/CRM/Friend/DAO/Friend.php +++ b/CRM/Friend/DAO/Friend.php @@ -19,14 +19,14 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_tell_friend'; + public static $_tableName = 'civicrm_tell_friend'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Friend ID @@ -110,7 +110,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Grant/DAO/Grant.php b/CRM/Grant/DAO/Grant.php index 03b5e1814c..f3b0a3f414 100644 --- a/CRM/Grant/DAO/Grant.php +++ b/CRM/Grant/DAO/Grant.php @@ -19,14 +19,14 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_grant'; + public static $_tableName = 'civicrm_grant'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Unique Grant id @@ -149,7 +149,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Mailing/DAO/BouncePattern.php b/CRM/Mailing/DAO/BouncePattern.php index abc1f763ee..447451c0dc 100644 --- a/CRM/Mailing/DAO/BouncePattern.php +++ b/CRM/Mailing/DAO/BouncePattern.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_bounce_pattern'; + public static $_tableName = 'civicrm_mailing_bounce_pattern'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -63,7 +63,7 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'bounce_type_id', 'civicrm_mailing_bounce_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Mailing/DAO/BounceType.php b/CRM/Mailing/DAO/BounceType.php index 6b2ce2e986..134ed3302e 100644 --- a/CRM/Mailing/DAO/BounceType.php +++ b/CRM/Mailing/DAO/BounceType.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_bounce_type'; + public static $_tableName = 'civicrm_mailing_bounce_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/DAO/Mailing.php b/CRM/Mailing/DAO/Mailing.php index 3a36d6e9e7..e57dc5ced8 100644 --- a/CRM/Mailing/DAO/Mailing.php +++ b/CRM/Mailing/DAO/Mailing.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing'; + public static $_tableName = 'civicrm_mailing'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -339,7 +339,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'header_id', 'civicrm_mailing_component', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'footer_id', 'civicrm_mailing_component', 'id'); diff --git a/CRM/Mailing/DAO/MailingAB.php b/CRM/Mailing/DAO/MailingAB.php index 21a51e3752..9d4ac8bff0 100644 --- a/CRM/Mailing/DAO/MailingAB.php +++ b/CRM/Mailing/DAO/MailingAB.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_abtest'; + public static $_tableName = 'civicrm_mailing_abtest'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -134,7 +134,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Mailing/DAO/MailingComponent.php b/CRM/Mailing/DAO/MailingComponent.php index 37689283d0..6f2ba81e31 100644 --- a/CRM/Mailing/DAO/MailingComponent.php +++ b/CRM/Mailing/DAO/MailingComponent.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_component'; + public static $_tableName = 'civicrm_mailing_component'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/DAO/MailingGroup.php b/CRM/Mailing/DAO/MailingGroup.php index f1f454382a..46f6a40333 100644 --- a/CRM/Mailing/DAO/MailingGroup.php +++ b/CRM/Mailing/DAO/MailingGroup.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_group'; + public static $_tableName = 'civicrm_mailing_group'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -91,7 +91,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Mailing/DAO/MailingJob.php b/CRM/Mailing/DAO/MailingJob.php index 6065831c5b..a88d4abcf6 100644 --- a/CRM/Mailing/DAO/MailingJob.php +++ b/CRM/Mailing/DAO/MailingJob.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_job'; + public static $_tableName = 'civicrm_mailing_job'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -119,7 +119,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'parent_id', 'civicrm_mailing_job', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Mailing/DAO/Recipients.php b/CRM/Mailing/DAO/Recipients.php index 9817eea9b1..3b10af904a 100644 --- a/CRM/Mailing/DAO/Recipients.php +++ b/CRM/Mailing/DAO/Recipients.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_recipients'; + public static $_tableName = 'civicrm_mailing_recipients'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -77,7 +77,7 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id'); diff --git a/CRM/Mailing/DAO/Spool.php b/CRM/Mailing/DAO/Spool.php index 693134c2a1..bdc28b428d 100644 --- a/CRM/Mailing/DAO/Spool.php +++ b/CRM/Mailing/DAO/Spool.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_spool'; + public static $_tableName = 'civicrm_mailing_spool'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -91,7 +91,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'job_id', 'civicrm_mailing_job', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Mailing/DAO/TrackableURL.php b/CRM/Mailing/DAO/TrackableURL.php index c7d7acb3ac..840f42c6b3 100644 --- a/CRM/Mailing/DAO/TrackableURL.php +++ b/CRM/Mailing/DAO/TrackableURL.php @@ -19,14 +19,14 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_trackable_url'; + public static $_tableName = 'civicrm_mailing_trackable_url'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned @@ -63,7 +63,7 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'mailing_id', 'civicrm_mailing', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Mailing/Event/DAO/Bounce.php b/CRM/Mailing/Event/DAO/Bounce.php index 17a049bcea..ba53bf7c06 100644 --- a/CRM/Mailing/Event/DAO/Bounce.php +++ b/CRM/Mailing/Event/DAO/Bounce.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_bounce'; + public static $_tableName = 'civicrm_mailing_event_bounce'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Confirm.php b/CRM/Mailing/Event/DAO/Confirm.php index e7caf8a74a..b66ca4a6fb 100644 --- a/CRM/Mailing/Event/DAO/Confirm.php +++ b/CRM/Mailing/Event/DAO/Confirm.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_confirm'; + public static $_tableName = 'civicrm_mailing_event_confirm'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Delivered.php b/CRM/Mailing/Event/DAO/Delivered.php index 618287bfb7..ddde617bab 100644 --- a/CRM/Mailing/Event/DAO/Delivered.php +++ b/CRM/Mailing/Event/DAO/Delivered.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_delivered'; + public static $_tableName = 'civicrm_mailing_event_delivered'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Forward.php b/CRM/Mailing/Event/DAO/Forward.php index a560f33c48..c9d1588dd4 100644 --- a/CRM/Mailing/Event/DAO/Forward.php +++ b/CRM/Mailing/Event/DAO/Forward.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_forward'; + public static $_tableName = 'civicrm_mailing_event_forward'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Opened.php b/CRM/Mailing/Event/DAO/Opened.php index 18b4616041..e3337cba28 100644 --- a/CRM/Mailing/Event/DAO/Opened.php +++ b/CRM/Mailing/Event/DAO/Opened.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_opened'; + public static $_tableName = 'civicrm_mailing_event_opened'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Queue.php b/CRM/Mailing/Event/DAO/Queue.php index 7ff2bb3534..b1e3447500 100644 --- a/CRM/Mailing/Event/DAO/Queue.php +++ b/CRM/Mailing/Event/DAO/Queue.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_queue'; + public static $_tableName = 'civicrm_mailing_event_queue'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Reply.php b/CRM/Mailing/Event/DAO/Reply.php index 72d8686557..d7f71831b5 100644 --- a/CRM/Mailing/Event/DAO/Reply.php +++ b/CRM/Mailing/Event/DAO/Reply.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_reply'; + public static $_tableName = 'civicrm_mailing_event_reply'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Subscribe.php b/CRM/Mailing/Event/DAO/Subscribe.php index fbd28c5d3b..888c2ecc19 100644 --- a/CRM/Mailing/Event/DAO/Subscribe.php +++ b/CRM/Mailing/Event/DAO/Subscribe.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_subscribe'; + public static $_tableName = 'civicrm_mailing_event_subscribe'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/TrackableURLOpen.php b/CRM/Mailing/Event/DAO/TrackableURLOpen.php index 2febab694c..60e2eafef2 100644 --- a/CRM/Mailing/Event/DAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/DAO/TrackableURLOpen.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_trackable_url_open'; + public static $_tableName = 'civicrm_mailing_event_trackable_url_open'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Mailing/Event/DAO/Unsubscribe.php b/CRM/Mailing/Event/DAO/Unsubscribe.php index d8397181a6..8459b8a50b 100644 --- a/CRM/Mailing/Event/DAO/Unsubscribe.php +++ b/CRM/Mailing/Event/DAO/Unsubscribe.php @@ -19,14 +19,14 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_mailing_event_unsubscribe'; + public static $_tableName = 'civicrm_mailing_event_unsubscribe'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Member/DAO/Membership.php b/CRM/Member/DAO/Membership.php index a7f757dcb7..5dbba6f274 100644 --- a/CRM/Member/DAO/Membership.php +++ b/CRM/Member/DAO/Membership.php @@ -19,14 +19,14 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_membership'; + public static $_tableName = 'civicrm_membership'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Membership Id @@ -150,7 +150,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_id', 'civicrm_membership_type', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'status_id', 'civicrm_membership_status', 'id'); diff --git a/CRM/Member/DAO/MembershipBlock.php b/CRM/Member/DAO/MembershipBlock.php index 63d08cc0bd..0b533176c3 100644 --- a/CRM/Member/DAO/MembershipBlock.php +++ b/CRM/Member/DAO/MembershipBlock.php @@ -19,14 +19,14 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_membership_block'; + public static $_tableName = 'civicrm_membership_block'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Membership Id @@ -135,7 +135,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'entity_id', 'civicrm_contribution_page', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_default', 'civicrm_membership_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Member/DAO/MembershipLog.php b/CRM/Member/DAO/MembershipLog.php index c72b09b489..306cd20647 100644 --- a/CRM/Member/DAO/MembershipLog.php +++ b/CRM/Member/DAO/MembershipLog.php @@ -19,14 +19,14 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_membership_log'; + public static $_tableName = 'civicrm_membership_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -105,7 +105,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_id', 'civicrm_membership', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'status_id', 'civicrm_membership_status', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id'); diff --git a/CRM/Member/DAO/MembershipPayment.php b/CRM/Member/DAO/MembershipPayment.php index 9cebf440f0..e1b4c7abe9 100644 --- a/CRM/Member/DAO/MembershipPayment.php +++ b/CRM/Member/DAO/MembershipPayment.php @@ -19,14 +19,14 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_membership_payment'; + public static $_tableName = 'civicrm_membership_payment'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -63,7 +63,7 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_id', 'civicrm_membership', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Member/DAO/MembershipStatus.php b/CRM/Member/DAO/MembershipStatus.php index 1bff2fe807..03d9b33b30 100644 --- a/CRM/Member/DAO/MembershipStatus.php +++ b/CRM/Member/DAO/MembershipStatus.php @@ -19,14 +19,14 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_membership_status'; + public static $_tableName = 'civicrm_membership_status'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Membership Id diff --git a/CRM/Member/DAO/MembershipType.php b/CRM/Member/DAO/MembershipType.php index be6469019e..e2f99222f0 100644 --- a/CRM/Member/DAO/MembershipType.php +++ b/CRM/Member/DAO/MembershipType.php @@ -19,14 +19,14 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_membership_type'; + public static $_tableName = 'civicrm_membership_type'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Membership Id @@ -185,7 +185,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'member_of_contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); diff --git a/CRM/PCP/DAO/PCP.php b/CRM/PCP/DAO/PCP.php index bde10b502e..20238b03d5 100644 --- a/CRM/PCP/DAO/PCP.php +++ b/CRM/PCP/DAO/PCP.php @@ -19,14 +19,14 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_pcp'; + public static $_tableName = 'civicrm_pcp'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Personal Campaign Page ID @@ -142,7 +142,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/PCP/DAO/PCPBlock.php b/CRM/PCP/DAO/PCPBlock.php index b6c8064c9d..89b76af0be 100644 --- a/CRM/PCP/DAO/PCPBlock.php +++ b/CRM/PCP/DAO/PCPBlock.php @@ -19,14 +19,14 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_pcp_block'; + public static $_tableName = 'civicrm_pcp_block'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * PCP block Id @@ -133,7 +133,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'supporter_profile_id', 'civicrm_uf_group', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'target_entity_id', NULL, 'id', 'target_entity_type'); diff --git a/CRM/Pledge/DAO/Pledge.php b/CRM/Pledge/DAO/Pledge.php index e98195db72..de2f298916 100644 --- a/CRM/Pledge/DAO/Pledge.php +++ b/CRM/Pledge/DAO/Pledge.php @@ -19,14 +19,14 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_pledge'; + public static $_tableName = 'civicrm_pledge'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Pledge ID @@ -203,7 +203,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id'); diff --git a/CRM/Pledge/DAO/PledgeBlock.php b/CRM/Pledge/DAO/PledgeBlock.php index 24f2f924d6..381f297a2c 100644 --- a/CRM/Pledge/DAO/PledgeBlock.php +++ b/CRM/Pledge/DAO/PledgeBlock.php @@ -19,14 +19,14 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_pledge_block'; + public static $_tableName = 'civicrm_pledge_block'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Pledge ID @@ -121,7 +121,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Pledge/DAO/PledgePayment.php b/CRM/Pledge/DAO/PledgePayment.php index bffa34aba1..d43a0f7791 100644 --- a/CRM/Pledge/DAO/PledgePayment.php +++ b/CRM/Pledge/DAO/PledgePayment.php @@ -19,14 +19,14 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_pledge_payment'; + public static $_tableName = 'civicrm_pledge_payment'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * @var int unsigned @@ -110,7 +110,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'pledge_id', 'civicrm_pledge', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Price/DAO/LineItem.php b/CRM/Price/DAO/LineItem.php index 08ee2d4eb0..40dbb3f999 100644 --- a/CRM/Price/DAO/LineItem.php +++ b/CRM/Price/DAO/LineItem.php @@ -19,14 +19,14 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_line_item'; + public static $_tableName = 'civicrm_line_item'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Line Item @@ -142,7 +142,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_id', 'civicrm_price_field', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_value_id', 'civicrm_price_field_value', 'id'); diff --git a/CRM/Price/DAO/PriceField.php b/CRM/Price/DAO/PriceField.php index 899a4b1c31..6211831f0b 100644 --- a/CRM/Price/DAO/PriceField.php +++ b/CRM/Price/DAO/PriceField.php @@ -19,14 +19,14 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_price_field'; + public static $_tableName = 'civicrm_price_field'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Price Field @@ -161,7 +161,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/CRM/Price/DAO/PriceFieldValue.php b/CRM/Price/DAO/PriceFieldValue.php index d6ba96ec79..c449711499 100644 --- a/CRM/Price/DAO/PriceFieldValue.php +++ b/CRM/Price/DAO/PriceFieldValue.php @@ -19,14 +19,14 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_price_field_value'; + public static $_tableName = 'civicrm_price_field_value'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Price Field Value @@ -170,7 +170,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_id', 'civicrm_price_field', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_id', 'civicrm_membership_type', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); diff --git a/CRM/Price/DAO/PriceSet.php b/CRM/Price/DAO/PriceSet.php index 1c3136568c..ed8c4d685b 100644 --- a/CRM/Price/DAO/PriceSet.php +++ b/CRM/Price/DAO/PriceSet.php @@ -19,14 +19,14 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_price_set'; + public static $_tableName = 'civicrm_price_set'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Price Set @@ -135,7 +135,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Price/DAO/PriceSetEntity.php b/CRM/Price/DAO/PriceSetEntity.php index 17f1a3c32e..0bef5929d7 100644 --- a/CRM/Price/DAO/PriceSetEntity.php +++ b/CRM/Price/DAO/PriceSetEntity.php @@ -19,14 +19,14 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_price_set_entity'; + public static $_tableName = 'civicrm_price_set_entity'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * Price Set Entity @@ -72,7 +72,7 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); diff --git a/CRM/Queue/DAO/QueueItem.php b/CRM/Queue/DAO/QueueItem.php index 7160abc273..9c54006cbd 100644 --- a/CRM/Queue/DAO/QueueItem.php +++ b/CRM/Queue/DAO/QueueItem.php @@ -19,14 +19,14 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_queue_item'; + public static $_tableName = 'civicrm_queue_item'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * @var int unsigned diff --git a/CRM/Report/DAO/ReportInstance.php b/CRM/Report/DAO/ReportInstance.php index 48a6a02296..bd2d42c3ef 100644 --- a/CRM/Report/DAO/ReportInstance.php +++ b/CRM/Report/DAO/ReportInstance.php @@ -19,14 +19,14 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_report_instance'; + public static $_tableName = 'civicrm_report_instance'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Report Instance ID @@ -189,7 +189,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'owner_id', 'civicrm_contact', 'id'); diff --git a/CRM/SMS/DAO/Provider.php b/CRM/SMS/DAO/Provider.php index 7ed8179e3d..969c212421 100644 --- a/CRM/SMS/DAO/Provider.php +++ b/CRM/SMS/DAO/Provider.php @@ -19,14 +19,14 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_sms_provider'; + public static $_tableName = 'civicrm_sms_provider'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * SMS Provider ID @@ -111,7 +111,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } diff --git a/xml/templates/dao.tpl b/xml/templates/dao.tpl index 4995588154..8e0f26f42d 100644 --- a/xml/templates/dao.tpl +++ b/xml/templates/dao.tpl @@ -18,14 +18,14 @@ class {$table.className} extends CRM_Core_DAO {ldelim} * * @var string */ - static $_tableName = '{$table.name}'; + public static $_tableName = '{$table.name}'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = {$table.log|strtoupper}; + public static $_log = {$table.log|strtoupper}; {foreach from=$table.fields item=field} /** -- 2.25.1