From 681aa547248b9c7d92d368f4879f75f941eba90b Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 30 Dec 2014 17:00:26 -0800 Subject: [PATCH] Style - Remove @access 1. These annotations are useful in PHP4-style code. 2. These annotations are useless in PHP5-style code. Either they're redundant with the code, or they contradict the code. 3. In cases where there are contradictions, I don't think there's anyway for us to generally resolve the contradiction except to say, "The code is right." 4. As a developer reading .php files, I look at the code and *never* look at @access. --- CRM/ACL/API.php | 4 -- CRM/ACL/BAO/ACL.php | 9 ----- CRM/ACL/BAO/EntityRole.php | 1 - CRM/ACL/Form/ACL.php | 3 -- CRM/ACL/Form/ACLBasic.php | 3 -- CRM/ACL/Form/EntityRole.php | 2 - CRM/ACL/Form/WordPress/Permissions.php | 3 -- CRM/ACL/Page/ACL.php | 2 - CRM/ACL/Page/ACLBasic.php | 2 - CRM/ACL/Page/EntityRole.php | 2 - CRM/Activity/BAO/Activity.php | 25 ------------ CRM/Activity/BAO/ActivityAssignment.php | 3 -- CRM/Activity/BAO/ActivityContact.php | 4 -- CRM/Activity/BAO/ActivityTarget.php | 3 -- CRM/Activity/BAO/ICalendar.php | 1 - CRM/Activity/BAO/Query.php | 5 --- CRM/Activity/Form/Activity.php | 7 ---- CRM/Activity/Form/ActivityView.php | 2 - CRM/Activity/Form/Search.php | 8 ---- CRM/Activity/Form/Task.php | 2 - CRM/Activity/Form/Task/AddToTag.php | 2 - CRM/Activity/Form/Task/Batch.php | 4 -- CRM/Activity/Form/Task/Delete.php | 3 -- CRM/Activity/Form/Task/Email.php | 3 -- CRM/Activity/Form/Task/FileOnCase.php | 4 -- CRM/Activity/Form/Task/PickOption.php | 5 --- CRM/Activity/Form/Task/PickProfile.php | 5 --- CRM/Activity/Form/Task/Print.php | 3 -- CRM/Activity/Form/Task/RemoveFromTag.php | 2 - CRM/Activity/Form/Task/SMS.php | 3 -- .../Form/Task/SearchTaskHookSample.php | 2 - CRM/Activity/Import/Field.php | 1 - CRM/Activity/Import/Form/DataSource.php | 4 -- CRM/Activity/Import/Form/MapField.php | 4 -- CRM/Activity/Import/Form/Preview.php | 2 - CRM/Activity/Import/Form/Summary.php | 1 - CRM/Activity/Import/Parser.php | 5 --- CRM/Activity/Import/Parser/Activity.php | 6 --- CRM/Activity/Page/Tab.php | 3 -- CRM/Activity/Page/UserDashboard.php | 2 - CRM/Activity/Selector/Activity.php | 6 --- CRM/Activity/Selector/Search.php | 10 ----- CRM/Activity/StateMachine/Search.php | 2 - CRM/Activity/Task.php | 4 -- CRM/Admin/Form.php | 2 - CRM/Admin/Form/CMSUser.php | 2 - CRM/Admin/Form/ContactType.php | 3 -- CRM/Admin/Form/Extensions.php | 5 --- CRM/Admin/Form/Job.php | 2 - CRM/Admin/Form/LabelFormats.php | 2 - CRM/Admin/Form/LocationType.php | 2 - CRM/Admin/Form/MailSettings.php | 4 -- CRM/Admin/Form/Mapping.php | 2 - CRM/Admin/Form/MessageTemplates.php | 3 -- CRM/Admin/Form/Navigation.php | 2 - CRM/Admin/Form/OptionGroup.php | 2 - CRM/Admin/Form/Options.php | 5 --- CRM/Admin/Form/PaymentProcessor.php | 2 - CRM/Admin/Form/PaymentProcessorType.php | 2 - CRM/Admin/Form/PdfFormats.php | 2 - CRM/Admin/Form/Preferences.php | 3 -- CRM/Admin/Form/Preferences/Address.php | 2 - CRM/Admin/Form/Preferences/Contribute.php | 4 -- CRM/Admin/Form/Preferences/Display.php | 2 - CRM/Admin/Form/Preferences/Member.php | 1 - CRM/Admin/Form/PreferencesDate.php | 3 -- CRM/Admin/Form/RelationshipType.php | 2 - CRM/Admin/Form/ScheduleReminders.php | 3 -- CRM/Admin/Form/Setting.php | 3 -- CRM/Admin/Form/Setting/Component.php | 2 - CRM/Admin/Form/Setting/Date.php | 1 - CRM/Admin/Form/Setting/Debugging.php | 1 - CRM/Admin/Form/Setting/Localization.php | 1 - CRM/Admin/Form/Setting/Mail.php | 1 - CRM/Admin/Form/Setting/Mapping.php | 3 -- CRM/Admin/Form/Setting/Miscellaneous.php | 2 - CRM/Admin/Form/Setting/Path.php | 1 - CRM/Admin/Form/Setting/Search.php | 1 - CRM/Admin/Form/Setting/Smtp.php | 4 -- CRM/Admin/Form/Setting/UF.php | 1 - .../Form/Setting/UpdateConfigBackend.php | 1 - CRM/Admin/Form/Setting/Url.php | 1 - CRM/Admin/Form/Tag.php | 2 - CRM/Admin/Form/WordReplacements.php | 3 -- CRM/Admin/Page/CMSUser.php | 1 - CRM/Admin/Page/EventTemplate.php | 1 - CRM/Admin/Page/Extensions.php | 3 -- CRM/Admin/Page/Job.php | 2 - CRM/Admin/Page/JobLog.php | 2 - CRM/Admin/Page/LabelFormats.php | 1 - CRM/Admin/Page/MailSettings.php | 1 - CRM/Admin/Page/MessageTemplates.php | 1 - CRM/Admin/Page/Options.php | 2 - CRM/Admin/Page/PaymentProcessor.php | 2 - CRM/Admin/Page/PdfFormats.php | 1 - CRM/Admin/Page/Persistent.php | 1 - CRM/Admin/Page/PreferencesDate.php | 1 - CRM/Admin/Page/ScheduleReminders.php | 1 - CRM/Badge/BAO/Badge.php | 3 -- CRM/Badge/BAO/Layout.php | 6 --- CRM/Badge/Form/Layout.php | 3 -- CRM/Batch/BAO/Batch.php | 10 ----- CRM/Batch/Form/Batch.php | 3 -- CRM/Batch/Form/Entry.php | 8 ---- CRM/Batch/Page/Batch.php | 1 - CRM/Campaign/BAO/Campaign.php | 2 - CRM/Campaign/BAO/Petition.php | 2 - CRM/Campaign/BAO/Query.php | 2 - CRM/Campaign/BAO/Survey.php | 3 -- CRM/Campaign/Form/Campaign.php | 3 -- CRM/Campaign/Form/Gotv.php | 3 -- CRM/Campaign/Form/Petition.php | 1 - CRM/Campaign/Form/Petition/Signature.php | 4 -- CRM/Campaign/Form/Search.php | 7 ---- CRM/Campaign/Form/Search/Campaign.php | 3 -- CRM/Campaign/Form/Search/Petition.php | 3 -- CRM/Campaign/Form/Search/Survey.php | 3 -- CRM/Campaign/Form/Survey.php | 1 - CRM/Campaign/Form/Survey/Delete.php | 3 -- CRM/Campaign/Form/Survey/Main.php | 3 -- CRM/Campaign/Form/Survey/Questions.php | 3 -- CRM/Campaign/Form/Survey/Results.php | 3 -- CRM/Campaign/Form/SurveyType.php | 4 -- CRM/Campaign/Form/Task.php | 2 - CRM/Campaign/Form/Task/Interview.php | 4 -- CRM/Campaign/Form/Task/Print.php | 3 -- CRM/Campaign/Form/Task/Release.php | 2 - CRM/Campaign/Form/Task/Reserve.php | 4 -- CRM/Campaign/Form/Task/Result.php | 2 - CRM/Campaign/Page/Petition/Confirm.php | 1 - CRM/Campaign/Page/SurveyType.php | 3 -- CRM/Campaign/PseudoConstant.php | 5 --- CRM/Campaign/Selector/Search.php | 10 ----- CRM/Campaign/StateMachine/Search.php | 2 - CRM/Campaign/Task.php | 4 -- CRM/Case/BAO/Case.php | 23 ----------- CRM/Case/BAO/CaseType.php | 5 --- CRM/Case/BAO/Query.php | 5 --- CRM/Case/Form/Activity.php | 4 -- .../Form/Activity/ChangeCaseStartDate.php | 4 -- CRM/Case/Form/Activity/ChangeCaseStatus.php | 4 -- CRM/Case/Form/Activity/ChangeCaseType.php | 4 -- CRM/Case/Form/Activity/LinkCases.php | 4 -- CRM/Case/Form/Activity/OpenCase.php | 4 -- CRM/Case/Form/ActivityChangeStatus.php | 1 - CRM/Case/Form/ActivityToCase.php | 3 -- CRM/Case/Form/ActivityView.php | 1 - CRM/Case/Form/Case.php | 5 --- CRM/Case/Form/CaseView.php | 4 -- CRM/Case/Form/CustomData.php | 4 -- CRM/Case/Form/EditClient.php | 3 -- CRM/Case/Form/Report.php | 2 - CRM/Case/Form/Search.php | 10 ----- CRM/Case/Form/Task.php | 2 - CRM/Case/Form/Task/Delete.php | 3 -- CRM/Case/Form/Task/Print.php | 3 -- CRM/Case/Form/Task/Restore.php | 3 -- CRM/Case/Form/Task/Result.php | 2 - CRM/Case/Form/Task/SearchTaskHookSample.php | 2 - CRM/Case/Page/CaseDetails.php | 1 - CRM/Case/Page/DashBoard.php | 2 - CRM/Case/Page/Tab.php | 4 -- CRM/Case/PseudoConstant.php | 6 --- CRM/Case/Selector/Search.php | 10 ----- CRM/Case/StateMachine/Search.php | 2 - CRM/Case/Task.php | 5 --- CRM/Contact/BAO/Contact.php | 26 ------------ CRM/Contact/BAO/Contact/Location.php | 3 -- CRM/Contact/BAO/Contact/Permission.php | 3 -- CRM/Contact/BAO/Contact/Utils.php | 9 ----- CRM/Contact/BAO/ContactType.php | 5 --- CRM/Contact/BAO/Group.php | 13 ------ CRM/Contact/BAO/GroupContact.php | 10 ----- CRM/Contact/BAO/GroupNesting.php | 10 ----- CRM/Contact/BAO/GroupOrganization.php | 4 -- CRM/Contact/BAO/Household.php | 1 - CRM/Contact/BAO/Individual.php | 2 - CRM/Contact/BAO/Query.php | 40 ------------------- CRM/Contact/BAO/Relationship.php | 15 ------- CRM/Contact/BAO/RelationshipType.php | 2 - CRM/Contact/BAO/SavedSearch.php | 5 --- CRM/Contact/BAO/SubscriptionHistory.php | 3 -- CRM/Contact/Form/Contact.php | 10 ----- CRM/Contact/Form/CustomData.php | 6 --- CRM/Contact/Form/DedupeFind.php | 3 -- CRM/Contact/Form/DedupeRules.php | 5 --- CRM/Contact/Form/Domain.php | 5 --- CRM/Contact/Form/Edit/Address.php | 3 -- .../Form/Edit/CommunicationPreferences.php | 4 -- CRM/Contact/Form/Edit/CustomData.php | 3 -- CRM/Contact/Form/Edit/Demographics.php | 2 - CRM/Contact/Form/Edit/Email.php | 1 - CRM/Contact/Form/Edit/Household.php | 1 - CRM/Contact/Form/Edit/IM.php | 1 - CRM/Contact/Form/Edit/Individual.php | 2 - CRM/Contact/Form/Edit/Lock.php | 2 - CRM/Contact/Form/Edit/Notes.php | 1 - CRM/Contact/Form/Edit/OpenID.php | 1 - CRM/Contact/Form/Edit/Organization.php | 1 - CRM/Contact/Form/Edit/Phone.php | 1 - CRM/Contact/Form/Edit/TagsAndGroups.php | 3 -- CRM/Contact/Form/Edit/Website.php | 1 - CRM/Contact/Form/GroupContact.php | 2 - CRM/Contact/Form/Inline.php | 3 -- CRM/Contact/Form/Inline/Address.php | 3 -- .../Form/Inline/CommunicationPreferences.php | 3 -- CRM/Contact/Form/Inline/ContactInfo.php | 3 -- CRM/Contact/Form/Inline/ContactName.php | 2 - CRM/Contact/Form/Inline/CustomData.php | 4 -- CRM/Contact/Form/Inline/Demographics.php | 2 - CRM/Contact/Form/Inline/Email.php | 4 -- CRM/Contact/Form/Inline/IM.php | 4 -- CRM/Contact/Form/Inline/Lock.php | 2 - CRM/Contact/Form/Inline/OpenID.php | 4 -- CRM/Contact/Form/Inline/Phone.php | 4 -- CRM/Contact/Form/Inline/Website.php | 3 -- CRM/Contact/Form/Location.php | 1 - CRM/Contact/Form/ProfileContact.php | 1 - CRM/Contact/Form/RelatedContact.php | 4 -- CRM/Contact/Form/Relationship.php | 5 --- CRM/Contact/Form/Search.php | 16 -------- CRM/Contact/Form/Search/Advanced.php | 7 ---- CRM/Contact/Form/Search/Basic.php | 8 ---- CRM/Contact/Form/Search/Builder.php | 6 --- CRM/Contact/Form/Search/Criteria.php | 1 - CRM/Contact/Form/Search/Custom.php | 2 - CRM/Contact/Form/Search/Custom/Basic.php | 1 - CRM/Contact/Form/Task.php | 7 ---- CRM/Contact/Form/Task/AddToGroup.php | 6 --- CRM/Contact/Form/Task/AddToHousehold.php | 4 -- CRM/Contact/Form/Task/AddToOrganization.php | 3 -- CRM/Contact/Form/Task/AddToTag.php | 2 - CRM/Contact/Form/Task/AlterPreferences.php | 3 -- CRM/Contact/Form/Task/Batch.php | 5 --- CRM/Contact/Form/Task/Delete.php | 4 -- CRM/Contact/Form/Task/Email.php | 3 -- CRM/Contact/Form/Task/EmailCommon.php | 3 -- CRM/Contact/Form/Task/HookSample.php | 3 -- CRM/Contact/Form/Task/Label.php | 6 --- CRM/Contact/Form/Task/LabelCommon.php | 2 - CRM/Contact/Form/Task/Map.php | 4 -- CRM/Contact/Form/Task/Map/Event.php | 2 - CRM/Contact/Form/Task/Merge.php | 1 - CRM/Contact/Form/Task/PDF.php | 4 -- CRM/Contact/Form/Task/PDFLetterCommon.php | 4 -- CRM/Contact/Form/Task/PickProfile.php | 5 --- CRM/Contact/Form/Task/Print.php | 3 -- CRM/Contact/Form/Task/ProximityCommon.php | 4 -- CRM/Contact/Form/Task/RemoveFromGroup.php | 3 -- CRM/Contact/Form/Task/RemoveFromTag.php | 2 - CRM/Contact/Form/Task/Result.php | 2 - CRM/Contact/Form/Task/SMS.php | 2 - CRM/Contact/Form/Task/SMSCommon.php | 3 -- CRM/Contact/Form/Task/SaveSearch.php | 3 -- CRM/Contact/Form/Task/SaveSearch/Update.php | 2 - CRM/Contact/Form/Task/Unhold.php | 1 - CRM/Contact/Form/Task/Useradd.php | 3 -- CRM/Contact/Import/Field.php | 1 - CRM/Contact/Import/Form/DataSource.php | 5 --- CRM/Contact/Import/Form/MapField.php | 7 ---- CRM/Contact/Import/Form/Preview.php | 5 --- CRM/Contact/Import/Form/Summary.php | 2 - CRM/Contact/Import/Parser.php | 8 ---- CRM/Contact/Import/Parser/Contact.php | 14 ------- CRM/Contact/Page/DashBoard.php | 1 - CRM/Contact/Page/Dashlet.php | 1 - CRM/Contact/Page/DedupeException.php | 2 - CRM/Contact/Page/DedupeFind.php | 2 - CRM/Contact/Page/DedupeRules.php | 2 - CRM/Contact/Page/Inline/Actions.php | 1 - CRM/Contact/Page/Inline/Address.php | 1 - .../Page/Inline/CommunicationPreferences.php | 1 - CRM/Contact/Page/Inline/ContactInfo.php | 1 - CRM/Contact/Page/Inline/ContactName.php | 1 - CRM/Contact/Page/Inline/CustomData.php | 1 - CRM/Contact/Page/Inline/Demographics.php | 1 - CRM/Contact/Page/Inline/Email.php | 1 - CRM/Contact/Page/Inline/IM.php | 1 - CRM/Contact/Page/Inline/OpenID.php | 1 - CRM/Contact/Page/Inline/Phone.php | 1 - CRM/Contact/Page/Inline/Website.php | 1 - CRM/Contact/Page/Task.php | 1 - CRM/Contact/Page/View.php | 6 --- CRM/Contact/Page/View/ContactSmartGroup.php | 2 - CRM/Contact/Page/View/CustomData.php | 3 -- CRM/Contact/Page/View/GroupContact.php | 3 -- CRM/Contact/Page/View/Log.php | 2 - CRM/Contact/Page/View/Note.php | 5 --- CRM/Contact/Page/View/Print.php | 2 - CRM/Contact/Page/View/Relationship.php | 5 --- CRM/Contact/Page/View/Summary.php | 4 -- CRM/Contact/Page/View/Sunlight.php | 2 - CRM/Contact/Page/View/Tag.php | 2 - CRM/Contact/Page/View/UserDashBoard.php | 3 -- .../Page/View/UserDashBoard/GroupContact.php | 3 -- CRM/Contact/Page/View/Useradd.php | 1 - CRM/Contact/Selector.php | 13 ------ CRM/Contact/Selector/Controller.php | 1 - CRM/Contact/Selector/Custom.php | 9 ----- CRM/Contact/StateMachine/Search.php | 2 - CRM/Contact/Task.php | 3 -- CRM/Contribute/BAO/Contribution.php | 23 ----------- CRM/Contribute/BAO/Contribution/Utils.php | 4 -- CRM/Contribute/BAO/ContributionPage.php | 7 ---- CRM/Contribute/BAO/ContributionRecur.php | 7 ---- CRM/Contribute/BAO/ContributionSoft.php | 2 - CRM/Contribute/BAO/ManagePremiums.php | 2 - CRM/Contribute/BAO/Premium.php | 2 - CRM/Contribute/BAO/Query.php | 2 - CRM/Contribute/Form.php | 1 - CRM/Contribute/Form/AdditionalInfo.php | 7 ---- CRM/Contribute/Form/CancelSubscription.php | 4 -- CRM/Contribute/Form/Contribution.php | 4 -- CRM/Contribute/Form/Contribution/Confirm.php | 10 ----- CRM/Contribute/Form/Contribution/Main.php | 7 ---- .../Form/Contribution/OnBehalfOf.php | 1 - CRM/Contribute/Form/Contribution/ThankYou.php | 3 -- CRM/Contribute/Form/ContributionBase.php | 7 ---- CRM/Contribute/Form/ContributionCharts.php | 2 - CRM/Contribute/Form/ContributionPage.php | 10 ----- .../Form/ContributionPage/AddProduct.php | 5 --- .../Form/ContributionPage/Amount.php | 6 --- .../Form/ContributionPage/Custom.php | 5 --- .../Form/ContributionPage/Delete.php | 3 -- .../Form/ContributionPage/Premium.php | 5 --- .../Form/ContributionPage/Settings.php | 6 --- .../Form/ContributionPage/ThankYou.php | 5 --- .../Form/ContributionPage/Widget.php | 3 -- CRM/Contribute/Form/ContributionView.php | 2 - CRM/Contribute/Form/ManagePremiums.php | 6 --- CRM/Contribute/Form/Search.php | 7 ---- CRM/Contribute/Form/SearchContribution.php | 1 - CRM/Contribute/Form/SoftCredit.php | 3 -- CRM/Contribute/Form/Task.php | 2 - CRM/Contribute/Form/Task/Batch.php | 4 -- CRM/Contribute/Form/Task/Delete.php | 3 -- CRM/Contribute/Form/Task/Email.php | 3 -- CRM/Contribute/Form/Task/Invoice.php | 8 ---- CRM/Contribute/Form/Task/PDF.php | 5 --- CRM/Contribute/Form/Task/PDFLetter.php | 3 -- CRM/Contribute/Form/Task/PDFLetterCommon.php | 1 - CRM/Contribute/Form/Task/PickProfile.php | 5 --- CRM/Contribute/Form/Task/Print.php | 3 -- CRM/Contribute/Form/Task/Result.php | 2 - .../Form/Task/SearchTaskHookSample.php | 2 - CRM/Contribute/Form/Task/Status.php | 4 -- CRM/Contribute/Form/UpdateBilling.php | 4 -- CRM/Contribute/Form/UpdateSubscription.php | 3 -- CRM/Contribute/Import/Field.php | 1 - CRM/Contribute/Import/Form/DataSource.php | 4 -- CRM/Contribute/Import/Form/MapField.php | 4 -- CRM/Contribute/Import/Form/Preview.php | 2 - CRM/Contribute/Import/Form/Summary.php | 1 - CRM/Contribute/Import/Parser.php | 4 -- CRM/Contribute/Import/Parser/Contribution.php | 7 ---- CRM/Contribute/Info.php | 6 --- CRM/Contribute/Page/ContributionPage.php | 3 -- CRM/Contribute/Page/ContributionRecur.php | 2 - CRM/Contribute/Page/DashBoard.php | 2 - CRM/Contribute/Page/ManagePremiums.php | 2 - CRM/Contribute/Page/Premium.php | 2 - CRM/Contribute/Page/SubscriptionStatus.php | 1 - CRM/Contribute/Page/Tab.php | 5 --- CRM/Contribute/Page/UserDashboard.php | 2 - CRM/Contribute/PseudoConstant.php | 12 ------ CRM/Contribute/Selector/Search.php | 11 ----- CRM/Contribute/StateMachine/Search.php | 2 - CRM/Contribute/Task.php | 4 -- CRM/Core/Action.php | 9 ----- CRM/Core/BAO/ActionLog.php | 1 - CRM/Core/BAO/ActionSchedule.php | 5 --- CRM/Core/BAO/Address.php | 15 ------- CRM/Core/BAO/Block.php | 6 --- CRM/Core/BAO/CMSUser.php | 4 -- CRM/Core/BAO/Cache.php | 7 ---- CRM/Core/BAO/CustomField.php | 14 ------- CRM/Core/BAO/CustomGroup.php | 15 ------- CRM/Core/BAO/CustomOption.php | 3 -- CRM/Core/BAO/CustomQuery.php | 4 -- CRM/Core/BAO/CustomValue.php | 2 - CRM/Core/BAO/CustomValueTable.php | 2 - CRM/Core/BAO/Dashboard.php | 6 --- CRM/Core/BAO/Discount.php | 2 - CRM/Core/BAO/Domain.php | 5 --- CRM/Core/BAO/Email.php | 5 --- CRM/Core/BAO/EntityTag.php | 8 ---- CRM/Core/BAO/Extension.php | 2 - CRM/Core/BAO/File.php | 2 - CRM/Core/BAO/FinancialTrxn.php | 10 ----- CRM/Core/BAO/IM.php | 4 -- CRM/Core/BAO/Job.php | 4 -- CRM/Core/BAO/LabelFormat.php | 18 --------- CRM/Core/BAO/Location.php | 8 ---- CRM/Core/BAO/LocationType.php | 5 --- CRM/Core/BAO/Log.php | 2 - CRM/Core/BAO/MailSettings.php | 4 -- CRM/Core/BAO/Mapping.php | 7 ---- CRM/Core/BAO/MessageTemplate.php | 4 -- CRM/Core/BAO/Navigation.php | 2 - CRM/Core/BAO/Note.php | 11 ----- CRM/Core/BAO/OpenID.php | 4 -- CRM/Core/BAO/OptionGroup.php | 4 -- CRM/Core/BAO/OptionValue.php | 6 --- CRM/Core/BAO/PaperSize.php | 11 ----- CRM/Core/BAO/PdfFormat.php | 13 ------ CRM/Core/BAO/Persistent.php | 2 - CRM/Core/BAO/Phone.php | 4 -- CRM/Core/BAO/PreferencesDate.php | 3 -- CRM/Core/BAO/RecurringEntity.php | 14 ------- CRM/Core/BAO/SchemaHandler.php | 2 - CRM/Core/BAO/Setting.php | 5 --- CRM/Core/BAO/Tag.php | 5 --- CRM/Core/BAO/UFField.php | 15 ------- CRM/Core/BAO/UFGroup.php | 34 ---------------- CRM/Core/BAO/UFJoin.php | 3 -- CRM/Core/BAO/UFMatch.php | 10 ----- CRM/Core/BAO/Website.php | 4 -- CRM/Core/BAO/WordReplacement.php | 5 --- CRM/Core/Block.php | 9 ----- CRM/Core/Component.php | 1 - CRM/Core/Component/Config.php | 1 - CRM/Core/Component/Info.php | 20 ---------- CRM/Core/Config.php | 5 --- CRM/Core/Config/Defaults.php | 2 - CRM/Core/Controller.php | 19 --------- CRM/Core/Controller/Simple.php | 1 - CRM/Core/DAO.php | 24 ----------- CRM/Core/Error.php | 9 ----- CRM/Core/Form.php | 33 --------------- CRM/Core/Form/Date.php | 2 - CRM/Core/Form/RecurringEntity.php | 4 -- CRM/Core/Form/Renderer.php | 3 -- CRM/Core/Form/Search.php | 6 --- CRM/Core/Form/Tag.php | 2 - CRM/Core/Invoke.php | 2 - CRM/Core/JobManager.php | 6 --- CRM/Core/Joomla.php | 1 - CRM/Core/Key.php | 3 -- CRM/Core/Menu.php | 2 - CRM/Core/OptionGroup.php | 3 -- CRM/Core/OptionValue.php | 6 --- CRM/Core/Page.php | 18 --------- CRM/Core/Page/AJAX.php | 2 - CRM/Core/Page/Basic.php | 10 ----- CRM/Core/Payment/Form.php | 1 - CRM/Core/Payment/Google.php | 2 - CRM/Core/Payment/GoogleIPN.php | 1 - CRM/Core/Payment/PaymentExpress.php | 1 - CRM/Core/Permission.php | 4 -- CRM/Core/Permission/Base.php | 6 --- CRM/Core/Permission/Drupal.php | 2 - CRM/Core/Permission/Drupal6.php | 2 - CRM/Core/Permission/DrupalBase.php | 3 -- CRM/Core/Permission/Joomla.php | 2 - CRM/Core/Permission/Soap.php | 1 - CRM/Core/Permission/UnitTests.php | 2 - CRM/Core/Permission/WordPress.php | 1 - CRM/Core/PseudoConstant.php | 25 ------------ CRM/Core/QuickForm/Action.php | 1 - CRM/Core/QuickForm/Action/Back.php | 2 - CRM/Core/QuickForm/Action/Cancel.php | 1 - CRM/Core/QuickForm/Action/Display.php | 4 -- CRM/Core/QuickForm/Action/Done.php | 1 - CRM/Core/QuickForm/Action/Jump.php | 1 - CRM/Core/QuickForm/Action/Next.php | 1 - CRM/Core/QuickForm/Action/Process.php | 1 - CRM/Core/QuickForm/Action/Refresh.php | 1 - CRM/Core/QuickForm/Action/Reload.php | 1 - CRM/Core/QuickForm/Action/Submit.php | 1 - CRM/Core/QuickForm/Action/Upload.php | 2 - CRM/Core/QuickForm/GroupMultiSelect.php | 1 - CRM/Core/QuickForm/NestedAdvMultiSelect.php | 1 - CRM/Core/Report/Excel.php | 1 - CRM/Core/Resources.php | 1 - CRM/Core/Selector/API.php | 6 --- CRM/Core/Selector/Base.php | 5 --- CRM/Core/Selector/Controller.php | 10 ----- CRM/Core/Session.php | 10 ----- CRM/Core/ShowHideBlocks.php | 7 ---- CRM/Core/Smarty.php | 1 - CRM/Core/Smarty/plugins/function.docURL.php | 1 - CRM/Core/Smarty/plugins/function.help.php | 1 - .../Smarty/plugins/modifier.crmAddClass.php | 1 - .../Smarty/plugins/modifier.crmBtnType.php | 1 - .../plugins/modifier.crmBtnValidate.php | 1 - CRM/Core/Smarty/plugins/modifier.crmDate.php | 1 - .../Smarty/plugins/modifier.crmDelete.php | 1 - .../Smarty/plugins/modifier.crmFirstWord.php | 1 - .../Smarty/plugins/modifier.crmICalDate.php | 1 - .../Smarty/plugins/modifier.crmICalText.php | 1 - .../Smarty/plugins/modifier.crmInsert.php | 1 - CRM/Core/Smarty/plugins/modifier.crmMoney.php | 1 - .../plugins/modifier.crmNumberFormat.php | 1 - .../Smarty/plugins/modifier.crmReplace.php | 1 - CRM/Core/Smarty/plugins/modifier.json.php | 1 - CRM/Core/State.php | 9 ----- CRM/Core/StateMachine.php | 13 ------ CRM/Custom/Form/ChangeFieldType.php | 3 -- CRM/Custom/Form/DeleteField.php | 2 - CRM/Custom/Form/DeleteGroup.php | 2 - CRM/Custom/Form/Field.php | 8 ---- CRM/Custom/Form/Group.php | 10 ----- CRM/Custom/Form/MoveField.php | 2 - CRM/Custom/Form/Option.php | 8 ---- CRM/Custom/Form/Preview.php | 3 -- CRM/Custom/Import/Form/DataSource.php | 4 -- CRM/Custom/Import/Form/MapField.php | 4 -- CRM/Custom/Import/Form/Preview.php | 2 - CRM/Custom/Import/Form/Summary.php | 1 - CRM/Custom/Import/Parser.php | 4 -- CRM/Custom/Import/Parser/Api.php | 6 --- CRM/Custom/Page/Field.php | 7 ---- CRM/Custom/Page/Group.php | 5 --- CRM/Custom/Page/Option.php | 7 ---- CRM/Dashlet/Page/Activity.php | 1 - CRM/Dashlet/Page/AllCases.php | 1 - CRM/Dashlet/Page/Blog.php | 3 -- CRM/Dashlet/Page/CaseDashboard.php | 1 - CRM/Dashlet/Page/MyCases.php | 1 - CRM/Dedupe/BAO/Rule.php | 1 - CRM/Dedupe/Merger.php | 5 --- CRM/Event/BAO/Event.php | 18 --------- CRM/Event/BAO/Participant.php | 24 ----------- CRM/Event/BAO/ParticipantPayment.php | 1 - CRM/Event/BAO/Query.php | 2 - CRM/Event/Badge.php | 2 - CRM/Event/Form/EventFees.php | 4 -- CRM/Event/Form/ManageEvent.php | 5 --- CRM/Event/Form/ManageEvent/Conference.php | 3 -- CRM/Event/Form/ManageEvent/Delete.php | 3 -- CRM/Event/Form/ManageEvent/EventInfo.php | 6 --- CRM/Event/Form/ManageEvent/Fee.php | 7 ---- CRM/Event/Form/ManageEvent/Location.php | 7 ---- CRM/Event/Form/ManageEvent/Registration.php | 7 ---- CRM/Event/Form/ManageEvent/Repeat.php | 2 - .../Form/ManageEvent/ScheduleReminders.php | 1 - CRM/Event/Form/Participant.php | 6 --- CRM/Event/Form/ParticipantView.php | 2 - CRM/Event/Form/Registration.php | 8 ---- .../Registration/AdditionalParticipant.php | 6 --- CRM/Event/Form/Registration/Confirm.php | 7 ---- .../Form/Registration/ParticipantConfirm.php | 3 -- CRM/Event/Form/Registration/Register.php | 7 ---- CRM/Event/Form/Registration/ThankYou.php | 5 --- CRM/Event/Form/Search.php | 10 ----- CRM/Event/Form/SearchEvent.php | 1 - CRM/Event/Form/Task.php | 2 - CRM/Event/Form/Task/AddToGroup.php | 6 --- CRM/Event/Form/Task/Badge.php | 3 -- CRM/Event/Form/Task/Batch.php | 4 -- CRM/Event/Form/Task/Cancel.php | 3 -- CRM/Event/Form/Task/Delete.php | 3 -- CRM/Event/Form/Task/Email.php | 3 -- CRM/Event/Form/Task/PickProfile.php | 5 --- CRM/Event/Form/Task/Print.php | 3 -- CRM/Event/Form/Task/Result.php | 1 - CRM/Event/Form/Task/SaveSearch.php | 3 -- CRM/Event/Form/Task/SaveSearch/Update.php | 2 - CRM/Event/Form/Task/SearchTaskHookSample.php | 2 - CRM/Event/Import/Field.php | 1 - CRM/Event/Import/Form/DataSource.php | 4 -- CRM/Event/Import/Form/MapField.php | 4 -- CRM/Event/Import/Form/Preview.php | 2 - CRM/Event/Import/Form/Summary.php | 1 - CRM/Event/Import/Parser.php | 5 --- CRM/Event/Import/Parser/Participant.php | 7 ---- CRM/Event/Page/DashBoard.php | 2 - CRM/Event/Page/EventInfo.php | 1 - CRM/Event/Page/ManageEvent.php | 2 - CRM/Event/Page/Tab.php | 5 --- CRM/Event/Page/UserDashboard.php | 2 - CRM/Event/PseudoConstant.php | 7 ---- CRM/Event/Selector/Search.php | 12 ------ CRM/Event/StateMachine/Search.php | 2 - CRM/Event/Task.php | 5 --- CRM/Export/BAO/Export.php | 1 - CRM/Export/Form/Map.php | 7 ---- CRM/Export/Form/Select.php | 5 --- CRM/Extension/Browser.php | 1 - CRM/Extension/Mapper.php | 10 ----- CRM/Financial/BAO/FinancialAccount.php | 2 - CRM/Financial/BAO/FinancialItem.php | 6 --- CRM/Financial/BAO/FinancialType.php | 2 - CRM/Financial/BAO/FinancialTypeAccount.php | 2 - CRM/Financial/BAO/PaymentProcessor.php | 7 ---- CRM/Financial/BAO/PaymentProcessorType.php | 5 --- CRM/Financial/Form/BatchTransaction.php | 1 - CRM/Financial/Form/Export.php | 4 -- CRM/Financial/Form/FinancialAccount.php | 5 --- CRM/Financial/Form/FinancialBatch.php | 7 ---- CRM/Financial/Form/FinancialType.php | 2 - CRM/Financial/Form/FinancialTypeAccount.php | 6 --- CRM/Financial/Page/Batch.php | 1 - CRM/Financial/Page/BatchTransaction.php | 2 - CRM/Financial/Page/FinancialAccount.php | 2 - CRM/Financial/Page/FinancialBatch.php | 1 - CRM/Financial/Page/FinancialType.php | 2 - CRM/Financial/Page/FinancialTypeAccount.php | 3 -- CRM/Friend/BAO/Friend.php | 6 --- CRM/Friend/Form.php | 4 -- CRM/Friend/Form/Contribute.php | 4 -- CRM/Friend/Form/Event.php | 4 -- CRM/Grant/BAO/Grant.php | 7 ---- CRM/Grant/BAO/Query.php | 4 -- CRM/Grant/Form/Grant.php | 3 -- CRM/Grant/Form/GrantView.php | 2 - CRM/Grant/Form/Search.php | 8 ---- CRM/Grant/Form/Task.php | 2 - CRM/Grant/Form/Task/Delete.php | 3 -- CRM/Grant/Form/Task/Print.php | 3 -- CRM/Grant/Form/Task/Result.php | 2 - CRM/Grant/Form/Task/SearchTaskHookSample.php | 2 - CRM/Grant/Form/Task/Update.php | 3 -- CRM/Grant/Page/DashBoard.php | 2 - CRM/Grant/Page/Tab.php | 5 --- CRM/Grant/Selector/Search.php | 10 ----- CRM/Grant/StateMachine/Search.php | 2 - CRM/Grant/Task.php | 4 -- CRM/Group/Form/Edit.php | 5 --- CRM/Group/Page/Group.php | 8 ---- CRM/Group/StateMachine.php | 1 - CRM/Import/DataSource.php | 4 -- CRM/Import/DataSource/CSV.php | 4 -- CRM/Import/DataSource/SQL.php | 4 -- CRM/Import/Form/MapField.php | 9 ----- CRM/Import/Form/Preview.php | 2 - CRM/Import/Form/Summary.php | 2 - CRM/Import/Parser.php | 3 -- CRM/Mailing/BAO/BouncePattern.php | 2 - CRM/Mailing/BAO/Component.php | 2 - CRM/Mailing/BAO/Mailing.php | 24 ----------- CRM/Mailing/BAO/MailingAB.php | 3 -- CRM/Mailing/BAO/MailingJob.php | 4 -- CRM/Mailing/BAO/Query.php | 2 - CRM/Mailing/BAO/Spool.php | 1 - CRM/Mailing/Event/BAO/Bounce.php | 2 - CRM/Mailing/Event/BAO/Confirm.php | 1 - CRM/Mailing/Event/BAO/Delivered.php | 3 -- CRM/Mailing/Event/BAO/Forward.php | 2 - CRM/Mailing/Event/BAO/Opened.php | 5 --- CRM/Mailing/Event/BAO/Queue.php | 7 ---- CRM/Mailing/Event/BAO/Reply.php | 5 --- CRM/Mailing/Event/BAO/Resubscribe.php | 2 - CRM/Mailing/Event/BAO/Subscribe.php | 6 --- CRM/Mailing/Event/BAO/TrackableURLOpen.php | 5 --- CRM/Mailing/Event/BAO/Unsubscribe.php | 5 --- CRM/Mailing/Form/Approve.php | 5 --- CRM/Mailing/Form/Browse.php | 4 -- CRM/Mailing/Form/Component.php | 4 -- CRM/Mailing/Form/ForwardMailing.php | 2 - CRM/Mailing/Form/Group.php | 5 --- CRM/Mailing/Form/Schedule.php | 5 --- CRM/Mailing/Form/Settings.php | 4 -- CRM/Mailing/Form/Subscribe.php | 2 - CRM/Mailing/Form/Task.php | 2 - CRM/Mailing/Form/Task/Print.php | 3 -- CRM/Mailing/Form/Test.php | 4 -- CRM/Mailing/Form/Upload.php | 4 -- CRM/Mailing/Page/Browse.php | 5 --- CRM/Mailing/Page/Event.php | 1 - CRM/Mailing/Page/Tab.php | 3 -- CRM/Mailing/PseudoConstant.php | 5 --- CRM/Mailing/Selector/Browse.php | 4 -- CRM/Mailing/Selector/Event.php | 4 -- CRM/Mailing/Selector/Search.php | 11 ----- CRM/Mailing/Task.php | 4 -- CRM/Member/BAO/Membership.php | 26 ------------ CRM/Member/BAO/MembershipBlock.php | 1 - CRM/Member/BAO/MembershipLog.php | 1 - CRM/Member/BAO/MembershipPayment.php | 1 - CRM/Member/BAO/MembershipStatus.php | 3 -- CRM/Member/BAO/MembershipType.php | 3 -- CRM/Member/BAO/Query.php | 1 - CRM/Member/Form.php | 2 - CRM/Member/Form/Membership.php | 4 -- CRM/Member/Form/MembershipBlock.php | 5 --- CRM/Member/Form/MembershipConfig.php | 2 - CRM/Member/Form/MembershipRenewal.php | 4 -- CRM/Member/Form/MembershipStatus.php | 3 -- CRM/Member/Form/MembershipType.php | 4 -- CRM/Member/Form/MembershipView.php | 2 - CRM/Member/Form/Search.php | 7 ---- CRM/Member/Form/Task.php | 2 - CRM/Member/Form/Task/Batch.php | 4 -- CRM/Member/Form/Task/Delete.php | 3 -- CRM/Member/Form/Task/Email.php | 3 -- CRM/Member/Form/Task/Label.php | 4 -- CRM/Member/Form/Task/PDFLetter.php | 3 -- CRM/Member/Form/Task/PDFLetterCommon.php | 1 - CRM/Member/Form/Task/PickProfile.php | 5 --- CRM/Member/Form/Task/Print.php | 3 -- CRM/Member/Form/Task/Result.php | 2 - CRM/Member/Form/Task/SearchTaskHookSample.php | 2 - CRM/Member/Import/Field.php | 1 - CRM/Member/Import/Form/DataSource.php | 4 -- CRM/Member/Import/Form/MapField.php | 4 -- CRM/Member/Import/Form/Preview.php | 2 - CRM/Member/Import/Form/Summary.php | 1 - CRM/Member/Import/Parser.php | 5 --- CRM/Member/Import/Parser/Membership.php | 9 ----- CRM/Member/Info.php | 6 --- CRM/Member/Page/DashBoard.php | 2 - CRM/Member/Page/MembershipStatus.php | 2 - CRM/Member/Page/MembershipType.php | 2 - CRM/Member/Page/Tab.php | 6 --- CRM/Member/Page/UserDashboard.php | 2 - CRM/Member/PseudoConstant.php | 3 -- CRM/Member/Selector/Search.php | 10 ----- CRM/Member/StateMachine/Search.php | 2 - CRM/Member/Task.php | 4 -- CRM/Note/Form/Note.php | 3 -- CRM/PCP/BAO/PCP.php | 18 --------- CRM/PCP/Form/Campaign.php | 3 -- CRM/PCP/Form/Contribute.php | 5 --- CRM/PCP/Form/Event.php | 5 --- CRM/PCP/Form/PCP.php | 5 --- CRM/PCP/Form/PCPAccount.php | 4 -- CRM/PCP/Page/PCP.php | 2 - CRM/PCP/Page/PCPInfo.php | 1 - CRM/Pledge/BAO/Pledge.php | 9 ----- CRM/Pledge/BAO/PledgeBlock.php | 4 -- CRM/Pledge/BAO/PledgePayment.php | 3 -- CRM/Pledge/BAO/Query.php | 2 - CRM/Pledge/Form/Payment.php | 4 -- CRM/Pledge/Form/Pledge.php | 5 --- CRM/Pledge/Form/PledgeView.php | 2 - CRM/Pledge/Form/Search.php | 10 ----- CRM/Pledge/Form/Task.php | 2 - CRM/Pledge/Form/Task/Delete.php | 3 -- CRM/Pledge/Form/Task/Print.php | 3 -- CRM/Pledge/Form/Task/Result.php | 2 - CRM/Pledge/Form/Task/SearchTaskHookSample.php | 2 - CRM/Pledge/Info.php | 6 --- CRM/Pledge/Page/DashBoard.php | 2 - CRM/Pledge/Page/Payment.php | 2 - CRM/Pledge/Page/Tab.php | 4 -- CRM/Pledge/Page/UserDashboard.php | 2 - CRM/Pledge/Selector/Search.php | 10 ----- CRM/Pledge/StateMachine/Search.php | 2 - CRM/Pledge/Task.php | 5 --- CRM/Price/BAO/LineItem.php | 7 ---- CRM/Price/BAO/PriceField.php | 9 ----- CRM/Price/BAO/PriceFieldValue.php | 9 ----- CRM/Price/BAO/PriceSet.php | 15 ------- CRM/Price/Form/DeleteField.php | 2 - CRM/Price/Form/DeleteSet.php | 2 - CRM/Price/Form/Field.php | 9 ----- CRM/Price/Form/Option.php | 7 ---- CRM/Price/Form/Preview.php | 3 -- CRM/Price/Form/Set.php | 6 --- CRM/Price/Page/Field.php | 8 ---- CRM/Price/Page/Option.php | 8 ---- CRM/Price/Page/Set.php | 6 --- CRM/Profile/Form.php | 7 ---- CRM/Profile/Form/Dynamic.php | 4 -- CRM/Profile/Form/Edit.php | 4 -- CRM/Profile/Form/Search.php | 4 -- CRM/Profile/Page/Dynamic.php | 8 ---- CRM/Profile/Page/Listings.php | 7 ---- .../Page/MultipleRecordFieldsListing.php | 2 - CRM/Profile/Page/Router.php | 1 - CRM/Profile/Page/View.php | 4 -- CRM/Profile/Selector/Listings.php | 10 ----- CRM/Report/BAO/ReportInstance.php | 2 - CRM/Report/Form.php | 1 - CRM/Report/Form/Register.php | 1 - CRM/Report/Info.php | 7 ---- CRM/Report/Page/InstanceList.php | 1 - CRM/Report/Page/Options.php | 3 -- CRM/Report/Utils/Report.php | 1 - CRM/SMS/BAO/Provider.php | 2 - CRM/SMS/Form/Group.php | 5 --- CRM/SMS/Form/Provider.php | 2 - CRM/SMS/Form/Schedule.php | 5 --- CRM/SMS/Form/Upload.php | 4 -- CRM/SMS/Page/Provider.php | 2 - CRM/SMS/Provider.php | 2 - CRM/Tag/Form/Tag.php | 2 - CRM/UF/Form/AbstractPreview.php | 3 -- CRM/UF/Form/AdvanceSetting.php | 1 - CRM/UF/Form/Field.php | 14 ------- CRM/UF/Form/Group.php | 7 ---- CRM/UF/Form/Inline/Preview.php | 1 - CRM/UF/Form/Inline/PreviewById.php | 1 - CRM/UF/Form/Preview.php | 2 - CRM/UF/Page/Field.php | 6 --- CRM/UF/Page/Group.php | 6 --- CRM/Upgrade/Form.php | 2 - CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php | 8 ---- .../Snapshot/V4p2/Price/BAO/FieldValue.php | 8 ---- .../Snapshot/V4p2/Price/BAO/LineItem.php | 4 -- CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php | 14 ------- CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php | 7 ---- .../Snapshot/V4p2/Price/DAO/FieldValue.php | 7 ---- .../Snapshot/V4p2/Price/DAO/LineItem.php | 7 ---- CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php | 7 ---- .../Snapshot/V4p2/Price/DAO/SetEntity.php | 7 ---- CRM/Utils/Array.php | 10 ----- CRM/Utils/Date.php | 3 -- CRM/Utils/DeprecatedUtils.php | 7 ---- CRM/Utils/File.php | 6 --- CRM/Utils/Hook.php | 18 --------- CRM/Utils/ICalendar.php | 1 - CRM/Utils/Mail.php | 2 - CRM/Utils/PDF/Label.php | 1 - CRM/Utils/Pager.php | 4 -- CRM/Utils/PagerAToZ.php | 4 -- CRM/Utils/PseudoConstant.php | 2 - CRM/Utils/REST.php | 1 - CRM/Utils/Recent.php | 5 --- CRM/Utils/Request.php | 2 - CRM/Utils/Rule.php | 7 ---- CRM/Utils/SoapServer.php | 3 -- CRM/Utils/Sort.php | 5 --- CRM/Utils/String.php | 15 ------- CRM/Utils/System.php | 27 ------------- CRM/Utils/System/Base.php | 2 - CRM/Utils/System/Drupal.php | 13 ------ CRM/Utils/System/Drupal6.php | 14 ------- CRM/Utils/System/Drupal8.php | 12 ------ CRM/Utils/System/DrupalBase.php | 2 - CRM/Utils/System/Joomla.php | 15 ------- CRM/Utils/System/Soap.php | 9 ----- CRM/Utils/System/UnitTests.php | 7 ---- CRM/Utils/System/WordPress.php | 13 ------ CRM/Utils/Token.php | 22 ---------- CRM/Utils/Tree.php | 8 ---- CRM/Utils/Type.php | 2 - CRM/Utils/Verp.php | 2 - CRM/Utils/VersionCheck.php | 1 - CRM/Utils/Wrapper.php | 2 - .../Activity/BAO/ActivityAssignmentTest.php | 2 - .../CRM/Activity/BAO/ActivityTargetTest.php | 2 - .../CRM/Contact/BAO/GroupContactCacheTest.php | 2 - .../CRM/Contact/BAO/GroupContactTest.php | 2 - tests/phpunit/CRM/Contact/BAO/GroupTest.php | 2 - .../CRM/Core/BAO/ActionScheduleTest.php | 3 -- tests/phpunit/CRM/Core/BAO/LocationTest.php | 1 - .../CRM/Core/BAO/RecurringEntityTest.php | 2 - .../CRM/Event/BAO/ParticipantStatusTest.php | 2 - tests/phpunit/CRM/PCP/BAO/PCPTest.php | 2 - .../CRM/Pledge/BAO/PledgeBlockTest.php | 2 - .../CRM/Pledge/BAO/PledgePaymentTest.php | 2 - tests/phpunit/CRM/Pledge/BAO/PledgeTest.php | 2 - tests/phpunit/CiviTest/CiviCaseTestCase.php | 1 - tests/phpunit/api/v3/APIWrapperTest.php | 2 - tests/phpunit/api/v3/ActivityTest.php | 1 - tests/phpunit/api/v3/BatchTest.php | 1 - tests/phpunit/api/v3/DomainTest.php | 1 - tests/phpunit/api/v3/GroupNestingTest.php | 2 - .../phpunit/api/v3/GroupOrganizationTest.php | 1 - tests/phpunit/api/v3/SystemTest.php | 1 - tests/phpunit/api/v3/UtilsTest.php | 1 - 853 files changed, 3643 deletions(-) diff --git a/CRM/ACL/API.php b/CRM/ACL/API.php index b5b091a026..99bfaeabf9 100644 --- a/CRM/ACL/API.php +++ b/CRM/ACL/API.php @@ -54,7 +54,6 @@ class CRM_ACL_API { * * @return boolean true if yes, else false * @static - * @access public */ public static function check($str, $contactID = NULL) { if ($contactID == NULL) { @@ -82,7 +81,6 @@ class CRM_ACL_API { * this means it is handled by generating query * * @return string the group where clause for this user - * @access public */ public static function whereClause($type, &$tables, @@ -145,7 +143,6 @@ class CRM_ACL_API { * @param null $includedGroups * * @return array the ids of the groups for which the user has permissions - * @access public */ public static function group( $type, @@ -180,7 +177,6 @@ class CRM_ACL_API { * @param bool $flush * * @return array the ids of the groups for which the user has permissions - * @access public */ public static function groupPermission( $type, diff --git a/CRM/ACL/BAO/ACL.php b/CRM/ACL/BAO/ACL.php index 8474a10c80..fb43ff01e3 100644 --- a/CRM/ACL/BAO/ACL.php +++ b/CRM/ACL/BAO/ACL.php @@ -100,7 +100,6 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL { * @param boolean $acl_role - For grant operations, this flag determines if we're granting a single acl (false) or an entire group. * * @return string - The WHERE clause, or 0 on failure - * @access public * @static */ public static function permissionClause(&$tables, $operation, @@ -333,7 +332,6 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL { * * @return string|null - WHERE-style clause to filter results, * or null if $table or $id is null - * @access public * @static */ public static function getClause($table, $id, &$tables) { @@ -363,7 +361,6 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL { * @param bool $hideEmpty only return elements that have a value set. * * @return array - Assoc. array of the ACL rule's properties - * @access public */ public function toArray($format = '%s', $hideEmpty = false) { $result = array(); @@ -390,7 +387,6 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL { * @param boolean $aclRoles - Should we include ACL Roles * * @return array - Array of assoc. arrays of ACL rules - * @access public * @static */ public static function &getACLs($contact_id = NULL, $group_id = NULL, $aclRoles = FALSE) { @@ -455,7 +451,6 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL { * @param int $group_id - ID of a group to search for * * @return array - Array of assoc. arrays of ACL rules - * @access public * @static */ public static function &getACLRoles($contact_id = NULL, $group_id = NULL) { @@ -520,7 +515,6 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL { * @param boolean $aclRoles - Include ACL Roles? * * @return array - Assoc array of ACL rules - * @access public * @static */ public static function &getGroupACLs($contact_id, $aclRoles = FALSE) { @@ -565,7 +559,6 @@ SELECT $acl.* * @param int $contact_id - ID of a contact to search for * * @return array - Array of assoc. arrays of ACL rules - * @access public * @static */ public static function &getGroupACLRoles($contact_id) { @@ -638,7 +631,6 @@ SELECT $acl.* * @param int $contact_id - The contact ID * * @return array - Assoc array of ACL rules - * @access public * @static */ public static function &getAllByContact($contact_id) { @@ -967,7 +959,6 @@ ORDER BY a.object_id * * @param int $aclId ID of the ACL record to be deleted. * - * @access public * @static */ public static function del($aclId) { diff --git a/CRM/ACL/BAO/EntityRole.php b/CRM/ACL/BAO/EntityRole.php index 71891c301d..f727bc2176 100644 --- a/CRM/ACL/BAO/EntityRole.php +++ b/CRM/ACL/BAO/EntityRole.php @@ -90,7 +90,6 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole { * * @param int $entityRoleId ID of the EntityRole record to be deleted. * - * @access public * @static */ public static function del($entityRoleId) { diff --git a/CRM/ACL/Form/ACL.php b/CRM/ACL/Form/ACL.php index a58a736ab6..8cf433993a 100644 --- a/CRM/ACL/Form/ACL.php +++ b/CRM/ACL/Form/ACL.php @@ -45,7 +45,6 @@ class CRM_ACL_Form_ACL extends CRM_Admin_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -116,7 +115,6 @@ class CRM_ACL_Form_ACL extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -270,7 +268,6 @@ class CRM_ACL_Form_ACL extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/ACL/Form/ACLBasic.php b/CRM/ACL/Form/ACLBasic.php index 50e9e050d5..a16487e8f4 100644 --- a/CRM/ACL/Form/ACLBasic.php +++ b/CRM/ACL/Form/ACLBasic.php @@ -45,7 +45,6 @@ class CRM_ACL_Form_ACLBasic extends CRM_Admin_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -78,7 +77,6 @@ SELECT object_table * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -127,7 +125,6 @@ SELECT object_table /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/ACL/Form/EntityRole.php b/CRM/ACL/Form/EntityRole.php index 41796a796d..9145e066fd 100644 --- a/CRM/ACL/Form/EntityRole.php +++ b/CRM/ACL/Form/EntityRole.php @@ -46,7 +46,6 @@ class CRM_ACL_Form_EntityRole extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -74,7 +73,6 @@ class CRM_ACL_Form_EntityRole extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/ACL/Form/WordPress/Permissions.php b/CRM/ACL/Form/WordPress/Permissions.php index 58938363b8..0c962ed907 100644 --- a/CRM/ACL/Form/WordPress/Permissions.php +++ b/CRM/ACL/Form/WordPress/Permissions.php @@ -42,7 +42,6 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form { /** * Build the form object * - * @access public * @return void */ public function buildQuickForm( ) { @@ -101,7 +100,6 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form { /** * Process the form submission * - * @access public * @return void */ public function postProcess() { @@ -172,7 +170,6 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form { * This function should be shared from a similar one in * distmaker/utils/joomlaxml.php * - * @access public * @return array civicrm permissions */ public static function getPermissionArray(){ diff --git a/CRM/ACL/Page/ACL.php b/CRM/ACL/Page/ACL.php index 9e6a5748d4..e67e2ab0c0 100644 --- a/CRM/ACL/Page/ACL.php +++ b/CRM/ACL/Page/ACL.php @@ -104,7 +104,6 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -154,7 +153,6 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic { * Browse all acls * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/ACL/Page/ACLBasic.php b/CRM/ACL/Page/ACLBasic.php index 8b2e61a84a..73945097d7 100644 --- a/CRM/ACL/Page/ACLBasic.php +++ b/CRM/ACL/Page/ACLBasic.php @@ -92,7 +92,6 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -130,7 +129,6 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic { * Browse all acls * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/ACL/Page/EntityRole.php b/CRM/ACL/Page/EntityRole.php index 872ea67fdd..814c7ca073 100644 --- a/CRM/ACL/Page/EntityRole.php +++ b/CRM/ACL/Page/EntityRole.php @@ -104,7 +104,6 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -151,7 +150,6 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic { * Browse all acls * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index f42e82cc70..5ec2f4b0d0 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -61,7 +61,6 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public */ public static function dataExists(&$params) { if (!empty($params['source_contact_id']) || !empty($params['id'])) { @@ -77,7 +76,6 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Activity_DAO_Activity object - * @access public */ public static function retrieve(&$params, &$defaults) { $activity = new CRM_Activity_DAO_Activity(); @@ -146,7 +144,6 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { * @param bool $moveToTrash * * @return void - * @access public */ public static function deleteActivity(&$params, $moveToTrash = FALSE) { // CRM-9137 @@ -253,7 +250,6 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { * @param int $recordTypeID * * @return null - * @access public */ public static function deleteActivityContact($activityId, $recordTypeID = NULL) { $activityContact = new CRM_Activity_BAO_ActivityContact(); @@ -270,7 +266,6 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { * @param array $params associated array of the submitted values * * @throws CRM_Core_Exception - * @access public * * @return $this|null|object */ @@ -658,7 +653,6 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { * * @return array (reference) $values the relevant data object values of open activities * - * @access public * @static */ public static function &getActivities($input) { @@ -947,7 +941,6 @@ ORDER BY fixed_sort_order * * @return int count of activities * - * @access public * @static */ public static function &getActivitiesCount($input) { @@ -984,7 +977,6 @@ LEFT JOIN civicrm_case_activity ON ( civicrm_case_activity.activity_id = tbl.a * * @return int count of activities * - * @access public * @static */ public static function getActivitySQLClause($input) { @@ -1168,7 +1160,6 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND * @param string $additionalDetails the additional information of CC and BCC appended to the activity Details * * @return array ( sent, activityId) if any email is sent and activityId - * @access public * @static */ static function sendEmail( @@ -1494,7 +1485,6 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND * @param int $userID * * @return mixed true on success or PEAR_Error object - * @access public * @static */ static function sendSMSMessage($toID, @@ -1572,7 +1562,6 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND * @param null $bcc * * @return boolean true if successfull else false. - * @access public * @static */ static function sendMessage($from, @@ -1644,7 +1633,6 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND * @param bool $status * * @return array array of importable Fields - * @access public * @static */ public static function &importableFields($status = FALSE) { @@ -1698,7 +1686,6 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND * @param int $contactId Id of the contact whose activities need to find * * @return array array of activity fields - * @access public */ public static function getContactActivity($contactId) { $activities = array(); @@ -1774,7 +1761,6 @@ WHERE activity.id IN ($activityIds)"; * * @return bool * @static - * @access public */ static function addActivity(&$activity, $activityType = 'Membership Signup', @@ -1889,7 +1875,6 @@ SELECT display_name * @param int $activityId current activity id * * @return int $parentId Id of parent activity otherwise false. - * @access public */ public static function getParentActivity($activityId) { static $parentActivities = array(); @@ -1916,7 +1901,6 @@ SELECT display_name * @param $activityID current activity id * * @return int $params count of prior activities otherwise false. - * @access public */ public static function getPriorCount($activityID) { static $priorCounts = array(); @@ -1954,7 +1938,6 @@ AND id < {$activityID} * @param bool $onlyPriorRevisions * * @return array $result prior activities info. - * @access public */ public static function getPriorAcitivities($activityID, $onlyPriorRevisions = FALSE) { static $priorActivities = array(); @@ -2003,7 +1986,6 @@ AND cl.modified_id = c.id * @param int $activityID prior activity id * * @return int current activity id. - * @access public */ public static function getLatestActivityId($activityID) { static $latestActivityIds = array(); @@ -2037,7 +2019,6 @@ AND cl.modified_id = c.id * * @return $this|null|object * - * @access public */ public static function createFollowupActivity($activityId, $params) { if (!$activityId) { @@ -2109,7 +2090,6 @@ AND cl.modified_id = c.id * @param array $params associated array * * @return void - * @access public * */ public static function restoreActivity(&$params) { @@ -2128,7 +2108,6 @@ AND cl.modified_id = c.id * @param string $name if it is called by case $name = Case else $name = Activity * * @return array array of exportable Fields - * @access public * @static */ public static function &exportableFields($name = 'Activity') { @@ -2183,7 +2162,6 @@ AND cl.modified_id = c.id * Get the allowed profile fields for Activities * * @return array array of activity profile Fields - * @access public */ public static function getProfileFields() { $exportableFields = self::exportableFields('Activity'); @@ -2222,7 +2200,6 @@ AND cl.modified_id = c.id * @param int $contactId contactId * * @return true/null - * @access public */ public static function cleanupActivity($contactId) { $result = NULL; @@ -2270,7 +2247,6 @@ AND cl.modified_id = c.id * @param int $action edit/view * * @return boolean $allow true/false - * @access public */ public static function checkPermission($activityId, $action) { $allow = FALSE; @@ -2418,7 +2394,6 @@ INNER JOIN civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n * @param array $params associated array for params record id. * * @return array $contactActivities associated array of contact activities - * @access public */ public static function getContactActivitySelector(&$params) { // format the params diff --git a/CRM/Activity/BAO/ActivityAssignment.php b/CRM/Activity/BAO/ActivityAssignment.php index b5d2f05a2d..4df02ccd94 100644 --- a/CRM/Activity/BAO/ActivityAssignment.php +++ b/CRM/Activity/BAO/ActivityAssignment.php @@ -52,7 +52,6 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta * @param array $params (reference ) an assoc array of name/value pairs * * @return object activity type of object that is added - * @access public */ public static function create(&$params) { $assignment = new CRM_Activity_BAO_ActivityContact(); @@ -72,7 +71,6 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta * * @return array * - * @access public */ public static function retrieveAssigneeIdsByActivityId($activity_id) { $assigneeArray = array(); @@ -108,7 +106,6 @@ AND civicrm_contact.is_deleted = 0 * * @return array * - * @access public * */ public static function getAssigneeNames($activityIDs, $isDisplayName = FALSE, $skipDetails = TRUE) { diff --git a/CRM/Activity/BAO/ActivityContact.php b/CRM/Activity/BAO/ActivityContact.php index abbc05f6a6..99d5ff5424 100644 --- a/CRM/Activity/BAO/ActivityContact.php +++ b/CRM/Activity/BAO/ActivityContact.php @@ -52,7 +52,6 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact * @param array $params the values for this table: activity id, contact id, record type * * @return object activity_contact object - * @access public * */ public static function create(&$params) { @@ -74,7 +73,6 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact * * @return array * - * @access public */ public static function getNames($activityID, $recordTypeID, $alsoIDs = FALSE) { $names = array(); @@ -114,7 +112,6 @@ AND contact_a.is_deleted = 0 * * @return mixed * - * @access public */ public static function retrieveContactIdsByActivityId($activityID, $recordTypeID) { $activityContact = array(); @@ -155,7 +152,6 @@ AND civicrm_contact.is_deleted = 0 * array = if there are links defined for this table. * empty array - if there is a links.ini file, but no links on this table * null - if no links.ini exists for this database (hence try auto_links). - * @access public * @see DB_DataObject::getLinks(), DB_DataObject::getLink() */ /** diff --git a/CRM/Activity/BAO/ActivityTarget.php b/CRM/Activity/BAO/ActivityTarget.php index 20328ec5fd..e55fef61d5 100644 --- a/CRM/Activity/BAO/ActivityTarget.php +++ b/CRM/Activity/BAO/ActivityTarget.php @@ -52,7 +52,6 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact { * @param array $params * * @return object activity type of object that is added - * @access public */ public static function create(&$params) { $target = new CRM_Activity_BAO_ActivityContact(); @@ -71,7 +70,6 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact { * * @return mixed * - * @access public */ public static function retrieveTargetIdsByActivityId($activity_id) { $targetArray = array(); @@ -104,7 +102,6 @@ AND civicrm_contact.is_deleted = 0 * * @return array * - * @access public */ public static function getTargetNames($activityID) { $targetNames = array(); diff --git a/CRM/Activity/BAO/ICalendar.php b/CRM/Activity/BAO/ICalendar.php index 20251ddff1..f3695f4af3 100644 --- a/CRM/Activity/BAO/ICalendar.php +++ b/CRM/Activity/BAO/ICalendar.php @@ -63,7 +63,6 @@ class CRM_Activity_BAO_ICalendar { * @param array $contacts Array of contacts (attendees) * * @return string Array index of the added attachment in the $attachments array, or else null. - * @access public */ public function addAttachment( &$attachments, $contacts ) { // Check preferences setting diff --git a/CRM/Activity/BAO/Query.php b/CRM/Activity/BAO/Query.php index e9fcfc6885..990ea5bb01 100644 --- a/CRM/Activity/BAO/Query.php +++ b/CRM/Activity/BAO/Query.php @@ -41,7 +41,6 @@ class CRM_Activity_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { if (!empty($query->_returnProperties['activity_id'])) { @@ -167,7 +166,6 @@ class CRM_Activity_BAO_Query { * @param $query * * @return void - * @access public */ public static function where(&$query) { $grouping = NULL; @@ -188,7 +186,6 @@ class CRM_Activity_BAO_Query { * @param $values * @param $query * @return void - * @access public */ public static function whereClauseSingle(&$values, &$query) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -455,7 +452,6 @@ class CRM_Activity_BAO_Query { * Getter for the qill object * * @return string - * @access public */ public function qill() { return (isset($this->_qill)) ? $this->_qill : ""; @@ -464,7 +460,6 @@ class CRM_Activity_BAO_Query { /** * Add all the elements shared between case activity search and advanced search * - * @access public * * @param CRM_Core_Form $form * @return void diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index 3d0f8827ee..0bcfe7f7e2 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -210,7 +210,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { * Build the form object * * @return void - * @access public */ public function preProcess() { $this->_cdType = CRM_Utils_Array::value('type', $_GET); @@ -510,7 +509,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -821,7 +819,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { * @param $self * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -863,7 +860,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { /** * Process the form submission * - * @access public * * @param array $params * @return array|null @@ -1002,7 +998,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { * @param array $params associated array of submitted values * * @return $this|null|object - * @access protected */ protected function processActivity(&$params) { $activityAssigned = array(); @@ -1141,7 +1136,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { /** * Shorthand for getting id by display name (makes code more readable) * - * @access protected */ protected function _getIdByDisplayName($displayName) { return CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', @@ -1154,7 +1148,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { /** * Shorthand for getting display name by id (makes code more readable) * - * @access protected */ protected function _getDisplayNameById($id) { return CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', diff --git a/CRM/Activity/Form/ActivityView.php b/CRM/Activity/Form/ActivityView.php index 80b9ff19c8..cf7fb4a2f9 100644 --- a/CRM/Activity/Form/ActivityView.php +++ b/CRM/Activity/Form/ActivityView.php @@ -43,7 +43,6 @@ class CRM_Activity_Form_ActivityView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //get the activity values @@ -116,7 +115,6 @@ class CRM_Activity_Form_ActivityView extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Activity/Form/Search.php b/CRM/Activity/Form/Search.php index 3fe8d61d39..39c0aad67b 100644 --- a/CRM/Activity/Form/Search.php +++ b/CRM/Activity/Form/Search.php @@ -45,14 +45,12 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -60,7 +58,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -77,7 +74,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { * The saved search ID retrieved from the GET vars * * @var int - * @access protected */ protected $_ssID; @@ -85,7 +81,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Search'); @@ -166,7 +161,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -204,7 +198,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -403,7 +396,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Activities'); diff --git a/CRM/Activity/Form/Task.php b/CRM/Activity/Form/Task.php index 5b20c4b496..42882f8b53 100644 --- a/CRM/Activity/Form/Task.php +++ b/CRM/Activity/Form/Task.php @@ -80,7 +80,6 @@ class CRM_Activity_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -181,7 +180,6 @@ WHERE activity_id IN ( $IDs ) AND * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Activity/Form/Task/AddToTag.php b/CRM/Activity/Form/Task/AddToTag.php index 5c15b25d30..3e1ad78da9 100644 --- a/CRM/Activity/Form/Task/AddToTag.php +++ b/CRM/Activity/Form/Task/AddToTag.php @@ -57,7 +57,6 @@ class CRM_Activity_Form_Task_AddToTag extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -97,7 +96,6 @@ class CRM_Activity_Form_Task_AddToTag extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/Batch.php b/CRM/Activity/Form/Task/Batch.php index c7e425d5c6..995ec7fff4 100755 --- a/CRM/Activity/Form/Task/Batch.php +++ b/CRM/Activity/Form/Task/Batch.php @@ -61,7 +61,6 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -100,7 +99,6 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -205,7 +203,6 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task { /** * Set default values for the form. * - * @access public * * @return void */ @@ -226,7 +223,6 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/Delete.php b/CRM/Activity/Form/Task/Delete.php index dcddc86c59..411f8d514b 100755 --- a/CRM/Activity/Form/Task/Delete.php +++ b/CRM/Activity/Form/Task/Delete.php @@ -52,7 +52,6 @@ class CRM_Activity_Form_Task_Delete extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -61,7 +60,6 @@ class CRM_Activity_Form_Task_Delete extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -72,7 +70,6 @@ class CRM_Activity_Form_Task_Delete extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/Email.php b/CRM/Activity/Form/Task/Email.php index 5c3746d6c7..8b5fb8de69 100644 --- a/CRM/Activity/Form/Task/Email.php +++ b/CRM/Activity/Form/Task/Email.php @@ -60,7 +60,6 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); parent::preProcess(); @@ -74,7 +73,6 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -88,7 +86,6 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/FileOnCase.php b/CRM/Activity/Form/Task/FileOnCase.php index 3c075d1fe6..babe87ca3a 100644 --- a/CRM/Activity/Form/Task/FileOnCase.php +++ b/CRM/Activity/Form/Task/FileOnCase.php @@ -61,7 +61,6 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -74,7 +73,6 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -86,7 +84,6 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -95,7 +92,6 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/PickOption.php b/CRM/Activity/Form/Task/PickOption.php index 80e6d9084e..13de288389 100644 --- a/CRM/Activity/Form/Task/PickOption.php +++ b/CRM/Activity/Form/Task/PickOption.php @@ -67,7 +67,6 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -95,7 +94,6 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -110,7 +108,6 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -125,7 +122,6 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { if ( !isset($fields['with_contact']) && @@ -140,7 +136,6 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/PickProfile.php b/CRM/Activity/Form/Task/PickProfile.php index b5194b3f7b..331735dc72 100755 --- a/CRM/Activity/Form/Task/PickProfile.php +++ b/CRM/Activity/Form/Task/PickProfile.php @@ -61,7 +61,6 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -90,7 +89,6 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -138,7 +136,6 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -153,7 +150,6 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { return TRUE; @@ -162,7 +158,6 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/Print.php b/CRM/Activity/Form/Task/Print.php index f80745fa5c..1ca951e86b 100644 --- a/CRM/Activity/Form/Task/Print.php +++ b/CRM/Activity/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Activity_Form_Task_Print extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -71,7 +70,6 @@ class CRM_Activity_Form_Task_Print extends CRM_Activity_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Activity_Form_Task_Print extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/RemoveFromTag.php b/CRM/Activity/Form/Task/RemoveFromTag.php index bc0a5b69db..8fb97c6746 100644 --- a/CRM/Activity/Form/Task/RemoveFromTag.php +++ b/CRM/Activity/Form/Task/RemoveFromTag.php @@ -55,7 +55,6 @@ class CRM_Activity_Form_Task_RemoveFromTag extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -93,7 +92,6 @@ class CRM_Activity_Form_Task_RemoveFromTag extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/SMS.php b/CRM/Activity/Form/Task/SMS.php index d29d80fc1b..d9288261b4 100644 --- a/CRM/Activity/Form/Task/SMS.php +++ b/CRM/Activity/Form/Task/SMS.php @@ -50,7 +50,6 @@ class CRM_Activity_Form_Task_SMS extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -61,7 +60,6 @@ class CRM_Activity_Form_Task_SMS extends CRM_Activity_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -74,7 +72,6 @@ class CRM_Activity_Form_Task_SMS extends CRM_Activity_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Activity/Form/Task/SearchTaskHookSample.php b/CRM/Activity/Form/Task/SearchTaskHookSample.php index aaa88ca5d3..727a52b0e2 100644 --- a/CRM/Activity/Form/Task/SearchTaskHookSample.php +++ b/CRM/Activity/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Activity_Form_Task_SearchTaskHookSample extends CRM_Activity_Form_Task * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -83,7 +82,6 @@ INNER JOIN civicrm_contact ct ON ( ac.contact_id = ct.id ) * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Activity/Import/Field.php b/CRM/Activity/Import/Field.php index 064fbd472d..7eda9a8ee4 100644 --- a/CRM/Activity/Import/Field.php +++ b/CRM/Activity/Import/Field.php @@ -35,7 +35,6 @@ class CRM_Activity_Import_Field { /**#@+ - * @access protected * @var string */ diff --git a/CRM/Activity/Import/Form/DataSource.php b/CRM/Activity/Import/Form/DataSource.php index 346c73fb27..215144fcb2 100644 --- a/CRM/Activity/Import/Form/DataSource.php +++ b/CRM/Activity/Import/Form/DataSource.php @@ -42,7 +42,6 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -55,7 +54,6 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //Setting Upload File Size @@ -127,7 +125,6 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $this->controller->resetPage('MapField'); @@ -166,7 +163,6 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Upload Data'); diff --git a/CRM/Activity/Import/Form/MapField.php b/CRM/Activity/Import/Form/MapField.php index b9f95b61de..1594ede39d 100644 --- a/CRM/Activity/Import/Form/MapField.php +++ b/CRM/Activity/Import/Form/MapField.php @@ -45,7 +45,6 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mapperFields = $this->get('fields'); @@ -81,7 +80,6 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //to save the current mappings @@ -273,7 +271,6 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -373,7 +370,6 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues('MapField'); diff --git a/CRM/Activity/Import/Form/Preview.php b/CRM/Activity/Import/Form/Preview.php index 9222843faa..379620cf9f 100644 --- a/CRM/Activity/Import/Form/Preview.php +++ b/CRM/Activity/Import/Form/Preview.php @@ -43,7 +43,6 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader'); @@ -108,7 +107,6 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $fileName = $this->controller->exportValue('DataSource', 'uploadFile'); diff --git a/CRM/Activity/Import/Form/Summary.php b/CRM/Activity/Import/Form/Summary.php index 027fc16c5f..bdce589234 100644 --- a/CRM/Activity/Import/Form/Summary.php +++ b/CRM/Activity/Import/Form/Summary.php @@ -42,7 +42,6 @@ class CRM_Activity_Import_Form_Summary extends CRM_Import_Form_Summary { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { diff --git a/CRM/Activity/Import/Parser.php b/CRM/Activity/Import/Parser.php index ff04c4bdac..ba9f7982c7 100644 --- a/CRM/Activity/Import/Parser.php +++ b/CRM/Activity/Import/Parser.php @@ -39,7 +39,6 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser { protected $_fileName; /**#@+ - * @access protected * @var integer */ @@ -281,7 +280,6 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser { * @param array mapped array of values * * @return void - * @access public */ public function setActiveFields($fieldKeys) { $this->_activeFieldCount = count($fieldKeys); @@ -299,7 +297,6 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser { * Format the field values for input to the api * * @return array (reference ) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -346,7 +343,6 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser { * @param int $mode * * @return void - * @access public */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('fileSize', $this->_fileSize); @@ -391,7 +387,6 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser { * @param array $data * * @return void - * @access public */ public static function exportCSV($fileName, $header, $data) { $output = array(); diff --git a/CRM/Activity/Import/Parser/Activity.php b/CRM/Activity/Import/Parser/Activity.php index 2cae106a66..6f62aee876 100644 --- a/CRM/Activity/Import/Parser/Activity.php +++ b/CRM/Activity/Import/Parser/Activity.php @@ -66,7 +66,6 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function init() { $activityContact = CRM_Activity_BAO_ActivityContact::import(); @@ -133,7 +132,6 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean - * @access public */ public function mapField(&$values) { return CRM_Import_Parser::VALID; @@ -145,7 +143,6 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function preview(&$values) { return $this->summary($values); @@ -157,7 +154,6 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function summary(&$values) { $erroneousField = NULL; @@ -240,7 +236,6 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function import($onDuplicate, &$values) { // first make sure this is a valid line @@ -396,7 +391,6 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function fini() {} diff --git a/CRM/Activity/Page/Tab.php b/CRM/Activity/Page/Tab.php index 23ee5a4d23..504a05cb19 100644 --- a/CRM/Activity/Page/Tab.php +++ b/CRM/Activity/Page/Tab.php @@ -44,7 +44,6 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page { * * @return void * - * @access public */ public function browse() { $this->assign('admin', FALSE); @@ -123,7 +122,6 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -166,7 +164,6 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page { * * @return void * - * @access public */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this); diff --git a/CRM/Activity/Page/UserDashboard.php b/CRM/Activity/Page/UserDashboard.php index a1442022cb..77a1a6a5ff 100644 --- a/CRM/Activity/Page/UserDashboard.php +++ b/CRM/Activity/Page/UserDashboard.php @@ -42,7 +42,6 @@ class CRM_Activity_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoar * List participations for the UF user * * return null - * @access public */ public function listActivities() { @@ -70,7 +69,6 @@ class CRM_Activity_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoar * loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { parent::preProcess(); diff --git a/CRM/Activity/Selector/Activity.php b/CRM/Activity/Selector/Activity.php index 769b566218..0e6ff75723 100644 --- a/CRM/Activity/Selector/Activity.php +++ b/CRM/Activity/Selector/Activity.php @@ -51,7 +51,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * ContactId - contact id of contact whose activies are displayed * * @var int - * @access protected */ protected $_contactId; @@ -107,7 +106,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * @param null $compContext * * @return array - * @access public */ public static function actionLinks($activityTypeId, $sourceRecordId = NULL, @@ -277,7 +275,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Activities %%StatusMessage%%'); @@ -296,7 +293,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if ($output == CRM_Core_Selector_Controller::EXPORT || $output == CRM_Core_Selector_Controller::SCREEN) { @@ -321,7 +317,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * @param null $case * * @return int Total number of rows - * @access public */ public function getTotalCount($action, $case = NULL) { $params = array( @@ -479,7 +474,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * * * @return array $_columnHeaders - * @access private */ private static function &_getColumnHeaders() { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Activity/Selector/Search.php b/CRM/Activity/Selector/Search.php index b548bf0162..20dea8c37b 100644 --- a/CRM/Activity/Selector/Search.php +++ b/CRM/Activity/Selector/Search.php @@ -84,7 +84,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -92,7 +91,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -100,7 +98,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -108,7 +105,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * What component context are we being invoked from * - * @access protected * @var string */ protected $_compContext = NULL; @@ -118,7 +114,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -126,7 +121,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -196,7 +190,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Activities %%StatusMessage%%'); @@ -212,7 +205,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -359,7 +351,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * @return array $qill which contains an array of strings - * @access public */ public function getQILL() { return $this->_query->qill(); @@ -373,7 +364,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Activity/StateMachine/Search.php b/CRM/Activity/StateMachine/Search.php index 75a46de35a..2faed64043 100644 --- a/CRM/Activity/StateMachine/Search.php +++ b/CRM/Activity/StateMachine/Search.php @@ -74,7 +74,6 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -90,7 +89,6 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Activity/Task.php b/CRM/Activity/Task.php index 8575dc289a..f0444f61b0 100644 --- a/CRM/Activity/Task.php +++ b/CRM/Activity/Task.php @@ -68,7 +68,6 @@ class CRM_Activity_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -152,7 +151,6 @@ class CRM_Activity_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -170,7 +168,6 @@ class CRM_Activity_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = array(); @@ -198,7 +195,6 @@ class CRM_Activity_Task { * * @return array the set of tasks for a group of activity * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Admin/Form.php b/CRM/Admin/Form.php index 4871920507..fde9e8a176 100644 --- a/CRM/Admin/Form.php +++ b/CRM/Admin/Form.php @@ -78,7 +78,6 @@ class CRM_Admin_Form extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array */ @@ -109,7 +108,6 @@ class CRM_Admin_Form extends CRM_Core_Form { * Add standard buttons * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::VIEW || $this->_action & CRM_Core_Action::PREVIEW) { diff --git a/CRM/Admin/Form/CMSUser.php b/CRM/Admin/Form/CMSUser.php index a4e0c836e1..7c3ebef3c4 100644 --- a/CRM/Admin/Form/CMSUser.php +++ b/CRM/Admin/Form/CMSUser.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_CMSUser extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -64,7 +63,6 @@ class CRM_Admin_Form_CMSUser extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/ContactType.php b/CRM/Admin/Form/ContactType.php index 7941da49d8..e981ed5fb3 100644 --- a/CRM/Admin/Form/ContactType.php +++ b/CRM/Admin/Form/ContactType.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_ContactType extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -91,7 +90,6 @@ class CRM_Admin_Form_ContactType extends CRM_Admin_Form { * @param $self * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -120,7 +118,6 @@ class CRM_Admin_Form_ContactType extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Extensions.php b/CRM/Admin/Form/Extensions.php index 74053ccf2c..58d92e6f82 100644 --- a/CRM/Admin/Form/Extensions.php +++ b/CRM/Admin/Form/Extensions.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form { * For pre-processing * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -88,7 +87,6 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -101,7 +99,6 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -159,7 +156,6 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form { * @param array $self this object. * * @return true if no errors, else an array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -171,7 +167,6 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Job.php b/CRM/Admin/Form/Job.php index 1d5b8a6600..3069192442 100644 --- a/CRM/Admin/Form/Job.php +++ b/CRM/Admin/Form/Job.php @@ -67,7 +67,6 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form { * @param bool $check * * @return void - * @access public */ public function buildQuickForm($check = FALSE) { parent::buildQuickForm(); @@ -170,7 +169,6 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/LabelFormats.php b/CRM/Admin/Form/LabelFormats.php index d6f535591f..98918ad186 100644 --- a/CRM/Admin/Form/LabelFormats.php +++ b/CRM/Admin/Form/LabelFormats.php @@ -64,7 +64,6 @@ class CRM_Admin_Form_LabelFormats extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -182,7 +181,6 @@ class CRM_Admin_Form_LabelFormats extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/LocationType.php b/CRM/Admin/Form/LocationType.php index f7bf1da982..654015b005 100644 --- a/CRM/Admin/Form/LocationType.php +++ b/CRM/Admin/Form/LocationType.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_LocationType extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -85,7 +84,6 @@ class CRM_Admin_Form_LocationType extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/MailSettings.php b/CRM/Admin/Form/MailSettings.php index d35174fe48..bd68f7bb72 100644 --- a/CRM/Admin/Form/MailSettings.php +++ b/CRM/Admin/Form/MailSettings.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -94,7 +93,6 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -109,7 +107,6 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -124,7 +121,6 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Mapping.php b/CRM/Admin/Form/Mapping.php index 1bcce7d0a3..8532fdaee5 100644 --- a/CRM/Admin/Form/Mapping.php +++ b/CRM/Admin/Form/Mapping.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -91,7 +90,6 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/MessageTemplates.php b/CRM/Admin/Form/MessageTemplates.php index 5c7e00b0d1..fb0029a1a6 100644 --- a/CRM/Admin/Form/MessageTemplates.php +++ b/CRM/Admin/Form/MessageTemplates.php @@ -58,7 +58,6 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Admin_Form { * Set default values for the form. * The default values are retrieved from the database. * - * @access public * * @return void */ @@ -113,7 +112,6 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -200,7 +198,6 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Navigation.php b/CRM/Admin/Form/Navigation.php index 6ec4ad8a7e..220febde66 100644 --- a/CRM/Admin/Form/Navigation.php +++ b/CRM/Admin/Form/Navigation.php @@ -53,7 +53,6 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -145,7 +144,6 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/OptionGroup.php b/CRM/Admin/Form/OptionGroup.php index 9d0a22d2ae..6aaa367fd6 100644 --- a/CRM/Admin/Form/OptionGroup.php +++ b/CRM/Admin/Form/OptionGroup.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -101,7 +100,6 @@ class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Options.php b/CRM/Admin/Form/Options.php index 0a97ea4464..e05d59a118 100644 --- a/CRM/Admin/Form/Options.php +++ b/CRM/Admin/Form/Options.php @@ -59,7 +59,6 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { * Pre-process * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -118,7 +117,6 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -146,7 +144,6 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -328,7 +325,6 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { * @param array $self current form object. * * @return array array of errors / empty array. - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -370,7 +366,6 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/PaymentProcessor.php b/CRM/Admin/Form/PaymentProcessor.php index 6b7e087779..d4e4e91b15 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -167,7 +167,6 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { * @param bool $check * * @return void - * @access public */ public function buildQuickForm($check = FALSE) { parent::buildQuickForm(); @@ -337,7 +336,6 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return Void */ diff --git a/CRM/Admin/Form/PaymentProcessorType.php b/CRM/Admin/Form/PaymentProcessorType.php index e965483e91..50df98a164 100644 --- a/CRM/Admin/Form/PaymentProcessorType.php +++ b/CRM/Admin/Form/PaymentProcessorType.php @@ -151,7 +151,6 @@ class CRM_Admin_Form_PaymentProcessorType extends CRM_Admin_Form { * @param bool $check * * @return void - * @access public */ public function buildQuickForm($check = FALSE) { parent::buildQuickForm(); @@ -208,7 +207,6 @@ class CRM_Admin_Form_PaymentProcessorType extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/PdfFormats.php b/CRM/Admin/Form/PdfFormats.php index b95877e89c..eebecdb67b 100644 --- a/CRM/Admin/Form/PdfFormats.php +++ b/CRM/Admin/Form/PdfFormats.php @@ -49,7 +49,6 @@ class CRM_Admin_Form_PdfFormats extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -108,7 +107,6 @@ class CRM_Admin_Form_PdfFormats extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Preferences.php b/CRM/Admin/Form/Preferences.php index 06c5b53875..1ca464b507 100644 --- a/CRM/Admin/Form/Preferences.php +++ b/CRM/Admin/Form/Preferences.php @@ -142,7 +142,6 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -238,7 +237,6 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ @@ -256,7 +254,6 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Preferences/Address.php b/CRM/Admin/Form/Preferences/Address.php index 596ae74666..ea43f10a7a 100644 --- a/CRM/Admin/Form/Preferences/Address.php +++ b/CRM/Admin/Form/Preferences/Address.php @@ -139,7 +139,6 @@ class CRM_Admin_Form_Preferences_Address extends CRM_Admin_Form_Preferences { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->applyFilter('__ALL__', 'trim'); @@ -183,7 +182,6 @@ class CRM_Admin_Form_Preferences_Address extends CRM_Admin_Form_Preferences { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Preferences/Contribute.php b/CRM/Admin/Form/Preferences/Contribute.php index b839c23552..2db90660f5 100644 --- a/CRM/Admin/Form/Preferences/Contribute.php +++ b/CRM/Admin/Form/Preferences/Contribute.php @@ -8,7 +8,6 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences { /** * Process the form submission * - * @access public * * @return void */ @@ -88,7 +87,6 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->add('checkbox', 'invoicing', ts('Enable Tax and Invoicing')); @@ -99,7 +97,6 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences { * Set default values for the form. * default values are retrieved from the database * - * @access public * * @return void */ @@ -111,7 +108,6 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Preferences/Display.php b/CRM/Admin/Form/Preferences/Display.php index bf7bde5066..89333bc3a2 100644 --- a/CRM/Admin/Form/Preferences/Display.php +++ b/CRM/Admin/Form/Preferences/Display.php @@ -145,7 +145,6 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $wysiwyg_options = array('' => ts('Textarea')) + CRM_Core_OptionGroup::values('wysiwyg_editor'); @@ -208,7 +207,6 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Preferences/Member.php b/CRM/Admin/Form/Preferences/Member.php index 6b7a3c5f01..810ff37217 100644 --- a/CRM/Admin/Form/Preferences/Member.php +++ b/CRM/Admin/Form/Preferences/Member.php @@ -59,7 +59,6 @@ class CRM_Admin_Form_Preferences_Member extends CRM_Admin_Form_Preferences { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); diff --git a/CRM/Admin/Form/PreferencesDate.php b/CRM/Admin/Form/PreferencesDate.php index f7d22e3afe..8ef7666846 100644 --- a/CRM/Admin/Form/PreferencesDate.php +++ b/CRM/Admin/Form/PreferencesDate.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -96,7 +95,6 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form { * @return array if errors then list of errors to be posted back to the form, * true otherwise * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -111,7 +109,6 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/RelationshipType.php b/CRM/Admin/Form/RelationshipType.php index b1dd175e8f..04897eba3e 100644 --- a/CRM/Admin/Form/RelationshipType.php +++ b/CRM/Admin/Form/RelationshipType.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -130,7 +129,6 @@ class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/ScheduleReminders.php b/CRM/Admin/Form/ScheduleReminders.php index 350c7e7e44..c7632114c6 100644 --- a/CRM/Admin/Form/ScheduleReminders.php +++ b/CRM/Admin/Form/ScheduleReminders.php @@ -51,7 +51,6 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -267,7 +266,6 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form { * @param array $fields the input form values * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -375,7 +373,6 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Setting.php b/CRM/Admin/Form/Setting.php index 539f53ad84..5c252fa7a0 100644 --- a/CRM/Admin/Form/Setting.php +++ b/CRM/Admin/Form/Setting.php @@ -46,7 +46,6 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { * Set default values for the form. * default values are retrieved from the database * - * @access public * * @return void */ @@ -117,7 +116,6 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $session = CRM_Core_Session::singleton(); @@ -171,7 +169,6 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Setting/Component.php b/CRM/Admin/Form/Setting/Component.php index 861d9297ea..99ce170e6a 100644 --- a/CRM/Admin/Form/Setting/Component.php +++ b/CRM/Admin/Form/Setting/Component.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Enable Components')); @@ -73,7 +72,6 @@ class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting { * @param array $options additional user data * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $options) { diff --git a/CRM/Admin/Form/Setting/Date.php b/CRM/Admin/Form/Setting/Date.php index b9081ccf1e..85455b1cef 100644 --- a/CRM/Admin/Form/Setting/Date.php +++ b/CRM/Admin/Form/Setting/Date.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_Setting_Date extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Date')); diff --git a/CRM/Admin/Form/Setting/Debugging.php b/CRM/Admin/Form/Setting/Debugging.php index 6d83812103..483bb23087 100644 --- a/CRM/Admin/Form/Setting/Debugging.php +++ b/CRM/Admin/Form/Setting/Debugging.php @@ -49,7 +49,6 @@ class CRM_Admin_Form_Setting_Debugging extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts(' Settings - Debugging and Error Handling ')); diff --git a/CRM/Admin/Form/Setting/Localization.php b/CRM/Admin/Form/Setting/Localization.php index 869e0bf9a5..6d035d1d19 100644 --- a/CRM/Admin/Form/Setting/Localization.php +++ b/CRM/Admin/Form/Setting/Localization.php @@ -46,7 +46,6 @@ class CRM_Admin_Form_Setting_Localization extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Admin/Form/Setting/Mail.php b/CRM/Admin/Form/Setting/Mail.php index 37823ac2f6..28e1294564 100644 --- a/CRM/Admin/Form/Setting/Mail.php +++ b/CRM/Admin/Form/Setting/Mail.php @@ -42,7 +42,6 @@ class CRM_Admin_Form_Setting_Mail extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - CiviMail')); diff --git a/CRM/Admin/Form/Setting/Mapping.php b/CRM/Admin/Form/Setting/Mapping.php index 67106e535d..db17c5b1ec 100644 --- a/CRM/Admin/Form/Setting/Mapping.php +++ b/CRM/Admin/Form/Setting/Mapping.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Mapping and Geocoding Providers')); @@ -64,7 +63,6 @@ class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting { * @param array $fields the input form values * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields) { @@ -92,7 +90,6 @@ class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting { * @param null * * @return void - * @access public */ public function addRules() { $this->addFormRule(array('CRM_Admin_Form_Setting_Mapping', 'formRule')); diff --git a/CRM/Admin/Form/Setting/Miscellaneous.php b/CRM/Admin/Form/Setting/Miscellaneous.php index 65e94c3f8e..d8da5896d9 100644 --- a/CRM/Admin/Form/Setting/Miscellaneous.php +++ b/CRM/Admin/Form/Setting/Miscellaneous.php @@ -70,7 +70,6 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)')); @@ -126,7 +125,6 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { * @param array $options additional user data * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $options) { diff --git a/CRM/Admin/Form/Setting/Path.php b/CRM/Admin/Form/Setting/Path.php index 44c892b913..9bdb5065b6 100644 --- a/CRM/Admin/Form/Setting/Path.php +++ b/CRM/Admin/Form/Setting/Path.php @@ -43,7 +43,6 @@ class CRM_Admin_Form_Setting_Path extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Upload Directories')); diff --git a/CRM/Admin/Form/Setting/Search.php b/CRM/Admin/Form/Setting/Search.php index e4b284fe25..17118c5e16 100644 --- a/CRM/Admin/Form/Setting/Search.php +++ b/CRM/Admin/Form/Setting/Search.php @@ -48,7 +48,6 @@ class CRM_Admin_Form_Setting_Search extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Search Preferences')); diff --git a/CRM/Admin/Form/Setting/Smtp.php b/CRM/Admin/Form/Setting/Smtp.php index 5ae6789cc1..ced998d220 100644 --- a/CRM/Admin/Form/Setting/Smtp.php +++ b/CRM/Admin/Form/Setting/Smtp.php @@ -44,7 +44,6 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -77,7 +76,6 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting { /** * Process the form submission * - * @access public * * @return void */ @@ -207,7 +205,6 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { if ($fields['outBound_option'] == CRM_Mailing_Config::OUTBOUND_OPTION_SMTP) { @@ -242,7 +239,6 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting { * Set default values for the form. * default values are retrieved from the database * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/Setting/UF.php b/CRM/Admin/Form/Setting/UF.php index 2b9607620d..8ff1d6fc9b 100644 --- a/CRM/Admin/Form/Setting/UF.php +++ b/CRM/Admin/Form/Setting/UF.php @@ -47,7 +47,6 @@ class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Admin/Form/Setting/UpdateConfigBackend.php b/CRM/Admin/Form/Setting/UpdateConfigBackend.php index cca9dded3a..bc8f7d499d 100644 --- a/CRM/Admin/Form/Setting/UpdateConfigBackend.php +++ b/CRM/Admin/Form/Setting/UpdateConfigBackend.php @@ -46,7 +46,6 @@ class CRM_Admin_Form_Setting_UpdateConfigBackend extends CRM_Admin_Form_Setting * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Cleanup Caches and Update Paths')); diff --git a/CRM/Admin/Form/Setting/Url.php b/CRM/Admin/Form/Setting/Url.php index da1f039664..0bef001d39 100644 --- a/CRM/Admin/Form/Setting/Url.php +++ b/CRM/Admin/Form/Setting/Url.php @@ -46,7 +46,6 @@ class CRM_Admin_Form_Setting_Url extends CRM_Admin_Form_Setting { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - Resource URLs')); diff --git a/CRM/Admin/Form/Tag.php b/CRM/Admin/Form/Tag.php index 8438fe7522..2428b3f9f3 100644 --- a/CRM/Admin/Form/Tag.php +++ b/CRM/Admin/Form/Tag.php @@ -44,7 +44,6 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->setPageTitle($this->_isTagSet ? ts('Tag Set') : ts('Tag')); @@ -129,7 +128,6 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Form/WordReplacements.php b/CRM/Admin/Form/WordReplacements.php index 054fb3f2ee..e92d86df4c 100644 --- a/CRM/Admin/Form/WordReplacements.php +++ b/CRM/Admin/Form/WordReplacements.php @@ -114,7 +114,6 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $config = CRM_Core_Config::singleton(); @@ -181,7 +180,6 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values) { $errors = array(); @@ -212,7 +210,6 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Admin/Page/CMSUser.php b/CRM/Admin/Page/CMSUser.php index 8448e2c33f..1af029dbec 100644 --- a/CRM/Admin/Page/CMSUser.php +++ b/CRM/Admin/Page/CMSUser.php @@ -46,7 +46,6 @@ class CRM_Admin_Page_CMSUser extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Admin/Page/EventTemplate.php b/CRM/Admin/Page/EventTemplate.php index 084d02ad7f..d308149041 100644 --- a/CRM/Admin/Page/EventTemplate.php +++ b/CRM/Admin/Page/EventTemplate.php @@ -86,7 +86,6 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic { * Browse all event templates. * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Admin/Page/Extensions.php b/CRM/Admin/Page/Extensions.php index 00513fe605..e7145dc50d 100644 --- a/CRM/Admin/Page/Extensions.php +++ b/CRM/Admin/Page/Extensions.php @@ -51,7 +51,6 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic { * Obtains the group name from url and sets the title. * * @return void - * @access public * */ public function preProcess() { @@ -131,7 +130,6 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { @@ -273,7 +271,6 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic { * @param int $mode mode that we are in * * @return string - * @access public */ public function userContextParams($mode = NULL) { return 'reset=1&action=browse'; diff --git a/CRM/Admin/Page/Job.php b/CRM/Admin/Page/Job.php index 12ff3e5eb5..4dccfc4968 100644 --- a/CRM/Admin/Page/Job.php +++ b/CRM/Admin/Page/Job.php @@ -110,7 +110,6 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -145,7 +144,6 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Admin/Page/JobLog.php b/CRM/Admin/Page/JobLog.php index dfe7e1e592..3a5caac74e 100644 --- a/CRM/Admin/Page/JobLog.php +++ b/CRM/Admin/Page/JobLog.php @@ -72,7 +72,6 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -93,7 +92,6 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Admin/Page/LabelFormats.php b/CRM/Admin/Page/LabelFormats.php index aef5e87d73..c62840fbea 100644 --- a/CRM/Admin/Page/LabelFormats.php +++ b/CRM/Admin/Page/LabelFormats.php @@ -126,7 +126,6 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Admin/Page/MailSettings.php b/CRM/Admin/Page/MailSettings.php index bdc52e51bc..020fd6669d 100644 --- a/CRM/Admin/Page/MailSettings.php +++ b/CRM/Admin/Page/MailSettings.php @@ -88,7 +88,6 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic { * Browse all mail settings. * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Admin/Page/MessageTemplates.php b/CRM/Admin/Page/MessageTemplates.php index 5e3a0c8c79..60ab2b5c81 100644 --- a/CRM/Admin/Page/MessageTemplates.php +++ b/CRM/Admin/Page/MessageTemplates.php @@ -239,7 +239,6 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic { * Browse all entities. * * @return void - * @access public */ public function browse() { $action = func_num_args() ? func_get_arg(0) : NULL; diff --git a/CRM/Admin/Page/Options.php b/CRM/Admin/Page/Options.php index b98428e295..e70bbf29fd 100644 --- a/CRM/Admin/Page/Options.php +++ b/CRM/Admin/Page/Options.php @@ -85,7 +85,6 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic { * Sets the title. * * @return void - * @access public * */ public function preProcess() { @@ -233,7 +232,6 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Admin/Page/PaymentProcessor.php b/CRM/Admin/Page/PaymentProcessor.php index 53099e1074..52e0c0e4f7 100644 --- a/CRM/Admin/Page/PaymentProcessor.php +++ b/CRM/Admin/Page/PaymentProcessor.php @@ -98,7 +98,6 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -122,7 +121,6 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Admin/Page/PdfFormats.php b/CRM/Admin/Page/PdfFormats.php index 29ca18abec..b302c0ea59 100644 --- a/CRM/Admin/Page/PdfFormats.php +++ b/CRM/Admin/Page/PdfFormats.php @@ -120,7 +120,6 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Admin/Page/Persistent.php b/CRM/Admin/Page/Persistent.php index 8e47390f5b..12bcb649a3 100644 --- a/CRM/Admin/Page/Persistent.php +++ b/CRM/Admin/Page/Persistent.php @@ -102,7 +102,6 @@ class CRM_Admin_Page_Persistent extends CRM_Core_Page { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Admin/Page/PreferencesDate.php b/CRM/Admin/Page/PreferencesDate.php index 29e0fba2f7..678c5b2e9b 100644 --- a/CRM/Admin/Page/PreferencesDate.php +++ b/CRM/Admin/Page/PreferencesDate.php @@ -82,7 +82,6 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Admin/Page/ScheduleReminders.php b/CRM/Admin/Page/ScheduleReminders.php index 7e83d45bac..12b55e38d8 100644 --- a/CRM/Admin/Page/ScheduleReminders.php +++ b/CRM/Admin/Page/ScheduleReminders.php @@ -130,7 +130,6 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Badge/BAO/Badge.php b/CRM/Badge/BAO/Badge.php index 8e4a45c306..700eff6700 100644 --- a/CRM/Badge/BAO/Badge.php +++ b/CRM/Badge/BAO/Badge.php @@ -49,7 +49,6 @@ class CRM_Badge_BAO_Badge { * @param array $layoutInfo associated array which contains meta data about format/layout * * @return void - * @access public */ public function createLabels(&$participants, &$layoutInfo) { $this->pdf = new CRM_Utils_PDF_Label($layoutInfo['format'], 'mm'); @@ -356,7 +355,6 @@ class CRM_Badge_BAO_Badge { * @param null $h * * @return void - * @access public */ public function printImage($img, $x = '', $y = '', $w = NULL, $h = NULL) { if (!$x) { @@ -400,7 +398,6 @@ class CRM_Badge_BAO_Badge { * @param CRM_Core_Form $form * * @return void - * @access public * @static */ public static function buildBadges(&$params, &$form) { diff --git a/CRM/Badge/BAO/Layout.php b/CRM/Badge/BAO/Layout.php index 86e710a415..db6efc4c20 100644 --- a/CRM/Badge/BAO/Layout.php +++ b/CRM/Badge/BAO/Layout.php @@ -50,7 +50,6 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_PrintLabel object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -71,7 +70,6 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { * * @return Object DAO object on success, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -83,7 +81,6 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -125,7 +122,6 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { * * @param int $printLabelId ID of the name label to be deleted. * - * @access public * @static */ public static function del($printLabelId) { @@ -138,7 +134,6 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { * get the list of print labels * * @return array list of labels - * @access public * @static */ public static function getList() { @@ -158,7 +153,6 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { * @param array $params associated array of submitted values * * @return array $formattedLayout array formatted array - * @access public */ public static function buildLayout(&$params) { $layoutParams = array('id' => $params['badge_id']); diff --git a/CRM/Badge/Form/Layout.php b/CRM/Badge/Form/Layout.php index 88dcfcf084..70528b664c 100644 --- a/CRM/Badge/Form/Layout.php +++ b/CRM/Badge/Form/Layout.php @@ -44,7 +44,6 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::DELETE) { @@ -159,7 +158,6 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form { * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -187,7 +185,6 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Batch/BAO/Batch.php b/CRM/Batch/BAO/Batch.php index a10a4c012e..6095e610b5 100755 --- a/CRM/Batch/BAO/Batch.php +++ b/CRM/Batch/BAO/Batch.php @@ -57,7 +57,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param string $context string * * @return object $batch batch object - * @access public */ public static function create(&$params, $ids = NULL, $context = NULL) { if (empty($params['id'])) { @@ -81,7 +80,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return array CRM_Batch_BAO_Batch object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -137,7 +135,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * Create entity batch entry * @param array $params associated array * @return batch array - * @access public */ public static function addBatchEntity(&$params) { $entityBatch = new CRM_Batch_DAO_EntityBatch(); @@ -164,7 +161,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param int $batchId batch id * * @return void - * @access public */ public static function deleteBatch($batchId) { // delete entry from batch table @@ -180,7 +176,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param array $params associated array for params record id. * * @return array $batchList associated array of batch list - * @access public */ public function getBatchListSelector(&$params) { // format the params @@ -246,7 +241,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param array $params associated array for params * * @return array - * @access public */ public static function getBatchList(&$params) { $whereClause = self::whereClause($params); @@ -352,7 +346,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param array $params associated array for params * * @return null|string - * @access public */ public static function getBatchCount(&$params) { $args = array(); @@ -369,7 +362,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param array $params associated array for params * * @return string - * @access public */ public static function whereClause($params) { $clauses = array(); @@ -417,7 +409,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @param null $context * * @return array $links array of action links - * @access public */ public function links($context = NULL) { if ($context == 'financialBatch') { @@ -570,7 +561,6 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { * @return void * * @static - * @access public */ public static function exportFinancialBatch($batchIds, $exportFormat) { if (empty($batchIds)) { diff --git a/CRM/Batch/Form/Batch.php b/CRM/Batch/Form/Batch.php index 2be27eda78..8879e3b63e 100755 --- a/CRM/Batch/Form/Batch.php +++ b/CRM/Batch/Form/Batch.php @@ -50,7 +50,6 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -79,7 +78,6 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -99,7 +97,6 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index c64a1dee55..d166a11bed 100755 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -89,7 +89,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->_batchId = CRM_Utils_Request::retrieve('id', 'Positive', $this, TRUE); @@ -117,7 +116,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ @@ -268,7 +266,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($params, $files, $self) { $errors = array(); @@ -332,7 +329,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -374,7 +370,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -412,7 +407,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * * @param array $params associated array of submitted values * - * @access public * * @return void */ @@ -582,7 +576,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * * @param array $params associated array of submitted values * - * @access public * * @return bool */ @@ -825,7 +818,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * * @param array $value associated array of submitted values * - * @access public * * @return void */ diff --git a/CRM/Batch/Page/Batch.php b/CRM/Batch/Page/Batch.php index 344cacd042..4ef9b44d3c 100644 --- a/CRM/Batch/Page/Batch.php +++ b/CRM/Batch/Page/Batch.php @@ -95,7 +95,6 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic { * Browse all entities. * * @return void - * @access public */ public function browse() { $status = CRM_Utils_Request::retrieve('status', 'Positive', CRM_Core_DAO::$_nullObject, FALSE, 1); diff --git a/CRM/Campaign/BAO/Campaign.php b/CRM/Campaign/BAO/Campaign.php index d77edd7bdc..3fdea0ce64 100644 --- a/CRM/Campaign/BAO/Campaign.php +++ b/CRM/Campaign/BAO/Campaign.php @@ -44,7 +44,6 @@ Class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Campaign_DAO_Campaign object - * @access public * @static */ public static function create(&$params) { @@ -123,7 +122,6 @@ Class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return \CRM_Campaign_DAO_Campaign|null - * @access public */ public function retrieve(&$params, &$defaults) { $campaign = new CRM_Campaign_DAO_Campaign(); diff --git a/CRM/Campaign/BAO/Petition.php b/CRM/Campaign/BAO/Petition.php index 6d0c92d404..62ce1fe45f 100644 --- a/CRM/Campaign/BAO/Petition.php +++ b/CRM/Campaign/BAO/Petition.php @@ -176,7 +176,6 @@ SELECT petition.id as id, * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Campaign_BAO_Petition - * @access public * @static */ public function createSignature(&$params) { @@ -466,7 +465,6 @@ AND tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )"; * @param object $tag an object of a tag. * * @return array $contactIds array of contact ids - * @access public */ public function getEntitiesByTag($tag) { $contactIds = array(); diff --git a/CRM/Campaign/BAO/Query.php b/CRM/Campaign/BAO/Query.php index 0b2aba68a9..bdf4c7243c 100755 --- a/CRM/Campaign/BAO/Query.php +++ b/CRM/Campaign/BAO/Query.php @@ -70,7 +70,6 @@ class CRM_Campaign_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { self::$_applySurveyClause = FALSE; @@ -338,7 +337,6 @@ civicrm_activity_assignment.record_type_id = $assigneeID ) "; * Add all the elements shared between, * normal voter search and voter listing (GOTV form) * - * @access public * * @param CRM_Core_Form $form * @return void diff --git a/CRM/Campaign/BAO/Survey.php b/CRM/Campaign/BAO/Survey.php index e58b2265f9..71f79d0d3f 100644 --- a/CRM/Campaign/BAO/Survey.php +++ b/CRM/Campaign/BAO/Survey.php @@ -47,7 +47,6 @@ class CRM_Campaign_BAO_Survey extends CRM_Campaign_DAO_Survey { * @param array $params (reference ) an assoc array of name/value pairs * @param array $defaults (reference ) an assoc array to hold the flattened values * - * @access public */ /** @@ -80,7 +79,6 @@ class CRM_Campaign_BAO_Survey extends CRM_Campaign_DAO_Survey { * @param array $params * * @return CRM_Survey_DAO_Survey object - * @access public * @static */ public static function create(&$params) { @@ -392,7 +390,6 @@ SELECT survey.id as id, * @param int $id survey id * * @return mixed|null - * @access public * @static * */ diff --git a/CRM/Campaign/Form/Campaign.php b/CRM/Campaign/Form/Campaign.php index 6add31fe58..5bb5e7e100 100644 --- a/CRM/Campaign/Form/Campaign.php +++ b/CRM/Campaign/Form/Campaign.php @@ -133,7 +133,6 @@ class CRM_Campaign_Form_Campaign extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array */ @@ -302,7 +301,6 @@ class CRM_Campaign_Form_Campaign extends CRM_Core_Form { * @param $errors * * @return bool|array - * @access public * @see valid_date */ public static function formRule($fields, $files, $errors) { @@ -314,7 +312,6 @@ class CRM_Campaign_Form_Campaign extends CRM_Core_Form { /** * Form submission of new/edit campaign is processed. * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Gotv.php b/CRM/Campaign/Form/Gotv.php index 9d7923d6fb..2efed40d0d 100755 --- a/CRM/Campaign/Form/Gotv.php +++ b/CRM/Campaign/Form/Gotv.php @@ -42,7 +42,6 @@ class CRM_Campaign_Form_Gotv extends CRM_Core_Form { * Are we forced to run a search * * @var int - * @access protected */ protected $_force; @@ -54,7 +53,6 @@ class CRM_Campaign_Form_Gotv extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE); @@ -99,7 +97,6 @@ class CRM_Campaign_Form_Gotv extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Petition.php b/CRM/Campaign/Form/Petition.php index b5fbd073f1..34008ad51f 100644 --- a/CRM/Campaign/Form/Petition.php +++ b/CRM/Campaign/Form/Petition.php @@ -126,7 +126,6 @@ class CRM_Campaign_Form_Petition extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = $this->_values; diff --git a/CRM/Campaign/Form/Petition/Signature.php b/CRM/Campaign/Form/Petition/Signature.php index a4d9597220..4eb148edee 100644 --- a/CRM/Campaign/Form/Petition/Signature.php +++ b/CRM/Campaign/Form/Petition/Signature.php @@ -237,7 +237,6 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -326,7 +325,6 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { * @param $errors * * @return void - * @access public * @see valid_date */ @@ -339,7 +337,6 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { /** * Form submission of petition signature * - * @access public * * @return void */ @@ -592,7 +589,6 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { * @param bool $viewOnly * * @return void - * @access public */ public function buildCustom($id, $name, $viewOnly = FALSE) { if ($id) { diff --git a/CRM/Campaign/Form/Search.php b/CRM/Campaign/Form/Search.php index 32ee48b229..8ae590dc49 100755 --- a/CRM/Campaign/Form/Search.php +++ b/CRM/Campaign/Form/Search.php @@ -42,14 +42,12 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -57,7 +55,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -77,7 +74,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { $this->_done = FALSE; $this->_defaults = array(); @@ -196,7 +192,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -256,7 +251,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -471,7 +465,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Respondents'); diff --git a/CRM/Campaign/Form/Search/Campaign.php b/CRM/Campaign/Form/Search/Campaign.php index fd6f4a89c5..475b1b1faf 100755 --- a/CRM/Campaign/Form/Search/Campaign.php +++ b/CRM/Campaign/Form/Search/Campaign.php @@ -42,7 +42,6 @@ class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form { * Are we forced to run a search * * @var int - * @access protected */ protected $_force; @@ -50,7 +49,6 @@ class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE, FALSE); @@ -72,7 +70,6 @@ class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Search/Petition.php b/CRM/Campaign/Form/Search/Petition.php index c9d9b7d05c..d5caa0f47a 100755 --- a/CRM/Campaign/Form/Search/Petition.php +++ b/CRM/Campaign/Form/Search/Petition.php @@ -42,7 +42,6 @@ class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form { * Are we forced to run a search * * @var int - * @access protected */ protected $_force; @@ -50,7 +49,6 @@ class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE, FALSE); @@ -71,7 +69,6 @@ class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Search/Survey.php b/CRM/Campaign/Form/Search/Survey.php index d275ea23fe..42b0f0cf3d 100755 --- a/CRM/Campaign/Form/Search/Survey.php +++ b/CRM/Campaign/Form/Search/Survey.php @@ -42,7 +42,6 @@ class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form { * Are we forced to run a search * * @var int - * @access protected */ protected $_force; @@ -50,7 +49,6 @@ class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE, FALSE); @@ -72,7 +70,6 @@ class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Survey.php b/CRM/Campaign/Form/Survey.php index 9f3cedf41e..ad96b31d5b 100644 --- a/CRM/Campaign/Form/Survey.php +++ b/CRM/Campaign/Form/Survey.php @@ -95,7 +95,6 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Campaign/Form/Survey/Delete.php b/CRM/Campaign/Form/Survey/Delete.php index 2f42b2a9e0..be5fbd7eba 100644 --- a/CRM/Campaign/Form/Survey/Delete.php +++ b/CRM/Campaign/Form/Survey/Delete.php @@ -57,7 +57,6 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { if (!CRM_Campaign_BAO_Campaign::accessCampaign()) { @@ -76,7 +75,6 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( @@ -97,7 +95,6 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { if ($this->_surveyId) { diff --git a/CRM/Campaign/Form/Survey/Main.php b/CRM/Campaign/Form/Survey/Main.php index e33343f677..3f538d3703 100644 --- a/CRM/Campaign/Form/Survey/Main.php +++ b/CRM/Campaign/Form/Survey/Main.php @@ -107,7 +107,6 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { if ($this->_cdType) { @@ -146,7 +145,6 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey { * @param null * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType) { @@ -194,7 +192,6 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey { * @param null * * @return void - * @access public */ public function postProcess() { // store the submitted values in an array diff --git a/CRM/Campaign/Form/Survey/Questions.php b/CRM/Campaign/Form/Survey/Questions.php index 0d4e6f7db5..ced03cb5af 100644 --- a/CRM/Campaign/Form/Survey/Questions.php +++ b/CRM/Campaign/Form/Survey/Questions.php @@ -46,7 +46,6 @@ class CRM_Campaign_Form_Survey_Questions extends CRM_Campaign_Form_Survey { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -70,7 +69,6 @@ class CRM_Campaign_Form_Survey_Questions extends CRM_Campaign_Form_Survey { * @param null * * @return void - * @access public */ public function buildQuickForm() { $subTypeId = CRM_Core_DAO::getFieldValue('CRM_Campaign_DAO_Survey', $this->_surveyId, 'activity_type_id'); @@ -111,7 +109,6 @@ class CRM_Campaign_Form_Survey_Questions extends CRM_Campaign_Form_Survey { * @param null * * @return void - * @access public */ public function postProcess() { // store the submitted values in an array diff --git a/CRM/Campaign/Form/Survey/Results.php b/CRM/Campaign/Form/Survey/Results.php index 5489fc3532..393a86e6e9 100644 --- a/CRM/Campaign/Form/Survey/Results.php +++ b/CRM/Campaign/Form/Survey/Results.php @@ -80,7 +80,6 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = $this->_values; @@ -103,7 +102,6 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey { * @param null * * @return void - * @access public */ public function buildQuickForm() { $optionGroups = CRM_Campaign_BAO_Survey::getResultSets(); @@ -349,7 +347,6 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey { * @param null * * @return void - * @access public */ public function postProcess() { // store the submitted values in an array diff --git a/CRM/Campaign/Form/SurveyType.php b/CRM/Campaign/Form/SurveyType.php index e566612221..43a2dfbe5a 100644 --- a/CRM/Campaign/Form/SurveyType.php +++ b/CRM/Campaign/Form/SurveyType.php @@ -68,7 +68,6 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { * @param null * * @return void - * @access public */ function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this); @@ -102,7 +101,6 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = parent::setDefaultValues(); @@ -119,7 +117,6 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -151,7 +148,6 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Task.php b/CRM/Campaign/Form/Task.php index fe1e2a1c11..62d73ebe0f 100755 --- a/CRM/Campaign/Form/Task.php +++ b/CRM/Campaign/Form/Task.php @@ -80,7 +80,6 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ function preProcess() { $values = $this->controller->exportValues('Search'); @@ -141,7 +140,6 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form { * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Campaign/Form/Task/Interview.php b/CRM/Campaign/Form/Task/Interview.php index 32a5167916..8a17f1b0a9 100755 --- a/CRM/Campaign/Form/Task/Interview.php +++ b/CRM/Campaign/Form/Task/Interview.php @@ -73,7 +73,6 @@ class CRM_Campaign_Form_Task_Interview extends CRM_Campaign_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->_votingTab = $this->get('votingTab'); @@ -281,7 +280,6 @@ WHERE {$clause} /** * Build the form object * - * @access public * * @return void */ @@ -381,7 +379,6 @@ WHERE {$clause} /** * Set default values for the form. * - * @access public * * @return void */ @@ -438,7 +435,6 @@ WHERE {$clause} /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Task/Print.php b/CRM/Campaign/Form/Task/Print.php index 467fee5f9a..cc5b71cc53 100755 --- a/CRM/Campaign/Form/Task/Print.php +++ b/CRM/Campaign/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Campaign_Form_Task_Print extends CRM_Campaign_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -80,7 +79,6 @@ class CRM_Campaign_Form_Task_Print extends CRM_Campaign_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -106,7 +104,6 @@ class CRM_Campaign_Form_Task_Print extends CRM_Campaign_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Task/Release.php b/CRM/Campaign/Form/Task/Release.php index 368967c8e7..05b18fc628 100644 --- a/CRM/Campaign/Form/Task/Release.php +++ b/CRM/Campaign/Form/Task/Release.php @@ -66,7 +66,6 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { $this->_interviewToRelease = $this->get('interviewToRelease'); if ($this->_interviewToRelease) { @@ -134,7 +133,6 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Task/Reserve.php b/CRM/Campaign/Form/Task/Reserve.php index 4b3d9eebf0..ee2faf93ba 100644 --- a/CRM/Campaign/Form/Task/Reserve.php +++ b/CRM/Campaign/Form/Task/Reserve.php @@ -71,7 +71,6 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -155,7 +154,6 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -210,7 +208,6 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $errors = array(); @@ -235,7 +232,6 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Campaign/Form/Task/Result.php b/CRM/Campaign/Form/Task/Result.php index 42e3fb8520..e085ae9ccb 100755 --- a/CRM/Campaign/Form/Task/Result.php +++ b/CRM/Campaign/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Campaign_Form_Task_Result extends CRM_Campaign_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() {} @@ -52,7 +51,6 @@ class CRM_Campaign_Form_Task_Result extends CRM_Campaign_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Campaign/Page/Petition/Confirm.php b/CRM/Campaign/Page/Petition/Confirm.php index eb381d3afe..3863287b62 100644 --- a/CRM/Campaign/Page/Petition/Confirm.php +++ b/CRM/Campaign/Page/Petition/Confirm.php @@ -101,7 +101,6 @@ class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page { * @param int $petition_id * * @return boolean True on success - * @access public * @static */ public static function confirm($contact_id, $subscribe_id, $hash, $activity_id, $petition_id) { diff --git a/CRM/Campaign/Page/SurveyType.php b/CRM/Campaign/Page/SurveyType.php index 6a5299ae50..ad964b5c9f 100644 --- a/CRM/Campaign/Page/SurveyType.php +++ b/CRM/Campaign/Page/SurveyType.php @@ -76,7 +76,6 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic { * Obtains the group name from url and sets the title. * * @return void - * @access public * */ public function preProcess() { @@ -153,7 +152,6 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { @@ -212,7 +210,6 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic { * @param int $mode mode that we are in * * @return string - * @access public */ public function userContextParams($mode = NULL) { return 'reset=1'; diff --git a/CRM/Campaign/PseudoConstant.php b/CRM/Campaign/PseudoConstant.php index 7572f39558..79b1c6505d 100755 --- a/CRM/Campaign/PseudoConstant.php +++ b/CRM/Campaign/PseudoConstant.php @@ -70,7 +70,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * DEPRECATED. Please use the buildOptions() method in the appropriate BAO object. * Get all the survey activity types * - * @access public * * @param string $returnColumn * @@ -99,7 +98,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * * The static array campaignType is returned * - * @access public * @static * * @return array - array reference of all campaign types. @@ -119,7 +117,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * * The static array campaignStatus is returned * - * @access public * @static * * @return array - array reference of all campaign status. @@ -139,7 +136,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * * The static array Engagement Level is returned * - * @access public * @static * * @return array - array reference of all Engagement Level. @@ -156,7 +152,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * next time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed diff --git a/CRM/Campaign/Selector/Search.php b/CRM/Campaign/Selector/Search.php index 4f66c6f134..22baac855c 100755 --- a/CRM/Campaign/Selector/Search.php +++ b/CRM/Campaign/Selector/Search.php @@ -84,7 +84,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -92,7 +91,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -100,7 +98,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -110,7 +107,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -118,7 +114,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -186,7 +181,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * - Edit * * @return array - * @access public * */ static @@ -200,7 +194,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['csvString'] = NULL; @@ -216,7 +209,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -309,7 +301,6 @@ FROM {$from} /** * @return array $qill which contains an array of strings - * @access public **/ public function getQILL() { return $this->_query->qill(); @@ -323,7 +314,6 @@ FROM {$from} * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { self::$_columnHeaders = array(); diff --git a/CRM/Campaign/StateMachine/Search.php b/CRM/Campaign/StateMachine/Search.php index dc0d0a8f08..95499d1ce8 100755 --- a/CRM/Campaign/StateMachine/Search.php +++ b/CRM/Campaign/StateMachine/Search.php @@ -76,7 +76,6 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -93,7 +92,6 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Campaign/Task.php b/CRM/Campaign/Task.php index fcb5b12f13..5ef305bd5d 100755 --- a/CRM/Campaign/Task.php +++ b/CRM/Campaign/Task.php @@ -64,7 +64,6 @@ class CRM_Campaign_Task { * * @return array the set of tasks for a group of voters. * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -111,7 +110,6 @@ class CRM_Campaign_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -130,7 +128,6 @@ class CRM_Campaign_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = self::taskTitles(); @@ -146,7 +143,6 @@ class CRM_Campaign_Task { * * @return array the set of tasks for a group of voters. * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index e40a77a890..ba274a2ecf 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -74,7 +74,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Case_BAO_Case object - * @access public * @static */ public static function add(&$params) { @@ -92,7 +91,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param array $ids the array that holds all the db ids * * @return CRM_Case_BAO_Case|null the found object or null - * @access public * @static */ public static function &getValues(&$params, &$values, &$ids) { @@ -114,7 +112,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Case_BAO_Case object - * @access public * @static */ public static function &create(&$params) { @@ -159,7 +156,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param array case_id, contact_id * * @return object - * @access public */ public static function addCaseToContact($params) { $caseContact = new CRM_Case_DAO_CaseContact(); @@ -202,7 +198,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param int case_id * * @return Void - * @access public */ public static function deleteCaseContact($caseID) { $caseContact = new CRM_Case_DAO_CaseContact(); @@ -258,7 +253,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param array $ids (reference) the array that holds all the db ids * * @return CRM_Case_BAO_Case object - * @access public * @static */ public static function retrieve(&$params, &$defaults, &$ids) { @@ -272,7 +266,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * * @param array $params (reference ) an assoc array of name/value pairs * - * @access public * @static */ public static function processCaseActivity(&$params) { @@ -290,7 +283,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param int $activityId activity id * * @return case subject or null - * @access public * @static */ public static function getCaseSubject($activityId) { @@ -310,7 +302,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { * @param string $colName * * @return case type - * @access public * @static */ public static function getCaseType($caseId, $colName = 'title') { @@ -334,7 +325,6 @@ WHERE civicrm_case.id = %1"; * @param bool $moveToTrash * * @return bool is successful - * @access public * @static */ public static function deleteCase($caseId, $moveToTrash = FALSE) { @@ -387,7 +377,6 @@ WHERE civicrm_case.id = %1"; * @param boolean $enable action * * @return void - * @access public * @static */ public static function enableDisableCaseRelationships($caseId, $enable) { @@ -412,7 +401,6 @@ WHERE civicrm_case.id = %1"; * @param int $activityId id of the activity * * @return void - * @access public * @static */ public static function deleteCaseActivity($activityId) { @@ -429,7 +417,6 @@ WHERE civicrm_case.id = %1"; * @param int $contactID * * @return array - * @access public */ public static function retrieveContactIdsByCaseId($caseId, $contactID = NULL) { $caseContact = new CRM_Case_DAO_CaseContact(); @@ -476,7 +463,6 @@ WHERE civicrm_case.id = %1"; * * @return array * - * @access public * */ public static function getContactNames($caseId) { @@ -523,7 +509,6 @@ WHERE civicrm_case.id = %1"; * * @return array * - * @access public */ public static function retrieveCaseIdsByContactId($contactID, $includeDeleted = FALSE, $caseType = NULL) { $query = " @@ -726,7 +711,6 @@ LEFT JOIN civicrm_option_group aog ON aog.name='activity_type' * * @return array Array of Cases * - * @access public */ public static function getCases($allCases = TRUE, $userID = NULL, $type = 'upcoming', $context = 'dashboard') { $condition = NULL; @@ -1427,7 +1411,6 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c * @param int $caseId * * @return void - * @access public */ public static function sendActivityCopy($clientId, $activityId, $contacts, $attachments = NULL, $caseId) { if (!$activityId) { @@ -1567,7 +1550,6 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c * * @return array * - * @access public * */ public static function getCaseActivityCount($caseId, $activityTypeId) { @@ -1687,7 +1669,6 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c * * @return array $activityInfo Array of scheduled activity type and date * - * @access public * * @static */ @@ -1726,7 +1707,6 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c * Combine all the exportable fields from the lower levels object * * @return array array of exportable Fields - * @access public * @static */ public static function &exportableFields() { @@ -1757,7 +1737,6 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c * @param int $caseId id of the case to restore * * @return true if success. - * @access public * @static */ public static function restoreCase($caseId) { @@ -2171,7 +2150,6 @@ LEFT JOIN civicrm_case_contact ON ( civicrm_case.id = civicrm_case_contact.case * * @return an array of cases. * - * @access public */ public static function getContactCases($contactId, $excludeDeleted = TRUE) { $cases = array(); @@ -2213,7 +2191,6 @@ INNER JOIN civicrm_case_contact ON ( civicrm_case.id = civicrm_case_contact.cas * * @return an array of related cases. * - * @access public */ public static function getRelatedCases($mainCaseId, $contactId, $excludeDeleted = TRUE) { //FIXME : do check for permissions. diff --git a/CRM/Case/BAO/CaseType.php b/CRM/Case/BAO/CaseType.php index ecff9bf2ff..9a7300beae 100644 --- a/CRM/Case/BAO/CaseType.php +++ b/CRM/Case/BAO/CaseType.php @@ -59,7 +59,6 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType { * @throws CRM_Core_Exception * * @return CRM_Case_BAO_CaseType object - * @access public * @static */ public static function add(&$params) { @@ -104,7 +103,6 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType { * @param array $definition the case-type defintion expressed as an array-tree * @return string XML * @static - * @access public */ public static function convertDefinitionToXML($name, $definition) { $xmlFile = '' . "\n\n\n"; @@ -246,7 +244,6 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType { * @param array $values output values of the object * * @return CRM_Case_BAO_CaseType|null the found object or null - * @access public * @static */ public static function &getValues(&$params, &$values) { @@ -267,7 +264,6 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Case_BAO_CaseType object - * @access public * @static */ public static function &create(&$params) { @@ -310,7 +306,6 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType { * in a hierarchical manner * * @return CRM_Case_BAO_CaseType object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { diff --git a/CRM/Case/BAO/Query.php b/CRM/Case/BAO/Query.php index be00bc864b..cb14e84b0d 100644 --- a/CRM/Case/BAO/Query.php +++ b/CRM/Case/BAO/Query.php @@ -57,7 +57,6 @@ class CRM_Case_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { if (($query->_mode & CRM_Contact_BAO_Query::MODE_CASE) || !empty($query->_returnProperties['case_id'])) { @@ -225,7 +224,6 @@ class CRM_Case_BAO_Query { * @param $query * * @return void - * @access public */ public static function where(&$query) { foreach ($query->_params as $id => $values) { @@ -250,7 +248,6 @@ class CRM_Case_BAO_Query { * @param $query * * @return void - * @access public */ public static function whereClauseSingle(&$values, &$query) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -607,7 +604,6 @@ case_relation_type.id = case_relationship.relationship_type_id )"; * Getter for the qill object * * @return string - * @access public */ public function qill() { return (isset($this->_qill)) ? $this->_qill : ""; @@ -698,7 +694,6 @@ case_relation_type.id = case_relationship.relationship_type_id )"; /** * Add all the elements shared between case search and advanaced search * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/Case/Form/Activity.php b/CRM/Case/Form/Activity.php index e38a645bfd..16364f40e1 100644 --- a/CRM/Case/Form/Activity.php +++ b/CRM/Case/Form/Activity.php @@ -71,7 +71,6 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { * Build the form object * * @return void - * @access public */ public function preProcess() { $caseIds = CRM_Utils_Request::retrieve('caseid', 'String', $this); @@ -222,7 +221,6 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -362,7 +360,6 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { * @param $self * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -377,7 +374,6 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { /** * Process the form submission * - * @access public * * @param array $params * diff --git a/CRM/Case/Form/Activity/ChangeCaseStartDate.php b/CRM/Case/Form/Activity/ChangeCaseStartDate.php index 0bfd91cfc3..835bfeb95d 100644 --- a/CRM/Case/Form/Activity/ChangeCaseStartDate.php +++ b/CRM/Case/Form/Activity/ChangeCaseStartDate.php @@ -57,7 +57,6 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @@ -111,7 +110,6 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $form) { return TRUE; @@ -120,7 +118,6 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params @@ -136,7 +133,6 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params diff --git a/CRM/Case/Form/Activity/ChangeCaseStatus.php b/CRM/Case/Form/Activity/ChangeCaseStatus.php index 7e52e7db1b..efd283aa42 100644 --- a/CRM/Case/Form/Activity/ChangeCaseStatus.php +++ b/CRM/Case/Form/Activity/ChangeCaseStatus.php @@ -54,7 +54,6 @@ class CRM_Case_Form_Activity_ChangeCaseStatus { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @@ -111,7 +110,6 @@ class CRM_Case_Form_Activity_ChangeCaseStatus { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $form) { return TRUE; @@ -120,7 +118,6 @@ class CRM_Case_Form_Activity_ChangeCaseStatus { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params @@ -134,7 +131,6 @@ class CRM_Case_Form_Activity_ChangeCaseStatus { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params diff --git a/CRM/Case/Form/Activity/ChangeCaseType.php b/CRM/Case/Form/Activity/ChangeCaseType.php index f4e653af37..ef60157749 100644 --- a/CRM/Case/Form/Activity/ChangeCaseType.php +++ b/CRM/Case/Form/Activity/ChangeCaseType.php @@ -54,7 +54,6 @@ class CRM_Case_Form_Activity_ChangeCaseType { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @@ -108,7 +107,6 @@ class CRM_Case_Form_Activity_ChangeCaseType { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $form) { return TRUE; @@ -117,7 +115,6 @@ class CRM_Case_Form_Activity_ChangeCaseType { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params @@ -141,7 +138,6 @@ class CRM_Case_Form_Activity_ChangeCaseType { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params diff --git a/CRM/Case/Form/Activity/LinkCases.php b/CRM/Case/Form/Activity/LinkCases.php index 724a2e2e15..841be8d6d2 100644 --- a/CRM/Case/Form/Activity/LinkCases.php +++ b/CRM/Case/Form/Activity/LinkCases.php @@ -73,7 +73,6 @@ class CRM_Case_Form_Activity_LinkCases { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @@ -100,7 +99,6 @@ class CRM_Case_Form_Activity_LinkCases { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $form) { $errors = array(); @@ -123,7 +121,6 @@ class CRM_Case_Form_Activity_LinkCases { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params @@ -135,7 +132,6 @@ class CRM_Case_Form_Activity_LinkCases { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params diff --git a/CRM/Case/Form/Activity/OpenCase.php b/CRM/Case/Form/Activity/OpenCase.php index 8320ef7fec..5d4024c670 100644 --- a/CRM/Case/Form/Activity/OpenCase.php +++ b/CRM/Case/Form/Activity/OpenCase.php @@ -92,7 +92,6 @@ class CRM_Case_Form_Activity_OpenCase { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @@ -211,7 +210,6 @@ class CRM_Case_Form_Activity_OpenCase { /** * Process the form submission * - * @access public * * @param CRM_Core_Form $form * @param array $params @@ -258,7 +256,6 @@ class CRM_Case_Form_Activity_OpenCase { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $form) { if ($form->_context == 'caseActivity') { @@ -272,7 +269,6 @@ class CRM_Case_Form_Activity_OpenCase { /** * Process the form submission * - * @access public * * @param $form * @param array $params diff --git a/CRM/Case/Form/ActivityChangeStatus.php b/CRM/Case/Form/ActivityChangeStatus.php index b247f60304..a9337a9b14 100644 --- a/CRM/Case/Form/ActivityChangeStatus.php +++ b/CRM/Case/Form/ActivityChangeStatus.php @@ -43,7 +43,6 @@ class CRM_Case_Form_ActivityChangeStatus extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $activityStatus = CRM_Core_PseudoConstant::activityStatus(); diff --git a/CRM/Case/Form/ActivityToCase.php b/CRM/Case/Form/ActivityToCase.php index 7017767d83..c0aaacb04b 100644 --- a/CRM/Case/Form/ActivityToCase.php +++ b/CRM/Case/Form/ActivityToCase.php @@ -43,7 +43,6 @@ class CRM_Case_Form_ActivityToCase extends CRM_Core_Form { * Build all the data structures needed to build the form. * * @return void - * @access public */ public function preProcess() { $this->_activityId = CRM_Utils_Request::retrieve('activityId', 'Positive', CRM_Core_DAO::$_nullObject); @@ -60,7 +59,6 @@ class CRM_Case_Form_ActivityToCase extends CRM_Core_Form { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return array */ @@ -94,7 +92,6 @@ class CRM_Case_Form_ActivityToCase extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->add('text', 'file_on_case_unclosed_case_id', ts('Select Case'), array('class' => 'huge'), TRUE); diff --git a/CRM/Case/Form/ActivityView.php b/CRM/Case/Form/ActivityView.php index 9c55bb4583..0fe1ee584b 100644 --- a/CRM/Case/Form/ActivityView.php +++ b/CRM/Case/Form/ActivityView.php @@ -42,7 +42,6 @@ class CRM_Case_Form_ActivityView extends CRM_Core_Form { /** * Process the view * - * @access public * * @return void */ diff --git a/CRM/Case/Form/Case.php b/CRM/Case/Form/Case.php index a955a67cce..ebecf9a81d 100644 --- a/CRM/Case/Form/Case.php +++ b/CRM/Case/Form/Case.php @@ -90,7 +90,6 @@ class CRM_Case_Form_Case extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function preProcess() { $this->_cdType = CRM_Utils_Array::value('type', $_GET); @@ -207,7 +206,6 @@ class CRM_Case_Form_Case extends CRM_Core_Form { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -300,7 +298,6 @@ class CRM_Case_Form_Case extends CRM_Core_Form { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -323,7 +320,6 @@ class CRM_Case_Form_Case extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $form) { return TRUE; @@ -332,7 +328,6 @@ class CRM_Case_Form_Case extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Case/Form/CaseView.php b/CRM/Case/Form/CaseView.php index 67997e7226..bd488f7824 100644 --- a/CRM/Case/Form/CaseView.php +++ b/CRM/Case/Form/CaseView.php @@ -48,7 +48,6 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_showRelatedCases = CRM_Utils_Array::value('relatedCases', $_GET); @@ -196,7 +195,6 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -209,7 +207,6 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //this call is for show related cases. @@ -446,7 +443,6 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues($this->_name); diff --git a/CRM/Case/Form/CustomData.php b/CRM/Case/Form/CustomData.php index f98419d9c6..688bb488e8 100644 --- a/CRM/Case/Form/CustomData.php +++ b/CRM/Case/Form/CustomData.php @@ -61,7 +61,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form { * Entity sub type of the table id * * @var string - * @access protected */ protected $_subTypeID; @@ -74,7 +73,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form { * * @return void * - * @access public * */ public function preProcess() { @@ -114,7 +112,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // make this form an upload since we dont know if the custom data injected dynamically @@ -136,7 +133,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form { /** * Process the user submitted custom data values. * - * @access public * * @return void */ diff --git a/CRM/Case/Form/EditClient.php b/CRM/Case/Form/EditClient.php index e17e4fd1a2..60e3158624 100644 --- a/CRM/Case/Form/EditClient.php +++ b/CRM/Case/Form/EditClient.php @@ -43,7 +43,6 @@ class CRM_Case_Form_EditClient extends CRM_Core_Form { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $cid = CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE); @@ -79,7 +78,6 @@ class CRM_Case_Form_EditClient extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addEntityRef('reassign_contact_id', ts('Select Contact'), array('create' => TRUE), TRUE); @@ -122,7 +120,6 @@ class CRM_Case_Form_EditClient extends CRM_Core_Form { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues($this->_name); diff --git a/CRM/Case/Form/Report.php b/CRM/Case/Form/Report.php index fe22758ef9..0f24403c2c 100644 --- a/CRM/Case/Form/Report.php +++ b/CRM/Case/Form/Report.php @@ -60,7 +60,6 @@ class CRM_Case_Form_Report extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ function preProcess() { $this->_caseID = CRM_Utils_Request::retrieve('caseid', 'Integer', $this, TRUE); $this->_clientID = CRM_Utils_Request::retrieve('cid', 'Integer', $this, TRUE); @@ -120,7 +119,6 @@ class CRM_Case_Form_Report extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index f12e13186a..2a620a9066 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -42,14 +42,12 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -57,7 +55,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -74,7 +71,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Search'); @@ -174,7 +170,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -225,7 +220,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -322,7 +316,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { * All local rules are added near the element * * @return void - * @access public * @see valid_date */ public function addRules() { @@ -336,7 +329,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { * * @return void * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -351,7 +343,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -446,7 +437,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Cases'); diff --git a/CRM/Case/Form/Task.php b/CRM/Case/Form/Task.php index 89865e9737..2ada0407e9 100644 --- a/CRM/Case/Form/Task.php +++ b/CRM/Case/Form/Task.php @@ -73,7 +73,6 @@ class CRM_Case_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -159,7 +158,6 @@ class CRM_Case_Form_Task extends CRM_Core_Form { * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Case/Form/Task/Delete.php b/CRM/Case/Form/Task/Delete.php index 115b8821ad..52cc62b26a 100644 --- a/CRM/Case/Form/Task/Delete.php +++ b/CRM/Case/Form/Task/Delete.php @@ -59,7 +59,6 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { //check for delete if (!CRM_Core_Permission::checkActionPermission('CiviCase', CRM_Core_Action::DELETE)) { @@ -71,7 +70,6 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -82,7 +80,6 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Case/Form/Task/Print.php b/CRM/Case/Form/Task/Print.php index b16626ade0..90bc4c4ab9 100644 --- a/CRM/Case/Form/Task/Print.php +++ b/CRM/Case/Form/Task/Print.php @@ -43,7 +43,6 @@ class CRM_Case_Form_Task_Print extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -72,7 +71,6 @@ class CRM_Case_Form_Task_Print extends CRM_Case_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -98,7 +96,6 @@ class CRM_Case_Form_Task_Print extends CRM_Case_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Case/Form/Task/Restore.php b/CRM/Case/Form/Task/Restore.php index d794701756..5b6f78e1ed 100644 --- a/CRM/Case/Form/Task/Restore.php +++ b/CRM/Case/Form/Task/Restore.php @@ -52,7 +52,6 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { parent::preProcess(); } @@ -60,7 +59,6 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -71,7 +69,6 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Case/Form/Task/Result.php b/CRM/Case/Form/Task/Result.php index b36b403f10..908cf7ad30 100644 --- a/CRM/Case/Form/Task/Result.php +++ b/CRM/Case/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Case_Form_Task_Result extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() {} @@ -52,7 +51,6 @@ class CRM_Case_Form_Task_Result extends CRM_Case_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Case/Form/Task/SearchTaskHookSample.php b/CRM/Case/Form/Task/SearchTaskHookSample.php index 1adb0bce87..0a21341df7 100644 --- a/CRM/Case/Form/Task/SearchTaskHookSample.php +++ b/CRM/Case/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Case_Form_Task_SearchTaskHookSample extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -76,7 +75,6 @@ WHERE cs.id IN ( {$caseIDs} )"; * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Case/Page/CaseDetails.php b/CRM/Case/Page/CaseDetails.php index 97e4c9f810..25655b964a 100644 --- a/CRM/Case/Page/CaseDetails.php +++ b/CRM/Case/Page/CaseDetails.php @@ -39,7 +39,6 @@ class CRM_Case_Page_CaseDetails extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse'); diff --git a/CRM/Case/Page/DashBoard.php b/CRM/Case/Page/DashBoard.php index 68c84efae4..d57b141f71 100644 --- a/CRM/Case/Page/DashBoard.php +++ b/CRM/Case/Page/DashBoard.php @@ -45,7 +45,6 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -110,7 +109,6 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Case/Page/Tab.php b/CRM/Case/Page/Tab.php index 1c028b97ab..308bc93497 100644 --- a/CRM/Case/Page/Tab.php +++ b/CRM/Case/Page/Tab.php @@ -100,7 +100,6 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { * View details of a case * * @return void - * @access public */ public function view() { $controller = new CRM_Core_Controller_Simple( @@ -144,7 +143,6 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { @@ -168,7 +166,6 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { $config = CRM_Core_Config::singleton(); @@ -189,7 +186,6 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $contactID = CRM_Utils_Request::retrieve('cid', 'Positive', CRM_Core_DAO::$_nullArray); diff --git a/CRM/Case/PseudoConstant.php b/CRM/Case/PseudoConstant.php index dc8758be35..b9fb0e617e 100644 --- a/CRM/Case/PseudoConstant.php +++ b/CRM/Case/PseudoConstant.php @@ -77,7 +77,6 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the case statues * - * @access public * * @param string $column * @param bool $onlyActive @@ -106,7 +105,6 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the redaction rules * - * @access public * * @param null $filter * @@ -136,7 +134,6 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the case type * - * @access public * * @param string $column * @param bool $onlyActive @@ -169,7 +166,6 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the Encounter Medium * - * @access public * * @param string $column * @param bool $onlyActive @@ -199,7 +195,6 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { * * @param bool $all * - * @access public * @static * * @return array - array reference of all activity types. @@ -254,7 +249,6 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * next time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed diff --git a/CRM/Case/Selector/Search.php b/CRM/Case/Selector/Search.php index a4bf334a44..fc1947786d 100644 --- a/CRM/Case/Selector/Search.php +++ b/CRM/Case/Selector/Search.php @@ -80,7 +80,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -88,7 +87,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -96,7 +94,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -106,7 +103,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -114,7 +110,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -188,7 +183,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * @param null $key * * @return array - * @access public */ static public function &links($isDeleted = FALSE, $key = NULL) { @@ -252,7 +246,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Case') . ' %%StatusMessage%%'; @@ -274,7 +267,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -411,7 +403,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { /** * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -428,7 +419,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Case/StateMachine/Search.php b/CRM/Case/StateMachine/Search.php index c83679733d..04914306d1 100644 --- a/CRM/Case/StateMachine/Search.php +++ b/CRM/Case/StateMachine/Search.php @@ -78,7 +78,6 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -95,7 +94,6 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Case/Task.php b/CRM/Case/Task.php index 5f9c15e4ae..19e0cffb91 100644 --- a/CRM/Case/Task.php +++ b/CRM/Case/Task.php @@ -63,7 +63,6 @@ class CRM_Case_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!self::$_tasks) { @@ -108,7 +107,6 @@ class CRM_Case_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -124,7 +122,6 @@ class CRM_Case_Task { * * @return array the set of optional tasks for a group of contacts * @static - * @access public */ public static function &optionalTaskTitle() { $tasks = array(); @@ -138,7 +135,6 @@ class CRM_Case_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = array(); @@ -167,7 +163,6 @@ class CRM_Case_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index f783b6ca22..9a1ef236b9 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -92,7 +92,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact { /** * Class constructor * - * @access public * @return \CRM_Contact_DAO_Contact */ /** @@ -112,7 +111,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contact_BAO_Contact object - * @access public * @static */ public static function add(&$params) { @@ -275,7 +273,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact { * * @throws Exception * @return CRM_Contact_BAO_Contact object - * @access public * @static */ public static function &create(&$params, $fixAddress = TRUE, $invokeHooks = TRUE, $skipDelete = FALSE) { @@ -471,7 +468,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact { * @param bool $type * * @return array the displayName and contactImage for this contact - * @access public * @static */ public static function getDisplayAndImage($id, $type = FALSE) { @@ -557,7 +553,6 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); * @param boolean $reverse true if we want to resolve the values in the reverse direction (value -> name) * * @return void - * @access public * @static */ public static function resolveDefaults(&$defaults, $reverse = FALSE) { @@ -689,7 +684,6 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); * @param boolean $microformat for location in microformat * * @return CRM_Contact_BAO_Contact object - * @access public * @static */ public static function &retrieve(&$params, &$defaults, $microformat = FALSE) { @@ -736,7 +730,6 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); * * @return null|string display name of the contact if found * @static - * @access public */ public static function displayName($id) { $displayName = NULL; @@ -755,7 +748,6 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); * @param bool $skipUndelete whether to force contact delete or not * * @return boolean true if contact deleted, false otherwise - * @access public * @static */ public static function deleteContact($id, $restore = FALSE, $skipUndelete = FALSE) { @@ -1069,7 +1061,6 @@ WHERE id={$id}; "; * * @return string contact_type if $id found else null "" * - * @access public * * @static * @@ -1087,7 +1078,6 @@ WHERE id={$id}; "; * * @return string contact_sub_type if $id found else null "" * - * @access public * * @static */ @@ -1112,7 +1102,6 @@ WHERE id={$id}; "; * * @return array * - * @access public * * @static * @@ -1154,7 +1143,6 @@ WHERE id={$id}; "; * @param bool $withMultiCustomFields * * @return array array of importable Fields - * @access public * @static */ static function importableFields($contactType = 'Individual', @@ -1347,7 +1335,6 @@ WHERE id={$id}; "; * @param bool $withMultiRecord * * @return array array of exportable Fields - * @access public * @static */ public static function &exportableFields($contactType = 'Individual', $status = FALSE, $export = FALSE, $search = FALSE, $withMultiRecord = FALSE) { @@ -1581,7 +1568,6 @@ WHERE id={$id}; "; * * @return $values array contains the contact details * @static - * @access public */ public static function getHierContactDetails($contactId, &$fields) { $params = array(array('contact_id', '=', $contactId, 0, 0)); @@ -1607,7 +1593,6 @@ WHERE id={$id}; "; * @param int $contactId contact id * * @return array a hierarchical property tree if appropriate - * @access public * @static */ public static function &makeHierReturnProperties($fields, $contactId = NULL) { @@ -1678,7 +1663,6 @@ WHERE id={$id}; "; * @param null $block * * @return int $locationType location_type_id - * @access public * @static */ public static function getPrimaryLocationType($contactId, $skipDefaultPriamry = FALSE, $block = NULL) { @@ -1742,7 +1726,6 @@ WHERE civicrm_contact.id = %1 "; * * @return array of display_name, email if found, do_not_email or (null,null,null) * @static - * @access public */ public static function getContactDetails($id) { // check if the contact type @@ -1793,7 +1776,6 @@ ORDER BY civicrm_email.is_primary DESC"; * * @return int contact id created/edited * @static - * @access public */ static function createProfileContact( &$params, @@ -2350,7 +2332,6 @@ WHERE civicrm_openid.openid = %1"; * * @return string $dao->email email address if present else null * @static - * @access public */ public static function getPrimaryEmail($contactID) { // fetch the primary email @@ -2378,7 +2359,6 @@ LEFT JOIN civicrm_email ON ( civicrm_contact.id = civicrm_email.contact_id ) * * @return string $dao->openid OpenID if present else null * @static - * @access public */ public static function getPrimaryOpenId($contactID) { // fetch the primary OpenID @@ -2407,7 +2387,6 @@ AND civicrm_openid.is_primary = 1"; * @param array $values output values of the object * * @return CRM_Contact_BAO_Contact|null the found object or null - * @access public * @static */ public static function getValues(&$params, &$values) { @@ -2492,7 +2471,6 @@ AND civicrm_openid.is_primary = 1"; * @param string $tableName optional tableName if component is custom group * * @return total number of count of occurence in database - * @access public * @static */ public static function getCountComponent($component, $contactId, $tableName = NULL) { @@ -2569,7 +2547,6 @@ AND civicrm_openid.is_primary = 1"; * @param boolean $useDefaults use default greeting values * * @return void - * @access public * @static */ public static function processGreetings(&$contact, $useDefaults = FALSE) { @@ -3033,7 +3010,6 @@ AND civicrm_openid.is_primary = 1"; * @param int $contactId contact id. * * @return display name |null the found display name or null. - * @access public * @static */ public static function getMasterDisplayName($masterAddressId = NULL, $contactId = NULL) { @@ -3104,7 +3080,6 @@ LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id ) * * @link https://issues.civicrm.org/jira/browse/CRM-15602 * @see triggerInfo - * @access public * @static */ public static function generateTimestampTriggers(&$info, $reqTableName, $relatedTableNames, $contactRefColumn) { @@ -3204,7 +3179,6 @@ LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id ) * @param int $contactId contact id. * * @return bool true if present else false. - * @access public * @static */ public static function checkDomainContact($contactId) { diff --git a/CRM/Contact/BAO/Contact/Location.php b/CRM/Contact/BAO/Contact/Location.php index 4952c741eb..47de3a9ea1 100644 --- a/CRM/Contact/BAO/Contact/Location.php +++ b/CRM/Contact/BAO/Contact/Location.php @@ -44,7 +44,6 @@ class CRM_Contact_BAO_Contact_Location { * * @return array of display_name, email, location type and location id if found, or (null,null,null, null) * @static - * @access public */ public static function getEmailDetails($id, $isPrimary = TRUE, $locationTypeID = NULL) { $primaryClause = NULL; @@ -84,7 +83,6 @@ WHERE civicrm_contact.id = %1"; * * @return array tuple of display_name and sms if found, or (null,null) * @static - * @access public */ public static function getPhoneDetails($id, $type = NULL) { if (!$id) { @@ -124,7 +122,6 @@ LEFT JOIN civicrm_phone ON ( civicrm_phone.contact_id = civicrm_contact.id ) * * @return null|string display name of the contact if found * @static - * @access public */ public static function &getMapInfo($ids, $locationTypeID = NULL, $imageUrlOnly = FALSE) { $idString = ' ( ' . implode(',', $ids) . ' ) '; diff --git a/CRM/Contact/BAO/Contact/Permission.php b/CRM/Contact/BAO/Contact/Permission.php index 783e65bf13..3d72692cfc 100644 --- a/CRM/Contact/BAO/Contact/Permission.php +++ b/CRM/Contact/BAO/Contact/Permission.php @@ -41,7 +41,6 @@ class CRM_Contact_BAO_Contact_Permission { * @param int|string $type the type of operation (view|edit) * * @return boolean true if the user has permission, false otherwise - * @access public * @static */ public static function allow($id, $type = CRM_Core_Permission::VIEW) { @@ -88,7 +87,6 @@ WHERE contact_a.id = %1 AND $permission"; * @param boolean $force should we force a recompute * * @return void - * @access public * @static */ public static function cache($userID, $type = CRM_Core_Permission::VIEW, $force = FALSE) { @@ -155,7 +153,6 @@ ON DUPLICATE KEY UPDATE * @param int $contactID contact id * * @return boolean - * @access public * @static */ static function hasContactsInCache($type = CRM_Core_Permission::VIEW, diff --git a/CRM/Contact/BAO/Contact/Utils.php b/CRM/Contact/BAO/Contact/Utils.php index ef5f22fcd1..3a463e759e 100644 --- a/CRM/Contact/BAO/Contact/Utils.php +++ b/CRM/Contact/BAO/Contact/Utils.php @@ -43,7 +43,6 @@ class CRM_Contact_BAO_Contact_Utils { * @param boolean $addProfileOverlay if profile overlay class should be added * * @return string - * @access public * @static */ public static function getImage($contactType, $urlOnly = FALSE, $contactId = NULL, $addProfileOverlay = TRUE) { @@ -118,7 +117,6 @@ class CRM_Contact_BAO_Contact_Utils { * * @return boolen true or false true if mix contact array else fale * - * @access public * @static */ public static function checkContactType(&$contactIds) { @@ -151,7 +149,6 @@ WHERE id IN ( $idString ) * * @return array ( $cs, $ts, $live ) * @static - * @access public */ public static function generateChecksum($entityId, $ts = NULL, $live = NULL, $hash = NULL, $entityType = 'contact', $hashSize = NULL) { // return a warning message if we dont get a entityId @@ -219,7 +216,6 @@ WHERE id IN ( $idString ) * * @return boolean true if valid, else false * @static - * @access public */ public static function validChecksum($contactID, $inputCheck) { @@ -252,7 +248,6 @@ WHERE id IN ( $idString ) * * @return int $locationCount max locations for the contact * @static - * @access public */ public static function maxLocations($contactId) { $contactLocations = array(); @@ -280,7 +275,6 @@ UNION * @param int $previousEmployerID * @param bool $newContact * - * @access public * @static */ public static function createCurrentEmployerRelationship($contactID, $organization, $previousEmployerID = NULL, $newContact = FALSE) { @@ -360,7 +354,6 @@ UNION * @param int $previousEmpID * * @throws CiviCRM_API3_Exception - * @access public * @static */ public static function currentEmployerRelatedMembership($contactID, $employerID, $relationshipParams, $duplicate = FALSE, $previousEmpID = NULL) { @@ -569,7 +562,6 @@ UPDATE civicrm_contact * * @return array $contactViewLinks returns array with links to contact view * @static - * @access public */ public static function formatContactIDSToLinks($contactIDs, $addViewLink = TRUE, $addEditLink = TRUE, $originalId = NULL) { $contactLinks = array(); @@ -799,7 +791,6 @@ Group By componentId"; * * @return void * @static - * @access public */ public static function processSharedAddress(&$address) { if (!is_array($address)) { diff --git a/CRM/Contact/BAO/ContactType.php b/CRM/Contact/BAO/ContactType.php index 3ff4cdaeb4..c0fd8bfca6 100644 --- a/CRM/Contact/BAO/ContactType.php +++ b/CRM/Contact/BAO/ContactType.php @@ -41,7 +41,6 @@ class CRM_Contact_BAO_ContactType extends CRM_Contact_DAO_ContactType { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contact_BAO_ContactType object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -570,7 +569,6 @@ WHERE subtype.name IN ('" . implode("','", $subType) . "' )"; * @param int $contactTypeId ID of the Contact Subtype to be deleted. * * @return bool - * @access public * @static */ public static function del($contactTypeId) { @@ -623,7 +621,6 @@ WHERE name = %1"; * @param array $params an assoc array of name/value pairs * * @return object - * @access public * @static */ public static function add(&$params) { @@ -884,7 +881,6 @@ WHERE extends = %1 AND " . implode(" OR ", $subTypeClause); * @param array $subtypes - list of subtypes related to which entry is to be removed. * * @return void - * @access public */ public static function deleteCustomRowsOfSubtype($gID, $subtypes = array()) { if (!$gID or empty($subtypes)) { @@ -921,7 +917,6 @@ WHERE ($subtypeClause)"; * @param int $entityID - entity id. * * @return void - * @access public */ public function deleteCustomRowsForEntityID($customTable, $entityID) { $customTable = CRM_Utils_Type::escape($customTable, 'String'); diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index 0e06b5b83c..9193b6dc9a 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -52,7 +52,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contact_BAO_Group object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -73,7 +72,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param int $id group id * * @return null - * @access public * @static * */ @@ -160,7 +158,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param bool $countChildGroups * * @return int count of members in the group with above status - * @access public */ public static function memberCount($id, $status = 'Added', $countChildGroups = FALSE) { $groupContact = new CRM_Contact_DAO_GroupContact(); @@ -205,7 +202,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param bool $useCache * * @return array $aMembers this array contains the list of members for this group id - * @access public * @static */ public static function &getMember($groupID, $useCache = TRUE) { @@ -234,7 +230,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * * @return array of group objects. * - * @access public * * @todo other BAO functions that use returnProperties (e.g. Query Objects) receive the array flipped & filled with 1s and * add in essential fields (e.g. id). This should follow a regular pattern like the others @@ -308,7 +303,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param int $id the id of the object * * @return string the permission that the user has (or null) - * @access public * @static */ public static function checkPermission($id) { @@ -347,7 +341,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param array $params Associative array of parameters * * @return object|null The new group BAO (if created) - * @access public * @static */ public static function &create(&$params) { @@ -529,7 +522,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param array $params Associative array of parameters * * @return object|null The new group BAO (if created) - * @access public * @static */ public static function createSmartGroup(&$params) { @@ -643,7 +635,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param array $params ( reference ) an assoc array of name/value pairs * * @return array ( smartGroupId, ssId ) smart group id and saved search id - * @access public * @static */ public static function createHiddenSmartGroup($params) { @@ -717,7 +708,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * -page= offset * @todo there seems little reason for the small number of functions that call this to pass in * params that then need to be translated in this function since they are coding them when calling - * @access public */ static public function getGroupListSelector(&$params) { // format the params @@ -782,7 +772,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param array $params associated array for params * * @return array - * @access public */ public static function getGroupList(&$params) { $config = CRM_Core_Config::singleton(); @@ -989,7 +978,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * @param bool $titleOnly * * @return array - * @access public */ static function getGroupsHierarchy( $groupIDs, @@ -1229,7 +1217,6 @@ WHERE {$whereClause}"; * Define action links * * @return array $links array of action links - * @access public */ public static function actionLinks() { $links = array( diff --git a/CRM/Contact/BAO/GroupContact.php b/CRM/Contact/BAO/GroupContact.php index 3d5d07fc08..2ac2c4519a 100644 --- a/CRM/Contact/BAO/GroupContact.php +++ b/CRM/Contact/BAO/GroupContact.php @@ -51,7 +51,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contact_BAO_Group object - * @access public * @static */ public static function add(&$params) { @@ -74,7 +73,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists(&$params) { @@ -94,7 +92,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @param array $values output values of the object * * @return array (reference) the values that could be potentially assigned to smarty - * @access public * @static */ public static function getValues(&$params, &$values) { @@ -126,7 +123,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @param int $tracking * * @return array (total, added, notAdded) count of contacts added to group - * @access public * @static */ static function addContactsToGroup( @@ -175,7 +171,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @param null $tracking * * @return array (total, removed, notRemoved) count of contacts removed to group - * @access public * @static */ static function removeContactsFromGroup( @@ -272,7 +267,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * * @param bool $visibility * - * @access public * * @return array $values this array has key-> group id and value group title * @static @@ -447,7 +441,6 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @param string $method If we want the subscription history details for a specific method * * @return object of group contact - * @access public * @static */ public static function getMembershipDetail($contactId, $groupID, $method = 'Email') { @@ -488,7 +481,6 @@ SELECT * * * * @return groupID - * @access public * @static */ public static function getGroupId($groupContactID) { @@ -510,7 +502,6 @@ SELECT * * @param string $method * * @return void - * @access public * @static */ public static function create(&$params, $contactId, $visibility = FALSE, $method = 'Admin') { @@ -704,7 +695,6 @@ AND group_id IN ( $groupIDString ) * @param null $tracking * * @return array (total, added, notAdded) count of contacts added to group - * @access public * @static */ static function bulkAddContactsToGroup( diff --git a/CRM/Contact/BAO/GroupNesting.php b/CRM/Contact/BAO/GroupNesting.php index 29da90f055..870637e215 100644 --- a/CRM/Contact/BAO/GroupNesting.php +++ b/CRM/Contact/BAO/GroupNesting.php @@ -282,7 +282,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * * @return void - * @access public */ public static function add($parentID, $childID) { // TODO: Add checks here to make sure invalid nests can't be created @@ -301,7 +300,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return void * - * @access public */ public static function remove($parentID, $childID) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -318,7 +316,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return void * - * @access public */ public static function removeAllParentForChild($childID) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -335,7 +332,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if association is found, false otherwise. * - * @access public */ public static function isParentChild($parentID, $childID) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -355,7 +351,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if 1 or more child groups are found, false otherwise. * - * @access public */ public static function hasChildGroups($groupId) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -376,7 +371,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if 1 or more parent groups are found, false otherwise. * - * @access public */ public static function hasParentGroups($groupId) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -397,7 +391,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if $checkGroupId points to a group that is a parent of one of the $groupIds groups, false otherwise. * - * @access public */ public static function isParentGroup($groupIds, $checkGroupId) { if (!is_array($groupIds)) { @@ -428,7 +421,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if $checkGroupId points to a group that is a child of one of the $groupIds groups, false otherwise. * - * @access public */ public static function isChildGroup($groupIds, $checkGroupId) { @@ -461,7 +453,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if $checkGroupId points to a group that is an ancestor of one of the $groupIds groups, false otherwise. * - * @access public */ public static function isAncestorGroup($groupIds, $checkGroupId) { if (!is_array($groupIds)) { @@ -501,7 +492,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean True if $checkGroupId points to a group that is a descendent of one of the $groupIds groups, false otherwise. * - * @access public */ public static function isDescendentGroup($groupIds, $checkGroupId) { if (!is_array($groupIds)) { diff --git a/CRM/Contact/BAO/GroupOrganization.php b/CRM/Contact/BAO/GroupOrganization.php index e46a56e14b..115df01c68 100644 --- a/CRM/Contact/BAO/GroupOrganization.php +++ b/CRM/Contact/BAO/GroupOrganization.php @@ -47,7 +47,6 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contact_DAO_GroupOrganization - * @access public * @static */ public static function add(&$params) { @@ -73,7 +72,6 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio * @param array $formatedValues (reference ) an assoc array of name/value pairs * * @return void - * @access public * @static */ public static function formatValues(&$params, &$formatedValues) { @@ -96,7 +94,6 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists($params) { @@ -126,7 +123,6 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio * @param int $contactID * * @return boolean - * @access public * @static */ public static function hasGroupAssociated($contactID) { diff --git a/CRM/Contact/BAO/Household.php b/CRM/Contact/BAO/Household.php index 10347479c3..f8e4bc1da9 100644 --- a/CRM/Contact/BAO/Household.php +++ b/CRM/Contact/BAO/Household.php @@ -48,7 +48,6 @@ class CRM_Contact_BAO_Household extends CRM_Contact_DAO_Contact { * @param integer $contactId contact id * * @return Object DAO object on success - * @access public * @static */ public static function updatePrimaryContact($primaryContactId, $contactId) { diff --git a/CRM/Contact/BAO/Individual.php b/CRM/Contact/BAO/Individual.php index 27ad1351fd..96a78f75da 100644 --- a/CRM/Contact/BAO/Individual.php +++ b/CRM/Contact/BAO/Individual.php @@ -50,7 +50,6 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact { * @param array $contact contact object * * @return CRM_Contact_BAO_Contact object - * @access public * @static */ public static function format(&$params, &$contact) { @@ -396,7 +395,6 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact { * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists(&$params) { diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 1f4a161ef5..4b766157c2 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -479,7 +479,6 @@ class CRM_Contact_BAO_Query { * Function which actually does all the work for the constructor * * @return void - * @access private */ public function initialize() { $this->_select = array(); @@ -586,7 +585,6 @@ class CRM_Contact_BAO_Query { * hack to make them part of the query * * @return void - * @access public */ public function addSpecialFields() { static $special = array('contact_type', 'contact_sub_type', 'sort_name', 'display_name'); @@ -606,7 +604,6 @@ class CRM_Contact_BAO_Query { * in the params list * * @return void - * @access public */ public function selectClause() { @@ -913,7 +910,6 @@ class CRM_Contact_BAO_Query { * the return values * * @return void - * @access public */ public function addHierarchicalElements() { if (empty($this->_returnProperties['location'])) { @@ -1237,7 +1233,6 @@ class CRM_Contact_BAO_Query { * the return values * * @return void - * @access public */ public function addMultipleElements() { if (empty($this->_returnProperties['website'])) { @@ -1272,7 +1267,6 @@ class CRM_Contact_BAO_Query { * @param boolean $onlyDeleted * * @return array sql query parts as an array - * @access public */ public function query($count = FALSE, $sortByChar = FALSE, $groupContacts = FALSE, $onlyDeleted = FALSE) { // build permission clause @@ -1802,7 +1796,6 @@ class CRM_Contact_BAO_Query { * where clause * * @return string - * @access public */ public function whereClause() { $this->_where[0] = array(); @@ -2311,7 +2304,6 @@ class CRM_Contact_BAO_Query { * Getter for tables array * * @return array - * @access public */ public function tables() { return $this->_tables; @@ -2337,7 +2329,6 @@ class CRM_Contact_BAO_Query { * @param boolean $strict * * @return string - * @access public * @static */ public static function getWhereClause($params, $fields, &$tables, &$whereTables, $strict = FALSE) { @@ -2363,7 +2354,6 @@ class CRM_Contact_BAO_Query { * @param int $mode * * @return string the from clause - * @access public * @static */ public static function fromClause(&$tables, $inner = NULL, $right = NULL, $primaryLocation = TRUE, $mode = 1) { @@ -2625,7 +2615,6 @@ class CRM_Contact_BAO_Query { * @param $values * * @return void - * @access public */ public function contactType(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2693,7 +2682,6 @@ class CRM_Contact_BAO_Query { * @param $values * * @return void - * @access public */ public function contactSubType(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2740,7 +2728,6 @@ class CRM_Contact_BAO_Query { * @param $values * * @return void - * @access public */ public function group(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2854,7 +2841,6 @@ class CRM_Contact_BAO_Query { * @param $values * * @return string|NULL - * @access public */ public function savedSearch(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2920,7 +2906,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function ufUser(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2944,7 +2929,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function tagSearch(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3012,7 +2996,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function tag(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3099,7 +3082,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function notes(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3177,7 +3159,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function sortName(&$values) { list($fieldName, $op, $value, $grouping, $wildcard) = $values; @@ -3264,7 +3245,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function email(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3307,7 +3287,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function phone_numeric(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3330,7 +3309,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function phone_option_group($values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3348,7 +3326,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function street_address(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3383,7 +3360,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function street_number(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3418,7 +3394,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function sortByCharacter(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3433,7 +3408,6 @@ WHERE id IN ( $groupIDs ) * Where / qill clause for including contact ids * * @return void - * @access public */ public function includeContactIDs() { if (!$this->_includeContactIds || empty($this->_params)) { @@ -3457,7 +3431,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function postalCode(&$values) { // skip if the fields dont have anything to do with postal_code @@ -3500,7 +3473,6 @@ WHERE id IN ( $groupIDs ) * @param null $status * * @return void - * @access public */ public function locationType(&$values, $status = NULL) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3620,7 +3592,6 @@ WHERE id IN ( $groupIDs ) * @param null $status * * @return void - * @access public */ public function county(&$values, $status = null) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3689,7 +3660,6 @@ WHERE id IN ( $groupIDs ) * @param null $status * * @return void - * @access public */ public function stateProvince(&$values, $status = NULL) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3783,7 +3753,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function changeLog(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3964,7 +3933,6 @@ WHERE id IN ( $groupIDs ) * @param $values * * @return void - * @access public */ public function relationship(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -4184,7 +4152,6 @@ civicrm_relationship.is_permission_a_b = 0 * @param int $mode * * @return array derault return properties - * @access public */ public static function &defaultReturnProperties($mode = 1) { if (!isset(self::$_defaultReturnProperties)) { @@ -4266,7 +4233,6 @@ civicrm_relationship.is_permission_a_b = 0 * @param int $value * * @return string|NULL - * @access public */ public static function getPrimaryCondition($value) { if (is_numeric($value)) { @@ -4284,7 +4250,6 @@ civicrm_relationship.is_permission_a_b = 0 * @param bool $count * * @return string - * @access public */ public static function getQuery($params = NULL, $returnProperties = NULL, $count = FALSE) { $query = new CRM_Contact_BAO_Query($params, $returnProperties); @@ -4314,7 +4279,6 @@ civicrm_relationship.is_permission_a_b = 0 * * * @return array - * @access public */ static function apiQuery( $params = NULL, @@ -4411,7 +4375,6 @@ civicrm_relationship.is_permission_a_b = 0 * @param bool $skipOrderAndLimit * * @return CRM_Core_DAO - * @access public */ function searchQuery( $offset = 0, $rowCount = 0, $sort = NULL, @@ -4810,7 +4773,6 @@ SELECT COUNT( conts.total_amount ) as cancel_count, * Getter for the qill object * * @return string - * @access public */ public function qill() { return $this->_qill; @@ -4820,7 +4782,6 @@ SELECT COUNT( conts.total_amount ) as cancel_count, * Default set of return default hier return properties * * @return array - * @access public */ public static function &defaultHierReturnProperties() { if (!isset(self::$_defaultHierReturnProperties)) { @@ -5107,7 +5068,6 @@ SELECT COUNT( conts.total_amount ) as cancel_count, * @param string $dataType data type of the field * * @return string where clause for the query - * @access public */ public static function buildClause($field, $op, $value = NULL, $dataType = NULL) { $op = trim($op); diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index 2a142ea003..6b47d8bac3 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -51,7 +51,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * "we are moving away from the $ids param " * * @return CRM_Contact_BAO_Relationship object - * @access public * @static */ public static function create(&$params, $ids = array()) { @@ -195,7 +194,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param array $ids the array that holds all the db ids * * @return CRM_Contact_BAO_Relationship - * @access public * @static */ public static function add(&$params, $ids = array(), $contactId = NULL) { @@ -269,7 +267,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * Specifiy defaults for creating a relationship * * @return array $defaults array of defaults for creating relationship - * @access public * @static */ public static function getdefaults() { @@ -291,7 +288,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists(&$params) { @@ -316,7 +312,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param boolean $onlySubTypeRelationTypes if set only subtype which is passed by $contactSubType * related relationshiptypes get return * - * @access public * @static * * @return array - array reference of all relationship types with context to current contact. @@ -444,7 +439,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param int $id relationship id * * @return null - * @access public * * @static */ @@ -495,7 +489,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param $action * * @return null - * @access public * @static */ public static function disableEnableRelationship($id, $action) { @@ -537,7 +530,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param int $contactId id of the contact to delete * * @return void - * @access public * @static */ public static function deleteContact($contactId) { @@ -560,7 +552,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * $returns returns the contact ids in the realtionship * * @return \CRM_Contact_DAO_Relationship - * @access public * @static */ public static function getContactIds($id) { @@ -582,7 +573,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param int $relationshipTypeId relationship type id * * @return boolean true if it is valid relationship else false - * @access public * @static */ public static function checkRelationshipType($contact_a, $contact_b, $relationshipTypeId) { @@ -651,7 +641,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { * @param integer $relationshipId this is relationship id for the contact * * @return boolean true if record exists else false - * @access public * @static */ public static function checkDuplicateRelationship(&$params, $id, $contactId = 0, $relationshipId = 0) { @@ -760,7 +749,6 @@ WHERE relationship_type_id = " . CRM_Utils_Type::escape($type, 'Integer'); * @param array $values output values of the object * * @return array (reference) the values that could be potentially assigned to smarty - * @access public * @static */ public static function &getValues(&$params, &$values) { @@ -802,7 +790,6 @@ WHERE relationship_type_id = " . CRM_Utils_Type::escape($type, 'Integer'); * * @return array * @static - * @access public */ public static function makeURLClause($contactId, $status, $numRelationship, $count, $relationshipId, $direction, $params = array()) { $select = $from = $where = ''; @@ -949,7 +936,6 @@ LEFT JOIN civicrm_country ON (civicrm_address.country_id = civicrm_country.id) * * @return array|int * @static - * @access public */ static function getRelationship($contactId = NULL, $status = 0, $numRelationship = 0, @@ -1629,7 +1615,6 @@ AND cc.sort_name LIKE '%$name%'"; * @param array $params associated array for params record id. * * @return array $contactRelationships associated array of contact relationships - * @access public */ public static function getContactRelationshipSelector(&$params) { // format the params diff --git a/CRM/Contact/BAO/RelationshipType.php b/CRM/Contact/BAO/RelationshipType.php index 37dc61530f..95ce8be34c 100644 --- a/CRM/Contact/BAO/RelationshipType.php +++ b/CRM/Contact/BAO/RelationshipType.php @@ -48,7 +48,6 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contact_BAO_RelationshipType object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -82,7 +81,6 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType * @param array $ids the array that holds all the db ids * * @return CRM_Contact_DAO_RelationshipType - * @access public * @static * */ diff --git a/CRM/Contact/BAO/SavedSearch.php b/CRM/Contact/BAO/SavedSearch.php index 1734763ddd..1f91fb95db 100644 --- a/CRM/Contact/BAO/SavedSearch.php +++ b/CRM/Contact/BAO/SavedSearch.php @@ -53,7 +53,6 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch { * * @return array $aSavedSearch - contains the search name as value and and id as key * - * @access public */ public function getAll() { $savedSearch = new CRM_Contact_DAO_SavedSearch(); @@ -74,7 +73,6 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contact_BAO_SavedSearch - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -93,7 +91,6 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch { * @param int $id the id of the saved search * * @return array the values of the posted saved search - * @access public * @static */ public static function &getFormValues($id) { @@ -157,7 +154,6 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch { * @param array $whereTables (reference ) add the tables that are needed for the where clause * * @return string the where clause for this saved search - * @access public * @static */ public static function whereClause($id, &$tables, &$whereTables) { @@ -271,7 +267,6 @@ LEFT JOIN civicrm_email ON (contact_a.id = civicrm_email.contact_id AND civicrm_ * @param string $value * * @return string the name of the saved search - * @access public * @static */ public static function getName($id, $value = 'name') { diff --git a/CRM/Contact/BAO/SubscriptionHistory.php b/CRM/Contact/BAO/SubscriptionHistory.php index 3f1924364e..56805ef259 100644 --- a/CRM/Contact/BAO/SubscriptionHistory.php +++ b/CRM/Contact/BAO/SubscriptionHistory.php @@ -40,7 +40,6 @@ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHi /** * Class constructor * - * @access public * @return \CRM_Contact_DAO_SubscriptionHistory */ /** @@ -56,7 +55,6 @@ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHi * @param array $params Values for the new history record * * @return object $history The new history object - * @access public * @static */ public static function &create(&$params) { @@ -73,7 +71,6 @@ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHi * @param int $id The contact id * * @return void - * @access public * @static */ public static function deleteContact($id) { diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index ea01fc26b8..1f3905e298 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -82,7 +82,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Name of de-dupe button * * @var string - * @access protected */ protected $_dedupeButtonName; @@ -90,7 +89,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Name of optional save duplicate button * * @var string - * @access protected */ protected $_duplicateButtonName; @@ -133,7 +131,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'add'); @@ -388,7 +385,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -558,7 +554,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * All local rules are added near the element * * @return void - * @access public * @see valid_date */ public function addRules() { @@ -591,7 +586,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * @param int $contactId contact id if doing update. * * @return bool $primaryID email/openId@static - * @access public */ public static function formRule($fields, &$errors, $contactId = NULL) { $config = CRM_Core_Config::singleton(); @@ -718,7 +712,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //load form for child blocks @@ -849,7 +842,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { /** * Form submission of new/edit contact is processed. * - * @access public * * @return void */ @@ -1066,7 +1058,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * * @return boolean true if data exists, false otherwise * @static - * @access public */ public static function blockDataExists(&$fields) { if (!is_array($fields)) { @@ -1176,7 +1167,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Use the form name to create the tpl file name * * @return string - * @access public */ public function getTemplateFileName() { if ($this->_contactSubType) { diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index 2fe49f96f6..e8f7773e8d 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -61,7 +61,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Entity sub type of the table id * * @var string - * @access protected */ protected $_entitySubType; @@ -97,7 +96,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Custom group id * * @int - * @access public */ public $_groupID; @@ -113,7 +111,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * * @return void * - * @access public * */ public function preProcess() { @@ -178,7 +175,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType || $this->_multiRecordDisplay == 'single') { @@ -236,7 +232,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -294,7 +289,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { /** * Process the user submitted custom data values. * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/DedupeFind.php b/CRM/Contact/Form/DedupeFind.php index 1ac59b06a6..36997388b8 100644 --- a/CRM/Contact/Form/DedupeFind.php +++ b/CRM/Contact/Form/DedupeFind.php @@ -49,7 +49,6 @@ class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form { * Pre processing * * @return void - * @access public */ public function preProcess() { $this->rgid = CRM_Utils_Request::retrieve('rgid', 'Positive', $this, FALSE, 0); @@ -59,7 +58,6 @@ class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -88,7 +86,6 @@ class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/DedupeRules.php b/CRM/Contact/Form/DedupeRules.php index 9752d9c51c..c2e67bf1e5 100644 --- a/CRM/Contact/Form/DedupeRules.php +++ b/CRM/Contact/Form/DedupeRules.php @@ -48,7 +48,6 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { * Pre processing * * @return void - * @access public */ public function preProcess() { // Ensure user has permission to be here @@ -98,7 +97,6 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $foo = CRM_Core_DAO::getAttribute('CRM_Dedupe_DAO_Rule', 'title'); @@ -151,7 +149,6 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $errors = array(); @@ -178,7 +175,6 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array */ @@ -192,7 +188,6 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Domain.php b/CRM/Contact/Form/Domain.php index 491cb93bd9..9526a8d9d4 100644 --- a/CRM/Contact/Form/Domain.php +++ b/CRM/Contact/Form/Domain.php @@ -94,7 +94,6 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * @return void */ /** @@ -153,7 +152,6 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -190,7 +188,6 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -205,7 +202,6 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { // check for state/country mapping @@ -237,7 +233,6 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Edit/Address.php b/CRM/Contact/Form/Edit/Address.php index 98e7330e74..f67e165fb5 100644 --- a/CRM/Contact/Form/Edit/Address.php +++ b/CRM/Contact/Form/Edit/Address.php @@ -48,7 +48,6 @@ class CRM_Contact_Form_Edit_Address { * * @return void * - * @access public * @static */ public static function buildQuickForm(&$form, $addressBlockCount = NULL, $sharing = TRUE, $inlineEdit = FALSE) { @@ -261,7 +260,6 @@ class CRM_Contact_Form_Edit_Address { * * @return array|bool if no errors * - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -318,7 +316,6 @@ class CRM_Contact_Form_Edit_Address { * @param CRM_Core_Form $form form object * * @static - * @access public */ public static function setDefaultValues( &$defaults, &$form ) { $addressValues = array(); diff --git a/CRM/Contact/Form/Edit/CommunicationPreferences.php b/CRM/Contact/Form/Edit/CommunicationPreferences.php index 80e4fc78af..c109cae159 100644 --- a/CRM/Contact/Form/Edit/CommunicationPreferences.php +++ b/CRM/Contact/Form/Edit/CommunicationPreferences.php @@ -51,7 +51,6 @@ class CRM_Contact_Form_Edit_CommunicationPreferences { * @param CRM_Core_Form $form reference to the form object * * @return void - * @access public * @static */ public static function buildQuickForm(&$form) { @@ -138,7 +137,6 @@ class CRM_Contact_Form_Edit_CommunicationPreferences { * @param $self * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -160,7 +158,6 @@ class CRM_Contact_Form_Edit_CommunicationPreferences { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @param $defaults @@ -210,7 +207,6 @@ class CRM_Contact_Form_Edit_CommunicationPreferences { * @param $contactType * * @return void - * @access public */ public static function getGreetingFields($contactType) { if (empty(self::$greetings[$contactType])) { diff --git a/CRM/Contact/Form/Edit/CustomData.php b/CRM/Contact/Form/Edit/CustomData.php index c87e95ec86..f85087cdec 100644 --- a/CRM/Contact/Form/Edit/CustomData.php +++ b/CRM/Contact/Form/Edit/CustomData.php @@ -44,7 +44,6 @@ class CRM_Contact_Form_Edit_CustomData { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function preProcess(&$form) { $form->_type = CRM_Utils_Request::retrieve('type', 'String', CRM_Core_DAO::$_nullObject); @@ -72,7 +71,6 @@ class CRM_Contact_Form_Edit_CustomData { * @param CRM_Core_Form $form reference to the form object * * @return void - * @access public * @static */ public static function buildQuickForm(&$form) { @@ -105,7 +103,6 @@ class CRM_Contact_Form_Edit_CustomData { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @param $defaults diff --git a/CRM/Contact/Form/Edit/Demographics.php b/CRM/Contact/Form/Edit/Demographics.php index bf376ffe55..213e5ff6d3 100644 --- a/CRM/Contact/Form/Edit/Demographics.php +++ b/CRM/Contact/Form/Edit/Demographics.php @@ -44,7 +44,6 @@ class CRM_Contact_Form_Edit_Demographics { * @param CRM_Core_Form $form reference to the form object * * @return void - * @access public * @static */ public static function buildQuickForm(&$form) { @@ -69,7 +68,6 @@ class CRM_Contact_Form_Edit_Demographics { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @param $defaults diff --git a/CRM/Contact/Form/Edit/Email.php b/CRM/Contact/Form/Edit/Email.php index 0e1452d3d1..050e6a21ca 100644 --- a/CRM/Contact/Form/Edit/Email.php +++ b/CRM/Contact/Form/Edit/Email.php @@ -46,7 +46,6 @@ class CRM_Contact_Form_Edit_Email { * @param boolean $blockEdit is it block edit * * @return void - * @access public * @static */ public static function buildQuickForm(&$form, $blockCount = NULL, $blockEdit = FALSE) { diff --git a/CRM/Contact/Form/Edit/Household.php b/CRM/Contact/Form/Edit/Household.php index 22996758a5..e289cc9586 100644 --- a/CRM/Contact/Form/Edit/Household.php +++ b/CRM/Contact/Form/Edit/Household.php @@ -48,7 +48,6 @@ class CRM_Contact_Form_Edit_Household { * @param int $inlineEditMode ( 1 for contact summary * top bar form and 2 for display name edit ) * - * @access public * @return void */ public static function buildQuickForm(&$form, $inlineEditMode = NULL) { diff --git a/CRM/Contact/Form/Edit/IM.php b/CRM/Contact/Form/Edit/IM.php index b574de9edf..35171a0a8f 100644 --- a/CRM/Contact/Form/Edit/IM.php +++ b/CRM/Contact/Form/Edit/IM.php @@ -46,7 +46,6 @@ class CRM_Contact_Form_Edit_IM { * @param boolean $blockEdit is it block edit * * @return void - * @access public * @static */ public static function buildQuickForm(&$form, $blockCount = NULL, $blockEdit = FALSE) { diff --git a/CRM/Contact/Form/Edit/Individual.php b/CRM/Contact/Form/Edit/Individual.php index bd62769a89..dfc0eeac17 100644 --- a/CRM/Contact/Form/Edit/Individual.php +++ b/CRM/Contact/Form/Edit/Individual.php @@ -48,7 +48,6 @@ class CRM_Contact_Form_Edit_Individual { * @param int $inlineEditMode ( 1 for contact summary * top bar form and 2 for display name edit ) * - * @access public * @return void */ public static function buildQuickForm(&$form, $inlineEditMode = NULL) { @@ -150,7 +149,6 @@ class CRM_Contact_Form_Edit_Individual { * @param int $contactID * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $contactID = NULL) { diff --git a/CRM/Contact/Form/Edit/Lock.php b/CRM/Contact/Form/Edit/Lock.php index 2b746be588..fc304f9b07 100644 --- a/CRM/Contact/Form/Edit/Lock.php +++ b/CRM/Contact/Form/Edit/Lock.php @@ -44,7 +44,6 @@ class CRM_Contact_Form_Edit_Lock { * * @param CRM_Core_Form $form form object * - * @access public * @return void */ public static function buildQuickForm(&$form) { @@ -59,7 +58,6 @@ class CRM_Contact_Form_Edit_Lock { * @param int $contactID * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $contactID = NULL) { diff --git a/CRM/Contact/Form/Edit/Notes.php b/CRM/Contact/Form/Edit/Notes.php index a5512dc6fc..e19e7333e5 100644 --- a/CRM/Contact/Form/Edit/Notes.php +++ b/CRM/Contact/Form/Edit/Notes.php @@ -39,7 +39,6 @@ Class CRM_Contact_Form_Edit_Notes { * params object $form object of the form * * @static - * @access public */ public static function buildQuickForm(&$form) { $form->applyFilter('__ALL__', 'trim'); diff --git a/CRM/Contact/Form/Edit/OpenID.php b/CRM/Contact/Form/Edit/OpenID.php index 8c2609d86a..75f1132b43 100644 --- a/CRM/Contact/Form/Edit/OpenID.php +++ b/CRM/Contact/Form/Edit/OpenID.php @@ -46,7 +46,6 @@ class CRM_Contact_Form_Edit_OpenID { * @param boolean $blockEdit is it block edit * * @return void - * @access public * @static */ public static function buildQuickForm(&$form, $blockCount = NULL, $blockEdit = FALSE) { diff --git a/CRM/Contact/Form/Edit/Organization.php b/CRM/Contact/Form/Edit/Organization.php index ca095b2529..46f1f99a0b 100644 --- a/CRM/Contact/Form/Edit/Organization.php +++ b/CRM/Contact/Form/Edit/Organization.php @@ -48,7 +48,6 @@ class CRM_Contact_Form_Edit_Organization { * @param int $inlineEditMode ( 1 for contact summary * top bar form and 2 for display name edit ) * - * @access public * @return void */ public static function buildQuickForm(&$form, $inlineEditMode = NULL) { diff --git a/CRM/Contact/Form/Edit/Phone.php b/CRM/Contact/Form/Edit/Phone.php index 241353d710..2f60db0c45 100644 --- a/CRM/Contact/Form/Edit/Phone.php +++ b/CRM/Contact/Form/Edit/Phone.php @@ -46,7 +46,6 @@ class CRM_Contact_Form_Edit_Phone { * @param boolean $blockEdit is it block edit * * @return void - * @access public * @static */ public static function buildQuickForm(&$form, $addressBlockCount = NULL, $blockEdit = FALSE) { diff --git a/CRM/Contact/Form/Edit/TagsAndGroups.php b/CRM/Contact/Form/Edit/TagsAndGroups.php index 631aa88aaf..3c6086bee6 100644 --- a/CRM/Contact/Form/Edit/TagsAndGroups.php +++ b/CRM/Contact/Form/Edit/TagsAndGroups.php @@ -57,7 +57,6 @@ class CRM_Contact_Form_Edit_TagsAndGroups { * @param string $groupElementType * * @static - * @access public */ static function buildQuickForm(&$form, $contactId = 0, @@ -205,7 +204,6 @@ class CRM_Contact_Form_Edit_TagsAndGroups { * @param string $groupElementType * * @return void - * @access public * @static */ public static function setDefaults($id, &$defaults, $type = self::ALL, $fieldName = NULL, $groupElementType = 'checkbox') { @@ -248,7 +246,6 @@ class CRM_Contact_Form_Edit_TagsAndGroups { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @param $defaults diff --git a/CRM/Contact/Form/Edit/Website.php b/CRM/Contact/Form/Edit/Website.php index 92e1c1fc8a..7ca4f1919e 100644 --- a/CRM/Contact/Form/Edit/Website.php +++ b/CRM/Contact/Form/Edit/Website.php @@ -45,7 +45,6 @@ class CRM_Contact_Form_Edit_Website { * @param int $blockCount block number to build * * @return void - * @access public * @static */ public static function buildQuickForm(&$form, $blockCount = NULL) { diff --git a/CRM/Contact/Form/GroupContact.php b/CRM/Contact/Form/GroupContact.php index 9dcd5d4638..f8471467d6 100644 --- a/CRM/Contact/Form/GroupContact.php +++ b/CRM/Contact/Form/GroupContact.php @@ -63,7 +63,6 @@ class CRM_Contact_Form_GroupContact extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // get the list of all the groups @@ -116,7 +115,6 @@ class CRM_Contact_Form_GroupContact extends CRM_Core_Form { } /** - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Inline.php b/CRM/Contact/Form/Inline.php index 5bd326b6c9..e7a8227c0f 100644 --- a/CRM/Contact/Form/Inline.php +++ b/CRM/Contact/Form/Inline.php @@ -80,7 +80,6 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form { * Common form elements * * @return void - * @access public */ public function buildQuickForm() { CRM_Contact_Form_Inline_Lock::buildQuickForm($this, $this->_contactId); @@ -103,7 +102,6 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form { * Override default cancel action * * @return void - * @access public */ public function cancelAction() { $response = array('status' => 'cancel'); @@ -114,7 +112,6 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = $params = array(); diff --git a/CRM/Contact/Form/Inline/Address.php b/CRM/Contact/Form/Inline/Address.php index 8c226d1880..4f6bc5efab 100644 --- a/CRM/Contact/Form/Inline/Address.php +++ b/CRM/Contact/Form/Inline/Address.php @@ -123,7 +123,6 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline { * Build the form object elements for an address object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -134,7 +133,6 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = $this->_values; @@ -164,7 +162,6 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/CommunicationPreferences.php b/CRM/Contact/Form/Inline/CommunicationPreferences.php index 4d1e9f91be..2a38e35410 100644 --- a/CRM/Contact/Form/Inline/CommunicationPreferences.php +++ b/CRM/Contact/Form/Inline/CommunicationPreferences.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_ * Build the form object elements for communication preferences * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -54,7 +53,6 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_ * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = parent::setDefaultValues(); @@ -85,7 +83,6 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_ * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/ContactInfo.php b/CRM/Contact/Form/Inline/ContactInfo.php index 19daefc028..30c486823e 100644 --- a/CRM/Contact/Form/Inline/ContactInfo.php +++ b/CRM/Contact/Form/Inline/ContactInfo.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline { * Build the form object elements * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -56,7 +55,6 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { return parent::setDefaultValues(); @@ -66,7 +64,6 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/ContactName.php b/CRM/Contact/Form/Inline/ContactName.php index 666cf72c68..9895863da3 100644 --- a/CRM/Contact/Form/Inline/ContactName.php +++ b/CRM/Contact/Form/Inline/ContactName.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Inline_ContactName extends CRM_Contact_Form_Inline { * Build the form object elements * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -56,7 +55,6 @@ class CRM_Contact_Form_Inline_ContactName extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/CustomData.php b/CRM/Contact/Form/Inline/CustomData.php index 9f47ce4d2c..4bc42e68ba 100644 --- a/CRM/Contact/Form/Inline/CustomData.php +++ b/CRM/Contact/Form/Inline/CustomData.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline { * Custom group id * * @int - * @access public */ public $_groupID; @@ -72,7 +71,6 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline { * Build the form object elements for custom data * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -83,7 +81,6 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { return CRM_Custom_Form_CustomData::setDefaultValues($this); @@ -93,7 +90,6 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { // Process / save custom data diff --git a/CRM/Contact/Form/Inline/Demographics.php b/CRM/Contact/Form/Inline/Demographics.php index 2b78a17b4f..017c59b03f 100644 --- a/CRM/Contact/Form/Inline/Demographics.php +++ b/CRM/Contact/Form/Inline/Demographics.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Inline_Demographics extends CRM_Contact_Form_Inline { * Build the form object elements * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -53,7 +52,6 @@ class CRM_Contact_Form_Inline_Demographics extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/Email.php b/CRM/Contact/Form/Inline/Email.php index 2563fcc6d0..840d1bb52a 100644 --- a/CRM/Contact/Form/Inline/Email.php +++ b/CRM/Contact/Form/Inline/Email.php @@ -65,7 +65,6 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline { * Build the form object elements for an email object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -103,7 +102,6 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline { * @param array $errors list of errors to be posted back to the form * * @return array $errors@static - * @access public */ public static function formRule($fields, $errors) { $hasData = $hasPrimary = $errors = array(); @@ -135,7 +133,6 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -157,7 +154,6 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/IM.php b/CRM/Contact/Form/Inline/IM.php index eee47a20a9..7bdc279025 100644 --- a/CRM/Contact/Form/Inline/IM.php +++ b/CRM/Contact/Form/Inline/IM.php @@ -65,7 +65,6 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline { * Build the form object elements for im object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -103,7 +102,6 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline { * @param array $errors list of errors to be posted back to the form * * @return array $errors@static - * @access public */ public static function formRule($fields, $errors) { $hasData = $hasPrimary = $errors = array(); @@ -137,7 +135,6 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -158,7 +155,6 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/Lock.php b/CRM/Contact/Form/Inline/Lock.php index 745424b40c..2599856318 100644 --- a/CRM/Contact/Form/Inline/Lock.php +++ b/CRM/Contact/Form/Inline/Lock.php @@ -45,7 +45,6 @@ class CRM_Contact_Form_Inline_Lock { * @param CRM_Core_Form $form form object * @param int $contactID * - * @access public * @return void */ public static function buildQuickForm(&$form, $contactID) { @@ -70,7 +69,6 @@ class CRM_Contact_Form_Inline_Lock { * @param int $contactID * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $contactID = NULL) { diff --git a/CRM/Contact/Form/Inline/OpenID.php b/CRM/Contact/Form/Inline/OpenID.php index 6c220cb3cf..88fe65676d 100644 --- a/CRM/Contact/Form/Inline/OpenID.php +++ b/CRM/Contact/Form/Inline/OpenID.php @@ -65,7 +65,6 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline { * Build the form object elements for openID object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -103,7 +102,6 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline { * @param array $errors list of errors to be posted back to the form * * @return array $errors@static - * @access public */ public static function formRule($fields, $errors) { $hasData = $hasPrimary = $errors = array(); @@ -137,7 +135,6 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -158,7 +155,6 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/Phone.php b/CRM/Contact/Form/Inline/Phone.php index 9a81daa854..cd1ff6b00d 100644 --- a/CRM/Contact/Form/Inline/Phone.php +++ b/CRM/Contact/Form/Inline/Phone.php @@ -65,7 +65,6 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline { * Build the form object elements for phone object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -103,7 +102,6 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline { * @param array $errors list of errors to be posted back to the form * * @return array $errors@static - * @access public */ public static function formRule($fields, $errors) { $hasData = $hasPrimary = $errors = array(); @@ -138,7 +136,6 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -159,7 +156,6 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Inline/Website.php b/CRM/Contact/Form/Inline/Website.php index 79b4c39681..5f9e9394f4 100644 --- a/CRM/Contact/Form/Inline/Website.php +++ b/CRM/Contact/Form/Inline/Website.php @@ -64,7 +64,6 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline { * Build the form object elements for website object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -98,7 +97,6 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline { * Set defaults for the form * * @return array - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -120,7 +118,6 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Location.php b/CRM/Contact/Form/Location.php index 9bfbf0f990..5b20f3b2d3 100644 --- a/CRM/Contact/Form/Location.php +++ b/CRM/Contact/Form/Location.php @@ -79,7 +79,6 @@ class CRM_Contact_Form_Location { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function buildQuickForm(&$form) { // required for subsequent AJAX requests. diff --git a/CRM/Contact/Form/ProfileContact.php b/CRM/Contact/Form/ProfileContact.php index dde75bfd44..444853824f 100644 --- a/CRM/Contact/Form/ProfileContact.php +++ b/CRM/Contact/Form/ProfileContact.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_ProfileContact { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function preProcess(&$form) { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Contact/Form/RelatedContact.php b/CRM/Contact/Form/RelatedContact.php index 40f4da1187..fa3868302a 100644 --- a/CRM/Contact/Form/RelatedContact.php +++ b/CRM/Contact/Form/RelatedContact.php @@ -68,7 +68,6 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { // reset action from the session @@ -107,7 +106,6 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -119,7 +117,6 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $params = array(); @@ -159,7 +156,6 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form { /** * Form submission of new/edit contact is processed. * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index 0d4f3a25ce..0fd1093e00 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -214,7 +214,6 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { * Set default values for the form. Relationship that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -280,7 +279,6 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { * This function is used to add the rules for form. * * @return void - * @access public */ public function addRules() { if ($this->_cdType) { @@ -296,7 +294,6 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType) { @@ -402,7 +399,6 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { /** * This function is called when the form is submitted * - * @access public * * @return void */ @@ -546,7 +542,6 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { * @param array $params (reference ) an assoc array of name/value pairs * * @return mixed true or array of errors - * @access public * @static */ public static function dateRule($params) { diff --git a/CRM/Contact/Form/Search.php b/CRM/Contact/Form/Search.php index 02aab324fe..e44eaffeb0 100644 --- a/CRM/Contact/Form/Search.php +++ b/CRM/Contact/Form/Search.php @@ -63,7 +63,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The contextMenu * * @var array - * @access protected */ protected $_contextMenu; @@ -71,7 +70,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The groupId retrieved from the GET vars * * @var int - * @access public */ public $_groupID; @@ -80,7 +78,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * retrieved from the GET vars * * @var int - * @access protected */ protected $_amtgID; @@ -88,7 +85,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The saved search ID retrieved from the GET vars * * @var int - * @access protected */ protected $_ssID; @@ -96,7 +92,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The group elements * * @var array - * @access public */ public $_group; public $_groupElement; @@ -106,7 +101,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The tag elements * * @var array - * @access protected */ public $_tag; public $_tagElement; @@ -115,7 +109,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The params used for search * * @var array - * @access protected */ protected $_params; @@ -123,7 +116,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The return properties used for search * * @var array - * @access protected */ protected $_returnProperties; @@ -131,7 +123,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The sort by character * * @var string - * @access protected */ protected $_sortByCharacter; @@ -139,7 +130,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * The profile group id used for display * * @var integer - * @access protected */ protected $_ufGroupID; @@ -147,7 +137,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * Csv - common search values * * @var array - * @access protected * @static */ static $csv = array('contact_type', 'group', 'tag'); @@ -178,7 +167,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * Define the set of valid contexts that the search form operates on * * @return array the valid context set and the titles - * @access protected * @static */ public static function &validContext() { @@ -330,7 +318,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { /** * Build the common elements between the search/advanced form * - * @access public * * @return void */ @@ -481,7 +468,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { // set the various class variables @@ -737,7 +723,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * Common post processing * * @return void - * @access public */ public function postProcess() { /* @@ -876,7 +861,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Search'); diff --git a/CRM/Contact/Form/Search/Advanced.php b/CRM/Contact/Form/Search/Advanced.php index 662d8641aa..f5427ca01d 100644 --- a/CRM/Contact/Form/Search/Advanced.php +++ b/CRM/Contact/Form/Search/Advanced.php @@ -46,7 +46,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Advanced'); @@ -60,7 +59,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -181,7 +179,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -204,7 +201,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -236,7 +232,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { $this->set('isAdvanced', '1'); @@ -334,7 +329,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { * multiple purposes (queries, save/edit etc) * * @return void - * @access private */ public function normalizeFormValues() { $contactType = CRM_Utils_Array::value('contact_type', $this->_formValues); @@ -396,7 +390,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { * * @param $defaults array * @return array - * @access private */ public function normalizeDefaultValues(&$defaults) { if (!is_array($defaults)) { diff --git a/CRM/Contact/Form/Search/Basic.php b/CRM/Contact/Form/Search/Basic.php index 0b5e775f75..2177419d2f 100644 --- a/CRM/Contact/Form/Search/Basic.php +++ b/CRM/Contact/Form/Search/Basic.php @@ -47,7 +47,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { * csv - common search values * * @var array - * @access protected * @static */ static $csv = array('contact_type', 'group', 'tag'); @@ -55,7 +54,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -106,7 +104,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -138,7 +135,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -150,7 +146,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Basic'); @@ -169,7 +164,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { * This method is called for processing a submitted search form * * @return void - * @access public */ public function postProcess() { $this->set('isAdvanced', '0'); @@ -222,7 +216,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { * multiple purposes (queries, save/edit etc) * * @return void - * @access private */ public function normalizeFormValues() { $contactType = CRM_Utils_Array::value('contact_type', $this->_formValues); @@ -283,7 +276,6 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ /** * @return string diff --git a/CRM/Contact/Form/Search/Builder.php b/CRM/Contact/Form/Search/Builder.php index 92fafd0fb9..1d80132696 100644 --- a/CRM/Contact/Form/Search/Builder.php +++ b/CRM/Contact/Form/Search/Builder.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search { * Number of columns in where * * @var int - * @access public */ public $_columnCount; @@ -50,7 +49,6 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search { * Number of blocks to be shown * * @var int - * @access public */ public $_blockCount; @@ -58,7 +56,6 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search { * Build the form object * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Builder'); @@ -128,7 +125,6 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -145,7 +141,6 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $self) { if (!empty($values['addMore']) || !empty($values['addBlock'])) { @@ -322,7 +317,6 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $this->set('isAdvanced', '2'); diff --git a/CRM/Contact/Form/Search/Criteria.php b/CRM/Contact/Form/Search/Criteria.php index c99992c1c9..98112f70a4 100644 --- a/CRM/Contact/Form/Search/Criteria.php +++ b/CRM/Contact/Form/Search/Criteria.php @@ -512,7 +512,6 @@ class CRM_Contact_Form_Search_Criteria { * Generate the custom Data Fields based * on the is_searchable * - * @access private * * @param $form * diff --git a/CRM/Contact/Form/Search/Custom.php b/CRM/Contact/Form/Search/Custom.php index 7b62f26a93..d2299822b2 100644 --- a/CRM/Contact/Form/Search/Custom.php +++ b/CRM/Contact/Form/Search/Custom.php @@ -118,7 +118,6 @@ class CRM_Contact_Form_Search_Custom extends CRM_Contact_Form_Search { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -160,7 +159,6 @@ class CRM_Contact_Form_Search_Custom extends CRM_Contact_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ /** * @return string diff --git a/CRM/Contact/Form/Search/Custom/Basic.php b/CRM/Contact/Form/Search/Custom/Basic.php index 1ccb5b42f6..06e492a737 100644 --- a/CRM/Contact/Form/Search/Custom/Basic.php +++ b/CRM/Contact/Form/Search/Custom/Basic.php @@ -86,7 +86,6 @@ class CRM_Contact_Form_Search_Custom_Basic extends CRM_Contact_Form_Search_Custo * multiple purposes (queries, save/edit etc) * * @return void - * @access private */ public function normalize() { $contactType = CRM_Utils_Array::value('contact_type', $this->_formValues); diff --git a/CRM/Contact/Form/Task.php b/CRM/Contact/Form/Task.php index 9838d8e622..15913a3b2d 100644 --- a/CRM/Contact/Form/Task.php +++ b/CRM/Contact/Form/Task.php @@ -92,7 +92,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -330,7 +329,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { * Set default values for the form. Relationship that in edit/view action * the default values are retrieved from the database * - * @access public * * @return array */ @@ -343,7 +341,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { * This function is used to add the rules for form. * * @return void - * @access public */ public function addRules() { } @@ -352,7 +349,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addDefaultButtons(ts('Confirm Action')); @@ -361,7 +357,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -378,7 +373,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( @@ -399,7 +393,6 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { * Replace ids of household members in $this->_contactIds with the id of their household. * CRM-8338 * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/AddToGroup.php b/CRM/Contact/Form/Task/AddToGroup.php index ecd694b2ba..f6653f78ce 100644 --- a/CRM/Contact/Form/Task/AddToGroup.php +++ b/CRM/Contact/Form/Task/AddToGroup.php @@ -65,7 +65,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -80,7 +79,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -153,7 +151,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -171,7 +168,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -186,7 +182,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($params) { $errors = array(); @@ -204,7 +199,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/AddToHousehold.php b/CRM/Contact/Form/Task/AddToHousehold.php index 691c93b992..1ab5e2f34d 100644 --- a/CRM/Contact/Form/Task/AddToHousehold.php +++ b/CRM/Contact/Form/Task/AddToHousehold.php @@ -41,7 +41,6 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -56,7 +55,6 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -112,7 +110,6 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -181,7 +178,6 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task { * @param CRM_Core_Form $form * @param array $params This contains elements for search criteria * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/AddToOrganization.php b/CRM/Contact/Form/Task/AddToOrganization.php index b7e154c2b1..5c39564c35 100644 --- a/CRM/Contact/Form/Task/AddToOrganization.php +++ b/CRM/Contact/Form/Task/AddToOrganization.php @@ -41,7 +41,6 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -53,7 +52,6 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -114,7 +112,6 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/AddToTag.php b/CRM/Contact/Form/Task/AddToTag.php index d735f24f07..0ef308892b 100644 --- a/CRM/Contact/Form/Task/AddToTag.php +++ b/CRM/Contact/Form/Task/AddToTag.php @@ -57,7 +57,6 @@ class CRM_Contact_Form_Task_AddToTag extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -96,7 +95,6 @@ class CRM_Contact_Form_Task_AddToTag extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/AlterPreferences.php b/CRM/Contact/Form/Task/AlterPreferences.php index 1113fdbca5..8cabc53bf3 100644 --- a/CRM/Contact/Form/Task/AlterPreferences.php +++ b/CRM/Contact/Form/Task/AlterPreferences.php @@ -42,7 +42,6 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -69,7 +68,6 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -97,7 +95,6 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Batch.php b/CRM/Contact/Form/Task/Batch.php index 954df6931f..44aba708e8 100644 --- a/CRM/Contact/Form/Task/Batch.php +++ b/CRM/Contact/Form/Task/Batch.php @@ -72,7 +72,6 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -84,7 +83,6 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -168,7 +166,6 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Set default values for the form. * - * @access public * * @return array */ @@ -201,7 +198,6 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { * @param array $fields the input form values * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields) { @@ -226,7 +222,6 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Delete.php b/CRM/Contact/Form/Task/Delete.php index 32db1e7b4a..b4667134d6 100644 --- a/CRM/Contact/Form/Task/Delete.php +++ b/CRM/Contact/Form/Task/Delete.php @@ -57,7 +57,6 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { @@ -143,7 +142,6 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -181,7 +179,6 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task { * @param object $self form object * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -196,7 +193,6 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Email.php b/CRM/Contact/Form/Task/Email.php index 9a6aafa1a3..39516af5b8 100644 --- a/CRM/Contact/Form/Task/Email.php +++ b/CRM/Contact/Form/Task/Email.php @@ -96,7 +96,6 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { // store case id if present @@ -151,7 +150,6 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -166,7 +164,6 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/EmailCommon.php b/CRM/Contact/Form/Task/EmailCommon.php index d96623738a..d7d7b38b48 100644 --- a/CRM/Contact/Form/Task/EmailCommon.php +++ b/CRM/Contact/Form/Task/EmailCommon.php @@ -132,7 +132,6 @@ class CRM_Contact_Form_Task_EmailCommon { /** * Build the form object * - * @access public * * @param CRM_Core_Form $form * @@ -324,7 +323,6 @@ class CRM_Contact_Form_Task_EmailCommon { * @param array $self additional values form 'this' * * @return true if no errors, else array of errors - * @access public * */ public static function formRule($fields, $dontCare, $self) { @@ -348,7 +346,6 @@ class CRM_Contact_Form_Task_EmailCommon { /** * Process the form after the input has been submitted and validated * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/Contact/Form/Task/HookSample.php b/CRM/Contact/Form/Task/HookSample.php index c0fe1b3563..9ac268e6b1 100644 --- a/CRM/Contact/Form/Task/HookSample.php +++ b/CRM/Contact/Form/Task/HookSample.php @@ -43,7 +43,6 @@ class CRM_Contact_Form_Task_HookSample extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -76,7 +75,6 @@ AND c.id IN ( $contactIDs )"; /** * Build the form object - it consists of * - * @access public * * @return void */ @@ -87,7 +85,6 @@ AND c.id IN ( $contactIDs )"; /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Label.php b/CRM/Contact/Form/Task/Label.php index 0e91e1e1d7..9f72e7f322 100644 --- a/CRM/Contact/Form/Task/Label.php +++ b/CRM/Contact/Form/Task/Label.php @@ -43,7 +43,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->set('contactIds', $this->_contactIds); @@ -53,7 +52,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -111,7 +108,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -382,7 +378,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { * @param string $fileName The name of the file to save the label in * * @return null - * @access public */ public function createLabel(&$contactRows, &$format, $fileName = 'MailingLabels_CiviCRM.pdf') { $pdf = new CRM_Utils_PDF_Label($format, 'mm'); @@ -408,7 +403,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { * @param string $format format for which return properties build * * @return array of returnProperties - * @access public */ public function getReturnProperties(&$format) { $returnProperties = array(); diff --git a/CRM/Contact/Form/Task/LabelCommon.php b/CRM/Contact/Form/Task/LabelCommon.php index ca2f052270..deddce4850 100644 --- a/CRM/Contact/Form/Task/LabelCommon.php +++ b/CRM/Contact/Form/Task/LabelCommon.php @@ -65,7 +65,6 @@ class CRM_Contact_Form_Task_LabelCommon { * @param string $fileName The name of the file to save the label in * * @return null - * @access public */ public static function createLabel(&$contactRows, &$format, $fileName = 'MailingLabels_CiviCRM.pdf') { $pdf = new CRM_Utils_PDF_Label($format, 'mm'); @@ -96,7 +95,6 @@ class CRM_Contact_Form_Task_LabelCommon { * @param bool $mergeSameHousehold UNUSED * * @return array of rows for labels - * @access public */ public static function getRows($contactIDs, $locationTypeID, $respectDoNotMail, $mergeSameAddress, $mergeSameHousehold) { diff --git a/CRM/Contact/Form/Task/Map.php b/CRM/Contact/Form/Task/Map.php index b173934b37..45c73ed5e7 100644 --- a/CRM/Contact/Form/Task/Map.php +++ b/CRM/Contact/Form/Task/Map.php @@ -52,7 +52,6 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $cid = CRM_Utils_Request::retrieve('cid', 'Positive', @@ -117,7 +116,6 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -135,7 +133,6 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -151,7 +148,6 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task { * @param string $type * * @return string the location of the file we have created - * @access protected */ public static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Contact/Form/Task/Map/Event.php b/CRM/Contact/Form/Task/Map/Event.php index b6fe01fb9d..4297f4acc5 100644 --- a/CRM/Contact/Form/Task/Map/Event.php +++ b/CRM/Contact/Form/Task/Map/Event.php @@ -44,7 +44,6 @@ class CRM_Contact_Form_Task_Map_Event extends CRM_Contact_Form_Task_Map { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $ids = CRM_Utils_Request::retrieve('eid', 'Positive', @@ -63,7 +62,6 @@ class CRM_Contact_Form_Task_Map_Event extends CRM_Contact_Form_Task_Map { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string diff --git a/CRM/Contact/Form/Task/Merge.php b/CRM/Contact/Form/Task/Merge.php index e48baa3e01..59d34e3a69 100644 --- a/CRM/Contact/Form/Task/Merge.php +++ b/CRM/Contact/Form/Task/Merge.php @@ -43,7 +43,6 @@ class CRM_Contact_Form_Task_Merge extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); diff --git a/CRM/Contact/Form/Task/PDF.php b/CRM/Contact/Form/Task/PDF.php index 0aab33ab7b..f6862cd5b4 100644 --- a/CRM/Contact/Form/Task/PDF.php +++ b/CRM/Contact/Form/Task/PDF.php @@ -56,7 +56,6 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { @@ -91,7 +90,6 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task { * Set default values for the form. Relationship that in edit/view action * the default values are retrieved from the database * - * @access public * * @return void */ @@ -112,7 +110,6 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -125,7 +122,6 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index cae112cf4e..c0b4fc2594 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -45,7 +45,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function preProcess(&$form) { $messageText = array(); @@ -209,7 +208,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { * @param array $self additional values form 'this' * * @return true if no errors, else array of errors - * @access public * */ public static function formRule($fields, $dontCare, $self) { @@ -238,7 +236,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { /** * Part of the post process which prepare and extract information from the template * - * @access protected * * @param CRM_Core_Form $form * @@ -313,7 +310,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { /** * Process the form after the input has been submitted and validated * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/Contact/Form/Task/PickProfile.php b/CRM/Contact/Form/Task/PickProfile.php index 86ba93d346..efc7a18a1e 100644 --- a/CRM/Contact/Form/Task/PickProfile.php +++ b/CRM/Contact/Form/Task/PickProfile.php @@ -67,7 +67,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -99,7 +98,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -128,7 +126,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -143,7 +140,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { if (CRM_Core_BAO_UFField::checkProfileType($fields['uf_group_id'])) { @@ -160,7 +156,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Print.php b/CRM/Contact/Form/Task/Print.php index 4f2158b363..d620ccfb69 100644 --- a/CRM/Contact/Form/Task/Print.php +++ b/CRM/Contact/Form/Task/Print.php @@ -43,7 +43,6 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -109,7 +108,6 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -135,7 +133,6 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/ProximityCommon.php b/CRM/Contact/Form/Task/ProximityCommon.php index 8baa7cde54..ea85e71350 100644 --- a/CRM/Contact/Form/Task/ProximityCommon.php +++ b/CRM/Contact/Form/Task/ProximityCommon.php @@ -63,7 +63,6 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -75,7 +74,6 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @param CRM_Core_Form $form * @param $proxSearch @@ -115,7 +113,6 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { * @param CRM_Core_Form $form * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $form) { @@ -138,7 +135,6 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { /** * Set the default form values * - * @access protected * * @param CRM_Core_Form $form * diff --git a/CRM/Contact/Form/Task/RemoveFromGroup.php b/CRM/Contact/Form/Task/RemoveFromGroup.php index 8badd9ac64..ef518e8497 100644 --- a/CRM/Contact/Form/Task/RemoveFromGroup.php +++ b/CRM/Contact/Form/Task/RemoveFromGroup.php @@ -43,7 +43,6 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -59,7 +58,6 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -75,7 +73,6 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/RemoveFromTag.php b/CRM/Contact/Form/Task/RemoveFromTag.php index 805495c2bf..f83b6e9691 100644 --- a/CRM/Contact/Form/Task/RemoveFromTag.php +++ b/CRM/Contact/Form/Task/RemoveFromTag.php @@ -55,7 +55,6 @@ class CRM_Contact_Form_Task_RemoveFromTag extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -93,7 +92,6 @@ class CRM_Contact_Form_Task_RemoveFromTag extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Result.php b/CRM/Contact/Form/Task/Result.php index c7d191dd84..d3ba16472e 100644 --- a/CRM/Contact/Form/Task/Result.php +++ b/CRM/Contact/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -100,7 +99,6 @@ class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Contact/Form/Task/SMS.php b/CRM/Contact/Form/Task/SMS.php index be50d6197d..2478370ced 100644 --- a/CRM/Contact/Form/Task/SMS.php +++ b/CRM/Contact/Form/Task/SMS.php @@ -75,7 +75,6 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -89,7 +88,6 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/SMSCommon.php b/CRM/Contact/Form/Task/SMSCommon.php index a405d0092d..aa648beadd 100644 --- a/CRM/Contact/Form/Task/SMSCommon.php +++ b/CRM/Contact/Form/Task/SMSCommon.php @@ -85,7 +85,6 @@ class CRM_Contact_Form_Task_SMSCommon { /** * Build the form object * - * @access public * * @param CRM_Core_Form $form * @@ -307,7 +306,6 @@ class CRM_Contact_Form_Task_SMSCommon { * @param array $self additional values form 'this' * * @return true if no errors, else array of errors - * @access public * */ public static function formRule($fields, $dontCare, $self) { @@ -339,7 +337,6 @@ class CRM_Contact_Form_Task_SMSCommon { /** * Process the form after the input has been submitted and validated * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/Contact/Form/Task/SaveSearch.php b/CRM/Contact/Form/Task/SaveSearch.php index cdaa3f75d7..843084129e 100644 --- a/CRM/Contact/Form/Task/SaveSearch.php +++ b/CRM/Contact/Form/Task/SaveSearch.php @@ -50,7 +50,6 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { $this->_id = NULL; @@ -79,7 +78,6 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -146,7 +144,6 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/SaveSearch/Update.php b/CRM/Contact/Form/Task/SaveSearch/Update.php index 8cc290f355..634c3d6372 100644 --- a/CRM/Contact/Form/Task/SaveSearch/Update.php +++ b/CRM/Contact/Form/Task/SaveSearch/Update.php @@ -43,7 +43,6 @@ class CRM_Contact_Form_Task_SaveSearch_Update extends CRM_Contact_Form_Task_Save * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -62,7 +61,6 @@ class CRM_Contact_Form_Task_SaveSearch_Update extends CRM_Contact_Form_Task_Save * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ diff --git a/CRM/Contact/Form/Task/Unhold.php b/CRM/Contact/Form/Task/Unhold.php index 4171dfd541..bc389391a9 100644 --- a/CRM/Contact/Form/Task/Unhold.php +++ b/CRM/Contact/Form/Task/Unhold.php @@ -9,7 +9,6 @@ class CRM_Contact_Form_Task_Unhold extends CRM_Contact_Form_Task { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); diff --git a/CRM/Contact/Form/Task/Useradd.php b/CRM/Contact/Form/Task/Useradd.php index dac0f8b85c..fe37d8d376 100755 --- a/CRM/Contact/Form/Task/Useradd.php +++ b/CRM/Contact/Form/Task/Useradd.php @@ -67,7 +67,6 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -86,7 +85,6 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $element = $this->add('text', 'name', ts('Full Name'), array('class' => 'huge')); @@ -120,7 +118,6 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form { } /** - * @access public * * @return void */ diff --git a/CRM/Contact/Import/Field.php b/CRM/Contact/Import/Field.php index 20e6936f78..cc8840a0d6 100644 --- a/CRM/Contact/Import/Field.php +++ b/CRM/Contact/Import/Field.php @@ -31,7 +31,6 @@ class CRM_Contact_Import_Field { /**#@+ - * @access protected * @var string */ diff --git a/CRM/Contact/Import/Form/DataSource.php b/CRM/Contact/Import/Form/DataSource.php index 7cfdd3597b..60fb3962b9 100644 --- a/CRM/Contact/Import/Form/DataSource.php +++ b/CRM/Contact/Import/Form/DataSource.php @@ -51,7 +51,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { @@ -128,7 +127,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -300,7 +298,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form { * and then setup some common data structures for the next step * * @return void - * @access public */ public function postProcess() { $this->controller->resetPage('MapField'); @@ -377,7 +374,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form { * @param string $importTableName * * @return array - * @access private */ private function _prepareImportTable($db, $importTableName) { /* TODO: Add a check for an existing _status field; @@ -414,7 +410,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form { * * * @return string - * @access public */ public function getTitle() { return ts('Choose Data Source'); diff --git a/CRM/Contact/Import/Form/MapField.php b/CRM/Contact/Import/Form/MapField.php index f242eea605..1bba79e03b 100644 --- a/CRM/Contact/Import/Form/MapField.php +++ b/CRM/Contact/Import/Form/MapField.php @@ -44,7 +44,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * formatted custom field names. * * @var array - * @access protected */ protected $_formattedFieldNames; @@ -67,7 +66,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * @param mapperFields * * @return string - * @access public */ public function defaultFromColumnName($columnName, &$patterns) { @@ -96,7 +94,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $dataSource = $this->get('dataSource'); @@ -202,7 +199,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //to save the current mappings @@ -628,7 +624,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -665,7 +660,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues('MapField'); @@ -983,7 +977,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * @param $fields * * @return void - * @access public */ public function formatCustomFieldName(&$fields) { //CRM-2676, replacing the conflict for same custom field name from different custom group. diff --git a/CRM/Contact/Import/Form/Preview.php b/CRM/Contact/Import/Form/Preview.php index d5502bd19d..45d1a04884 100644 --- a/CRM/Contact/Import/Form/Preview.php +++ b/CRM/Contact/Import/Form/Preview.php @@ -43,7 +43,6 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //get the data from the session @@ -130,7 +129,6 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addElement('text', 'newGroupName', ts('Name for new group')); @@ -197,7 +195,6 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $errors = array(); @@ -242,7 +239,6 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { @@ -336,7 +332,6 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcessOld() { diff --git a/CRM/Contact/Import/Form/Summary.php b/CRM/Contact/Import/Form/Summary.php index e985336bdf..526843f595 100644 --- a/CRM/Contact/Import/Form/Summary.php +++ b/CRM/Contact/Import/Form/Summary.php @@ -42,7 +42,6 @@ class CRM_Contact_Import_Form_Summary extends CRM_Import_Form_Summary { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { // set the error message path to display @@ -114,7 +113,6 @@ class CRM_Contact_Import_Form_Summary extends CRM_Import_Form_Summary { * Clean up the import table we used * * @return void - * @access public */ public function postProcess() { $dao = new CRM_Core_DAO(); diff --git a/CRM/Contact/Import/Parser.php b/CRM/Contact/Import/Parser.php index 34726e17c6..d2254ca2b3 100644 --- a/CRM/Contact/Import/Parser.php +++ b/CRM/Contact/Import/Parser.php @@ -39,7 +39,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { protected $_tableName; /**#@+ - * @access protected * @var integer */ @@ -406,7 +405,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @param array mapped array of values * * @return void - * @access public */ public function setActiveFields($fieldKeys) { $this->_activeFieldCount = count($fieldKeys); @@ -456,7 +454,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @param array $elements IM service provider type ids * * @return void - * @access public */ public function setActiveFieldImProviders($elements) { for ($i = 0; $i < count($elements); $i++) { @@ -524,7 +521,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @param array $elements IM service provider type ids of related contact * * @return void - * @access public */ public function setActiveFieldRelatedContactImProvider($elements) { for ($i = 0; $i < count($elements); $i++) { @@ -536,7 +532,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * Format the field values for input to the api * * @return array (reference ) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -669,7 +664,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @param int $mode * * @return void - * @access public */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('rowCount', $this->_rowCount); @@ -734,7 +728,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @param array $data * * @return void - * @access public */ public static function exportCSV($fileName, $header, $data) { @@ -782,7 +775,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @param array $params * * @return void - * @access public */ public function updateImportRecord($id, &$params) { $statusFieldName = $this->_statusFieldName; diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 632aac6d1d..b6f05b95ea 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -126,7 +126,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function init() { $contactFields = CRM_Contact_BAO_Contact::importableFields($this->_contactType); @@ -249,7 +248,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean - * @access public */ public function mapField(&$values) { return CRM_Import_Parser::VALID; @@ -261,7 +259,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function preview(&$values) { return $this->summary($values); @@ -273,7 +270,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function summary(&$values) { $erroneousField = NULL; @@ -445,7 +441,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param bool $doGeocodeAddress * * @return boolean the result of this processing - * @access public */ public function import($onDuplicate, &$values, $doGeocodeAddress = FALSE) { $config = CRM_Core_Config::singleton(); @@ -1071,7 +1066,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * Get the array of successfully imported contact id's * * @return array - * @access public */ public function &getImportedContacts() { return $this->_newContacts; @@ -1081,7 +1075,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * Get the array of successfully imported related contact id's * * @return array - * @access public */ public function &getRelatedImportedContacts() { return $this->_newRelatedContacts; @@ -1091,7 +1084,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function fini() {} @@ -1104,7 +1096,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param null $csType * @param null $relationships * - * @access public */ public static function isErrorInCustomData($params, &$errorMessage, $csType = NULL, $relationships = NULL) { $session = CRM_Core_Session::singleton(); @@ -1292,7 +1283,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * retunr gender value / false * * @return bool - * @access public */ public function checkGender($gender) { $gender = trim($gender, '.'); @@ -1322,7 +1312,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param array $params * @param String $errorMessage A string containing all the error-fields. * - * @access public */ public function isErrorInCoreData($params, &$errorMessage) { foreach ($params as $key => $value) { @@ -1595,7 +1584,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * * @return bool * - * @access public */ public function in_value($value, $valueArray) { foreach ($valueArray as $key => $v) { @@ -1614,7 +1602,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param String $errorMessage A string containing all the error-fields, where the new errorName is concatenated. * * @static - * @access public */ public static function addToErrorMsg($errorName, &$errorMessage) { if ($errorMessage) { @@ -2041,7 +2028,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param $returnCode * * @return int - * @access public */ public function processMessage(&$values, $statusFieldName, $returnCode) { if (empty($this->_unparsedStreetAddressContacts)) { diff --git a/CRM/Contact/Page/DashBoard.php b/CRM/Contact/Page/DashBoard.php index 00e953ca26..858e91d2b0 100644 --- a/CRM/Contact/Page/DashBoard.php +++ b/CRM/Contact/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Contact_Page_DashBoard extends CRM_Core_Page { * Run dashboard * * @return void - * @access public */ public function run() { // Add dashboard js and css diff --git a/CRM/Contact/Page/Dashlet.php b/CRM/Contact/Page/Dashlet.php index 360db01a99..8aa512ad5b 100644 --- a/CRM/Contact/Page/Dashlet.php +++ b/CRM/Contact/Page/Dashlet.php @@ -43,7 +43,6 @@ class CRM_Contact_Page_Dashlet extends CRM_Core_Page { * Run dashboard * * @return void - * @access public */ public function run() { CRM_Utils_System::setTitle(ts('Dashlets')); diff --git a/CRM/Contact/Page/DedupeException.php b/CRM/Contact/Page/DedupeException.php index 5e3127e5be..dfa3925637 100644 --- a/CRM/Contact/Page/DedupeException.php +++ b/CRM/Contact/Page/DedupeException.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_DedupeException extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -83,7 +82,6 @@ class CRM_Contact_Page_DedupeException extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/DedupeFind.php b/CRM/Contact/Page/DedupeFind.php index a9939fa23a..71b7cb7451 100644 --- a/CRM/Contact/Page/DedupeFind.php +++ b/CRM/Contact/Page/DedupeFind.php @@ -58,7 +58,6 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic { * Browse all rule groups * * @return void - * @access public */ public function run() { $gid = CRM_Utils_Request::retrieve('gid', 'Positive', $this, FALSE, 0); @@ -315,7 +314,6 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic { * Browse all rule groups * * @return void - * @access public */ public function browse() { $this->assign('main_contacts', $this->_mainContacts); diff --git a/CRM/Contact/Page/DedupeRules.php b/CRM/Contact/Page/DedupeRules.php index 291e4746aa..f53f523208 100644 --- a/CRM/Contact/Page/DedupeRules.php +++ b/CRM/Contact/Page/DedupeRules.php @@ -100,7 +100,6 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic { * method. * * @return void - * @access public * */ public function run() { @@ -139,7 +138,6 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic { * Browse all rule groups * * @return void - * @access public */ public function browse() { // get all rule groups diff --git a/CRM/Contact/Page/Inline/Actions.php b/CRM/Contact/Page/Inline/Actions.php index 9e823391be..e13f19df79 100644 --- a/CRM/Contact/Page/Inline/Actions.php +++ b/CRM/Contact/Page/Inline/Actions.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Actions extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/Address.php b/CRM/Contact/Page/Inline/Address.php index 8f12515c61..7469c452de 100644 --- a/CRM/Contact/Page/Inline/Address.php +++ b/CRM/Contact/Page/Inline/Address.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Address extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/CommunicationPreferences.php b/CRM/Contact/Page/Inline/CommunicationPreferences.php index c3fb164e4f..fc2762a89c 100644 --- a/CRM/Contact/Page/Inline/CommunicationPreferences.php +++ b/CRM/Contact/Page/Inline/CommunicationPreferences.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_CommunicationPreferences extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/ContactInfo.php b/CRM/Contact/Page/Inline/ContactInfo.php index b7c3cd4d17..5a91dee7d8 100644 --- a/CRM/Contact/Page/Inline/ContactInfo.php +++ b/CRM/Contact/Page/Inline/ContactInfo.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_ContactInfo extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/ContactName.php b/CRM/Contact/Page/Inline/ContactName.php index eea3969777..5d347faab4 100644 --- a/CRM/Contact/Page/Inline/ContactName.php +++ b/CRM/Contact/Page/Inline/ContactName.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_ContactName extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/CustomData.php b/CRM/Contact/Page/Inline/CustomData.php index 4f4dd807b4..d12b456b5c 100644 --- a/CRM/Contact/Page/Inline/CustomData.php +++ b/CRM/Contact/Page/Inline/CustomData.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_CustomData extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/Demographics.php b/CRM/Contact/Page/Inline/Demographics.php index eed3eea412..3077ed74be 100644 --- a/CRM/Contact/Page/Inline/Demographics.php +++ b/CRM/Contact/Page/Inline/Demographics.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Demographics extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/Email.php b/CRM/Contact/Page/Inline/Email.php index d1a6510287..b08e6f10a6 100644 --- a/CRM/Contact/Page/Inline/Email.php +++ b/CRM/Contact/Page/Inline/Email.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Email extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/IM.php b/CRM/Contact/Page/Inline/IM.php index adc3948b9d..e948f66ea0 100644 --- a/CRM/Contact/Page/Inline/IM.php +++ b/CRM/Contact/Page/Inline/IM.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_IM extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/OpenID.php b/CRM/Contact/Page/Inline/OpenID.php index 803b345841..4a536cbe29 100644 --- a/CRM/Contact/Page/Inline/OpenID.php +++ b/CRM/Contact/Page/Inline/OpenID.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_OpenID extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/Phone.php b/CRM/Contact/Page/Inline/Phone.php index d0b027e27f..bc78e6112b 100644 --- a/CRM/Contact/Page/Inline/Phone.php +++ b/CRM/Contact/Page/Inline/Phone.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Phone extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Inline/Website.php b/CRM/Contact/Page/Inline/Website.php index 5ba6cb3ad4..c84b96baa9 100644 --- a/CRM/Contact/Page/Inline/Website.php +++ b/CRM/Contact/Page/Inline/Website.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Website extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Page/Task.php b/CRM/Contact/Page/Task.php index 6baba4c468..d5819d96af 100644 --- a/CRM/Contact/Page/Task.php +++ b/CRM/Contact/Page/Task.php @@ -46,7 +46,6 @@ class CRM_Contact_Page_Task extends CRM_Core_Page { * Returns the page title * * @return string the title of the page - * @access public */ public function getTitle() { return "Task Results"; diff --git a/CRM/Contact/Page/View.php b/CRM/Contact/Page/View.php index e4181691e2..9ee4cda25a 100644 --- a/CRM/Contact/Page/View.php +++ b/CRM/Contact/Page/View.php @@ -43,7 +43,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * The id of the object being viewed (note/relationship etc) * * @int - * @access protected */ protected $_id; @@ -51,7 +50,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * The contact id of the contact being viewed * * @int - * @access protected */ protected $_contactId; @@ -59,7 +57,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * The action that we are performing * * @string - * @access protected */ protected $_action; @@ -67,7 +64,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * The permission we have on this contact * * @string - * @access protected */ protected $_permission; @@ -76,7 +72,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -262,7 +257,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * @param int $contactId * * @return array contact fields in fixed order - * @access public */ public static function getContactDetails($contactId) { return list($displayName, diff --git a/CRM/Contact/Page/View/ContactSmartGroup.php b/CRM/Contact/Page/View/ContactSmartGroup.php index cd2c508108..f74d48658c 100644 --- a/CRM/Contact/Page/View/ContactSmartGroup.php +++ b/CRM/Contact/Page/View/ContactSmartGroup.php @@ -43,7 +43,6 @@ class CRM_Contact_Page_View_ContactSmartGroup extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $in = CRM_Contact_BAO_GroupContact::getContactGroup($this->_contactId, 'Added'); @@ -102,7 +101,6 @@ class CRM_Contact_Page_View_ContactSmartGroup extends CRM_Core_Page { * to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/CustomData.php b/CRM/Contact/Page/View/CustomData.php index e34670400e..c3d5263f6b 100644 --- a/CRM/Contact/Page/View/CustomData.php +++ b/CRM/Contact/Page/View/CustomData.php @@ -43,7 +43,6 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page { * The id of the object being viewed (note/relationship etc) * * @int - * @access protected */ public $_groupId; @@ -60,7 +59,6 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page { * Add a few specific things to view contact * * @return void - * @access public * */ public function preProcess() { @@ -87,7 +85,6 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page { * This method is called after the page is created. It checks for the * type of action and executes that action. * - * @access public * * @return void * @static diff --git a/CRM/Contact/Page/View/GroupContact.php b/CRM/Contact/Page/View/GroupContact.php index d407af0a76..1dfe5f518d 100644 --- a/CRM/Contact/Page/View/GroupContact.php +++ b/CRM/Contact/Page/View/GroupContact.php @@ -38,7 +38,6 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { @@ -76,7 +75,6 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page { * @param int $groupId * * return null - * @access public */ public function edit($groupId = NULL) { $controller = new CRM_Core_Controller_Simple( @@ -122,7 +120,6 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page { * to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/Log.php b/CRM/Contact/Page/View/Log.php index 4828627aa8..06a261885f 100644 --- a/CRM/Contact/Page/View/Log.php +++ b/CRM/Contact/Page/View/Log.php @@ -38,7 +38,6 @@ class CRM_Contact_Page_View_Log extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $loggingReport = CRM_Core_BAO_Log::useLoggingReport(); @@ -91,7 +90,6 @@ class CRM_Contact_Page_View_Log extends CRM_Core_Page { * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/Note.php b/CRM/Contact/Page/View/Note.php index 78b8fe55e0..71a693ecc8 100644 --- a/CRM/Contact/Page/View/Note.php +++ b/CRM/Contact/Page/View/Note.php @@ -59,7 +59,6 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { * View details of a note * * @return void - * @access public */ public function view() { $note = new CRM_Core_DAO_Note(); @@ -86,7 +85,6 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $note = new CRM_Core_DAO_Note(); @@ -166,7 +164,6 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { $controller = new CRM_Core_Controller_Simple('CRM_Note_Form_Note', ts('Contact Notes'), $this->_action); @@ -220,7 +217,6 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); @@ -244,7 +240,6 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { * Delete the note object from the db * * @return void - * @access public */ public function delete() { CRM_Core_BAO_Note::del($this->_id); diff --git a/CRM/Contact/Page/View/Print.php b/CRM/Contact/Page/View/Print.php index 8ed35da4b1..0c7dad9209 100644 --- a/CRM/Contact/Page/View/Print.php +++ b/CRM/Contact/Page/View/Print.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function run() { @@ -61,7 +60,6 @@ class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary { * View summary details of a contact * * @return void - * @access public */ public function view() { $params = array(); diff --git a/CRM/Contact/Page/View/Relationship.php b/CRM/Contact/Page/View/Relationship.php index 4e9d89619f..d6cac78bb5 100644 --- a/CRM/Contact/Page/View/Relationship.php +++ b/CRM/Contact/Page/View/Relationship.php @@ -57,7 +57,6 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { * * @return void * - * @access public */ public function view() { $viewRelationship = CRM_Contact_BAO_Relationship::getRelationship($this->_contactId, NULL, NULL, NULL, $this->_id); @@ -140,7 +139,6 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { // do nothing :) we are using datatable for rendering relationship selectors @@ -150,7 +148,6 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { $controller = new CRM_Core_Controller_Simple('CRM_Contact_Form_Relationship', ts('Contact Relationships'), $this->_action); @@ -207,7 +204,6 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); @@ -267,7 +263,6 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { * This function is called to delete the relationship of a contact * * return null - * @access public */ public function delete() { // calls a function to delete relationship diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index 4f265724bd..71ff4116e3 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -91,7 +90,6 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function run() { @@ -111,7 +109,6 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { * Edit name and address of a contact * * @return void - * @access public */ public function edit() { // set the userContext stack @@ -129,7 +126,6 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { * View summary details of a contact * * @return void - * @access public */ public function view() { // Add js for tabs, in-place editing, and jstree for tags diff --git a/CRM/Contact/Page/View/Sunlight.php b/CRM/Contact/Page/View/Sunlight.php index 61bd13644a..d94fba7b2a 100644 --- a/CRM/Contact/Page/View/Sunlight.php +++ b/CRM/Contact/Page/View/Sunlight.php @@ -38,7 +38,6 @@ class CRM_Contact_Page_View_Sunlight extends CRM_Contact_Page_View { * This function is called when action is browse * * return null - * @access public */ public function browse() { // get the primary city, state and zip for the contact @@ -58,7 +57,6 @@ class CRM_Contact_Page_View_Sunlight extends CRM_Contact_Page_View { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/Tag.php b/CRM/Contact/Page/View/Tag.php index 923b41a95e..33b6eef2f9 100644 --- a/CRM/Contact/Page/View/Tag.php +++ b/CRM/Contact/Page/View/Tag.php @@ -38,7 +38,6 @@ class CRM_Contact_Page_View_Tag extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $controller = new CRM_Core_Controller_Simple('CRM_Tag_Form_Tag', ts('Contact Tags'), $this->_action); @@ -70,7 +69,6 @@ class CRM_Contact_Page_View_Tag extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/UserDashBoard.php b/CRM/Contact/Page/View/UserDashBoard.php index 8a5f348d2f..a6cab59f11 100644 --- a/CRM/Contact/Page/View/UserDashBoard.php +++ b/CRM/Contact/Page/View/UserDashBoard.php @@ -92,7 +92,6 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public */ public function preProcess() { if (!$this->_contactId) { @@ -113,7 +112,6 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page { * Build user dashboard * * @return void - * @access public */ public function buildUserDashBoard() { //build component selectors @@ -205,7 +203,6 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page { * * @return void * - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/UserDashBoard/GroupContact.php b/CRM/Contact/Page/View/UserDashBoard/GroupContact.php index 598dd3850e..dcce9159ba 100644 --- a/CRM/Contact/Page/View/UserDashBoard/GroupContact.php +++ b/CRM/Contact/Page/View/UserDashBoard/GroupContact.php @@ -38,7 +38,6 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ * This function is called when action is browse * * return null - * @access public */ public function browse() { $count = CRM_Contact_BAO_GroupContact::getContactGroup( @@ -81,7 +80,6 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ * @param int $groupId * * return null - * @access public */ public function edit($groupId = NULL) { $this->assign('edit', $this->_edit); @@ -135,7 +133,6 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->edit(); diff --git a/CRM/Contact/Page/View/Useradd.php b/CRM/Contact/Page/View/Useradd.php index e62fb414fb..3a95d39ec8 100755 --- a/CRM/Contact/Page/View/Useradd.php +++ b/CRM/Contact/Page/View/Useradd.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_View_Useradd extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Contact/Selector.php b/CRM/Contact/Selector.php index 85c53f827e..9a8c0348b9 100644 --- a/CRM/Contact/Selector.php +++ b/CRM/Contact/Selector.php @@ -76,7 +76,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_formValues; @@ -84,7 +83,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * The contextMenu * * @var array - * @access protected */ protected $_contextMenu; @@ -92,7 +90,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * Params is the array in a value used by the search query creator * * @var array - * @access protected */ public $_params; @@ -100,7 +97,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * The return properties used for search * * @var array - * @access protected */ protected $_returnProperties; @@ -108,7 +104,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -127,7 +122,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * The public visible fields to be shown to the user * * @var array - * @access protected */ protected $_fields; @@ -146,7 +140,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * @param null $contextMenu * * @return CRM_Contact_Selector - * @access public */ function __construct( $customSearchClass, @@ -229,7 +222,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * - Edit * * @return array - * @access public * */ public static function &links() { @@ -305,7 +297,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Contact %%StatusMessage%%'); @@ -336,7 +327,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { $headers = NULL; @@ -488,7 +478,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { // Use count from cache during paging/sorting @@ -1082,7 +1071,6 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont reference) $formValues submitted formValues * * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -1107,7 +1095,6 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont * * * @return array $_columnHeaders - * @access private */ private static function &_getColumnHeaders() { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Contact/Selector/Controller.php b/CRM/Contact/Selector/Controller.php index 45d075d007..d791523e06 100644 --- a/CRM/Contact/Selector/Controller.php +++ b/CRM/Contact/Selector/Controller.php @@ -38,7 +38,6 @@ class CRM_Contact_Selector_Controller extends CRM_Core_Selector_Controller { * expect the subclass to do it * * @return string the status message - * @access public */ /** * @return string diff --git a/CRM/Contact/Selector/Custom.php b/CRM/Contact/Selector/Custom.php index 6afc9090cf..2bfa7e2c98 100644 --- a/CRM/Contact/Selector/Custom.php +++ b/CRM/Contact/Selector/Custom.php @@ -69,7 +69,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_formValues; @@ -77,7 +76,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * Params is the array in a value used by the search query creator * * @var array - * @access protected */ public $_params; @@ -85,7 +83,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -95,7 +92,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * The public visible fields to be shown to the user * * @var array - * @access protected */ protected $_fields; @@ -166,7 +162,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * - Edit * * @return array - * @access public * */ public static function &links() { @@ -212,7 +207,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Contact %%StatusMessage%%'); @@ -231,7 +225,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { $columns = $this->_search->columns(); @@ -262,7 +255,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_search->count(); @@ -380,7 +372,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { reference) $formValues submitted formValues * * @return array $qill which contains an array of strings - * @access public */ public function getQILL() { return NULL; diff --git a/CRM/Contact/StateMachine/Search.php b/CRM/Contact/StateMachine/Search.php index 1840e7aed9..ff8df96dc9 100644 --- a/CRM/Contact/StateMachine/Search.php +++ b/CRM/Contact/StateMachine/Search.php @@ -90,7 +90,6 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -115,7 +114,6 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { if (is_array($this->_task)) { diff --git a/CRM/Contact/Task.php b/CRM/Contact/Task.php index 635679dc12..175c630c58 100644 --- a/CRM/Contact/Task.php +++ b/CRM/Contact/Task.php @@ -281,7 +281,6 @@ class CRM_Contact_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &taskTitles() { self::initTasks(); @@ -317,7 +316,6 @@ class CRM_Contact_Task { * @param bool $deletedContacts are these tasks for operating on deleted contacts? * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission, $deletedContacts = FALSE) { self::initTasks(); @@ -360,7 +358,6 @@ class CRM_Contact_Task { * * @return array the set of optional tasks for a group of contacts * @static - * @access public */ public static function &optionalTaskTitle() { $tasks = array( diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 2d22dc04e9..9b90b51fb1 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -72,7 +72,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { /** * Class constructor * - * @access public * @return \CRM_Contribute_DAO_Contribution */ /** @@ -93,7 +92,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @param array $ids the array that holds all the db ids * * @return CRM_Contribute_BAO_Contribution object - * @access public * @static */ public static function add(&$params, $ids = array()) { @@ -224,7 +222,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @param array $ids the array that holds all the db ids * * @return CRM_Contribute_BAO_Contribution|null the found object or null - * @access public * @static */ public static function &getValues($params, &$values, &$ids) { @@ -295,7 +292,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @param array $ids the array that holds all the db ids * * @return CRM_Contribute_BAO_Contribution object - * @access public * @static */ public static function create(&$params, $ids = array()) { @@ -484,7 +480,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @param boolean $reverse true if we want to resolve the values in the reverse direction (value -> name) * * @return void - * @access public * @static */ public static function resolveDefaults(&$defaults, $reverse = FALSE) { @@ -535,7 +530,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @param array $ids (reference) the array that holds all the db ids * * @return CRM_Contribute_BAO_Contribution object - * @access public * @static */ public static function retrieve(&$params, &$defaults, &$ids) { @@ -554,7 +548,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @param bool $status * * @return array array of importable Fields - * @access public * @static */ public static function &importableFields($contactType = 'Individual', $status = TRUE) { @@ -839,7 +832,6 @@ INNER JOIN civicrm_contact contact ON ( contact.id = civicrm_contribution.conta * @param int $id * * @return boolean true if duplicate, false otherwise - * @access public * static */ public static function checkDuplicate($input, &$duplicates, $id = NULL) { @@ -892,7 +884,6 @@ INNER JOIN civicrm_contact contact ON ( contact.id = civicrm_contribution.conta * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contribute_BAO_ContributionProduct object - * @access public * @static */ public static function addPremium(&$params) { @@ -910,7 +901,6 @@ INNER JOIN civicrm_contact contact ON ( contact.id = civicrm_contribution.conta * * @return array the list of contribution fields * @static - * @access public */ public static function getContributionFields($addExtraFields = TRUE) { $contributionFields = CRM_Contribute_DAO_Contribution::export(); @@ -1007,7 +997,6 @@ GROUP BY p.id * * @return return the list of contribution fields * - * @access public * @static */ public static function getHonorContacts($honorId) { @@ -1045,7 +1034,6 @@ GROUP BY p.id * * @return null|string sort name of the contact if found * @static - * @access public */ public static function sortName($id) { $id = CRM_Utils_Type::escape($id, 'Integer'); @@ -1144,7 +1132,6 @@ WHERE civicrm_contribution.contact_id = civicrm_contact.id * @param array $params an assoc array of name/value pairs * * @return array contribution id if success else NULL - * @access public * static */ public static function checkDuplicateIds($params) { @@ -1177,7 +1164,6 @@ WHERE civicrm_contribution.contact_id = civicrm_contact.id * @return array associated array * * @static - * @access public */ public static function getContributionDetails($exportMode, $componentIds) { $paymentDetails = array(); @@ -1275,7 +1261,6 @@ LEFT JOIN civicrm_option_value contribution_status ON (civicrm_contribution.cont * @param int $contributionId * @param int $contactId * - * @access public * @static */ public static function deleteAddress($contributionId = NULL, $contactId = NULL) { @@ -1815,7 +1800,6 @@ LEFT JOIN civicrm_contribution contribution ON ( componentPayment.contribution_ * @param int $contributorId contributor id * * @return array $ids containing organization id and individual id - * @access public */ public static function getOnbehalfIds($contributionId, $contributorId = NULL) { @@ -2556,7 +2540,6 @@ WHERE contribution_id = %1 "; * @param bool $isNotCancelled * * @return boolean - * @access public * @static */ public static function isCancelSubscriptionSupported($contributionId, $isNotCancelled = TRUE) { @@ -2587,7 +2570,6 @@ WHERE contribution_id = %1 "; * @param int $contributionId contribution id * * @return string $status contribution status - * @access public * @static */ public static function isSubscriptionCancelled($contributionId) { @@ -2614,7 +2596,6 @@ WHERE contribution_id = %1 "; * @param array $financialTrxnValues * * @return null|object - * @access public * @static */ public static function recordFinancialAccounts(&$params, $financialTrxnValues = NULL) { @@ -2901,7 +2882,6 @@ WHERE contribution_id = %1 "; * * @param null $skipTrxn * - * @access public * @static */ public static function updateFinancialAccounts(&$params, $context = NULL, $skipTrxn = NULL) { @@ -3069,7 +3049,6 @@ WHERE contribution_id = %1 "; * @param array $errors list of errors * * @return bool - * @access public * @static */ public static function checkStatusValidation($values, &$fields, &$errors) { @@ -3100,7 +3079,6 @@ WHERE contribution_id = %1 "; * * @param integer $contactId contact id * - * @access public * @static */ public static function deleteContactContribution($contactId) { @@ -3159,7 +3137,6 @@ WHERE contribution_id = %1 "; * @param string $relationName * * @return array|bool - * @access public * @static */ public static function validateFinancialType($financialTypeId, $relationName = 'Expense Account is') { diff --git a/CRM/Contribute/BAO/Contribution/Utils.php b/CRM/Contribute/BAO/Contribution/Utils.php index 0880265169..acaa99b3cf 100644 --- a/CRM/Contribute/BAO/Contribution/Utils.php +++ b/CRM/Contribute/BAO/Contribution/Utils.php @@ -54,7 +54,6 @@ class CRM_Contribute_BAO_Contribution_Utils { * @return array associated array * * @static - * @access public */ static function processConfirm(&$form, &$paymentParams, @@ -377,7 +376,6 @@ class CRM_Contribute_BAO_Contribution_Utils { * @return array associated array * * @static - * @access public */ public static function contributionChartMonthly($param) { if ($param) { @@ -418,7 +416,6 @@ INNER JOIN civicrm_contact AS contact ON ( contact.id = contrib.contact_id ) * @return array associated array * * @static - * @access public */ public static function contributionChartYearly() { $config = CRM_Core_Config::singleton(); @@ -888,7 +885,6 @@ LIMIT 1 * * @return array array of tax amount * - * @access public * @static * */ diff --git a/CRM/Contribute/BAO/ContributionPage.php b/CRM/Contribute/BAO/ContributionPage.php index df24cc27c6..e904cfb586 100644 --- a/CRM/Contribute/BAO/ContributionPage.php +++ b/CRM/Contribute/BAO/ContributionPage.php @@ -44,7 +44,6 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contribute_DAO_ContributionPage object - * @access public * @static */ public static function &create(&$params) { @@ -119,7 +118,6 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio * @param null $fieldTypes * * @return void - * @access public * @static */ public static function sendMail($contactID, $values, $isTest = FALSE, $returnMessageText = FALSE, $fieldTypes = NULL) { @@ -465,7 +463,6 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio * @param bool|object $autoRenewMembership is it a auto renew membership. * * @return void - * @access public * @static */ public static function recurringNotify($type, $contactID, $pageID, $recur, $autoRenewMembership = FALSE) { @@ -565,7 +562,6 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio * @param null $fieldTypes * * @return void - * @access public * @static */ public static function buildCustomDisplay($gid, $name, $cid, &$template, &$params, $fieldTypes = NULL) { @@ -612,7 +608,6 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio * @param int $id the contribution page id to copy * * @return the copy object - * @access public * @static */ public static function copy($id) { @@ -709,7 +704,6 @@ WHERE entity_table = 'civicrm_contribution_page' * @return boolean true if payment processor supports recurring * else false * - * @access public * @static */ public static function checkRecurPaymentProcessor($contributionPageId) { @@ -733,7 +727,6 @@ WHERE entity_table = 'civicrm_contribution_page' * * @param array $contribPageIds * @return array $info info regarding all sections. - * @access public * @static */ public static function getSectionInfo($contribPageIds = array()) { diff --git a/CRM/Contribute/BAO/ContributionRecur.php b/CRM/Contribute/BAO/ContributionRecur.php index 3941477f95..fed004ad8e 100644 --- a/CRM/Contribute/BAO/ContributionRecur.php +++ b/CRM/Contribute/BAO/ContributionRecur.php @@ -40,7 +40,6 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi * @param array $params (reference ) an assoc array of name/value pairs * * @return object activity contact object - * @access public * */ public static function create(&$params) { @@ -57,7 +56,6 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contribute_BAO_Contribution object - * @access public * @static * @todo move hook calls / extended logic to create - requires changing calls to call create not add */ @@ -111,7 +109,6 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi * @param array $duplicates (reference ) store ids of duplicate contribs * * @return boolean true if duplicate, false otherwise - * @access public * static */ public static function checkDuplicate($params, &$duplicates) { @@ -181,7 +178,6 @@ SELECT r.payment_processor_id * @param array $ids (reference ) an array of recurring contribution ids * * @return array $totalCount an array of recurring ids count - * @access public * static */ public static function getCount(&$ids) { @@ -208,7 +204,6 @@ SELECT r.payment_processor_id * @param int $recurId * * @return bool - * @access public * @static */ public static function deleteRecurContribution($recurId) { @@ -234,7 +229,6 @@ SELECT r.payment_processor_id * @param array $activityParams * * @return bool - * @access public * @static */ public static function cancelRecurContribution($recurId, $objects, $activityParams = array()) { @@ -329,7 +323,6 @@ SELECT r.payment_processor_id * * @return array list of recurring contribution fields * - * @access public * @static */ public static function getRecurContributions($contactId) { diff --git a/CRM/Contribute/BAO/ContributionSoft.php b/CRM/Contribute/BAO/ContributionSoft.php index 6e1c2016a2..ad18669da4 100644 --- a/CRM/Contribute/BAO/ContributionSoft.php +++ b/CRM/Contribute/BAO/ContributionSoft.php @@ -47,7 +47,6 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio * @param array $params (reference ) an assoc array of name/value pairs * * @return object soft contribution of object that is added - * @access public * */ public static function add(&$params) { @@ -69,7 +68,6 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_ContributionSoft object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { diff --git a/CRM/Contribute/BAO/ManagePremiums.php b/CRM/Contribute/BAO/ManagePremiums.php index ea5aae5519..69243f513b 100644 --- a/CRM/Contribute/BAO/ManagePremiums.php +++ b/CRM/Contribute/BAO/ManagePremiums.php @@ -53,7 +53,6 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_ManagePremium object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -91,7 +90,6 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object diff --git a/CRM/Contribute/BAO/Premium.php b/CRM/Contribute/BAO/Premium.php index 5dcc72bb98..ce885108a3 100644 --- a/CRM/Contribute/BAO/Premium.php +++ b/CRM/Contribute/BAO/Premium.php @@ -55,7 +55,6 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_ManagePremium object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -246,7 +245,6 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium { * * @return array product and option arrays * @static - * @access public */ public static function getPremiumProductInfo() { if (!self::$productInfo) { diff --git a/CRM/Contribute/BAO/Query.php b/CRM/Contribute/BAO/Query.php index 39a217392d..39c42fdba6 100644 --- a/CRM/Contribute/BAO/Query.php +++ b/CRM/Contribute/BAO/Query.php @@ -69,7 +69,6 @@ class CRM_Contribute_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { // if contribute mode add contribution id @@ -956,7 +955,6 @@ class CRM_Contribute_BAO_Query { /** * Add all the elements shared between contribute search and advnaced search * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/Contribute/Form.php b/CRM/Contribute/Form.php index 6113cdafd2..234a2ef3a2 100644 --- a/CRM/Contribute/Form.php +++ b/CRM/Contribute/Form.php @@ -43,7 +43,6 @@ class CRM_Contribute_Form extends CRM_Admin_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array */ diff --git a/CRM/Contribute/Form/AdditionalInfo.php b/CRM/Contribute/Form/AdditionalInfo.php index 5d700cbb04..d6901270ff 100644 --- a/CRM/Contribute/Form/AdditionalInfo.php +++ b/CRM/Contribute/Form/AdditionalInfo.php @@ -37,7 +37,6 @@ class CRM_Contribute_Form_AdditionalInfo { /** * Build the form object for Premium Information. * - * @access public * * @param CRM_Core_Form $form * @@ -88,7 +87,6 @@ class CRM_Contribute_Form_AdditionalInfo { /** * Build the form object for Additional Details. * - * @access public * * @param CRM_Core_Form $form * @@ -176,7 +174,6 @@ class CRM_Contribute_Form_AdditionalInfo { * * Build the form object for PaymentReminders Information. * - * @access public * * @param CRM_Core_Form $form * @@ -196,7 +193,6 @@ class CRM_Contribute_Form_AdditionalInfo { /** * Process the Premium Information * - * @access public * * @param array $params * @param int $contributionID @@ -256,7 +252,6 @@ class CRM_Contribute_Form_AdditionalInfo { /** * Process the Note * - * @access public * * @param array $params * @param int $contactID @@ -284,7 +279,6 @@ class CRM_Contribute_Form_AdditionalInfo { /** * Process the Common data * - * @access public * * @param array $params * @param $formatted @@ -342,7 +336,6 @@ class CRM_Contribute_Form_AdditionalInfo { * @param array $params (reference ) an assoc array of name/value pairs. * @$ccContribution boolen, is it credit card contribution. * @param bool $ccContribution - * @access public. * * @return array */ diff --git a/CRM/Contribute/Form/CancelSubscription.php b/CRM/Contribute/Form/CancelSubscription.php index 84c9dbecca..4330dc7458 100644 --- a/CRM/Contribute/Form/CancelSubscription.php +++ b/CRM/Contribute/Form/CancelSubscription.php @@ -56,7 +56,6 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mid = CRM_Utils_Request::retrieve('mid', 'Integer', $this, FALSE); @@ -135,7 +134,6 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // Determine if we can cancel recurring contribution via API with this processor @@ -191,7 +189,6 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array('is_notify' => 1); @@ -201,7 +198,6 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index 7a29d3757c..57b4e4f67a 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -226,7 +226,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { @@ -484,7 +483,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //@todo document the purpose of cdType (if still in use) @@ -937,7 +935,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -996,7 +993,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index efb3c9a431..f3695f247c 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -160,7 +160,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $config = CRM_Core_Config::singleton(); @@ -439,7 +438,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->assignToTemplate(); @@ -636,7 +634,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * no help display needed * * @return int - * @access public */ public function getAction() { if ($this->_action & CRM_Core_Action::PREVIEW) { @@ -651,7 +648,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -661,7 +657,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * Process the form * * @return void - * @access public */ public function postProcess() { $contactID = $this->getContactID(); @@ -1066,7 +1061,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * @param $contribution * * @return void - * @access public */ public function postProcessPremium($premiumParams, $contribution) { $hour = $minute = $second = 0; @@ -1200,7 +1194,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * * @throws Exception * @return CRM_Contribute_DAO_Contribution - * @access public */ static function processContribution( &$form, @@ -1609,7 +1602,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * @param null $fields * * @return void - * @access public */ public static function processOnBehalfOrganization(&$behalfOrganization, &$contactID, &$values, &$params, $fields = NULL) { $isCurrentEmployer = FALSE; @@ -1715,7 +1707,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * @param object $contribution contribution object * * @static - * @access public */ public static function processPcpSoft(&$params, &$contribution) { //add soft contribution due to pcp or Submit Credit / Debit Card Contribution by admin. @@ -1749,7 +1740,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * * @return array * @static - * @access public */ public static function processPcp(&$page, $params) { $params['pcp_made_through_id'] = $page->_pcpId; diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 57c13d4db1..e9e684b16e 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -69,7 +69,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -188,7 +187,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu * Set the default values * * @return void - * @access public */ /** * @@ -377,7 +375,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // build profiles first so that we can determine address fields etc @@ -630,7 +627,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu /** * Build elements to enable pay on behalf of an organization. * - * @access public */ public function buildOnBehalfOrganization() { if ($this->_membershipContactID) { @@ -652,7 +648,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu /** * Build elements to collect information for recurring contributions * - * @access public * * @param CRM_Core_Form $form */ @@ -731,7 +726,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -1129,7 +1123,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Contribution/OnBehalfOf.php b/CRM/Contribute/Form/Contribution/OnBehalfOf.php index 7c8c3c58e1..d4de8f8508 100644 --- a/CRM/Contribute/Form/Contribution/OnBehalfOf.php +++ b/CRM/Contribute/Form/Contribution/OnBehalfOf.php @@ -40,7 +40,6 @@ class CRM_Contribute_Form_Contribution_OnBehalfOf { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function preProcess(&$form) { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Contribute/Form/Contribution/ThankYou.php b/CRM/Contribute/Form/Contribution/ThankYou.php index 134bfd381a..0af82d9324 100644 --- a/CRM/Contribute/Form/Contribution/ThankYou.php +++ b/CRM/Contribute/Form/Contribution/ThankYou.php @@ -48,7 +48,6 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -79,7 +78,6 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont * no help display needed * * @return int - * @access public */ public function getAction() { if ($this->_action & CRM_Core_Action::PREVIEW) { @@ -94,7 +92,6 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->assignToTemplate(); diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index e856c6b841..fd4e8e5cc8 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -200,7 +200,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $config = CRM_Core_Config::singleton(); @@ -523,7 +522,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * Set the default values * * @return void - * @access public */ public function setDefaultValues() { return $this->_defaults; @@ -533,7 +531,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * Assign the minimal set of variables to the template * * @return void - * @access public */ public function assignToTemplate() { $name = CRM_Utils_Array::value('billing_first_name', $this->_params); @@ -666,7 +663,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * @param null $fieldTypes * * @return void - * @access public */ public function buildCustom($id, $name, $viewOnly = FALSE, $profileContactType = NULL, $fieldTypes = NULL) { if ($id) { @@ -797,7 +793,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -812,7 +807,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * i.e. we dont override * * @return string - * @access public */ /** * @return string @@ -825,7 +819,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { /** * Authenticate pledge user during online payment. * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/ContributionCharts.php b/CRM/Contribute/Form/ContributionCharts.php index ccd6b2605a..ebbb8df6df 100644 --- a/CRM/Contribute/Form/ContributionCharts.php +++ b/CRM/Contribute/Form/ContributionCharts.php @@ -64,7 +64,6 @@ class CRM_Contribute_Form_ContributionCharts extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ @@ -101,7 +100,6 @@ class CRM_Contribute_Form_ContributionCharts extends CRM_Core_Form { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/ContributionPage.php b/CRM/Contribute/Form/ContributionPage.php index e5cc56fc8c..758ac84340 100644 --- a/CRM/Contribute/Form/ContributionPage.php +++ b/CRM/Contribute/Form/ContributionPage.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * The page id saved to the session for an update * * @var int - * @access protected */ protected $_id; @@ -50,7 +49,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * The pledgeBlock id saved to the session for an update * * @var int - * @access protected */ protected $_pledgeBlockID; @@ -58,7 +56,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Are we in single form mode or wizard mode? * * @var boolean - * @access protected */ protected $_single; @@ -66,7 +63,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Is this the first page? * * @var boolean - * @access protected */ protected $_first = FALSE; @@ -74,7 +70,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Store price set id. * * @var int - * @access protected */ protected $_priceSetID = NULL; @@ -84,7 +79,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { // current contribution page id @@ -145,7 +139,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->applyFilter('__ALL__', 'trim'); @@ -243,7 +236,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array defaults */ @@ -346,7 +338,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Process the form * * @return void - * @access public */ public function postProcess() { $pageId = $this->get('id'); @@ -439,7 +430,6 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string diff --git a/CRM/Contribute/Form/ContributionPage/AddProduct.php b/CRM/Contribute/Form/ContributionPage/AddProduct.php index 6bd3f45f10..b6a8c0d57b 100644 --- a/CRM/Contribute/Form/ContributionPage/AddProduct.php +++ b/CRM/Contribute/Form/ContributionPage/AddProduct.php @@ -45,7 +45,6 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For /** * Pre process the form * - * @access public * * @return void */ @@ -72,7 +71,6 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -115,7 +113,6 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $urlParams = 'civicrm/admin/contribute/premium'; @@ -231,7 +228,6 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -288,7 +284,6 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Add Premium to Contribution Page'); diff --git a/CRM/Contribute/Form/ContributionPage/Amount.php b/CRM/Contribute/Form/ContributionPage/Amount.php index 32ef5308c0..adbddf5627 100644 --- a/CRM/Contribute/Form/ContributionPage/Amount.php +++ b/CRM/Contribute/Form/ContributionPage/Amount.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_Co * Contribution amount block. * * @var array - * @access protected */ protected $_amountBlock = array(); @@ -55,7 +54,6 @@ class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_Co * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -188,7 +186,6 @@ SELECT id * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array */ @@ -280,7 +277,6 @@ SELECT id * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -407,7 +403,6 @@ SELECT id * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -759,7 +754,6 @@ SELECT id * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Amounts'); diff --git a/CRM/Contribute/Form/ContributionPage/Custom.php b/CRM/Contribute/Form/ContributionPage/Custom.php index ecec52598f..b3073cd601 100644 --- a/CRM/Contribute/Form/ContributionPage/Custom.php +++ b/CRM/Contribute/Form/ContributionPage/Custom.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -80,7 +79,6 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -110,7 +108,6 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -155,7 +152,6 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Include Profiles'); @@ -170,7 +166,6 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co * @param int $contributionPageId * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $contributionPageId) { diff --git a/CRM/Contribute/Form/ContributionPage/Delete.php b/CRM/Contribute/Form/ContributionPage/Delete.php index afd9e1e9a9..2a049470fd 100644 --- a/CRM/Contribute/Form/ContributionPage/Delete.php +++ b/CRM/Contribute/Form/ContributionPage/Delete.php @@ -55,7 +55,6 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //Check if there are contributions related to Contribution Page @@ -80,7 +79,6 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->_title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title'); @@ -109,7 +107,6 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co * Process the form when submitted * * @return void - * @access public */ public function postProcess() { $transaction = new CRM_Core_Transaction(); diff --git a/CRM/Contribute/Form/ContributionPage/Premium.php b/CRM/Contribute/Form/ContributionPage/Premium.php index 03a5822800..167aed4287 100644 --- a/CRM/Contribute/Form/ContributionPage/Premium.php +++ b/CRM/Contribute/Form/ContributionPage/Premium.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -64,7 +63,6 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $attributes = CRM_Core_DAO::getAttribute('CRM_Contribute_DAO_Premium'); @@ -116,7 +114,6 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C * @param array $params (ref.) an assoc array of name/value pairs * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params) { @@ -133,7 +130,6 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -165,7 +161,6 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Premiums'); diff --git a/CRM/Contribute/Form/ContributionPage/Settings.php b/CRM/Contribute/Form/ContributionPage/Settings.php index 2c51366a2a..868e8e4b17 100644 --- a/CRM/Contribute/Form/ContributionPage/Settings.php +++ b/CRM/Contribute/Form/ContributionPage/Settings.php @@ -38,7 +38,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -48,7 +47,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -116,7 +114,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -223,7 +220,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $self) { $errors = array(); @@ -295,7 +291,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -402,7 +397,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Title and Settings'); diff --git a/CRM/Contribute/Form/ContributionPage/ThankYou.php b/CRM/Contribute/Form/ContributionPage/ThankYou.php index 88354cf14d..0d67d17094 100644 --- a/CRM/Contribute/Form/ContributionPage/ThankYou.php +++ b/CRM/Contribute/Form/ContributionPage/ThankYou.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_ * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -56,7 +55,6 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_ * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->registerRule('emailList', 'callback', 'emailList', 'CRM_Utils_Rule'); @@ -99,7 +97,6 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_ * @param array $options additional user data * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $options) { @@ -120,7 +117,6 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_ * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -144,7 +140,6 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_ * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Thanks and Receipt'); diff --git a/CRM/Contribute/Form/ContributionPage/Widget.php b/CRM/Contribute/Form/ContributionPage/Widget.php index f85e3785ab..62bc842ac9 100644 --- a/CRM/Contribute/Form/ContributionPage/Widget.php +++ b/CRM/Contribute/Form/ContributionPage/Widget.php @@ -132,7 +132,6 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -214,7 +213,6 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co * @param $self * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $self) { @@ -267,7 +265,6 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Widget Settings'); diff --git a/CRM/Contribute/Form/ContributionView.php b/CRM/Contribute/Form/ContributionView.php index 9515948618..6372e0371c 100644 --- a/CRM/Contribute/Form/ContributionView.php +++ b/CRM/Contribute/Form/ContributionView.php @@ -43,7 +43,6 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $id = $this->get('id'); @@ -203,7 +202,6 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { diff --git a/CRM/Contribute/Form/ManagePremiums.php b/CRM/Contribute/Form/ManagePremiums.php index 50b9246b51..869b514258 100644 --- a/CRM/Contribute/Form/ManagePremiums.php +++ b/CRM/Contribute/Form/ManagePremiums.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { /** * Pre process the form * - * @access public * * @return void */ @@ -54,7 +53,6 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { * Set default values for the form. Manage Premiums that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -90,7 +88,6 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm( ); @@ -212,7 +209,6 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { * @param $files * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files) { @@ -274,7 +270,6 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { /** * Process the form submission * - * @access public * * @return void */ @@ -353,7 +348,6 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { /** * Resize a premium image to a different size * - * @access private * * @param string $filename * @param string $resizedName diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index e088322b4b..1d60a60d04 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -46,14 +46,12 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -61,7 +59,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -78,7 +75,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { $this->set('searchFormName', 'Search'); @@ -176,7 +172,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -245,7 +240,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -460,7 +454,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Contributions'); diff --git a/CRM/Contribute/Form/SearchContribution.php b/CRM/Contribute/Form/SearchContribution.php index 686ce762a8..6fdca88567 100644 --- a/CRM/Contribute/Form/SearchContribution.php +++ b/CRM/Contribute/Form/SearchContribution.php @@ -37,7 +37,6 @@ class CRM_Contribute_Form_SearchContribution extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/SoftCredit.php b/CRM/Contribute/Form/SoftCredit.php index 6757b5d328..1abdaa0011 100644 --- a/CRM/Contribute/Form/SoftCredit.php +++ b/CRM/Contribute/Form/SoftCredit.php @@ -44,7 +44,6 @@ class CRM_Contribute_Form_SoftCredit { * @param CRM_Core_Form $form * * @return void - * @access static */ public static function preProcess(&$form) { $contriDAO = new CRM_Contribute_DAO_Contribution(); @@ -71,7 +70,6 @@ class CRM_Contribute_Form_SoftCredit { * Function used to build form element for soft credit block * * @param CRM_Core_Form $form - * @access public * * @return void */ @@ -200,7 +198,6 @@ class CRM_Contribute_Form_SoftCredit { * @param $self * * @return array of errors - * @access public * @static */ public static function formRule($fields, $errors, $self) { diff --git a/CRM/Contribute/Form/Task.php b/CRM/Contribute/Form/Task.php index 1c5205e661..3123652751 100644 --- a/CRM/Contribute/Form/Task.php +++ b/CRM/Contribute/Form/Task.php @@ -94,7 +94,6 @@ class CRM_Contribute_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -206,7 +205,6 @@ class CRM_Contribute_Form_Task extends CRM_Core_Form { * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Contribute/Form/Task/Batch.php b/CRM/Contribute/Form/Task/Batch.php index 42b96429ff..f80750bf7a 100644 --- a/CRM/Contribute/Form/Task/Batch.php +++ b/CRM/Contribute/Form/Task/Batch.php @@ -61,7 +61,6 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -88,7 +87,6 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -193,7 +191,6 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { /** * Set default values for the form. * - * @access public * * @return void */ @@ -214,7 +211,6 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Task/Delete.php b/CRM/Contribute/Form/Task/Delete.php index 78a192511b..8e9aa181f1 100644 --- a/CRM/Contribute/Form/Task/Delete.php +++ b/CRM/Contribute/Form/Task/Delete.php @@ -52,7 +52,6 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { //check for delete if (!CRM_Core_Permission::checkActionPermission('CiviContribute', CRM_Core_Action::DELETE)) { @@ -64,7 +63,6 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -75,7 +73,6 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Task/Email.php b/CRM/Contribute/Form/Task/Email.php index e00b288673..cf11da066b 100644 --- a/CRM/Contribute/Form/Task/Email.php +++ b/CRM/Contribute/Form/Task/Email.php @@ -60,7 +60,6 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); parent::preProcess(); @@ -74,7 +73,6 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -88,7 +86,6 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Task/Invoice.php b/CRM/Contribute/Form/Task/Invoice.php index 6d008888ba..2cb85cb9f4 100644 --- a/CRM/Contribute/Form/Task/Invoice.php +++ b/CRM/Contribute/Form/Task/Invoice.php @@ -48,21 +48,18 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { /** * Gives all the statues for conribution * - * @access public */ public $_contributionStatusId; /** * Gives the HTML template of PDF Invoice * - * @access public */ public $_messageInvoice; /** * This variable is used to assign parameters for HTML template of PDF Invoice * - * @access public */ public $_invoiceTemplate; @@ -75,7 +72,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE); @@ -147,7 +143,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -233,7 +228,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values) { $errors = array(); @@ -248,7 +242,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -606,7 +599,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * @param string $fileName gives the location with name of the file * @param array $params for invoices * - * @access public * @static */ static public function addActivities($subject, $contactIds, $fileName, $params) { diff --git a/CRM/Contribute/Form/Task/PDF.php b/CRM/Contribute/Form/Task/PDF.php index f48ed71234..4f7ff0b0bb 100644 --- a/CRM/Contribute/Form/Task/PDF.php +++ b/CRM/Contribute/Form/Task/PDF.php @@ -52,7 +52,6 @@ class CRM_Contribute_Form_Task_PDF extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { $id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE @@ -102,7 +101,6 @@ AND {$this->_componentClause}"; /** * Build the form object * - * @access public * * @return void */ @@ -147,7 +145,6 @@ AND {$this->_componentClause}"; /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -238,7 +235,6 @@ AND {$this->_componentClause}"; /** * Declaration of common variables for Invoice and PDF * - * @access public * * @param array $contribIds Contribution Id * @param array $params parameter for pdf or email invoices @@ -246,7 +242,6 @@ AND {$this->_componentClause}"; * * @return array array of common elements * - * @access public * @static */ static public function getElements($contribIds, $params, $contactIds) { diff --git a/CRM/Contribute/Form/Task/PDFLetter.php b/CRM/Contribute/Form/Task/PDFLetter.php index 7dde505bd3..dd4efae0d8 100644 --- a/CRM/Contribute/Form/Task/PDFLetter.php +++ b/CRM/Contribute/Form/Task/PDFLetter.php @@ -54,7 +54,6 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->skipOnHold = $this->skipDeceased = FALSE; @@ -107,7 +106,6 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -165,7 +163,6 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Task/PDFLetterCommon.php b/CRM/Contribute/Form/Task/PDFLetterCommon.php index 16c130e8b9..74950e7393 100644 --- a/CRM/Contribute/Form/Task/PDFLetterCommon.php +++ b/CRM/Contribute/Form/Task/PDFLetterCommon.php @@ -9,7 +9,6 @@ class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDF /** * Process the form after the input has been submitted and validated * - * @access public * * @param CRM_Contribute_Form_Task $form * diff --git a/CRM/Contribute/Form/Task/PickProfile.php b/CRM/Contribute/Form/Task/PickProfile.php index e6e7d6ff7f..3a1e78f103 100644 --- a/CRM/Contribute/Form/Task/PickProfile.php +++ b/CRM/Contribute/Form/Task/PickProfile.php @@ -61,7 +61,6 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -89,7 +88,6 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -113,7 +111,6 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -128,7 +125,6 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { return TRUE; @@ -137,7 +133,6 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Task/Print.php b/CRM/Contribute/Form/Task/Print.php index 4d8bd034bf..39061b0e18 100644 --- a/CRM/Contribute/Form/Task/Print.php +++ b/CRM/Contribute/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_Task_Print extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -71,7 +70,6 @@ class CRM_Contribute_Form_Task_Print extends CRM_Contribute_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Contribute_Form_Task_Print extends CRM_Contribute_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/Task/Result.php b/CRM/Contribute/Form/Task/Result.php index 525874044a..a5c4001528 100644 --- a/CRM/Contribute/Form/Task/Result.php +++ b/CRM/Contribute/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Contribute_Form_Task_Result extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() {} @@ -52,7 +51,6 @@ class CRM_Contribute_Form_Task_Result extends CRM_Contribute_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Contribute/Form/Task/SearchTaskHookSample.php b/CRM/Contribute/Form/Task/SearchTaskHookSample.php index 970bfae81f..8bc732482f 100644 --- a/CRM/Contribute/Form/Task/SearchTaskHookSample.php +++ b/CRM/Contribute/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Contribute_Form_Task_SearchTaskHookSample extends CRM_Contribute_Form_ * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -78,7 +77,6 @@ INNER JOIN civicrm_contact ct ON ( co.contact_id = ct.id ) * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Contribute/Form/Task/Status.php b/CRM/Contribute/Form/Task/Status.php index 3e9be9c478..946c281cfb 100644 --- a/CRM/Contribute/Form/Task/Status.php +++ b/CRM/Contribute/Form/Task/Status.php @@ -52,7 +52,6 @@ class CRM_Contribute_Form_Task_Status extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $id = CRM_Utils_Request::retrieve('id', 'Positive', @@ -90,7 +89,6 @@ AND {$this->_componentClause}"; /** * Build the form object * - * @access public * * @return void */ @@ -189,7 +187,6 @@ AND co.id IN ( $contribIDs )"; * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $seen = $errors = array(); @@ -217,7 +214,6 @@ AND co.id IN ( $contribIDs )"; /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Contribute/Form/UpdateBilling.php b/CRM/Contribute/Form/UpdateBilling.php index eba70a1d78..4d3833d52a 100644 --- a/CRM/Contribute/Form/UpdateBilling.php +++ b/CRM/Contribute/Form/UpdateBilling.php @@ -59,7 +59,6 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mid = CRM_Utils_Request::retrieve('mid', 'Integer', $this, FALSE); @@ -188,7 +187,6 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $type = 'next'; @@ -222,7 +220,6 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -239,7 +236,6 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form { * Process the form * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues($this->_name); diff --git a/CRM/Contribute/Form/UpdateSubscription.php b/CRM/Contribute/Form/UpdateSubscription.php index 5caa0e0809..26405c3dc9 100644 --- a/CRM/Contribute/Form/UpdateSubscription.php +++ b/CRM/Contribute/Form/UpdateSubscription.php @@ -127,7 +127,6 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -145,7 +144,6 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { * Actually build the components of the form * * @return void - * @access public */ public function buildQuickForm() { // define the fields @@ -184,7 +182,6 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { /** * This function is called after the user submits the form * - * @access public * * @return void */ diff --git a/CRM/Contribute/Import/Field.php b/CRM/Contribute/Import/Field.php index 9fcdddf847..6523df2db7 100644 --- a/CRM/Contribute/Import/Field.php +++ b/CRM/Contribute/Import/Field.php @@ -35,7 +35,6 @@ class CRM_Contribute_Import_Field { /**#@+ - * @access protected * @var string */ diff --git a/CRM/Contribute/Import/Form/DataSource.php b/CRM/Contribute/Import/Form/DataSource.php index 09fee8e2b0..0ddc908a98 100644 --- a/CRM/Contribute/Import/Form/DataSource.php +++ b/CRM/Contribute/Import/Form/DataSource.php @@ -42,7 +42,6 @@ class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -55,7 +54,6 @@ class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //Setting Upload File Size @@ -153,7 +151,6 @@ class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $this->controller->resetPage('MapField'); @@ -194,7 +191,6 @@ class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Upload Data'); diff --git a/CRM/Contribute/Import/Form/MapField.php b/CRM/Contribute/Import/Form/MapField.php index 01b4b2bc5b..ec082bcc3d 100644 --- a/CRM/Contribute/Import/Form/MapField.php +++ b/CRM/Contribute/Import/Form/MapField.php @@ -45,7 +45,6 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mapperFields = $this->get('fields'); @@ -103,7 +102,6 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //to save the current mappings @@ -346,7 +344,6 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $errors = array(); @@ -474,7 +471,6 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues('MapField'); diff --git a/CRM/Contribute/Import/Form/Preview.php b/CRM/Contribute/Import/Form/Preview.php index 65a08b7cba..843682bce2 100644 --- a/CRM/Contribute/Import/Form/Preview.php +++ b/CRM/Contribute/Import/Form/Preview.php @@ -43,7 +43,6 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader'); @@ -111,7 +110,6 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $fileName = $this->controller->exportValue('DataSource', 'uploadFile'); diff --git a/CRM/Contribute/Import/Form/Summary.php b/CRM/Contribute/Import/Form/Summary.php index ddf78d268a..9b8ee3da51 100644 --- a/CRM/Contribute/Import/Form/Summary.php +++ b/CRM/Contribute/Import/Form/Summary.php @@ -42,7 +42,6 @@ class CRM_Contribute_Import_Form_Summary extends CRM_Import_Form_Summary { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { // set the error message path to display diff --git a/CRM/Contribute/Import/Parser.php b/CRM/Contribute/Import/Parser.php index 5acbce2592..add1b7bac8 100644 --- a/CRM/Contribute/Import/Parser.php +++ b/CRM/Contribute/Import/Parser.php @@ -405,7 +405,6 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser { * @param array mapped array of values * * @return void - * @access public */ public function setActiveFields($fieldKeys) { $this->_activeFieldCount = count($fieldKeys); @@ -441,7 +440,6 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser { * Format the field values for input to the api * * @return array (reference ) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -499,7 +497,6 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser { * @param int $mode * * @return void - * @access public */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('fileSize', $this->_fileSize); @@ -568,7 +565,6 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser { * @param array $data * * @return void - * @access public */ public static function exportCSV($fileName, $header, $data) { $output = array(); diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index 29d69bf6cd..fc7fc5e125 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -68,7 +68,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * The initializer code, called before the processing * * @return void - * @access public */ public function init() { $fields = CRM_Contribute_BAO_Contribution::importableFields($this->_contactType, FALSE); @@ -141,7 +140,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * @param array $values the array of values belonging to this line * * @return boolean - * @access public */ public function mapField(&$values) { return CRM_Import_Parser::VALID; @@ -153,7 +151,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function preview(&$values) { return $this->summary($values); @@ -165,7 +162,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function summary(&$values) { $erroneousField = NULL; @@ -242,7 +238,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function import($onDuplicate, &$values) { // first make sure this is a valid line @@ -592,7 +587,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * Get the array of successfully imported contribution id's * * @return array - * @access public */ public function &getImportedContributions() { return $this->_newContributions; @@ -602,7 +596,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * The initializer code, called before the processing * * @return void - * @access public */ public function fini() {} } diff --git a/CRM/Contribute/Info.php b/CRM/Contribute/Info.php index 4bb93b88c5..753f7f79ae 100644 --- a/CRM/Contribute/Info.php +++ b/CRM/Contribute/Info.php @@ -48,7 +48,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * class. * * @return array collection of required component settings - * @access public * */ /** @@ -76,7 +75,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * @param bool $getAllUnconditionally * * @return array|null collection of permissions, null if none - * @access public */ /** * @param bool $getAllUnconditionally @@ -114,7 +112,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -135,7 +132,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -155,7 +151,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * @access public * */ /** @@ -176,7 +171,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * @access public * */ /** diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index 9afd4d7036..c9f31ae113 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -272,7 +272,6 @@ class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -371,7 +370,6 @@ AND cp.page_type = 'contribute' * all the fields in the page * * @return void - * @access public */ public function copy() { $gid = CRM_Utils_Request::retrieve('gid', 'Positive', @@ -389,7 +387,6 @@ AND cp.page_type = 'contribute' * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/Contribute/Page/ContributionRecur.php b/CRM/Contribute/Page/ContributionRecur.php index c84db105e8..5bdf68f692 100644 --- a/CRM/Contribute/Page/ContributionRecur.php +++ b/CRM/Contribute/Page/ContributionRecur.php @@ -47,7 +47,6 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page { * View details of a recurring contribution * * @return void - * @access public */ function view() { $recur = new CRM_Contribute_DAO_ContributionRecur(); $recur->id = $this->_id; @@ -95,7 +94,6 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contribute/Page/DashBoard.php b/CRM/Contribute/Page/DashBoard.php index f256b11d2a..715a49869e 100644 --- a/CRM/Contribute/Page/DashBoard.php +++ b/CRM/Contribute/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Contribute_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -105,7 +104,6 @@ class CRM_Contribute_Page_DashBoard extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contribute/Page/ManagePremiums.php b/CRM/Contribute/Page/ManagePremiums.php index 25a12d9ea3..604d758585 100644 --- a/CRM/Contribute/Page/ManagePremiums.php +++ b/CRM/Contribute/Page/ManagePremiums.php @@ -106,7 +106,6 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -139,7 +138,6 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Contribute/Page/Premium.php b/CRM/Contribute/Page/Premium.php index a39a3c727f..2233716a2c 100644 --- a/CRM/Contribute/Page/Premium.php +++ b/CRM/Contribute/Page/Premium.php @@ -98,7 +98,6 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -128,7 +127,6 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic { /** * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Contribute/Page/SubscriptionStatus.php b/CRM/Contribute/Page/SubscriptionStatus.php index 05bf8038c5..c37b9fa2e0 100644 --- a/CRM/Contribute/Page/SubscriptionStatus.php +++ b/CRM/Contribute/Page/SubscriptionStatus.php @@ -40,7 +40,6 @@ class CRM_Contribute_Page_SubscriptionStatus extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $task = CRM_Utils_Request::retrieve('task', 'String', CRM_Core_DAO::$_nullObject); diff --git a/CRM/Contribute/Page/Tab.php b/CRM/Contribute/Page/Tab.php index 5d247de085..06435fa637 100644 --- a/CRM/Contribute/Page/Tab.php +++ b/CRM/Contribute/Page/Tab.php @@ -57,7 +57,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { * @param string $context * * @return array - * @access public */ public static function &recurLinks($recurID = FALSE, $context = 'contribution') { if (!(self::$_links)) { @@ -106,7 +105,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { // add annual contribution @@ -203,7 +201,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { * This function is called when action is view * * return null - * @access public */ public function view() { $controller = new CRM_Core_Controller_Simple( @@ -222,7 +219,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { // set https for offline cc transaction @@ -275,7 +271,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { * loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Contribute/Page/UserDashboard.php b/CRM/Contribute/Page/UserDashboard.php index 73113a8475..168905d430 100644 --- a/CRM/Contribute/Page/UserDashboard.php +++ b/CRM/Contribute/Page/UserDashboard.php @@ -38,7 +38,6 @@ class CRM_Contribute_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBo * This function is called when action is browse * * return null - * @access public */ public function listContribution() { $controller = new CRM_Core_Controller_Simple( @@ -149,7 +148,6 @@ class CRM_Contribute_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBo * loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $invoiceSettings = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::CONTRIBUTE_PREFERENCES_NAME,'contribution_invoice_settings'); diff --git a/CRM/Contribute/PseudoConstant.php b/CRM/Contribute/PseudoConstant.php index 76725a5979..2b07fd536c 100644 --- a/CRM/Contribute/PseudoConstant.php +++ b/CRM/Contribute/PseudoConstant.php @@ -117,7 +117,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * * Get all the financial types * - * @access public * * @param int $id * @@ -149,7 +148,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * * Get all the financial Accounts * - * @access public * * @param int $id * @param int $financialAccountTypeId @@ -189,7 +187,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * nex time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed @@ -208,7 +205,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * @param integer $id id of the contribution page * @param boolean $all do we want all pages or only active pages * - * @access public * * @return array - array reference of all contribution pages if any * @static @@ -239,7 +235,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * * Get all the payment instruments * - * @access public * * @param string $columnName * @@ -259,7 +254,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the valid accepted credit cards * - * @access public * * @return array - array reference of all payment instruments if any * @static @@ -271,7 +265,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all premiums * - * @access public * * @param int $pageID * @return array - array of all Premiums if any @@ -319,7 +312,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the contribution statuses * - * @access public * * @param int $id * @param string $columnName @@ -344,7 +336,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the Personal campaign pages * - * @access public * * @param null $pageType * @param int $id @@ -378,7 +369,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * * The static array pcpStatus is returned * - * @access public * @static * * @param string $column @@ -403,7 +393,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { * * The static array $financialTypeAccount is returned * - * @access public * @static * * @param int $financialTypeId @@ -435,7 +424,6 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all batches * - * @access public * * @param int $id * @return array - array reference of all batches if any diff --git a/CRM/Contribute/Selector/Search.php b/CRM/Contribute/Selector/Search.php index 1d0e79a22b..345c3ca334 100644 --- a/CRM/Contribute/Selector/Search.php +++ b/CRM/Contribute/Selector/Search.php @@ -92,7 +92,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -100,7 +99,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -108,7 +106,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -116,7 +113,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C /** * What component context are we being invoked from * - * @access protected * @var string */ protected $_compContext = NULL; @@ -126,7 +122,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -134,7 +129,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -223,7 +217,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C * @param null $compContext * * @return array - * @access public */ public static function &links($componentId = NULL, $componentAction = NULL, $key = NULL, $compContext = NULL) { $extraParams = NULL; @@ -267,7 +260,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C * * @param $action * @param array $params - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Contribution') . ' %%StatusMessage%%'; @@ -289,7 +281,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -426,7 +417,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C /** * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -443,7 +433,6 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { self::$_columnHeaders = array( diff --git a/CRM/Contribute/StateMachine/Search.php b/CRM/Contribute/StateMachine/Search.php index 9a9bb81405..aa878c893f 100644 --- a/CRM/Contribute/StateMachine/Search.php +++ b/CRM/Contribute/StateMachine/Search.php @@ -76,7 +76,6 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -92,7 +91,6 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Contribute/Task.php b/CRM/Contribute/Task.php index d07b128252..e100dbfffc 100644 --- a/CRM/Contribute/Task.php +++ b/CRM/Contribute/Task.php @@ -63,7 +63,6 @@ class CRM_Contribute_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -149,7 +148,6 @@ class CRM_Contribute_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -169,7 +167,6 @@ class CRM_Contribute_Task { * @param bool $softCreditFiltering * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission, $softCreditFiltering = FALSE) { $tasks = array(); @@ -204,7 +201,6 @@ class CRM_Contribute_Task { * * @return array the set of tasks for a group of contributors * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Core/Action.php b/CRM/Core/Action.php index 12970a8727..01560b7b4d 100644 --- a/CRM/Core/Action.php +++ b/CRM/Core/Action.php @@ -43,7 +43,6 @@ class CRM_Core_Action { * * @var integer const * - * @access public */ const NONE = 0, @@ -78,7 +77,6 @@ class CRM_Core_Action { * * @var array $_names type of variable name to action constant * - * @access private * @static * */ @@ -116,7 +114,6 @@ class CRM_Core_Action { * @param string $str the action to be resolved * * @return int the action mask corresponding to the input string - * @access public * @static */ public static function resolve($str) { @@ -135,7 +132,6 @@ class CRM_Core_Action { * @param mixed $item either a single string or an array of strings * * @return int the action mask corresponding to the input args - * @access public * @static * */ @@ -159,7 +155,6 @@ class CRM_Core_Action { * @param string $item the input action to process * * @return int the action mask corresponding to the input string - * @access public * @static * */ @@ -175,7 +170,6 @@ class CRM_Core_Action { * @param int $mask the action mask * * @return string the corresponding action description - * @access public * @static * */ @@ -202,7 +196,6 @@ class CRM_Core_Action { * @param int $objectId * * @return string the html string - * @access public * @static */ static function formLink($links, @@ -312,7 +305,6 @@ class CRM_Core_Action { * @param array $values the array of values for parameter substitution in the str * * @return string the substituted string - * @access public * @static */ public static function &replace(&$str, &$values) { @@ -329,7 +321,6 @@ class CRM_Core_Action { * * @return int the mask for the above permission * @static - * @access public */ public static function mask($permissions) { $mask = NULL; diff --git a/CRM/Core/BAO/ActionLog.php b/CRM/Core/BAO/ActionLog.php index 90ce83bf02..74d171be2f 100644 --- a/CRM/Core/BAO/ActionLog.php +++ b/CRM/Core/BAO/ActionLog.php @@ -45,7 +45,6 @@ class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog { * @param array $params * * @return actionLog array - * @access public */ public static function create($params) { $actionLog = new CRM_Core_DAO_ActionLog(); diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index cd72bc77bc..6c6095c77a 100644 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -90,7 +90,6 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule { * * @return array associated array of all the drop downs in the form * @static - * @access public */ public static function getSelection($id = NULL) { $mapping = self::getMapping(); @@ -323,7 +322,6 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule { * * @return array (reference) reminder list * @static - * @access public */ public static function &getList($namesOnly = FALSE, $entityValue = NULL, $id = NULL) { $activity_type = CRM_Core_PseudoConstant::activityType(TRUE, TRUE); @@ -584,7 +582,6 @@ AND cas.entity_value = $id AND * @param array $ids the array that holds all the db ids * * @return CRM_Core_DAO_ActionSchedule - * @access public * @static * */ @@ -604,7 +601,6 @@ AND cas.entity_value = $id AND * @param array $values (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_ActionSchedule object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$values) { @@ -630,7 +626,6 @@ AND cas.entity_value = $id AND * * @param int $id ID of the Reminder to be deleted. * - * @access public * @static */ public static function del($id) { diff --git a/CRM/Core/BAO/Address.php b/CRM/Core/BAO/Address.php index 49e112c70a..2df8a1235c 100644 --- a/CRM/Core/BAO/Address.php +++ b/CRM/Core/BAO/Address.php @@ -48,7 +48,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * @param null $entity * * @return array $blocks array of created address - * @access public * @static */ public static function create(&$params, $fixAddress = TRUE, $entity = NULL) { @@ -139,7 +138,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * before inserting in db * * @return object CRM_Core_BAO_Address object on success, null otherwise - * @access public * @static */ public static function add(&$params, $fixAddress) { @@ -201,7 +199,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * @param array $params (reference ) an assoc array of name/value pairs * * @return void - * @access public * @static */ public static function fixAddress(&$params) { @@ -402,7 +399,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * * @return boolean * - * @access public * @static */ public static function dataExists(&$params) { @@ -460,7 +456,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * @param int|string $fieldName conditional field name * * @return array $addresses array with address fields - * @access public * @static */ public static function &getValues($entityBlock, $microformat = FALSE, $fieldName = 'contact_id') { @@ -546,7 +541,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * @param bool $microformat * * @return void - * @access public */ public function addDisplay($microformat = FALSE) { $fields = array( @@ -585,7 +579,6 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { * @param bool $updateBlankLocInfo * * @return array the array of adrress data - * @access public * @static */ public static function allAddress($id, $updateBlankLocInfo = FALSE) { @@ -621,7 +614,6 @@ ORDER BY civicrm_address.is_primary DESC, address_id ASC"; * entity_table name * * @return array the array of adrress data - * @access public * @static */ public static function allEntityAddress(&$entityElements) { @@ -699,7 +691,6 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC, * @param string Locale - to set locale used to parse address * * @return array $parseFields parsed fields values. - * @access public * @static */ public static function parseStreetAddress($streetAddress, $locale = NULL) { @@ -834,7 +825,6 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC, * @param array $fields an array of importable/exportable contact fields * * @return array $fields an array of contact fields and only the enabled address options - * @access public * @static */ public static function validateAddressOptions($fields) { @@ -863,7 +853,6 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC, * @param int $addressId address id * * @return count of contacts that use this shared address - * @access public * @static */ public static function checkContactSharedAddress($addressId) { @@ -877,7 +866,6 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC, * @param array $fields address fields in profile * @param int $contactId contact id * - * @access public * @static */ public static function checkContactSharedAddressFields(&$fields, $contactId) { @@ -949,7 +937,6 @@ SELECT is_primary, * @param array $params associated array of address params * * @return void - * @access public * @static */ public static function processSharedAddress($addressId, $params) { @@ -981,7 +968,6 @@ SELECT is_primary, * @param array $params associated array of submitted values * * @return void - * @access public * @static */ public static function processSharedAddressRelationship($masterAddressId, $params) { @@ -1053,7 +1039,6 @@ SELECT is_primary, * @param boolean $returnStatus by default false * * @return string $statusMessage - * @access public * @static */ public static function setSharedAddressDeleteStatus($addressId = NULL, $contactId = NULL, $returnStatus = FALSE) { diff --git a/CRM/Core/BAO/Block.php b/CRM/Core/BAO/Block.php index f2fa53bc0d..eb856a877a 100644 --- a/CRM/Core/BAO/Block.php +++ b/CRM/Core/BAO/Block.php @@ -55,7 +55,6 @@ class CRM_Core_BAO_Block { * @param array $params input parameters to find object * * @return array of $block objects. - * @access public * @static */ public static function &getValues($blockName, $params) { @@ -100,7 +99,6 @@ class CRM_Core_BAO_Block { * @param string $blockName name of the above object * * @return array of $block objects. - * @access public * @static */ public static function retrieveBlock(&$block, $blockName) { @@ -130,7 +128,6 @@ class CRM_Core_BAO_Block { * @param array $params associated array of submitted fields * * @return boolean true if the block has data, otherwise false - * @access public * @static */ public static function dataExists($blockFields, &$params) { @@ -149,7 +146,6 @@ class CRM_Core_BAO_Block { * @param array $params associated array of submitted fields * * @return boolean true if the block exits, otherwise false - * @access public * @static */ public static function blockExists($blockName, &$params) { @@ -172,7 +168,6 @@ class CRM_Core_BAO_Block { * * @return array $contactBlockIds formatted array of block ids * - * @access public * @static */ public static function getBlockIds($blockName, $contactId = NULL, $entityElements = NULL, $updateBlankLocInfo = FALSE) { @@ -213,7 +208,6 @@ class CRM_Core_BAO_Block { * @param int $contactId * * @return object CRM_Core_BAO_Block object on success, null otherwise - * @access public * @static */ public static function create($blockName, &$params, $entity = NULL, $contactId = NULL) { diff --git a/CRM/Core/BAO/CMSUser.php b/CRM/Core/BAO/CMSUser.php index 9ced86bd83..63ec4b136e 100644 --- a/CRM/Core/BAO/CMSUser.php +++ b/CRM/Core/BAO/CMSUser.php @@ -55,7 +55,6 @@ class CRM_Core_BAO_CMSUser { * @return void * * @static - * @access public */ public static function synchronize($is_interactive = TRUE) { //start of schronization code @@ -227,7 +226,6 @@ class CRM_Core_BAO_CMSUser { * @param string $mail email id for cms user * * @return int contact id that has been created - * @access public * @static */ public static function create(&$params, $mail) { @@ -264,7 +262,6 @@ class CRM_Core_BAO_CMSUser { * * @return FALSE|void WTF * - * @access public * @static */ public static function buildForm(&$form, $gid, $emailPresent, $action = CRM_Core_Action::NONE) { @@ -424,7 +421,6 @@ class CRM_Core_BAO_CMSUser { * * @return uid if user exists, false otherwise * - * @access public * @static */ public static function userExists(&$contact) { diff --git a/CRM/Core/BAO/Cache.php b/CRM/Core/BAO/Cache.php index 4d507127c0..b6e64a22a6 100644 --- a/CRM/Core/BAO/Cache.php +++ b/CRM/Core/BAO/Cache.php @@ -60,7 +60,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return object The data if present in cache, else null * @static - * @access public */ public static function &getItem($group, $path, $componentID = NULL) { if (self::$_cache === NULL) { @@ -98,7 +97,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return object The data if present in cache, else null * @static - * @access public */ public static function &getItems($group, $componentID = NULL) { if (self::$_cache === NULL) { @@ -140,7 +138,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return void * @static - * @access public */ public static function setItem(&$data, $group, $path, $componentID = NULL) { if (self::$_cache === NULL) { @@ -194,7 +191,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return void * @static - * @access public */ public static function deleteGroup($group = NULL, $path = NULL, $clearAll = TRUE) { $dao = new CRM_Core_DAO_Cache(); @@ -236,7 +232,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return void * @static - * @access private */ public static function storeSessionToCache($names, $resetSession = TRUE) { foreach ($names as $key => $sessionName) { @@ -275,7 +270,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return void * @static - * @access private */ /** @@ -312,7 +306,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * * @return void * @static - * @access private */ public static function cleanup($session = false, $table = false, $prevNext = false) { // clean up the session cache every $cacheCleanUpNumber probabilistically diff --git a/CRM/Core/BAO/CustomField.php b/CRM/Core/BAO/CustomField.php index b6655f43ba..2cb8e83e14 100644 --- a/CRM/Core/BAO/CustomField.php +++ b/CRM/Core/BAO/CustomField.php @@ -69,7 +69,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @param NULL * * @return array Data type => Description - * @access public * @static */ public static function &dataType() { @@ -129,7 +128,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Core_DAO_CustomField object - * @access public * @static */ public static function create(&$params) { @@ -319,7 +317,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_CustomField object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -334,7 +331,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -353,7 +349,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * * @return string name * - * @access public * @static * */ @@ -375,7 +370,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * * @return array $fields - an array of active custom fields. * - * @access public * @static */ public static function &getFields($customDataType = 'Individual', @@ -594,7 +588,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * * @return array $fields - * - * @access public * @static */ public static function &getFieldsForImport($contactType = 'Individual', @@ -660,7 +653,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * * @param bool $all * @return int|null The id (if exists) - * @access public * @static */ public static function getKeyID($key, $all = FALSE) { @@ -724,7 +716,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @param boolean $search true if used for search else false * @param string $label label for custom field * - * @access public * @static */ public static function addQuickFormElement(&$qf, @@ -1047,7 +1038,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * * @return boolean * - * @access public * @static * */ @@ -1085,7 +1075,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @return string the display value * * @static - * @access public */ public static function getDisplayValue($value, $id, &$options, $contactID = NULL, $fieldID = NULL) { $option = &$options[$id]; @@ -1321,7 +1310,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * just format the given value * * @static - * @access public */ static function setProfileDefaults($customFieldId, $elementName, @@ -2033,7 +2021,6 @@ AND cf.id = %1"; * Currently this is required in the cases where option groups are to be included * for inactive fields : CRM-5369 * - * @access public * * @return mixed $customOptionGroup@static */ @@ -2077,7 +2064,6 @@ INNER JOIN civicrm_custom_field f ON ( g.id = f.option_group_id ) * @param int $customFieldId custom field id * @param int $optionGroupId option group id * - * @access public * @return void * @static */ diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index bb593538d3..f51f082f65 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -54,7 +54,6 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Core_DAO_CustomGroup object - * @access public * @static */ public static function create(&$params) { @@ -230,7 +229,6 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_CustomGroup object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -245,7 +243,6 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup { * * @return Object DAO object on sucess, null otherwise * @static - * @access public */ public static function setIsActive($id, $is_active) { // reset the cache @@ -329,7 +326,6 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup { * The reason for the info array in unclear and it could be determined from parsing the group tree after creation * With caching the performance impact would be small & the function would be cleaner * - * @access public * * @static */ @@ -852,7 +848,6 @@ ORDER BY civicrm_custom_group.weight, * * @return string title * - * @access public * @static * */ @@ -873,7 +868,6 @@ ORDER BY civicrm_custom_group.weight, * * @return array $groupTree - array consisting of all group and field details * - * @access public * * @static */ @@ -1073,7 +1067,6 @@ ORDER BY civicrm_custom_group.weight, * * @return string $tableName * - * @access public * @static * * @see _apachesolr_civiAttachments_dereference_file_parent @@ -1153,7 +1146,6 @@ ORDER BY civicrm_custom_group.weight, * * @return void * - * @access private * @static */ private static function _addWhereAdd(&$customGroupDAO, $entityType, $entityID = NULL, $allSubtypes = FALSE) { @@ -1219,7 +1211,6 @@ ORDER BY civicrm_custom_group.weight, * * @return boolean false if field exists for this group, true if group gets deleted. * - * @access public * @static * */ @@ -1528,7 +1519,6 @@ ORDER BY civicrm_custom_group.weight, * @param string $prefix prefix for custom grouptree assigned to template * * @return void - * @access public * @static */ public static function buildQuickForm(&$form, &$groupTree, $inactiveNeeded = FALSE, $prefix = '') { @@ -1563,7 +1553,6 @@ ORDER BY civicrm_custom_group.weight, * @param string $type the type of custom group we are using * * @return array - * @access public * @static */ public static function extractGetParams(&$form, $type) { @@ -1672,7 +1661,6 @@ ORDER BY civicrm_custom_group.weight, * * @return boolean false if it matches else true * @static - * @access public */ public static function checkCustomField($customFieldId, &$removeCustomFieldTypes) { $query = "SELECT cg.extends as extends @@ -2173,7 +2161,6 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1, * @param array $fieldIds - array of custom field ids. * * @return array $groupLabels - array consisting of groups and fields labels with ids. - * @access public */ public static function getGroupTitles($fieldIds) { if (!is_array($fieldIds) && empty($fieldIds)) { @@ -2219,7 +2206,6 @@ SELECT civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT * @param int $gID - custom group id. * * @return boolean true if empty otherwise false. - * @access public */ public static function isGroupEmpty($gID) { if (!$gID) { @@ -2247,7 +2233,6 @@ SELECT civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT * @param array $types - var which should have the list appended. * * @return array of types. - * @access public */ public static function getExtendedObjectTypes(&$types = array()) { static $flag = FALSE, $objTypes = array(); diff --git a/CRM/Core/BAO/CustomOption.php b/CRM/Core/BAO/CustomOption.php index c6a63df928..ea07b0e378 100644 --- a/CRM/Core/BAO/CustomOption.php +++ b/CRM/Core/BAO/CustomOption.php @@ -46,7 +46,6 @@ class CRM_Core_BAO_CustomOption { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_CustomOption object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -115,7 +114,6 @@ class CRM_Core_BAO_CustomOption { * * @return string the label to display for this custom field * @static - * @access public */ public static function getOptionLabel($fieldId, $value, $htmlType = NULL, $dataType = NULL) { if (!$fieldId) { @@ -166,7 +164,6 @@ WHERE id = %1 * param $optionId integer option id * * @static - * @access public */ public static function del($optionId) { // get the customFieldID diff --git a/CRM/Core/BAO/CustomQuery.php b/CRM/Core/BAO/CustomQuery.php index f8fd3b21f5..52da095638 100644 --- a/CRM/Core/BAO/CustomQuery.php +++ b/CRM/Core/BAO/CustomQuery.php @@ -140,7 +140,6 @@ class CRM_Core_BAO_CustomQuery { * @param bool $contactSearch * @param array $locationSpecificFields * - * @access public */ public function __construct($ids, $contactSearch = FALSE, $locationSpecificFields = array()) { $this->_ids = &$ids; @@ -261,7 +260,6 @@ SELECT label, value * @param NULL * * @return void - * @access public */ public function select() { if (empty($this->_fields)) { @@ -330,7 +328,6 @@ SELECT label, value * * @return void * - * @access public */ public function where() { foreach ($this->_ids as $id => $values) { @@ -559,7 +556,6 @@ SELECT label, value * @param NULL * * @return array array of strings - * @access public */ public function query() { $this->select(); diff --git a/CRM/Core/BAO/CustomValue.php b/CRM/Core/BAO/CustomValue.php index b573c7c72c..b667468997 100644 --- a/CRM/Core/BAO/CustomValue.php +++ b/CRM/Core/BAO/CustomValue.php @@ -46,7 +46,6 @@ class CRM_Core_BAO_CustomValue extends CRM_Core_DAO { * @param string $value The data to be validated * * @return boolean True if the value is of the specified type - * @access public * @static */ public static function typecheck($type, $value) { @@ -123,7 +122,6 @@ class CRM_Core_BAO_CustomValue extends CRM_Core_DAO { * @param string $type the civicrm type string * * @return the mysql data store placeholder - * @access public * @static */ public static function typeToField($type) { diff --git a/CRM/Core/BAO/CustomValueTable.php b/CRM/Core/BAO/CustomValueTable.php index b7035cf6a8..a86d43df2c 100644 --- a/CRM/Core/BAO/CustomValueTable.php +++ b/CRM/Core/BAO/CustomValueTable.php @@ -258,7 +258,6 @@ class CRM_Core_BAO_CustomValueTable { * @param int $maxLength * * @return the mysql data store placeholder - * @access public * @static */ public static function fieldToSQLType($type, $maxLength = 255) { @@ -388,7 +387,6 @@ class CRM_Core_BAO_CustomValueTable { * @return array $fields Array of custom values for the entity with key=>value * pairs specified as civicrm_custom_field.id => custom value. * Empty array if no custom values found. - * @access public * @static */ public static function &getEntityValues($entityID, $entityType = NULL, $fieldIDs = NULL, $formatMultiRecordField = FALSE) { diff --git a/CRM/Core/BAO/Dashboard.php b/CRM/Core/BAO/Dashboard.php index 894d5c88b8..9afb272b05 100644 --- a/CRM/Core/BAO/Dashboard.php +++ b/CRM/Core/BAO/Dashboard.php @@ -42,7 +42,6 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { * * @param array $params values * - * @access public * @static * * @return object @@ -62,7 +61,6 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { * @param boolean $checkPermission all or only authorized for the current user * * @return array $widgets array of dashlets - * @access public * @static */ public static function getDashlets($all = TRUE, $checkPermission = TRUE) { @@ -102,7 +100,6 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { * passed rather than the current user. * * @return array $dashlets array of dashlets - * @access public * @static */ public static function getContactDashlets($flatFormat = FALSE, $contactID = NULL) { @@ -265,7 +262,6 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { * @param int $dashletID widget ID * * @return array associted array title and content - * @access public * @static */ public static function getDashletInfo($dashletID) { @@ -337,7 +333,6 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { * * @throws RuntimeException * @return void - * @access public * @static */ public static function saveDashletChanges($columns, $contactID=NULL) { @@ -403,7 +398,6 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { * @param array $params associated array * * @return object $dashlet returns dashlet object - * @access public * @static */ public static function addDashlet(&$params) { diff --git a/CRM/Core/BAO/Discount.php b/CRM/Core/BAO/Discount.php index cdbd96179b..ef9a3ff877 100644 --- a/CRM/Core/BAO/Discount.php +++ b/CRM/Core/BAO/Discount.php @@ -48,7 +48,6 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount { * @param string $entityTable * * @return boolean - * @access public * @static */ public static function del($entityId,$entityTable) { @@ -71,7 +70,6 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount { * @param array $params (reference) an assoc array of name/value pairs * * @return object CRM_Core_DAO_Discount object on success, otherwise null - * @access public * @static */ public static function add(&$params) { diff --git a/CRM/Core/BAO/Domain.php b/CRM/Core/BAO/Domain.php index 9ae6738499..be57068bc5 100644 --- a/CRM/Core/BAO/Domain.php +++ b/CRM/Core/BAO/Domain.php @@ -55,7 +55,6 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_Domain object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -68,7 +67,6 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { * @param null $reset * * @return null|object CRM_Core_BAO_Domain - * @access public * @static */ public static function &getDomain($reset = null) { @@ -135,7 +133,6 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { * @param NULL * * @return array Location::getValues - * @access public */ public function &getLocationValues() { if ($this->_location == NULL) { @@ -159,7 +156,6 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { * @param int $id * * @return array domain - * @access public */ public static function edit(&$params, &$id) { $domain = new CRM_Core_DAO_Domain(); @@ -175,7 +171,6 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { * @param array $params * * @return array domain - * @access public */ public static function create($params) { $domain = new CRM_Core_DAO_Domain(); diff --git a/CRM/Core/BAO/Email.php b/CRM/Core/BAO/Email.php index 890d628ea9..a42659940f 100644 --- a/CRM/Core/BAO/Email.php +++ b/CRM/Core/BAO/Email.php @@ -63,7 +63,6 @@ class CRM_Core_BAO_Email extends CRM_Core_DAO_Email { * @param array $params (reference ) an assoc array of name/value pairs * * @return object CRM_Core_BAO_Email object on success, null otherwise - * @access public * @static */ public static function add(&$params) { @@ -116,7 +115,6 @@ WHERE contact_id = {$params['contact_id']} * @param array $entityBlock input parameters to find object * * @return boolean - * @access public * @static */ public static function &getValues($entityBlock) { @@ -131,7 +129,6 @@ WHERE contact_id = {$params['contact_id']} * @param bool $updateBlankLocInfo * * @return array the array of email id's - * @access public * @static */ public static function allEmails($id, $updateBlankLocInfo = FALSE) { @@ -188,7 +185,6 @@ ORDER BY civicrm_email.is_primary DESC, email_id ASC "; * entity_table name * * @return array the array of email id's - * @access public * @static */ public static function allEntityEmails(&$entityElements) { @@ -283,7 +279,6 @@ AND reset_date IS NULL * the domain email id * * @return array an array of email ids - * @access public * @static */ public static function getFromEmail() { diff --git a/CRM/Core/BAO/EntityTag.php b/CRM/Core/BAO/EntityTag.php index d21b4dec4b..3202e467d3 100644 --- a/CRM/Core/BAO/EntityTag.php +++ b/CRM/Core/BAO/EntityTag.php @@ -46,7 +46,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @return array( ) reference $tag array of category id's the contact belongs to. * - * @access public * @static */ public static function &getTag($entityID, $entityTable = 'civicrm_contact') { @@ -73,7 +72,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Core_BAO_EntityTag object - * @access public * @static */ public static function add(&$params) { @@ -104,7 +102,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param array $params an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists($params) { @@ -117,7 +114,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Core_BAO_EntityTag object - * @access public * @static * */ @@ -139,7 +135,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param string $entityTable name of entity table default:civicrm_contact * * @return array (total, added, notAdded) count of enities added to tag - * @access public * @static */ public static function addEntitiesToTag(&$entityIds, $tagId, $entityTable = 'civicrm_contact') { @@ -182,7 +177,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param string $entityTable name of entity table default:civicrm_contact * * @return array (total, removed, notRemoved) count of entities removed from tags - * @access public * @static */ public static function removeEntitiesFromTag(&$entityIds, $tagId, $entityTable = 'civicrm_contact') { @@ -225,7 +219,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param int $entityID * * @return void - * @access public * @static */ public static function create(&$params, $entityTable, $entityID) { @@ -268,7 +261,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * @param object $tag an object of a tag. * * @return array $entityIds array of entity ids - * @access public */ public function getEntitiesByTag($tag) { $entityIds = array(); diff --git a/CRM/Core/BAO/Extension.php b/CRM/Core/BAO/Extension.php index cbb830dc8d..d2f7f991b0 100644 --- a/CRM/Core/BAO/Extension.php +++ b/CRM/Core/BAO/Extension.php @@ -46,7 +46,6 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_LocationType object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -66,7 +65,6 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension { * * @return void * - * @access public * @static */ public static function del($id) { diff --git a/CRM/Core/BAO/File.php b/CRM/Core/BAO/File.php index a7426987a9..19a00907b1 100644 --- a/CRM/Core/BAO/File.php +++ b/CRM/Core/BAO/File.php @@ -626,7 +626,6 @@ AND CEF.entity_id = %2"; * Delete a file attachment from an entity table / entity ID * * @static - * @access public */ public static function deleteAttachment() { $params = array(); @@ -655,7 +654,6 @@ AND CEF.entity_id = %2"; * @return array|NULL list of HTML snippets; one HTML snippet for each attachment. If none found, then NULL * * @static - * @access public */ public static function paperIconAttachment($entityTable, $entityID) { if (empty($entityTable) || !$entityID) { diff --git a/CRM/Core/BAO/FinancialTrxn.php b/CRM/Core/BAO/FinancialTrxn.php index 1ec96c9e86..710987e415 100644 --- a/CRM/Core/BAO/FinancialTrxn.php +++ b/CRM/Core/BAO/FinancialTrxn.php @@ -37,7 +37,6 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn { /** * Class constructor * - * @access public * @return \CRM_Financial_DAO_FinancialTrxn */ /** @@ -55,7 +54,6 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn { * @param string $trxnEntityTable entity_table * * @return CRM_Core_BAO_FinancialTrxn object - * @access public * @static */ public static function create(&$params, $trxnEntityTable = null ) { @@ -126,7 +124,6 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_ContributionType object - * @access public * @static */ public static function retrieve( &$params, &$defaults ) { @@ -149,7 +146,6 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn { * * @return array $tag array of category id's the contact belongs to. * - * @access public * @static */ public static function getFinancialTrxnId($entity_id, $orderBy = 'ASC', $newTrxn = FALSE) { @@ -192,7 +188,6 @@ LIMIT 1;"; * * @return array $tag array of catagory id's the contact belongs to. * - * @access public * @static */ public static function getFinancialTrxnTotal($entity_id) { @@ -215,7 +210,6 @@ WHERE ft.entity_table = 'civicrm_contribution' AND ft.entity_id = %1 * * @return array $payment array of previous payments * - * @access public * @static */ public static function getPayments($financial_trxn_id) { @@ -267,7 +261,6 @@ WHERE ef2.financial_trxn_id =%1 * * @return array $tag array of catagory id's the contact belongs to. * - * @access public * @static */ public static function getFinancialTrxnLineTotal($entity_id, $entity_table = 'civicrm_contribution') { @@ -294,7 +287,6 @@ WHERE lt.entity_id = %1 "; * * @param int $entity_id * @return true on success, false otherwise - * @access public * @static */ public static function deleteFinancialTrxn($entity_id) { @@ -313,7 +305,6 @@ WHERE ceft.entity_id = %1"; /** * Create financial transaction for premium * - * @access public * @static */ public static function createPremiumTrxn($params) { @@ -363,7 +354,6 @@ WHERE ceft.entity_id = %1"; * * @param array $params to create trxn entries * - * @access public * @static */ public static function recordFees($params) { diff --git a/CRM/Core/BAO/IM.php b/CRM/Core/BAO/IM.php index 806df878dc..7e7b99e60c 100644 --- a/CRM/Core/BAO/IM.php +++ b/CRM/Core/BAO/IM.php @@ -44,7 +44,6 @@ class CRM_Core_BAO_IM extends CRM_Core_DAO_IM { * @param array $params (reference ) an assoc array of name/value pairs * * @return object CRM_Core_BAO_IM object on success, null otherwise - * @access public * @static */ public static function add(&$params) { @@ -66,7 +65,6 @@ class CRM_Core_BAO_IM extends CRM_Core_DAO_IM { * @param array entityBlock input parameters to find object * * @return boolean - * @access public * @static */ public static function &getValues($entityBlock) { @@ -81,7 +79,6 @@ class CRM_Core_BAO_IM extends CRM_Core_DAO_IM { * @param bool $updateBlankLocInfo * * @return array the array of im details - * @access public * @static */ public static function allIMs($id, $updateBlankLocInfo = FALSE) { @@ -132,7 +129,6 @@ ORDER BY * entity_table name * * @return array the array of im details - * @access public * @static */ public static function allEntityIMs(&$entityElements) { diff --git a/CRM/Core/BAO/Job.php b/CRM/Core/BAO/Job.php index 82505592ae..0161394746 100644 --- a/CRM/Core/BAO/Job.php +++ b/CRM/Core/BAO/Job.php @@ -51,7 +51,6 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job { * @param array $params an assoc array of name/value pairs * * @return CRM_Financial_DAO_PaymentProcessorType - * @access public * @static */ public static function create($params) { @@ -69,7 +68,6 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_Job object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -90,7 +88,6 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -103,7 +100,6 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job { * @param $jobID ID of the job to be deleted. * * @return bool|null - * @access public * @static */ public static function del($jobID) { diff --git a/CRM/Core/BAO/LabelFormat.php b/CRM/Core/BAO/LabelFormat.php index 9b9deb3a37..65c2a1610f 100644 --- a/CRM/Core/BAO/LabelFormat.php +++ b/CRM/Core/BAO/LabelFormat.php @@ -160,7 +160,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of page orientations - * @access public * @static */ public static function getPageOrientations() { @@ -176,7 +175,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param string $name group name * * @return array array of font names - * @access public * @static */ public static function getFontNames($name='label_format') { @@ -190,7 +188,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of font sizes - * @access public * @static */ public static function getFontSizes() { @@ -208,7 +205,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of measurement units - * @access public * @static */ public static function getUnits() { @@ -226,7 +222,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of alignments - * @access public * @static */ public static function getTextAlignments() { @@ -243,7 +238,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of alignments - * @access public * @static */ public static function getFontStyles() { @@ -260,7 +254,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param string $name * * @return int Group ID (null if Group ID doesn't exist) - * @access private */ private static function _getGid($name='label_format') { if (!isset(self::$_gid[$name]) || !self::$_gid[$name]) { @@ -280,7 +273,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array (reference) List of Label Formats * @static - * @access public */ public static function addOrder(&$list, $returnURL) { $filter = "option_group_id = " . self::_getGid(); @@ -295,7 +287,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array (reference) label format list * @static - * @access public */ public static function &getList($namesOnly = FALSE, $groupName='label_format') { static $list = array(); @@ -325,7 +316,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array Name/value pairs containing the default Label Format values. * @static - * @access public */ public static function &getDefaultValues($groupName = 'label_format') { $params = array('is_active' => 1, 'is_default' => 1); @@ -349,7 +339,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param string $groupName * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getLabelFormat($field, $val, $groupName = 'label_format') { $params = array('is_active' => 1, $field => $val); @@ -368,7 +357,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param int $name Label format name. Empty = get default label format * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getByName($name) { return self::getLabelFormat('name', $name); @@ -381,7 +369,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param string $groupName group name * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getById($id, $groupName = 'label_format') { return self::getLabelFormat('id', $id, $groupName); @@ -397,7 +384,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param null $default * * @return value - * @access public * @static */ public static function getValue($field, &$values, $default = NULL) { @@ -430,7 +416,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param string $groupName * * @return CRM_Core_DAO_OptionValue object - * @access public * @static */ public static function retrieve(&$params, &$values, $groupName='label_format') { @@ -465,7 +450,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return void - * @access public */ public static function customGroupName() { return ts('Custom'); @@ -479,7 +463,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * @param string $groupName group name of the label format * * @return void - * @access public */ public function saveLabelFormat(&$values, $id = NULL, $groupName = 'label_format') { // get the Option Group ID for Label Formats (create one if it doesn't exist) @@ -543,7 +526,6 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @param int $id ID of the label format to be deleted. * @param string $groupName group name - * @access public * @static */ public static function del($id, $groupName) { diff --git a/CRM/Core/BAO/Location.php b/CRM/Core/BAO/Location.php index 3f0f410997..d6aff98928 100644 --- a/CRM/Core/BAO/Location.php +++ b/CRM/Core/BAO/Location.php @@ -53,7 +53,6 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO { * @param null $entity * * @return array $location - * @access public * @static */ public static function create(&$params, $fixAddress = TRUE, $entity = NULL) { @@ -131,7 +130,6 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO { /** * Takes an entity array and finds the existing location block - * @access public * @static */ public static function findExisting($entityElements) { @@ -156,7 +154,6 @@ WHERE e.id = %1"; * @param array $params (reference ) an assoc array of name/value pairs * * @return object CRM_Core_BAO_locBlock object on success, null otherwise - * @access public * @static */ public static function addLocBlock(&$params) { @@ -173,7 +170,6 @@ WHERE e.id = %1"; * @param int $locBlockId id of the Location Block * * @return void - * @access public * @static */ public static function deleteLocBlock($locBlockId) { @@ -216,7 +212,6 @@ WHERE e.id = %1"; * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists(&$params) { @@ -237,7 +232,6 @@ WHERE e.id = %1"; * @param bool $microformat * * @return array array of objects(CRM_Core_BAO_Location) - * @access public * @static */ public static function &getValues($entityBlock, $microformat = FALSE) { @@ -271,7 +265,6 @@ WHERE e.id = %1"; * @param int $locationTypeId id of the location to delete * * @return void - * @access public * @static */ public static function deleteLocationBlocks($contactId, $locationTypeId) { @@ -351,7 +344,6 @@ WHERE e.id = %1"; * * @param int $contactId - contact id * - * @access public * @static */ public static function checkPrimaryBlocks($contactId) { diff --git a/CRM/Core/BAO/LocationType.php b/CRM/Core/BAO/LocationType.php index 228ea6352f..c9735e5f0f 100644 --- a/CRM/Core/BAO/LocationType.php +++ b/CRM/Core/BAO/LocationType.php @@ -54,7 +54,6 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_LocaationType object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -75,7 +74,6 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -90,7 +88,6 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType { * @return object The default location type object on success, * null otherwise * @static - * @access public */ public static function &getDefault() { if (self::$_defaultLocationType == NULL) { @@ -121,7 +118,6 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -149,7 +145,6 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType { * * @param int $locationTypeId ID of the location type to be deleted. * - * @access public * @static */ public static function del($locationTypeId) { diff --git a/CRM/Core/BAO/Log.php b/CRM/Core/BAO/Log.php index d8c7dd9018..e6cebf7edf 100644 --- a/CRM/Core/BAO/Log.php +++ b/CRM/Core/BAO/Log.php @@ -156,7 +156,6 @@ UPDATE civicrm_log * @param int $contactID * * @return int count of log records - * @access public * @static */ public static function getContactLogCount($contactID) { @@ -170,7 +169,6 @@ UPDATE civicrm_log * summary, instead of normal log entries. * * @return int report id of Contact Logging Report (Summary) / false - * @access public * @static */ public static function useLoggingReport() { diff --git a/CRM/Core/BAO/MailSettings.php b/CRM/Core/BAO/MailSettings.php index 78f1fff5fd..a0b741641f 100644 --- a/CRM/Core/BAO/MailSettings.php +++ b/CRM/Core/BAO/MailSettings.php @@ -112,7 +112,6 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_MailSettings object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -133,7 +132,6 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -169,7 +167,6 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Core_BAO_MailSettings object - * @access public * @static */ public static function create(&$params) { @@ -192,7 +189,6 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings { * @param int $id mail settings id * * @return mixed|null - * @access public * @static * */ diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index 83015659ef..dbf5d5c7cd 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -48,7 +48,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return object CRM_Core_DAO_Mapping object on success, otherwise null - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -67,7 +66,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * @param int $id mapping id * * @return boolean - * @access public * @static * */ @@ -99,7 +97,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * @param array $params an array of name/value pairs * * @return object CRM_Core_DAO_Mapper object on success, otherwise null - * @access public * @static */ public static function add($params) { @@ -116,7 +113,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * @param string $mappingTypeId mapping type id * * @return array $mapping array of mapping name - * @access public * @static */ public static function getMappings($mappingTypeId) { @@ -138,7 +134,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * @param int $mappingId mapping id * * @return array $mappingFields array of mapping fields - * @access public * @static */ public static function getMappingFields($mappingId) { @@ -245,7 +240,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * @param null $exportMode * * @return void - * @access public * @static */ public static function buildMappingForm(&$form, $mappingType = 'Export', $mappingId = NULL, $columnNo, $blockCount = 3, $exportMode = NULL) { @@ -1147,7 +1141,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * * @return null * @static - * @access public */ public static function saveMappingFields(&$params, $mappingId) { //delete mapping fields records for exixting mapping diff --git a/CRM/Core/BAO/MessageTemplate.php b/CRM/Core/BAO/MessageTemplate.php index 3403ccc768..0182b2eae1 100644 --- a/CRM/Core/BAO/MessageTemplate.php +++ b/CRM/Core/BAO/MessageTemplate.php @@ -47,7 +47,6 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_MessageTemplate object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -78,7 +77,6 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -98,7 +96,6 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate { /** * Delete the Message Templates * - * @access public * @static * * @param int $messageTemplatesID @@ -128,7 +125,6 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate { /** * Get the Message Templates * - * @access public * @static * * @param bool $all diff --git a/CRM/Core/BAO/Navigation.php b/CRM/Core/BAO/Navigation.php index b571a318dc..6673a17f8d 100644 --- a/CRM/Core/BAO/Navigation.php +++ b/CRM/Core/BAO/Navigation.php @@ -52,7 +52,6 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -128,7 +127,6 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_Navigation object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { diff --git a/CRM/Core/BAO/Note.php b/CRM/Core/BAO/Note.php index 980a638148..65449e0296 100644 --- a/CRM/Core/BAO/Note.php +++ b/CRM/Core/BAO/Note.php @@ -51,7 +51,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * * @return string the note text or null if note not found * - * @access public * @static */ public static function getNoteText($id) { @@ -65,7 +64,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * * @return string the note subject or null if note not found * - * @access public * @static */ public static function getNoteSubject($id) { @@ -79,7 +77,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * * @return boolean TRUE if the note should be displayed, otherwise FALSE * - * @access public * @static */ public static function getNotePrivacyHidden($note) { @@ -135,7 +132,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * @param array $ids (deprecated) associated array with note id - preferably set $params['id'] * * @return object $note CRM_Core_BAO_Note object - * @access public * @static */ public static function &add(&$params, $ids = array()) { @@ -222,7 +218,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists(&$params) { @@ -242,7 +237,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * @param int $numNotes the maximum number of notes to return (0 if all) * * @return object $notes Object of CRM_Core_BAO_Note - * @access public * @static */ public static function &getValues(&$params, &$values, $numNotes = self::MAX_NOTES) { @@ -334,7 +328,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * * @return void * - * @access public * @static */ public static function deleteContact($id) { @@ -359,7 +352,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note { * * @return array $viewNote array of note properties * - * @access public * @static */ public static function &getNote($id, $entityTable = 'civicrm_relationship') { @@ -391,7 +383,6 @@ ORDER BY modified_date desc"; * * @return int $count count of log records * - * @access public * @static */ public static function getContactNoteCount($contactID) { @@ -418,7 +409,6 @@ ORDER BY modified_date desc"; * @return array Nested associative array beginning with direct children of given note. * * @static - * @access public */ public static function getNoteTree($parentId, $maxDepth = 0, $snippet = FALSE) { return self::buildNoteTree($parentId, $maxDepth, $snippet); @@ -432,7 +422,6 @@ ORDER BY modified_date desc"; * @return int $count Number of notes having the give note as parent * * @static - * @access public */ public static function getChildCount($id) { $note = new CRM_Core_DAO_Note(); diff --git a/CRM/Core/BAO/OpenID.php b/CRM/Core/BAO/OpenID.php index 27b5bc1ee6..234e39a54a 100644 --- a/CRM/Core/BAO/OpenID.php +++ b/CRM/Core/BAO/OpenID.php @@ -44,7 +44,6 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID { * @param array $params (reference ) an assoc array of name/value pairs * * @return object CRM_Core_BAO_OpenID object on success, null otherwise - * @access public * @static */ public static function add(&$params) { @@ -66,7 +65,6 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID { * @param array $entityBlock input parameters to find object * * @return mixed - * @access public * @static */ public static function &getValues($entityBlock) { @@ -79,7 +77,6 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID { * @param string $identity_url the OpenID to check * * @return boolean - * @access public * @static */ public static function isAllowedToLogin($identity_url) { @@ -99,7 +96,6 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID { * @param bool $updateBlankLocInfo * * @return array the array of openid's - * @access public * @static */ public static function allOpenIDs($id, $updateBlankLocInfo = FALSE) { diff --git a/CRM/Core/BAO/OptionGroup.php b/CRM/Core/BAO/OptionGroup.php index c93ddb0b69..dfb604a556 100644 --- a/CRM/Core/BAO/OptionGroup.php +++ b/CRM/Core/BAO/OptionGroup.php @@ -48,7 +48,6 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_OptionGroup object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -80,7 +79,6 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object @@ -113,7 +111,6 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup { * * @return void * - * @access public * @static */ public static function del($optionGroupId) { @@ -134,7 +131,6 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup { * * @return String title * - * @access public * @static */ public static function getTitle($optionGroupId) { diff --git a/CRM/Core/BAO/OptionValue.php b/CRM/Core/BAO/OptionValue.php index f76a8d4c67..5dbb2ad8b7 100644 --- a/CRM/Core/BAO/OptionValue.php +++ b/CRM/Core/BAO/OptionValue.php @@ -128,7 +128,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_OptionValue object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -160,7 +159,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return CRM_Core_DAO_OptionValue @@ -228,7 +226,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * * @return boolean * - * @access public * @static */ public static function del($optionValueId) { @@ -248,7 +245,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * * @return array label and description * @static - * @access public */ public static function getActivityTypeDetails($activityTypeId) { $query = "SELECT civicrm_option_value.label, civicrm_option_value.description @@ -271,7 +267,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * * @return string title * - * @access public * @static * */ @@ -415,7 +410,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * @param array $opWeights options value , weight pair * * @return void - * @access public * @static */ public static function updateOptionWeights($opGroupId, $opWeights) { diff --git a/CRM/Core/BAO/PaperSize.php b/CRM/Core/BAO/PaperSize.php index 7c41ab4646..e771f24aa0 100644 --- a/CRM/Core/BAO/PaperSize.php +++ b/CRM/Core/BAO/PaperSize.php @@ -73,7 +73,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param void * * @return int Group ID (null if Group ID doesn't exist) - * @access private */ private static function _getGid() { if (!self::$_gid) { @@ -93,7 +92,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * * @return array (reference) List of Paper Sizes * @static - * @access public */ public static function &addOrder(&$list, $returnURL) { $filter = "option_group_id = " . self::_getGid(); @@ -107,7 +105,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * * @return array (reference) Paper Size list * @static - * @access public */ public static function &getList($namesOnly = FALSE) { static $list = array(); @@ -137,7 +134,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * * @return array Name/value pairs containing the default Paper Size values. * @static - * @access public */ public static function &getDefaultValues() { $params = array('is_active' => 1, 'is_default' => 1); @@ -159,7 +155,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param int $val Field value to search for * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getPaperFormat($field, $val) { $params = array('is_active' => 1, $field => $val); @@ -178,7 +173,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param int $name Paper Size name. Empty = get default Paper Size * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getByName($name) { return self::getPaperFormat('name', $name); @@ -190,7 +184,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param int $id Paper Size id. 0 = get default Paper Size * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getById($id) { return self::getPaperFormat('id', $id); @@ -206,7 +199,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param null $default * * @return value - * @access public * @static */ public static function getValue($field, &$values, $default = NULL) { @@ -237,7 +229,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param array $values (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_OptionValue object - * @access public * @static */ public static function retrieve(&$params, &$values) { @@ -273,7 +264,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * @param int $id id of the database record (null = new record) * * @return void - * @access public */ public function savePaperSize(&$values, $id) { // get the Option Group ID for Paper Sizes (create one if it doesn't exist) @@ -331,7 +321,6 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue { * * @param int $id ID of the Paper Size to be deleted. * - * @access public * @static */ public static function del($id) { diff --git a/CRM/Core/BAO/PdfFormat.php b/CRM/Core/BAO/PdfFormat.php index 94eb28ddae..09bbb406eb 100644 --- a/CRM/Core/BAO/PdfFormat.php +++ b/CRM/Core/BAO/PdfFormat.php @@ -100,7 +100,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of page orientations - * @access public */ public static function getPageOrientations() { return array( @@ -115,7 +114,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return array array of measurement units - * @access public */ public static function getUnits() { return array( @@ -132,7 +130,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param void * * @return int Group ID (null if Group ID doesn't exist) - * @access private */ private static function _getGid() { if (!self::$_gid) { @@ -152,7 +149,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * * @return void * @static - * @access public */ public static function addOrder(&$list, $returnURL) { $filter = "option_group_id = " . self::_getGid(); @@ -166,7 +162,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * * @return array (reference) PDF Page Format list * @static - * @access public */ public static function &getList($namesOnly = FALSE) { static $list = array(); @@ -196,7 +191,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * * @return array Name/value pairs containing the default PDF Page Format values. * @static - * @access public */ public static function &getDefaultValues() { $params = array('is_active' => 1, 'is_default' => 1); @@ -221,7 +215,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param int $val Field value to search for * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getPdfFormat($field, $val) { $params = array('is_active' => 1, $field => $val); @@ -240,7 +233,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param int $name PDF Page Format name. Empty = get default PDF Page Format * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getByName($name) { return self::getPdfFormat('name', $name); @@ -252,7 +244,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param int $id PDF Page Format id. 0 = get default PDF Page Format * * @return array $values (reference) associative array of name/value pairs - * @access public */ public static function &getById($id) { return self::getPdfFormat('id', $id); @@ -268,7 +259,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param null $default * * @return value - * @access public * @static */ public static function getValue($field, &$values, $default = NULL) { @@ -299,7 +289,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param array $values (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_OptionValue object - * @access public * @static */ public static function retrieve(&$params, &$values) { @@ -335,7 +324,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * @param int $id id of the database record (null = new record) * * @return void - * @access public */ public function savePdfFormat(&$values, $id = NULL) { // get the Option Group ID for PDF Page Formats (create one if it doesn't exist) @@ -389,7 +377,6 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue { * * @param int $id ID of the PDF Page Format to be deleted. * - * @access public * @static */ public static function del($id) { diff --git a/CRM/Core/BAO/Persistent.php b/CRM/Core/BAO/Persistent.php index d03c7110ff..5cad4f164f 100644 --- a/CRM/Core/BAO/Persistent.php +++ b/CRM/Core/BAO/Persistent.php @@ -41,7 +41,6 @@ class CRM_Core_BAO_Persistent extends CRM_Core_DAO_Persistent { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_Persistent object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -64,7 +63,6 @@ class CRM_Core_BAO_Persistent extends CRM_Core_DAO_Persistent { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object diff --git a/CRM/Core/BAO/Phone.php b/CRM/Core/BAO/Phone.php index 5ceb44a923..07889c563d 100644 --- a/CRM/Core/BAO/Phone.php +++ b/CRM/Core/BAO/Phone.php @@ -71,7 +71,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone { * @param array $params (reference ) an assoc array of name/value pairs * * @return object CRM_Core_BAO_Phone object on success, null otherwise - * @access public * @static */ public static function add(&$params) { @@ -96,7 +95,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone { * @param array entityBlock input parameters to find object * * @return array array of phone objects - * @access public * @static */ public static function &getValues($entityBlock) { @@ -114,7 +112,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone { * @param array $filters * * @return array the array of phone ids which are potential numbers - * @access public * @static */ public static function allPhones($id, $updateBlankLocInfo = FALSE, $type = NULL, $filters = array()) { @@ -186,7 +183,6 @@ ORDER BY civicrm_phone.is_primary DESC, phone_id ASC "; * @param null $type * * @return array the array of phone ids which are potential numbers - * @access public * @static */ public static function allEntityPhones($entityElements, $type = NULL) { diff --git a/CRM/Core/BAO/PreferencesDate.php b/CRM/Core/BAO/PreferencesDate.php index 165fed8bbe..5af2b8cd8c 100644 --- a/CRM/Core/BAO/PreferencesDate.php +++ b/CRM/Core/BAO/PreferencesDate.php @@ -53,7 +53,6 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_PreferencesDate object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -74,7 +73,6 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -86,7 +84,6 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate { * * @param int $id * - * @access public * @static */ public static function del($id) { diff --git a/CRM/Core/BAO/RecurringEntity.php b/CRM/Core/BAO/RecurringEntity.php index c1055a9145..a5d6b17e63 100644 --- a/CRM/Core/BAO/RecurringEntity.php +++ b/CRM/Core/BAO/RecurringEntity.php @@ -137,7 +137,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -171,7 +170,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param int $entityId Child entity id * @param String $entityTable Name of the entity table * - * @access public * @static * * @return object @@ -191,7 +189,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * * @param int $mode Mode of the entity to cascade changes across parent/child relations eg 1 - only this entity, 2 - this and the following entities, 3 - All the entity * - * @access public * * @return void */ @@ -394,7 +391,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param int $mode 1. retrieve only one entity. 2. retrieve all future entities in the repeating set. 3. all entities in the repeating set. * @param int $initiatorId the instance where this function is invoked from * - * @access public * @static * * @return array an array of child ids @@ -459,7 +455,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param boolean $includeParent Include parent in result set * @param int $mode 1. retrieve only one entity. 2. retrieve all future entities in the repeating set. 3. all entities in the repeating set. * - * @access public * @static * * @return array array of connected ids @@ -479,7 +474,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param string $entityTable Entity table name * @param boolean $includeParent Include parent in result set * - * @access public * @static * * @return int unsigned $parentId Parent ID @@ -514,7 +508,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param array $newParams array of all the fields & values to be copied besides the other fields * @param boolean $createRecurringEntity if to create a record in recurring_entity table * - * @access public * @static * * @return object @@ -544,7 +537,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * * @param object $event An object of /Civi/Core/DAO/Event/PostUpdate containing dao object that was just updated * - * @access public * @static * * @return void @@ -617,7 +609,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * * @param object $event An object of /Civi/Core/DAO/Event/PostUpdate containing dao object that was just inserted * - * @access public * @static * * @return void @@ -727,7 +718,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * * @param object $event An object of /Civi/Core/DAO/Event/PostUpdate containing dao object that was just deleted * - * @access public * @static * * @return void @@ -770,7 +760,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param int $entityId Entity id * @param string $entityTable Name of the entity table * - * @access public * @static * * @return boolean|object Returns either boolean value or CRM_Core_DAO_RecurringEntity object @@ -889,7 +878,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * * @param int $scheduleReminderId primary key of civicrm_action_schedule table * - * @access public * @static * * @return object @@ -1037,7 +1025,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param DateTime $startDate Start Date * @param DateTime $endDate End Date * - * @access public * @static * * @return object DateTime object which contain time difference @@ -1056,7 +1043,6 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { * @param int $entityId Entity ID * @param string $used_for Specifies for which entity type it's used for * - * @access public * @static * * @return object diff --git a/CRM/Core/BAO/SchemaHandler.php b/CRM/Core/BAO/SchemaHandler.php index 3715c63b20..4a3283c7ea 100644 --- a/CRM/Core/BAO/SchemaHandler.php +++ b/CRM/Core/BAO/SchemaHandler.php @@ -69,7 +69,6 @@ class CRM_Core_BAO_SchemaHandler { * @return true if successfully created, false otherwise * * @static - * @access public */ public static function createTable(&$params) { $sql = self::buildTableSQL($params); @@ -369,7 +368,6 @@ ALTER TABLE {$tableName} * @return true if successfully deleted, false otherwise * * @static - * @access public */ public static function dropTable($tableName) { $sql = "DROP TABLE $tableName"; diff --git a/CRM/Core/BAO/Setting.php b/CRM/Core/BAO/Setting.php index 63c9c4025b..a8722e737d 100644 --- a/CRM/Core/BAO/Setting.php +++ b/CRM/Core/BAO/Setting.php @@ -77,7 +77,6 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting { * * @return boolean true if item is already in cache * @static - * @access public */ static function inCache( $group, @@ -207,7 +206,6 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting { * * @return mixed The data if present in the setting table, else null * @static - * @access public */ static function getItem( $group, @@ -259,7 +257,6 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting { * @domains array an array of domains to get settings for. Default is the current domain * @return void * @static - * @access public */ public static function getItems(&$params, $domains = NULL, $settingsToReturn) { $originalDomain = CRM_Core_Config::domainID(); @@ -331,7 +328,6 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting { * * @return void * @static - * @access public */ static function setItem( $value, @@ -446,7 +442,6 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting { * @domains array an array of domains to get settings for. Default is the current domain * @return array * @static - * @access public */ public static function setItems(&$params, $domains = NULL) { $originalDomain = CRM_Core_Config::domainID(); diff --git a/CRM/Core/BAO/Tag.php b/CRM/Core/BAO/Tag.php index 3d875b77a6..98e01dfc66 100644 --- a/CRM/Core/BAO/Tag.php +++ b/CRM/Core/BAO/Tag.php @@ -48,7 +48,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return object CRM_Core_DAO_Tag object on success, otherwise null - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -311,7 +310,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { * @param int $id tag id * * @return boolean - * @access public * @static * */ @@ -350,7 +348,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { * signatures * * @return object CRM_Core_DAO_Tag object on success, otherwise null - * @access public * @static */ public static function add(&$params, $ids = array()) { @@ -400,7 +397,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { * @param array $params (reference ) an assoc array of name/value pairs * * @return boolean - * @access public * @static */ public static function dataExists(&$params) { @@ -419,7 +415,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { * @param string $entityTable entity_table * * @return array $tagSets array of tag sets - * @access public * @static */ public static function getTagSet($entityTable) { diff --git a/CRM/Core/BAO/UFField.php b/CRM/Core/BAO/UFField.php index 3bc3eae1d6..030965ca3f 100644 --- a/CRM/Core/BAO/UFField.php +++ b/CRM/Core/BAO/UFField.php @@ -53,7 +53,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_UFField object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -67,7 +66,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * * @return string title * - * @access public * @static * */ @@ -82,7 +80,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * @param boolean $is_active value we want to set the is_active field * * @return Object DAO object on sucess, null otherwise - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -107,7 +104,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * * @return boolean * - * @access public * @static * */ @@ -128,7 +124,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * @return mixed * @ids array $ids array that containd ids * - * @access public * @static */ public static function duplicateField($params, $ids) { @@ -201,7 +196,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * * @return CRM_Core_BAO_UFField object * - * @access public * @static * */ @@ -275,7 +269,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * * @return void * @static - * @access public */ public static function setUFField($customFieldId, $is_active) { //find the profile id given custom field @@ -298,7 +291,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * * @return void * @static - * @access public */ public static function copy($old_id, $new_id) { $ufField = new CRM_Core_DAO_UFField(); @@ -320,7 +312,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * @return void * * @static - * @access public */ public static function delUFField($customFieldId) { //find the profile id given custom field id @@ -342,7 +333,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * * @return void * @static - * @access public */ public static function setUFFieldStatus($customGroupId, $is_active) { //find the profile id given custom group id @@ -366,7 +356,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * * @return boolean false if custom field are disabled else true * @static - * @access public */ public static function checkUFStatus($UFFieldId) { $fieldName = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFField', $UFFieldId, 'field_name'); @@ -500,7 +489,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * @param int $ufGroupId * * @return true for mix profile else false - * @access public * @static */ public static function checkProfileType($ufGroupId) { @@ -568,7 +556,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * @param bool $skipComponentType * * @return string profile group_type - * @access public * @static * * TODO Why is this function in this class? It seems to be about the UFGroup. @@ -591,7 +578,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * @param bool $skipComponentType * * @return string profile group_type - * @access public * @static * * TODO Why is this function in this class? It seems to be about the UFGroup. @@ -695,7 +681,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * @param $ctype * * @return true for mix profile group else false - * @access public * @static */ public static function checkProfileGroupType($ctype) { diff --git a/CRM/Core/BAO/UFGroup.php b/CRM/Core/BAO/UFGroup.php index e415ce1c87..d8c2b14ba1 100644 --- a/CRM/Core/BAO/UFGroup.php +++ b/CRM/Core/BAO/UFGroup.php @@ -55,7 +55,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param array $defaults (reference) an assoc array to hold the flattened values * * @return object CRM_Core_DAO_UFGroup object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -99,7 +98,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * * @return string title * - * @access public * @static * */ @@ -114,7 +112,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param boolean $is_active value we want to set the is_active field * * @return Object CRM_Core_DAO_UFGroup object on success, null otherwise - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -131,7 +128,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * * @return array the fields that are needed for registration * @static - * @access public */ public static function getRegistrationFields($action, $mode, $ctype = NULL) { if ($mode & CRM_Profile_Form::MODE_REGISTER) { @@ -190,7 +186,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param int $permissionType * @return array the fields that are listings related * @static - * @access public */ static function getListingFields( $action, @@ -264,7 +259,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * * @return array the fields that belong to this ufgroup(s) * @static - * @access public */ static function getFields( $id, @@ -692,7 +686,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @pram boolean $register is this the registrtion form * @return boolean true if form is valid * @static - * @access public */ public static function isValid($userID, $title, $register = FALSE, $action = NULL) { if ($register) { @@ -738,7 +731,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * * @return string the html for the form on success, otherwise empty string * @static - * @access public */ static function getEditHTML($userID, $title, @@ -883,7 +875,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param string $contactType * * @return int|null contact_id if found, null otherwise - * @access public * @static */ public static function findContact(&$params, $id = NULL, $contactType = 'Individual') { @@ -911,7 +902,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param null $additionalWhereClause * * @return void - * @access public * @static */ public static function getValues($cid, &$fields, &$values, @@ -1322,7 +1312,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * * @return boolean * - * @access public * @static * */ @@ -1349,7 +1338,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * * @return boolean * - * @access public * @static * */ @@ -1380,7 +1368,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object @@ -1424,7 +1411,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @param int $ufGroupId ufgroup id * * @return void - * @access public * @static */ public static function createUFJoin(&$params, $ufGroupId) { @@ -1496,7 +1482,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return array $ufGroupJoinRecords * - * @access public * @static */ public static function getUFJoinRecord($ufGroupId = NULL, $displayName = NULL, $status = NULL) { @@ -1541,7 +1526,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Core_BAO_UFJoin object - * @access public * @static */ public static function addUFJoin(&$params) { @@ -1557,7 +1541,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param array $params (reference) an assoc array of name/value pairs * * @return void - * @access public * @static */ public static function delUFJoin(&$params) { @@ -1572,7 +1555,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param int $ufGroupId if $ufGroupId get update weight or add weight * * @return int weight of the UFGroup - * @access public * @static */ public static function getWeight($ufGroupId = NULL) { @@ -1606,7 +1588,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param array|NULL $returnFields list of UFGroup fields to return; NULL for default * * @return array $ufGroups array of ufgroups for a module - * @access public * @static */ public static function getModuleUFGroup($moduleName = NULL, $count = 0, $skipPermission = TRUE, $op = CRM_Core_Permission::VIEW, $returnFields = NULL) { @@ -1680,7 +1661,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return boolean true or false * @static - * @access public */ public static function filterUFGroups($ufGroupId, $contactID = NULL) { if (!$contactID) { @@ -1728,7 +1708,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return null * @static - * @access public */ static function buildProfile( &$form, @@ -2231,7 +2210,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return null * @static - * @access public */ static function setProfileDefaults($contactId, &$fields, &$defaults, $singleProfile = TRUE, $componentId = NULL, $component = NULL @@ -2481,7 +2459,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return array $profiles associative array of profiles * @static - * @access public */ public static function getProfiles($types, $onlyPure = FALSE) { $profiles = array(); @@ -2510,7 +2487,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return array $profiles associative array of profiles * @static - * @access public */ public static function getValidProfiles($required, $optional = NULL) { if (!is_array($required) || empty($required)) { @@ -2541,7 +2517,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * * @return array $profiles associative array of profiles * @static - * @access public */ public static function checkValidProfile($ufId, $required = NULL) { $validProfile = FALSE; @@ -2582,7 +2557,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param $defaults * * @return mixed $defaults@static - * @access public */ public static function setRegisterDefaults(&$fields, &$defaults) { $config = CRM_Core_Config::singleton(); @@ -2608,7 +2582,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param int $id the profile id to copy * * @return void - * @access public */ public static function copy($id) { $fieldsFix = array('prefix' => array('title' => ts('Copy of '))); @@ -2666,7 +2639,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param array $values associative array of name/value pair * * @return void - * @access public */ public static function commonSendMail($contactID, &$values) { @@ -2727,7 +2699,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param bool $skipCheck * * @return array - * @access public */ public function checkFieldsEmptyValues($gid, $cid, $params, $skipCheck = FALSE) { if ($gid) { @@ -2761,7 +2732,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param CRM_Core_Smarty $template * * @return void - * @access public */ public function profileDisplay($gid, $values, $template) { $groupTitle = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFGroup', $gid, 'title'); @@ -2779,7 +2749,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param int $contactId * * @return array $data assoicated formatted array - * @access public * @static */ public static function formatFields($params, $contactId = NULL) { @@ -3361,7 +3330,6 @@ SELECT group_id * * @return boolean $mixProfile true if profile is mixed * @static - * @access public */ public static function checkForMixProfiles($profileIds) { $mixProfile = FALSE; @@ -3412,7 +3380,6 @@ SELECT group_id * * @return boolean true if profile should be shown else false * @static - * @access public */ public static function showOverlayProfile() { $showOverlay = TRUE; @@ -3440,7 +3407,6 @@ SELECT group_id * * @return Array group type values * @static - * @access public */ public static function groupTypeValues($profileId, $groupType = NULL) { $groupTypeValue = array(); diff --git a/CRM/Core/BAO/UFJoin.php b/CRM/Core/BAO/UFJoin.php index 7f413a9a3c..d13ae7d504 100644 --- a/CRM/Core/BAO/UFJoin.php +++ b/CRM/Core/BAO/UFJoin.php @@ -44,7 +44,6 @@ class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Core_DAO_UFJoin object - * @access public * @static */ public static function &create($params) { @@ -95,7 +94,6 @@ class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin { * @param array $params (reference) an assoc array of name/value pairs * * @return int or null - * @access public * @static */ public static function findJoinEntryId(&$params) { @@ -132,7 +130,6 @@ class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin { * @param array $params (reference) an assoc array of name/value pairs * * @return int or null - * @access public * @static */ public static function findUFGroupId(&$params) { diff --git a/CRM/Core/BAO/UFMatch.php b/CRM/Core/BAO/UFMatch.php index 49fb14650d..694df83978 100644 --- a/CRM/Core/BAO/UFMatch.php +++ b/CRM/Core/BAO/UFMatch.php @@ -76,7 +76,6 @@ class CRM_Core_BAO_UFMatch extends CRM_Core_DAO_UFMatch { * @param bool $isLogin * * @return void - * @access public * @static */ public static function synchronize(&$user, $update, $uf, $ctype, $isLogin = FALSE) { @@ -182,7 +181,6 @@ class CRM_Core_BAO_UFMatch extends CRM_Core_DAO_UFMatch { * @param bool $isLogin * * @return the ufmatch object that was found or created - * @access public * @static */ public static function &synchronizeUFMatch(&$user, $userKey, $uniqId, $uf, $status = NULL, $ctype = NULL, $isLogin = FALSE) { @@ -362,7 +360,6 @@ AND domain_id = %4 * @param int $contactId id of the contact to update * * @return void - * @access public * @static */ public static function updateUFName($contactId) { @@ -417,7 +414,6 @@ AND domain_id = %4 * @param $emailAddress email to be modified for the user * * @return void - * @access public * @static */ public static function updateContactEmail($contactId, $emailAddress) { @@ -472,7 +468,6 @@ AND domain_id = %4 * @param int $ufID id of the user to delete * * @return void - * @access public * @static */ public static function deleteUser($ufID) { @@ -489,7 +484,6 @@ AND domain_id = %4 * @param int $ufID Id of UF for which related contact_id is required * * @return int contact_id on success, null otherwise - * @access public * @static */ public static function getContactId($ufID) { @@ -513,7 +507,6 @@ AND domain_id = %4 * @param int $contactID ID of the contact for which related uf_id is required * * @return int uf_id of the given contact_id on success, null otherwise - * @access public * @static */ public static function getUFId($contactID) { @@ -544,7 +537,6 @@ AND domain_id = %4 * * * @return int contact_id on success, null otherwise - * @access public * @static */ public static function getContactIDs() { @@ -564,7 +556,6 @@ AND domain_id = %4 * @param int $openId * * @return bool true if allowed to login, false otherwise - * @access public * @static */ public static function getAllowedToLogin($openId) { @@ -583,7 +574,6 @@ AND domain_id = %4 * * * @return int next highest unused value for uf_id - * @access public * @static */ public static function getNextUfIdValue() { diff --git a/CRM/Core/BAO/Website.php b/CRM/Core/BAO/Website.php index 08fe9485d8..cd60593fe0 100644 --- a/CRM/Core/BAO/Website.php +++ b/CRM/Core/BAO/Website.php @@ -44,7 +44,6 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website { * @param array $params (reference ) an assoc array of name/value pairs * * @return object CRM_Core_BAO_Website object on success, null otherwise - * @access public * @static */ public static function add(&$params) { @@ -68,7 +67,6 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website { * @param $skipDelete * * @return void - * @access public * @static */ public static function create(&$params, $contactID, $skipDelete) { @@ -133,7 +131,6 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website { * @param $values * * @return boolean - * @access public * @static */ public static function &getValues(&$params, &$values) { @@ -162,7 +159,6 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website { * @param bool $updateBlankLocInfo * * @return array the array of website details - * @access public * @static */ public static function allWebsites($id, $updateBlankLocInfo = FALSE) { diff --git a/CRM/Core/BAO/WordReplacement.php b/CRM/Core/BAO/WordReplacement.php index 2e8e728e97..422d90aad4 100644 --- a/CRM/Core/BAO/WordReplacement.php +++ b/CRM/Core/BAO/WordReplacement.php @@ -41,7 +41,6 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement { /** * Class constructor * - * @access public * @return \CRM_Core_DAO_WordReplacement */ /** @@ -58,7 +57,6 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_DAO_WordRepalcement object - * @access public * @static */ @@ -72,7 +70,6 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement { * @param null $reset * * @return null|object CRM_Core_BAO_WordRepalcement - * @access public * @static */ public static function getWordReplacement($reset = NULL) { @@ -95,7 +92,6 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement { * @param int $id * * @return WordReplacement array - * @access public */ public static function edit(&$params, &$id) { $wordReplacement = new CRM_Core_DAO_WordReplacement(); @@ -114,7 +110,6 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement { * @param array $params * * @return WordReplacement array - * @access public */ public static function create($params) { if(array_key_exists("domain_id",$params) === FALSE) { diff --git a/CRM/Core/Block.php b/CRM/Core/Block.php index bec00e3862..835f21cf9f 100644 --- a/CRM/Core/Block.php +++ b/CRM/Core/Block.php @@ -226,7 +226,6 @@ class CRM_Core_Block { * Creates the info block for drupal * * @return array - * @access public */ public static function getInfo() { @@ -283,7 +282,6 @@ class CRM_Core_Block { * @param int $id * * @return void - * @access private */ private static function setTemplateValues($id) { switch ($id) { @@ -340,7 +338,6 @@ class CRM_Core_Block { * Create the list of options to create New objects for the application and format is as a block * * @return void - * @access private */ private static function setTemplateShortcutValues() { $config = CRM_Core_Config::singleton(); @@ -457,7 +454,6 @@ class CRM_Core_Block { * Create the list of dashboard links * * @return void - * @access private */ private static function setTemplateDashboardValues() { static $dashboardLinks = array(); @@ -493,7 +489,6 @@ class CRM_Core_Block { * Create the list of mail urls for the application and format is as a block * * @return void - * @access private */ private static function setTemplateMailValues() { static $shortCuts = NULL; @@ -526,7 +521,6 @@ class CRM_Core_Block { * Create the list of shortcuts for the application and format is as a block * * @return void - * @access private */ private static function setTemplateMenuValues() { $config = CRM_Core_Config::singleton(); @@ -542,7 +536,6 @@ class CRM_Core_Block { * Create the event blocks for upcoming events * * @return void - * @access private */ private static function setTemplateEventValues() { $config = CRM_Core_Config::singleton(); @@ -570,7 +563,6 @@ class CRM_Core_Block { * @param int $id id of the block * * @return array - * @access public */ public static function getContent($id) { // return if upgrade mode @@ -650,7 +642,6 @@ class CRM_Core_Block { * @param array $properties template variables * * @return array - * @access public */ public static function fetch($id, $fileName, $properties) { $template = CRM_Core_Smarty::singleton(); diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index a245d68f90..05527ef8bd 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -422,7 +422,6 @@ class CRM_Core_Component { * @param array $tables array of tables * * @return null - * @access public * @static */ public static function tableNames(&$tables) { diff --git a/CRM/Core/Component/Config.php b/CRM/Core/Component/Config.php index 8f02fa0391..5e3afd4727 100644 --- a/CRM/Core/Component/Config.php +++ b/CRM/Core/Component/Config.php @@ -46,7 +46,6 @@ abstract class CRM_Core_Component_Config { * @param $oldMode * * @return array collection of component settings - * @access public */ public function add($config, $oldMode) { foreach (get_class_vars(get_class($this)) as $key => $value) { diff --git a/CRM/Core/Component/Info.php b/CRM/Core/Component/Info.php index fce8e98b12..d5c81e71c0 100644 --- a/CRM/Core/Component/Info.php +++ b/CRM/Core/Component/Info.php @@ -126,7 +126,6 @@ abstract class CRM_Core_Component_Info { * class. * * @return array collection of required component settings - * @access public * */ abstract public function getInfo(); @@ -162,7 +161,6 @@ abstract class CRM_Core_Component_Info { * @param bool $getAllUnconditionally * * @return array|null collection of permissions, null if none - * @access public */ abstract public function getPermissions($getAllUnconditionally = FALSE); @@ -185,7 +183,6 @@ abstract class CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ abstract public function getUserDashboardElement(); @@ -196,7 +193,6 @@ abstract class CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ abstract public function registerTab(); @@ -207,7 +203,6 @@ abstract class CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * @access public * */ abstract public function registerAdvancedSearchPane(); @@ -219,7 +214,6 @@ abstract class CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * @access public * */ abstract public function getActivityTypes(); @@ -229,7 +223,6 @@ abstract class CRM_Core_Component_Info { * marked as enabled in configuration. * * @return boolean true if component is enabled, false if not - * @access public * */ public function isEnabled() { @@ -244,7 +237,6 @@ abstract class CRM_Core_Component_Info { * Provides component's configuration object. * * @return mixed component's configuration object - * @access public * */ public function getConfigObject() { @@ -255,7 +247,6 @@ abstract class CRM_Core_Component_Info { * Provides component's menu definition object. * * @return mixed component's menu definition object - * @access public * */ public function getMenuObject() { @@ -266,7 +257,6 @@ abstract class CRM_Core_Component_Info { * Provides component's invocation object. * * @return mixed component's invocation object - * @access public * */ public function getInvokeObject() { @@ -277,7 +267,6 @@ abstract class CRM_Core_Component_Info { * Provides component's BAO Query object. * * @return mixed component's BAO Query object - * @access public * */ public function getBAOQueryObject() { @@ -287,7 +276,6 @@ abstract class CRM_Core_Component_Info { /** * Builds advanced search form's component specific pane. * - * @access public * */ public function buildAdvancedSearchPaneForm(&$form) { @@ -299,7 +287,6 @@ abstract class CRM_Core_Component_Info { * Provides component's user dashboard page object. * * @return mixed component's User Dashboard applet object - * @access public * */ public function getUserDashboardObject() { @@ -310,7 +297,6 @@ abstract class CRM_Core_Component_Info { * Provides component's contact record tab object. * * @return mixed component's contact record tab object - * @access public * */ public function getTabObject() { @@ -321,7 +307,6 @@ abstract class CRM_Core_Component_Info { * Provides component's advanced search pane's template path. * * @return string component's advanced search pane's template path - * @access public * */ public function getAdvancedSearchPaneTemplatePath() { @@ -333,7 +318,6 @@ abstract class CRM_Core_Component_Info { * Provides information whether given component uses system wide search. * * @return boolean true if component needs search integration - * @access public * */ public function usesSearch() { @@ -344,7 +328,6 @@ abstract class CRM_Core_Component_Info { * Provides the xml menu files * * @return array array of menu files - * @access public * */ public function menuFiles() { @@ -357,7 +340,6 @@ abstract class CRM_Core_Component_Info { * FIXME: accessed from beyond component infrastructure. * * @return string component keyword - * @access public * */ public function getKeyword() { @@ -368,7 +350,6 @@ abstract class CRM_Core_Component_Info { * Helper for figuring out menu XML file location. * * @return mixed component's element as class instance - * @access private * */ private function _getMenuXMLPath() { @@ -383,7 +364,6 @@ abstract class CRM_Core_Component_Info { * @param $cl * * @return mixed component's element as class instance - * @access private */ private function _instantiate($cl) { $className = $this->namespace . '_' . $cl; diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 1beaabadb3..ee1317c150 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -404,7 +404,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { * Initialize the DataObject framework * * @return void - * @access private */ private function _initDAO() { CRM_Core_DAO::init($this->dsn); @@ -421,7 +420,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { * Returns the singleton logger for the application * * @param - * @access private * * @return object */ @@ -437,7 +435,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { * Initialize the config variables * * @return void - * @access private */ private function _initVariables() { // retrieve serialised settings @@ -538,7 +535,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { * Retrieve a mailer to send any mail from the application * * @param boolean $persist open a persistent smtp connection, should speed up mailings - * @access private * @return object */ public static function &getMailer($persist = FALSE) { @@ -669,7 +665,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { * * @return boolean * @static - * @access public */ public static function check(&$config, &$required) { foreach ($required as $name) { diff --git a/CRM/Core/Config/Defaults.php b/CRM/Core/Config/Defaults.php index 6e61e4b80c..2a7d9a06f9 100644 --- a/CRM/Core/Config/Defaults.php +++ b/CRM/Core/Config/Defaults.php @@ -77,7 +77,6 @@ class CRM_Core_Config_Defaults { /** * Format size * - * @access public * @static */ @@ -114,7 +113,6 @@ class CRM_Core_Config_Defaults { * this variable is set true for GUI * mode (eg: Global setting >> Components) * - * @access public * @static */ public static function setValues(&$defaults, $formMode = FALSE) { diff --git a/CRM/Core/Controller.php b/CRM/Core/Controller.php index 657c62dd51..655d79078a 100644 --- a/CRM/Core/Controller.php +++ b/CRM/Core/Controller.php @@ -166,7 +166,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param bool $addSequence should we add a unique sequence number to the end of the key * @param bool $ignoreKey should we not set a qfKey for this controller (for standalone forms) * - * @access public * * @return CRM_Core_Controller */ @@ -379,7 +378,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param string directory to store all the uploaded files * @param array names for the various upload buttons (note u can have more than 1 upload) * - * @access private * * @return void * @@ -410,7 +408,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * Getter method for stateMachine * * @return CRM_Core_StateMachine - * @access public */ public function getStateMachine() { return $this->_stateMachine; @@ -422,7 +419,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param CRM_Core_StateMachine $stateMachine * * @return void - * @access public */ public function setStateMachine($stateMachine) { $this->_stateMachine = $stateMachine; @@ -437,7 +433,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * typicaly this will be add/view/edit * * @return void - * @access public */ public function addPages(&$stateMachine, $action = CRM_Core_Action::NONE) { $pages = $stateMachine->getPages(); @@ -486,7 +481,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * the other as an image, both are of type 'submit'. * * @return string the name of the button that has been pressed by the user - * @access public */ public function getButtonName() { $data = &$this->container(); @@ -496,7 +490,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { /** * Destroy all the session state of the controller. * - * @access public * * @return void */ @@ -513,7 +506,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * and can change based on the arguments * * @return void - * @access public */ public function process() {} @@ -523,7 +515,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param string|array $name name of the variable or an assoc array of name/value pairs * @param mixed $value value of the variable if string * - * @access public * * @return void * @@ -537,7 +528,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * * @param string $name : name of the variable * - * @access public * * @return mixed @@ -554,7 +544,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param string $currentPageName name of the page being displayed * * @return array - * @access public */ public function wizardHeader($currentPageName) { $wizard = array(); @@ -611,7 +600,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param mixed $value value of varaible * * @return void - * @access public */ public function assign($var, $value = NULL) { self::$_template->assign($var, $value); @@ -624,7 +612,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param mixed $value (reference) value of varaible * * @return void - * @access public */ public function assign_by_ref($var, &$value) { self::$_template->assign_by_ref($var, $value); @@ -658,7 +645,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param boolean $embedded * * @return void - * @access public */ public function setEmbedded($embedded) { $this->_embedded = $embedded; @@ -668,7 +654,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * Getter for embedded * * @return boolean return the embedded value - * @access public */ public function getEmbedded() { return $this->_embedded; @@ -680,7 +665,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param boolean $skipRedirection * * @return void - * @access public */ public function setSkipRedirection($skipRedirection) { $this->_skipRedirection = $skipRedirection; @@ -690,7 +674,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * Getter for skipRedirection * * @return boolean return the skipRedirection value - * @access public */ public function getSkipRedirection() { return $this->_skipRedirection; @@ -731,7 +714,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * @param boolean $print * * @return void - * @access public */ public function setPrint($print) { if ($print == "xls") { @@ -747,7 +729,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * Getter for print * * @return boolean return the print value - * @access public */ public function getPrint() { return $this->_print; diff --git a/CRM/Core/Controller/Simple.php b/CRM/Core/Controller/Simple.php index 0107416f46..25ca47a66c 100644 --- a/CRM/Core/Controller/Simple.php +++ b/CRM/Core/Controller/Simple.php @@ -51,7 +51,6 @@ class CRM_Core_Controller_Simple extends CRM_Core_Controller { * * * @return \CRM_Core_Controller_Simple - * @access public */ function __construct( $path, diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 6250086ca1..685fe8a695 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -100,7 +100,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param string $dsn the database connection string * * @return void - * @access private * @static */ public static function init($dsn) { @@ -273,7 +272,6 @@ class CRM_Core_DAO extends DB_DataObject { * by resetting some of DAO's internal fields. Use this with caution * * @return void - * @access public * */ public function reset() { @@ -331,7 +329,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param object $factory the factory application object * * @return void - * @access public * @static */ public static function setFactory(&$factory) { @@ -344,7 +341,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param string $table * * @return void - * @access public */ public function factory($table = '') { if (!isset(self::$_factory)) { @@ -359,7 +355,6 @@ class CRM_Core_DAO extends DB_DataObject { * we need to set the links manually. * * @return void - * @access protected */ public function initialize() { $this->_connect(); @@ -369,7 +364,6 @@ class CRM_Core_DAO extends DB_DataObject { /** * Defines the default key as 'id'. * - * @access protected * * @return array */ @@ -385,7 +379,6 @@ class CRM_Core_DAO extends DB_DataObject { * Tells DB_DataObject which keys use autoincrement. * 'id' is autoincrementing by default. * - * @access protected * * @return array */ @@ -401,7 +394,6 @@ class CRM_Core_DAO extends DB_DataObject { * Returns list of FK relationships * * @static - * @access public * * @return array of CRM_Core_Reference_Interface */ @@ -412,7 +404,6 @@ class CRM_Core_DAO extends DB_DataObject { /** * Returns all the column names of this table * - * @access public * * @return array */ @@ -424,7 +415,6 @@ class CRM_Core_DAO extends DB_DataObject { /** * Get/set an associative array of table columns * - * @access public * @param array key=>type array * @return array (associative) */ @@ -511,7 +501,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param array $params (reference ) associative array of name/value pairs * * @return boolean did we copy all null values into the object - * @access public */ public function copyValues(&$params) { $fields = &$this->fields(); @@ -553,7 +542,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param array $values (reference ) associative array of name/value pairs * * @return void - * @access public * @static */ public static function storeValues(&$object, &$values) { @@ -575,7 +563,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param array $field the field under task * * @return array|null the attributes for the object - * @access public * @static */ public static function makeAttribute($field) { @@ -627,7 +614,6 @@ class CRM_Core_DAO extends DB_DataObject { * you want the attributes for all DAO text fields * * @return array assoc array of name => attribute pairs - * @access public * @static */ public static function getAttribute($class, $fieldName = NULL) { @@ -672,7 +658,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param string $fieldName the name of the field in the DAO * * @return boolean true if object exists - * @access public * @static */ public static function objectExists($value, $daoName, $daoID, $fieldName = 'name') { @@ -963,7 +948,6 @@ FROM civicrm_domain * * @return string|null Value of $returnColumn in the retrieved record * @static - * @access public */ public static function getFieldValue($daoName, $searchValue, $returnColumn = 'name', $searchColumn = 'id', $force = FALSE) { if ( @@ -1009,7 +993,6 @@ FROM civicrm_domain * * @return boolean true if we found and updated the object, else false * @static - * @access public */ public static function setFieldValue($daoName, $searchValue, $setColumn, $setValue, $searchColumn = 'id') { $object = new $daoName( ); @@ -1034,7 +1017,6 @@ FROM civicrm_domain * @param string $default - default sort value * * @return string - sortString - * @access public * @static */ public static function getSortString($sort, $default = NULL) { @@ -1062,7 +1044,6 @@ FROM civicrm_domain * @param array $returnProperities an assoc array of fields that need to be returned, eg array( 'first_name', 'last_name') * * @return object an object of type referenced by daoName - * @access public * @static */ public static function commonRetrieve($daoName, &$params, &$defaults, $returnProperities = NULL) { @@ -1089,7 +1070,6 @@ FROM civicrm_domain * @param int $contactId id of the contact to delete * * @return void - * @access public * @static */ public static function deleteEntityContact($daoName, $contactId) { @@ -1114,7 +1094,6 @@ FROM civicrm_domain * * @return CRM_Core_DAO object that holds the results of the query * @static - * @access public */ static function &executeQuery( $query, @@ -1164,7 +1143,6 @@ FROM civicrm_domain * @return string|null the result of the query if any * * @static - * @access public */ static function &singleValueQuery($query, $params = array(), @@ -1289,7 +1267,6 @@ FROM civicrm_domain * * * @return (reference ) the newly created copy of the object - * @access public */ static function ©Generic($daoName, $criteria, $newData = NULL, $fieldsFix = NULL, $blockCopyOfDependencies = NULL) { $object = new $daoName( ); @@ -1439,7 +1416,6 @@ SELECT contact_id * @param array $returnProperities an assoc array of fields that need to be returned, eg array( 'first_name', 'last_name') * * @return object an object of type referenced by daoName - * @access public * @static */ public static function commonRetrieveAll($daoName, $fieldIdName = 'id', $fieldId, &$details, $returnProperities = NULL) { diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index b633897db5..8e3b01f5f4 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -176,7 +176,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * @param object PEAR_Error * * @return void - * @access public */ public static function handle($pearError) { @@ -308,7 +307,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * * @return void * @static - * @access public */ public static function fatal($message = NULL, $code = NULL, $email = NULL) { $vars = array( @@ -396,7 +394,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * * @return void * @static - * @access public */ public static function handleUnhandledException($exception) { $config = CRM_Core_Config::singleton(); @@ -471,7 +468,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * subsystem is not initialized - CRM-13765 * * @return string the generated output - * @access public * @static */ public static function debug($name, $variable = NULL, $log = TRUE, $html = TRUE, $checkPermission = TRUE) { @@ -519,7 +515,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * * @return string the generated output * - * @access public * * @static * @@ -566,7 +561,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * @param string $comp message to be output * @return string format of the backtrace * - * @access public * * @static */ @@ -831,7 +825,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * @param null $redirect * @param string $title * @return void - * @access public * @static */ public static function statusBounce($status, $redirect = NULL, $title = NULL) { @@ -852,7 +845,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { /** * Reset the error stack * - * @access public * @static */ public static function reset() { @@ -877,7 +869,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * * @param object $obj The PEAR_ERROR object * @return object $obj - * @access public * @static */ public static function nullHandler($obj) { diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index ccfc288488..51dd6f3d99 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -163,7 +163,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param string $name The name of the form if different from class name * * @return \CRM_Core_Form - * @access public */ function __construct( $state = NULL, @@ -216,7 +215,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Register all the standard rules that most forms potentially use * * @return void - * @access private * */ public function registerRules() { @@ -248,7 +246,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param array $extra (attributes for select elements) * * @return HTML_QuickForm_Element could be an error object - * @access public */ function &add($type, $name, $label = '', $attributes = '', $required = FALSE, $extra = NULL @@ -297,7 +294,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * This is a virtual function and should be redefined if needed * - * @access public * * @return void * @@ -312,7 +308,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * This is a virtual function and should be redefined if needed * - * @access public * * @return void * @@ -356,7 +351,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * buildForm associated with QuickForm_Page. This allows us to put * preProcess in front of the actual form building routine * - * @access public * * @return void * @@ -379,7 +373,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * the form. Keeping it distinct from the form to keep code small * and localized in the form building code * - * @access public * * @return void * @@ -388,7 +381,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { /** * Performs the server side validation - * @access public * @since 1.0 * @return boolean true if no error found * @throws HTML_QuickForm_Error @@ -490,7 +482,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * @return void * - * @access public * */ public function addButtons($params) { @@ -550,7 +541,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter function for Name * * @return string - * @access public */ public function getName() { return $this->_name; @@ -560,7 +550,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter function for State * * @return object - * @access public */ public function &getState() { return $this->_state; @@ -570,7 +559,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter function for StateType * * @return int - * @access public */ public function getStateType() { return $this->_state->getType(); @@ -580,7 +568,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter function for title. Should be over-ridden by derived class * * @return string - * @access public */ public function getTitle() { return $this->_title ? $this->_title : ts('ERROR: Title is not Set'); @@ -592,7 +579,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param string $title the title of the form * * @return void - * @access public */ public function setTitle($title) { $this->_title = $title; @@ -604,7 +590,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param mixed * * @return void - * @access public */ public function setOptions($options) { $this->_options = $options; @@ -614,7 +599,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter function for link. * * @return string - * @access public */ public function getLink() { $config = CRM_Core_Config::singleton(); @@ -627,7 +611,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Boolean function to determine if this is a one form page * * @return boolean - * @access public */ public function isSimpleForm() { return $this->_state->getType() & (CRM_Core_State::START | CRM_Core_State::FINISH); @@ -637,7 +620,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter function for Form Action * * @return string - * @access public */ public function getFormAction() { return $this->_attributes['action']; @@ -649,7 +631,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param string * * @return void - * @access public */ public function setFormAction($action) { $this->_attributes['action'] = $action; @@ -659,7 +640,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Render form and return contents * * @return string - * @access public */ public function toSmarty() { $this->preProcessChainSelectFields(); @@ -677,7 +657,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * create one and initialize it * * @return object - * @access public */ public function &getRenderer() { if (!isset($this->_renderer)) { @@ -690,7 +669,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Use the form name to create the tpl file name * * @return string - * @access public */ public function getTemplateFileName() { $ext = CRM_Extension_System::singleton()->getMapper(); @@ -722,7 +700,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * i.e. we dont override * * @return string - * @access public */ public function overrideExtraTemplateFileName() { return NULL; @@ -736,7 +713,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param CRM_Core_DAO $dao A data access object on which we perform a rollback if non - empty * * @return void - * @access public */ public function error($message, $code = NULL, $dao = NULL) { if ($dao) { @@ -754,7 +730,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param string name : name of the variable * @param mixed value : value of the variable * - * @access public * * @return void * @@ -768,7 +743,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * @param string name : name of the variable * - * @access public * * @return mixed * @@ -781,7 +755,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Getter for action * * @return int - * @access public */ public function getAction() { return $this->_action; @@ -793,7 +766,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param int $action the mode we want to set the form * * @return void - * @access public */ public function setAction($action) { $this->_action = $action; @@ -806,7 +778,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param mixed $value value of variable * * @return void - * @access public */ public function assign($var, $value = NULL) { self::$_template->assign($var, $value); @@ -819,7 +790,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param mixed $value value of varaible * * @return void - * @access public */ public function assign_by_ref($var, &$value) { self::$_template->assign_by_ref($var, $value); @@ -966,7 +936,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @param bool|string $submitOnce If true, add javascript to next button submit which prevents it from being clicked more than once * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $buttons = array(); @@ -1422,7 +1391,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * - class, etc. - other html properties * @param bool $required * - * @access public * @return HTML_QuickForm_Element */ public function addEntityRef($name, $label = '', $props = array(), $required = FALSE) { @@ -1511,7 +1479,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Function that can be defined in Form to override or * perform specific action on cancel action * - * @access public */ public function cancelAction() {} diff --git a/CRM/Core/Form/Date.php b/CRM/Core/Form/Date.php index 30c76da12e..624df8240e 100644 --- a/CRM/Core/Form/Date.php +++ b/CRM/Core/Form/Date.php @@ -45,7 +45,6 @@ Class CRM_Core_Form_Date { * @param CRM_Core_Form $form the form object that we are operating on * * @static - * @access public */ public static function buildAllowedDateFormats(&$form) { @@ -87,7 +86,6 @@ Class CRM_Core_Form_Date { * * * @static - * @access public */ static function buildDateRange( diff --git a/CRM/Core/Form/RecurringEntity.php b/CRM/Core/Form/RecurringEntity.php index 5665778eaa..96a82a7e18 100644 --- a/CRM/Core/Form/RecurringEntity.php +++ b/CRM/Core/Form/RecurringEntity.php @@ -108,7 +108,6 @@ class CRM_Core_Form_RecurringEntity { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return None */ @@ -232,7 +231,6 @@ class CRM_Core_Form_RecurringEntity { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values) { $errors = array(); @@ -313,7 +311,6 @@ class CRM_Core_Form_RecurringEntity { /** * Process the form submission * - * @access public * * @return None */ @@ -481,7 +478,6 @@ class CRM_Core_Form_RecurringEntity { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Repeat Entity'); diff --git a/CRM/Core/Form/Renderer.php b/CRM/Core/Form/Renderer.php index d4ea445936..4d255b6bd8 100644 --- a/CRM/Core/Form/Renderer.php +++ b/CRM/Core/Form/Renderer.php @@ -69,7 +69,6 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { /** * Constructor * - * @access public */ function __construct() { $template = CRM_Core_Smarty::singleton(); parent::__construct($template); @@ -93,7 +92,6 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { * work, but then we add some CiviCRM specific enhancements to * make the html compliant with our css etc * - * @access private * * @param $element HTML_QuickForm_element * @param $required bool - Whether an element is required @@ -142,7 +140,6 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { * Update the attributes of this element and add a few CiviCRM * based attributes so we can style this form element better * - * @access private * * @param $element HTML_QuickForm_element object * @param $required bool Whether an element is required diff --git a/CRM/Core/Form/Search.php b/CRM/Core/Form/Search.php index a344b162ea..cd650775fa 100644 --- a/CRM/Core/Form/Search.php +++ b/CRM/Core/Form/Search.php @@ -33,7 +33,6 @@ class CRM_Core_Form_Search extends CRM_Core_Form { * Are we forced to run a search * * @var int - * @access protected */ protected $_force; @@ -41,7 +40,6 @@ class CRM_Core_Form_Search extends CRM_Core_Form { * Name of search button * * @var string - * @access protected */ protected $_searchButtonName; @@ -49,7 +47,6 @@ class CRM_Core_Form_Search extends CRM_Core_Form { * Name of action button * * @var string - * @access protected */ protected $_actionButtonName; @@ -57,14 +54,12 @@ class CRM_Core_Form_Search extends CRM_Core_Form { * Form values that we will be using * * @var array - * @access public */ public $_formValues; /** * Have we already done this search * - * @access protected * @var boolean */ protected $_done; @@ -72,7 +67,6 @@ class CRM_Core_Form_Search extends CRM_Core_Form { /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; diff --git a/CRM/Core/Form/Tag.php b/CRM/Core/Form/Tag.php index fff554e335..f8f5c73cd1 100644 --- a/CRM/Core/Form/Tag.php +++ b/CRM/Core/Form/Tag.php @@ -52,7 +52,6 @@ class CRM_Core_Form_Tag { * @param string $tagsetElementName if you need to create tagsetlist with specific name * * @return void - * @access public * @static */ static function buildQuickForm(&$form, $parentNames, $entityTable, $entityId = NULL, $skipTagCreate = FALSE, @@ -124,7 +123,6 @@ class CRM_Core_Form_Tag { * @param CRM_Core_Form $form form object * * @return void - * @access public * @static */ public static function postProcess(&$params, $entityId, $entityTable = 'civicrm_contact', &$form) { diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 2f720d9e60..0bad37a681 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -45,7 +45,6 @@ class CRM_Core_Invoke { * @return string, HTML * * @static - * @access public */ public static function invoke($args) { try { @@ -349,7 +348,6 @@ class CRM_Core_Invoke { * @param $contact_sub_type * * @static - * @access public */ public static function form($action, $contact_type, $contact_sub_type) { CRM_Utils_System::setUserContext(array('civicrm/contact/search/basic', 'civicrm/contact/view')); diff --git a/CRM/Core/JobManager.php b/CRM/Core/JobManager.php index ad5843dcd9..1ebde17f26 100644 --- a/CRM/Core/JobManager.php +++ b/CRM/Core/JobManager.php @@ -55,7 +55,6 @@ class CRM_Core_JobManager { * Class constructor * * @param void - * @access public * */ /** @@ -71,7 +70,6 @@ class CRM_Core_JobManager { /* * * @param void - * @access private * */ /** @@ -102,7 +100,6 @@ class CRM_Core_JobManager { * Class destructor * * @param void - * @access public * */ public function __destruct() {} @@ -157,7 +154,6 @@ class CRM_Core_JobManager { * * @param void * @return array ($id => CRM_Core_ScheduledJob) - * @access private * */ /** @@ -182,7 +178,6 @@ class CRM_Core_JobManager { * and creates ScheduledJob object. * * @param void - * @access private * */ /** @@ -225,7 +220,6 @@ class CRM_Core_JobManager { /* * * @return array|null collection of permissions, null if none - * @access public * */ /** diff --git a/CRM/Core/Joomla.php b/CRM/Core/Joomla.php index e4f65dc825..3136fc47b8 100644 --- a/CRM/Core/Joomla.php +++ b/CRM/Core/Joomla.php @@ -43,7 +43,6 @@ class CRM_Core_Joomla { * to the smarty instance * * @return void - * @access public * @static */ public static function sidebarLeft() { diff --git a/CRM/Core/Key.php b/CRM/Core/Key.php index e7454e2bad..e872702cf1 100644 --- a/CRM/Core/Key.php +++ b/CRM/Core/Key.php @@ -42,7 +42,6 @@ class CRM_Core_Key { * * @return string private key for this session * @static - * @access private */ public static function privateKey() { if (!self::$_key) { @@ -80,7 +79,6 @@ class CRM_Core_Key { * * @return string valid formID * @static - * @access public */ public static function get($name, $addSequence = FALSE) { $privateKey = self::privateKey(); @@ -104,7 +102,6 @@ class CRM_Core_Key { * * @return string $formKey if valid, else null * @static - * @access public */ public static function validate($key, $name, $addSequence = FALSE) { if (!is_string($key)) { diff --git a/CRM/Core/Menu.php b/CRM/Core/Menu.php index 26da37939c..9fa916084e 100644 --- a/CRM/Core/Menu.php +++ b/CRM/Core/Menu.php @@ -165,7 +165,6 @@ class CRM_Core_Menu { * @param boolen $fetchFromXML fetch the menu items from xml and not from cache * * @static - * @access public */ public static function &items($fetchFromXML = FALSE) { return self::xmlItems($fetchFromXML); @@ -486,7 +485,6 @@ class CRM_Core_Menu { * @return array The breadcrumb for this path * * @static - * @access public */ public static function buildBreadcrumb(&$menu, $path) { $crumbs = array(); diff --git a/CRM/Core/OptionGroup.php b/CRM/Core/OptionGroup.php index 26739152df..3cd2e4e4fb 100644 --- a/CRM/Core/OptionGroup.php +++ b/CRM/Core/OptionGroup.php @@ -262,7 +262,6 @@ WHERE v.option_group_id = g.id * * @return void * - * @access public * @static */ public static function lookupValues(&$params, &$names, $flip = FALSE) { @@ -400,7 +399,6 @@ WHERE v.option_group_id = g.id * * @param string $groupName the name of the option group * - * @access public * @static * * @return string the value from the row where is_default = true @@ -445,7 +443,6 @@ WHERE v.option_group_id = g.id * @param int $defaultID (reference) - the option value ID of the default element (if set) is returned else 'null' * @param null $groupTitle the optional label of the option group else set to group name * - * @access public * @static * * @return int the option group ID diff --git a/CRM/Core/OptionValue.php b/CRM/Core/OptionValue.php index 9e35e2e873..5a9fe27793 100644 --- a/CRM/Core/OptionValue.php +++ b/CRM/Core/OptionValue.php @@ -67,7 +67,6 @@ class CRM_Core_OptionValue { * * @return array of option-values * - * @access public * @static */ public static function getRows($groupParams, $links, $orderBy = 'weight') { @@ -179,7 +178,6 @@ class CRM_Core_OptionValue { * * @return CRM_Core_DAO_OptionValue * - * @access public * @static */ public static function addOptionValue(&$params, &$groupParams, &$action, &$optionValueID) { @@ -247,7 +245,6 @@ class CRM_Core_OptionValue { * @param string $fieldName the name of the field in the DAO * * @return boolean true if object exists - * @access public * @static */ public static function optionExists($value, $daoName, $daoID, $optionGroupID, $fieldName = 'name') { @@ -270,7 +267,6 @@ class CRM_Core_OptionValue { * @param string $contactType * * @return boolean true if object exists - * @access public * @static */ public static function getFields($mode = '', $contactType = 'Individual') { @@ -343,7 +339,6 @@ class CRM_Core_OptionValue { * @param $query * * @return void - * @access public */ public static function select(&$query) { if (!empty($query->_params) || !empty($query->_returnProperties)) { @@ -377,7 +372,6 @@ class CRM_Core_OptionValue { * * @return array of option-values * - * @access public * @static */ public static function getValues($groupParams, &$values, $orderBy = 'weight', $isActive = FALSE) { diff --git a/CRM/Core/Page.php b/CRM/Core/Page.php index 14bc2705d7..d68775d37a 100644 --- a/CRM/Core/Page.php +++ b/CRM/Core/Page.php @@ -47,7 +47,6 @@ class CRM_Core_Page { * The name of the page (auto generated from class name) * * @var string - * @access protected */ protected $_name; @@ -55,7 +54,6 @@ class CRM_Core_Page { * The title associated with this page * * @var object - * @access protected */ protected $_title; @@ -63,7 +61,6 @@ class CRM_Core_Page { * A page can have multiple modes. (i.e. displays * a different set of data based on the input * @var int - * @access protected */ protected $_mode; @@ -73,7 +70,6 @@ class CRM_Core_Page { * parent object takes care of the display) * * @var boolean - * @access protected */ protected $_embedded = FALSE; @@ -82,7 +78,6 @@ class CRM_Core_Page { * functionality to do a minimal display :) * * @var boolean - * @access protected */ protected $_print = FALSE; @@ -90,7 +85,6 @@ class CRM_Core_Page { * Cache the smarty template for efficiency reasons * * @var CRM_Core_Smarty - * @access protected * @static */ static protected $_template; @@ -99,7 +93,6 @@ class CRM_Core_Page { * Cache the session for efficiency reasons * * @var CRM_Core_Session - * @access protected * @static */ static protected $_session; @@ -253,7 +246,6 @@ class CRM_Core_Page { * @param string|array $name name of the variable or an assoc array of name/value pairs * @param mixed $value value of the variable if string * - * @access public * * @return void * @@ -267,7 +259,6 @@ class CRM_Core_Page { * * @param string name : name of the variable * - * @access public * * @return mixed * @@ -283,7 +274,6 @@ class CRM_Core_Page { * @param mixed $value value of varaible * * @return void - * @access public */ public function assign($var, $value = NULL) { self::$_template->assign($var, $value); @@ -296,7 +286,6 @@ class CRM_Core_Page { * @param mixed $value (reference) value of varaible * * @return void - * @access public */ public function assign_by_ref($var, &$value) { self::$_template->assign_by_ref($var, $value); @@ -327,7 +316,6 @@ class CRM_Core_Page { /** * Destroy all the session state of this page. * - * @access public * * @return void */ @@ -339,7 +327,6 @@ class CRM_Core_Page { * Use the form name to create the tpl file name * * @return string - * @access public */ public function getTemplateFileName() { return str_replace('_', @@ -363,7 +350,6 @@ class CRM_Core_Page { * i.e. we dont override * * @return string - * @access public */ public function overrideExtraTemplateFileName() { return NULL; @@ -375,7 +361,6 @@ class CRM_Core_Page { * @param boolean $embedded * * @return void - * @access public */ public function setEmbedded($embedded) { $this->_embedded = $embedded; @@ -385,7 +370,6 @@ class CRM_Core_Page { * Getter for embedded * * @return boolean return the embedded value - * @access public */ public function getEmbedded() { return $this->_embedded; @@ -397,7 +381,6 @@ class CRM_Core_Page { * @param boolean $print * * @return void - * @access public */ public function setPrint($print) { $this->_print = $print; @@ -407,7 +390,6 @@ class CRM_Core_Page { * Getter for print * * @return boolean return the print value - * @access public */ public function getPrint() { return $this->_print; diff --git a/CRM/Core/Page/AJAX.php b/CRM/Core/Page/AJAX.php index a603f99ee1..244b022bad 100644 --- a/CRM/Core/Page/AJAX.php +++ b/CRM/Core/Page/AJAX.php @@ -42,7 +42,6 @@ class CRM_Core_Page_AJAX { * Call generic ajax forms * * @static - * @access public */ public static function run() { $className = CRM_Utils_Type::escape($_REQUEST['class_name'], 'String'); @@ -93,7 +92,6 @@ class CRM_Core_Page_AJAX { * Change is_quick_config priceSet to complex * * @static - * @access public */ public static function setIsQuickConfig() { $id = $context = NULL; diff --git a/CRM/Core/Page/Basic.php b/CRM/Core/Page/Basic.php index 406801fc34..cb7fcaf336 100644 --- a/CRM/Core/Page/Basic.php +++ b/CRM/Core/Page/Basic.php @@ -48,7 +48,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * Name of the BAO to perform various DB manipulations * * @return string - * @access public */ abstract function getBAOName(); @@ -57,7 +56,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * An array of action links * * @return array (reference) - * @access public */ abstract function &links(); @@ -65,7 +63,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * Name of the edit form class * * @return string - * @access public */ abstract function editForm(); @@ -73,7 +70,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * Name of the form * * @return string - * @access public */ abstract function editName(); @@ -83,7 +79,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * @param int $mode mode that we are in * * @return string - * @access public */ abstract function userContext($mode = NULL); @@ -93,7 +88,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * @param int $mode mode that we are in * * @return string - * @access public */ public function userContextParams($mode = NULL) { return 'reset=1&action=browse'; @@ -106,7 +100,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * @param int $name the name or title of the object * * @return string permission value if permission is granted, else null - * @access public */ public function checkPermission($id, $name) { return CRM_Core_Permission::EDIT; @@ -119,7 +112,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * @param CRM_Core_Controller $controller the controller object * * @return void - * @access public */ public function addValues($controller) {} @@ -196,7 +188,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * Browse all entities. * * @return void - * @access public */ public function browse() { $n = func_num_args(); @@ -293,7 +284,6 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { * @param bool $forceAction * * @return void - * @access private */ public function action(&$object, $action, &$values, &$links, $permission, $forceAction = FALSE) { $values['class'] = ''; diff --git a/CRM/Core/Payment/Form.php b/CRM/Core/Payment/Form.php index 28a94bad07..ca4a162ebe 100644 --- a/CRM/Core/Payment/Form.php +++ b/CRM/Core/Payment/Form.php @@ -85,7 +85,6 @@ class CRM_Core_Payment_Form { * @param CRM_Core_Form $form * * @return void - * @access protected */ static protected function setBillingDetailsFields(&$form) { $bltID = $form->_bltID; diff --git a/CRM/Core/Payment/Google.php b/CRM/Core/Payment/Google.php index 8f0f204fd4..e7f04e104d 100644 --- a/CRM/Core/Payment/Google.php +++ b/CRM/Core/Payment/Google.php @@ -139,7 +139,6 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment { * @param $component * * @return void - * @access public */ public function doTransferCheckout(&$params, $component) { $component = strtolower($component); @@ -212,7 +211,6 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment { * @param object $cart object of googel cart * * @return void - * @access public * */ public function submitPostParams($params, $component, $cart) { diff --git a/CRM/Core/Payment/GoogleIPN.php b/CRM/Core/Payment/GoogleIPN.php index 25bf5a2596..3642d1ef14 100644 --- a/CRM/Core/Payment/GoogleIPN.php +++ b/CRM/Core/Payment/GoogleIPN.php @@ -415,7 +415,6 @@ WHERE contribution_recur_id = {$ids['contributionRecur']} * @param int $orderNo send by google * * @return amount - * @access public */ public function getAmount($orderNo) { $contribution = new CRM_Contribute_DAO_Contribution(); diff --git a/CRM/Core/Payment/PaymentExpress.php b/CRM/Core/Payment/PaymentExpress.php index 40fd9f12fb..048a6edf02 100644 --- a/CRM/Core/Payment/PaymentExpress.php +++ b/CRM/Core/Payment/PaymentExpress.php @@ -162,7 +162,6 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment { * @param $component * * @return void - * @access public */ public function doTransferCheckout(&$params, $component) { $component = strtolower($component); diff --git a/CRM/Core/Permission.php b/CRM/Core/Permission.php index 06ac4c7022..87506175dd 100644 --- a/CRM/Core/Permission.php +++ b/CRM/Core/Permission.php @@ -114,7 +114,6 @@ class CRM_Core_Permission { * * @return boolean true if yes, else false * @static - * @access public */ public static function check($permissions) { $permissions = (array) $permissions; @@ -162,7 +161,6 @@ class CRM_Core_Permission { * * @return boolean true if yes, else false * @static - * @access public */ public static function checkGroupRole($array) { $config = CRM_Core_Config::singleton(); @@ -177,7 +175,6 @@ class CRM_Core_Permission { * @param array $whereTables (reference ) add the tables that are needed for the where clause * * @return string the group where clause for this user - * @access public */ public static function getPermissionedStaticGroupClause($type, &$tables, &$whereTables) { $config = CRM_Core_Config::singleton(); @@ -191,7 +188,6 @@ class CRM_Core_Permission { * @param string $groupType type of group(Access/Mailing) * @param bool|\boolen $excludeHidden exclude hidden groups. * - * @access public * @static * * @return array - array reference of all groups. diff --git a/CRM/Core/Permission/Base.php b/CRM/Core/Permission/Base.php index 1ff0aae37b..83b4152496 100644 --- a/CRM/Core/Permission/Base.php +++ b/CRM/Core/Permission/Base.php @@ -82,7 +82,6 @@ class CRM_Core_Permission_Base { * @param array $whereTables (reference ) add the tables that are needed for the where clause * * @return string the group where clause for this user - * @access public */ public function whereClause($type, &$tables, &$whereTables) { return '( 1 )'; @@ -95,7 +94,6 @@ class CRM_Core_Permission_Base { * @param array $whereTables (reference ) add the tables that are needed for the where clause * * @return string the group where clause for this user - * @access public */ public function getPermissionedStaticGroupClause($type, &$tables, &$whereTables) { $this->group(); @@ -109,7 +107,6 @@ class CRM_Core_Permission_Base { * @param string $groupType type of group(Access/Mailing) * @param bool|\boolen $excludeHidden exclude hidden groups. * - * @access public * * @return array - array reference of all groups. */ @@ -125,7 +122,6 @@ class CRM_Core_Permission_Base { * @param array $whereTables (reference ) add the tables that are needed for the where clause * * @return string the group where clause for this user - * @access public */ public function groupClause($type, &$tables, &$whereTables) { return ' (1) '; @@ -137,7 +133,6 @@ class CRM_Core_Permission_Base { * @param string $str the permission to check * * @return boolean true if yes, else false - * @access public */ public function check($str) { @@ -150,7 +145,6 @@ class CRM_Core_Permission_Base { * @param array $array the roles to check * * @return boolean true if yes, else false - * @access public */ public function checkGroupRole($array) { diff --git a/CRM/Core/Permission/Drupal.php b/CRM/Core/Permission/Drupal.php index eb75c0a9e6..de0c589779 100644 --- a/CRM/Core/Permission/Drupal.php +++ b/CRM/Core/Permission/Drupal.php @@ -70,7 +70,6 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase{ * @param int $contactID * * @return boolean true if yes, else false - * @access public */ public function check($str, $contactID = NULL) { $str = $this->translatePermission($str, 'Drupal', array( @@ -95,7 +94,6 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase{ * @param array $array the roles to check * * @return boolean true if yes, else false - * @access public */ public function checkGroupRole($array) { if (function_exists('user_load') && isset($array)) { diff --git a/CRM/Core/Permission/Drupal6.php b/CRM/Core/Permission/Drupal6.php index 844f13c913..b9eabc9d03 100644 --- a/CRM/Core/Permission/Drupal6.php +++ b/CRM/Core/Permission/Drupal6.php @@ -69,7 +69,6 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase { * @param int $contactID * * @return boolean true if yes, else false - * @access public */ public function check($str, $contactID = NULL) { $str = $this->translatePermission($str, 'Drupal6', array( @@ -94,7 +93,6 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase { * @param array $array the roles to check * * @return boolean true if yes, else false - * @access public */ public function checkGroupRole($array) { diff --git a/CRM/Core/Permission/DrupalBase.php b/CRM/Core/Permission/DrupalBase.php index b443da3f56..587ba80adc 100644 --- a/CRM/Core/Permission/DrupalBase.php +++ b/CRM/Core/Permission/DrupalBase.php @@ -68,7 +68,6 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base { * @param string $groupType type of group(Access/Mailing) * @param bool $excludeHidden exclude hidden groups. * - * @access public * * @return array - array reference of all groups. */ @@ -141,7 +140,6 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base { * @param array $whereTables (reference) add the tables that are needed for the where clause * * @return string the clause to add to the query retrieving viewable groups - * @access public */ public function groupClause($type, &$tables, &$whereTables) { if (!isset($this->_viewPermissionedGroups)) { @@ -254,7 +252,6 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base { * @param array $array the roles to check * * @return boolean true if yes, else false - * @access public * */ public function checkGroupRole($array) { diff --git a/CRM/Core/Permission/Joomla.php b/CRM/Core/Permission/Joomla.php index 93bc435da0..f89c3c6472 100644 --- a/CRM/Core/Permission/Joomla.php +++ b/CRM/Core/Permission/Joomla.php @@ -43,7 +43,6 @@ class CRM_Core_Permission_Joomla extends CRM_Core_Permission_Base { * @param string $str the permission to check * * @return boolean true if yes, else false - * @access public */ public function check($str) { $config = CRM_Core_Config::singleton(); @@ -101,7 +100,6 @@ class CRM_Core_Permission_Joomla extends CRM_Core_Permission_Base { * * @return boolean true if yes, else false * @static - * @access public */ public function checkGroupRole($array) { return FALSE; diff --git a/CRM/Core/Permission/Soap.php b/CRM/Core/Permission/Soap.php index 86c2f27393..32c8f726e1 100644 --- a/CRM/Core/Permission/Soap.php +++ b/CRM/Core/Permission/Soap.php @@ -44,7 +44,6 @@ class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base { * @param string $str the permission to check * * @return boolean true if yes, else false - * @access public */ public function check($str) { diff --git a/CRM/Core/Permission/UnitTests.php b/CRM/Core/Permission/UnitTests.php index c3414e2123..2bbb5ca054 100644 --- a/CRM/Core/Permission/UnitTests.php +++ b/CRM/Core/Permission/UnitTests.php @@ -47,7 +47,6 @@ class CRM_Core_Permission_UnitTests extends CRM_Core_Permission_Base { * @param string $str the permission to check * * @return boolean true if yes, else false - * @access public */ public function check($str) { if ($str == CRM_Core_Permission::ALWAYS_DENY_PERMISSION) { @@ -69,7 +68,6 @@ class CRM_Core_Permission_UnitTests extends CRM_Core_Permission_Base { * @param array $whereTables (reference ) add the tables that are needed for the where clause * * @return string the group where clause for this user - * @access public */ public function whereClause($type, &$tables, &$whereTables) { return '( 1 )'; diff --git a/CRM/Core/Permission/WordPress.php b/CRM/Core/Permission/WordPress.php index 6b96b91d5c..d6c137beac 100644 --- a/CRM/Core/Permission/WordPress.php +++ b/CRM/Core/Permission/WordPress.php @@ -43,7 +43,6 @@ class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base { * @param string $str the permission to check * * @return boolean true if yes, else false - * @access public */ public function check($str) { // Generic cms 'administer users' role tranlates to 'administrator' WordPress role diff --git a/CRM/Core/PseudoConstant.php b/CRM/Core/PseudoConstant.php index 95b043b839..b67da6bf8b 100644 --- a/CRM/Core/PseudoConstant.php +++ b/CRM/Core/PseudoConstant.php @@ -550,7 +550,6 @@ class CRM_Core_PseudoConstant { * @param null $force * * @return void - * @access public * @static */ public static function populate( @@ -603,7 +602,6 @@ class CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * nex time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed @@ -624,7 +622,6 @@ class CRM_Core_PseudoConstant { * * The static array activityType is returned * - * @access public * @static * * @return array - array reference of all activity types. @@ -699,7 +696,6 @@ class CRM_Core_PseudoConstant { * * Note: any database errors will be trapped by the DAO. * - * @access public * @static * * @param bool|int $id - Optional id to return @@ -755,7 +751,6 @@ class CRM_Core_PseudoConstant { * * Same as above, except gets the abbreviations instead of the names. * - * @access public * @static * * @param bool|int $id - Optional id to return @@ -823,7 +818,6 @@ WHERE id = %1"; * * Note: any database errors will be trapped by the DAO. * - * @access public * @static * * @param bool|int $id - Optional id to return @@ -901,7 +895,6 @@ WHERE id = %1"; * * Note: any database errors will be trapped by the DAO. * - * @access public * @static * * @param bool $id @@ -937,7 +930,6 @@ WHERE id = %1"; * @param string $groupType type of group(Access/Mailing) * @param bool $excludeHidden exclude hidden groups. * - * @access public * @static * * @return array - array reference of all groups. @@ -966,7 +958,6 @@ WHERE id = %1"; * called for the first time * * - * @access public * @static * * @param bool $styledLabels @@ -996,7 +987,6 @@ WHERE id = %1"; * @param string $groupType type of group(Access/Mailing) * @param bool $excludeHidden exclude hidden groups. * - * @access public * @static * * @return array - array reference of all groups. @@ -1026,7 +1016,6 @@ WHERE id = %1"; * * Note: any database errors will be trapped by the DAO. * - * @access public * @static * * @param bool $onlyPublic @@ -1068,7 +1057,6 @@ WHERE id = %1"; * @param string $valueColumnName db column name/label. * @param boolean $reset reset relationship types if true * - * @access public * @static * * @return array - array reference of all relationship types. @@ -1108,7 +1096,6 @@ WHERE id = %1"; * * so far, we use this for validation only, so there's no point of putting this into the database * - * @access public * * @return array - array reference of all currency codes * @static @@ -1397,7 +1384,6 @@ WHERE id = %1"; * * Note: any database errors will be trapped by the DAO. * - * @access public * @static * * @param bool|int $id - Optional id to return @@ -1428,7 +1414,6 @@ WHERE id = %1"; * * The static array paymentProcessor is returned * - * @access public * @static * * @param boolean $all - get payment processors - default is to get only active ones. @@ -1463,7 +1448,6 @@ WHERE id = %1"; * * The static array paymentProcessorType is returned * - * @access public * @static * * @param boolean $all - get payment processors - default is to get only active ones. @@ -1487,7 +1471,6 @@ WHERE id = %1"; /** * Get all the World Regions from Database * - * @access public * * @param bool $id * @@ -1518,7 +1501,6 @@ WHERE id = %1"; * * The static array activityStatus is returned * - * @access public * @static * * @param string $column @@ -1545,7 +1527,6 @@ WHERE id = %1"; * * The static array visibility is returned * - * @access public * @static * * @param string $column @@ -1706,7 +1687,6 @@ WHERE id = %1 * * The static array of greeting is returned * - * @access public * @static * * @param $filter - get All Email Greetings - default is to get only active ones. @@ -1757,7 +1737,6 @@ WHERE id = %1 /** * Construct array of default greeting values for contact type * - * @access public * @static * * @return array - array reference of default greetings. @@ -1791,7 +1770,6 @@ WHERE id = %1 * FIXME: This is called by civix but not by any core code. We * should provide an API call which civix can use instead. * - * @access public * @static * * @return array - array($fullyQualifiedName => $label) list of extensions @@ -1818,7 +1796,6 @@ WHERE id = %1 * * The static array option values is returned * - * @access public * @static * * @param boolean $optionGroupName - get All Option Group values- default is to get only active ones. @@ -1844,7 +1821,6 @@ WHERE id = %1 * Fetch the list of active extensions of type 'module' * * @param $fresh bool whether to forcibly reload extensions list from canonical store - * @access public * @static * * @return array - array(array('prefix' => $, 'file' => $)) @@ -1859,7 +1835,6 @@ WHERE id = %1 * * The static array tax rates is returned * - * @access public * @static * * @return array - array list of tax rates with the financial type diff --git a/CRM/Core/QuickForm/Action.php b/CRM/Core/QuickForm/Action.php index 5b8c56972e..dce58e7bf5 100644 --- a/CRM/Core/QuickForm/Action.php +++ b/CRM/Core/QuickForm/Action.php @@ -63,7 +63,6 @@ class CRM_Core_QuickForm_Action extends HTML_QuickForm_Action { * Returns the user to the top of the user context stack. * * @return void - * @access public */ public function popUserContext() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Core/QuickForm/Action/Back.php b/CRM/Core/QuickForm/Action/Back.php index 18290b10bc..e5a97ac49f 100644 --- a/CRM/Core/QuickForm/Action/Back.php +++ b/CRM/Core/QuickForm/Action/Back.php @@ -41,7 +41,6 @@ class CRM_Core_QuickForm_Action_Back extends CRM_Core_QuickForm_Action { * @param object $stateMachine reference to state machine object * * @return \CRM_Core_QuickForm_Action_Back - * @access public */ public function __construct(&$stateMachine) { parent::__construct($stateMachine); @@ -54,7 +53,6 @@ class CRM_Core_QuickForm_Action_Back extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { $this->_stateMachine->perform($page, $actionName, 'Back'); diff --git a/CRM/Core/QuickForm/Action/Cancel.php b/CRM/Core/QuickForm/Action/Cancel.php index 83d8363fe1..7541cf5d9b 100644 --- a/CRM/Core/QuickForm/Action/Cancel.php +++ b/CRM/Core/QuickForm/Action/Cancel.php @@ -54,7 +54,6 @@ class CRM_Core_QuickForm_Action_Cancel extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { // conditional actions if cancelAction is defined diff --git a/CRM/Core/QuickForm/Action/Display.php b/CRM/Core/QuickForm/Action/Display.php index 43bc896525..879aa7e338 100644 --- a/CRM/Core/QuickForm/Action/Display.php +++ b/CRM/Core/QuickForm/Action/Display.php @@ -66,7 +66,6 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { $pageName = $page->getAttribute('id'); @@ -107,7 +106,6 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { * * * @return void - * @access public */ public function renderForm(&$page) { $this->_setRenderTemplates($page); @@ -191,7 +189,6 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { * @param CRM_Core_Form $page the CRM_Core_Form page * * @return void - * @access public */ public function _setRenderTemplates(&$page) { if (self::$_requiredTemplate === NULL) { @@ -208,7 +205,6 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { * Initialize the various templates * * @return void - * @access public */ public function initializeTemplates() { if (self::$_requiredTemplate !== NULL) { diff --git a/CRM/Core/QuickForm/Action/Done.php b/CRM/Core/QuickForm/Action/Done.php index 9afc3f3dd6..b68743ccbb 100644 --- a/CRM/Core/QuickForm/Action/Done.php +++ b/CRM/Core/QuickForm/Action/Done.php @@ -57,7 +57,6 @@ class CRM_Core_QuickForm_Action_Done extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { $page->isFormBuilt() or $page->buildForm(); diff --git a/CRM/Core/QuickForm/Action/Jump.php b/CRM/Core/QuickForm/Action/Jump.php index 124759d1d5..572b511811 100644 --- a/CRM/Core/QuickForm/Action/Jump.php +++ b/CRM/Core/QuickForm/Action/Jump.php @@ -54,7 +54,6 @@ class CRM_Core_QuickForm_Action_Jump extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { // check whether the page is valid before trying to go to it diff --git a/CRM/Core/QuickForm/Action/Next.php b/CRM/Core/QuickForm/Action/Next.php index 77897d5616..1d99cfedfd 100644 --- a/CRM/Core/QuickForm/Action/Next.php +++ b/CRM/Core/QuickForm/Action/Next.php @@ -54,7 +54,6 @@ class CRM_Core_QuickForm_Action_Next extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { $this->_stateMachine->perform($page, $actionName, 'Next'); diff --git a/CRM/Core/QuickForm/Action/Process.php b/CRM/Core/QuickForm/Action/Process.php index fc0bcd1f3e..13e3efb120 100644 --- a/CRM/Core/QuickForm/Action/Process.php +++ b/CRM/Core/QuickForm/Action/Process.php @@ -54,7 +54,6 @@ class CRM_Core_QuickForm_Action_Process extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { if ($this->_stateMachine->shouldReset()) { diff --git a/CRM/Core/QuickForm/Action/Refresh.php b/CRM/Core/QuickForm/Action/Refresh.php index 3985e0cc91..dc1e331914 100644 --- a/CRM/Core/QuickForm/Action/Refresh.php +++ b/CRM/Core/QuickForm/Action/Refresh.php @@ -54,7 +54,6 @@ class CRM_Core_QuickForm_Action_Refresh extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { // save the form values and validation status to the session diff --git a/CRM/Core/QuickForm/Action/Reload.php b/CRM/Core/QuickForm/Action/Reload.php index a885a83499..e2f050d02e 100644 --- a/CRM/Core/QuickForm/Action/Reload.php +++ b/CRM/Core/QuickForm/Action/Reload.php @@ -57,7 +57,6 @@ class CRM_Core_QuickForm_Action_Reload extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { // save the form values and validation status to the session diff --git a/CRM/Core/QuickForm/Action/Submit.php b/CRM/Core/QuickForm/Action/Submit.php index d8d1ad1c14..5556b98501 100644 --- a/CRM/Core/QuickForm/Action/Submit.php +++ b/CRM/Core/QuickForm/Action/Submit.php @@ -54,7 +54,6 @@ class CRM_Core_QuickForm_Action_Submit extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { $page->isFormBuilt() or $page->buildForm(); diff --git a/CRM/Core/QuickForm/Action/Upload.php b/CRM/Core/QuickForm/Action/Upload.php index 1cf3f15e46..915e32d085 100644 --- a/CRM/Core/QuickForm/Action/Upload.php +++ b/CRM/Core/QuickForm/Action/Upload.php @@ -73,7 +73,6 @@ class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action { * @param string $uploadName the name of the uploaded file * * @return void - * @access private */ public function upload(&$page, &$data, $pageName, $uploadName) { // make sure uploadName exists in the QF array @@ -115,7 +114,6 @@ class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action { * @param string $actionName Current action name, as one Action object can serve multiple actions * * @return void - * @access public */ public function perform(&$page, $actionName) { // like in Action_Next diff --git a/CRM/Core/QuickForm/GroupMultiSelect.php b/CRM/Core/QuickForm/GroupMultiSelect.php index da6f7fff59..a3007db3f9 100644 --- a/CRM/Core/QuickForm/GroupMultiSelect.php +++ b/CRM/Core/QuickForm/GroupMultiSelect.php @@ -37,7 +37,6 @@ class CRM_Core_QuickForm_GroupMultiSelect extends CRM_Core_QuickForm_NestedAdvMu /** * Returns the HTML generated for the advanced mutliple select component * - * @access public * @return string * @since version 0.4.0 (2005-06-25) */ diff --git a/CRM/Core/QuickForm/NestedAdvMultiSelect.php b/CRM/Core/QuickForm/NestedAdvMultiSelect.php index dae24a1cb7..03bfb55b5d 100644 --- a/CRM/Core/QuickForm/NestedAdvMultiSelect.php +++ b/CRM/Core/QuickForm/NestedAdvMultiSelect.php @@ -52,7 +52,6 @@ class CRM_Core_QuickForm_NestedAdvMultiSelect extends HTML_QuickForm_advmultisel * @param mixed $param3 (optional) See function detail * @param mixed $param4 (optional) See function detail * - * @access public * @since version 1.5.0 (2009-02-15) * @return PEAR_Error|NULL on error and TRUE on success * @throws PEAR_Error diff --git a/CRM/Core/Report/Excel.php b/CRM/Core/Report/Excel.php index 918320583c..2b44bb1fbc 100644 --- a/CRM/Core/Report/Excel.php +++ b/CRM/Core/Report/Excel.php @@ -47,7 +47,6 @@ class CRM_Core_Report_Excel { * * @return mixed empty if output is printed, else output * - * @access public * @static */ public static function makeCSVTable(&$header, &$rows, $titleHeader = NULL, $print = TRUE, $outputHeader = TRUE) { diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 0f19893e10..dd81093b4f 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -479,7 +479,6 @@ class CRM_Core_Resources { * * @param string $region * @return CRM_Core_Resources - * @access public */ public function addCoreResources($region = 'html-header') { if (!isset($this->addedCoreResources[$region]) && !self::isAjaxMode()) { diff --git a/CRM/Core/Selector/API.php b/CRM/Core/Selector/API.php index 364e1cc13a..5bc2bead15 100644 --- a/CRM/Core/Selector/API.php +++ b/CRM/Core/Selector/API.php @@ -56,7 +56,6 @@ interface CRM_Core_Selector_API { * * @return void * - * @access public * */ public function getPagerParams($action, &$params); @@ -67,7 +66,6 @@ interface CRM_Core_Selector_API { * @param string action the action being performed * * @return array the elements that can be sorted along with their properties - * @access public * */ public function &getSortOrder($action); @@ -80,7 +78,6 @@ interface CRM_Core_Selector_API { * @param enum $type what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $type = NULL); @@ -91,7 +88,6 @@ interface CRM_Core_Selector_API { * * @return int the total number of rows for this action * - * @access public * */ public function getTotalCount($action); @@ -106,7 +102,6 @@ interface CRM_Core_Selector_API { * @param enum $type what should the result set include (web/email/csv) * * @return int the total number of rows for this action - * @access public */ public function &getRows($action, $offset, $rowCount, $sort, $type = NULL); @@ -116,7 +111,6 @@ interface CRM_Core_Selector_API { * @param string $action the action being performed * * @return string - * @access public * */ public function getTemplateFileName($action = NULL); diff --git a/CRM/Core/Selector/Base.php b/CRM/Core/Selector/Base.php index d24161d03a..0bba645250 100644 --- a/CRM/Core/Selector/Base.php +++ b/CRM/Core/Selector/Base.php @@ -68,7 +68,6 @@ class CRM_Core_Selector_Base { * * @return string the attribute that matches the action if any * - * @access public * */ public function getActionAttribute($match, $attribute = 'name') { @@ -104,7 +103,6 @@ class CRM_Core_Selector_Base { * @param string $action the action being performed * * @return string template file name - * @access public */ public function getTemplateFileName($action = NULL) { return (str_replace('_', DIRECTORY_SEPARATOR, CRM_Utils_System::getClassName($this)) . ".tpl"); @@ -116,7 +114,6 @@ class CRM_Core_Selector_Base { * @param string action the action being performed * * @return array the elements that can be sorted along with their properties - * @access public */ public function &getSortOrder($action) { $columnHeaders = &$this->getColumnHeaders(NULL); @@ -151,7 +148,6 @@ class CRM_Core_Selector_Base { * Setter for permission * * @var string - * @access public */ public function setPermission($permission) { $this->_permission = $permission; @@ -162,7 +158,6 @@ class CRM_Core_Selector_Base { * to display on the results page * * @return string - * @access public */ public function getQill() { return NULL; diff --git a/CRM/Core/Selector/Controller.php b/CRM/Core/Selector/Controller.php index a5b6ed7b99..d0fb7e5237 100644 --- a/CRM/Core/Selector/Controller.php +++ b/CRM/Core/Selector/Controller.php @@ -255,7 +255,6 @@ class CRM_Core_Selector_Controller { * @param int $reset are we being reset * * @return boolean if the GET params are different from the session params - * @access public */ public function hasChanged($reset) { @@ -388,7 +387,6 @@ class CRM_Core_Selector_Controller { * @param CRM_Core_Form $form * * @return array of rows - * @access public */ public function getRows($form) { if ($form->_output == self::EXPORT || $form->_output == self::SCREEN) { @@ -407,7 +405,6 @@ class CRM_Core_Selector_Controller { * expect the subclass to do it * * @return string the status message - * @access public */ public function getQill() { return $this->_object->getQill(); @@ -424,7 +421,6 @@ class CRM_Core_Selector_Controller { * Getter for pager * * @return CRM_Utils_Pager - * @access public */ public function getPager() { return $this->_pager; @@ -434,7 +430,6 @@ class CRM_Core_Selector_Controller { * Getter for sort * * @return CRM_Utils_Sort - * @access public */ public function getSort() { return $this->_sort; @@ -444,7 +439,6 @@ class CRM_Core_Selector_Controller { * Move the variables from the session to the template * * @return void - * @access public */ public function moveFromSessionToTemplate() { self::$_template->assign_by_ref("{$this->_prefix}pager", $this->_pager); @@ -489,7 +483,6 @@ class CRM_Core_Selector_Controller { * @param boolean $embedded * * @return void - * @access public */ public function setEmbedded($embedded) { $this->_embedded = $embedded; @@ -499,7 +492,6 @@ class CRM_Core_Selector_Controller { * Getter for embedded * * @return boolean return the embedded value - * @access public */ public function getEmbedded() { return $this->_embedded; @@ -511,7 +503,6 @@ class CRM_Core_Selector_Controller { * @param boolean $print * * @return void - * @access public */ public function setPrint($print) { $this->_print = $print; @@ -521,7 +512,6 @@ class CRM_Core_Selector_Controller { * Getter for print * * @return boolean return the print value - * @access public */ public function getPrint() { return $this->_print; diff --git a/CRM/Core/Session.php b/CRM/Core/Session.php index f9c51bdf6d..76335f97d0 100644 --- a/CRM/Core/Session.php +++ b/CRM/Core/Session.php @@ -108,7 +108,6 @@ class CRM_Core_Session { * * @param boolean $isRead is this a read operation, in this case, the session will not be touched * - * @access private * * @return void */ @@ -152,7 +151,6 @@ class CRM_Core_Session { /** * Resets the session store * - * @access public * * @param int $all * @@ -179,7 +177,6 @@ class CRM_Core_Session { * @param string $prefix local scope name * @param boolean $isRead is this a read operation, in this case, the session will not be touched * - * @access public * * @return void */ @@ -199,7 +196,6 @@ class CRM_Core_Session { * Resets the session local scope * * @param string $prefix local scope name - * @access public * * @return void */ @@ -223,7 +219,6 @@ class CRM_Core_Session { * to store complex objects in the session. I suspect it * is supported but we need to verify this * - * @access public * * @param string $name name of the variable * @param mixed $value value of the variable @@ -259,7 +254,6 @@ class CRM_Core_Session { * This function takes a name and retrieves the value of this * variable from the session scope. * - * @access public * * @param string $name : name of the variable * @param string $prefix : adds another level of scope to the session @@ -292,7 +286,6 @@ class CRM_Core_Session { * Gets all the variables in the current session scope * and stuffs them in an associate array * - * @access public * * @param array $vars associative array to store name/value pairs * @param string $prefix will be stripped from the key before putting it in the return @@ -324,7 +317,6 @@ class CRM_Core_Session { * Returns true-ish values if the timer is not set or expired, and false if the timer is still running * If you want to get more nuanced, you can check the type of the return to see if it's 'not set' or actually expired at a certain time * - * @access public * * @param string $name : name of the timer * @param int $expire : expiry time (in seconds) @@ -349,7 +341,6 @@ class CRM_Core_Session { * * @return void * - * @access public * */ public function pushUserContext($userContext, $check = TRUE) { @@ -388,7 +379,6 @@ class CRM_Core_Session { * * @return void * - * @access public * */ public function replaceUserContext($userContext) { diff --git a/CRM/Core/ShowHideBlocks.php b/CRM/Core/ShowHideBlocks.php index 52909b70d4..9b9427db0f 100644 --- a/CRM/Core/ShowHideBlocks.php +++ b/CRM/Core/ShowHideBlocks.php @@ -83,7 +83,6 @@ class CRM_Core_ShowHideBlocks { * Load icon vars used in hide and show links * * @return void - * @access public * @static */ public static function setIcons() { @@ -98,7 +97,6 @@ class CRM_Core_ShowHideBlocks { * Add the values from this class to the template * * @return void - * @access public */ public function addToTemplate() { $hide = $show = ''; @@ -132,7 +130,6 @@ class CRM_Core_ShowHideBlocks { * @param string $name id to be added * * @return void - * @access public */ public function addShow($name) { $this->_show[$name] = 1; @@ -147,7 +144,6 @@ class CRM_Core_ShowHideBlocks { * @param string $name id to be added * * @return void - * @access public */ public function addHide($name) { $this->_hide[$name] = 1; @@ -165,7 +161,6 @@ class CRM_Core_ShowHideBlocks { * @param string $js * * @return string the formatted html link - * @access public */ public static function linkHtml($name, $href, $text, $js) { return '$text"; @@ -184,7 +179,6 @@ class CRM_Core_ShowHideBlocks { * @static * * @return void - * @access public */ public static function links(&$form, $prefix, $showLinkText, $hideLinkText, $assign = TRUE) { $showCode = "cj('#id_{$prefix}').show(); cj('#id_{$prefix}_show').hide();"; @@ -216,7 +210,6 @@ class CRM_Core_ShowHideBlocks { * @param string $hideLink the hide block string * * @return void - * @access public */ public function linksForArray(&$form, $index, $maxIndex, $prefix, $showLinkText, $hideLinkText, $elementType = NULL, $hideLink = NULL) { $showHidePrefix = str_replace(array("]", "["), array("", "_"), $prefix); diff --git a/CRM/Core/Smarty.php b/CRM/Core/Smarty.php index 23c0100403..39630c1119 100644 --- a/CRM/Core/Smarty.php +++ b/CRM/Core/Smarty.php @@ -82,7 +82,6 @@ class CRM_Core_Smarty extends Smarty { * Class constructor * * @return CRM_Core_Smarty - * @access private */ private function __construct() { parent::__construct(); diff --git a/CRM/Core/Smarty/plugins/function.docURL.php b/CRM/Core/Smarty/plugins/function.docURL.php index 90be9e0f42..4d8e5f13df 100644 --- a/CRM/Core/Smarty/plugins/function.docURL.php +++ b/CRM/Core/Smarty/plugins/function.docURL.php @@ -41,7 +41,6 @@ * @param object $smarty reference to the smarty object * * @return string HTML code of a link to documentation - * @access public */ function smarty_function_docURL($params, &$smarty) { if (!isset($smarty)) { diff --git a/CRM/Core/Smarty/plugins/function.help.php b/CRM/Core/Smarty/plugins/function.help.php index b122371254..ac3bb1b22f 100644 --- a/CRM/Core/Smarty/plugins/function.help.php +++ b/CRM/Core/Smarty/plugins/function.help.php @@ -40,7 +40,6 @@ * @param object $smarty reference to the smarty object * * @return string the help html to be inserted - * @access public */ function smarty_function_help($params, &$smarty) { if (!isset($params['id']) || !isset($smarty->_tpl_vars['config'])) { diff --git a/CRM/Core/Smarty/plugins/modifier.crmAddClass.php b/CRM/Core/Smarty/plugins/modifier.crmAddClass.php index 5fb4f524fb..f2f3eb302e 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmAddClass.php +++ b/CRM/Core/Smarty/plugins/modifier.crmAddClass.php @@ -40,7 +40,6 @@ * @param string $class the new class or classes to add (separate with a space) * * @return string the new modified html string - * @access public */ function smarty_modifier_crmAddClass($string, $class) { // Standardize white space diff --git a/CRM/Core/Smarty/plugins/modifier.crmBtnType.php b/CRM/Core/Smarty/plugins/modifier.crmBtnType.php index 2b75e8ab75..c8a33cb910 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmBtnType.php +++ b/CRM/Core/Smarty/plugins/modifier.crmBtnType.php @@ -40,7 +40,6 @@ * * @return string button type, one of: 'upload', 'next', 'back', 'cancel', 'refresh' * 'submit', 'done', 'display', 'jump' 'process' - * @access public */ function smarty_modifier_crmBtnType($btnName) { // split the string into 5 or more diff --git a/CRM/Core/Smarty/plugins/modifier.crmBtnValidate.php b/CRM/Core/Smarty/plugins/modifier.crmBtnValidate.php index e87e7b327a..41a181e434 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmBtnValidate.php +++ b/CRM/Core/Smarty/plugins/modifier.crmBtnValidate.php @@ -41,7 +41,6 @@ * @return string * * @see smarty_modifier_crmBtnType - * @access public */ function smarty_modifier_crmBtnValidate($btnName) { // split the string into 5 or more diff --git a/CRM/Core/Smarty/plugins/modifier.crmDate.php b/CRM/Core/Smarty/plugins/modifier.crmDate.php index a4261b4e78..03ba2eb75e 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmDate.php +++ b/CRM/Core/Smarty/plugins/modifier.crmDate.php @@ -42,7 +42,6 @@ * @param bool $onlyTime * * @return string human readable date format | invalid date message - * @access public */ function smarty_modifier_crmDate($dateString, $dateFormat = NULL, $onlyTime = FALSE) { if ($dateString) { diff --git a/CRM/Core/Smarty/plugins/modifier.crmDelete.php b/CRM/Core/Smarty/plugins/modifier.crmDelete.php index 127eaffce2..356ce09952 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmDelete.php +++ b/CRM/Core/Smarty/plugins/modifier.crmDelete.php @@ -43,7 +43,6 @@ * @param string $attribute the attribute to modify * * @return string the new modified html string - * @access public */ function smarty_modifier_crmDelete($string, $attribute) { static $endOfElement = '/>'; diff --git a/CRM/Core/Smarty/plugins/modifier.crmFirstWord.php b/CRM/Core/Smarty/plugins/modifier.crmFirstWord.php index 4f4c940e9e..f07f1c029a 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmFirstWord.php +++ b/CRM/Core/Smarty/plugins/modifier.crmFirstWord.php @@ -39,7 +39,6 @@ * @param string $string the html to be tweaked with * * @return string - * @access public */ function smarty_modifier_crmFirstWord($string) { $string = trim($string); diff --git a/CRM/Core/Smarty/plugins/modifier.crmICalDate.php b/CRM/Core/Smarty/plugins/modifier.crmICalDate.php index eec759e47c..eb44f58f2c 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmICalDate.php +++ b/CRM/Core/Smarty/plugins/modifier.crmICalDate.php @@ -41,7 +41,6 @@ * @param bool $gdata * * @return string formatted text - * @access public */ function smarty_modifier_crmICalDate($str, $gdata = FALSE) { return CRM_Utils_ICalendar::formatDate($str, $gdata); diff --git a/CRM/Core/Smarty/plugins/modifier.crmICalText.php b/CRM/Core/Smarty/plugins/modifier.crmICalText.php index e5528f4957..b989ff0e06 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmICalText.php +++ b/CRM/Core/Smarty/plugins/modifier.crmICalText.php @@ -39,7 +39,6 @@ * @param string $str * * @return string formatted text - * @access public */ function smarty_modifier_crmICalText($str) { return CRM_Utils_ICalendar::formatText($str); diff --git a/CRM/Core/Smarty/plugins/modifier.crmInsert.php b/CRM/Core/Smarty/plugins/modifier.crmInsert.php index e1c2834970..188756db18 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmInsert.php +++ b/CRM/Core/Smarty/plugins/modifier.crmInsert.php @@ -45,7 +45,6 @@ * @param string $insertBefore the string before which we want this tag inserted * * @return string the new modified html string - * @access public */ function smarty_modifier_crmInsert($string, $attribute, $value, $insertBefore = '/>') { return str_replace($insertBefore, ' ' . $attribute . '="' . $value . '"' . $insertBefore, $string); diff --git a/CRM/Core/Smarty/plugins/modifier.crmMoney.php b/CRM/Core/Smarty/plugins/modifier.crmMoney.php index a3f6765825..7e25a0acc1 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmMoney.php +++ b/CRM/Core/Smarty/plugins/modifier.crmMoney.php @@ -43,7 +43,6 @@ * @param bool $onlyNumber * * @return string formatted monetary amount - * @access public */ function smarty_modifier_crmMoney($amount, $currency = NULL, $format = NULL, $onlyNumber = FALSE) { return CRM_Utils_Money::format($amount, $currency, $format, $onlyNumber); diff --git a/CRM/Core/Smarty/plugins/modifier.crmNumberFormat.php b/CRM/Core/Smarty/plugins/modifier.crmNumberFormat.php index 0e40c1caa0..b5a1be87db 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmNumberFormat.php +++ b/CRM/Core/Smarty/plugins/modifier.crmNumberFormat.php @@ -43,7 +43,6 @@ * @param string $thousands_sep thousands sep character (if other than ",") * * @return string the formatted string - * @access public * * For alternate decimal point and thousands separator, delimit values with single quotes in the template. * EXAMPLE: {$number|crmNumberFormat:2:',':' '} for French notation - 1234.56 becomes 1 234,56 diff --git a/CRM/Core/Smarty/plugins/modifier.crmReplace.php b/CRM/Core/Smarty/plugins/modifier.crmReplace.php index b4ac1a0ab5..1be4eb2a32 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmReplace.php +++ b/CRM/Core/Smarty/plugins/modifier.crmReplace.php @@ -44,7 +44,6 @@ * @param string $value the new attribute value * * @return string the new modified html string - * @access public */ function smarty_modifier_crmReplace($string, $attribute, $value) { // we need to search and replace the string: $attribute=XXX or $attribute="XXX" diff --git a/CRM/Core/Smarty/plugins/modifier.json.php b/CRM/Core/Smarty/plugins/modifier.json.php index f6754beb87..e900bb93dc 100644 --- a/CRM/Core/Smarty/plugins/modifier.json.php +++ b/CRM/Core/Smarty/plugins/modifier.json.php @@ -41,7 +41,6 @@ * @param mixed $data * * @return string JSON - * @access public */ function smarty_modifier_json($data) { return json_encode($data); diff --git a/CRM/Core/State.php b/CRM/Core/State.php index 323f5dc3de..49778f92d5 100644 --- a/CRM/Core/State.php +++ b/CRM/Core/State.php @@ -86,7 +86,6 @@ class CRM_Core_State { * @param CRM_Core_StateMachine $stateMachine statemachine that this states belongs to * * @return CRM_Core_State - * @access public */ public function __construct($name, $type, $back, $next, &$stateMachine) { $this->_name = $name; @@ -107,7 +106,6 @@ class CRM_Core_State { * @param object the CRM_Core_Form element under consideration * * @return mixed does a jump to the back state - * @access public */ public function handleBackState(&$page) { if ($this->_type & self::START) { @@ -125,7 +123,6 @@ class CRM_Core_State { * @param object the CRM_Core_Form element under consideration * * @return mixed does a jump to the nextstate - * @access public */ public function handleNextState(&$page) { if ($this->_type & self::FINISH) { @@ -142,7 +139,6 @@ class CRM_Core_State { * to display the navigation labels or potential path * * @return string - * @access public */ public function getNextState() { if ($this->_type & self::FINISH) { @@ -161,7 +157,6 @@ class CRM_Core_State { * @param object the QFC data container * * @return void - * @access public */ public function validate(&$data) { $data['valid'][$this->_name] = TRUE; @@ -174,7 +169,6 @@ class CRM_Core_State { * @param object the QFC data container * * @return void - * @access public */ public function invalidate(&$data) { $data['valid'][$this->_name] = NULL; @@ -184,7 +178,6 @@ class CRM_Core_State { * Getter for name * * @return string - * @access public */ public function getName() { return $this->_name; @@ -196,7 +189,6 @@ class CRM_Core_State { * @param string * * @return void - * @access public */ public function setName($name) { $this->_name = $name; @@ -206,7 +198,6 @@ class CRM_Core_State { * Getter for type * * @return int - * @access public */ public function getType() { return $this->_type; diff --git a/CRM/Core/StateMachine.php b/CRM/Core/StateMachine.php index 59c7354bea..6f524a8c80 100644 --- a/CRM/Core/StateMachine.php +++ b/CRM/Core/StateMachine.php @@ -103,7 +103,6 @@ class CRM_Core_StateMachine { * Getter for name * * @return string - * @access public */ public function getName() { return $this->_name; @@ -115,7 +114,6 @@ class CRM_Core_StateMachine { * @param string * * @return void - * @access public */ public function setName($name) { $this->_name = $name; @@ -131,7 +129,6 @@ class CRM_Core_StateMachine { * @param string $type The type of transition being requested (Next or Back) * * @return void - * @access public */ public function perform(&$page, $actionName, $type = 'Next') { // save the form values and validation status to the session @@ -179,7 +176,6 @@ class CRM_Core_StateMachine { * @param object $next the next page if any * * @return void - * @access public */ public function addState($name, $type, $prev, $next) { $this->_states[$name] = new CRM_Core_State($name, $type, $prev, $next, $this); @@ -191,7 +187,6 @@ class CRM_Core_StateMachine { * @param string $name the state name * * @return object the state object - * @access public */ public function find($name) { if (array_key_exists($name, $this->_states)) { @@ -206,7 +201,6 @@ class CRM_Core_StateMachine { * Return the list of state objects * * @return array array of states in the state machine - * @access public */ public function getStates() { return $this->_states; @@ -218,7 +212,6 @@ class CRM_Core_StateMachine { * @param string $name name of page * * @return CRM_Core_State state object matching the name - * @access public */ public function &getState($name) { if (isset($this->_states[$name])) { @@ -243,7 +236,6 @@ class CRM_Core_StateMachine { * Return the list of form objects * * @return array array of pages in the state machine - * @access public */ public function getPages() { return $this->_pages; @@ -253,7 +245,6 @@ class CRM_Core_StateMachine { * AddSequentialStates: meta level function to create a simple * wizard for a state machine that is completely sequential. * - * @access public * * @param array $pages (reference ) the array of page objects * @@ -319,7 +310,6 @@ class CRM_Core_StateMachine { * Reset the state machine * * @return void - * @access public */ public function reset() { $this->_controller->reset(); @@ -329,7 +319,6 @@ class CRM_Core_StateMachine { * Getter for action * * @return int - * @access public */ public function getAction() { return $this->_action; @@ -341,7 +330,6 @@ class CRM_Core_StateMachine { * @param string $content the content generated by this state machine * * @return void - * @access public */ public function setContent(&$content) { $this->_controller->setContent($content); @@ -351,7 +339,6 @@ class CRM_Core_StateMachine { * Getter for content * * @return string - * @access public */ public function &getContent() { return $this->_controller->getContent(); diff --git a/CRM/Custom/Form/ChangeFieldType.php b/CRM/Custom/Form/ChangeFieldType.php index 2f2a5e609c..db99e803d9 100644 --- a/CRM/Custom/Form/ChangeFieldType.php +++ b/CRM/Custom/Form/ChangeFieldType.php @@ -42,7 +42,6 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form { * The field id * * @var int - * @access protected */ protected $_id; @@ -94,7 +93,6 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -137,7 +135,6 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues($this->_name); diff --git a/CRM/Custom/Form/DeleteField.php b/CRM/Custom/Form/DeleteField.php index b79fe400f9..03efefca03 100644 --- a/CRM/Custom/Form/DeleteField.php +++ b/CRM/Custom/Form/DeleteField.php @@ -79,7 +79,6 @@ class CRM_Custom_Form_DeleteField extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { @@ -103,7 +102,6 @@ class CRM_Custom_Form_DeleteField extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { $field = new CRM_Core_DAO_CustomField(); diff --git a/CRM/Custom/Form/DeleteGroup.php b/CRM/Custom/Form/DeleteGroup.php index d74c1e4e75..12c89634e7 100644 --- a/CRM/Custom/Form/DeleteGroup.php +++ b/CRM/Custom/Form/DeleteGroup.php @@ -85,7 +85,6 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -107,7 +106,6 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { $group = new CRM_Core_DAO_CustomGroup(); diff --git a/CRM/Custom/Form/Field.php b/CRM/Custom/Form/Field.php index 3489b9ccd1..124256721d 100644 --- a/CRM/Custom/Form/Field.php +++ b/CRM/Custom/Form/Field.php @@ -47,7 +47,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * The custom group id saved to the session for an update * * @var int - * @access protected */ protected $_gid; @@ -55,7 +54,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * The field id, used when editing the field * * @var int - * @access protected */ protected $_id; @@ -63,7 +61,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * The default custom data/input types, when editing the field * * @var array - * @access protected */ protected $_defaultDataType; @@ -91,7 +88,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { if (!(self::$_dataTypeKeys)) { @@ -169,7 +165,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = $this->_values; @@ -275,7 +270,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { if ($this->_gid) { @@ -569,7 +563,6 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { * @return array if errors then list of errors to be posted back to the form, * true otherwise * @static - * @access public */ public static function formRule($fields, $files, $self) { $default = CRM_Utils_Array::value('default_value', $fields); @@ -895,7 +888,6 @@ AND option_group_id = %2"; * @param null * * @return void - * @access public */ public function postProcess() { // store the submitted values in an array diff --git a/CRM/Custom/Form/Group.php b/CRM/Custom/Form/Group.php index 8b1b126eaa..ceb0df1a5a 100644 --- a/CRM/Custom/Form/Group.php +++ b/CRM/Custom/Form/Group.php @@ -42,7 +42,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * The set id saved to the session for an update * * @var int - * @access protected */ protected $_id; @@ -50,7 +49,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * set is empty or not * * @var bool - * @access protected */ protected $_isGroupEmpty = TRUE; @@ -58,7 +56,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * Array of existing subtypes set for a custom set * * @var array - * @access protected */ protected $_subtypes = array(); @@ -66,7 +63,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * Array of default params * * @var array - * @access protected */ protected $_defaults = array(); @@ -76,7 +72,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { // current set id @@ -118,7 +113,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -180,7 +174,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * @param null * * @return void - * @access public * @see valid_date */ public function addRules() { @@ -193,7 +186,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { $this->applyFilter('__ALL__', 'trim'); @@ -410,7 +402,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = &$this->_defaults; @@ -462,7 +453,6 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { // get the submitted form values. diff --git a/CRM/Custom/Form/MoveField.php b/CRM/Custom/Form/MoveField.php index 214310f296..bca1590734 100644 --- a/CRM/Custom/Form/MoveField.php +++ b/CRM/Custom/Form/MoveField.php @@ -106,7 +106,6 @@ class CRM_Custom_Form_MoveField extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -162,7 +161,6 @@ class CRM_Custom_Form_MoveField extends CRM_Core_Form { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { CRM_Core_BAO_CustomField::moveField($this->_srcFID, $this->_dstGID); diff --git a/CRM/Custom/Form/Option.php b/CRM/Custom/Form/Option.php index 0fb42bb009..2b8df55926 100644 --- a/CRM/Custom/Form/Option.php +++ b/CRM/Custom/Form/Option.php @@ -42,7 +42,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * The custom field id saved to the session for an update * * @var int - * @access protected */ protected $_fid; @@ -50,7 +49,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * The custom group id saved to the session for an update * * @var int - * @access protected */ protected $_gid; @@ -63,7 +61,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * The Option id, used when editing the Option * * @var int - * @access protected */ protected $_id; @@ -73,7 +70,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { $this->_fid = CRM_Utils_Request::retrieve('fid', 'Positive', $this); @@ -110,7 +106,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = $fieldDefaults = array(); @@ -158,7 +153,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action == CRM_Core_Action::DELETE) { @@ -252,7 +246,6 @@ class CRM_Custom_Form_Option extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $form) { $optionLabel = $fields['label']; @@ -401,7 +394,6 @@ SELECT count(*) * @param null * * @return void - * @access public */ public function postProcess() { // store the submitted values in an array diff --git a/CRM/Custom/Form/Preview.php b/CRM/Custom/Form/Preview.php index c0db0280d2..36a2d3e64d 100644 --- a/CRM/Custom/Form/Preview.php +++ b/CRM/Custom/Form/Preview.php @@ -58,7 +58,6 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { // get the controller vars @@ -98,7 +97,6 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form { * @param null * * @return array the default array reference - * @access protected */ public function setDefaultValues() { $defaults = array(); @@ -114,7 +112,6 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { if (is_array($this->_groupTree[$this->_groupId])) { diff --git a/CRM/Custom/Import/Form/DataSource.php b/CRM/Custom/Import/Form/DataSource.php index a1e226dc63..71d9c497e6 100644 --- a/CRM/Custom/Import/Form/DataSource.php +++ b/CRM/Custom/Import/Form/DataSource.php @@ -42,7 +42,6 @@ class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -82,7 +81,6 @@ class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $multipleCustomData = CRM_Core_BAO_CustomGroup::getMultipleFieldGroup(); @@ -164,7 +162,6 @@ class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $this->controller->resetPage('MapField'); @@ -207,7 +204,6 @@ class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Upload Data'); diff --git a/CRM/Custom/Import/Form/MapField.php b/CRM/Custom/Import/Form/MapField.php index 519f25c75c..16ce5d40b8 100644 --- a/CRM/Custom/Import/Form/MapField.php +++ b/CRM/Custom/Import/Form/MapField.php @@ -16,7 +16,6 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mapperFields = $this->get('fields'); @@ -49,7 +48,6 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -63,7 +61,6 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -124,7 +121,6 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues('MapField'); diff --git a/CRM/Custom/Import/Form/Preview.php b/CRM/Custom/Import/Form/Preview.php index d8abc96045..d21fd2a11e 100644 --- a/CRM/Custom/Import/Form/Preview.php +++ b/CRM/Custom/Import/Form/Preview.php @@ -10,7 +10,6 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader'); @@ -76,7 +75,6 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $fileName = $this->controller->exportValue('DataSource', 'uploadFile'); diff --git a/CRM/Custom/Import/Form/Summary.php b/CRM/Custom/Import/Form/Summary.php index 4491c02f31..ca427871aa 100644 --- a/CRM/Custom/Import/Form/Summary.php +++ b/CRM/Custom/Import/Form/Summary.php @@ -8,7 +8,6 @@ class CRM_Custom_Import_Form_Summary extends CRM_Contact_Import_Form_Summary { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); diff --git a/CRM/Custom/Import/Parser.php b/CRM/Custom/Import/Parser.php index 47e9203d6b..5c4deea6ac 100644 --- a/CRM/Custom/Import/Parser.php +++ b/CRM/Custom/Import/Parser.php @@ -39,7 +39,6 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser { protected $_fileName; /**#@+ - * @access protected * @var integer */ @@ -294,7 +293,6 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser { * @param array mapped array of values * * @return void - * @access public */ public function setActiveFields($fieldKeys) { $this->_activeFieldCount = count($fieldKeys); @@ -312,7 +310,6 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser { * Format the field values for input to the api * * @return array (reference ) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -335,7 +332,6 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser { * @param int $mode * * @return void - * @access public */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('fileSize', $this->_fileSize); diff --git a/CRM/Custom/Import/Parser/Api.php b/CRM/Custom/Import/Parser/Api.php index accb1ab575..38994300e8 100644 --- a/CRM/Custom/Import/Parser/Api.php +++ b/CRM/Custom/Import/Parser/Api.php @@ -33,7 +33,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function init() { $this->setFields(); @@ -55,7 +54,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean - * @access public */ public function mapField(&$values) { return CRM_Import_Parser::VALID; @@ -67,7 +65,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function preview(&$values) { return $this->summary($values); @@ -128,7 +125,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function import($onDuplicate, &$values) { $response = $this->summary($values); @@ -201,7 +197,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function fini() {} @@ -212,7 +207,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser { * * @return array $importableFields * - * @access public * @static */ public function getGroupFieldsForImport( $id ) { diff --git a/CRM/Custom/Page/Field.php b/CRM/Custom/Page/Field.php index 7b95d71993..807fa1afe4 100644 --- a/CRM/Custom/Page/Field.php +++ b/CRM/Custom/Page/Field.php @@ -49,7 +49,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * The group id of the field * * @var int - * @access protected */ protected $_gid; @@ -57,7 +56,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * The action links that we need to display for the browse screen * * @var array - * @access private */ private static $_actionLinks; @@ -67,7 +65,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - * @access public */ public function &actionLinks() { if (!isset(self::$_actionLinks)) { @@ -124,7 +121,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function browse() { $resourceManager = CRM_Core_Resources::singleton(); @@ -207,7 +203,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($action) { // create a simple controller for editing custom dataCRM/Custom/Page/Field.php @@ -232,7 +227,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function run() { @@ -311,7 +305,6 @@ class CRM_Custom_Page_Field extends CRM_Core_Page { * @param int $id custom field id * * @return void - * @access public */ public function preview($id) { $controller = new CRM_Core_Controller_Simple('CRM_Custom_Form_Preview', ts('Preview Custom Data'), CRM_Core_Action::PREVIEW); diff --git a/CRM/Custom/Page/Group.php b/CRM/Custom/Page/Group.php index 47e0e0c46c..ea6b2550a4 100644 --- a/CRM/Custom/Page/Group.php +++ b/CRM/Custom/Page/Group.php @@ -56,7 +56,6 @@ class CRM_Custom_Page_Group extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - * @access public */ public function &actionLinks() { // check if variable _actionsLinks is populated @@ -111,7 +110,6 @@ class CRM_Custom_Page_Group extends CRM_Core_Page { * @param null * * @return void - * @access public * */ public function run() { @@ -161,7 +159,6 @@ class CRM_Custom_Page_Group extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($id, $action) { // create a simple controller for editing custom data @@ -182,7 +179,6 @@ class CRM_Custom_Page_Group extends CRM_Core_Page { * @param int $id custom group id * * @return void - * @access public */ public function preview($id) { $controller = new CRM_Core_Controller_Simple('CRM_Custom_Form_Preview', ts('Preview Custom Data'), NULL); @@ -200,7 +196,6 @@ class CRM_Custom_Page_Group extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function browse($action = NULL) { // get all custom groups sorted by weight diff --git a/CRM/Custom/Page/Option.php b/CRM/Custom/Page/Option.php index dd489d4ee8..7467bc92ab 100644 --- a/CRM/Custom/Page/Option.php +++ b/CRM/Custom/Page/Option.php @@ -49,7 +49,6 @@ class CRM_Custom_Page_Option extends CRM_Core_Page { * The Group id of the option * * @var int - * @access protected */ protected $_gid; @@ -57,7 +56,6 @@ class CRM_Custom_Page_Option extends CRM_Core_Page { * The field id of the option * * @var int - * @access protected */ protected $_fid; @@ -65,7 +63,6 @@ class CRM_Custom_Page_Option extends CRM_Core_Page { * The action links that we need to display for the browse screen * * @var array - * @access private */ private static $_actionLinks; @@ -75,7 +72,6 @@ class CRM_Custom_Page_Option extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - * @access public */ public function &actionLinks() { if (!isset(self::$_actionLinks)) { @@ -119,7 +115,6 @@ class CRM_Custom_Page_Option extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function browse() { //get the default value from custom fields @@ -245,7 +240,6 @@ ORDER BY weight, label * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($action) { // create a simple controller for editing custom data @@ -271,7 +265,6 @@ ORDER BY weight, label * @param null * * @return void - * @access public */ public function run() { diff --git a/CRM/Dashlet/Page/Activity.php b/CRM/Dashlet/Page/Activity.php index a0722e128c..80b74dd87b 100644 --- a/CRM/Dashlet/Page/Activity.php +++ b/CRM/Dashlet/Page/Activity.php @@ -44,7 +44,6 @@ class CRM_Dashlet_Page_Activity extends CRM_Core_Page { * * @return void * - * @access public */ public function run() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Dashlet/Page/AllCases.php b/CRM/Dashlet/Page/AllCases.php index 3a1f8bf24c..6b071986be 100644 --- a/CRM/Dashlet/Page/AllCases.php +++ b/CRM/Dashlet/Page/AllCases.php @@ -44,7 +44,6 @@ class CRM_Dashlet_Page_AllCases extends CRM_Core_Page { * * @return void * - * @access public */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); diff --git a/CRM/Dashlet/Page/Blog.php b/CRM/Dashlet/Page/Blog.php index 04000ad8e3..c4bc03a89c 100644 --- a/CRM/Dashlet/Page/Blog.php +++ b/CRM/Dashlet/Page/Blog.php @@ -60,7 +60,6 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { /** * List blog articles as dashlet * - * @access public */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); @@ -77,7 +76,6 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { * * @return array * - * @access private */ private function _getBlog() { // Fetch data from cache @@ -106,7 +104,6 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { * * @return array|NULL array of blog items; or NULL if not available * - * @access public */ public function _getFeed($url) { $httpClient = new CRM_Utils_HttpClient(self::CHECK_TIMEOUT); diff --git a/CRM/Dashlet/Page/CaseDashboard.php b/CRM/Dashlet/Page/CaseDashboard.php index 117305e139..54b63cb22b 100644 --- a/CRM/Dashlet/Page/CaseDashboard.php +++ b/CRM/Dashlet/Page/CaseDashboard.php @@ -44,7 +44,6 @@ class CRM_Dashlet_Page_CaseDashboard extends CRM_Core_Page { * * @return void * - * @access public */ public function run() { diff --git a/CRM/Dashlet/Page/MyCases.php b/CRM/Dashlet/Page/MyCases.php index 650d548f06..1e82646199 100644 --- a/CRM/Dashlet/Page/MyCases.php +++ b/CRM/Dashlet/Page/MyCases.php @@ -44,7 +44,6 @@ class CRM_Dashlet_Page_MyCases extends CRM_Core_Page { * * @return void * - * @access public */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); diff --git a/CRM/Dedupe/BAO/Rule.php b/CRM/Dedupe/BAO/Rule.php index c21bac1226..d62db4e572 100644 --- a/CRM/Dedupe/BAO/Rule.php +++ b/CRM/Dedupe/BAO/Rule.php @@ -190,7 +190,6 @@ class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_DAO_Rule { * @param array contains the rule group property to identify rule group * * @return rule fields array associated to rule group - * @access public */ public static function dedupeRuleFields($params) { $rgBao = new CRM_Dedupe_BAO_RuleGroup(); diff --git a/CRM/Dedupe/Merger.php b/CRM/Dedupe/Merger.php index 466af81634..41637bafb1 100644 --- a/CRM/Dedupe/Merger.php +++ b/CRM/Dedupe/Merger.php @@ -564,7 +564,6 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m * * @return array|bool * @static - * @access public */ public static function batchMerge($rgid, $gid = NULL, $mode = 'safe', $autoFlip = TRUE, $redirectForPerformance = FALSE) { $contactType = CRM_Core_DAO::getFieldValue('CRM_Dedupe_DAO_RuleGroup', $rgid, 'contact_type'); @@ -609,7 +608,6 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m * * @return array|bool * @static - * @access public */ public static function merge($dupePairs = array(), $cacheParams = array(), $mode = 'safe', $autoFlip = TRUE, $redirectForPerformance = FALSE @@ -696,7 +694,6 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m * * @return bool * @static - * @access public */ public static function skipMerge($mainId, $otherId, &$migrationInfo, $mode = 'safe') { $conflicts = array(); @@ -804,7 +801,6 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m * * @return array|bool|int * @static - * @access public */ public static function getRowsElementsAndInfo($mainId, $otherId) { $qfZeroBug = 'e8cddb72-a257-11dc-b9cc-0016d3330ee9'; @@ -1202,7 +1198,6 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m * * @return bool * @static - * @access public */ public static function moveAllBelongings($mainId, $otherId, $migrationInfo) { if (empty($migrationInfo)) { diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index f7a5655863..8d627dd6ff 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -48,7 +48,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Event_BAO_ManageEvent object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -79,7 +78,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -120,7 +118,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * @param array $params reference array contains the values submitted by the form * * @return object - * @access public * @static * */ @@ -179,7 +176,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * @param int $id event id * * @return mixed|null - * @access public * @static * */ @@ -230,7 +226,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * @param $locBlockId location block id to be deleted * @param int $eventId event with which loc block is associated * - * @access public * @static */ public static function deleteEventLocBlock($locBlockId, $eventId = NULL) { @@ -582,7 +577,6 @@ $event_summary_limit * @param boolean $considerRole consider role for participant count. * @param boolean $role consider counted( is filter role) participant. * - * @access public * * @return array array with count of participants for each event based on status/role */ @@ -641,7 +635,6 @@ $event_summary_limit * * @return null|string title of the event * @static - * @access public */ public static function &getMapInfo(&$id) { @@ -709,7 +702,6 @@ WHERE civicrm_address.geo_code_1 IS NOT NULL * * @return array $all array of all the events that are searched * @static - * @access public */ static function &getCompleteInfo( $start = NULL, @@ -896,7 +888,6 @@ WHERE civicrm_event.is_active = 1 * @param bool $afterCreate * * @return void - * @access public */ public static function copy($id, $newEvent = NULL, $afterCreate = FALSE) { @@ -1046,7 +1037,6 @@ WHERE civicrm_event.is_active = 1 * @param bool $returnMessageText * * @return void - * @access public */ public static function sendMail($contactID, &$values, $participantId, $isTest = FALSE, $returnMessageText = FALSE) { @@ -1241,7 +1231,6 @@ WHERE civicrm_event.is_active = 1 * @param array $participantParams * * @return void - * @access public */ static function buildCustomDisplay($id, $name, @@ -1423,7 +1412,6 @@ WHERE civicrm_event.is_active = 1 * @param array $profileFields * * @return void - * @access public * @static */ public static function displayProfile(&$params, $gid, &$groupTitle, &$values, &$profileFields = array()) { @@ -1688,7 +1676,6 @@ WHERE id = $cfID * @param bool $skipCancel * * @return array $customProfile array of Additional participant's info OR array of Ids. - * @access public */ static function buildCustomProfile($participantId, $values, @@ -1889,7 +1876,6 @@ WHERE ce.loc_block_id = $locBlockId"; * * @param array $values key/value event info * @return boolean true if allow registration otherwise false - * @access public */ /** * @param $values @@ -1926,7 +1912,6 @@ WHERE ce.loc_block_id = $locBlockId"; * * @param array $params key/value participant info * @return boolean $alreadyRegistered true/false - * @access public */ /** * @param array $params @@ -1961,7 +1946,6 @@ WHERE ce.loc_block_id = $locBlockId"; * @param int $type * * @return string the permission that the user has (or null) - * @access public * @static */ public static function checkPermission($eventId = NULL, $type = CRM_Core_Permission::VIEW) { @@ -2025,7 +2009,6 @@ WHERE ce.loc_block_id = $locBlockId"; * @param int $eventId the id of the event * * @return array an array of email ids - * @access public * @static */ public static function getFromEmailIds($eventId = NULL) { @@ -2059,7 +2042,6 @@ WHERE ce.loc_block_id = $locBlockId"; * @param sting $extraWhereClause extra filter on participants. * * @return int event total seats w/ given criteria. - * @access public * @static */ public static function eventTotalSeats($eventId, $extraWhereClause = NULL) { diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index e32319db20..7f0c43d7d1 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -84,7 +84,6 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Event_BAO_Participant object - * @access public * @static */ public static function &add(&$params) { @@ -164,7 +163,6 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant { * @param $ids * * @return CRM_Event_BAO_Participant|null the found object or null - * @access public * @static */ public static function getValues(&$params, &$values, &$ids) { @@ -189,7 +187,6 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Event_BAO_Participant object - * @access public * @static */ public static function create(&$params) { @@ -347,7 +344,6 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant { * @param bool $considerTestParticipant * * @return bool|int|null|string 1. false => If event having some empty spaces.@static - * @access public */ static function eventFull( $eventId, @@ -490,7 +486,6 @@ SELECT event.event_full_text, * * @return array $optionsCount an array of each option id and total count * @static - * @access public */ static function priceSetOptionsCount( $eventId, @@ -568,7 +563,6 @@ INNER JOIN civicrm_price_field field ON ( value.price_field_id = field.id * * @return int $spaces Number of Empty Seats/null. * @static - * @access public */ public static function pendingToConfirmSpaces($eventId) { $emptySeats = 0; @@ -617,7 +611,6 @@ GROUP BY participant.event_id * @param bool $onlyParticipant * * @return array array of importable Fields - * @access public * @static */ public static function &importableFields($contactType = 'Individual', $status = TRUE, $onlyParticipant = FALSE) { @@ -726,7 +719,6 @@ GROUP BY participant.event_id * Combine all the exportable fields from the lower levels object * * @return array array of exportable Fields - * @access public * @static */ public static function &exportableFields() { @@ -783,7 +775,6 @@ GROUP BY participant.event_id * * @return array $name associated array with sort_name and event title * @static - * @access public */ public static function participantDetails($participantId) { $query = " @@ -812,7 +803,6 @@ WHERE civicrm_participant.id = {$participantId} * @param boolean $reverse true if we want to resolve the values in the reverse direction (value -> name) * * @return void - * @access public * @static */ public static function resolveDefaults(&$defaults, $reverse = FALSE) { @@ -856,7 +846,6 @@ WHERE civicrm_participant.id = {$participantId} * @param int $id id of the participation to delete * * @return void - * @access public * @static */ public static function deleteParticipant($id) { @@ -919,7 +908,6 @@ WHERE civicrm_participant.id = {$participantId} * from other function * * @return CRM_Contribute_BAO_Contribution object - * @access public * @static */ public static function checkDuplicate($input, &$duplicates) { @@ -1134,7 +1122,6 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_ * @param bool $updatePrimaryStatus * * @return bool|void - * @access public * @static */ public static function updateParticipantStatus($participantID, $oldStatusID, $newStatusID = NULL, $updatePrimaryStatus = FALSE) { @@ -1170,7 +1157,6 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_ * * @return void * - * @access public * @static */ public static function updateStatus($participantIds, $statusId, $updateRegisterDate = FALSE) { @@ -1210,7 +1196,6 @@ UPDATE civicrm_participant * @param bool $skipCascadeRule * * @return array - * @access public * @static */ static function transitionParticipants($participantIds, $toStatusId, @@ -1442,7 +1427,6 @@ UPDATE civicrm_participant * return void * * @return bool - * @access public * @static */ static function sendTransitionParticipantMail( @@ -1546,7 +1530,6 @@ UPDATE civicrm_participant * @param int $fromStatusId * * @return string - * @access public */ public function updateStatusMessage($participantId, $statusChangeTo, $fromStatusId) { $statusMsg = NULL; @@ -1583,7 +1566,6 @@ UPDATE civicrm_participant * @param int $participantId * * @return string - * @access public */ public static function eventFullMessage($eventId, $participantId = NULL) { $eventfullMsg = $dbStatusId = NULL; @@ -1644,7 +1626,6 @@ UPDATE civicrm_participant * @param int $participantId * * @return true if participant is primary - * @access public */ public static function isPrimaryParticipant($participantId) { @@ -1665,7 +1646,6 @@ UPDATE civicrm_participant * @param int $newStatusId new status * * @return true if allowed - * @access public */ public static function getValidAdditionalIds($participantId, $oldStatusId, $newStatusId) { @@ -1692,7 +1672,6 @@ UPDATE civicrm_participant * @param int $contactID * * @return int count of participant records - * @access public * @static */ public static function getContactParticipantCount($contactID) { @@ -1710,7 +1689,6 @@ WHERE civicrm_participant.contact_id = {$contactID} AND * @param bool $excludeCancelled Exclude cancelled additional participant * * @return array $participantsId - * @access public * @static */ public static function getParticipantIds($contributionId, $excludeCancelled = FALSE) { @@ -1741,7 +1719,6 @@ WHERE civicrm_participant.contact_id = {$contactID} AND * @param array $participantIds an array of additional participant ids. * * @return array of Urls. - * @access public * @static */ public static function getAdditionalParticipantUrl($participantIds) { @@ -1804,7 +1781,6 @@ WHERE cpf.price_set_id = %1 AND cpfv.label LIKE %2"; * * @param integer $contactId contact id * - * @access public * @static */ public static function deleteContactParticipant($contactId) { diff --git a/CRM/Event/BAO/ParticipantPayment.php b/CRM/Event/BAO/ParticipantPayment.php index 394e4ef63f..b8c08e2bb8 100644 --- a/CRM/Event/BAO/ParticipantPayment.php +++ b/CRM/Event/BAO/ParticipantPayment.php @@ -90,7 +90,6 @@ class CRM_Event_BAO_ParticipantPayment extends CRM_Event_DAO_ParticipantPayment * * @return boolean true if deleted false otherwise * @static - * @access public */ public static function deleteParticipantPayment($params) { $participantPayment = new CRM_Event_DAO_ParticipantPayment(); diff --git a/CRM/Event/BAO/Query.php b/CRM/Event/BAO/Query.php index ad0ab1c10b..c090b6bb46 100644 --- a/CRM/Event/BAO/Query.php +++ b/CRM/Event/BAO/Query.php @@ -61,7 +61,6 @@ class CRM_Event_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { if (($query->_mode & CRM_Contact_BAO_Query::MODE_EVENT) || @@ -549,7 +548,6 @@ class CRM_Event_BAO_Query { * Getter for the qill object * * @return string - * @access public */ public function qill() { return (isset($this->_qill)) ? $this->_qill : ""; diff --git a/CRM/Event/Badge.php b/CRM/Event/Badge.php index 45c2507476..82524cc79b 100644 --- a/CRM/Event/Badge.php +++ b/CRM/Event/Badge.php @@ -76,7 +76,6 @@ class CRM_Event_Badge { * @param array $participants * * @return null - * @access public */ public function run(&$participants) { // fetch the 1st participant, and take her event to retrieve its attributes @@ -176,7 +175,6 @@ class CRM_Event_Badge { * @param array $participants * * @return null - * @access public */ public function createLabels(&$participants) { diff --git a/CRM/Event/Form/EventFees.php b/CRM/Event/Form/EventFees.php index 6543a08fad..5abacbb9e2 100644 --- a/CRM/Event/Form/EventFees.php +++ b/CRM/Event/Form/EventFees.php @@ -45,7 +45,6 @@ class CRM_Event_Form_EventFees { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function preProcess(&$form) { //as when call come from register.php @@ -71,7 +70,6 @@ class CRM_Event_Form_EventFees { * This function sets the default values for the form in edit/view mode * the default values are retrieved from the database * - * @access public * * @param CRM_Core_Form $form * @@ -253,7 +251,6 @@ class CRM_Event_Form_EventFees { /** * This function sets the default values for price set. * - * @access public * * @param int $participantID * @param int $eventID @@ -344,7 +341,6 @@ SELECT id, html_type * @param CRM_Core_Form $form * * @return void - * @access public */ public static function buildQuickForm(&$form) { if ($form->_eventId) { diff --git a/CRM/Event/Form/ManageEvent.php b/CRM/Event/Form/ManageEvent.php index 379cbf59cd..706a08f595 100644 --- a/CRM/Event/Form/ManageEvent.php +++ b/CRM/Event/Form/ManageEvent.php @@ -50,7 +50,6 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { * Is this the first page? * * @var boolean - * @access protected */ protected $_first = FALSE; @@ -58,7 +57,6 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { * Are we in single form mode or wizard mode? * * @var boolean - * @access protected */ protected $_single; @@ -93,7 +91,6 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $config = CRM_Core_Config::singleton(); @@ -227,7 +224,6 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -258,7 +254,6 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Event/Form/ManageEvent/Conference.php b/CRM/Event/Form/ManageEvent/Conference.php index 585c2dfce3..4b15c3880b 100644 --- a/CRM/Event/Form/ManageEvent/Conference.php +++ b/CRM/Event/Form/ManageEvent/Conference.php @@ -48,7 +48,6 @@ class CRM_Event_Form_ManageEvent_Conference extends CRM_Event_Form_ManageEvent { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -74,7 +73,6 @@ class CRM_Event_Form_ManageEvent_Conference extends CRM_Event_Form_ManageEvent { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $slots = CRM_Core_OptionGroup::values('conference_slot'); @@ -116,7 +114,6 @@ class CRM_Event_Form_ManageEvent_Conference extends CRM_Event_Form_ManageEvent { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Conference Slots'); diff --git a/CRM/Event/Form/ManageEvent/Delete.php b/CRM/Event/Form/ManageEvent/Delete.php index fefad7b1f1..7e944eda20 100644 --- a/CRM/Event/Form/ManageEvent/Delete.php +++ b/CRM/Event/Form/ManageEvent/Delete.php @@ -49,7 +49,6 @@ class CRM_Event_Form_ManageEvent_Delete extends CRM_Event_Form_ManageEvent { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -70,7 +69,6 @@ class CRM_Event_Form_ManageEvent_Delete extends CRM_Event_Form_ManageEvent { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->assign('title', $this->_title); @@ -93,7 +91,6 @@ class CRM_Event_Form_ManageEvent_Delete extends CRM_Event_Form_ManageEvent { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { $participant = new CRM_Event_DAO_Participant(); diff --git a/CRM/Event/Form/ManageEvent/EventInfo.php b/CRM/Event/Form/ManageEvent/EventInfo.php index a057348cec..1d742bff48 100644 --- a/CRM/Event/Form/ManageEvent/EventInfo.php +++ b/CRM/Event/Form/ManageEvent/EventInfo.php @@ -49,7 +49,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //custom data related code @@ -89,7 +88,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -153,7 +151,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType) { @@ -245,7 +242,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values) { $errors = array(); @@ -274,7 +270,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { /** * Process the form submission * - * @access public * * @return void */ @@ -342,7 +337,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Event Information and Settings'); diff --git a/CRM/Event/Form/ManageEvent/Fee.php b/CRM/Event/Form/ManageEvent/Fee.php index 5f0783e2e5..4e46d6c6af 100644 --- a/CRM/Event/Form/ManageEvent/Fee.php +++ b/CRM/Event/Form/ManageEvent/Fee.php @@ -63,7 +63,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -73,7 +72,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -252,7 +250,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -397,7 +394,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -412,7 +408,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values) { $errors = array(); @@ -554,7 +549,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { * Process the form * * @return void - * @access public */ public function postProcess() { $eventTitle = ''; @@ -816,7 +810,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Event Fees'); diff --git a/CRM/Event/Form/ManageEvent/Location.php b/CRM/Event/Form/ManageEvent/Location.php index 072a2e8ab3..dd6e978b16 100644 --- a/CRM/Event/Form/ManageEvent/Location.php +++ b/CRM/Event/Form/ManageEvent/Location.php @@ -72,7 +72,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -100,7 +99,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -130,7 +128,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -145,7 +142,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { // check for state/country mapping @@ -158,7 +154,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { * function to build location block * * @return void - * @access public */ public function buildQuickForm() { //load form for child blocks @@ -220,7 +215,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { /** * Process the form submission * - * @access public * * @return void */ @@ -291,7 +285,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Event Location'); diff --git a/CRM/Event/Form/ManageEvent/Registration.php b/CRM/Event/Form/ManageEvent/Registration.php index 8ca0153f98..ab7535aa56 100644 --- a/CRM/Event/Form/ManageEvent/Registration.php +++ b/CRM/Event/Form/ManageEvent/Registration.php @@ -54,7 +54,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_addProfileBottom = CRM_Utils_Array::value('addProfileBottom', $_GET, FALSE); @@ -93,7 +92,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -231,7 +229,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_addProfileBottom) { @@ -460,7 +457,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent /** * Add local and global form rules * - * @access protected * * @return void */ @@ -480,7 +476,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $form) { if (!empty($values['is_online_registration'])) { @@ -815,7 +810,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent /** * Process the form submission * - * @access public * * @return void */ @@ -1013,7 +1007,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Online Registration'); diff --git a/CRM/Event/Form/ManageEvent/Repeat.php b/CRM/Event/Form/ManageEvent/Repeat.php index 336c9ca38a..af66498d79 100644 --- a/CRM/Event/Form/ManageEvent/Repeat.php +++ b/CRM/Event/Form/ManageEvent/Repeat.php @@ -76,7 +76,6 @@ class CRM_Event_Form_ManageEvent_Repeat extends CRM_Event_Form_ManageEvent { * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return None */ @@ -165,7 +164,6 @@ class CRM_Event_Form_ManageEvent_Repeat extends CRM_Event_Form_ManageEvent { * * @param array $listOfRelatedEntities list of related event ids * - * @access public * @static * * @return array diff --git a/CRM/Event/Form/ManageEvent/ScheduleReminders.php b/CRM/Event/Form/ManageEvent/ScheduleReminders.php index cfca03d40d..b31780302e 100644 --- a/CRM/Event/Form/ManageEvent/ScheduleReminders.php +++ b/CRM/Event/Form/ManageEvent/ScheduleReminders.php @@ -44,7 +44,6 @@ class CRM_Event_Form_ManageEvent_ScheduleReminders extends CRM_Event_Form_Manage * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 925366c024..7eadc6553c 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -193,7 +193,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_showFeeBlock = CRM_Utils_Array::value('eventId', $_GET); @@ -412,7 +411,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * This function sets the default values for the form in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -586,7 +584,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $participantStatuses = CRM_Event_PseudoConstant::participantStatus(); @@ -779,7 +776,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment /** * Add local and global form rules * - * @access protected * * @return void */ @@ -796,7 +792,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $self) { // If $values['_qf_Participant_next'] is Delete or @@ -866,7 +861,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment /** * Process the form submission * - * @access public */ public function postProcess() { // get the submitted form values. diff --git a/CRM/Event/Form/ParticipantView.php b/CRM/Event/Form/ParticipantView.php index 81eea65508..5313fdb794 100644 --- a/CRM/Event/Form/ParticipantView.php +++ b/CRM/Event/Form/ParticipantView.php @@ -45,7 +45,6 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $values = $ids = array(); @@ -223,7 +222,6 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Event/Form/Registration.php b/CRM/Event/Form/Registration.php index 0fbfed5d25..43b5da97f3 100644 --- a/CRM/Event/Form/Registration.php +++ b/CRM/Event/Form/Registration.php @@ -178,7 +178,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_eventId = CRM_Utils_Request::retrieve('id', 'Positive', $this, TRUE); @@ -463,7 +462,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { * Assign the minimal set of variables to the template * * @return void - * @access public */ public function assignToTemplate() { //process only primary participant params @@ -563,7 +561,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { * @param bool $viewOnly * * @return void - * @access public */ public function buildCustom($id, $name, $viewOnly = FALSE) { if ($id) { @@ -725,7 +722,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { * @param null $payment * * @return void - * @access public */ public function confirmPostProcess($contactID = NULL, $contribution = NULL, $payment = NULL) { // add/update contact information @@ -827,7 +823,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { * @param int $contactID * * @return void - * @access public */ public static function addParticipant(&$form, $contactID) { if (empty($form->_params)) { @@ -932,7 +927,6 @@ WHERE v.option_group_id = g.id * @param array $params user params. * * @return $totalCount total participant count. - * @access public */ /** * @param CRM_Core_Form $form @@ -1031,7 +1025,6 @@ WHERE v.option_group_id = g.id * * * @return array $formatted, formatted price set params. - * @access public */ /** * @param CRM_Core_Form $form @@ -1081,7 +1074,6 @@ WHERE v.option_group_id = g.id * * * @return array $optionsCount, array of each option w/ count total. - * @access public */ /** * @param $form diff --git a/CRM/Event/Form/Registration/AdditionalParticipant.php b/CRM/Event/Form/Registration/AdditionalParticipant.php index 2286fd790c..b7965ca8c3 100644 --- a/CRM/Event/Form/Registration/AdditionalParticipant.php +++ b/CRM/Event/Form/Registration/AdditionalParticipant.php @@ -56,7 +56,6 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -92,7 +91,6 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R * Set default values for the form. For edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -168,7 +166,6 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $config = CRM_Core_Config::singleton(); @@ -372,7 +369,6 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -571,7 +567,6 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R /** * Process the form submission * - * @access public * * @return void */ @@ -751,7 +746,6 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R * @param bool $isButtonJs * * @return boolean ture on success. - * @access public */ public function isLastParticipant($isButtonJs = FALSE) { $participant = $isButtonJs ? $this->_params[0]['additional_participants'] : $this->_params[0]['additional_participants'] + 1; diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index 8f4cf6f0fd..e0e922de3e 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -58,7 +58,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -208,7 +207,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { * no help display needed * * @return int - * @access public */ public function getAction() { if ($this->_action & CRM_Core_Action::PREVIEW) { @@ -223,7 +221,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->assignToTemplate(); @@ -420,7 +417,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { /** * Process the form submission * - * @access public * * @return void */ @@ -953,7 +949,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { * @param bool $isAdditionalAmount * * @return void - * @access public */ static function processContribution(&$form, $params, $result, $contactID, $pending = FALSE, $isAdditionalAmount = FALSE @@ -1071,7 +1066,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function fixLocationFields(&$params, &$fields, &$form) { if (!empty($form->_fields)) { @@ -1120,7 +1114,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { * @param CRM_Core_Form $form * * @return void - * @access public */ public static function updateContactFields($contactID, $params, $fields, &$form) { //add the contact to group, if add to group is selected for a diff --git a/CRM/Event/Form/Registration/ParticipantConfirm.php b/CRM/Event/Form/Registration/ParticipantConfirm.php index d35f3acbdb..756bcc36ea 100644 --- a/CRM/Event/Form/Registration/ParticipantConfirm.php +++ b/CRM/Event/Form/Registration/ParticipantConfirm.php @@ -47,7 +47,6 @@ class CRM_Event_Form_Registration_ParticipantConfirm extends CRM_Event_Form_Regi * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_participantId = CRM_Utils_Request::retrieve('participantId', 'Positive', $this); @@ -94,7 +93,6 @@ class CRM_Event_Form_Registration_ParticipantConfirm extends CRM_Event_Form_Regi * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $params = array('id' => $this->_eventId); @@ -166,7 +164,6 @@ class CRM_Event_Form_Registration_ParticipantConfirm extends CRM_Event_Form_Regi /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 33a8f503b3..68df77abfe 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -86,7 +86,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -140,7 +139,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { *- For payment processors of billing mode 'Notify' - return from setDefaults before the code for billing profile population execution . * (done this is because for payment processors with 'Notify' mode billing profile form doesn't get rendered on UI) * - * @access public * * @return void */ @@ -315,7 +313,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // build profiles first so that we can determine address fields etc @@ -550,7 +547,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * @param int $discountId discount id for the event * * @return void - * @access public * @static */ static public function buildAmount(&$form, $required = TRUE, $discountId = NULL) { @@ -801,7 +797,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -963,7 +958,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { /** * Process the form submission * - * @access public * * @return void */ @@ -1397,7 +1391,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * @param boolean $useDedupeRules force usage of dedupe rules * * @return void - * @access public */ public static function checkRegistration($fields, &$self, $isAdditional = FALSE, $returnContactId = FALSE, $useDedupeRules = FALSE) { // CRM-3907, skip check for preview registrations diff --git a/CRM/Event/Form/Registration/ThankYou.php b/CRM/Event/Form/Registration/ThankYou.php index 6d9519c801..a688c92439 100644 --- a/CRM/Event/Form/Registration/ThankYou.php +++ b/CRM/Event/Form/Registration/ThankYou.php @@ -44,7 +44,6 @@ class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -72,7 +71,6 @@ class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration { * no help display needed * * @return int - * @access public */ public function getAction() { if ($this->_action & CRM_Core_Action::PREVIEW) { @@ -87,7 +85,6 @@ class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // Assign the email address from a contact id lookup as in CRM_Event_BAO_Event->sendMail() @@ -241,7 +238,6 @@ class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration { /** * Process the form submission * - * @access public * * @return void */ @@ -251,7 +247,6 @@ class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Thank You Page'); diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 63622b8865..6ffe9a969f 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -46,14 +46,12 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -61,7 +59,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -78,7 +75,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * The saved search ID retrieved from the GET vars * * @var int - * @access protected */ protected $_ssID; @@ -86,7 +82,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Search'); @@ -171,7 +166,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -265,7 +259,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -361,7 +354,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * All local rules are added near the element * * @return void - * @access public * @see valid_date */ public function addRules() {} @@ -369,7 +361,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -466,7 +457,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Participants'); diff --git a/CRM/Event/Form/SearchEvent.php b/CRM/Event/Form/SearchEvent.php index fd35d35d6e..5a84991d5e 100644 --- a/CRM/Event/Form/SearchEvent.php +++ b/CRM/Event/Form/SearchEvent.php @@ -53,7 +53,6 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task.php b/CRM/Event/Form/Task.php index cd07d47b80..9b56001e4f 100644 --- a/CRM/Event/Form/Task.php +++ b/CRM/Event/Form/Task.php @@ -73,7 +73,6 @@ class CRM_Event_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -165,7 +164,6 @@ class CRM_Event_Form_Task extends CRM_Core_Form { * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Event/Form/Task/AddToGroup.php b/CRM/Event/Form/Task/AddToGroup.php index aad0acd159..47e8f70923 100644 --- a/CRM/Event/Form/Task/AddToGroup.php +++ b/CRM/Event/Form/Task/AddToGroup.php @@ -65,7 +65,6 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { // initialize the task and row fields @@ -79,7 +78,6 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -152,7 +150,6 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -170,7 +167,6 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -185,7 +181,6 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($params) { $errors = array(); @@ -203,7 +198,6 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return None */ diff --git a/CRM/Event/Form/Task/Badge.php b/CRM/Event/Form/Task/Badge.php index 9899b6fc5f..637841f367 100644 --- a/CRM/Event/Form/Task/Badge.php +++ b/CRM/Event/Form/Task/Badge.php @@ -58,7 +58,6 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task { * @param * * @return void - * @access public */ public function preProcess() { $this->_context = CRM_Utils_Request::retrieve('context', 'String', $this); @@ -85,7 +84,6 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -110,7 +108,6 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index ddf0c8b67c..0407348db6 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -67,7 +67,6 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -94,7 +93,6 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -236,7 +234,6 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { /** * Set default values for the form. * - * @access public * * @return void */ @@ -274,7 +271,6 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/Cancel.php b/CRM/Event/Form/Task/Cancel.php index 8951c8d2a5..3c3b38681f 100644 --- a/CRM/Event/Form/Task/Cancel.php +++ b/CRM/Event/Form/Task/Cancel.php @@ -48,7 +48,6 @@ class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { // initialize the task and row fields @@ -61,7 +60,6 @@ class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -74,7 +72,6 @@ class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/Delete.php b/CRM/Event/Form/Task/Delete.php index 0a0e9ec479..19c59b4d1b 100644 --- a/CRM/Event/Form/Task/Delete.php +++ b/CRM/Event/Form/Task/Delete.php @@ -52,7 +52,6 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { @@ -71,7 +70,6 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -90,7 +88,6 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/Email.php b/CRM/Event/Form/Task/Email.php index 23af44f33e..4998f92077 100644 --- a/CRM/Event/Form/Task/Email.php +++ b/CRM/Event/Form/Task/Email.php @@ -66,7 +66,6 @@ class CRM_Event_Form_Task_Email extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); parent::preProcess(); @@ -80,7 +79,6 @@ class CRM_Event_Form_Task_Email extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -94,7 +92,6 @@ class CRM_Event_Form_Task_Email extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/PickProfile.php b/CRM/Event/Form/Task/PickProfile.php index 67c7c0837f..02fa633733 100644 --- a/CRM/Event/Form/Task/PickProfile.php +++ b/CRM/Event/Form/Task/PickProfile.php @@ -61,7 +61,6 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { // initialize the task and row fields @@ -88,7 +87,6 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -111,7 +109,6 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -126,7 +123,6 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { return TRUE; @@ -135,7 +131,6 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/Print.php b/CRM/Event/Form/Task/Print.php index c22c5f24e4..1cf0e5cb67 100644 --- a/CRM/Event/Form/Task/Print.php +++ b/CRM/Event/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Event_Form_Task_Print extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -71,7 +70,6 @@ class CRM_Event_Form_Task_Print extends CRM_Event_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Event_Form_Task_Print extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/Result.php b/CRM/Event/Form/Task/Result.php index a94f917598..c768376dcc 100644 --- a/CRM/Event/Form/Task/Result.php +++ b/CRM/Event/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Event_Form_Task_Result extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Event/Form/Task/SaveSearch.php b/CRM/Event/Form/Task/SaveSearch.php index c4d67e64d5..39722c4310 100644 --- a/CRM/Event/Form/Task/SaveSearch.php +++ b/CRM/Event/Form/Task/SaveSearch.php @@ -51,7 +51,6 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { parent::preProcess(); $this->_id = NULL; @@ -62,7 +61,6 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -105,7 +103,6 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/SaveSearch/Update.php b/CRM/Event/Form/Task/SaveSearch/Update.php index afa9355c60..7c55b7f40e 100644 --- a/CRM/Event/Form/Task/SaveSearch/Update.php +++ b/CRM/Event/Form/Task/SaveSearch/Update.php @@ -43,7 +43,6 @@ class CRM_Event_Form_Task_SaveSearch_Update extends CRM_Event_Form_Task_SaveSear * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -60,7 +59,6 @@ class CRM_Event_Form_Task_SaveSearch_Update extends CRM_Event_Form_Task_SaveSear * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ diff --git a/CRM/Event/Form/Task/SearchTaskHookSample.php b/CRM/Event/Form/Task/SearchTaskHookSample.php index a8a6fbfacf..9b553487cc 100644 --- a/CRM/Event/Form/Task/SearchTaskHookSample.php +++ b/CRM/Event/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Event_Form_Task_SearchTaskHookSample extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -75,7 +74,6 @@ class CRM_Event_Form_Task_SearchTaskHookSample extends CRM_Event_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Event/Import/Field.php b/CRM/Event/Import/Field.php index f7fcbdb38c..bddf5e6294 100644 --- a/CRM/Event/Import/Field.php +++ b/CRM/Event/Import/Field.php @@ -31,7 +31,6 @@ class CRM_Event_Import_Field { /**#@+ - * @access protected * @var string */ diff --git a/CRM/Event/Import/Form/DataSource.php b/CRM/Event/Import/Form/DataSource.php index 1fe63a99bb..aed634735c 100644 --- a/CRM/Event/Import/Form/DataSource.php +++ b/CRM/Event/Import/Form/DataSource.php @@ -42,7 +42,6 @@ class CRM_Event_Import_Form_DataSource extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -55,7 +54,6 @@ class CRM_Event_Import_Form_DataSource extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //Setting Upload File Size @@ -156,7 +154,6 @@ class CRM_Event_Import_Form_DataSource extends CRM_Core_Form { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $this->controller->resetPage('MapField'); @@ -196,7 +193,6 @@ class CRM_Event_Import_Form_DataSource extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Upload Data'); diff --git a/CRM/Event/Import/Form/MapField.php b/CRM/Event/Import/Form/MapField.php index d042110e7b..e741c6dd13 100644 --- a/CRM/Event/Import/Form/MapField.php +++ b/CRM/Event/Import/Form/MapField.php @@ -45,7 +45,6 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mapperFields = $this->get('fields'); @@ -95,7 +94,6 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -289,7 +287,6 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $errors = array(); @@ -389,7 +386,6 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues('MapField'); diff --git a/CRM/Event/Import/Form/Preview.php b/CRM/Event/Import/Form/Preview.php index 5fbeab8a48..d7a7d7655f 100644 --- a/CRM/Event/Import/Form/Preview.php +++ b/CRM/Event/Import/Form/Preview.php @@ -43,7 +43,6 @@ class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader'); @@ -108,7 +107,6 @@ class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $fileName = $this->controller->exportValue('DataSource', 'uploadFile'); diff --git a/CRM/Event/Import/Form/Summary.php b/CRM/Event/Import/Form/Summary.php index 8671937f3f..5247b11e0d 100644 --- a/CRM/Event/Import/Form/Summary.php +++ b/CRM/Event/Import/Form/Summary.php @@ -42,7 +42,6 @@ class CRM_Event_Import_Form_Summary extends CRM_Import_Form_Summary { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { // set the error message path to display diff --git a/CRM/Event/Import/Parser.php b/CRM/Event/Import/Parser.php index 156f0f6e40..6b71b3cf7d 100644 --- a/CRM/Event/Import/Parser.php +++ b/CRM/Event/Import/Parser.php @@ -39,7 +39,6 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { protected $_fileName; /**#@+ - * @access protected * @var integer */ @@ -295,7 +294,6 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { * @param array mapped array of values * * @return void - * @access public */ public function setActiveFields($fieldKeys) { $this->_activeFieldCount = count($fieldKeys); @@ -313,7 +311,6 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { * Format the field values for input to the api * * @return array (reference ) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -363,7 +360,6 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { * @param int $mode * * @return void - * @access public */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('fileSize', $this->_fileSize); @@ -420,7 +416,6 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { * @param array $data * * @return void - * @access public */ public static function exportCSV($fileName, $header, $data) { $output = array(); diff --git a/CRM/Event/Import/Parser/Participant.php b/CRM/Event/Import/Parser/Participant.php index 0f615df798..889c7a2a3b 100644 --- a/CRM/Event/Import/Parser/Participant.php +++ b/CRM/Event/Import/Parser/Participant.php @@ -69,7 +69,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function init() { $fields = CRM_Event_BAO_Participant::importableFields($this->_contactType, FALSE); @@ -129,7 +128,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean - * @access public */ public function mapField(&$values) { return CRM_Import_Parser::VALID; @@ -141,7 +139,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function preview(&$values) { return $this->summary($values); @@ -153,7 +150,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function summary(&$values) { $erroneousField = NULL; @@ -270,7 +266,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function import($onDuplicate, &$values) { @@ -493,7 +488,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * Get the array of successfully imported Participation ids * * @return array - * @access public */ public function &getImportedParticipations() { return $this->_newParticipants; @@ -503,7 +497,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function fini() {} } diff --git a/CRM/Event/Page/DashBoard.php b/CRM/Event/Page/DashBoard.php index c83306d8bd..ea0a3e2853 100644 --- a/CRM/Event/Page/DashBoard.php +++ b/CRM/Event/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -77,7 +76,6 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Event/Page/EventInfo.php b/CRM/Event/Page/EventInfo.php index 14899576e6..a20d170639 100644 --- a/CRM/Event/Page/EventInfo.php +++ b/CRM/Event/Page/EventInfo.php @@ -46,7 +46,6 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index 3d439a686b..ae336c6e88 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -186,7 +186,6 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -399,7 +398,6 @@ ORDER BY start_date desc * all the fields in the event wizard * * @return void - * @access public */ public function copy() { $id = CRM_Utils_Request::retrieve('id', 'Positive', $this, TRUE, 0, 'GET'); diff --git a/CRM/Event/Page/Tab.php b/CRM/Event/Page/Tab.php index b3592d608b..a591049530 100644 --- a/CRM/Event/Page/Tab.php +++ b/CRM/Event/Page/Tab.php @@ -41,7 +41,6 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $controller = new CRM_Core_Controller_Simple( @@ -74,7 +73,6 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { * This function is called when action is view * * return null - * @access public */ public function view() { // build associated contributions @@ -96,7 +94,6 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { // set https for offline cc transaction @@ -152,7 +149,6 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); @@ -288,7 +284,6 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { * contribution for the participant * * return null - * @access public */ public function associatedContribution() { if (CRM_Core_Permission::access('CiviContribute')) { diff --git a/CRM/Event/Page/UserDashboard.php b/CRM/Event/Page/UserDashboard.php index c6ac521a58..cf72fdcd46 100644 --- a/CRM/Event/Page/UserDashboard.php +++ b/CRM/Event/Page/UserDashboard.php @@ -42,7 +42,6 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { * List participations for the UF user * * return null - * @access public */ public function listParticipations() { $controller = new CRM_Core_Controller_Simple( @@ -65,7 +64,6 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { * loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { parent::preProcess(); diff --git a/CRM/Event/PseudoConstant.php b/CRM/Event/PseudoConstant.php index 782d8339a0..6f3edc67d3 100644 --- a/CRM/Event/PseudoConstant.php +++ b/CRM/Event/PseudoConstant.php @@ -95,7 +95,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the n events * - * @access public * * @param int $id * @param bool $all @@ -132,7 +131,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the n participant statuses * - * @access public * * @param int $id * @param null $cond @@ -181,7 +179,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the n participant roles * - * @access public * * @param int $id * @param null $cond @@ -214,7 +211,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the participant listings * - * @access public * * @param int $id * @@ -237,7 +233,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all event types. * - * @access public * * @param int $id * @return array - array reference of all event types. @@ -283,7 +278,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * nex time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed @@ -297,7 +291,6 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the Personal campaign pages * - * @access public * * @param int $id * @return array - array reference of all pcp if any diff --git a/CRM/Event/Selector/Search.php b/CRM/Event/Selector/Search.php index e3e179e040..8ac7fb42b8 100644 --- a/CRM/Event/Selector/Search.php +++ b/CRM/Event/Selector/Search.php @@ -88,7 +88,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -96,7 +95,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -104,7 +102,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -112,7 +109,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * What component context are we being invoked from * - * @access protected * @var string */ protected $_compContext = NULL; @@ -122,7 +118,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -130,7 +125,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -199,7 +193,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * Can be used to alter the number of participation returned from a buildForm hook * * @param int $limit how many participations do we want returned - * @access public * */ public function setLimit($limit) { @@ -218,7 +211,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param null $compContext * * @return array - * @access public */ public static function &links($qfKey = NULL, $context = NULL, $compContext = NULL) { $extraParams = NULL; @@ -265,7 +257,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Event') . ' %%StatusMessage%%'; @@ -287,7 +278,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -434,7 +424,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * on most of "European" languages * * @return array $qill which contains an array of strings - * @access public */ public function getQILL() { return $this->_query->qill(); @@ -448,7 +437,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Event/StateMachine/Search.php b/CRM/Event/StateMachine/Search.php index e5120981ce..61953047f0 100644 --- a/CRM/Event/StateMachine/Search.php +++ b/CRM/Event/StateMachine/Search.php @@ -79,7 +79,6 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -95,7 +94,6 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Event/Task.php b/CRM/Event/Task.php index cff96825eb..ad99843e66 100644 --- a/CRM/Event/Task.php +++ b/CRM/Event/Task.php @@ -67,7 +67,6 @@ class CRM_Event_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -155,7 +154,6 @@ class CRM_Event_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -174,7 +172,6 @@ class CRM_Event_Task { * * @return array the set of optional tasks for a group of contacts * @static - * @access public */ public static function &optionalTaskTitle() { $tasks = array( @@ -190,7 +187,6 @@ class CRM_Event_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = array(); @@ -221,7 +217,6 @@ class CRM_Event_Task { * * @return array the set of tasks for a group of participants * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index f81515b4dd..26636d45de 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -62,7 +62,6 @@ class CRM_Export_BAO_Export { * @param string $queryOperator * * @static - * @access public */ static function exportComponents($selectAll, $ids, diff --git a/CRM/Export/Form/Map.php b/CRM/Export/Form/Map.php index 8a0b417e41..6d0397dd0d 100644 --- a/CRM/Export/Form/Map.php +++ b/CRM/Export/Form/Map.php @@ -42,7 +42,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * Mapper fields * * @var array - * @access protected */ protected $_mapperFields; @@ -50,7 +49,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * Number of columns in import file * * @var int - * @access protected */ protected $_exportColumnCount; @@ -58,7 +56,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * Loaded mapping ID * * @var int - * @access protected */ protected $_mappingId; @@ -66,7 +63,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function preProcess() { $this->_exportColumnCount = $this->get('exportColumnCount'); @@ -117,7 +113,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $values, $mappingTypeId) { $errors = array(); @@ -150,7 +145,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues($this->_name); @@ -250,7 +244,6 @@ class CRM_Export_Form_Map extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Select Fields to Export'); diff --git a/CRM/Export/Form/Select.php b/CRM/Export/Form/Select.php index 8740f5039b..1d0116cca4 100644 --- a/CRM/Export/Form/Select.php +++ b/CRM/Export/Form/Select.php @@ -76,7 +76,6 @@ class CRM_Export_Form_Select extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { //special case for custom search, directly give option to download csv file @@ -240,7 +239,6 @@ FROM {$this->_componentTable} * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //export option @@ -340,7 +338,6 @@ FROM {$this->_componentTable} * @param $self * * @return mixed true or array of errors - * @access public * @static */ static public function formRule($params, $files, $self) { @@ -372,7 +369,6 @@ FROM {$this->_componentTable} * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues($this->_name); @@ -438,7 +434,6 @@ FROM {$this->_componentTable} * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Export All or Selected Fields'); diff --git a/CRM/Extension/Browser.php b/CRM/Extension/Browser.php index 4171112a18..24cdd03149 100644 --- a/CRM/Extension/Browser.php +++ b/CRM/Extension/Browser.php @@ -219,7 +219,6 @@ class CRM_Extension_Browser { * Connects to public server and grabs the list of publically available * extensions. * - * @access public * * @return Array list of extension names */ diff --git a/CRM/Extension/Mapper.php b/CRM/Extension/Mapper.php index 382cb40f6e..43a80d9f85 100755 --- a/CRM/Extension/Mapper.php +++ b/CRM/Extension/Mapper.php @@ -112,7 +112,6 @@ class CRM_Extension_Mapper { /** * Given the class, provides extension's key. * - * @access public * * @param string $clazz extension class name * @@ -125,7 +124,6 @@ class CRM_Extension_Mapper { /** * Given the class, provides extension path. * - * @access public * * @param $clazz * @@ -140,7 +138,6 @@ class CRM_Extension_Mapper { /** * Given the string, returns true or false if it's an extension key. * - * @access public * * @param string $key a string which might be an extension key * @@ -154,7 +151,6 @@ class CRM_Extension_Mapper { /** * Given the string, returns true or false if it's an extension class name. * - * @access public * * @param string $clazz a string which might be an extension class name * @@ -194,7 +190,6 @@ class CRM_Extension_Mapper { /** * Given the key, provides extension's class name. * - * @access public * * @param string $key extension key * @@ -208,7 +203,6 @@ class CRM_Extension_Mapper { * Given the key, provides the path to file containing * extension's main class. * - * @access public * * @param string $key extension key * @@ -223,7 +217,6 @@ class CRM_Extension_Mapper { * Given the key, provides the path to file containing * extension's main class. * - * @access public * @param string $key extension key * @return string local path of the extension source tree */ @@ -238,7 +231,6 @@ class CRM_Extension_Mapper { * Given the key, provides the path to file containing * extension's main class. * - * @access public * * @param string $key extension key * @@ -362,7 +354,6 @@ class CRM_Extension_Mapper { /** * Given the class, provides the template path. * - * @access public * * @param string $clazz extension class name * @@ -383,7 +374,6 @@ class CRM_Extension_Mapper { * Given te class, provides the template name. * @todo consider multiple templates, support for one template for now * - * @access public * * @param string $clazz extension class name * diff --git a/CRM/Financial/BAO/FinancialAccount.php b/CRM/Financial/BAO/FinancialAccount.php index 6e4902d527..16d110d91f 100644 --- a/CRM/Financial/BAO/FinancialAccount.php +++ b/CRM/Financial/BAO/FinancialAccount.php @@ -55,7 +55,6 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_FinancialAccount object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -87,7 +86,6 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * @return object */ diff --git a/CRM/Financial/BAO/FinancialItem.php b/CRM/Financial/BAO/FinancialItem.php index 0e5c6d70bf..a96409be46 100644 --- a/CRM/Financial/BAO/FinancialItem.php +++ b/CRM/Financial/BAO/FinancialItem.php @@ -49,7 +49,6 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_FinancialItem object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -69,7 +68,6 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { * @param object $contribution contribution object * @param boolean $taxTrxnID * - * @access public * @static * @return void */ @@ -133,7 +131,6 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { * @param array $ids financial item ids * @param array $trxnIds financial item ids * - * @access public * @static * @return object */ @@ -183,7 +180,6 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Core_BAO_FinancialTrxn object - * @access public * @static */ public static function createEntityTrxn($params) { @@ -200,7 +196,6 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { * @param bool $maxId to retrive max id * * @return array - * @access public * @static */ public static function retrieveEntityFinancialTrxn($params, $maxId = FALSE) { @@ -239,7 +234,6 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { * @param array $error error to display * * @return array - * @access public * @static */ public static function checkContactPresent($contactIds, &$error) { diff --git a/CRM/Financial/BAO/FinancialType.php b/CRM/Financial/BAO/FinancialType.php index 7bc5023782..da0017ebf9 100644 --- a/CRM/Financial/BAO/FinancialType.php +++ b/CRM/Financial/BAO/FinancialType.php @@ -55,7 +55,6 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Contribute_BAO_ContributionType object - * @access public * @static */ public static function retrieve( &$params, &$defaults ) { @@ -87,7 +86,6 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * @return object */ diff --git a/CRM/Financial/BAO/FinancialTypeAccount.php b/CRM/Financial/BAO/FinancialTypeAccount.php index cb5abe0510..1c100822ab 100644 --- a/CRM/Financial/BAO/FinancialTypeAccount.php +++ b/CRM/Financial/BAO/FinancialTypeAccount.php @@ -58,7 +58,6 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin * @param array $allValues * * @return CRM_Contribute_BAO_ContributionType object - * @access public * @static */ public static function retrieve(&$params, &$defaults, &$allValues = array()) { @@ -78,7 +77,6 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * @return object */ diff --git a/CRM/Financial/BAO/PaymentProcessor.php b/CRM/Financial/BAO/PaymentProcessor.php index bc03b75853..2e478c973a 100644 --- a/CRM/Financial/BAO/PaymentProcessor.php +++ b/CRM/Financial/BAO/PaymentProcessor.php @@ -100,7 +100,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Financial_DAO_PaymentProcessor object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -121,7 +120,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -136,7 +134,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * @return object The default payment processor object on success, * null otherwise * @static - * @access public */ public static function &getDefault() { if (self::$_defaultPaymentProcessor == NULL) { @@ -153,7 +150,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * @param int $paymentProcessorID * * @return null - * @access public * @static */ public static function del($paymentProcessorID) { @@ -183,7 +179,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * * @return array associated array with payment processor related fields * @static - * @access public */ public static function getPayment($paymentProcessorID, $mode) { if (!$paymentProcessorID) { @@ -258,7 +253,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * * @return array associated array with payment processor related fields * @static - * @access public */ public static function buildPayment($dao, $mode) { $fields = array( @@ -367,7 +361,6 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces * * @return int / array / object based on type * @static - * @access public */ public static function getProcessorForEntity($entityID, $component = 'contribute', $type = 'id') { $result = NULL; diff --git a/CRM/Financial/BAO/PaymentProcessorType.php b/CRM/Financial/BAO/PaymentProcessorType.php index f97b3e998a..ae38b2ffcb 100644 --- a/CRM/Financial/BAO/PaymentProcessorType.php +++ b/CRM/Financial/BAO/PaymentProcessorType.php @@ -53,7 +53,6 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_LocaationType object on success, null otherwise - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -74,7 +73,6 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -89,7 +87,6 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr * @return object The default payment processor object on success, * null otherwise * @static - * @access public */ public static function &getDefault() { if (self::$_defaultPaymentProcessorType == NULL) { @@ -107,7 +104,6 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr * * @throws Exception * @return CRM_Financial_DAO_PaymentProcessorType - * @access public * @static */ public static function create(&$params) { @@ -175,7 +171,6 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr * @param int $paymentProcessorTypeId ID of the processor to be deleted. * * @return bool - * @access public * @static */ public static function del($paymentProcessorTypeId) { diff --git a/CRM/Financial/Form/BatchTransaction.php b/CRM/Financial/Form/BatchTransaction.php index 9fe8187bbc..2a6eadcbea 100644 --- a/CRM/Financial/Form/BatchTransaction.php +++ b/CRM/Financial/Form/BatchTransaction.php @@ -76,7 +76,6 @@ class CRM_Financial_Form_BatchTransaction extends CRM_Contribute_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_batchStatusId == 2) { diff --git a/CRM/Financial/Form/Export.php b/CRM/Financial/Form/Export.php index b3fc958260..8d3caf7d8a 100644 --- a/CRM/Financial/Form/Export.php +++ b/CRM/Financial/Form/Export.php @@ -44,7 +44,6 @@ class CRM_Financial_Form_Export extends CRM_Core_Form { * The financial batch id, used when editing the field * * @var int - * @access protected */ protected $_id; @@ -67,7 +66,6 @@ class CRM_Financial_Form_Export extends CRM_Core_Form { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this); @@ -115,7 +113,6 @@ class CRM_Financial_Form_Export extends CRM_Core_Form { /** * Build the form object * - * @access public * @return void */ public function buildQuickForm() { @@ -155,7 +152,6 @@ class CRM_Financial_Form_Export extends CRM_Core_Form { /** * Process the form after the input has been submitted and validated * - * @access public * @return void */ public function postProcess( ) { diff --git a/CRM/Financial/Form/FinancialAccount.php b/CRM/Financial/Form/FinancialAccount.php index d523175c9d..d5878d3743 100644 --- a/CRM/Financial/Form/FinancialAccount.php +++ b/CRM/Financial/Form/FinancialAccount.php @@ -51,7 +51,6 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -78,7 +77,6 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm( ) { parent::buildQuickForm( ); @@ -138,7 +136,6 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule( $values, $files, $self ) { $errorMsg = array( ); @@ -176,7 +173,6 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -191,7 +187,6 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form { /** * Process the form submission * - * @access public * @return void */ public function postProcess() { diff --git a/CRM/Financial/Form/FinancialBatch.php b/CRM/Financial/Form/FinancialBatch.php index 653efcef86..d42da5504e 100644 --- a/CRM/Financial/Form/FinancialBatch.php +++ b/CRM/Financial/Form/FinancialBatch.php @@ -43,7 +43,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { * The financial batch id, used when editing the field * * @var int - * @access protected */ protected $_id; @@ -51,7 +50,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $context = CRM_Utils_Request::retrieve('context', 'String', $this); @@ -86,7 +84,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -153,7 +150,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -181,7 +177,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $self) { $errors = array(); @@ -207,7 +202,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { /** * Process the form submission * - * @access public * @return void */ public function postProcess() { @@ -301,7 +295,6 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public function checkPermissions($action, $permissions, $createdID, $userContactID, $actionName) { if ((CRM_Core_Permission::check($permissions[0]) || CRM_Core_Permission::check($permissions[1]))) { diff --git a/CRM/Financial/Form/FinancialType.php b/CRM/Financial/Form/FinancialType.php index ffe766fd82..67be508ecd 100644 --- a/CRM/Financial/Form/FinancialType.php +++ b/CRM/Financial/Form/FinancialType.php @@ -44,7 +44,6 @@ class CRM_Financial_Form_FinancialType extends CRM_Contribute_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -80,7 +79,6 @@ class CRM_Financial_Form_FinancialType extends CRM_Contribute_Form { /** * Process the form submission * - * @access public * @return void */ public function postProcess() { diff --git a/CRM/Financial/Form/FinancialTypeAccount.php b/CRM/Financial/Form/FinancialTypeAccount.php index 00cec20f27..15a33c53c0 100644 --- a/CRM/Financial/Form/FinancialTypeAccount.php +++ b/CRM/Financial/Form/FinancialTypeAccount.php @@ -43,7 +43,6 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { * The financial type id saved to the session for an update * * @var int - * @access protected */ protected $_aid; @@ -51,7 +50,6 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { * The financial type accounts id, used when editing the field * * @var int - * @access protected */ protected $_id; @@ -73,7 +71,6 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_aid = CRM_Utils_Request::retrieve('aid', 'Positive', $this); @@ -124,7 +121,6 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -242,7 +238,6 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($values, $files, $self) { $errorMsg = array(); @@ -307,7 +302,6 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { /** * Process the form submission * - * @access public * @return void */ public function postProcess() { diff --git a/CRM/Financial/Page/Batch.php b/CRM/Financial/Page/Batch.php index dfab755512..533419a367 100644 --- a/CRM/Financial/Page/Batch.php +++ b/CRM/Financial/Page/Batch.php @@ -95,7 +95,6 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic { * Browse all entities. * * @return void - * @access public */ public function browse() { $status = CRM_Utils_Request::retrieve('status', 'Positive', CRM_Core_DAO::$_nullObject, FALSE, 1); diff --git a/CRM/Financial/Page/BatchTransaction.php b/CRM/Financial/Page/BatchTransaction.php index 83fa36b889..b048c81b32 100644 --- a/CRM/Financial/Page/BatchTransaction.php +++ b/CRM/Financial/Page/BatchTransaction.php @@ -90,7 +90,6 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -123,7 +122,6 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Financial/Page/FinancialAccount.php b/CRM/Financial/Page/FinancialAccount.php index 76069947e8..d695c62a18 100644 --- a/CRM/Financial/Page/FinancialAccount.php +++ b/CRM/Financial/Page/FinancialAccount.php @@ -99,7 +99,6 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -124,7 +123,6 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Financial/Page/FinancialBatch.php b/CRM/Financial/Page/FinancialBatch.php index e2057037f8..5cad89c9e2 100644 --- a/CRM/Financial/Page/FinancialBatch.php +++ b/CRM/Financial/Page/FinancialBatch.php @@ -75,7 +75,6 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Financial/Page/FinancialType.php b/CRM/Financial/Page/FinancialType.php index 1b35c36c2c..0293ff5f77 100644 --- a/CRM/Financial/Page/FinancialType.php +++ b/CRM/Financial/Page/FinancialType.php @@ -105,7 +105,6 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -130,7 +129,6 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Financial/Page/FinancialTypeAccount.php b/CRM/Financial/Page/FinancialTypeAccount.php index 35d0bbfda1..5ddc4fd6d9 100644 --- a/CRM/Financial/Page/FinancialTypeAccount.php +++ b/CRM/Financial/Page/FinancialTypeAccount.php @@ -95,7 +95,6 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -123,7 +122,6 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page { * Browse all Financial Type Account data * * @return void - * @access public * @static */ public function browse() { @@ -205,7 +203,6 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit( $action ) { // create a simple controller for editing CiviCRM Profile data diff --git a/CRM/Friend/BAO/Friend.php b/CRM/Friend/BAO/Friend.php index 8b54538dd3..ee2838b0c4 100644 --- a/CRM/Friend/BAO/Friend.php +++ b/CRM/Friend/BAO/Friend.php @@ -55,7 +55,6 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Friend_BAO_Friend object - * @access public * @static */ public static function add(&$params) { @@ -71,7 +70,6 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { * @param array $values output values of the object * * @return array $values values - * @access public * @static */ public static function retrieve(&$params, &$values) { @@ -92,7 +90,6 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Contact_BAO_Contact object - * @access public * @static */ public static function create(&$params) { @@ -241,7 +238,6 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { * @param CRM_Core_Form $form form object * * @return void - * @access public */ public static function buildFriendForm($form) { $form->addElement('checkbox', 'tf_is_active', ts('Tell a Friend enabled?'), NULL, array('onclick' => "friendBlock(this)")); @@ -292,7 +288,6 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { * @param array $values * * @return void - * @access public */ public static function sendMail($contactID, &$values) { list($fromName, $email) = CRM_Contact_BAO_Contact::getContactDetails($contactID); @@ -342,7 +337,6 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Friend_BAO_Friend object - * @access public * @static */ public static function addTellAFriend(&$params) { diff --git a/CRM/Friend/Form.php b/CRM/Friend/Form.php index f3cc37962a..88c1c5acf2 100644 --- a/CRM/Friend/Form.php +++ b/CRM/Friend/Form.php @@ -145,7 +145,6 @@ class CRM_Friend_Form extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -175,7 +174,6 @@ class CRM_Friend_Form extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // Details of User @@ -231,7 +229,6 @@ class CRM_Friend_Form extends CRM_Core_Form { * @param array $fields * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($fields) { @@ -267,7 +264,6 @@ class CRM_Friend_Form extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Friend/Form/Contribute.php b/CRM/Friend/Form/Contribute.php index 80e7a301ff..0a7c7b9af6 100644 --- a/CRM/Friend/Form/Contribute.php +++ b/CRM/Friend/Form/Contribute.php @@ -54,7 +54,6 @@ class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -90,7 +89,6 @@ class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if (isset($this->_id)) { @@ -107,7 +105,6 @@ class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage { /** * Process the form submission * - * @access public * * @return void */ @@ -134,7 +131,6 @@ class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Tell a Friend'); diff --git a/CRM/Friend/Form/Event.php b/CRM/Friend/Form/Event.php index 306200e3a3..d04f66244e 100644 --- a/CRM/Friend/Form/Event.php +++ b/CRM/Friend/Form/Event.php @@ -53,7 +53,6 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent { /** * Set default values for the form. * - * @access public * * @return void */ @@ -92,7 +91,6 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if (isset($this->_id)) { @@ -109,7 +107,6 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent { /** * Process the form submission * - * @access public * * @return void */ @@ -143,7 +140,6 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Tell a Friend'); diff --git a/CRM/Grant/BAO/Grant.php b/CRM/Grant/BAO/Grant.php index b46e86aba2..6ec960cd26 100644 --- a/CRM/Grant/BAO/Grant.php +++ b/CRM/Grant/BAO/Grant.php @@ -130,7 +130,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Grant_BAO_ManageGrant object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -149,7 +148,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object @@ -251,7 +249,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * @param array $ids reference array contains the id * * @return object - * @access public * @static * */ @@ -314,7 +311,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * * @return bool * - * @access public * @static */ public static function deleteContact($id) { @@ -330,7 +326,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * @param int $id grant id * * @return bool|mixed - * @access public * @static * */ @@ -361,7 +356,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * Combine all the exportable fields from the lower levels object * * @return array array of exportable Fields - * @access public * @static */ public static function &exportableFields() { @@ -418,7 +412,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * @param int $contactID * * @return int count of grant records - * @access public * @static */ public static function getContactGrantCount($contactID) { diff --git a/CRM/Grant/BAO/Query.php b/CRM/Grant/BAO/Query.php index bb5b44833a..daf5dc07b3 100644 --- a/CRM/Grant/BAO/Query.php +++ b/CRM/Grant/BAO/Query.php @@ -49,7 +49,6 @@ class CRM_Grant_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { if (($query->_mode & CRM_Contact_BAO_Query::MODE_GRANT) || !empty($query->_returnProperties)) { @@ -106,7 +105,6 @@ class CRM_Grant_BAO_Query { * @param $query * * @return void - * @access public */ public static function where(&$query) { foreach ($query->_params as $id => $values) { @@ -317,7 +315,6 @@ class CRM_Grant_BAO_Query { * Getter for the qill object * * @return string - * @access public */ public function qill() { return (isset($this->_qill)) ? $this->_qill : ""; @@ -355,7 +352,6 @@ class CRM_Grant_BAO_Query { /** * Add all the elements shared between grant search and advanaced search * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/Grant/Form/Grant.php b/CRM/Grant/Form/Grant.php index 9f7060c82b..42e8a58e6f 100644 --- a/CRM/Grant/Form/Grant.php +++ b/CRM/Grant/Form/Grant.php @@ -59,7 +59,6 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //custom data related code @@ -171,7 +170,6 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType) { @@ -259,7 +257,6 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Grant/Form/GrantView.php b/CRM/Grant/Form/GrantView.php index 1617bb87e3..8afd01ce40 100644 --- a/CRM/Grant/Form/GrantView.php +++ b/CRM/Grant/Form/GrantView.php @@ -43,7 +43,6 @@ class CRM_Grant_Form_GrantView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_contactID = CRM_Utils_Request::retrieve('cid', 'Positive', $this); @@ -125,7 +124,6 @@ class CRM_Grant_Form_GrantView extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Grant/Form/Search.php b/CRM/Grant/Form/Search.php index 5d517e25de..6f8b5f3ddf 100644 --- a/CRM/Grant/Form/Search.php +++ b/CRM/Grant/Form/Search.php @@ -46,14 +46,12 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -61,7 +59,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -78,7 +75,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ function preProcess() { /** @@ -163,7 +159,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -201,7 +196,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -276,7 +270,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -325,7 +318,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Grants'); diff --git a/CRM/Grant/Form/Task.php b/CRM/Grant/Form/Task.php index 9355db5b16..05f1d78f0b 100644 --- a/CRM/Grant/Form/Task.php +++ b/CRM/Grant/Form/Task.php @@ -73,7 +73,6 @@ class CRM_Grant_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ function preProcess() { self::preProcessCommon($this); } @@ -153,7 +152,6 @@ class CRM_Grant_Form_Task extends CRM_Core_Form { * @param string $backType * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Grant/Form/Task/Delete.php b/CRM/Grant/Form/Task/Delete.php index 3508da9f69..9ea783db1c 100644 --- a/CRM/Grant/Form/Task/Delete.php +++ b/CRM/Grant/Form/Task/Delete.php @@ -52,7 +52,6 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { parent::preProcess(); @@ -65,7 +64,6 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -76,7 +74,6 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Grant/Form/Task/Print.php b/CRM/Grant/Form/Task/Print.php index 7fc6dc39f6..4c72db0e22 100644 --- a/CRM/Grant/Form/Task/Print.php +++ b/CRM/Grant/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Grant_Form_Task_Print extends CRM_Grant_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -71,7 +70,6 @@ class CRM_Grant_Form_Task_Print extends CRM_Grant_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Grant_Form_Task_Print extends CRM_Grant_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Grant/Form/Task/Result.php b/CRM/Grant/Form/Task/Result.php index 9910b0ef9f..c3caebcd12 100644 --- a/CRM/Grant/Form/Task/Result.php +++ b/CRM/Grant/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Grant_Form_Task_Result extends CRM_Grant_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -69,7 +68,6 @@ class CRM_Grant_Form_Task_Result extends CRM_Grant_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Grant/Form/Task/SearchTaskHookSample.php b/CRM/Grant/Form/Task/SearchTaskHookSample.php index 7a08f068b0..bb8c7b52c4 100644 --- a/CRM/Grant/Form/Task/SearchTaskHookSample.php +++ b/CRM/Grant/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Grant_Form_Task_SearchTaskHookSample extends CRM_Grant_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -76,7 +75,6 @@ INNER JOIN civicrm_contact ct ON ( grt.contact_id = ct.id ) * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Grant/Form/Task/Update.php b/CRM/Grant/Form/Task/Update.php index 1859deff6d..33572c2101 100644 --- a/CRM/Grant/Form/Task/Update.php +++ b/CRM/Grant/Form/Task/Update.php @@ -44,7 +44,6 @@ class CRM_Grant_Form_Task_Update extends CRM_Grant_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -58,7 +57,6 @@ class CRM_Grant_Form_Task_Update extends CRM_Grant_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -80,7 +78,6 @@ class CRM_Grant_Form_Task_Update extends CRM_Grant_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Grant/Page/DashBoard.php b/CRM/Grant/Page/DashBoard.php index 4bc832f41d..4e38127936 100644 --- a/CRM/Grant/Page/DashBoard.php +++ b/CRM/Grant/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Grant_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -60,7 +59,6 @@ class CRM_Grant_Page_DashBoard extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Grant/Page/Tab.php b/CRM/Grant/Page/Tab.php index 16c17724c1..32f21a4def 100644 --- a/CRM/Grant/Page/Tab.php +++ b/CRM/Grant/Page/Tab.php @@ -53,7 +53,6 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { * This function is called when action is browse * * return null - * @access public */ function browse() { $controller = new CRM_Core_Controller_Simple('CRM_Grant_Form_Search', ts('Grants'), $this->_action); $controller->setEmbedded(TRUE); @@ -74,7 +73,6 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { * This function is called when action is view * * return null - * @access public */ public function view() { $controller = new CRM_Core_Controller_Simple('CRM_Grant_Form_GrantView', 'View Grant', $this->_action); @@ -89,7 +87,6 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { * This function is called when action is update or new * * return null - * @access public */ public function edit() { $controller = new CRM_Core_Controller_Simple('CRM_Grant_Form_Grant', 'Create grant', $this->_action); @@ -104,7 +101,6 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $context = CRM_Utils_Request::retrieve('context', 'String', $this); @@ -137,7 +133,6 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Grant/Selector/Search.php b/CRM/Grant/Selector/Search.php index 705c8f4c44..f0d4d4f123 100644 --- a/CRM/Grant/Selector/Search.php +++ b/CRM/Grant/Selector/Search.php @@ -82,7 +82,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -90,7 +89,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -98,7 +96,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -108,7 +105,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -116,7 +112,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -185,7 +180,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param null $key * * @return array - * @access public */ public static function &links($key = NULL) { $cid = CRM_Utils_Request::retrieve('cid', 'Integer', $this); @@ -227,7 +221,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Grant') . ' %%StatusMessage%%'; @@ -249,7 +242,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -331,7 +323,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co /** * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -348,7 +339,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Grant/StateMachine/Search.php b/CRM/Grant/StateMachine/Search.php index b55b17afc7..bb8dbddf6f 100644 --- a/CRM/Grant/StateMachine/Search.php +++ b/CRM/Grant/StateMachine/Search.php @@ -78,7 +78,6 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -95,7 +94,6 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Grant/Task.php b/CRM/Grant/Task.php index de43ebf301..cefea0cca2 100644 --- a/CRM/Grant/Task.php +++ b/CRM/Grant/Task.php @@ -63,7 +63,6 @@ class CRM_Grant_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -105,7 +104,6 @@ class CRM_Grant_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -123,7 +121,6 @@ class CRM_Grant_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = array(); @@ -151,7 +148,6 @@ class CRM_Grant_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Group/Form/Edit.php b/CRM/Group/Form/Edit.php index 22e3b67a12..02cec40046 100644 --- a/CRM/Group/Form/Edit.php +++ b/CRM/Group/Form/Edit.php @@ -162,7 +162,6 @@ class CRM_Group_Form_Edit extends CRM_Core_Form { * Set default values for the form. LocationType that in edit/view mode * the default values are retrieved from the database * - * @access public * @return array */ public function setDefaultValues() { @@ -212,7 +211,6 @@ class CRM_Group_Form_Edit extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action == CRM_Core_Action::DELETE) { @@ -316,7 +314,6 @@ class CRM_Group_Form_Edit extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $fileParams, $options) { $errors = array(); @@ -372,7 +369,6 @@ WHERE title = %1 * Process the form when submitted * * @return void - * @access public */ public function postProcess() { CRM_Utils_System::flushCache('CRM_Core_DAO_Group'); @@ -444,7 +440,6 @@ WHERE title = %1 * * @return array parent groups * @static - * @access public */ public static function buildParentGroups(&$form) { $groupNames = CRM_Core_PseudoConstant::group(); diff --git a/CRM/Group/Page/Group.php b/CRM/Group/Page/Group.php index 6077be5b47..5e40b98319 100644 --- a/CRM/Group/Page/Group.php +++ b/CRM/Group/Page/Group.php @@ -46,7 +46,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * Define action links * * @return array self::$_links array of action links - * @access public */ public function &links() {} @@ -54,7 +53,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * Return class name of edit form * * @return string - * @access public */ public function editForm() { return 'CRM_Group_Form_Edit'; @@ -64,7 +62,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * Return name of edit form * * @return string - * @access public */ public function editName() { return ts('Edit Group'); @@ -74,7 +71,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * Return name of delete form * * @return string - * @access public */ public function deleteName() { return 'Delete Group'; @@ -86,7 +82,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * @param null $mode * * @return string - * @access public */ public function userContext($mode = NULL) { return 'civicrm/group'; @@ -98,7 +93,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * @param null $mode * * @return string - * @access public */ public function userContextParams($mode = NULL) { return 'reset=1&action=browse'; @@ -111,7 +105,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * @param int $title name or title of the object * * @return string the permission that the user has (or null) - * @access public */ public function checkPermission($id, $title) { return CRM_Contact_BAO_Group::checkPermission($id, $title); @@ -124,7 +117,6 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic { * @param int $action * * @return void - * @access public */ public function browse($action = NULL) { $groupPermission = CRM_Core_Permission::check('edit groups') ? CRM_Core_Permission::EDIT : CRM_Core_Permission::VIEW; diff --git a/CRM/Group/StateMachine.php b/CRM/Group/StateMachine.php index 80c853d652..b876c13ba0 100644 --- a/CRM/Group/StateMachine.php +++ b/CRM/Group/StateMachine.php @@ -54,7 +54,6 @@ class CRM_Group_StateMachine extends CRM_Core_StateMachine { * Return the form name of the task. This is * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName('CRM_Contact_Form_Task_AddToGroup'); diff --git a/CRM/Import/DataSource.php b/CRM/Import/DataSource.php index 122f7ee07e..a742d0bba4 100644 --- a/CRM/Import/DataSource.php +++ b/CRM/Import/DataSource.php @@ -44,7 +44,6 @@ abstract class CRM_Import_DataSource { * * @return array collection of info about this data source * - * @access public * */ abstract public function getInfo(); @@ -52,7 +51,6 @@ abstract class CRM_Import_DataSource { /** * Set variables up before form is built * - * @access public */ abstract public function preProcess(&$form); @@ -64,14 +62,12 @@ abstract class CRM_Import_DataSource { * @param CRM_Core_Form $form * * @return void (operates directly on form argument) - * @access public */ abstract public function buildQuickForm(&$form); /** * Process the form submission * - * @access public */ abstract public function postProcess(&$params, &$db, &$form); } diff --git a/CRM/Import/DataSource/CSV.php b/CRM/Import/DataSource/CSV.php index 5881fc389a..610d2aa82e 100644 --- a/CRM/Import/DataSource/CSV.php +++ b/CRM/Import/DataSource/CSV.php @@ -41,7 +41,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { * * @return array collection of info about this data source * - * @access public * */ public function getInfo() { @@ -51,7 +50,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { /** * Set variables up before form is built * - * @access public */ public function preProcess(&$form) {} @@ -63,7 +61,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { * @param CRM_Core_Form $form * * @return void (operates directly on form argument) - * @access public */ public function buildQuickForm(&$form) { $form->add('hidden', 'hidden_dataSource', 'CRM_Import_DataSource_CSV'); @@ -85,7 +82,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { /** * Process the form submission * - * @access public */ public function postProcess(&$params, &$db, &$form) { $file = $params['uploadFile']['name']; diff --git a/CRM/Import/DataSource/SQL.php b/CRM/Import/DataSource/SQL.php index 8a1496e690..61eb516fb5 100644 --- a/CRM/Import/DataSource/SQL.php +++ b/CRM/Import/DataSource/SQL.php @@ -39,7 +39,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { * * @return array collection of info about this data source * - * @access public * */ public function getInfo() { @@ -49,7 +48,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { /** * Set variables up before form is built * - * @access public */ public function preProcess(&$form) {} @@ -61,7 +59,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { * @param CRM_Core_Form $form * * @return void (operates directly on form argument) - * @access public */ public function buildQuickForm(&$form) { $form->add('hidden', 'hidden_dataSource', 'CRM_Import_DataSource_SQL'); @@ -93,7 +90,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { /** * Process the form submission * - * @access public */ public function postProcess(&$params, &$db, &$form) { $importJob = new CRM_Contact_Import_ImportJob( diff --git a/CRM/Import/Form/MapField.php b/CRM/Import/Form/MapField.php index 80989667aa..7bd33fd6da 100644 --- a/CRM/Import/Form/MapField.php +++ b/CRM/Import/Form/MapField.php @@ -43,7 +43,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Cache of preview data values * * @var array - * @access protected */ protected $_dataValues; @@ -51,7 +50,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Mapper fields * * @var array - * @access protected */ protected $_mapperFields; @@ -59,7 +57,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Loaded mapping ID * * @var int - * @access protected */ protected $_loadedMappingId; @@ -67,7 +64,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Number of columns in import file * * @var int - * @access protected */ protected $_columnCount; @@ -75,7 +71,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Column headers, if we have them * * @var array - * @access protected */ protected $_columnHeaders; @@ -84,7 +79,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * form building already. * * @var array - * @access protected */ protected $_fieldUsed; @@ -92,7 +86,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Match Fields'); @@ -105,7 +98,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * @param mapperFields * * @return string - * @access public */ public function defaultFromHeader($header, &$patterns) { foreach ($patterns as $key => $re) { @@ -130,7 +122,6 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * @param index * * @return string - * @access public */ public function defaultFromData(&$patterns, $index) { $best = ''; diff --git a/CRM/Import/Form/Preview.php b/CRM/Import/Form/Preview.php index f7fc25d5cc..f134b4f23c 100644 --- a/CRM/Import/Form/Preview.php +++ b/CRM/Import/Form/Preview.php @@ -43,7 +43,6 @@ abstract class CRM_Import_Form_Preview extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Preview'); @@ -53,7 +52,6 @@ abstract class CRM_Import_Form_Preview extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { diff --git a/CRM/Import/Form/Summary.php b/CRM/Import/Form/Summary.php index f6864ff4d1..57d5db0bf1 100644 --- a/CRM/Import/Form/Summary.php +++ b/CRM/Import/Form/Summary.php @@ -44,7 +44,6 @@ abstract class CRM_Import_Form_Summary extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( @@ -61,7 +60,6 @@ abstract class CRM_Import_Form_Summary extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Summary'); diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 7a3b9996ef..0d258fe52d 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -268,7 +268,6 @@ abstract class CRM_Import_Parser { * Format the field values for input to the api * * @return array (reference) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -340,7 +339,6 @@ abstract class CRM_Import_Parser { * * @return void * @static - * @access public */ public static function encloseScrub(&$values, $enclosure = "'") { if (empty($values)) { @@ -358,7 +356,6 @@ abstract class CRM_Import_Parser { * @param int $max * * @return void - * @access public */ public function setMaxLinesToProcess($max) { $this->_maxLinesToProcess = $max; diff --git a/CRM/Mailing/BAO/BouncePattern.php b/CRM/Mailing/BAO/BouncePattern.php index d910a608ed..12e904590b 100644 --- a/CRM/Mailing/BAO/BouncePattern.php +++ b/CRM/Mailing/BAO/BouncePattern.php @@ -50,7 +50,6 @@ class CRM_Mailing_BAO_BouncePattern extends CRM_Mailing_DAO_BouncePattern { * Build the static pattern array * * @return void - * @access public * @static */ public static function buildPatterns() { @@ -78,7 +77,6 @@ class CRM_Mailing_BAO_BouncePattern extends CRM_Mailing_DAO_BouncePattern { * @param string $message The message to be matched * * @return array Tuple (bounce_type, bounce_reason) - * @access public * @static */ public static function &match(&$message) { diff --git a/CRM/Mailing/BAO/Component.php b/CRM/Mailing/BAO/Component.php index 9cd78995f7..7aaa908e31 100644 --- a/CRM/Mailing/BAO/Component.php +++ b/CRM/Mailing/BAO/Component.php @@ -48,7 +48,6 @@ class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Core_BAO_LocaationType object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -82,7 +81,6 @@ class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component { * * @return CRM_Mailing_BAO_Component object * - * @access public * @static */ public static function add(&$params, $ids = array()) { diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 1bc15c5ec7..4b95e16cba 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -622,7 +622,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * * Returns the regex patterns that are used for preparing the text and html templates * - * @access private * **/ private function &getPatterns($onlyHrefs = FALSE) { @@ -720,7 +719,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * for generating the emails and returns a copy of the * prepared templates * - * @access private * **/ private function getPreparedTemplates() { @@ -766,7 +764,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * * * @return array reference to an assoc array - * @access private * **/ private function &getTemplates() { @@ -834,7 +831,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * either text or html for this to have any meaningful impact * * @return array reference to an assoc array - * @access public * **/ public function &getTokens() { @@ -868,7 +864,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * hook in one call and standardizes it across other token workflows * * @return array reference to an assoc array - * @access public * **/ public function &getFlattenedTokens() { @@ -893,7 +888,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * * * @param str $prop name of the property that holds the text that we want to scan for tokens (html, text) - * @access private * * @return void */ @@ -918,7 +912,6 @@ ORDER BY i.contact_id, i.{$tempColumn} * @param array $testParams contains form values * * @return void - * @access public */ public function getTestRecipients($testParams) { if (array_key_exists($testParams['test_group'], CRM_Core_PseudoConstant::group())) { @@ -965,7 +958,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * @param void * * @return void - * @access private */ private function getHeaderFooter() { if (!$this->header and $this->header_id) { @@ -1152,7 +1144,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * @param null $replyToEmail * * @return Mail_mime The mail object - * @access public */ public function &compose($job_id, $event_queue_id, $hash, $contactId, $email, &$recipient, $test, @@ -1482,7 +1473,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * prior-mailing targets. * * @return array Names of groups receiving this mailing - * @access public */ public function &getGroupNames() { if (!isset($this->id)) { @@ -1513,7 +1503,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object @@ -1562,7 +1551,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * @param array $ids * * @return object $mailing The new mailing object - * @access public * @static */ public static function create(&$params, $ids = array()) { @@ -1744,7 +1732,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * @param bool $isSMS * * @return array Associative array of reporting data - * @access public * @static */ public static function &report($id, $skipDetails = FALSE, $isSMS = FALSE) { @@ -2218,7 +2205,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * @param * * @return int Count - * @access public */ public function getCount() { $this->selectAdd(); @@ -2331,7 +2317,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * @param array $additionalParams * * @return array The rows - * @access public */ public function &getRows($offset, $rowCount, $sort, $additionalClause = NULL, $additionalParams = NULL) { $mailing = self::getTableName(); @@ -2421,7 +2406,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * * @return string * @static - * @access public */ public static function showEmailDetails($id) { return CRM_Utils_System::url('civicrm/mailing/report', "mid=$id"); @@ -2433,7 +2417,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * @param int $id id of the mail to delete * * @return void - * @access public * @static */ public static function del($id) { @@ -2464,7 +2447,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * @param int $id id of the Job to delete * * @return void - * @access public * @static */ public static function delJob($id) { @@ -2518,7 +2500,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * @param CRM_Core_Form $form * * @return void - * @access public */ public static function commonCompose(&$form) { //get the tokens. @@ -2611,7 +2592,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * @param CRM_Core_Form $form * * @return void - * @access public */ public static function commonLetterCompose(&$form) { //get the tokens. @@ -2666,7 +2646,6 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id * Get the search based mailing Ids * * @return array $mailingIDs, searched base mailing ids. - * @access public */ public function searchMailingIDs() { $group = CRM_Mailing_DAO_MailingGroup::getTableName(); @@ -2898,7 +2877,6 @@ AND m.id = %1 * @param array $params associated array for params record id. * * @return array $contactActivities associated array of contact activities - * @access public */ public static function getContactMailingSelector(&$params) { // format the params @@ -2986,7 +2964,6 @@ AND m.id = %1 * @return array of mailings for a contact * * @static - * @access public */ static public function getContactMailings(&$params) { $params['version'] = 3; @@ -3006,7 +2983,6 @@ AND m.id = %1 * @return int count of mailings for a contact * * @static - * @access public */ static public function getContactMailingsCount(&$params) { $params['version'] = 3; diff --git a/CRM/Mailing/BAO/MailingAB.php b/CRM/Mailing/BAO/MailingAB.php index 4964fae1f6..4288a35d7e 100644 --- a/CRM/Mailing/BAO/MailingAB.php +++ b/CRM/Mailing/BAO/MailingAB.php @@ -54,7 +54,6 @@ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB { * @param array $ids * * @return object $mailingab The new mailingab object - * @access public * @static */ public static function create(&$params, $ids = array()) { @@ -76,7 +75,6 @@ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object @@ -118,7 +116,6 @@ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB { * @param int $id id of the mail to delete * * @return void - * @access public * @static */ public static function del($id) { diff --git a/CRM/Mailing/BAO/MailingJob.php b/CRM/Mailing/BAO/MailingJob.php index e0ff17bd9c..ba579b546a 100644 --- a/CRM/Mailing/BAO/MailingJob.php +++ b/CRM/Mailing/BAO/MailingJob.php @@ -81,7 +81,6 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob { * @param null $mode * * @return void - * @access public * @static */ public static function runJobs($testParams = NULL, $mode = NULL) { @@ -485,7 +484,6 @@ VALUES (%1, %2, %3, %4, %5, %6, %7) * @param array $testParams * * @return void - * @access public */ public function deliver(&$mailer, $testParams = NULL) { $mailing = new CRM_Mailing_BAO_Mailing(); @@ -869,7 +867,6 @@ AND status IN ( 'Scheduled', 'Running', 'Paused' ) * @param string $status The status enum * * @return string The translated version - * @access public * @static */ public static function status($status) { @@ -892,7 +889,6 @@ AND status IN ( 'Scheduled', 'Running', 'Paused' ) * to only process jobs that are approved. * * @return string For use in a WHERE clause - * @access public * @static */ public static function workflowClause() { diff --git a/CRM/Mailing/BAO/Query.php b/CRM/Mailing/BAO/Query.php index b61495ce9e..8c3ab4a9f2 100644 --- a/CRM/Mailing/BAO/Query.php +++ b/CRM/Mailing/BAO/Query.php @@ -56,7 +56,6 @@ class CRM_Mailing_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { // if Mailing mode add mailing id @@ -377,7 +376,6 @@ class CRM_Mailing_BAO_Query { /** * Add all the elements shared between Mailing search and advnaced search * - * @access public * * @param CRM_Core_Form $form * @return void diff --git a/CRM/Mailing/BAO/Spool.php b/CRM/Mailing/BAO/Spool.php index c37f60a630..c965368206 100644 --- a/CRM/Mailing/BAO/Spool.php +++ b/CRM/Mailing/BAO/Spool.php @@ -61,7 +61,6 @@ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool { * @return mixed Returns true on success, or a CRM_Eore_Error * containing a descriptive error message on * failure. - * @access public */ public function send($recipient, $headers, $body, $job_id = null) { $headerStr = array(); diff --git a/CRM/Mailing/Event/BAO/Bounce.php b/CRM/Mailing/Event/BAO/Bounce.php index 2db914b91a..9121015f3a 100755 --- a/CRM/Mailing/Event/BAO/Bounce.php +++ b/CRM/Mailing/Event/BAO/Bounce.php @@ -126,7 +126,6 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce { * @param boolean $is_distinct Group by queue ID? * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL, $is_distinct = FALSE, $toDate = NULL) { @@ -181,7 +180,6 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce { * @param array $sort sort array * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Event/BAO/Confirm.php b/CRM/Mailing/Event/BAO/Confirm.php index 86d311208e..2b41cd280b 100644 --- a/CRM/Mailing/Event/BAO/Confirm.php +++ b/CRM/Mailing/Event/BAO/Confirm.php @@ -55,7 +55,6 @@ class CRM_Mailing_Event_BAO_Confirm extends CRM_Mailing_Event_DAO_Confirm { * @param string $hash The hash * * @return boolean True on success - * @access public * @static */ public static function confirm($contact_id, $subscribe_id, $hash) { diff --git a/CRM/Mailing/Event/BAO/Delivered.php b/CRM/Mailing/Event/BAO/Delivered.php index 8d205e3f94..662cf57bc1 100755 --- a/CRM/Mailing/Event/BAO/Delivered.php +++ b/CRM/Mailing/Event/BAO/Delivered.php @@ -47,7 +47,6 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered { * @param array $params Associative array of delivery event values * * @return void - * @access public * @static */ public static function &create(&$params) { @@ -89,7 +88,6 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered { * @param boolean $is_distinct Group by queue ID? * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL, $is_distinct = FALSE, $toDate = NULL) { @@ -149,7 +147,6 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered { * @param array $sort sort array * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Event/BAO/Forward.php b/CRM/Mailing/Event/BAO/Forward.php index 26d272e4b3..aad87fd436 100644 --- a/CRM/Mailing/Event/BAO/Forward.php +++ b/CRM/Mailing/Event/BAO/Forward.php @@ -221,7 +221,6 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward { * @param boolean $is_distinct Group by queue ID? * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL, @@ -275,7 +274,6 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward { * @param array $sort sort array * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Event/BAO/Opened.php b/CRM/Mailing/Event/BAO/Opened.php index 778d3d9382..12a00a8592 100755 --- a/CRM/Mailing/Event/BAO/Opened.php +++ b/CRM/Mailing/Event/BAO/Opened.php @@ -47,7 +47,6 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { * @param int $queue_id The Queue Event ID of the recipient * * @return void - * @access public * @static */ public static function open($queue_id) { @@ -76,7 +75,6 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { * @param boolean $is_distinct Group by queue ID? * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, @@ -132,7 +130,6 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { * @param $mailingIDs * * @return array Opened count per mailing ID - * @access public * @static */ public static function getMailingTotalCount($mailingIDs) { @@ -171,7 +168,6 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { * @param int $contactID ID of the contact * * @return array Count per mailing ID - * @access public * @static */ public static function getMailingContactCount($mailingIDs, $contactID) { @@ -218,7 +214,6 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { * @param int $contact_id * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Event/BAO/Queue.php b/CRM/Mailing/Event/BAO/Queue.php index 72aa91e85e..51f8aed829 100644 --- a/CRM/Mailing/Event/BAO/Queue.php +++ b/CRM/Mailing/Event/BAO/Queue.php @@ -47,7 +47,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param array $params values of the new EventQueue * * @return CRM_Mailing_Event_BAO_Queue The new EventQueue - * @access public * @static */ public static function create($params) { @@ -66,7 +65,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param array The ids to be hashed * * @return int The hash - * @access public * @static */ public static function hash($params) { @@ -87,7 +85,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param string $hash The hash to validate against * * @return object|null The queue event if verified, or null - * @access public * @static */ public static function &verify($job_id, $queue_id, $hash) { @@ -110,7 +107,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param int $queue_id The queue event ID * * @return string The email address - * @access public * @static */ public static function getEmailAddress($queue_id) { @@ -138,7 +134,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param int $job_id Optional ID of a job to limit results * * @return int Number of matching events - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL) { @@ -175,7 +170,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param array $sort sort array * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, $offset = NULL, @@ -251,7 +245,6 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { * @param * * @return object Mailing BAO - * @access public */ public function &getMailing() { $mailing = new CRM_Mailing_BAO_Mailing(); diff --git a/CRM/Mailing/Event/BAO/Reply.php b/CRM/Mailing/Event/BAO/Reply.php index f8d70f7b3b..0ddae7a4fa 100644 --- a/CRM/Mailing/Event/BAO/Reply.php +++ b/CRM/Mailing/Event/BAO/Reply.php @@ -60,7 +60,6 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { * @param null $replyto * * @return object|null The mailing object, or null on failure - * @access public * @static */ public static function &reply($job_id, $queue_id, $hash, $replyto = NULL) { @@ -111,7 +110,6 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { * @param string $fullEmail whole email to forward in one string * * @return void - * @access public * @static */ public static function send($queue_id, &$mailing, &$bodyTxt, $replyto, &$bodyHTML = NULL, &$fullEmail = NULL) { @@ -212,7 +210,6 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { * @param string $replyto Optional reply-to from the reply * * @return void - * @access private * @static */ private static function autoRespond(&$mailing, $queue_id, $replyto) { @@ -302,7 +299,6 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { * @param boolean $is_distinct Group by queue ID? * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL, @@ -356,7 +352,6 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { * @param array $sort sort array * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Event/BAO/Resubscribe.php b/CRM/Mailing/Event/BAO/Resubscribe.php index c37a2899b4..f493f698da 100644 --- a/CRM/Mailing/Event/BAO/Resubscribe.php +++ b/CRM/Mailing/Event/BAO/Resubscribe.php @@ -48,7 +48,6 @@ class CRM_Mailing_Event_BAO_Resubscribe { * @param string $hash The hash * * @return array|null $groups Array of all groups to which the contact was added, or null if the queue event could not be found. - * @access public * @static */ public static function &resub_to_mailing($job_id, $queue_id, $hash) { @@ -194,7 +193,6 @@ class CRM_Mailing_Event_BAO_Resubscribe { * @param int $job The job ID * * @return void - * @access public * @static */ public static function send_resub_response($queue_id, $groups, $is_domain = FALSE, $job) { diff --git a/CRM/Mailing/Event/BAO/Subscribe.php b/CRM/Mailing/Event/BAO/Subscribe.php index be8cfbdaec..dee6c8bb20 100644 --- a/CRM/Mailing/Event/BAO/Subscribe.php +++ b/CRM/Mailing/Event/BAO/Subscribe.php @@ -60,7 +60,6 @@ class CRM_Mailing_Event_BAO_Subscribe extends CRM_Mailing_Event_DAO_Subscribe { * @param string $context * * @return int|null $se_id The id of the subscription event, null on failure - * @access public * @static */ public static function &subscribe($group_id, $email, $contactId = NULL, $context = NULL) { @@ -181,7 +180,6 @@ SELECT civicrm_email.id as email_id * @param string $hash Hash to verify * * @return object|null The subscribe event object, or null on failure - * @access public * @static */ public static function &verify($contact_id, $subscribe_id, $hash) { @@ -202,7 +200,6 @@ SELECT civicrm_email.id as email_id * @param string $email The email address * * @return void - * @access public */ public function send_confirm_request($email) { $config = CRM_Core_Config::singleton(); @@ -302,7 +299,6 @@ SELECT civicrm_email.id as email_id * @param int $subscribe_id ID of the subscribe event * * @return object $domain The domain owning the event - * @access public * @static */ public static function &getDomain($subscribe_id) { @@ -316,7 +312,6 @@ SELECT civicrm_email.id as email_id * @param int $contactID contactID if we want an exact match * * @return array $groups array of group ids - * @access public */ public static function getContactGroups($email, $contactID = NULL) { if ($contactID) { @@ -370,7 +365,6 @@ SELECT civicrm_email.id as email_id * * @return void * @static - * @access public */ public static function commonSubscribe(&$groups, &$params, $contactId = NULL, $context = NULL) { $contactGroups = CRM_Mailing_Event_BAO_Subscribe::getContactGroups($params['email'], $contactId); diff --git a/CRM/Mailing/Event/BAO/TrackableURLOpen.php b/CRM/Mailing/Event/BAO/TrackableURLOpen.php index 7f0467e412..d09de00252 100755 --- a/CRM/Mailing/Event/BAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/BAO/TrackableURLOpen.php @@ -49,7 +49,6 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track * @param int $url_id The ID of the trackable URL * * @return string $url The redirection url, or base url on failure. - * @access public * @static */ public static function track($queue_id, $url_id) { @@ -104,7 +103,6 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track * @param int $url_id Optional ID of a url to filter on * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL, @@ -162,7 +160,6 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track * @param $mailingIDs * * @return array trackable url count per mailing ID - * @access public * @static */ public static function getMailingTotalCount($mailingIDs) { @@ -201,7 +198,6 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track * @param int $contactID ID of the contact * * @return array Count per mailing ID - * @access public * @static */ public static function getMailingContactCount($mailingIDs, $contactID) { @@ -248,7 +244,6 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track * @param int $contact_id optional contact ID * * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Event/BAO/Unsubscribe.php b/CRM/Mailing/Event/BAO/Unsubscribe.php index edf2a12c23..78a46dbb66 100755 --- a/CRM/Mailing/Event/BAO/Unsubscribe.php +++ b/CRM/Mailing/Event/BAO/Unsubscribe.php @@ -55,7 +55,6 @@ class CRM_Mailing_Event_BAO_Unsubscribe extends CRM_Mailing_Event_DAO_Unsubscrib * @param string $hash The hash * * @return boolean Was the contact successfully unsubscribed? - * @access public * @static */ public static function unsub_from_domain($job_id, $queue_id, $hash) { @@ -119,7 +118,6 @@ WHERE email = %2 * @param boolean $return If true return the list of groups. * * @return array|null $groups Array of all groups from which the contact was removed, or null if the queue event could not be found. - * @access public * @static */ public static function &unsub_from_mailing($job_id, $queue_id, $hash, $return = FALSE) { @@ -292,7 +290,6 @@ WHERE email = %2 * @param int $job The job ID * * @return void - * @access public * @static */ public static function send_unsub_response($queue_id, $groups, $is_domain = FALSE, $job) { @@ -414,7 +411,6 @@ WHERE email = %2 * @param null $org_unsubscribe * * @return int Number of rows in result set - * @access public * @static */ public static function getTotalCount($mailing_id, $job_id = NULL, @@ -480,7 +476,6 @@ WHERE email = %2 * * @param null $org_unsubscribe * @return array Result set - * @access public * @static */ public static function &getRows($mailing_id, $job_id = NULL, diff --git a/CRM/Mailing/Form/Approve.php b/CRM/Mailing/Form/Approve.php index 3290cb0aa4..eb56a2ecec 100644 --- a/CRM/Mailing/Form/Approve.php +++ b/CRM/Mailing/Form/Approve.php @@ -47,7 +47,6 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { if (CRM_Mailing_Info::workflowEnabled()) { @@ -84,7 +83,6 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -104,7 +102,6 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form { * @param * * @return void - * @access public */ public function buildQuickform() { $title = ts('Approve/Reject Mailing') . " - {$this->_mailing->name}"; @@ -165,7 +162,6 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form { * @param * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -252,7 +248,6 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form { /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/Mailing/Form/Browse.php b/CRM/Mailing/Form/Browse.php index 2ef3dd9942..9a65b57fbd 100644 --- a/CRM/Mailing/Form/Browse.php +++ b/CRM/Mailing/Form/Browse.php @@ -40,7 +40,6 @@ * @param * * @return void - * @access public */ class CRM_Mailing_Form_Browse extends CRM_Core_Form { @@ -49,7 +48,6 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -74,7 +72,6 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -93,7 +90,6 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form { } /** - * @access public * * @return void */ diff --git a/CRM/Mailing/Form/Component.php b/CRM/Mailing/Form/Component.php index b1a03d9f9f..8b05ec1d4a 100644 --- a/CRM/Mailing/Form/Component.php +++ b/CRM/Mailing/Form/Component.php @@ -62,7 +62,6 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->applyFilter('__ALL__', 'trim'); @@ -108,7 +107,6 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -129,7 +127,6 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ @@ -158,7 +155,6 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form { * @param $options * * @return mixed true or array of errors - * @access public * @static */ public static function dataRule($params, $files, $options) { diff --git a/CRM/Mailing/Form/ForwardMailing.php b/CRM/Mailing/Form/ForwardMailing.php index 9e77e0eec0..2f84d4ed05 100644 --- a/CRM/Mailing/Form/ForwardMailing.php +++ b/CRM/Mailing/Form/ForwardMailing.php @@ -74,7 +74,6 @@ class CRM_Mailing_Form_ForwardMailing extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { for ($i = 0; $i < 5; $i++) { @@ -105,7 +104,6 @@ class CRM_Mailing_Form_ForwardMailing extends CRM_Core_Form { /** * Form submission of new/edit contact is processed. * - * @access public * * @return void */ diff --git a/CRM/Mailing/Form/Group.php b/CRM/Mailing/Form/Group.php index f7e1f475f4..cc5f7c3f26 100644 --- a/CRM/Mailing/Form/Group.php +++ b/CRM/Mailing/Form/Group.php @@ -50,7 +50,6 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { if (CRM_Core_BAO_MailSettings::defaultDomain() == "EXAMPLE.ORG") { @@ -92,7 +91,6 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -185,7 +183,6 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -532,7 +529,6 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { /** * Display Name of the form * - * @access public * * @return string */ @@ -547,7 +543,6 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $errors = array(); diff --git a/CRM/Mailing/Form/Schedule.php b/CRM/Mailing/Form/Schedule.php index 84f4e3371a..f3a61853eb 100644 --- a/CRM/Mailing/Form/Schedule.php +++ b/CRM/Mailing/Form/Schedule.php @@ -42,7 +42,6 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { if (CRM_Mailing_Info::workflowEnabled() && @@ -71,7 +70,6 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -94,7 +92,6 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form { * @param * * @return void - * @access public */ public function buildQuickform() { $this->addDateTime('start_date', ts('Schedule Mailing'), FALSE, array('formatType' => 'mailing')); @@ -261,7 +258,6 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form { * @param * * @return void - * @access public */ public function postProcess() { $params = array(); @@ -349,7 +345,6 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form { /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/Mailing/Form/Settings.php b/CRM/Mailing/Form/Settings.php index dcf9e8f969..9d7879290c 100644 --- a/CRM/Mailing/Form/Settings.php +++ b/CRM/Mailing/Form/Settings.php @@ -42,7 +42,6 @@ class CRM_Mailing_Form_Settings extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //when user come from search context. @@ -60,7 +59,6 @@ class CRM_Mailing_Form_Settings extends CRM_Core_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -104,7 +102,6 @@ class CRM_Mailing_Form_Settings extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -253,7 +250,6 @@ class CRM_Mailing_Form_Settings extends CRM_Core_Form { /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/Mailing/Form/Subscribe.php b/CRM/Mailing/Form/Subscribe.php index 59b8af619f..ba3e72fac4 100644 --- a/CRM/Mailing/Form/Subscribe.php +++ b/CRM/Mailing/Form/Subscribe.php @@ -81,7 +81,6 @@ SELECT title, description * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // add the email address @@ -188,7 +187,6 @@ ORDER BY title"; } /** - * @access public * * @return void */ diff --git a/CRM/Mailing/Form/Task.php b/CRM/Mailing/Form/Task.php index f886771ec7..0cbcb89898 100644 --- a/CRM/Mailing/Form/Task.php +++ b/CRM/Mailing/Form/Task.php @@ -66,7 +66,6 @@ class CRM_Mailing_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -144,7 +143,6 @@ class CRM_Mailing_Form_Task extends CRM_Core_Form { * * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Mailing/Form/Task/Print.php b/CRM/Mailing/Form/Task/Print.php index acb61a246e..6cac695c9b 100644 --- a/CRM/Mailing/Form/Task/Print.php +++ b/CRM/Mailing/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Mailing_Form_Task_Print extends CRM_Mailing_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -71,7 +70,6 @@ class CRM_Mailing_Form_Task_Print extends CRM_Mailing_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Mailing_Form_Task_Print extends CRM_Mailing_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Mailing/Form/Test.php b/CRM/Mailing/Form/Test.php index c45c3b9b3b..36065ab892 100644 --- a/CRM/Mailing/Form/Test.php +++ b/CRM/Mailing/Form/Test.php @@ -42,7 +42,6 @@ class CRM_Mailing_Form_Test extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { //when user come from search context. @@ -59,7 +58,6 @@ class CRM_Mailing_Form_Test extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -177,7 +175,6 @@ class CRM_Mailing_Form_Test extends CRM_Core_Form { * @param array $self an current this object * * @return boolean true on successful SMTP handoff - * @access public */ public static function testMail($testParams, $files, $self) { $error = NULL; @@ -374,7 +371,6 @@ ORDER BY e.is_bulkmail DESC, e.is_primary DESC /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/Mailing/Form/Upload.php b/CRM/Mailing/Form/Upload.php index 9556e018c4..7c428f0145 100644 --- a/CRM/Mailing/Form/Upload.php +++ b/CRM/Mailing/Form/Upload.php @@ -60,7 +60,6 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -204,7 +203,6 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $session = CRM_Core_Session::singleton(); @@ -509,7 +507,6 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form { * @param $self * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $self) { @@ -678,7 +675,6 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form { /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/Mailing/Page/Browse.php b/CRM/Mailing/Page/Browse.php index 296b861870..38067f6c2e 100644 --- a/CRM/Mailing/Page/Browse.php +++ b/CRM/Mailing/Page/Browse.php @@ -45,7 +45,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * All the fields that are listings related * * @var array - * @access protected */ protected $_fields; @@ -53,7 +52,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * The mailing id of the mailing we're operating on * * @int - * @access protected */ protected $_mailingId; @@ -61,7 +59,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * The action that we are performing (in CRM_Core_Action terms) * * @int - * @access protected */ protected $_action; @@ -74,7 +71,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * Scheduled mailing * * @boolean - * @access public */ public $_scheduled; @@ -85,7 +81,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { diff --git a/CRM/Mailing/Page/Event.php b/CRM/Mailing/Page/Event.php index 365314eb9a..6dc734f8e7 100644 --- a/CRM/Mailing/Page/Event.php +++ b/CRM/Mailing/Page/Event.php @@ -45,7 +45,6 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page { * All the fields that are listings related * * @var array - * @access protected */ protected $_fields; diff --git a/CRM/Mailing/Page/Tab.php b/CRM/Mailing/Page/Tab.php index ab13d3c9b6..c51d7fe4c6 100644 --- a/CRM/Mailing/Page/Tab.php +++ b/CRM/Mailing/Page/Tab.php @@ -52,7 +52,6 @@ class CRM_Mailing_Page_Tab extends CRM_Contact_Page_View { * This function is called when action is browse * * return null - * @access public */ public function browse() { } @@ -61,7 +60,6 @@ class CRM_Mailing_Page_Tab extends CRM_Contact_Page_View { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse'); @@ -85,7 +83,6 @@ class CRM_Mailing_Page_Tab extends CRM_Contact_Page_View { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Mailing/PseudoConstant.php b/CRM/Mailing/PseudoConstant.php index d4ffa68d3d..73c5396813 100644 --- a/CRM/Mailing/PseudoConstant.php +++ b/CRM/Mailing/PseudoConstant.php @@ -69,7 +69,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * Get all the mailing components of a particular type * * @param $type the type of component needed - * @access public * * @return array - array reference of all mailing components * @static @@ -110,7 +109,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * * @param $type the type of component needed * @param $undefined the value to use if no default is defined - * @access public * * @return integer -The ID of the default mailing component. * @static @@ -137,7 +135,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the mailing templates * - * @access public * * @return array - array reference of all mailing templates if any * @static @@ -152,7 +149,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the completed mailing * - * @access public * * @param null $mode * @@ -210,7 +206,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * next time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed diff --git a/CRM/Mailing/Selector/Browse.php b/CRM/Mailing/Selector/Browse.php index 0a7f46b30c..2e5600906c 100644 --- a/CRM/Mailing/Selector/Browse.php +++ b/CRM/Mailing/Selector/Browse.php @@ -70,7 +70,6 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ * This method returns the links that are given for each search row. * * @return array - * @access public * */ public static function &links() { @@ -83,7 +82,6 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['csvString'] = NULL; @@ -101,7 +99,6 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { $mailing = CRM_Mailing_BAO_Mailing::getTableName(); @@ -186,7 +183,6 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { $job = CRM_Mailing_BAO_MailingJob::getTableName(); diff --git a/CRM/Mailing/Selector/Event.php b/CRM/Mailing/Selector/Event.php index 15d525febd..65c2cf981f 100644 --- a/CRM/Mailing/Selector/Event.php +++ b/CRM/Mailing/Selector/Event.php @@ -105,7 +105,6 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C * This method returns the links that are given for each search row. * * @return array - * @access public * @static */ public static function &links() { @@ -118,7 +117,6 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['csvString'] = NULL; @@ -136,7 +134,6 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { $mailing = CRM_Mailing_BAO_Mailing::getTableName(); @@ -254,7 +251,6 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { switch ($this->_event_type) { diff --git a/CRM/Mailing/Selector/Search.php b/CRM/Mailing/Selector/Search.php index 2e514ccfca..e6d1d05629 100644 --- a/CRM/Mailing/Selector/Search.php +++ b/CRM/Mailing/Selector/Search.php @@ -78,7 +78,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -86,7 +85,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -94,7 +92,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -102,7 +99,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ /** * What component context are we being invoked from * - * @access protected * @var string */ protected $_compContext = NULL; @@ -112,7 +108,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -120,7 +115,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -192,7 +186,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * - Edit * * @return array - * @access public * */ public static function &links() { @@ -231,7 +224,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Mailing Recipient') . ' %%StatusMessage%%'; @@ -253,7 +245,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -329,7 +320,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ /** * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -346,7 +336,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Mailing/Task.php b/CRM/Mailing/Task.php index f79d94e628..1c60880a26 100644 --- a/CRM/Mailing/Task.php +++ b/CRM/Mailing/Task.php @@ -61,7 +61,6 @@ class CRM_Mailing_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -86,7 +85,6 @@ class CRM_Mailing_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { return array(); @@ -99,7 +97,6 @@ class CRM_Mailing_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $task = array(); @@ -114,7 +111,6 @@ class CRM_Mailing_Task { * * @return array the set of tasks for a group of mailing recipients * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index 5c2df4099a..5b6d2fefb7 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -49,7 +49,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { /** * Class constructor * - * @access public * @return \CRM_Member_DAO_Membership */ /** @@ -70,7 +69,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { * @param array $ids the array that holds all the db ids * * @return CRM_Member_BAO_Membership object - * @access public * @static */ public static function add(&$params, $ids = array()) { @@ -192,7 +190,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { * be returned * * @return CRM_Member_BAO_Membership|null the found object or null - * @access public * @static */ public static function &getValues(&$params, &$values, $active = FALSE) { @@ -232,7 +229,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { * @throws CRM_Core_Exception * * @return CRM_Member_BAO_Membership object - * @access public * @static */ public static function create(&$params, &$ids, $skipRedirect = FALSE, $activityType = 'Membership Signup') { @@ -504,7 +500,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { * in a hierarchical manner * * @return CRM_Member_BAO_Membership object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -540,7 +535,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { * @param int $membershipId membership id of values to return * * @return array of key value pairs - * @access public */ public static function getStatusANDTypeValues($membershipId) { $values = array(); @@ -579,7 +573,6 @@ INNER JOIN civicrm_membership_type type ON ( type.id = membership.membership_ty * @static * * @return $results no of deleted Membership on success, false otherwise - * @access public */ public static function del($membershipId) { //delete related first and then delete parent. @@ -595,7 +588,6 @@ INNER JOIN civicrm_membership_type type ON ( type.id = membership.membership_ty * @static * * @return $results no of deleted Membership on success, false otherwise - * @access public */ public static function deleteMembership($membershipId) { // CRM-12147, retrieve membership data before we delete it for hooks @@ -688,7 +680,6 @@ INNER JOIN civicrm_membership_type type ON ( type.id = membership.membership_ty * * @return array $actives array of memberships based on status * @static - * @access public */ public static function activeMembers($memberships, $status = 'active') { $actives = array(); @@ -1051,7 +1042,6 @@ INNER JOIN civicrm_membership_type type ON ( type.id = membership.membership_ty * @param boolean $status * * @return array array of importable Fields - * @access public * @static */ public static function &importableFields($contactType = 'Individual', $status = TRUE) { @@ -1269,7 +1259,6 @@ AND civicrm_membership.is_test = %2"; * @throws CRM_Core_Exception * * @return void - * @access public */ public static function postProcessMembership($membershipParams, $contactID, &$form, $premiumParams, $customFieldsFormatted = NULL, $includeFieldTypes = NULL, $membershipDetails, $membershipTypeIDs, $isPaidMembership, $membershipID, @@ -1431,7 +1420,6 @@ AND civicrm_membership.is_test = %2"; * * @return void * @static - * @access public */ static public function updateRecurMembership(CRM_Member_DAO_Membership $membership, CRM_Contribute_BAO_Contribution $contribution) { @@ -1475,7 +1463,6 @@ AND civicrm_membership.is_test = %2"; * @throws CRM_Core_Exception * * @static - * @access public */ static function renewMembershipFormWrapper( $contactID, @@ -1615,7 +1602,6 @@ AND civicrm_membership.is_test = %2"; * @param int membershipId membership id * * @return int $contributionPageId contribution page id - * @access public * @static */ public static function getContributionPageId($membershipID) { @@ -1664,7 +1650,6 @@ SELECT c.contribution_page_id as pageID * * @return array the list of membership fields * @static - * @access public */ public static function getMembershipFields($mode = NULL) { $fields = CRM_Member_DAO_Membership::export(); @@ -1688,7 +1673,6 @@ SELECT c.contribution_page_id as pageID * * @return null|string sort name of the contact if found * @static - * @access public */ public static function sortName($id) { $id = CRM_Utils_Type::escape($id, 'Integer'); @@ -1711,7 +1695,6 @@ WHERE civicrm_membership.contact_id = civicrm_contact.id * * @return null|array array of memberships if created * @static - * @access public */ public static function createRelatedMemberships(&$params, &$dao, $reset = FALSE) { static $relatedContactIds = array(); @@ -1876,7 +1859,6 @@ WHERE civicrm_membership.contact_id = civicrm_contact.id * @param int $membershipId membsership id. * * @return boolean true if deleted false otherwise - * @access public */ public static function deleteMembershipPayment($membershipId) { @@ -1953,7 +1935,6 @@ FROM civicrm_membership_type * @param boolean $activeOnly * * @return null|string - * @access public * @static */ public static function getContactMembershipCount($contactID, $activeOnly = FALSE) { @@ -1979,7 +1960,6 @@ FROM civicrm_membership_type * @param bool $isNotCancelled * * @return boolean - * @access public * @static */ public static function isCancelSubscriptionSupported($mid, $isNotCancelled = TRUE) { @@ -2010,7 +1990,6 @@ FROM civicrm_membership_type * @param int $mid membership id * * @return string $status contribution status - * @access public * @static */ public static function isSubscriptionCancelled($mid) { @@ -2574,7 +2553,6 @@ INNER JOIN civicrm_contact contact ON ( contact.id = membership.contact_id AND /** * Process price set and line items. * - * @access public * * @param int $membershipId * @param $lineItem @@ -2608,7 +2586,6 @@ INNER JOIN civicrm_contact contact ON ( contact.id = membership.contact_id AND * @param int $membershipId membership id. * * @return integer contribution id - * @access public */ public static function getMembershipContributionId($membershipId) { @@ -2628,7 +2605,6 @@ INNER JOIN civicrm_contact contact ON ( contact.id = membership.contact_id AND * Sending renewal reminders has been migrated from this job to the Scheduled Reminders function as of 4.3. * * @return array $result - * @access public */ public static function updateAllMembershipStatus() { @@ -2909,7 +2885,6 @@ WHERE civicrm_membership.is_test = 0"; * @param array $membershipType array with membership type and organization * @param int $priceSetId * - * @access public * @static */ public static function createLineItems(&$qf, $membershipType, &$priceSetId) { @@ -2962,7 +2937,6 @@ WHERE civicrm_membership.is_test = 0"; * * @return array of membership type * @static - * @access public */ public static function getContactsCancelledMembership($contactID, $isTest = FALSE) { if (!$contactID) { diff --git a/CRM/Member/BAO/MembershipBlock.php b/CRM/Member/BAO/MembershipBlock.php index 3c88da7354..decc5fd520 100644 --- a/CRM/Member/BAO/MembershipBlock.php +++ b/CRM/Member/BAO/MembershipBlock.php @@ -44,7 +44,6 @@ class CRM_Member_BAO_MembershipBlock extends CRM_Member_DAO_MembershipBlock { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object diff --git a/CRM/Member/BAO/MembershipLog.php b/CRM/Member/BAO/MembershipLog.php index 193f7b1012..f7acc9acfd 100644 --- a/CRM/Member/BAO/MembershipLog.php +++ b/CRM/Member/BAO/MembershipLog.php @@ -40,7 +40,6 @@ class CRM_Member_BAO_MembershipLog extends CRM_Member_DAO_MembershipLog { * @param array $params reference array contains the values submitted by the form * @param array $ids reference array contains the id * - * @access public * @static * * @return object diff --git a/CRM/Member/BAO/MembershipPayment.php b/CRM/Member/BAO/MembershipPayment.php index f4b6128120..0857015cf6 100644 --- a/CRM/Member/BAO/MembershipPayment.php +++ b/CRM/Member/BAO/MembershipPayment.php @@ -46,7 +46,6 @@ class CRM_Member_BAO_MembershipPayment extends CRM_Member_DAO_MembershipPayment * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object diff --git a/CRM/Member/BAO/MembershipStatus.php b/CRM/Member/BAO/MembershipStatus.php index c2e197e95c..14f05fb8ce 100644 --- a/CRM/Member/BAO/MembershipStatus.php +++ b/CRM/Member/BAO/MembershipStatus.php @@ -53,7 +53,6 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Member_BAO_MembershipStatus object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -87,7 +86,6 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus { * * @throws Exception * @return CRM_Member_BAO_MembershipStatus object - * @access public * @static */ public static function create($params){ @@ -112,7 +110,6 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus { * @param array $params reference array contains the values submitted by the form * @param array $ids array contains the id - this param is deprecated * - * @access public * @static * * @return object diff --git a/CRM/Member/BAO/MembershipType.php b/CRM/Member/BAO/MembershipType.php index ad18cc6e62..c588a6fc9f 100644 --- a/CRM/Member/BAO/MembershipType.php +++ b/CRM/Member/BAO/MembershipType.php @@ -55,7 +55,6 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Member_BAO_MembershipType object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -87,7 +86,6 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType { * @param array $params reference array contains the values submitted by the form * @param array $ids array contains the id (deprecated) * - * @access public * @static * * @return object @@ -635,7 +633,6 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType { * @return array arrays of organization and membership types * * @static - * @access public */ public static function getMembershipTypeInfo() { if (!self::$_membershipTypeInfo) { diff --git a/CRM/Member/BAO/Query.php b/CRM/Member/BAO/Query.php index 9464d3bcc1..94d6b12728 100644 --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@ -48,7 +48,6 @@ class CRM_Member_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { // if membership mode add membership id diff --git a/CRM/Member/Form.php b/CRM/Member/Form.php index 96bcd51e2b..6d393dc17f 100644 --- a/CRM/Member/Form.php +++ b/CRM/Member/Form.php @@ -84,7 +84,6 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment { * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array defaults */ @@ -121,7 +120,6 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_mode) { diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 719be20e04..b8c39e00d7 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -210,7 +210,6 @@ class CRM_Member_Form_Membership extends CRM_Member_Form { * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -365,7 +364,6 @@ class CRM_Member_Form_Membership extends CRM_Member_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType) { @@ -748,7 +746,6 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; * * @throws CiviCRM_API3_Exception * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $self) { @@ -982,7 +979,6 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Member/Form/MembershipBlock.php b/CRM/Member/Form/MembershipBlock.php index 73a5e8ccb8..24ae0daab9 100644 --- a/CRM/Member/Form/MembershipBlock.php +++ b/CRM/Member/Form/MembershipBlock.php @@ -47,7 +47,6 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -109,7 +108,6 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $membershipTypes = CRM_Member_BAO_MembershipType::getMembershipTypes(); @@ -220,7 +218,6 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa * @param int $contributionPageId * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $contributionPageId = NULL) { @@ -322,7 +319,6 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa * Process the form * * @return void - * @access public */ public function postProcess() { // get the submitted form values. @@ -488,7 +484,6 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Memberships'); diff --git a/CRM/Member/Form/MembershipConfig.php b/CRM/Member/Form/MembershipConfig.php index a81ffe783b..c885bb641e 100644 --- a/CRM/Member/Form/MembershipConfig.php +++ b/CRM/Member/Form/MembershipConfig.php @@ -62,7 +62,6 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form { * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return array defaults */ @@ -101,7 +100,6 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::RENEW) { diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index 2d94f4027c..3b0592399b 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -137,7 +137,6 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -247,7 +246,6 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType) { @@ -457,7 +455,6 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; * @param array $params (ref.) an assoc array of name/value pairs * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params) { @@ -488,7 +485,6 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; /** * Process the renewal form * - * @access public * * @return void */ diff --git a/CRM/Member/Form/MembershipStatus.php b/CRM/Member/Form/MembershipStatus.php index 9957cd70f5..d658acaf26 100644 --- a/CRM/Member/Form/MembershipStatus.php +++ b/CRM/Member/Form/MembershipStatus.php @@ -43,7 +43,6 @@ class CRM_Member_Form_MembershipStatus extends CRM_Member_Form_MembershipConfig * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -61,7 +60,6 @@ class CRM_Member_Form_MembershipStatus extends CRM_Member_Form_MembershipConfig * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -109,7 +107,6 @@ class CRM_Member_Form_MembershipStatus extends CRM_Member_Form_MembershipConfig /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Member/Form/MembershipType.php b/CRM/Member/Form/MembershipType.php index ff6dc33d8b..c14a2575aa 100644 --- a/CRM/Member/Form/MembershipType.php +++ b/CRM/Member/Form/MembershipType.php @@ -61,7 +61,6 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig { * Set default values for the form. MobileProvider that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -111,7 +110,6 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -217,7 +215,6 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig { * @param array $params (ref.) an assoc array of name/value pairs * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params) { @@ -291,7 +288,6 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Member/Form/MembershipView.php b/CRM/Member/Form/MembershipView.php index a613ee913a..1f9e79de52 100644 --- a/CRM/Member/Form/MembershipView.php +++ b/CRM/Member/Form/MembershipView.php @@ -142,7 +142,6 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { @@ -393,7 +392,6 @@ SELECT r.id, c.id as cid, c.display_name as name, c.job_title as comment, * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Member/Form/Search.php b/CRM/Member/Form/Search.php index 0a04bc8a7f..c7f3ecbcc4 100644 --- a/CRM/Member/Form/Search.php +++ b/CRM/Member/Form/Search.php @@ -46,14 +46,12 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -61,7 +59,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -78,7 +75,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { $this->set('searchFormName', 'Search'); @@ -160,7 +156,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -198,7 +193,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -370,7 +364,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Memberships'); diff --git a/CRM/Member/Form/Task.php b/CRM/Member/Form/Task.php index 17dbbaec05..319d1251bf 100644 --- a/CRM/Member/Form/Task.php +++ b/CRM/Member/Form/Task.php @@ -80,7 +80,6 @@ class CRM_Member_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -172,7 +171,6 @@ class CRM_Member_Form_Task extends CRM_Core_Form { * @param bool $submitOnce * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Member/Form/Task/Batch.php b/CRM/Member/Form/Task/Batch.php index f436b0e22e..1f10498e8f 100644 --- a/CRM/Member/Form/Task/Batch.php +++ b/CRM/Member/Form/Task/Batch.php @@ -61,7 +61,6 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { /* @@ -88,7 +87,6 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -192,7 +190,6 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task { /** * Set default values for the form. * - * @access public * * @return void */ @@ -213,7 +210,6 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/Delete.php b/CRM/Member/Form/Task/Delete.php index 5b5a1a3e97..8a94c7cca3 100644 --- a/CRM/Member/Form/Task/Delete.php +++ b/CRM/Member/Form/Task/Delete.php @@ -52,7 +52,6 @@ class CRM_Member_Form_Task_Delete extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { //check for delete @@ -65,7 +64,6 @@ class CRM_Member_Form_Task_Delete extends CRM_Member_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -76,7 +74,6 @@ class CRM_Member_Form_Task_Delete extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/Email.php b/CRM/Member/Form/Task/Email.php index 555fe89bcf..02703461be 100644 --- a/CRM/Member/Form/Task/Email.php +++ b/CRM/Member/Form/Task/Email.php @@ -66,7 +66,6 @@ class CRM_Member_Form_Task_Email extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); @@ -81,7 +80,6 @@ class CRM_Member_Form_Task_Email extends CRM_Member_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -95,7 +93,6 @@ class CRM_Member_Form_Task_Email extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/Label.php b/CRM/Member/Form/Task/Label.php index 4a302baada..355f340074 100644 --- a/CRM/Member/Form/Task/Label.php +++ b/CRM/Member/Form/Task/Label.php @@ -43,7 +43,6 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -54,7 +53,6 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -69,7 +67,6 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -84,7 +81,6 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/PDFLetter.php b/CRM/Member/Form/Task/PDFLetter.php index 02ece46e74..dfcd91bd80 100644 --- a/CRM/Member/Form/Task/PDFLetter.php +++ b/CRM/Member/Form/Task/PDFLetter.php @@ -54,7 +54,6 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { $this->skipOnHold = $this->skipDeceased = FALSE; @@ -75,7 +74,6 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -88,7 +86,6 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/PDFLetterCommon.php b/CRM/Member/Form/Task/PDFLetterCommon.php index af0887ac13..5a638affb7 100644 --- a/CRM/Member/Form/Task/PDFLetterCommon.php +++ b/CRM/Member/Form/Task/PDFLetterCommon.php @@ -10,7 +10,6 @@ class CRM_Member_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDFLett * Process the form after the input has been submitted and validated * @todo this is horrible copy & paste code because there is so much risk of breakage * in fixing the existing pdfLetter classes to be suitably generic - * @access public * * @param CRM_Core_Form $form * @param $membershipIDs diff --git a/CRM/Member/Form/Task/PickProfile.php b/CRM/Member/Form/Task/PickProfile.php index 89abc97cc7..f569960327 100644 --- a/CRM/Member/Form/Task/PickProfile.php +++ b/CRM/Member/Form/Task/PickProfile.php @@ -61,7 +61,6 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { // initialize the task and row fields @@ -87,7 +86,6 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -110,7 +108,6 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task { /** * Add local and global form rules * - * @access protected * * @return void */ @@ -125,7 +122,6 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { return TRUE; @@ -134,7 +130,6 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/Print.php b/CRM/Member/Form/Task/Print.php index dbf079b09f..06817b0275 100644 --- a/CRM/Member/Form/Task/Print.php +++ b/CRM/Member/Form/Task/Print.php @@ -42,7 +42,6 @@ class CRM_Member_Form_Task_Print extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -71,7 +70,6 @@ class CRM_Member_Form_Task_Print extends CRM_Member_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -97,7 +95,6 @@ class CRM_Member_Form_Task_Print extends CRM_Member_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Member/Form/Task/Result.php b/CRM/Member/Form/Task/Result.php index ceb03723ad..2ca95ff62b 100644 --- a/CRM/Member/Form/Task/Result.php +++ b/CRM/Member/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Member_Form_Task_Result extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() {} @@ -52,7 +51,6 @@ class CRM_Member_Form_Task_Result extends CRM_Member_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Member/Form/Task/SearchTaskHookSample.php b/CRM/Member/Form/Task/SearchTaskHookSample.php index 57b5375860..033bf7acc5 100644 --- a/CRM/Member/Form/Task/SearchTaskHookSample.php +++ b/CRM/Member/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Member_Form_Task_SearchTaskHookSample extends CRM_Member_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -75,7 +74,6 @@ WHERE mem.id IN ( $memberIDs )"; * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Member/Import/Field.php b/CRM/Member/Import/Field.php index 4506d30b03..bac2733be6 100644 --- a/CRM/Member/Import/Field.php +++ b/CRM/Member/Import/Field.php @@ -35,7 +35,6 @@ class CRM_Member_Import_Field { /**#@+ - * @access protected * @var string */ diff --git a/CRM/Member/Import/Form/DataSource.php b/CRM/Member/Import/Form/DataSource.php index e956b64eff..a781c3b71c 100644 --- a/CRM/Member/Import/Form/DataSource.php +++ b/CRM/Member/Import/Form/DataSource.php @@ -42,7 +42,6 @@ class CRM_Member_Import_Form_DataSource extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -55,7 +54,6 @@ class CRM_Member_Import_Form_DataSource extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //Setting Upload File Size @@ -150,7 +148,6 @@ class CRM_Member_Import_Form_DataSource extends CRM_Core_Form { * Process the uploaded file * * @return void - * @access public */ public function postProcess() { $this->controller->resetPage('MapField'); @@ -191,7 +188,6 @@ class CRM_Member_Import_Form_DataSource extends CRM_Core_Form { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Upload Data'); diff --git a/CRM/Member/Import/Form/MapField.php b/CRM/Member/Import/Form/MapField.php index 501fdb7ffc..678aa39d18 100644 --- a/CRM/Member/Import/Form/MapField.php +++ b/CRM/Member/Import/Form/MapField.php @@ -53,7 +53,6 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_mapperFields = $this->get('fields'); @@ -111,7 +110,6 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //to save the current mappings @@ -307,7 +305,6 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $errors = array(); @@ -407,7 +404,6 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $params = $this->controller->exportValues('MapField'); diff --git a/CRM/Member/Import/Form/Preview.php b/CRM/Member/Import/Form/Preview.php index a3f10d4b16..a1ed37be6a 100644 --- a/CRM/Member/Import/Form/Preview.php +++ b/CRM/Member/Import/Form/Preview.php @@ -43,7 +43,6 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader'); @@ -108,7 +107,6 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview { * preview the file and extract some summary statistics * * @return void - * @access public */ public function postProcess() { $fileName = $this->controller->exportValue('DataSource', 'uploadFile'); diff --git a/CRM/Member/Import/Form/Summary.php b/CRM/Member/Import/Form/Summary.php index fd3a00309e..332df204bd 100644 --- a/CRM/Member/Import/Form/Summary.php +++ b/CRM/Member/Import/Form/Summary.php @@ -42,7 +42,6 @@ class CRM_Member_Import_Form_Summary extends CRM_Import_Form_Summary { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { diff --git a/CRM/Member/Import/Parser.php b/CRM/Member/Import/Parser.php index 75bc41af18..3ab19ef10f 100644 --- a/CRM/Member/Import/Parser.php +++ b/CRM/Member/Import/Parser.php @@ -39,7 +39,6 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser { protected $_fileName; /**#@+ - * @access protected * @var integer */ @@ -285,7 +284,6 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser { * @param array mapped array of values * * @return void - * @access public */ public function setActiveFields($fieldKeys) { $this->_activeFieldCount = count($fieldKeys); @@ -303,7 +301,6 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser { * Format the field values for input to the api * * @return array (reference ) associative array of name/value pairs - * @access public */ public function &getActiveFieldParams() { $params = array(); @@ -353,7 +350,6 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser { * @param int $mode * * @return void - * @access public */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('fileSize', $this->_fileSize); @@ -410,7 +406,6 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser { * @param array $data * * @return void - * @access public */ public static function exportCSV($fileName, $header, $data) { $output = array(); diff --git a/CRM/Member/Import/Parser/Membership.php b/CRM/Member/Import/Parser/Membership.php index 76beb5d3a0..d8a28087eb 100644 --- a/CRM/Member/Import/Parser/Membership.php +++ b/CRM/Member/Import/Parser/Membership.php @@ -67,7 +67,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function init() { $fields = CRM_Member_BAO_Membership::importableFields($this->_contactType, FALSE); @@ -113,7 +112,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean - * @access public */ public function mapField(&$values) { return CRM_Import_Parser::VALID; @@ -125,7 +123,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function preview(&$values) { return $this->summary($values); @@ -137,7 +134,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function summary(&$values) { $erroneousField = NULL; @@ -252,7 +248,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * @param array $values the array of values belonging to this line * * @return boolean the result of this processing - * @access public */ public function import($onDuplicate, &$values) { try{ @@ -569,7 +564,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * Get the array of successfully imported membership id's * * @return array - * @access public */ public function &getImportedMemberships() { return $this->_newMemberships; @@ -579,7 +573,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * The initializer code, called before the processing * * @return void - * @access public */ public function fini() {} @@ -592,7 +585,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * * @return Array formatted containing date values * - * @access public */ public function formattedDates($calcDates, &$formatted) { $dates = array( @@ -628,7 +620,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * * @throws Exception * @return array|error - * @access public */ public function membership_format_params($params, &$values, $create = FALSE) { require_once 'api/v3/utils.php'; diff --git a/CRM/Member/Info.php b/CRM/Member/Info.php index a3113eae96..011f5c0049 100644 --- a/CRM/Member/Info.php +++ b/CRM/Member/Info.php @@ -47,7 +47,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * class. * * @return array collection of required component settings - * @access public * */ /** @@ -76,7 +75,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * @param bool $getAllUnconditionally * * @return array|null collection of permissions, null if none - * @access public */ /** * @param bool $getAllUnconditionally @@ -98,7 +96,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -122,7 +119,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -142,7 +138,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * @access public * */ /** @@ -162,7 +157,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * @access public * */ /** diff --git a/CRM/Member/Page/DashBoard.php b/CRM/Member/Page/DashBoard.php index 2a22db3c94..20b72c3f53 100644 --- a/CRM/Member/Page/DashBoard.php +++ b/CRM/Member/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -432,7 +431,6 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Member/Page/MembershipStatus.php b/CRM/Member/Page/MembershipStatus.php index 6691970d12..78fd78cb4b 100644 --- a/CRM/Member/Page/MembershipStatus.php +++ b/CRM/Member/Page/MembershipStatus.php @@ -100,7 +100,6 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -132,7 +131,6 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Member/Page/MembershipType.php b/CRM/Member/Page/MembershipType.php index 68872956a2..dba135fc76 100644 --- a/CRM/Member/Page/MembershipType.php +++ b/CRM/Member/Page/MembershipType.php @@ -91,7 +91,6 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -106,7 +105,6 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page { * * * @return void - * @access public * @static */ public function browse() { diff --git a/CRM/Member/Page/Tab.php b/CRM/Member/Page/Tab.php index 66fdd9103c..2cbb4641ea 100644 --- a/CRM/Member/Page/Tab.php +++ b/CRM/Member/Page/Tab.php @@ -50,7 +50,6 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $links = self::links('all', $this->_isPaymentProcessor, $this->_accessContribution); @@ -221,7 +220,6 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { * This function is called when action is view * * return null - * @access public */ public function view() { $controller = new CRM_Core_Controller_Simple( @@ -240,7 +238,6 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { // set https for offline cc transaction @@ -314,7 +311,6 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); @@ -555,7 +551,6 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { * Define action links for membership types of related organization * * @return array self::$_membershipTypesLinks array of action links - * @access public */ public static function &membershipTypesLinks() { if (!self::$_membershipTypesLinks) { @@ -582,7 +577,6 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { * contribution for the membership * @form array $form (ref.) an assoc array of name/value pairs * return null - * @access public */ public static function associatedContribution($contactId = NULL, $membershipId = NULL) { $controller = new CRM_Core_Controller_Simple( diff --git a/CRM/Member/Page/UserDashboard.php b/CRM/Member/Page/UserDashboard.php index 3a0ec7ca80..3656722c91 100644 --- a/CRM/Member/Page/UserDashboard.php +++ b/CRM/Member/Page/UserDashboard.php @@ -42,7 +42,6 @@ class CRM_Member_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard * List memberships for the UF user * * return null - * @access public */ public function listMemberships() { $membership = array(); @@ -96,7 +95,6 @@ class CRM_Member_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard * loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { parent::preProcess(); diff --git a/CRM/Member/PseudoConstant.php b/CRM/Member/PseudoConstant.php index c88fc6e5f4..270b0390d2 100644 --- a/CRM/Member/PseudoConstant.php +++ b/CRM/Member/PseudoConstant.php @@ -56,7 +56,6 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the membership types * - * @access public * * @param int $id * @param bool $force @@ -86,7 +85,6 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant { /** * Get all the membership statuss * - * @access public * * @param int $id * @param null $cond @@ -127,7 +125,6 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * next time it's requested. * - * @access public * @static * * @param bool|string $name pseudoconstant to be flushed diff --git a/CRM/Member/Selector/Search.php b/CRM/Member/Selector/Search.php index c036f55f88..70c00627af 100644 --- a/CRM/Member/Selector/Search.php +++ b/CRM/Member/Selector/Search.php @@ -82,7 +82,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -90,7 +89,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -98,7 +96,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -108,7 +105,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -116,7 +112,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -193,7 +188,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C * @param bool $isCancelSupported * * @return array - * @access public */ static function &links($status = 'all', @@ -277,7 +271,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C * * @param $action * @param array $params - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Member') . ' %%StatusMessage%%'; @@ -299,7 +292,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -448,7 +440,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C /** * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -465,7 +456,6 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Member/StateMachine/Search.php b/CRM/Member/StateMachine/Search.php index e910279527..ffcee82c48 100644 --- a/CRM/Member/StateMachine/Search.php +++ b/CRM/Member/StateMachine/Search.php @@ -76,7 +76,6 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -92,7 +91,6 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Member/Task.php b/CRM/Member/Task.php index 41f5b5029a..6bee3e87c0 100644 --- a/CRM/Member/Task.php +++ b/CRM/Member/Task.php @@ -64,7 +64,6 @@ class CRM_Member_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!(self::$_tasks)) { @@ -134,7 +133,6 @@ class CRM_Member_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -152,7 +150,6 @@ class CRM_Member_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = array(); @@ -182,7 +179,6 @@ class CRM_Member_Task { * * @return array the set of tasks for a group of members * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Note/Form/Note.php b/CRM/Note/Form/Note.php index 64fcbca8da..938fb92147 100644 --- a/CRM/Note/Form/Note.php +++ b/CRM/Note/Form/Note.php @@ -90,7 +90,6 @@ class CRM_Note_Form_Note extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -117,7 +116,6 @@ class CRM_Note_Form_Note extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::DELETE) { @@ -160,7 +158,6 @@ class CRM_Note_Form_Note extends CRM_Core_Form { } /** - * @access public * * @return void */ diff --git a/CRM/PCP/BAO/PCP.php b/CRM/PCP/BAO/PCP.php index 0ef86421c2..70135c39dc 100644 --- a/CRM/PCP/BAO/PCP.php +++ b/CRM/PCP/BAO/PCP.php @@ -55,7 +55,6 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP { * @param array $params reference array contains the values submitted by the form * @param bool $pcpBlock if true, create or update PCPBlock, else PCP * - * @access public * @static * * @return object @@ -95,7 +94,6 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP { * * @return null|string Dispaly name of the contact if found * @static - * @access public */ public static function displayName($id) { $id = CRM_Utils_Type::escape($id, 'Integer'); @@ -115,7 +113,6 @@ WHERE civicrm_pcp.contact_id = civicrm_contact.id * @param int $contactId * * @return array array of Pcp if found - * @access public * @static */ public static function getPcpDashboardInfo($contactId) { @@ -233,7 +230,6 @@ ORDER BY target_entity_type, target_entity_id * * @param array $pcpId contains the pcp ID * - * @access public * @static * * @return total amount @@ -255,7 +251,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * * @param array $pcpId contains the pcp ID * - * @access public * @static * * @return array $honor @@ -354,7 +349,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param int $id campaign page id * * @return null - * @access public * @static * */ @@ -379,7 +373,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param CRM_Core_Form $form form object * * @return void - * @access public */ public static function buildPCPForm($form) { $form->addElement('checkbox', 'pcp_active', ts('Enable Personal Campaign Pages?'), NULL, array('onclick' => "return showHideByValue('pcp_active',true,'pcpFields','block','radio',false);")); @@ -590,7 +583,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param $is_active * * @return null - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -638,7 +630,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * * @throws Exception * @return null - * @access public * @static */ public static function sendStatusUpdate($pcpId, $newStatus, $isInitial = FALSE, $component = 'contribute') { @@ -731,7 +722,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * * @param $is_active * @return null - * @access public * @static */ public static function setDisable($id, $is_active) { @@ -745,7 +735,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param $component * * @return int - * @access public * @static */ public static function getStatus($pcpId, $component) { @@ -769,7 +758,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param $component * * @return string - * @access public * @static */ public static function getPcpBlockStatus($pageId, $component) { @@ -792,7 +780,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param int $id pcp block id * * @return Boolean - * @access public * @static * */ @@ -813,7 +800,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * @param int $profileId supporter's profile id * * @return boolean - * @access public * @static */ public static function checkEmailProfile($profileId) { @@ -837,7 +823,6 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1"; * @param $component * * @return int - * @access public * @static */ public static function getPcpPageTitle($pcpId, $component) { @@ -867,7 +852,6 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1"; * @param $component * * @return String - * @access public * @static */ public static function getPcpBlockEntityId($pcpId, $component) { @@ -894,7 +878,6 @@ WHERE pcp.id = %1"; * @param $component * * @return String - * @access public * @static */ public static function getPcpEntityTable($component) { @@ -914,7 +897,6 @@ WHERE pcp.id = %1"; * @param string $component * * @return int - * @access public * @static */ public static function getSupporterProfileId($component_id, $component = 'contribute') { diff --git a/CRM/PCP/Form/Campaign.php b/CRM/PCP/Form/Campaign.php index 047a39b1be..693bc1034f 100644 --- a/CRM/PCP/Form/Campaign.php +++ b/CRM/PCP/Form/Campaign.php @@ -98,7 +98,6 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->add('text', 'pcp_title', ts('Title'), NULL, TRUE); @@ -155,7 +154,6 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -172,7 +170,6 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/PCP/Form/Contribute.php b/CRM/PCP/Form/Contribute.php index 50a0b76111..46231cf7fb 100644 --- a/CRM/PCP/Form/Contribute.php +++ b/CRM/PCP/Form/Contribute.php @@ -54,7 +54,6 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -87,7 +86,6 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_PCP_BAO_PCP::buildPCPForm($this); @@ -107,7 +105,6 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * @param $self * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $self) { @@ -143,7 +140,6 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage { /** * Process the form submission * - * @access public * * @return void */ @@ -177,7 +173,6 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Enable Personal Campaign Pages'); diff --git a/CRM/PCP/Form/Event.php b/CRM/PCP/Form/Event.php index 18c39447ca..c2312db391 100644 --- a/CRM/PCP/Form/Event.php +++ b/CRM/PCP/Form/Event.php @@ -54,7 +54,6 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent { /** * Set default values for the form. * - * @access public * * @return void */ @@ -92,7 +91,6 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_PCP_BAO_PCP::buildPCPForm($this); @@ -138,7 +136,6 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent { * @param $self * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $self) { @@ -174,7 +171,6 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent { /** * Process the form submission * - * @access public * * @return void */ @@ -216,7 +212,6 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Enable Personal Campaign Pages'); diff --git a/CRM/PCP/Form/PCP.php b/CRM/PCP/Form/PCP.php index f1eb051101..d392bb8104 100644 --- a/CRM/PCP/Form/PCP.php +++ b/CRM/PCP/Form/PCP.php @@ -46,7 +46,6 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { if ($this->_action & CRM_Core_Action::DELETE) { @@ -127,7 +126,6 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -144,7 +142,6 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::DELETE) { @@ -199,7 +196,6 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $form) {} @@ -209,7 +205,6 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { if ($this->_action & CRM_Core_Action::DELETE) { diff --git a/CRM/PCP/Form/PCPAccount.php b/CRM/PCP/Form/PCPAccount.php index b743fd938b..d300e3206f 100644 --- a/CRM/PCP/Form/PCPAccount.php +++ b/CRM/PCP/Form/PCPAccount.php @@ -52,7 +52,6 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { * Are we in single form mode or wizard mode? * * @var boolean - * @access protected */ public $_single; @@ -144,7 +143,6 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $id = CRM_PCP_BAO_PCP::getSupporterProfileId($this->_pageId, $this->_component); @@ -230,7 +228,6 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -249,7 +246,6 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/PCP/Page/PCP.php b/CRM/PCP/Page/PCP.php index eb2af15442..b6a54d9a1f 100644 --- a/CRM/PCP/Page/PCP.php +++ b/CRM/PCP/Page/PCP.php @@ -116,7 +116,6 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { * @param * * @return void - * @access public */ public function run() { // get the requested action @@ -164,7 +163,6 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/PCP/Page/PCPInfo.php b/CRM/PCP/Page/PCPInfo.php index fb3b167bc1..ce3949367a 100644 --- a/CRM/PCP/Page/PCPInfo.php +++ b/CRM/PCP/Page/PCPInfo.php @@ -47,7 +47,6 @@ class CRM_PCP_Page_PCPInfo extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { diff --git a/CRM/Pledge/BAO/Pledge.php b/CRM/Pledge/BAO/Pledge.php index 8fc4197c12..8ced025d49 100644 --- a/CRM/Pledge/BAO/Pledge.php +++ b/CRM/Pledge/BAO/Pledge.php @@ -60,7 +60,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Pledge_BAO_Pledge object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -78,7 +77,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -127,7 +125,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { * @param array $returnProperties if you want to return specific fields * * @return array associated array of field values - * @access public * @static */ public static function &getValues(&$params, &$values, $returnProperties = NULL) { @@ -144,7 +141,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Pledge_BAO_Pledge object - * @access public * @static */ public static function &create(&$params) { @@ -258,7 +254,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { * @param int $id pledge id * * @return mixed - * @access public * @static * */ @@ -448,7 +443,6 @@ GROUP BY currency * * @return array return the list of pledge fields * - * @access public * @static */ public static function getHonorContacts($honorId) { @@ -491,7 +485,6 @@ GROUP BY currency * * @param CRM_Core_Form $form form object. * @param array $params an assoc array of name/value pairs. - * @access public * * @return void. */ @@ -685,7 +678,6 @@ GROUP BY currency * Combine all the exportable fields from the lower levels object * * @return array array of exportable Fields - * @access public * @static */ public static function &exportableFields() { @@ -794,7 +786,6 @@ GROUP BY currency * @param int $contactID * * @return int count of pledge records - * @access public * @static */ public static function getContactPledgeCount($contactID) { diff --git a/CRM/Pledge/BAO/PledgeBlock.php b/CRM/Pledge/BAO/PledgeBlock.php index a0fdf6cfba..0e1e418699 100644 --- a/CRM/Pledge/BAO/PledgeBlock.php +++ b/CRM/Pledge/BAO/PledgeBlock.php @@ -52,7 +52,6 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Pledge_BAO_PledgeBlock object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -71,7 +70,6 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Pledge_BAO_PledgeBlock object - * @access public * @static */ public static function &create(&$params) { @@ -95,7 +93,6 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock { * * @param array $params reference array contains the values submitted by the form * - * @access public * @static * * @return object @@ -152,7 +149,6 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock { * @param int $id pledgeBlock id * * @return mixed|null - * @access public * @static */ public static function deletePledgeBlock($id) { diff --git a/CRM/Pledge/BAO/PledgePayment.php b/CRM/Pledge/BAO/PledgePayment.php index efba600126..6f3b1365fb 100644 --- a/CRM/Pledge/BAO/PledgePayment.php +++ b/CRM/Pledge/BAO/PledgePayment.php @@ -209,7 +209,6 @@ WHERE pledge_id = %1 * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Pledge_BAO_PledgePayment object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -255,7 +254,6 @@ WHERE pledge_id = %1 * @param int $id pledge id * * @return bool - * @access public * @static * */ @@ -290,7 +288,6 @@ WHERE pledge_id = %1 * @param int $contributionID contribution id * * @return bool - * @access public * @static */ public static function resetPledgePayment($contributionID) { diff --git a/CRM/Pledge/BAO/Query.php b/CRM/Pledge/BAO/Query.php index 138301ef1a..db775b3bac 100644 --- a/CRM/Pledge/BAO/Query.php +++ b/CRM/Pledge/BAO/Query.php @@ -48,7 +48,6 @@ class CRM_Pledge_BAO_Query { * @param $query * * @return void - * @access public */ public static function select(&$query) { if (($query->_mode & CRM_Contact_BAO_Query::MODE_PLEDGE) || !empty($query->_returnProperties['pledge_id'])) { @@ -465,7 +464,6 @@ class CRM_Pledge_BAO_Query { * Getter for the qill object * * @return string - * @access public */ public function qill() { return (isset($this->_qill)) ? $this->_qill : ""; diff --git a/CRM/Pledge/Form/Payment.php b/CRM/Pledge/Form/Payment.php index 71275bc34b..01164b85d0 100644 --- a/CRM/Pledge/Form/Payment.php +++ b/CRM/Pledge/Form/Payment.php @@ -50,7 +50,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { // check for edit permission @@ -67,7 +66,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -91,7 +89,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { //add various dates @@ -137,7 +134,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Pledge/Form/Pledge.php b/CRM/Pledge/Form/Pledge.php index a72a69a692..d99c08cf50 100644 --- a/CRM/Pledge/Form/Pledge.php +++ b/CRM/Pledge/Form/Pledge.php @@ -73,7 +73,6 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_contactID = CRM_Utils_Request::retrieve('cid', 'Positive', $this); @@ -130,7 +129,6 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -217,7 +215,6 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::DELETE) { @@ -449,7 +446,6 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -478,7 +474,6 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Pledge/Form/PledgeView.php b/CRM/Pledge/Form/PledgeView.php index 8d3c59790c..0978affe64 100644 --- a/CRM/Pledge/Form/PledgeView.php +++ b/CRM/Pledge/Form/PledgeView.php @@ -43,7 +43,6 @@ class CRM_Pledge_Form_PledgeView extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { @@ -135,7 +134,6 @@ class CRM_Pledge_Form_PledgeView extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Pledge/Form/Search.php b/CRM/Pledge/Form/Search.php index 85108e0d84..2de8900cdb 100644 --- a/CRM/Pledge/Form/Search.php +++ b/CRM/Pledge/Form/Search.php @@ -42,14 +42,12 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { * The params that are sent to the query * * @var array - * @access protected */ protected $_queryParams; /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -57,7 +55,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -74,7 +71,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - * @access public */ public function preProcess() { @@ -159,7 +155,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { /** * Build the form object * - * @access public * * @return void */ @@ -197,7 +192,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { * @param * * @return void - * @access public */ public function postProcess() { if ($this->_done) { @@ -292,7 +286,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { * All local rules are added near the element * * @return void - * @access public * @see valid_date */ public function addRules() { @@ -306,7 +299,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { * * @return void * @static - * @access public */ public static function formRule($fields) { $errors = array(); @@ -321,7 +313,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -427,7 +418,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { * Return a descriptive name for the page, used in wizard header * * @return string - * @access public */ public function getTitle() { return ts('Find Pledges'); diff --git a/CRM/Pledge/Form/Task.php b/CRM/Pledge/Form/Task.php index 81cbb2080d..8832e5d237 100644 --- a/CRM/Pledge/Form/Task.php +++ b/CRM/Pledge/Form/Task.php @@ -73,7 +73,6 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form { * @param * * @return void - * @access public */ public function preProcess() { self::preProcessCommon($this); @@ -157,7 +156,6 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form { * * * @return void - * @access public */ public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( diff --git a/CRM/Pledge/Form/Task/Delete.php b/CRM/Pledge/Form/Task/Delete.php index 4ecac3158e..17c5a8a03d 100644 --- a/CRM/Pledge/Form/Task/Delete.php +++ b/CRM/Pledge/Form/Task/Delete.php @@ -52,7 +52,6 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ function preProcess() { //check for delete if (!CRM_Core_Permission::checkActionPermission('CiviPledge', CRM_Core_Action::DELETE)) { @@ -64,7 +63,6 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task { /** * Build the form object * - * @access public * * @return void */ @@ -75,7 +73,6 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Pledge/Form/Task/Print.php b/CRM/Pledge/Form/Task/Print.php index 338ceb307e..5265ceb998 100644 --- a/CRM/Pledge/Form/Task/Print.php +++ b/CRM/Pledge/Form/Task/Print.php @@ -43,7 +43,6 @@ class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preprocess(); @@ -72,7 +71,6 @@ class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task { * - displaying the QILL (query in local language) * - displaying elements for saving the search * - * @access public * * @return void */ @@ -98,7 +96,6 @@ class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task { /** * Process the form after the input has been submitted and validated * - * @access public * * @return void */ diff --git a/CRM/Pledge/Form/Task/Result.php b/CRM/Pledge/Form/Task/Result.php index 4311c71a7e..26253a6566 100644 --- a/CRM/Pledge/Form/Task/Result.php +++ b/CRM/Pledge/Form/Task/Result.php @@ -44,7 +44,6 @@ class CRM_Pledge_Form_Task_Result extends CRM_Pledge_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() {} @@ -52,7 +51,6 @@ class CRM_Pledge_Form_Task_Result extends CRM_Pledge_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Pledge/Form/Task/SearchTaskHookSample.php b/CRM/Pledge/Form/Task/SearchTaskHookSample.php index 44cdda4140..af7a741b2b 100644 --- a/CRM/Pledge/Form/Task/SearchTaskHookSample.php +++ b/CRM/Pledge/Form/Task/SearchTaskHookSample.php @@ -42,7 +42,6 @@ class CRM_Pledge_Form_Task_SearchTaskHookSample extends CRM_Pledge_Form_Task { * Build all the data structures needed to build the form * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -73,7 +72,6 @@ INNER JOIN civicrm_contact ct ON ( plg.contact_id = ct.id ) * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Pledge/Info.php b/CRM/Pledge/Info.php index fb2978803d..c0f702758f 100644 --- a/CRM/Pledge/Info.php +++ b/CRM/Pledge/Info.php @@ -46,7 +46,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * class. * * @return array collection of required component settings - * @access public */ public function getInfo() { return array( @@ -71,7 +70,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * @param bool $getAllUnconditionally * * @return array|null collection of permissions, null if none - * @access public */ /** * @param bool $getAllUnconditionally @@ -93,7 +91,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -115,7 +112,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -135,7 +131,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * @access public * */ /** @@ -155,7 +150,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * @access public * */ /** diff --git a/CRM/Pledge/Page/DashBoard.php b/CRM/Pledge/Page/DashBoard.php index 1343fb3d78..092e4ace2c 100644 --- a/CRM/Pledge/Page/DashBoard.php +++ b/CRM/Pledge/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Pledge_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -100,7 +99,6 @@ class CRM_Pledge_Page_DashBoard extends CRM_Core_Page { * it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Pledge/Page/Payment.php b/CRM/Pledge/Page/Payment.php index 0eb9f082f6..9dd474b8be 100644 --- a/CRM/Pledge/Page/Payment.php +++ b/CRM/Pledge/Page/Payment.php @@ -38,7 +38,6 @@ class CRM_Pledge_Page_Payment extends CRM_Core_Page { * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse'); @@ -81,7 +80,6 @@ class CRM_Pledge_Page_Payment extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_Payment', diff --git a/CRM/Pledge/Page/Tab.php b/CRM/Pledge/Page/Tab.php index ffe7a7458c..3611448630 100644 --- a/CRM/Pledge/Page/Tab.php +++ b/CRM/Pledge/Page/Tab.php @@ -40,7 +40,6 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { * This function is called when action is browse * * return null - * @access public */ public function browse() { $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_Search', ts('Pledges'), $this->_action); @@ -68,7 +67,6 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { * This function is called when action is view * * return null - * @access public */ public function view() { $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_PledgeView', @@ -86,7 +84,6 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { * This function is called when action is update or new * * return null - * @access public */ public function edit() { $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_Pledge', @@ -129,7 +126,6 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { $this->preProcess(); diff --git a/CRM/Pledge/Page/UserDashboard.php b/CRM/Pledge/Page/UserDashboard.php index 71db8c3b23..31f64b531f 100644 --- a/CRM/Pledge/Page/UserDashboard.php +++ b/CRM/Pledge/Page/UserDashboard.php @@ -38,7 +38,6 @@ class CRM_Pledge_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard * This function is called when action is browse * * return null - * @access public */ public function listPledges() { $controller = new CRM_Core_Controller_Simple( @@ -74,7 +73,6 @@ class CRM_Pledge_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard * loads, it decides the which action has to be taken for the page. * * return null - * @access public */ public function run() { parent::preProcess(); diff --git a/CRM/Pledge/Selector/Search.php b/CRM/Pledge/Selector/Search.php index 73454d6430..ca3ee8ebed 100644 --- a/CRM/Pledge/Selector/Search.php +++ b/CRM/Pledge/Selector/Search.php @@ -85,7 +85,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_single = FALSE; @@ -93,7 +92,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { /** * Are we restricting ourselves to a single contact * - * @access protected * @var boolean */ protected $_limit = NULL; @@ -101,7 +99,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { /** * What context are we being invoked from * - * @access protected * @var string */ protected $_context = NULL; @@ -111,7 +108,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * the HTML_QuickForm_Controller for that page. * * @var array - * @access protected */ public $_queryParams; @@ -119,7 +115,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * Represent the type of selector * * @var int - * @access protected */ protected $_action; @@ -186,7 +181,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * - Edit * * @return array - * @access public * */ public static function &links() { @@ -239,7 +233,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $params['status'] = ts('Pledge') . ' %%StatusMessage%%'; @@ -261,7 +254,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { return $this->_query->searchQuery(0, 0, NULL, @@ -368,7 +360,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { /** * @return array $qill which contains an array of strings - * @access public */ // the current internationalisation is bad, but should more or less work @@ -385,7 +376,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { if (!isset(self::$_columnHeaders)) { diff --git a/CRM/Pledge/StateMachine/Search.php b/CRM/Pledge/StateMachine/Search.php index 962ffddfd0..0f81b9607e 100644 --- a/CRM/Pledge/StateMachine/Search.php +++ b/CRM/Pledge/StateMachine/Search.php @@ -78,7 +78,6 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine { * @param string $formName * * @return string the name of the form that will handle the task - * @access protected */ public function taskName($controller, $formName = 'Search') { // total hack, check POST vars and then session to determine stuff @@ -94,7 +93,6 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine { * Return the form name of the task * * @return string - * @access public */ public function getTaskFormName() { return CRM_Utils_String::getClassName($this->_task); diff --git a/CRM/Pledge/Task.php b/CRM/Pledge/Task.php index 35238450d0..b855f986cf 100644 --- a/CRM/Pledge/Task.php +++ b/CRM/Pledge/Task.php @@ -63,7 +63,6 @@ class CRM_Pledge_Task { * * @return array the set of tasks for a group of contacts * @static - * @access public */ public static function &tasks() { if (!self::$_tasks) { @@ -102,7 +101,6 @@ class CRM_Pledge_Task { * * @return array the set of task titles * @static - * @access public */ public static function &taskTitles() { self::tasks(); @@ -118,7 +116,6 @@ class CRM_Pledge_Task { * * @return array the set of optional tasks for a group of contacts * @static - * @access public */ public static function &optionalTaskTitle() { $tasks = array(); @@ -132,7 +129,6 @@ class CRM_Pledge_Task { * @param int $permission * * @return array set of tasks that are valid for the user - * @access public */ public static function &permissionedTaskTitles($permission) { $tasks = array(); @@ -161,7 +157,6 @@ class CRM_Pledge_Task { * * @return array the set of tasks for a group of pledge holders * @static - * @access public */ public static function getTask($value) { self::tasks(); diff --git a/CRM/Price/BAO/LineItem.php b/CRM/Price/BAO/LineItem.php index 11b2ad4a6e..384dbc8be9 100644 --- a/CRM/Price/BAO/LineItem.php +++ b/CRM/Price/BAO/LineItem.php @@ -51,7 +51,6 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Price_DAO_LineItem object - * @access public * @static */ public static function create(&$params) { @@ -94,7 +93,6 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Price_BAO_LineItem object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -268,7 +266,6 @@ AND li.entity_id = {$entityId} * lineItem array) * * @return void - * @access static */ public static function format($fid, &$params, &$fields, &$values) { if (empty($params["price_{$fid}"])) { @@ -332,7 +329,6 @@ AND li.entity_id = {$entityId} * @param int $entityTable * * @return bool - * @access public * @static */ public static function deleteLineItems($entityId, $entityTable) { @@ -359,7 +355,6 @@ AND li.entity_id = {$entityId} * * @param bool $update * - * @access public * @return void * @static */ @@ -468,7 +463,6 @@ AND li.entity_id = {$entityId} * * @param string $entityTable entity Table * - * @access public * @return void * @static */ @@ -529,7 +523,6 @@ AND li.entity_id = {$entityId} * * @return tax rate * - * @access public * @static */ public static function calculateTaxRate($lineItemId) { diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index e855418c0d..753ffb7978 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -51,7 +51,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Price_BAO_PriceField object - * @access public * @static */ public static function add(&$params) { @@ -75,7 +74,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Price_DAO_PriceField object - * @access public * @static */ public static function create(&$params) { @@ -174,7 +172,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Price_DAO_PriceField object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -189,7 +186,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -210,7 +206,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * * @return string name * - * @access public * @static * */ @@ -233,7 +228,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * * @return null * @internal param bool $search true if used for search else false - * @access public * @static */ public static function addQuickFormElement(&$qf, @@ -618,7 +612,6 @@ WHERE * * @return boolean * - * @access public * @static * */ @@ -669,7 +662,6 @@ WHERE * @param $error * @param bool $allowNoneSelection * - * @access public * @static */ @@ -767,7 +759,6 @@ WHERE id IN (" . implode(',', array_keys($priceFields)) . ')'; * * @return string $label tax label for custom field * - * @access public * @static * */ diff --git a/CRM/Price/BAO/PriceFieldValue.php b/CRM/Price/BAO/PriceFieldValue.php index c338f300c1..760e415260 100644 --- a/CRM/Price/BAO/PriceFieldValue.php +++ b/CRM/Price/BAO/PriceFieldValue.php @@ -47,7 +47,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * @param $ids * * @return CRM_Price_DAO_PriceFieldValue object - * @access public * @static */ public static function add(&$params, $ids = array()) { @@ -76,7 +75,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * @param $ids * * @return CRM_Price_DAO_PriceFieldValue object - * @access public * @static */ public static function create(&$params, $ids = array()) { @@ -130,7 +128,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Price_DAO_PriceFieldValue object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -147,7 +144,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * * @return array $values * - * @access public * @static */ public static function getValues($fieldId, &$values, $orderBy = 'weight', $isActive = FALSE) { @@ -173,7 +169,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * * @return string name * - * @access public * @static * */ @@ -189,7 +184,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -202,7 +196,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * @param int $fieldId Price field id * * - * @access public * @static */ public static function deleteValues($fieldId) { @@ -222,7 +215,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * * @return boolean * - * @access public * @static */ public static function del($id) { @@ -243,7 +235,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * @param String $entityTable entity table * @param String $financialTypeID financial type id * - * @access public * @static */ public static function updateFinancialType($entityId, $entityTable, $financialTypeID) { diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index 433bf16c19..bbd37777f4 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -60,7 +60,6 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet { * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Price_DAO_PriceSet object - * @access public * @static */ public static function create(&$params) { @@ -82,7 +81,6 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet { * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Price_DAO_PriceSet object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -99,7 +97,6 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet { * * @return Object DAO object on sucess, null otherwise * @static - * @access public */ public static function setIsActive($id, $isActive) { return CRM_Core_DAO::setFieldValue('CRM_Price_DAO_PriceSet', $id, 'is_active', $isActive); @@ -113,7 +110,6 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet { * * @return array $defaultPriceSet default price set * - * @access public * @static * */ @@ -159,7 +155,6 @@ WHERE ps.name = '{$entityName}' * * @return string title * - * @access public * @static * */ @@ -282,7 +277,6 @@ WHERE ct.id = cp.financial_type_id AND * @return boolean false if fields exist for this set, true if the * set could be deleted * - * @access public * @static */ public static function deleteSet($id) { @@ -405,7 +399,6 @@ WHERE ct.id = cp.financial_type_id AND * * @return integer|NULL price set id on success, null otherwise * @static - * @access public */ public static function getSetId(&$params) { $fid = NULL; @@ -887,7 +880,6 @@ WHERE id = %1"; * @param CRM_Core_Form $form * * @return void - * @access public */ public static function buildPriceSet(&$form) { $priceSetId = $form->get('priceSetId'); @@ -1005,7 +997,6 @@ WHERE id = %1"; * @param $defaults * * @return array $defaults - * @access public */ public static function setDefaultPriceSet(&$form, &$defaults) { if (!isset($form->_priceSet) || empty($form->_priceSet['fields'])) { @@ -1075,7 +1066,6 @@ WHERE id = %1"; * * @return array of the field ids * - * @access public * @static */ public static function getFieldIds($id) { @@ -1095,7 +1085,6 @@ WHERE id = %1"; * @param int $id the price set id to copy * * @return the copy object - * @access public * @static */ public static function copy($id) { @@ -1162,7 +1151,6 @@ WHERE id = %1"; * @param bool $onlyActive * * @return int|null|string - * @access public * @static */ public static function getPricesetCount($sid, $onlyActive = TRUE) { @@ -1270,7 +1258,6 @@ GROUP BY mt.member_of_contact_id"; * * @return array associate array of frequency interval and unit * @static - * @access public */ public static function getRecurDetails($priceSetId) { $query = 'SELECT mt.duration_interval, mt.duration_unit @@ -1303,7 +1290,6 @@ GROUP BY mt.member_of_contact_id"; * * @return Object DAO object on sucess, null otherwise * @static - * @access public */ public static function setIsQuickConfig($id, $isQuickConfig) { return CRM_Core_DAO::setFieldValue('CRM_Price_DAO_PriceSet', $id, 'is_quick_config', $isQuickConfig); @@ -1313,7 +1299,6 @@ GROUP BY mt.member_of_contact_id"; * Check if price set id provides option for * user to select both auto-renew and non-auto-renew memberships * - * @access public * @static * */ diff --git a/CRM/Price/Form/DeleteField.php b/CRM/Price/Form/DeleteField.php index eb4abfe0dc..69b321ce98 100644 --- a/CRM/Price/Form/DeleteField.php +++ b/CRM/Price/Form/DeleteField.php @@ -78,7 +78,6 @@ class CRM_Price_Form_DeleteField extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( @@ -101,7 +100,6 @@ class CRM_Price_Form_DeleteField extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { diff --git a/CRM/Price/Form/DeleteSet.php b/CRM/Price/Form/DeleteSet.php index a22850c3a1..be6ba5429c 100644 --- a/CRM/Price/Form/DeleteSet.php +++ b/CRM/Price/Form/DeleteSet.php @@ -69,7 +69,6 @@ class CRM_Price_Form_DeleteSet extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->assign('title', $this->_title); @@ -91,7 +90,6 @@ class CRM_Price_Form_DeleteSet extends CRM_Core_Form { * Process the form when submitted * * @return void - * @access public */ public function postProcess() { if (CRM_Price_BAO_PriceSet::deleteSet($this->_sid)) { diff --git a/CRM/Price/Form/Field.php b/CRM/Price/Form/Field.php index 18750a69df..5a0f1400ad 100644 --- a/CRM/Price/Form/Field.php +++ b/CRM/Price/Form/Field.php @@ -47,7 +47,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * The custom set id saved to the session for an update * * @var int - * @access protected */ protected $_sid; @@ -55,7 +54,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * The field id, used when editing the field * * @var int - * @access protected */ protected $_fid; @@ -63,13 +61,11 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * The extended component Id * * @var array - * @access protected */ protected $_extendComponentId; /** * Variable is set if price set is used for membership - * @access protected */ protected $_useForMember; @@ -79,7 +75,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { @@ -106,7 +101,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array(); @@ -175,7 +169,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { // lets trim all the whitespace @@ -399,7 +392,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * @return array if errors then list of errors to be posted back to the form, * true otherwise * @static - * @access public */ public static function formRule($fields, $files, $form) { @@ -612,7 +604,6 @@ class CRM_Price_Form_Field extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { // store the submitted values in an array diff --git a/CRM/Price/Form/Option.php b/CRM/Price/Form/Option.php index 9a9c51945d..6c8ab7a2e0 100644 --- a/CRM/Price/Form/Option.php +++ b/CRM/Price/Form/Option.php @@ -42,7 +42,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * The price field id saved to the session for an update * * @var int - * @access protected */ protected $_fid; @@ -50,7 +49,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * Option value id, used when editing the Option * * @var int - * @access protected */ protected $_oid; @@ -60,7 +58,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { $this->setPageTitle(ts('Price Option')); @@ -79,7 +76,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { if ($this->_action == CRM_Core_Action::DELETE) { @@ -121,7 +117,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action == CRM_Core_Action::DELETE) { @@ -282,7 +277,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * @return array if errors then list of errors to be posted back to the form, * true otherwise * @static - * @access public */ public static function formRule($fields, $files, $form) { $errors = array(); @@ -301,7 +295,6 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { if ($this->_action == CRM_Core_Action::DELETE) { diff --git a/CRM/Price/Form/Preview.php b/CRM/Price/Form/Preview.php index 3cfb349efe..b8e6b0ee19 100644 --- a/CRM/Price/Form/Preview.php +++ b/CRM/Price/Form/Preview.php @@ -58,7 +58,6 @@ class CRM_Price_Form_Preview extends CRM_Core_Form { * @param null * * @return void - * @access public */ function preProcess() { // get the controller vars $groupId = $this->get('groupId'); @@ -92,7 +91,6 @@ class CRM_Price_Form_Preview extends CRM_Core_Form { * @param null * * @return array the default array reference - * @access protected */ public function setDefaultValues() { $defaults = array(); @@ -121,7 +119,6 @@ class CRM_Price_Form_Preview extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { $this->assign('groupTree', $this->_groupTree); diff --git a/CRM/Price/Form/Set.php b/CRM/Price/Form/Set.php index 3e5d4b262f..3f625f418e 100644 --- a/CRM/Price/Form/Set.php +++ b/CRM/Price/Form/Set.php @@ -42,7 +42,6 @@ class CRM_Price_Form_Set extends CRM_Core_Form { * The set id saved to the session for an update * * @var int - * @access protected */ protected $_sid; @@ -52,7 +51,6 @@ class CRM_Price_Form_Set extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function preProcess() { // current set id @@ -86,7 +84,6 @@ class CRM_Price_Form_Set extends CRM_Core_Form { * @param array $options additional user data * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $options) { @@ -114,7 +111,6 @@ class CRM_Price_Form_Set extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function buildQuickForm() { $this->applyFilter('__ALL__', 'trim'); @@ -237,7 +233,6 @@ class CRM_Price_Form_Set extends CRM_Core_Form { * @param null * * @return array array of default values - * @access public */ public function setDefaultValues() { $defaults = array('is_active' => TRUE); @@ -258,7 +253,6 @@ class CRM_Price_Form_Set extends CRM_Core_Form { * @param null * * @return void - * @access public */ public function postProcess() { // get the submitted form values. diff --git a/CRM/Price/Page/Field.php b/CRM/Price/Page/Field.php index a452d6e796..e3273369da 100644 --- a/CRM/Price/Page/Field.php +++ b/CRM/Price/Page/Field.php @@ -49,7 +49,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * The price set group id of the field * * @var int - * @access protected */ protected $_sid; @@ -57,7 +56,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * The action links that we need to display for the browse screen * * @var array - * @access private */ private static $_actionLinks; @@ -65,7 +63,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * The price set is reserved or not * * @var boolean - * @access protected */ protected $_isSetReserved = false; @@ -75,7 +72,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - * @access public */ function &actionLinks() { if (!isset(self::$_actionLinks)) { self::$_actionLinks = array( @@ -118,7 +114,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function browse() { $resourceManager = CRM_Core_Resources::singleton(); @@ -223,7 +218,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * * @return void - * @access public */ public function edit($action) { // create a simple controller for editing price data @@ -248,7 +242,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function run() { @@ -343,7 +336,6 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * @internal param int $id price field id * * @return void - * @access public */ public function preview($fid) { $controller = new CRM_Core_Controller_Simple('CRM_Price_Form_Preview', ts('Preview Form Field'), CRM_Core_Action::PREVIEW); diff --git a/CRM/Price/Page/Option.php b/CRM/Price/Page/Option.php index 6fbc915f72..f1c9077166 100644 --- a/CRM/Price/Page/Option.php +++ b/CRM/Price/Page/Option.php @@ -49,7 +49,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * The field id of the option * * @var int - * @access protected */ protected $_fid; @@ -57,7 +56,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * The field id of the option * * @var int - * @access protected */ protected $_sid; @@ -65,7 +63,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * The price set is reserved or not * * @var boolean - * @access protected */ protected $_isSetReserved = false; @@ -73,7 +70,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * The action links that we need to display for the browse screen * * @var array - * @access private */ private static $_actionLinks; @@ -83,7 +79,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - * @access public */ function &actionLinks() { if (!isset(self::$_actionLinks)) { self::$_actionLinks = array( @@ -126,7 +121,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function browse() { $customOption = array(); @@ -206,7 +200,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($action) { $oid = CRM_Utils_Request::retrieve('oid', 'Positive', @@ -262,7 +255,6 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * @param null * * @return void - * @access public */ public function run() { diff --git a/CRM/Price/Page/Set.php b/CRM/Price/Page/Set.php index 2225544be4..a9ee1ae1e5 100644 --- a/CRM/Price/Page/Set.php +++ b/CRM/Price/Page/Set.php @@ -56,7 +56,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - * @access public */ function &actionLinks() { // check if variable _actionsLinks is populated if (!isset(self::$_actionLinks)) { @@ -121,7 +120,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param null * * @return void - * @access public * */ public function run() { @@ -205,7 +203,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($sid, $action) { // create a simple controller for editing price sets @@ -226,7 +223,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param int $sid price set id * * @return void - * @access public */ public function preview($sid) { $controller = new CRM_Core_Controller_Simple('CRM_Price_Form_Preview', ts('Preview Price Set'), NULL); @@ -250,7 +246,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function browse($action = NULL) { // get all price sets @@ -319,7 +314,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * all the fields in the page * * @return void - * @access public */ public function copy() { $id = CRM_Utils_Request::retrieve('sid', 'Positive', diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index 7e2f6a5029..b86a33e873 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -185,7 +185,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * * @return void * - * @access public */ public function preProcess() { $this->_id = $this->get('id'); @@ -409,7 +408,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -582,7 +580,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->add('hidden', 'gid', $this->_gid); @@ -874,7 +871,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * @param CRM_Core_Form $form the form object * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $form) { @@ -1049,7 +1045,6 @@ class CRM_Profile_Form extends CRM_Core_Form { /** * Process the user submitted custom data values. * - * @access public * * @return void */ @@ -1337,7 +1332,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -1352,7 +1346,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * i.e. we dont override * * @return string - * @access public */ /** * @return string diff --git a/CRM/Profile/Form/Dynamic.php b/CRM/Profile/Form/Dynamic.php index 66208e1d81..18145445a4 100644 --- a/CRM/Profile/Form/Dynamic.php +++ b/CRM/Profile/Form/Dynamic.php @@ -50,7 +50,6 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form { * * @return void * - * @access public * */ public function preProcess() { @@ -75,7 +74,6 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $this->addButtons(array( @@ -103,7 +101,6 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form { * * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $form) { @@ -120,7 +117,6 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form { /** * Process the user submitted custom data values. * - * @access public * * @return void */ diff --git a/CRM/Profile/Form/Edit.php b/CRM/Profile/Form/Edit.php index dd9d0d0700..a4a97e9221 100644 --- a/CRM/Profile/Form/Edit.php +++ b/CRM/Profile/Form/Edit.php @@ -56,7 +56,6 @@ class CRM_Profile_Form_Edit extends CRM_Profile_Form { * * @return void * - * @access public * */ public function preProcess() { @@ -144,7 +143,6 @@ SELECT module,is_reserved * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if (empty($this->_ufGroup['id'])) { @@ -248,7 +246,6 @@ SELECT module,is_reserved /** * Process the user submitted custom data values. * - * @access public * * @return void */ @@ -315,7 +312,6 @@ SELECT module,is_reserved * * This is a first version and will be tweaked over a period of time * - * @access public * * @return boolean true if no error found */ diff --git a/CRM/Profile/Form/Search.php b/CRM/Profile/Form/Search.php index a4d24b10bd..0d3675348e 100644 --- a/CRM/Profile/Form/Search.php +++ b/CRM/Profile/Form/Search.php @@ -50,7 +50,6 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form { * * @return void * - * @access public * */ public function preProcess() { @@ -61,7 +60,6 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -104,7 +102,6 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { // Is proximity search enabled for this profile? @@ -130,7 +127,6 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form { /** * * - * @access public * * @return void */ diff --git a/CRM/Profile/Page/Dynamic.php b/CRM/Profile/Page/Dynamic.php index 099894bb75..f6dd50977e 100644 --- a/CRM/Profile/Page/Dynamic.php +++ b/CRM/Profile/Page/Dynamic.php @@ -47,7 +47,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * The contact id of the person we are viewing * * @var int - * @access protected */ protected $_id; @@ -55,7 +54,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * The profile group are are interested in * * @var int - * @access protected */ protected $_gid; @@ -63,7 +61,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * The profile types we restrict this page to display * * @var string - * @access protected */ protected $_restrict; @@ -71,7 +68,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * Should we bypass permissions * * @var boolean - * @access protected */ protected $_skipPermission; @@ -115,7 +111,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * @param null $profileIds * * @return \CRM_Profile_Page_Dynamic - * @access public */ public function __construct($id, $gid, $restrict, $skipPermission = FALSE, $profileIds = NULL) { parent::__construct(); @@ -183,7 +178,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * type of action and executes that action. * * @return void - * @access public * */ public function run() { @@ -415,7 +409,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -430,7 +423,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * i.e. we dont override * * @return string - * @access public */ /** * @return string diff --git a/CRM/Profile/Page/Listings.php b/CRM/Profile/Page/Listings.php index 73586cd755..fc8ef49053 100644 --- a/CRM/Profile/Page/Listings.php +++ b/CRM/Profile/Page/Listings.php @@ -45,7 +45,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * All the fields that are listings related * * @var array - * @access protected */ protected $_fields; @@ -53,7 +52,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * The custom fields for this domain * * @var array - * @access protected */ protected $_customFields; @@ -61,7 +59,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * The input params from the request * * @var array - * @access protected */ protected $_params; @@ -97,7 +94,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * the selector object to do a query * * @return void - * @access public * */ public function preProcess() { @@ -403,7 +399,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * @param int $gid * * @return array - * @access public */ public function getProfileContact($gid) { $session = CRM_Core_Session::singleton(); @@ -486,7 +481,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -501,7 +495,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * i.e. we dont override * * @return string - * @access public */ /** * @return string diff --git a/CRM/Profile/Page/MultipleRecordFieldsListing.php b/CRM/Profile/Page/MultipleRecordFieldsListing.php index bdf4d4b1ca..1804ff7601 100644 --- a/CRM/Profile/Page/MultipleRecordFieldsListing.php +++ b/CRM/Profile/Page/MultipleRecordFieldsListing.php @@ -137,7 +137,6 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic { * method. * * @return void - * @access public * */ public function run() { @@ -168,7 +167,6 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic { * Browse the listing * * @return void - * @access public */ public function browse() { $dateFields = NULL; diff --git a/CRM/Profile/Page/Router.php b/CRM/Profile/Page/Router.php index c87a24eefe..78d818d17c 100644 --- a/CRM/Profile/Page/Router.php +++ b/CRM/Profile/Page/Router.php @@ -45,7 +45,6 @@ class CRM_Profile_Page_Router extends CRM_Core_Page { * * @return string|void * @static - * @access public */ public function run($args = NULL) { if ($args[1] !== 'profile') { diff --git a/CRM/Profile/Page/View.php b/CRM/Profile/Page/View.php index 6926b03f20..fd645fccfb 100644 --- a/CRM/Profile/Page/View.php +++ b/CRM/Profile/Page/View.php @@ -58,7 +58,6 @@ class CRM_Profile_Page_View extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public * */ public function preProcess() { @@ -167,7 +166,6 @@ class CRM_Profile_Page_View extends CRM_Core_Page { * Build the outcome basing on the CRM_Profile_Page_Dynamic's HTML * * @return void - * @access public * */ public function run() { @@ -204,7 +202,6 @@ class CRM_Profile_Page_View extends CRM_Core_Page { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string @@ -219,7 +216,6 @@ class CRM_Profile_Page_View extends CRM_Core_Page { * i.e. we dont override * * @return string - * @access public */ /** * @return string diff --git a/CRM/Profile/Selector/Listings.php b/CRM/Profile/Selector/Listings.php index 1bbd39fa12..eda961b129 100644 --- a/CRM/Profile/Selector/Listings.php +++ b/CRM/Profile/Selector/Listings.php @@ -61,7 +61,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * The sql params we use to get the list of contacts * * @var string - * @access protected */ protected $_params; @@ -69,7 +68,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * The public visible fields to be shown to the user * * @var array - * @access protected */ protected $_fields; @@ -77,7 +75,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * The custom fields for this domain * * @var array - * @access protected */ protected $_customFields; @@ -85,7 +82,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * Cache the query object * * @var object - * @access protected */ protected $_query; @@ -93,7 +89,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * Cache the expanded options list if any * * @var object - * @access protected */ protected $_options; @@ -219,7 +214,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * @param null $gids * * @return array - * @access public */ public static function &links($map = FALSE, $editLink = FALSE, $ufLink = FALSE, $gids = NULL) { if (!self::$_links) { @@ -282,7 +276,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * @param $action * @param array $params * - * @access public */ public function getPagerParams($action, &$params) { $status = @@ -303,7 +296,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * @param enum $output what should the result set include (web/email/csv) * * @return array the column headers that need to be displayed - * @access public */ public function &getColumnHeaders($action = NULL, $output = NULL) { static $skipFields = array('group', 'tag'); @@ -394,7 +386,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * @param * * @return int Total number of rows - * @access public */ public function getTotalCount($action) { $additionalWhereClause = 'contact_a.is_deleted = 0'; @@ -425,7 +416,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * Return the qill for this selector * * @return string - * @access public */ public function getQill() { return $this->_query->qill(); diff --git a/CRM/Report/BAO/ReportInstance.php b/CRM/Report/BAO/ReportInstance.php index 552b3da278..271248870b 100644 --- a/CRM/Report/BAO/ReportInstance.php +++ b/CRM/Report/BAO/ReportInstance.php @@ -45,7 +45,6 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Report_DAO_ReportInstance object - * @access public * @static */ public static function add(&$params) { @@ -126,7 +125,6 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance { * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Report_BAO_ReportInstance object - * @access public * @static */ public static function &create(&$params) { diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index d592268208..9b0dbb4fd2 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -2941,7 +2941,6 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string diff --git a/CRM/Report/Form/Register.php b/CRM/Report/Form/Register.php index 670c674b0e..42e63507cb 100644 --- a/CRM/Report/Form/Register.php +++ b/CRM/Report/Form/Register.php @@ -176,7 +176,6 @@ class CRM_Report_Form_Register extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/Report/Info.php b/CRM/Report/Info.php index 92f8754454..421d96206f 100644 --- a/CRM/Report/Info.php +++ b/CRM/Report/Info.php @@ -47,7 +47,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * class. * * @return array collection of required component settings - * @access public * */ /** @@ -76,7 +75,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * @param bool $getAllUnconditionally * * @return array|null collection of permissions, null if none - * @access public */ /** * @param bool $getAllUnconditionally @@ -95,7 +93,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -110,7 +107,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * Provides component's user dashboard page object. * * @return mixed component's User Dashboard applet object - * @access public * */ /** @@ -128,7 +124,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * @access public * */ /** @@ -146,7 +141,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * @access public * */ /** @@ -165,7 +159,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * @access public * */ /** diff --git a/CRM/Report/Page/InstanceList.php b/CRM/Report/Page/InstanceList.php index 7bab2fb834..9fd78bca4d 100644 --- a/CRM/Report/Page/InstanceList.php +++ b/CRM/Report/Page/InstanceList.php @@ -84,7 +84,6 @@ class CRM_Report_Page_InstanceList extends CRM_Core_Page { * or by component ($compID) * * @return array $rows - * @access public * @static */ public function &info() { diff --git a/CRM/Report/Page/Options.php b/CRM/Report/Page/Options.php index 60326ba0ba..5d991adc6f 100644 --- a/CRM/Report/Page/Options.php +++ b/CRM/Report/Page/Options.php @@ -77,7 +77,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { * Obtains the group name from url and sets the title. * * @return void - * @access public * */ public function preProcess() { @@ -163,7 +162,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { * * * @return void - * @access public * @static */ public function browse() { @@ -218,7 +216,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { * @param int $mode mode that we are in * * @return string - * @access public */ public function userContextParams($mode = NULL) { return 'reset=1&action=browse'; diff --git a/CRM/Report/Utils/Report.php b/CRM/Report/Utils/Report.php index 3cf37431b9..23e364e695 100644 --- a/CRM/Report/Utils/Report.php +++ b/CRM/Report/Utils/Report.php @@ -361,7 +361,6 @@ WHERE inst.report_id = %1"; * * @return boolean true if yes, else false * @static - * @access public */ public static function isInstanceGroupRoleAllowed($instanceId) { if (!$instanceId) { diff --git a/CRM/SMS/BAO/Provider.php b/CRM/SMS/BAO/Provider.php index f64b84394d..dbe70252d5 100644 --- a/CRM/SMS/BAO/Provider.php +++ b/CRM/SMS/BAO/Provider.php @@ -37,7 +37,6 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider { /** * Class constructor * - * @access public * @return \CRM_SMS_DAO_Provider */ /** @@ -58,7 +57,6 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider { /* * Retrieves the list of providers from the database * - * @access public * $selectArr array of coloumns to fetch * $getActive boolean to get active providers */ diff --git a/CRM/SMS/Form/Group.php b/CRM/SMS/Form/Group.php index a8326748e3..8ea5abad6d 100644 --- a/CRM/SMS/Form/Group.php +++ b/CRM/SMS/Form/Group.php @@ -43,7 +43,6 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { if (!CRM_SMS_BAO_Provider::activeProviderCount()) { @@ -58,7 +57,6 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -106,7 +104,6 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { @@ -299,7 +296,6 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task { /** * Display Name of the form * - * @access public * * @return string */ @@ -314,7 +310,6 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields) { $errors = array(); diff --git a/CRM/SMS/Form/Provider.php b/CRM/SMS/Form/Provider.php index 4cfcb81f8e..ae80275e0d 100644 --- a/CRM/SMS/Form/Provider.php +++ b/CRM/SMS/Form/Provider.php @@ -65,7 +65,6 @@ class CRM_SMS_Form_Provider extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); @@ -166,7 +165,6 @@ class CRM_SMS_Form_Provider extends CRM_Core_Form { /** * Process the form submission * - * @access public * * @return void */ diff --git a/CRM/SMS/Form/Schedule.php b/CRM/SMS/Form/Schedule.php index 2d62a0a96d..e00e387811 100644 --- a/CRM/SMS/Form/Schedule.php +++ b/CRM/SMS/Form/Schedule.php @@ -42,7 +42,6 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { @@ -56,7 +55,6 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form { /** * Set default values for the form. * - * @access public * * @return void */ @@ -76,7 +74,6 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form { * @param * * @return void - * @access public */ public function buildQuickform() { $this->addDateTime('start_date', ts('Schedule SMS'), FALSE, array('formatType' => 'mailing')); @@ -153,7 +150,6 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form { * @param * * @return void - * @access public */ public function postProcess() { $params = array(); @@ -206,7 +202,6 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form { /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/SMS/Form/Upload.php b/CRM/SMS/Form/Upload.php index c453f3c87d..c2c2837bf6 100644 --- a/CRM/SMS/Form/Upload.php +++ b/CRM/SMS/Form/Upload.php @@ -50,7 +50,6 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form { * Set default values for the form. * the default values are retrieved from the database * - * @access public * * @return void */ @@ -123,7 +122,6 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { $session = CRM_Core_Session::singleton(); @@ -298,7 +296,6 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form { * @param $self * * @return mixed true or array of errors - * @access public * @static */ public static function formRule($params, $files, $self) { @@ -428,7 +425,6 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form { /** * Display Name of the form * - * @access public * * @return string */ diff --git a/CRM/SMS/Page/Provider.php b/CRM/SMS/Page/Provider.php index b4286807e0..b638438167 100644 --- a/CRM/SMS/Page/Provider.php +++ b/CRM/SMS/Page/Provider.php @@ -100,7 +100,6 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public * */ public function run() { @@ -129,7 +128,6 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @access public * @static */ public function browse($action = NULL) { diff --git a/CRM/SMS/Provider.php b/CRM/SMS/Provider.php index 5cd67c9a63..9f49ca54f3 100644 --- a/CRM/SMS/Provider.php +++ b/CRM/SMS/Provider.php @@ -91,14 +91,12 @@ abstract class CRM_SMS_Provider { /** * Send an SMS Message via the API Server * - * @access public */ abstract function send($recipients, $header, $message, $dncID = NULL); /** * Return message text. Child class could override this function to have better control over the message being sent. * - * @access public */ public function getMessage($message, $contactID, $contactDetails) { $html = $message->getHTMLBody(); diff --git a/CRM/Tag/Form/Tag.php b/CRM/Tag/Form/Tag.php index b9c406e7cf..f33e432fbe 100644 --- a/CRM/Tag/Form/Tag.php +++ b/CRM/Tag/Form/Tag.php @@ -69,7 +69,6 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { CRM_Core_Resources::singleton() @@ -113,7 +112,6 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form { } /** - * @access public * * @return void */ diff --git a/CRM/UF/Form/AbstractPreview.php b/CRM/UF/Form/AbstractPreview.php index a3410e5e4a..966c897df3 100644 --- a/CRM/UF/Form/AbstractPreview.php +++ b/CRM/UF/Form/AbstractPreview.php @@ -74,7 +74,6 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form { /** * Set the default form values * - * @access protected * * @return array the default array reference */ @@ -96,7 +95,6 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { foreach ($this->_fields as $name => $field) { @@ -110,7 +108,6 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string diff --git a/CRM/UF/Form/AdvanceSetting.php b/CRM/UF/Form/AdvanceSetting.php index 86427be3e4..b4a5ce7af7 100644 --- a/CRM/UF/Form/AdvanceSetting.php +++ b/CRM/UF/Form/AdvanceSetting.php @@ -37,7 +37,6 @@ class CRM_UF_Form_AdvanceSetting extends CRM_UF_Form_Group { /** * Build the form object for Advance Settings. * - * @access public * * @param CRM_Core_Form $form * diff --git a/CRM/UF/Form/Field.php b/CRM/UF/Form/Field.php index 1f7f0f6f52..6080212088 100644 --- a/CRM/UF/Form/Field.php +++ b/CRM/UF/Form/Field.php @@ -42,7 +42,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * The uf group id saved to the session for an update * * @var int - * @access protected */ protected $_gid; @@ -50,7 +49,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * The field id, used when editing the field * * @var int - * @access protected */ protected $_id; @@ -58,7 +56,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * The set of fields that we can view/edit in the user field framework * * @var array - * @access protected */ protected $_fields; @@ -66,7 +63,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * The title for field * * @var int - * @access protected */ protected $_title; @@ -74,7 +70,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * The set of fields sent to the select element * * @var array - * @access protected */ protected $_selectFields; @@ -82,7 +77,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * To store fields with if locationtype exits status * * @var array - * @access protected */ protected $_hasLocationTypes; @@ -91,7 +85,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * or is any field having in selector true. * * @var boolean. - * @access protected */ protected $_hasSearchableORInSelector; @@ -99,7 +92,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { $this->_gid = CRM_Utils_Request::retrieve('gid', 'Positive', $this); @@ -186,7 +178,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & CRM_Core_Action::DELETE) { @@ -507,7 +498,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * Process the form * * @return void - * @access public */ public function postProcess() { $ids = array('uf_group' => $this->_gid); @@ -627,7 +617,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRuleSubType($fieldType, $groupType, $errors) { if (in_array($fieldType, array( @@ -670,7 +659,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * * @return Array list of errors to be posted back to the form * @static - * @access public */ public static function formRuleCustomDataExtentColumnValue($customField, $gid, $fieldType, &$errors) { // fix me : check object $customField @@ -715,7 +703,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * @param Array $errors Collect errors * * @static - * @access public */ public static function formRulePrimaryCheck($fields, $profileFieldName, $groupFields, &$errors) { //FIXME: This may need to also apply to website fields if they are refactored to allow more than one per profile @@ -755,7 +742,6 @@ class CRM_UF_Form_Field extends CRM_Core_Form { * * @return array list of errors to be posted back to the form * @static - * @access public */ public static function formRule($fields, $files, $self) { $is_required = CRM_Utils_Array::value('is_required', $fields, FALSE); diff --git a/CRM/UF/Form/Group.php b/CRM/UF/Form/Group.php index 9699c5815a..9ca71f2a53 100644 --- a/CRM/UF/Form/Group.php +++ b/CRM/UF/Form/Group.php @@ -42,7 +42,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * The form id saved to the session for an update * * @var int - * @access protected */ protected $_id; @@ -50,7 +49,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * The title for group * * @var int - * @access protected */ protected $_title; protected $_groupElement; @@ -61,7 +59,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * Set variables up before form is built * * @return void - * @access public */ public function preProcess() { // current form id @@ -112,7 +109,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_action & (CRM_Core_Action::DISABLE | CRM_Core_Action::DELETE)) { @@ -211,7 +207,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * Set default values for the form. Note that in edit/view mode * the default values are retrieved from the database * - * @access public * * @return void */ @@ -291,7 +286,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * @param array $self current form object. * * @return true if no errors, else array of errors - * @access public * @static */ public static function formRule($fields, $files, $self) { @@ -316,7 +310,6 @@ class CRM_UF_Form_Group extends CRM_Core_Form { * Process the form * * @return void - * @access public */ public function postProcess() { if ($this->_action & CRM_Core_Action::DELETE) { diff --git a/CRM/UF/Form/Inline/Preview.php b/CRM/UF/Form/Inline/Preview.php index b0df01f58d..2fe4a3c825 100644 --- a/CRM/UF/Form/Inline/Preview.php +++ b/CRM/UF/Form/Inline/Preview.php @@ -49,7 +49,6 @@ class CRM_UF_Form_Inline_Preview extends CRM_UF_Form_AbstractPreview { * * @return void * - * @access public * */ public function preProcess() { diff --git a/CRM/UF/Form/Inline/PreviewById.php b/CRM/UF/Form/Inline/PreviewById.php index 724a19a849..39c94c1ecf 100644 --- a/CRM/UF/Form/Inline/PreviewById.php +++ b/CRM/UF/Form/Inline/PreviewById.php @@ -49,7 +49,6 @@ class CRM_UF_Form_Inline_PreviewById extends CRM_UF_Form_AbstractPreview { * * @return void * - * @access public * */ public function preProcess() { diff --git a/CRM/UF/Form/Preview.php b/CRM/UF/Form/Preview.php index 6b87f24151..489b49645c 100644 --- a/CRM/UF/Form/Preview.php +++ b/CRM/UF/Form/Preview.php @@ -49,7 +49,6 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview { * * @return void * - * @access public * */ public function preProcess() { @@ -129,7 +128,6 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { parent::buildQuickForm(); diff --git a/CRM/UF/Page/Field.php b/CRM/UF/Page/Field.php index fcc1e2ba51..c6a70f460e 100644 --- a/CRM/UF/Page/Field.php +++ b/CRM/UF/Page/Field.php @@ -49,7 +49,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * The group id of the field * * @var int - * @access protected */ protected $_gid; @@ -57,7 +56,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * The action links that we need to display for the browse screen * * @var array - * @access private */ private static $_actionLinks; @@ -106,7 +104,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * Browse all CiviCRM Profile group fields. * * @return void - * @access public * @static */ public function browse() { @@ -211,7 +208,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($action) { // create a simple controller for editing CiviCRM Profile data @@ -235,7 +231,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * type of action and executes that action. * * @return void - * @access public * */ public function run() { @@ -287,7 +282,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * @param int $groupId * * @return void - * @access public */ public function preview($fieldId, $groupId) { $controller = new CRM_Core_Controller_Simple('CRM_UF_Form_Preview', ts('Preview Custom Data'), CRM_Core_Action::PREVIEW); diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index ff36ea3fb0..ab86224ef8 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -140,7 +140,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * @param * * @return void - * @access public */ public function run() { // get the requested action @@ -193,7 +192,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * all the fields in the profile * * @return void - * @access public */ public function copy() { $gid = CRM_Utils_Request::retrieve('gid', 'Positive', @@ -208,7 +206,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * This function is for profile mode (standalone html form ) for uf group * * @return void - * @access public */ public function profile() { $config = CRM_Core_Config::singleton(); @@ -275,7 +272,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * @param string $action the action to be invoked * * @return void - * @access public */ public function edit($id, $action) { // create a simple controller for editing uf data @@ -293,7 +289,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * @param * * @return void - * @access public * @static */ public function browse($action = NULL) { @@ -390,7 +385,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * @param $action * * @return void - * @access public */ public function preview($id, $action) { $controller = new CRM_Core_Controller_Simple('CRM_UF_Form_Preview', ts('CiviCRM Profile Group Preview'), NULL); diff --git a/CRM/Upgrade/Form.php b/CRM/Upgrade/Form.php index ac002dca8b..44256e2e51 100644 --- a/CRM/Upgrade/Form.php +++ b/CRM/Upgrade/Form.php @@ -217,7 +217,6 @@ class CRM_Upgrade_Form extends CRM_Core_Form { * Getter function for title. Should be over-ridden by derived class * * @return string - * @access public */ /** * @return string @@ -244,7 +243,6 @@ class CRM_Upgrade_Form extends CRM_Core_Form { * Use the form name to create the tpl file name * * @return string - * @access public */ /** * @return string diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php index 33a40449ee..749eac8367 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php @@ -51,7 +51,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * @param array $params (reference ) an assoc array of name/value pairs * * @return CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field object - * @access public * @static */ public static function &add(&$params) { @@ -75,7 +74,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field object - * @access public * @static */ public static function create(&$params) { @@ -160,7 +158,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -175,7 +172,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -189,7 +185,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * * @return string name * - * @access public * @static * */ @@ -210,7 +205,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * @param array $freezeOptions * * @return null - * @access public * @static */ public static function addQuickFormElement(&$qf, @@ -505,7 +499,6 @@ WHERE * * @return boolean * - * @access public * @static * */ @@ -555,7 +548,6 @@ WHERE * @param $fields * @param $error * - * @access public * @static */ diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php index 9bcfa1255b..3007dee6ac 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php @@ -47,7 +47,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * @param $ids * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue object - * @access public * @static */ public static function &add(&$params, $ids) { @@ -76,7 +75,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * @param $ids * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue object - * @access public * @static */ public static function create(&$params, $ids) { @@ -117,7 +115,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -134,7 +131,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * * @return array $values * - * @access public * @static */ public static function getValues($fieldId, &$values, $orderBy = 'weight', $isActive = FALSE) { @@ -160,7 +156,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * * @return string name * - * @access public * @static * */ @@ -176,7 +171,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * * @return Object DAO object on sucess, null otherwise * - * @access public * @static */ public static function setIsActive($id, $is_active) { @@ -190,7 +184,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * * @return boolean * - * @access public * @static */ public static function deleteValues($fieldId) { @@ -210,7 +203,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * * @return boolean * - * @access public * @static */ public static function del($id) { diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/LineItem.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/LineItem.php index c70dc527f8..0743bba66f 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/LineItem.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/LineItem.php @@ -51,7 +51,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem extends CRM_Upgrade_Snapshot_ * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem object - * @access public * @static */ public static function create(&$params) { @@ -79,7 +78,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem extends CRM_Upgrade_Snapshot_ * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -179,7 +177,6 @@ WHERE %2.id = %1"; * lineItem array) * * @return void - * @access static */ public static function format($fid, &$params, &$fields, &$values) { if (empty($params["price_{$fid}"])) { @@ -236,7 +233,6 @@ WHERE %2.id = %1"; * @param int $entityTable * * @return bool - * @access public * @static */ public static function deleteLineItems($entityId, $entityTable) { diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php index 0faff56175..e3f8489638 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php @@ -52,7 +52,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_ * @param array $params (reference) an assoc array of name/value pairs * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set object - * @access public * @static */ public static function create(&$params) { @@ -71,7 +70,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_ * @param array $defaults (reference ) an assoc array to hold the flattened values * * @return CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set object - * @access public * @static */ public static function retrieve(&$params, &$defaults) { @@ -86,7 +84,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_ * * @return Object DAO object on sucess, null otherwise * @static - * @access public */ public static function setIsActive($id, $isActive) { return CRM_Core_DAO::setFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set', $id, 'is_active', $isActive); @@ -100,7 +97,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_ * * @return id $priceSetID * - * @access public * @static * */ @@ -140,7 +136,6 @@ WHERE ps.name = '{$entityName}' * * @return string title * - * @access public * @static * */ @@ -257,7 +252,6 @@ WHERE ct.id = cp.contribution_type_id AND * @return boolean false if fields exist for this set, true if the * set could be deleted * - * @access public * @static */ public static function deleteSet($id) { @@ -380,7 +374,6 @@ WHERE ct.id = cp.contribution_type_id AND * * @return price set id on success, null otherwise * @static - * @access public */ public static function getSetId(&$params) { $fid = NULL; @@ -761,7 +754,6 @@ WHERE id = %1"; * @param CRM_Core_Form $form * * @return void - * @access public */ static function buildPriceSet(&$form) { $priceSetId = $form->get('priceSetId'); @@ -871,7 +863,6 @@ return FALSE; * @param $defaults * * @return array $defaults - * @access public */ static function setDefaultPriceSet(&$form, &$defaults) { if (!isset($form->_priceSet) || empty($form->_priceSet['fields'])) { @@ -900,7 +891,6 @@ return $defaults; * * @return array of the field ids * - * @access public * @static */ public static function getFieldIds($id) { @@ -920,7 +910,6 @@ return $var; * @param int $id the price set id to copy * * @return the copy object - * @access public * @static */ static function copy($id) { @@ -989,7 +978,6 @@ return TRUE; * @param bool $onlyActive * * @return int|null|string - * @access public * @static */ public static function getPricesetCount($sid, $onlyActive = TRUE) { @@ -1096,7 +1084,6 @@ return 0; * * @return array associate array of frequency interval and unit * @static - * @access public */ public static function getRecurDetails($priceSetId) { $query = 'SELECT mt.duration_interval, mt.duration_unit @@ -1129,7 +1116,6 @@ return 0; * * @return Object DAO object on sucess, null otherwise * @static - * @access public */ public static function setIsQuickConfig($id, $isQuickConfig) { return CRM_Core_DAO::setFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set', $id, 'is_quick_config', $isQuickConfig); diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php index 3c4c5df302..510a8bbc27 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php @@ -189,7 +189,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * Class constructor * - * @access public * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field */ public function __construct() @@ -200,7 +199,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * return foreign links * - * @access public * @return array */ public function links() @@ -215,7 +213,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * returns all the column names of this table * - * @access public * @return array */ static function &fields() @@ -332,7 +329,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * returns the names of this table * - * @access public * @static * @return string */ @@ -343,7 +339,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * returns if this table needs to be logged * - * @access public * @return boolean */ public function getLog() @@ -353,7 +348,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * returns the list of fields that can be imported * - * @access public * return array * @static */ @@ -377,7 +371,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO /** * returns the list of fields that can be exported * - * @access public * return array * @static */ diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php index ce70c98e95..321e318566 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php @@ -160,7 +160,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * Class constructor * - * @access public * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue */ public function __construct() @@ -171,7 +170,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * return foreign links * - * @access public * @return array */ public function links() @@ -187,7 +185,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * returns all the column names of this table * - * @access public * @return array */ static function &fields() @@ -275,7 +272,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * returns the names of this table * - * @access public * @static * @return string */ @@ -286,7 +282,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * returns if this table needs to be logged * - * @access public * @return boolean */ public function getLog() @@ -296,7 +291,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * returns the list of fields that can be imported * - * @access public * return array * @static */ @@ -320,7 +314,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO /** * returns the list of fields that can be exported * - * @access public * return array * @static */ diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php index 9aabf563bc..776852c0b2 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php @@ -148,7 +148,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * Class constructor * - * @access public * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem */ public function __construct() @@ -159,7 +158,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * return foreign links * - * @access public * @return array */ public function links() @@ -175,7 +173,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * returns all the column names of this table * - * @access public * @return array */ static function &fields() @@ -251,7 +248,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * returns the names of this table * - * @access public * @static * @return string */ @@ -262,7 +258,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * returns if this table needs to be logged * - * @access public * @return boolean */ public function getLog() @@ -272,7 +267,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * returns the list of fields that can be imported * - * @access public * return array * @static */ @@ -296,7 +290,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO /** * returns the list of fields that can be exported * - * @access public * return array * @static */ diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php index b6c66e64ef..0dc46b6bfd 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php @@ -160,7 +160,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * Class constructor * - * @access public * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set */ public function __construct() @@ -171,7 +170,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * return foreign links * - * @access public * @return array */ public function links() @@ -187,7 +185,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * returns all the column names of this table * - * @access public * @return array */ static function &fields() @@ -275,7 +272,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * returns the names of this table * - * @access public * @static * @return string */ @@ -286,7 +282,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * returns if this table needs to be logged * - * @access public * @return boolean */ public function getLog() @@ -296,7 +291,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * returns the list of fields that can be imported * - * @access public * return array * @static */ @@ -320,7 +314,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO /** * returns the list of fields that can be exported * - * @access public * return array * @static */ diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php index 92c6d33569..22d70118a9 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php @@ -112,7 +112,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * Class constructor * - * @access public * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity */ public function __construct() @@ -123,7 +122,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * return foreign links * - * @access public * @return array */ public function links() @@ -138,7 +136,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * returns all the column names of this table * - * @access public * @return array */ static function &fields() @@ -176,7 +173,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * returns the names of this table * - * @access public * @static * @return string */ @@ -187,7 +183,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * returns if this table needs to be logged * - * @access public * @return boolean */ public function getLog() @@ -197,7 +192,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * returns the list of fields that can be imported * - * @access public * return array * @static */ @@ -221,7 +215,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO /** * returns the list of fields that can be exported * - * @access public * return array * @static */ diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index b2a193a180..435c45bdaf 100644 --- a/CRM/Utils/Array.php +++ b/CRM/Utils/Array.php @@ -39,7 +39,6 @@ class CRM_Utils_Array { * If $list is not actually an array at all, then the default value is * returned. * - * @access public * * @param string $key * Key value to look up in the array. @@ -71,7 +70,6 @@ class CRM_Utils_Array { * * @return mixed * The value of the key, or null if the key is not found. - * @access public */ public static function retrieveValueRecursive(&$params, $key) { if (!is_array($params)) { @@ -99,7 +97,6 @@ class CRM_Utils_Array { * version 4.2.0, which was to return NULL on failure. This function also * checks that $list is an array before attempting to search it. * - * @access public * * @param mixed $value * The value to search for. @@ -135,7 +132,6 @@ class CRM_Utils_Array { * @param string $seperator * (optional) String to be appended after open/close tags. * - * @access public * * @return string * XML fragment representing $list. @@ -236,7 +232,6 @@ class CRM_Utils_Array { * @param string $seperator * (optional) String that separates the concatenated keys. * - * @access public */ public static function flatten(&$list, &$flat, $prefix = '', $seperator = ".") { foreach ($list as $name => $value) { @@ -265,7 +260,6 @@ class CRM_Utils_Array { * @return array * Array-encoded tree * - * @access public */ public function unflatten($delim, &$arr) { $result = array(); @@ -301,7 +295,6 @@ class CRM_Utils_Array { * * @return array * The merged array. - * @access public */ public static function crmArrayMerge($a1, $a2) { if (empty($a1)) { @@ -343,7 +336,6 @@ class CRM_Utils_Array { * * @return bool * True if $list contains at least one sub-array, false otherwise. - * @access public */ public static function isHierarchical(&$list) { foreach ($list as $n => $v) { @@ -381,7 +373,6 @@ class CRM_Utils_Array { * @return bool * True if $value was found, false otherwise. * - * @access public */ public static function crmInArray($value, $params, $caseInsensitive = TRUE) { foreach ($params as $item) { @@ -453,7 +444,6 @@ class CRM_Utils_Array { * * @return boolean * True if the array is empty. - * @access public */ public static function crmIsEmptyArray($array = array()) { if (!is_array($array)) { diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index 9feff6fa25..c680a4fed9 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -795,7 +795,6 @@ class CRM_Utils_Date { * @param date $birthDate Birth Date * * @return int array $results contains years or months - * @access public * @static */ static public function calculateAge($birthDate) { @@ -857,7 +856,6 @@ class CRM_Utils_Date { * @param bool $dontCareTime * * @return array $result contains new date with added interval - * @access public */ public static function intervalAdd($unit, $interval, $date, $dontCareTime = FALSE) { if (is_array($date)) { @@ -1617,7 +1615,6 @@ class CRM_Utils_Date { * @param int $fyMonth Fiscal Start Month * * @return int $fy Current Fiscl Year - * @access public * @static */ public static function calculateFiscalYear($fyDate, $fyMonth) { diff --git a/CRM/Utils/DeprecatedUtils.php b/CRM/Utils/DeprecatedUtils.php index 04aea002c4..600de55d2f 100644 --- a/CRM/Utils/DeprecatedUtils.php +++ b/CRM/Utils/DeprecatedUtils.php @@ -46,7 +46,6 @@ require_once 'api/v3/utils.php'; * be used for CRM_vent_BAO_Participant:create() * * @return array|CRM_Error - * @access public */ function _civicrm_api3_deprecated_participant_formatted_param($params, &$values, $create = FALSE) { $fields = CRM_Event_DAO_Participant::fields(); @@ -218,7 +217,6 @@ function _civicrm_api3_deprecated_participant_formatted_param($params, &$values, * @param null $onDuplicate * * @return array|CRM_Error - * @access public */ function _civicrm_api3_deprecated_formatted_param($params, &$values, $create = FALSE, $onDuplicate = Null) { // copy all the contribution fields as is @@ -678,7 +676,6 @@ function _civicrm_api3_deprecated_check_contact_dedupe($params) { * be used for CRM_Activity_BAO_Activity::create() * * @return array|CRM_Error - * @access public */ function _civicrm_api3_deprecated_activity_formatted_param(&$params, &$values, $create = FALSE) { // copy all the activity fields as is @@ -755,7 +752,6 @@ function _civicrm_api3_deprecated_activity_formatted_param(&$params, &$values, $ * @param array $params The structured parameter list * * @return bool|CRM_Utils_Error - * @access public */ function _civicrm_api3_deprecated_add_formatted_param(&$values, &$params) { /* Crawl through the possible classes: @@ -970,7 +966,6 @@ function _civicrm_api3_deprecated_add_formatted_param(&$values, &$params) { * @param array $params The structured parameter list * * @return bool - * @access public */ function _civicrm_api3_deprecated_add_formatted_location_blocks(&$values, &$params) { static $fields = NULL; @@ -1160,7 +1155,6 @@ function _civicrm_api3_deprecated_duplicate_formatted_contact($params) { * @param array $params Structured parameter list (as in crm_format_params) * * @return bool|CRM_Core_Error - * @access public */ function _civicrm_api3_deprecated_validate_formatted_contact(&$params) { /* Look for offending email addresses */ @@ -1295,7 +1289,6 @@ function _civicrm_api3_deprecated_participant_check_params($params, $checkDuplic * @param string $csType contact subtype if exists/passed. * * @return null on success, error message otherwise - * @access public */ function _civicrm_api3_deprecated_contact_check_custom_params($params, $csType = NULL) { empty($csType) ? $onlyParent = TRUE : $onlyParent = FALSE; diff --git a/CRM/Utils/File.php b/CRM/Utils/File.php index 2e630041bd..0e9888ed6d 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -44,7 +44,6 @@ class CRM_Utils_File { * @param string $name name of file * * @return boolean true if file is ascii - * @access public */ public static function isAscii($name) { $fd = fopen($name, "r"); @@ -71,7 +70,6 @@ class CRM_Utils_File { * @param string $name name of file * * @return boolean true if file is html - * @access public */ public static function isHtml($name) { $fd = fopen($name, "r"); @@ -102,7 +100,6 @@ class CRM_Utils_File { * @param boolean $abort should we abort or just return an invalid code * * @return void - * @access public * @static */ public static function createDir($path, $abort = TRUE) { @@ -135,7 +132,6 @@ class CRM_Utils_File { * * @throws Exception * @return void - * @access public * @static */ public static function cleanDir($target, $rmdir = TRUE, $verbose = TRUE) { @@ -201,7 +197,6 @@ class CRM_Utils_File { * @param string $name name of file * * @return boolean whether the file was recoded properly - * @access public */ public static function toUtf8($name) { static $config = NULL; @@ -248,7 +243,6 @@ class CRM_Utils_File { * @param string $slash * * @return string - * @access public * @static */ public static function addTrailingSlash($path, $slash = NULL) { diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 5fd710803e..13984585b6 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -276,7 +276,6 @@ abstract class CRM_Utils_Hook { * * @return mixed based on op. pre-hooks return a boolean or * an error message which aborts the operation - * @access public */ public static function post($op, $objectName, $objectId, &$objectRef) { $event = new \Civi\Core\Event\PostEvent($op, $objectName, $objectId, $objectRef); @@ -439,7 +438,6 @@ abstract class CRM_Utils_Hook { * @param array $entities List of pending entities * * @return null the return value is ignored - * @access public */ public static function managed(&$entities) { return self::singleton()->invoke(1, $entities, @@ -456,7 +454,6 @@ abstract class CRM_Utils_Hook { * relative to the activity list * * @return string the html snippet to include in the dashboard - * @access public */ public static function dashboard($contactID, &$contentPlacement = self::DASHBOARD_BELOW) { $retval = self::singleton()->invoke(2, $contactID, $contentPlacement, @@ -482,7 +479,6 @@ abstract class CRM_Utils_Hook { * @param array $recentArray - an array of recently viewed or processed items, for in place modification * * @return array - * @access public */ public static function recent(&$recentArray) { return self::singleton()->invoke(1, $recentArray, @@ -516,7 +512,6 @@ abstract class CRM_Utils_Hook { * @param array $amount - the amount structure to be displayed * * @return null - * @access public */ public static function buildAmount($pageType, &$form, &$amount) { return self::singleton()->invoke(3, $pageType, $form, $amount, self::$_nullObject, @@ -578,7 +573,6 @@ abstract class CRM_Utils_Hook { * @param array $tokens - the list of tokens that can be used for the contact * * @return null - * @access public */ public static function tokens(&$tokens) { return self::singleton()->invoke(1, $tokens, @@ -597,7 +591,6 @@ abstract class CRM_Utils_Hook { * @param string $className - the top level className from where the hook is invoked * * @return null - * @access public */ static function tokenValues(&$details, $contactIDs, @@ -615,7 +608,6 @@ abstract class CRM_Utils_Hook { * @param object $page - the page that will be rendered * * @return null - * @access public */ public static function pageRun(&$page) { return self::singleton()->invoke(1, $page, @@ -632,7 +624,6 @@ abstract class CRM_Utils_Hook { * @param object $object - reference to the copy * * @return null - * @access public */ public static function copy($objectName, &$object) { return self::singleton()->invoke(2, $objectName, $object, @@ -883,7 +874,6 @@ abstract class CRM_Utils_Hook { * * @return array of data to be displayed, where the key is a unique id to be used for styling (div id's) * and the value is an array with keys 'label' and 'value' specifying label/value pairs - * @access public */ public static function caseSummary($caseID) { return self::singleton()->invoke(1, $caseID, @@ -1020,7 +1010,6 @@ abstract class CRM_Utils_Hook { * @param array $query set of queries * * @return mixed - * @access public */ public static function dupeQuery($obj, $type, &$query) { return self::singleton()->invoke(3, $obj, $type, $query, @@ -1039,7 +1028,6 @@ abstract class CRM_Utils_Hook { * @param string $action (optional ) the requested action to be performed if the types was 'mailing' * * @return mixed - * @access public */ public static function emailProcessor($type, &$params, $mail, &$result, $action = NULL) { return self::singleton()->invoke(5, $type, $params, $mail, $result, $action, self::$_nullObject, 'civicrm_emailProcessor'); @@ -1061,7 +1049,6 @@ abstract class CRM_Utils_Hook { * fields - import fields * * @return void - * @access public */ public static function import($object, $usage, &$objectRef, &$params) { return self::singleton()->invoke(4, $object, $usage, $objectRef, $params, @@ -1150,7 +1137,6 @@ abstract class CRM_Utils_Hook { * @param array $ufGroups array of ufgroups for a module. * * @return null - * @access public */ public static function buildUFGroupsForModule($moduleName, &$ufGroups) { return self::singleton()->invoke(2, $moduleName, $ufGroups, @@ -1173,7 +1159,6 @@ abstract class CRM_Utils_Hook { * CRM_Utils_Mail_Incoming::EMAILPROCESSOR_IGNORE - skip this email address * * @return null - * @access public */ public static function emailProcessorContact($email, $contactID, &$result) { return self::singleton()->invoke(3, $email, $contactID, $result, @@ -1231,7 +1216,6 @@ abstract class CRM_Utils_Hook { * @param $object a reference to the page or form object * * @return mixed - * @access public */ public static function alterContent(&$content, $context, $tplName, &$object) { return self::singleton()->invoke(4, $content, $context, $tplName, $object, @@ -1250,7 +1234,6 @@ abstract class CRM_Utils_Hook { * @param $tplName reference the file name of the tpl * * @return mixed - * @access public */ public static function alterTemplateFile($formName, &$form, $context, &$tplName) { return self::singleton()->invoke(4, $formName, $form, $context, $tplName, @@ -1676,7 +1659,6 @@ abstract class CRM_Utils_Hook { * * @param array $angularModules list of modules * @return null the return value is ignored - * @access public * * @code * function mymod_civicrm_angularModules(&$angularModules) { diff --git a/CRM/Utils/ICalendar.php b/CRM/Utils/ICalendar.php index 3050001982..8b8f933d23 100644 --- a/CRM/Utils/ICalendar.php +++ b/CRM/Utils/ICalendar.php @@ -90,7 +90,6 @@ class CRM_Utils_ICalendar { * - 'text/plain' : used for iCal formatted feed * - 'text/xml' : used for gData or rss formatted feeds * - * @access public * * @param string $calendar The calendar data to be published. * @param string $content_type diff --git a/CRM/Utils/Mail.php b/CRM/Utils/Mail.php index 7875f29eae..bd41d8d6ec 100644 --- a/CRM/Utils/Mail.php +++ b/CRM/Utils/Mail.php @@ -54,7 +54,6 @@ class CRM_Utils_Mail { * * @param array $params (by reference) * - * @access public * * @return boolean true if a mail was sent, else false */ @@ -272,7 +271,6 @@ class CRM_Utils_Mail { * Get the Active outBound email * * @return boolean true if valid outBound email configuration found, false otherwise - * @access public * @static */ public static function validOutBoundMail() { diff --git a/CRM/Utils/PDF/Label.php b/CRM/Utils/PDF/Label.php index d2f43e0689..e51c2f523d 100644 --- a/CRM/Utils/PDF/Label.php +++ b/CRM/Utils/PDF/Label.php @@ -97,7 +97,6 @@ class CRM_Utils_PDF_Label extends TCPDF { * or an array of Label Format values. * @param string|\Unit $unit Unit of measure for the PDF document * - * @access public */ public function __construct($format, $unit = 'mm') { if (is_array($format)) { diff --git a/CRM/Utils/Pager.php b/CRM/Utils/Pager.php index 70d8749135..c713640dc2 100644 --- a/CRM/Utils/Pager.php +++ b/CRM/Utils/Pager.php @@ -135,7 +135,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * @param array $params the set of options needed to initialize the parent * constructor * - * @access public * * @return void * @@ -195,7 +194,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * @param array $params * * @return int new pageId to display to the user - * @access public */ public function getPageID($defaultPageId = 1, &$params) { // POST has higher priority than GET vars @@ -227,7 +225,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * @param int $defaultPageRowCount the default value if not set * * @return int the rowCount value to use - * @access public * */ public function getPageRowCount($defaultPageRowCount = self::ROWCOUNT) { @@ -251,7 +248,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * * @return array: an array of the pageID and offset * - * @access public * */ public function getOffsetAndRowCount() { diff --git a/CRM/Utils/PagerAToZ.php b/CRM/Utils/PagerAToZ.php index 44b534ae4c..6937ce6faf 100644 --- a/CRM/Utils/PagerAToZ.php +++ b/CRM/Utils/PagerAToZ.php @@ -48,7 +48,6 @@ class CRM_Utils_PagerAToZ { * @param bool $isDAO * * @return string The html formatted string - * @access public * @static */ public static function getAToZBar(&$query, $sortByCharacter, $isDAO = FALSE) { @@ -60,7 +59,6 @@ class CRM_Utils_PagerAToZ { * Return the all the static characters * * @return array $staticAlphabets is a array of static characters - * @access private * @static */ public static function getStaticCharacters() { @@ -75,7 +73,6 @@ class CRM_Utils_PagerAToZ { * @param $isDAO * * @return array $dynamicAlphabets is a array of dynamic characters - * @access private * @static */ public static function getDynamicCharacters(&$query, $isDAO) { @@ -105,7 +102,6 @@ class CRM_Utils_PagerAToZ { * @param $isDAO * * @return array with links - * @access private * @static */ public static function createLinks(&$query, $sortByCharacter, $isDAO) { diff --git a/CRM/Utils/PseudoConstant.php b/CRM/Utils/PseudoConstant.php index aa3f67fd65..466a8bf2ef 100644 --- a/CRM/Utils/PseudoConstant.php +++ b/CRM/Utils/PseudoConstant.php @@ -51,7 +51,6 @@ class CRM_Utils_PseudoConstant { * doesn't need to know which class the Pseudoconstant is on * (some are on the Contribute_Pseudoconsant Class etc * - * @access public * @static * * @param $constant @@ -72,7 +71,6 @@ class CRM_Utils_PseudoConstant { * doesn't need to know which class the Pseudoconstant is on * (some are on the Contribute_Pseudoconsant Class etc * - * @access public * @static * * @param $constant diff --git a/CRM/Utils/REST.php b/CRM/Utils/REST.php index 1b819c3b5f..0ea90b9508 100644 --- a/CRM/Utils/REST.php +++ b/CRM/Utils/REST.php @@ -64,7 +64,6 @@ class CRM_Utils_REST { * @param string $var The string to be echoed * * @return string $var - * @access public */ public static function ping($var = NULL) { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Utils/Recent.php b/CRM/Utils/Recent.php index 8ae535acfd..c5cd36d40e 100644 --- a/CRM/Utils/Recent.php +++ b/CRM/Utils/Recent.php @@ -58,7 +58,6 @@ class CRM_Utils_Recent { * Initialize this class and set the static variables * * @return void - * @access public * @static */ public static function initialize() { @@ -75,7 +74,6 @@ class CRM_Utils_Recent { * Return the recently viewed array * * @return array the recently viewed array - * @access public * @static */ public static function &get() { @@ -95,7 +93,6 @@ class CRM_Utils_Recent { * @param array $others * * @return void - * @access public * @static */ static function add($title, @@ -152,7 +149,6 @@ class CRM_Utils_Recent { * @param array $recentItem array of the recent Item to be removed * * @return void - * @access public * @static */ public static function del($recentItem) { @@ -180,7 +176,6 @@ class CRM_Utils_Recent { * @param string $id contact id that had to be removed * * @return void - * @access public * @static */ public static function delContact($id) { diff --git a/CRM/Utils/Request.php b/CRM/Utils/Request.php index bfac27264f..5c8993c0dc 100644 --- a/CRM/Utils/Request.php +++ b/CRM/Utils/Request.php @@ -44,7 +44,6 @@ class CRM_Utils_Request { * pattern and cache the instance in this variable * * @var object - * @access private * @static */ static private $_singleton = NULL; @@ -65,7 +64,6 @@ class CRM_Utils_Request { * @param string $method where should we look for the variable * * @return mixed the value of the variable - * @access public * @static */ public static function retrieve($name, $type, &$store = NULL, $abort = FALSE, $default = NULL, $method = 'REQUEST') { diff --git a/CRM/Utils/Rule.php b/CRM/Utils/Rule.php index 038302e0ae..b3459d750b 100644 --- a/CRM/Utils/Rule.php +++ b/CRM/Utils/Rule.php @@ -226,7 +226,6 @@ class CRM_Utils_Rule { * * @return bool true if valid date * @static - * @access public */ public static function currentDate($date, $monthRequired = TRUE) { $config = CRM_Core_Config::singleton(); @@ -318,7 +317,6 @@ class CRM_Utils_Rule { * * @return bool true if valid date * @static - * @access public */ public static function mysqlDate($date) { // allow date to be null @@ -557,7 +555,6 @@ class CRM_Utils_Rule { * Checks to make sure the uploaded file is ascii * * @param array Uploaded file info (from $_FILES) - * @access private * * @return bool true if file has been uploaded, false otherwise */ @@ -574,7 +571,6 @@ class CRM_Utils_Rule { * Checks to make sure the uploaded file is in UTF-8, recodes if it's not * * @param array Uploaded file info (from $_FILES) - * @access private * * @return bool whether file has been uploaded properly and is now in UTF-8 */ @@ -604,7 +600,6 @@ class CRM_Utils_Rule { * Checks to make sure the uploaded file is html * * @param array Uploaded file info (from $_FILES) - * @access private * * @return bool true if file has been uploaded, false otherwise */ @@ -624,7 +619,6 @@ class CRM_Utils_Rule { * @param array $options the daoName and fieldName (optional ) * * @return boolean true if object exists - * @access public * @static */ public static function objectExists($value, $options) { @@ -753,7 +747,6 @@ class CRM_Utils_Rule { * * @return bool true if valid date * @static - * @access public */ public static function qfDate($date) { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Utils/SoapServer.php b/CRM/Utils/SoapServer.php index bd9cd54480..c16e3bb4ec 100644 --- a/CRM/Utils/SoapServer.php +++ b/CRM/Utils/SoapServer.php @@ -73,7 +73,6 @@ class CRM_Utils_SoapServer { * @param string $var The string to be echoed * * @return string $var - * @access public */ public function ping($var) { $session = CRM_Core_Session::singleton(); @@ -89,7 +88,6 @@ class CRM_Utils_SoapServer { * * @throws SoapFault * @return void - * @access public */ public function verify($key) { $session = CRM_Core_Session::singleton(); @@ -123,7 +121,6 @@ class CRM_Utils_SoapServer { * * @throws SoapFault * @return string The SOAP Client key - * @access public * @static */ public function authenticate($name, $pass, $loadCMSBootstrap = FALSE) { diff --git a/CRM/Utils/Sort.php b/CRM/Utils/Sort.php index e5b78d3bbb..48c70df964 100644 --- a/CRM/Utils/Sort.php +++ b/CRM/Utils/Sort.php @@ -148,7 +148,6 @@ class CRM_Utils_Sort { * Function returns the string for the order by clause * * @return string the order by clause - * @access public */ public function orderBy() { if (empty($this->_vars[$this->_currentSortID])) { @@ -175,7 +174,6 @@ class CRM_Utils_Sort { * * @return string the string to append to the url * @static - * @access public */ public static function sortIDValue($index, $dir) { return ($dir == self::DESCENDING) ? $index . '_d' : $index . '_u'; @@ -187,7 +185,6 @@ class CRM_Utils_Sort { * @param string $defaultSortOrder the sort order to use by default * * @return returns null if $url- (sort url) is not found - * @access public */ public function initSortID($defaultSortOrder) { $url = CRM_Utils_Array::value(self::SORT_ID, $_GET, $defaultSortOrder); @@ -224,7 +221,6 @@ class CRM_Utils_Sort { * @param string $defaultSortOrder the sort order to use by default * * @return void - * @access public */ public function initialize($defaultSortOrder) { $this->initSortID($defaultSortOrder); @@ -281,7 +277,6 @@ class CRM_Utils_Sort { * @param $b * * @return int (-1 or 1) - * @access public */ public static function cmpFunc($a, $b) { $cmp_order = array('weight', 'id', 'title', 'name'); diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index 0aff0365d5..0298c18d74 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -57,7 +57,6 @@ class CRM_Utils_String { * * @return string An equivalent variable name * - * @access public * * @return string (or null) * @static @@ -82,7 +81,6 @@ class CRM_Utils_String { * @param string $char the character to use for non-valid chars * @param int $len length of valid variables * - * @access public * * @return string returns the manipulated string * @static @@ -130,7 +128,6 @@ class CRM_Utils_String { * @param int $len length of valid variables * * @return string Randomized Variable Name - * @access public * @static */ public static function rename($name, $len = 4) { @@ -145,7 +142,6 @@ class CRM_Utils_String { * @param string $string the input string * @param \char|string $char $char the character used to demarcate the componets * - * @access public * * @return string the last component * @static @@ -169,7 +165,6 @@ class CRM_Utils_String { * @param mixed $name the string (or array of strings) to append * * @return void - * @access public * @static */ public static function append(&$str, $delim, $name) { @@ -207,7 +202,6 @@ class CRM_Utils_String { * @param boolean $utf8 attempt utf8 match on failure (default yes) * * @return boolean true if string is ascii - * @access public * @static */ public static function isAscii($str, $utf8 = TRUE) { @@ -250,7 +244,6 @@ class CRM_Utils_String { * @param array $regexRules regular expression to be matched w/ replacements * * @return array $match array of strings w/ corresponding redacted outputs - * @access public * @static */ public static function regex($str, $regexRules) { @@ -307,7 +300,6 @@ class CRM_Utils_String { * Determine if a string is composed only of utf8 characters * * @param string $str input string - * @access public * @static * * @return boolean @@ -339,7 +331,6 @@ class CRM_Utils_String { * @param string $url2 the second url to be matched against * * @return boolean true if the urls match, else false - * @access public * @static */ public static function match($url1, $url2) { @@ -363,7 +354,6 @@ class CRM_Utils_String { * @param mix $query this is basically url * * @return mix $v returns civicrm url (eg: civicrm/contact/search/...) - * @access public * @static */ public static function extractURLVarValue($query) { @@ -388,7 +378,6 @@ class CRM_Utils_String { * @param string $str the string to be translated * * @return boolean - * @access public * @static */ public static function strtobool($str) { @@ -408,7 +397,6 @@ class CRM_Utils_String { * @param string $str the string to be translated * * @return boolean - * @access public * @static */ public static function strtoboolstr($str) { @@ -433,7 +421,6 @@ class CRM_Utils_String { * @param string $html the string to be converted * * @return string the converted string - * @access public * @static */ public static function htmlToText($html) { @@ -547,7 +534,6 @@ class CRM_Utils_String { * @param string $string input string to be cleaned * * @return string the cleaned string - * @access public * @static */ public static function stripSpaces($string) { @@ -563,7 +549,6 @@ class CRM_Utils_String { * @param string $replace the character to replace it with * * @return string the sanitized string - * @access public * @static */ static function stripPathChars($string, diff --git a/CRM/Utils/System.php b/CRM/Utils/System.php index 65f941ce6d..e5bbda8fcc 100644 --- a/CRM/Utils/System.php +++ b/CRM/Utils/System.php @@ -65,7 +65,6 @@ class CRM_Utils_System { * * @return string * The URL fragment. - * @access public */ public static function makeURL($urlVar, $includeReset = FALSE, $includeForce = TRUE, $path = NULL, $absolute = FALSE) { if (empty($path)) { @@ -103,7 +102,6 @@ class CRM_Utils_System { * (optional) * * @return string - * @access public */ public static function getLinksUrl($urlVar, $includeReset = FALSE, $includeForce = TRUE, $skipUFVar = TRUE) { // Sort out query string to prevent messy urls @@ -185,7 +183,6 @@ class CRM_Utils_System { * * @return string * - * @access public */ static function theme( &$content, @@ -232,7 +229,6 @@ class CRM_Utils_System { * @param bool $forceBackend * @return string * An HTML string containing a link to the given path. - * @access public */ static function url( $path = NULL, @@ -301,7 +297,6 @@ class CRM_Utils_System { * What menu path are we currently on. Called for the primary tpl * * @return string the current menu path - * @access public */ public static function currentPath() { $config = CRM_Core_Config::singleton(); @@ -315,7 +310,6 @@ class CRM_Utils_System { * List of parameters. * * @return string url - * @access public */ public static function crmURL($params) { $p = CRM_Utils_Array::value('p', $params); @@ -340,7 +334,6 @@ class CRM_Utils_System { * @param string $title * @param string $pageTitle * - * @access public */ public static function setTitle($title, $pageTitle = NULL) { self::$title = $title; @@ -358,7 +351,6 @@ class CRM_Utils_System { * @param string $default * (optional) The default userContext if no match found. * - * @access public */ public static function setUserContext($names, $default = NULL) { $url = $default; @@ -389,7 +381,6 @@ class CRM_Utils_System { * @return string * The class name of the object. * - * @access public */ public static function getClassName($object) { return get_class($object); @@ -401,7 +392,6 @@ class CRM_Utils_System { * @param string $url * The URL to provide to the browser via the Location header. * - * @access public */ public static function redirect($url = NULL) { if (!$url) { @@ -437,7 +427,6 @@ class CRM_Utils_System { * @param string $message * (optional) The message to provide in the body of the redirect page. * - * @access public */ static function jsRedirect( $url = NULL, @@ -477,7 +466,6 @@ class CRM_Utils_System { * * @param $breadCrumbs * - * @access public */ public static function appendBreadCrumb($breadCrumbs) { $config = CRM_Core_Config::singleton(); @@ -487,7 +475,6 @@ class CRM_Utils_System { /** * Reset an additional breadcrumb tag to the existing breadcrumb. * - * @access public */ public static function resetBreadCrumb() { $config = CRM_Core_Config::singleton(); @@ -499,7 +486,6 @@ class CRM_Utils_System { * * @param string $bc * - * @access public */ public static function addHTMLHead($bc) { $config = CRM_Core_Config::singleton(); @@ -514,7 +500,6 @@ class CRM_Utils_System { * * @return string * The URL to post the form. - * @access public */ public static function postURL($action) { $config = CRM_Core_Config::singleton(); @@ -524,7 +509,6 @@ class CRM_Utils_System { /** * Rewrite various system URLs to https. * - * @access public */ public static function mapConfigToSSL() { $config = CRM_Core_Config::singleton(); @@ -542,7 +526,6 @@ class CRM_Utils_System { * Get the base URL of the system. * * @return string - * @access public */ public static function baseURL() { $config = CRM_Core_Config::singleton(); @@ -676,7 +659,6 @@ class CRM_Utils_System { * @param $realPath * * @return false|array - * @access public */ public static function authenticate($name, $password, $loadCMSBootstrap = FALSE, $realPath = NULL) { $config = CRM_Core_Config::singleton(); @@ -699,7 +681,6 @@ class CRM_Utils_System { * @param string $message * The message to set. * - * @access public */ public static function setUFMessage($message) { $config = CRM_Core_Config::singleton(); @@ -1072,7 +1053,6 @@ class CRM_Utils_System { * * @return string * civicrm version - * @access public */ public static function version() { static $version; @@ -1246,7 +1226,6 @@ class CRM_Utils_System { * * @return string * The previous page URL - * @access public */ public static function refererPath() { return CRM_Utils_Array::value('HTTP_REFERER', $_SERVER); @@ -1257,7 +1236,6 @@ class CRM_Utils_System { * * @return string * Base URL of the CRM documentation. - * @access public */ public static function getDocBaseURL() { // FIXME: move this to configuration at some stage @@ -1268,7 +1246,6 @@ class CRM_Utils_System { * Returns wiki (alternate) documentation URL base. * * @return string documentation url - * @access public */ public static function getWikiBaseURL() { // FIXME: move this to configuration at some stage @@ -1297,7 +1274,6 @@ class CRM_Utils_System { * * @return string * URL or link to documentation page, based on provided parameters. - * @access public */ public static function docURL2($page, $URLonly = FALSE, $text = NULL, $title = NULL, $style = NULL, $resource = NULL) { // if ts function doesn't exist, it means that CiviCRM hasn't been fully initialised yet - @@ -1333,7 +1309,6 @@ class CRM_Utils_System { * * @return string * URL or link to documentation page, based on provided parameters. - * @access public */ public static function docURL($params) { @@ -1723,7 +1698,6 @@ class CRM_Utils_System { * An array of files that exist in one or more of the directories that are * referenced by the relative path when appended to each element of the PHP * include path. - * @access public */ public static function listIncludeFiles($relpath) { $file_list = array(); @@ -1762,7 +1736,6 @@ class CRM_Utils_System { * @return array * List of plugins, where the plugin name is both the key and the value of * each element. - * @access public */ public static function getPluginList($relpath, $fext = '.php', $skipList = array()) { $fext_len = strlen($fext); diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index aca82dc8d9..f85fefa8ae 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -49,7 +49,6 @@ abstract class CRM_Utils_System_Base { * @param boolean $maintenance for maintenance mode * * @return void prints content on stdout - * @access public */ public function theme(&$content, $print = FALSE, $maintenance = FALSE) { $ret = FALSE; @@ -166,7 +165,6 @@ abstract class CRM_Utils_System_Base { * * @param array $data array with user specific data * - * @access public */ public function setUserSession($data) { list($userID, $ufID) = $data; diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php index 7d92ecf4b7..6cd0e7fd85 100644 --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@ -46,7 +46,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * * @return uid if user exists, false otherwise * - * @access public * */ public function createUser(&$params, $mail) { @@ -240,7 +239,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @paqram string $pageTitle * * @return void - * @access public */ public function setTitle($title, $pageTitle = NULL) { if (arg(0) == 'civicrm') { @@ -260,7 +258,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @internal param string $url * * @return void - * @access public */ public function appendBreadCrumb($breadCrumbs) { $breadCrumb = drupal_get_breadcrumb(); @@ -288,7 +285,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * Reset an additional breadcrumb tag to the existing breadcrumb * * @return void - * @access public */ public function resetBreadCrumb() { $bc = array(); @@ -301,7 +297,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @param string $header the new string to be appended * * @return void - * @access public */ public function addHTMLHead($header) { static $count = 0; @@ -325,7 +320,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScriptUrl($url, $region) { $params = array('group' => JS_LIBRARY, 'weight' => 10); @@ -353,7 +347,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScript($code, $region) { $params = array('type' => 'inline', 'group' => JS_LIBRARY, 'weight' => 10); @@ -379,7 +372,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyleUrl($url, $region) { if ($region != 'html-header') { @@ -402,7 +394,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyle($code, $region) { if ($region != 'html-header') { @@ -419,7 +410,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @param null * * @return void - * @access public */ public function mapConfigToSSL() { global $base_url; @@ -432,7 +422,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @param mix $action the default action if one is pre-specified * * @return string the url to post the form - * @access public */ public function postURL($action) { if (!empty($action)) { @@ -454,7 +443,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * @return mixed false if no auth * array( * contactID, ufID, unique string ) if success - * @access public */ public static function authenticate($name, $password, $loadCMSBootstrap = FALSE, $realPath = NULL) { require_once 'DB.php'; @@ -586,7 +574,6 @@ AND u.status = 1 * * @param string $message the message to set * - * @access public */ public function setMessage($message) { drupal_set_message($message); diff --git a/CRM/Utils/System/Drupal6.php b/CRM/Utils/System/Drupal6.php index 839beaee93..9c62e3df0d 100644 --- a/CRM/Utils/System/Drupal6.php +++ b/CRM/Utils/System/Drupal6.php @@ -47,7 +47,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @param boolean $maintenance for maintenance mode * * @return void prints content on stdout - * @access public */ public function theme(&$content, $print = FALSE, $maintenance = FALSE) { // TODO: Simplify; this was copied verbatim from CiviCRM 3.4's multi-UF theming function, but that's more complex than necessary @@ -80,7 +79,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * * @return uid if user exists, false otherwise * - * @access public */ public function createUser(&$params, $mail) { $form_state = array(); @@ -257,7 +255,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @paqram string $pageTitle * * @return void - * @access public */ public function setTitle($title, $pageTitle = NULL) { if (!$pageTitle) { @@ -278,7 +275,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @internal param string $url * * @return void - * @access public */ public function appendBreadCrumb($breadCrumbs) { $breadCrumb = drupal_get_breadcrumb(); @@ -306,7 +302,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * Reset an additional breadcrumb tag to the existing breadcrumb * * @return void - * @access public */ public function resetBreadCrumb() { $bc = array(); @@ -319,7 +314,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @param string $head the new string to be appended * * @return void - * @access public */ public function addHTMLHead($head) { drupal_set_html_head($head); @@ -335,7 +329,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScriptUrl($url, $region) { // CRM-15450 - D6 doesn't order internal/external links correctly so we can't use drupal_add_js @@ -352,7 +345,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScript($code, $region) { // CRM-15450 - ensure scripts are in correct order @@ -369,7 +361,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyleUrl($url, $region) { if ($region != 'html-header' || !$this->formatResourceUrl($url)) { @@ -389,7 +380,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyle($code, $region) { return FALSE; @@ -401,7 +391,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @param null * * @return void - * @access public */ public function mapConfigToSSL() { global $base_url; @@ -414,7 +403,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @param mix $action the default action if one is pre-specified * * @return string the url to post the form - * @access public */ public function postURL($action) { if (!empty($action)) { @@ -435,7 +423,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @return mixed false if no auth * array( * contactID, ufID, unique string ) if success - * @access public */ public function authenticate($name, $password, $loadCMSBootstrap = FALSE, $realPath = NULL) { //@todo this 'PEAR-y' stuff is only required when bookstrap is not being loaded which is rare @@ -537,7 +524,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * * @param string $message the message to set * - * @access public */ public function setMessage($message) { drupal_set_message($message); diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index 25d45fd875..3a3e50aa10 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -46,7 +46,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * * @return uid if user exists, false otherwise * - * @access public * */ public function createUser(&$params, $mail) { @@ -231,7 +230,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @param string $pageTitle * * @return void - * @access public */ public function setTitle($title, $pageTitle = NULL) { if (!$pageTitle) { @@ -250,7 +248,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @internal param string $url * * @return void - * @access public */ public function appendBreadCrumb($breadcrumbs) { $civicrmPageState = \Drupal::service('civicrm.page_state'); @@ -263,7 +260,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * Reset an additional breadcrumb tag to the existing breadcrumb * * @return void - * @access public */ public function resetBreadCrumb() { \Drupal::service('civicrm.page_state')->resetBreadcrumbs(); @@ -275,7 +271,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @param string $header the new string to be appended * * @return void - * @access public */ public function addHTMLHead($header) { \Drupal::service('civicrm.page_state')->addHtmlHeader($header); @@ -291,7 +286,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScriptUrl($url, $region) { $options = array('group' => JS_LIBRARY, 'weight' => 10); @@ -319,7 +313,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScript($code, $region) { $options = array('type' => 'inline', 'group' => JS_LIBRARY, 'weight' => 10); @@ -345,7 +338,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyleUrl($url, $region) { if ($region != 'html-header') { @@ -368,7 +360,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyle($code, $region) { if ($region != 'html-header') { @@ -410,7 +401,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @param null * * @return void - * @access public */ public function mapConfigToSSL() { } @@ -458,7 +448,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * @return mixed false if no auth * array( * contactID, ufID, unique string ) if success - * @access public * * This always bootstraps Drupal */ @@ -510,7 +499,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * * @param string $message the message to set * - * @access public */ public function setMessage($message) { drupal_set_message($message); diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index 8277c5c652..e801dab712 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -153,7 +153,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * @param $forceBackend boolean a gross joomla hack * * @return string an HTML string containing a link to the given path. - * @access public * */ function url($path = NULL, $query = NULL, $absolute = FALSE, @@ -470,7 +469,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * @param mix $action the default action if one is pre-specified * * @return string the url to post the form - * @access public */ public function postURL($action) { if (!empty($action)) { diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index b8001ef2ea..6928d2c8a7 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -58,7 +58,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * * @return uid if user exists, false otherwise * - * @access public */ public function createUser(&$params, $mail) { $baseDir = JPATH_SITE; @@ -181,7 +180,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @param string $pageTitle * * @return void - * @access public */ public function setTitle($title, $pageTitle = NULL) { if (!$pageTitle) { @@ -206,7 +204,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @internal param string $url * * @return void - * @access public */ public function appendBreadCrumb($breadCrumbs) { $template = CRM_Core_Smarty::singleton(); @@ -238,7 +235,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @internal param string $bc the new breadcrumb to be appended * * @return void - * @access public */ public function resetBreadCrumb() { return; @@ -252,7 +248,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @internal param string $head the new string to be appended * * @return void - * @access public */ public static function addHTMLHead($string = NULL) { if ($string) { @@ -271,7 +266,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScriptUrl($url, $region) { return FALSE; @@ -287,7 +281,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScript($code, $region) { return FALSE; @@ -303,7 +296,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyleUrl($url, $region) { if ($region == 'html-header') { @@ -324,7 +316,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyle($code, $region) { if ($region == 'html-header') { @@ -350,7 +341,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @param bool $forceBackend * * @return string an HTML string containing a link to the given path. - * @access public */ function url($path = NULL, $query = NULL, $absolute = TRUE, $fragment = NULL, $htmlize = TRUE, @@ -427,7 +417,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @param $action the default action if one is pre-specified * * @return string the url to post the form - * @access public */ public function postURL($action) { if (!empty($action)) { @@ -445,7 +434,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @param object $user handle to the user object * * @return void - * @access public */ public function setEmail(&$user) { global $database; @@ -464,7 +452,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @return mixed false if no auth * array( contactID, ufID, unique string ) if success - * @access public */ public function authenticate($name, $password, $loadCMSBootstrap = FALSE) { require_once 'DB.php'; @@ -558,7 +545,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * * @param array $data array with user specific data * - * @access public */ public function setUserSession($data) { list($userID, $ufID) = $data; @@ -574,7 +560,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * * @param string $message the message to set * - * @access public */ public function setMessage($message) { return; diff --git a/CRM/Utils/System/Soap.php b/CRM/Utils/System/Soap.php index 1368570743..6ec959c0b9 100644 --- a/CRM/Utils/System/Soap.php +++ b/CRM/Utils/System/Soap.php @@ -53,7 +53,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @paqram string $pageTitle * * @return void - * @access public */ public function setTitle($title, $pageTitle) { return; @@ -66,7 +65,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * * @return boolean true if yes, else false * @static - * @access public */ public function checkPermission($str) { return TRUE; @@ -79,7 +77,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @param string $url * * @return void - * @access public */ public function appendBreadCrumb($title, $url) { return; @@ -91,7 +88,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @param string $head the new string to be appended * * @return void - * @access public */ public function addHTMLHead($head) { return; @@ -108,7 +104,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @param $fragment string A fragment identifier (named anchor) to append to the link. * * @return string an HTML string containing a link to the given path. - * @access public * */ public function url($path = NULL, $query = NULL, $absolute = TRUE, $fragment = NULL) { @@ -128,7 +123,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @param the default action if one is pre-specified * * @return string the url to post the form - * @access public */ public function postURL($action) { return NULL; @@ -140,7 +134,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @param object $user handle to the user object * * @return void - * @access public */ public function setEmail(&$user) {} @@ -151,7 +144,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * @param string $pass Login password * * @return array Result array - * @access public */ public function &authenticate($name, $pass) { if (isset(self::$ufClass)) { @@ -167,7 +159,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { /** * Swap the current UF for soap * - * @access public */ public function swapUF() { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Utils/System/UnitTests.php b/CRM/Utils/System/UnitTests.php index 89827e2525..af8b46d3af 100644 --- a/CRM/Utils/System/UnitTests.php +++ b/CRM/Utils/System/UnitTests.php @@ -54,7 +54,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * @paqram string $pageTitle * * @return void - * @access public */ /** * @param string $title @@ -75,7 +74,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * @return mixed false if no auth * array( * contactID, ufID, unique string ) if success - * @access public */ /** * @param string $name @@ -99,7 +97,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * @internal param string $url * * @return void - * @access public */ /** * @param $breadCrumbs @@ -118,7 +115,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * @param string $header the new string to be appended * * @return void - * @access public */ /** * @param string $head @@ -138,7 +134,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * @param mix $action the default action if one is pre-specified * * @return string the url to post the form - * @access public */ /** * @param mix $action @@ -163,7 +158,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * @param $forceBackend boolean a gross joomla hack * * @return string an HTML string containing a link to the given path. - * @access public * */ /** @@ -259,7 +253,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * * @param string $message the message to set * - * @access public */ /** * @param string $message diff --git a/CRM/Utils/System/WordPress.php b/CRM/Utils/System/WordPress.php index 186736af97..c9c0e7ccb7 100644 --- a/CRM/Utils/System/WordPress.php +++ b/CRM/Utils/System/WordPress.php @@ -58,7 +58,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @param null $pageTitle * * @return void - * @access public */ public function setTitle($title, $pageTitle = NULL) { if (!$pageTitle) { @@ -103,7 +102,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @internal param string $url * * @return void - * @access public * @static */ public function appendBreadCrumb($breadCrumbs) { @@ -135,7 +133,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * Reset an additional breadcrumb tag to the existing breadcrumb * * @return void - * @access public * @static */ public function resetBreadCrumb() { @@ -149,7 +146,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @param string $head the new string to be appended * * @return void - * @access public * @static */ public function addHTMLHead($head) { @@ -182,7 +178,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScriptUrl($url, $region) { return FALSE; @@ -198,7 +193,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addScript($code, $region) { return FALSE; @@ -214,7 +208,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyleUrl($url, $region) { return FALSE; @@ -230,7 +223,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @see CRM_Core_Region::render() * * @return bool TRUE if we support this operation in this CMS, FALSE otherwise - * @access public */ public function addStyle($code, $region) { return FALSE; @@ -242,7 +234,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @param null * * @return void - * @access public * @static */ public function mapConfigToSSL() { @@ -256,7 +247,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @param mix $action the default action if one is pre-specified * * @return string the url to post the form - * @access public * @static */ public function postURL($action) { @@ -282,7 +272,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @param bool $forceBackend * * @return string an HTML string containing a link to the given path. - * @access public */ function url( $path = NULL, @@ -400,7 +389,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @return mixed false if no auth * array( * contactID, ufID, unique string ) if success - * @access public * @static */ public function authenticate($name, $password, $loadCMSBootstrap = FALSE, $realPath = NULL) { @@ -430,7 +418,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * * @param string $message the message to set * - * @access public * @static */ public function setMessage($message) { diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 4a2986b6d8..d31b55771c 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -97,7 +97,6 @@ class CRM_Utils_Token { * * @return true|array true if all required tokens are found, * else an array of the missing tokens - * @access public * @static */ public static function requiredTokens(&$str) { @@ -149,7 +148,6 @@ class CRM_Utils_Token { * @param string $str The string to search * * @return boolean Was there a match - * @access public * @static */ public static function token_match($type, $var, &$str) { @@ -168,7 +166,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &token_replace($type, $var, $value, &$str, $escapeSmarty = FALSE) { @@ -189,7 +186,6 @@ class CRM_Utils_Token { * @param string $token_type a string indicating the the type of token to be used in the expression * * @return string regular expression sutiable for using in preg_replace - * @access private * @static */ private static function tokenRegex($token_type) { @@ -202,7 +198,6 @@ class CRM_Utils_Token { * @param string $string a string that needs to be escaped from smarty parsing * * @return string the escaped string - * @access private * @static */ private static function tokenEscapeSmarty($string) { @@ -221,7 +216,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &replaceDomainTokens( @@ -319,7 +313,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &replaceOrgTokens($str, &$org, $html = FALSE, $escapeSmarty = FALSE) { @@ -400,7 +393,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed sstring - * @access public * @static */ public static function &replaceMailingTokens( @@ -530,7 +522,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &replaceActionTokens( @@ -619,7 +610,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &replaceContactTokens( @@ -761,7 +751,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &replaceHookTokens( @@ -854,7 +843,6 @@ class CRM_Utils_Token { * @param string hash The security hash of the unsub event * * @return string The processed string - * @access public * @static */ public static function &replaceUnsubscribeTokens( @@ -896,7 +884,6 @@ class CRM_Utils_Token { * @param string hash The security hash of the resub event * * @return string The processed string - * @access public * @static */ public static function &replaceResubscribeTokens($str, &$domain, &$groups, $html, @@ -920,7 +907,6 @@ class CRM_Utils_Token { * @param boolean $html Replace tokens with html or plain text * * @return string The processed string - * @access public * @static */ public static function &replaceSubscribeTokens($str, $group, $url, $html) { @@ -939,7 +925,6 @@ class CRM_Utils_Token { * @param string $str The string with tokens to be replaced * * @return string The processed string - * @access public * @static */ public static function &replaceSubscribeInviteTokens($str) { @@ -984,7 +969,6 @@ class CRM_Utils_Token { * @param boolean $html Replace tokens with html or plain text * * @return string The processed string - * @access public * @static */ public static function &replaceWelcomeTokens($str, $group, $html) { @@ -1000,7 +984,6 @@ class CRM_Utils_Token { * @param string $str The string to search * * @return array Array of tokens that weren't replaced - * @access public * @static */ public static function &unmatchedTokens(&$str) { @@ -1020,7 +1003,6 @@ class CRM_Utils_Token { * @param bool $returnEmptyToken * * @return string The processed string - * @access public * @static */ public static function &replaceComponentTokens(&$str, $contact, $components, $escapeSmarty = FALSE, $returnEmptyToken = TRUE) { @@ -1091,7 +1073,6 @@ class CRM_Utils_Token { * @param int $jobID the mailing list jobID - this is a legacy param * * @return array - * @access public * @static */ static function getTokenDetails($contactIDs, @@ -1249,7 +1230,6 @@ class CRM_Utils_Token { * @param string $className * * @return array - * @access public * @static */ static function getContributionTokenDetails($contributionIDs, @@ -1313,7 +1293,6 @@ class CRM_Utils_Token { /** * Replace greeting tokens exists in message/subject * - * @access public */ public static function replaceGreetingTokens(&$tokenString, $contactDetails = NULL, $contactId = NULL, $className = NULL, $escapeSmarty = FALSE) { @@ -1422,7 +1401,6 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return string The processed string - * @access public * @static */ public static function &replaceUserTokens($str, $knownTokens = NULL, $escapeSmarty = FALSE) { diff --git a/CRM/Utils/Tree.php b/CRM/Utils/Tree.php index 72f8d5e157..1acf22040c 100644 --- a/CRM/Utils/Tree.php +++ b/CRM/Utils/Tree.php @@ -93,7 +93,6 @@ class CRM_Utils_Tree { * @internal param string $rootNode * * @return CRM_Utils_Tree - * @access public */ public function __construct($nodeName) { // create the root node @@ -112,7 +111,6 @@ class CRM_Utils_Tree { * @return array( ref) | false node if found else false * - * @access public */ //public function &findNode(&$parentNode, $name) public function &findNode($name, &$parentNode) { @@ -153,7 +151,6 @@ class CRM_Utils_Tree { * * @return boolean * - * @access public */ public function isLeafNode(&$node) { return (count($node['children']) ? TRUE : FALSE); @@ -166,7 +163,6 @@ class CRM_Utils_Tree { * * @return array (ref) * - * @access public */ public function &createNode($name) { $node['name'] = $name; @@ -184,7 +180,6 @@ class CRM_Utils_Tree { * * @return void * - * @access public */ public function addNode($parentName, &$node) { $temp = ''; @@ -202,7 +197,6 @@ class CRM_Utils_Tree { * * @return void * - * @access public */ public function addData($parentName, $childName, $data) { $temp = ''; @@ -223,7 +217,6 @@ class CRM_Utils_Tree { * * @return tree * - * @access public */ public function getTree() { return $this->tree; @@ -236,7 +229,6 @@ class CRM_Utils_Tree { * * @return void * - * @access public */ public function display() { print_r($this->tree); diff --git a/CRM/Utils/Type.php b/CRM/Utils/Type.php index 3b640394d1..204285f4c7 100644 --- a/CRM/Utils/Type.php +++ b/CRM/Utils/Type.php @@ -145,7 +145,6 @@ class CRM_Utils_Type { * @param boolean $abort Should we abort if invalid * * @return mixed The data, escaped if necessary - * @access public * @static */ public static function escape($data, $type, $abort = TRUE) { @@ -261,7 +260,6 @@ class CRM_Utils_Type { * @name string $name The name of the attribute * * @return mixed The data, escaped if necessary - * @access public * @static */ public static function validate($data, $type, $abort = TRUE, $name = 'One of parameters ') { diff --git a/CRM/Utils/Verp.php b/CRM/Utils/Verp.php index cf84a101ab..bc6e5f530b 100644 --- a/CRM/Utils/Verp.php +++ b/CRM/Utils/Verp.php @@ -68,7 +68,6 @@ class CRM_Utils_Verp { * @param string $recipient The address of the recipient * * @return string The VERP encoded address - * @access public * @static */ public static function encode($sender, $recipient) { @@ -94,7 +93,6 @@ class CRM_Utils_Verp { * @param string $address The address to be decoded * * @return array The tuple ($sender, $recipient) - * @access public * @static */ public static function &verpdecode($address) { diff --git a/CRM/Utils/VersionCheck.php b/CRM/Utils/VersionCheck.php index 18ba82e851..a821244a65 100644 --- a/CRM/Utils/VersionCheck.php +++ b/CRM/Utils/VersionCheck.php @@ -98,7 +98,6 @@ class CRM_Utils_VersionCheck { /** * Class constructor * - * @access private */ public function __construct() { global $civicrm_root; diff --git a/CRM/Utils/Wrapper.php b/CRM/Utils/Wrapper.php index 1f6d171891..ab3e46f5aa 100644 --- a/CRM/Utils/Wrapper.php +++ b/CRM/Utils/Wrapper.php @@ -44,7 +44,6 @@ class CRM_Utils_Wrapper { * * The controller which will handle the display and processing of this page. * - * @access protected */ protected $_controller; @@ -61,7 +60,6 @@ class CRM_Utils_Wrapper { * @param boolean ignoreKey should we not set a qfKey for this controller (for standalone forms) * * @return void. - * @access public */ public function run($formName, $formLabel = NULL, $arguments = NULL) { if (is_array($arguments)) { diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php index 5e85c9276f..e31c5fc563 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php @@ -39,7 +39,6 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php index afd31c4914..2fcfa5b2e3 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php @@ -39,7 +39,6 @@ class CRM_Activity_BAO_ActivityTargetTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Activity_BAO_ActivityTargetTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php b/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php index bf48926d0e..1995dc0aa0 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php @@ -192,7 +192,6 @@ class CRM_Contact_BAO_GroupContactCacheTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { $this->_testObjects = array(); @@ -203,7 +202,6 @@ class CRM_Contact_BAO_GroupContactCacheTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() { parent::tearDown(); diff --git a/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php b/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php index 076f137159..c97c2be7e3 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php @@ -40,7 +40,6 @@ class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -50,7 +49,6 @@ class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/Contact/BAO/GroupTest.php b/tests/phpunit/CRM/Contact/BAO/GroupTest.php index d4a54fff56..f8963ae48c 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupTest.php @@ -39,7 +39,6 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() { $this->quickCleanup(array('civicrm_mapping_field', 'civicrm_mapping', 'civicrm_group', 'civicrm_saved_search')); diff --git a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php index fee9defeb2..fb590af9c5 100644 --- a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php +++ b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php @@ -419,7 +419,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ public function tearDown() { parent::tearDown(); @@ -882,7 +881,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function _setUp() { $this->_testObjects = array(); @@ -892,7 +890,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function _tearDown() { parent::tearDown(); diff --git a/tests/phpunit/CRM/Core/BAO/LocationTest.php b/tests/phpunit/CRM/Core/BAO/LocationTest.php index 72de8f45ce..e974dbda01 100644 --- a/tests/phpunit/CRM/Core/BAO/LocationTest.php +++ b/tests/phpunit/CRM/Core/BAO/LocationTest.php @@ -51,7 +51,6 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ public function tearDown() { $tablesToTruncate = array( diff --git a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php index 90baa13157..756a450467 100644 --- a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php +++ b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php @@ -37,7 +37,6 @@ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -47,7 +46,6 @@ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php b/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php index 1722d798a6..c5a0fbf4d0 100644 --- a/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php +++ b/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php @@ -39,7 +39,6 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/PCP/BAO/PCPTest.php b/tests/phpunit/CRM/PCP/BAO/PCPTest.php index e1c1b0839b..4a0549fee7 100644 --- a/tests/phpunit/CRM/PCP/BAO/PCPTest.php +++ b/tests/phpunit/CRM/PCP/BAO/PCPTest.php @@ -39,7 +39,6 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -186,7 +185,6 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} } diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php index 649a646993..2e1e09ec4a 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php @@ -40,7 +40,6 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -51,7 +50,6 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php index 1aa5bd6ca4..3ae8cd4530 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php @@ -39,7 +39,6 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php index 724569596b..342712bbc1 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php @@ -40,7 +40,6 @@ class CRM_Pledge_BAO_PledgeTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -51,7 +50,6 @@ class CRM_Pledge_BAO_PledgeTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() {} diff --git a/tests/phpunit/CiviTest/CiviCaseTestCase.php b/tests/phpunit/CiviTest/CiviCaseTestCase.php index 41a76a38c9..6d63f74ed2 100644 --- a/tests/phpunit/CiviTest/CiviCaseTestCase.php +++ b/tests/phpunit/CiviTest/CiviCaseTestCase.php @@ -126,7 +126,6 @@ class CiviCaseTestCase extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ public function tearDown() { $this->quickCleanup($this->tablesToTruncate, TRUE); diff --git a/tests/phpunit/api/v3/APIWrapperTest.php b/tests/phpunit/api/v3/APIWrapperTest.php index a8ed35939d..4542170697 100644 --- a/tests/phpunit/api/v3/APIWrapperTest.php +++ b/tests/phpunit/api/v3/APIWrapperTest.php @@ -44,7 +44,6 @@ class api_v3_APIWrapperTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); @@ -56,7 +55,6 @@ class api_v3_APIWrapperTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() { parent::tearDown(); diff --git a/tests/phpunit/api/v3/ActivityTest.php b/tests/phpunit/api/v3/ActivityTest.php index c868cb3e3e..692001ffc4 100644 --- a/tests/phpunit/api/v3/ActivityTest.php +++ b/tests/phpunit/api/v3/ActivityTest.php @@ -98,7 +98,6 @@ class api_v3_ActivityTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ public function tearDown() { $tablesToTruncate = array( diff --git a/tests/phpunit/api/v3/BatchTest.php b/tests/phpunit/api/v3/BatchTest.php index 4ab3c26cad..fd65aa1b3e 100644 --- a/tests/phpunit/api/v3/BatchTest.php +++ b/tests/phpunit/api/v3/BatchTest.php @@ -41,7 +41,6 @@ class api_v3_BatchTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/DomainTest.php b/tests/phpunit/api/v3/DomainTest.php index d6f3431997..456cc63394 100644 --- a/tests/phpunit/api/v3/DomainTest.php +++ b/tests/phpunit/api/v3/DomainTest.php @@ -49,7 +49,6 @@ class api_v3_DomainTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/GroupNestingTest.php b/tests/phpunit/api/v3/GroupNestingTest.php index ee38e68ff8..2977173abd 100644 --- a/tests/phpunit/api/v3/GroupNestingTest.php +++ b/tests/phpunit/api/v3/GroupNestingTest.php @@ -40,7 +40,6 @@ class api_v3_GroupNestingTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { $this->_apiversion = 3; @@ -78,7 +77,6 @@ class api_v3_GroupNestingTest extends CiviUnitTestCase { * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * - * @access protected */ protected function tearDown() { // Truncate the tables diff --git a/tests/phpunit/api/v3/GroupOrganizationTest.php b/tests/phpunit/api/v3/GroupOrganizationTest.php index 41d1c2dde0..58e074c729 100644 --- a/tests/phpunit/api/v3/GroupOrganizationTest.php +++ b/tests/phpunit/api/v3/GroupOrganizationTest.php @@ -40,7 +40,6 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/SystemTest.php b/tests/phpunit/api/v3/SystemTest.php index 82e8f666f2..ba084d1743 100644 --- a/tests/phpunit/api/v3/SystemTest.php +++ b/tests/phpunit/api/v3/SystemTest.php @@ -41,7 +41,6 @@ class api_v3_SystemTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/UtilsTest.php b/tests/phpunit/api/v3/UtilsTest.php index 150f234c2b..3ed007ed08 100644 --- a/tests/phpunit/api/v3/UtilsTest.php +++ b/tests/phpunit/api/v3/UtilsTest.php @@ -43,7 +43,6 @@ class api_v3_UtilsTest extends CiviUnitTestCase { * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * - * @access protected */ protected function setUp() { parent::setUp(); -- 2.25.1