INFRA-132 comments to end with full stops
authorEileen McNaughton <eileen@fuzion.co.nz>
Wed, 4 Feb 2015 05:02:22 +0000 (18:02 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 4 Feb 2015 05:02:22 +0000 (18:02 +1300)
831 files changed:
CRM/ACL/BAO/ACL.php
CRM/ACL/BAO/EntityRole.php
CRM/Activity/BAO/Activity.php
CRM/Activity/BAO/ActivityAssignment.php
CRM/Activity/BAO/ActivityContact.php
CRM/Activity/BAO/ActivityTarget.php
CRM/Activity/BAO/ICalendar.php
CRM/Activity/BAO/Query.php
CRM/Activity/Controller/Search.php
CRM/Activity/Form/Activity.php
CRM/Activity/Form/ActivityView.php
CRM/Activity/Form/Search.php
CRM/Activity/Form/Task.php
CRM/Activity/Form/Task/AddToTag.php
CRM/Activity/Form/Task/Batch.php
CRM/Activity/Form/Task/Delete.php
CRM/Activity/Form/Task/Email.php
CRM/Activity/Form/Task/FileOnCase.php
CRM/Activity/Form/Task/PickOption.php
CRM/Activity/Form/Task/PickProfile.php
CRM/Activity/Form/Task/Print.php
CRM/Activity/Form/Task/RemoveFromTag.php
CRM/Activity/Form/Task/SMS.php
CRM/Activity/Form/Task/SearchTaskHookSample.php
CRM/Activity/Import/Form/DataSource.php
CRM/Activity/Import/Form/MapField.php
CRM/Activity/Import/Form/Preview.php
CRM/Activity/Import/Form/Summary.php
CRM/Activity/Import/Parser.php
CRM/Activity/Import/Parser/Activity.php
CRM/Activity/Page/Tab.php
CRM/Activity/Page/UserDashboard.php
CRM/Activity/Selector/Activity.php
CRM/Activity/Selector/Search.php
CRM/Activity/StateMachine/Search.php
CRM/Activity/Task.php
CRM/Badge/BAO/Layout.php
CRM/Batch/Form/Entry.php
CRM/Bridge/OG/Utils.php
CRM/Campaign/BAO/Campaign.php
CRM/Campaign/BAO/Petition.php
CRM/Campaign/BAO/Query.php
CRM/Campaign/BAO/Survey.php
CRM/Campaign/Controller/Search.php
CRM/Campaign/Form/Petition.php
CRM/Campaign/Form/Petition/Signature.php
CRM/Campaign/Form/Search.php
CRM/Campaign/Form/Search/Campaign.php
CRM/Campaign/Form/Search/Petition.php
CRM/Campaign/Form/Search/Survey.php
CRM/Campaign/Form/Survey.php
CRM/Campaign/Form/Survey/Delete.php
CRM/Campaign/Form/Survey/Main.php
CRM/Campaign/Form/Survey/Questions.php
CRM/Campaign/Form/Survey/Results.php
CRM/Campaign/Form/SurveyType.php
CRM/Campaign/Form/Task.php
CRM/Campaign/Form/Task/Interview.php
CRM/Campaign/Form/Task/Print.php
CRM/Campaign/Form/Task/Release.php
CRM/Campaign/Form/Task/Reserve.php
CRM/Campaign/Form/Task/Result.php
CRM/Campaign/Info.php
CRM/Campaign/Page/Campaign.php
CRM/Campaign/Page/DashBoard.php
CRM/Campaign/Page/Petition/Confirm.php
CRM/Campaign/Page/SurveyType.php
CRM/Campaign/Selector/Search.php
CRM/Campaign/StateMachine/Search.php
CRM/Case/BAO/Case.php
CRM/Case/BAO/CaseType.php
CRM/Case/BAO/Query.php
CRM/Case/Controller/Search.php
CRM/Case/Form/Activity/LinkCases.php
CRM/Case/Form/Activity/OpenCase.php
CRM/Case/Form/ActivityToCase.php
CRM/Case/Form/ActivityView.php
CRM/Case/Form/Case.php
CRM/Case/Form/CaseView.php
CRM/Case/Form/CustomData.php
CRM/Case/Form/EditClient.php
CRM/Case/Form/Report.php
CRM/Case/Form/Search.php
CRM/Case/Form/Task.php
CRM/Case/Form/Task/Delete.php
CRM/Case/Form/Task/Print.php
CRM/Case/Form/Task/Restore.php
CRM/Case/Form/Task/Result.php
CRM/Case/Form/Task/SearchTaskHookSample.php
CRM/Case/Info.php
CRM/Case/Page/AJAX.php
CRM/Case/Page/Tab.php
CRM/Case/PseudoConstant.php
CRM/Case/Selector/Search.php
CRM/Case/StateMachine/Search.php
CRM/Case/Task.php
CRM/Case/XMLProcessor/Process.php
CRM/Case/XMLProcessor/Report.php
CRM/Contact/BAO/Contact.php
CRM/Contact/BAO/Contact/Location.php
CRM/Contact/BAO/Contact/Permission.php
CRM/Contact/BAO/Contact/Utils.php
CRM/Contact/BAO/ContactType.php
CRM/Contact/BAO/Group.php
CRM/Contact/BAO/GroupContact.php
CRM/Contact/BAO/GroupContactCache.php
CRM/Contact/BAO/GroupNesting.php
CRM/Contact/BAO/GroupOrganization.php
CRM/Contact/BAO/Household.php
CRM/Contact/BAO/Individual.php
CRM/Contact/BAO/Query.php
CRM/Contact/BAO/Query/Hook.php
CRM/Contact/BAO/Relationship.php
CRM/Contact/BAO/RelationshipType.php
CRM/Contact/BAO/SavedSearch.php
CRM/Contact/BAO/SubscriptionHistory.php
CRM/Contact/Form/Contact.php
CRM/Contact/Form/CustomData.php
CRM/Contact/Form/DedupeFind.php
CRM/Contact/Form/DedupeRules.php
CRM/Contact/Form/Domain.php
CRM/Contact/Form/Edit/Address.php
CRM/Contact/Form/Edit/CommunicationPreferences.php
CRM/Contact/Form/Edit/CustomData.php
CRM/Contact/Form/Edit/Demographics.php
CRM/Contact/Form/Edit/Email.php
CRM/Contact/Form/Edit/Household.php
CRM/Contact/Form/Edit/IM.php
CRM/Contact/Form/Edit/Individual.php
CRM/Contact/Form/Edit/Lock.php
CRM/Contact/Form/Edit/Notes.php
CRM/Contact/Form/Edit/OpenID.php
CRM/Contact/Form/Edit/TagsAndGroups.php
CRM/Contact/Form/Edit/Website.php
CRM/Contact/Form/GroupContact.php
CRM/Contact/Form/Inline.php
CRM/Contact/Form/Inline/Address.php
CRM/Contact/Form/Inline/CommunicationPreferences.php
CRM/Contact/Form/Inline/ContactInfo.php
CRM/Contact/Form/Inline/ContactName.php
CRM/Contact/Form/Inline/CustomData.php
CRM/Contact/Form/Inline/Demographics.php
CRM/Contact/Form/Inline/Email.php
CRM/Contact/Form/Inline/IM.php
CRM/Contact/Form/Inline/Lock.php
CRM/Contact/Form/Inline/OpenID.php
CRM/Contact/Form/Inline/Phone.php
CRM/Contact/Form/Inline/Website.php
CRM/Contact/Form/Location.php
CRM/Contact/Form/ProfileContact.php
CRM/Contact/Form/RelatedContact.php
CRM/Contact/Form/Relationship.php
CRM/Contact/Form/Search.php
CRM/Contact/Form/Search/Advanced.php
CRM/Contact/Form/Search/Basic.php
CRM/Contact/Form/Search/Builder.php
CRM/Contact/Form/Search/Custom.php
CRM/Contact/Form/Search/Custom/ActivitySearch.php
CRM/Contact/Form/Search/Custom/ContributionAggregate.php
CRM/Contact/Form/Search/Custom/EmployerListing.php
CRM/Contact/Form/Search/Custom/EventAggregate.php
CRM/Contact/Form/Search/Custom/FullText/AbstractPartialQuery.php
CRM/Contact/Form/Search/Custom/TagContributions.php
CRM/Contact/Form/Task/AddToGroup.php
CRM/Contact/Form/Task/AddToHousehold.php
CRM/Contact/Form/Task/AddToOrganization.php
CRM/Contact/Form/Task/AddToTag.php
CRM/Contact/Form/Task/AlterPreferences.php
CRM/Contact/Form/Task/Batch.php
CRM/Contact/Form/Task/Delete.php
CRM/Contact/Form/Task/Email.php
CRM/Contact/Form/Task/EmailCommon.php
CRM/Contact/Form/Task/HookSample.php
CRM/Contact/Form/Task/Label.php
CRM/Contact/Form/Task/LabelCommon.php
CRM/Contact/Form/Task/Map.php
CRM/Contact/Form/Task/Map/Event.php
CRM/Contact/Form/Task/Merge.php
CRM/Contact/Form/Task/PDF.php
CRM/Contact/Form/Task/PDFLetterCommon.php
CRM/Contact/Form/Task/PickProfile.php
CRM/Contact/Form/Task/Print.php
CRM/Contact/Form/Task/ProximityCommon.php
CRM/Contact/Form/Task/RemoveFromGroup.php
CRM/Contact/Form/Task/RemoveFromTag.php
CRM/Contact/Form/Task/Result.php
CRM/Contact/Form/Task/SMS.php
CRM/Contact/Form/Task/SMSCommon.php
CRM/Contact/Form/Task/SaveSearch.php
CRM/Contact/Form/Task/SaveSearch/Update.php
CRM/Contact/Form/Task/Unhold.php
CRM/Contact/Form/Task/Useradd.php
CRM/Contact/Import/Controller.php
CRM/Contact/Import/Form/DataSource.php
CRM/Contact/Import/Form/MapField.php
CRM/Contact/Import/Form/Preview.php
CRM/Contact/Import/Form/Summary.php
CRM/Contact/Import/Page/AJAX.php
CRM/Contact/Import/Parser.php
CRM/Contact/Import/Parser/Contact.php
CRM/Contact/Page/AJAX.php
CRM/Contact/Page/CustomSearch.php
CRM/Contact/Page/DashBoard.php
CRM/Contact/Page/Dashlet.php
CRM/Contact/Page/DedupeFind.php
CRM/Contact/Page/DedupeRules.php
CRM/Contact/Page/SavedSearch.php
CRM/Contact/Page/Task.php
CRM/Contact/Page/View.php
CRM/Contact/Page/View/ContactSmartGroup.php
CRM/Contact/Page/View/CustomData.php
CRM/Contact/Page/View/GroupContact.php
CRM/Contact/Page/View/Log.php
CRM/Contact/Page/View/Note.php
CRM/Contact/Page/View/Print.php
CRM/Contact/Page/View/Relationship.php
CRM/Contact/Page/View/Summary.php
CRM/Contact/Page/View/Sunlight.php
CRM/Contact/Page/View/Tag.php
CRM/Contact/Page/View/UserDashBoard.php
CRM/Contact/Page/View/UserDashBoard/GroupContact.php
CRM/Contact/Selector.php
CRM/Contact/StateMachine/Search.php
CRM/Contact/Task.php
CRM/Contribute/BAO/Contribution.php
CRM/Contribute/BAO/Contribution/Utils.php
CRM/Contribute/BAO/ContributionPage.php
CRM/Contribute/BAO/ContributionRecur.php
CRM/Contribute/BAO/ContributionSoft.php
CRM/Contribute/BAO/ManagePremiums.php
CRM/Contribute/BAO/Premium.php
CRM/Contribute/BAO/Query.php
CRM/Contribute/Form/AbstractEditPayment.php
CRM/Contribute/Form/AdditionalInfo.php
CRM/Contribute/Form/CancelSubscription.php
CRM/Contribute/Form/Contribution.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Contribute/Form/Contribution/Main.php
CRM/Contribute/Form/Contribution/OnBehalfOf.php
CRM/Contribute/Form/Contribution/ThankYou.php
CRM/Contribute/Form/ContributionBase.php
CRM/Contribute/Form/ContributionCharts.php
CRM/Contribute/Form/ContributionPage.php
CRM/Contribute/Form/ContributionPage/AddProduct.php
CRM/Contribute/Form/ContributionPage/Amount.php
CRM/Contribute/Form/ContributionPage/Custom.php
CRM/Contribute/Form/ContributionPage/Delete.php
CRM/Contribute/Form/ContributionPage/Premium.php
CRM/Contribute/Form/ContributionPage/Settings.php
CRM/Contribute/Form/ContributionPage/ThankYou.php
CRM/Contribute/Form/ContributionPage/Widget.php
CRM/Contribute/Form/ContributionView.php
CRM/Contribute/Form/ManagePremiums.php
CRM/Contribute/Form/Search.php
CRM/Contribute/Form/SearchContribution.php
CRM/Contribute/Form/SoftCredit.php
CRM/Contribute/Form/Task.php
CRM/Contribute/Form/Task/Batch.php
CRM/Contribute/Form/Task/Delete.php
CRM/Contribute/Form/Task/Email.php
CRM/Contribute/Form/Task/Invoice.php
CRM/Contribute/Form/Task/PDF.php
CRM/Contribute/Form/Task/PDFLetter.php
CRM/Contribute/Form/Task/PDFLetterCommon.php
CRM/Contribute/Form/Task/PickProfile.php
CRM/Contribute/Form/Task/Print.php
CRM/Contribute/Form/Task/Result.php
CRM/Contribute/Form/Task/SearchTaskHookSample.php
CRM/Contribute/Form/Task/Status.php
CRM/Contribute/Form/UpdateBilling.php
CRM/Contribute/Form/UpdateSubscription.php
CRM/Contribute/Import/Controller.php
CRM/Contribute/Import/Form/DataSource.php
CRM/Contribute/Import/Form/MapField.php
CRM/Contribute/Import/Form/Preview.php
CRM/Contribute/Import/Form/Summary.php
CRM/Contribute/Import/Parser.php
CRM/Contribute/Import/Parser/Contribution.php
CRM/Contribute/Info.php
CRM/Contribute/Page/ContributionPage.php
CRM/Contribute/Page/ContributionRecur.php
CRM/Contribute/Page/ManagePremiums.php
CRM/Contribute/Page/Premium.php
CRM/Contribute/Page/Tab.php
CRM/Contribute/Page/UserDashboard.php
CRM/Contribute/PseudoConstant.php
CRM/Contribute/Selector/Search.php
CRM/Contribute/StateMachine/Contribution.php
CRM/Contribute/StateMachine/ContributionPage.php
CRM/Contribute/StateMachine/Search.php
CRM/Core/BAO/ActionLog.php
CRM/Core/BAO/ActionSchedule.php
CRM/Core/BAO/Address.php
CRM/Core/BAO/Block.php
CRM/Core/BAO/CMSUser.php
CRM/Core/BAO/Cache.php
CRM/Core/BAO/ConfigSetting.php
CRM/Core/BAO/CustomField.php
CRM/Core/BAO/CustomGroup.php
CRM/Core/BAO/CustomOption.php
CRM/Core/BAO/CustomValue.php
CRM/Core/BAO/CustomValueTable.php
CRM/Core/BAO/Dashboard.php
CRM/Core/BAO/Discount.php
CRM/Core/BAO/Domain.php
CRM/Core/BAO/Email.php
CRM/Core/BAO/EntityTag.php
CRM/Core/BAO/Extension.php
CRM/Core/BAO/FinancialTrxn.php
CRM/Core/BAO/IM.php
CRM/Core/BAO/Job.php
CRM/Core/BAO/LabelFormat.php
CRM/Core/BAO/Location.php
CRM/Core/BAO/LocationType.php
CRM/Core/BAO/Log.php
CRM/Core/BAO/MailSettings.php
CRM/Core/BAO/Mapping.php
CRM/Core/BAO/MessageTemplate.php
CRM/Core/BAO/Navigation.php
CRM/Core/BAO/Note.php
CRM/Core/BAO/OpenID.php
CRM/Core/BAO/OptionGroup.php
CRM/Core/BAO/OptionValue.php
CRM/Core/BAO/PaperSize.php
CRM/Core/BAO/PdfFormat.php
CRM/Core/BAO/Persistent.php
CRM/Core/BAO/Phone.php
CRM/Core/BAO/PreferencesDate.php
CRM/Core/BAO/PrevNextCache.php
CRM/Core/BAO/RecurringEntity.php
CRM/Core/BAO/Setting.php
CRM/Core/BAO/Tag.php
CRM/Core/BAO/UFField.php
CRM/Core/BAO/UFGroup.php
CRM/Core/BAO/UFJoin.php
CRM/Core/BAO/UFMatch.php
CRM/Core/BAO/Website.php
CRM/Core/BAO/WordReplacement.php
CRM/Core/Base.php
CRM/Core/Block.php
CRM/Core/CodeGen/Main.php
CRM/Core/CodeGen/Specification.php
CRM/Core/CodeGen/Util/File.php
CRM/Core/Component/Info.php
CRM/Core/Config/Defaults.php
CRM/Core/Config/Variables.php
CRM/Core/DAO.php
CRM/Core/Form.php
CRM/Core/Form/Date.php
CRM/Core/Form/RecurringEntity.php
CRM/Core/Form/Renderer.php
CRM/Core/Form/Tag.php
CRM/Core/I18n/Schema.php
CRM/Core/IDS.php
CRM/Core/Key.php
CRM/Core/Menu.php
CRM/Core/OptionGroup.php
CRM/Core/Page.php
CRM/Core/Page/AJAX.php
CRM/Core/Page/Basic.php
CRM/Core/Page/QUnit.php
CRM/Core/Payment/AuthorizeNet.php
CRM/Core/Payment/AuthorizeNetIPN.php
CRM/Core/Payment/BaseIPN.php
CRM/Core/Payment/Dummy.php
CRM/Core/Payment/Elavon.php
CRM/Core/Payment/FirstData.php
CRM/Core/Payment/Form.php
CRM/Core/Payment/Google.php
CRM/Core/Payment/GoogleIPN.php
CRM/Core/Payment/IATS.php
CRM/Core/Payment/Moneris.php
CRM/Core/Payment/PayJunction.php
CRM/Core/Payment/PayPalIPN.php
CRM/Core/Payment/PayPalImpl.php
CRM/Core/Payment/PayPalProIPN.php
CRM/Core/Payment/PayflowPro.php
CRM/Core/Payment/PaymentExpress.php
CRM/Core/Payment/PaymentExpressIPN.php
CRM/Core/Payment/Realex.php
CRM/Core/Payment/eWAY.php
CRM/Core/QuickForm/Action/Display.php
CRM/Core/Report/Excel.php
CRM/Core/Resources.php
CRM/Core/Selector/API.php
CRM/Core/Selector/Base.php
CRM/Core/Selector/Controller.php
CRM/Custom/Form/ChangeFieldType.php
CRM/Custom/Form/DeleteField.php
CRM/Custom/Form/DeleteGroup.php
CRM/Custom/Form/Field.php
CRM/Custom/Form/Group.php
CRM/Custom/Form/MoveField.php
CRM/Custom/Form/Option.php
CRM/Custom/Form/Preview.php
CRM/Custom/Import/Form/DataSource.php
CRM/Custom/Import/Form/MapField.php
CRM/Custom/Import/Form/Preview.php
CRM/Custom/Import/Form/Summary.php
CRM/Custom/Import/Parser.php
CRM/Custom/Import/Parser/Api.php
CRM/Custom/Page/Field.php
CRM/Custom/Page/Group.php
CRM/Dashlet/Page/Activity.php
CRM/Dashlet/Page/AllCases.php
CRM/Dashlet/Page/Blog.php
CRM/Dashlet/Page/CaseDashboard.php
CRM/Dashlet/Page/MyCases.php
CRM/Dedupe/BAO/RuleGroup.php
CRM/Dedupe/Merger.php
CRM/Event/BAO/Event.php
CRM/Event/Badge.php
CRM/Event/Controller/Search.php
CRM/Event/Form/ParticipantView.php
CRM/Event/Import/Controller.php
CRM/Event/Import/Form/DataSource.php
CRM/Event/Import/Form/MapField.php
CRM/Event/Import/Form/Preview.php
CRM/Event/Import/Form/Summary.php
CRM/Event/Import/Parser.php
CRM/Event/Import/Parser/Participant.php
CRM/Event/Info.php
CRM/Event/Page/AJAX.php
CRM/Event/Page/ManageEvent.php
CRM/Event/Page/Tab.php
CRM/Event/Page/UserDashboard.php
CRM/Event/PseudoConstant.php
CRM/Event/Selector/Search.php
CRM/Event/StateMachine/Registration.php
CRM/Event/StateMachine/Search.php
CRM/Event/Task.php
CRM/Export/BAO/Export.php
CRM/Export/Form/Map.php
CRM/Export/Form/Select.php
CRM/Extension/Browser.php
CRM/Extension/Container/Basic.php
CRM/Extension/Container/Collection.php
CRM/Extension/Container/Interface.php
CRM/Extension/Downloader.php
CRM/Extension/Info.php
CRM/Extension/Manager.php
CRM/Extension/Manager/Payment.php
CRM/Extension/Mapper.php
CRM/Extension/System.php
CRM/Extension/Upgrades.php
CRM/Financial/BAO/ExportFormat.php
CRM/Financial/BAO/ExportFormat/CSV.php
CRM/Financial/BAO/ExportFormat/IIF.php
CRM/Financial/BAO/FinancialAccount.php
CRM/Financial/BAO/FinancialItem.php
CRM/Financial/BAO/FinancialType.php
CRM/Financial/BAO/FinancialTypeAccount.php
CRM/Financial/BAO/PaymentProcessor.php
CRM/Financial/BAO/PaymentProcessorType.php
CRM/Financial/Form/BatchTransaction.php
CRM/Financial/Form/Export.php
CRM/Financial/Form/FinancialAccount.php
CRM/Financial/Form/FinancialBatch.php
CRM/Financial/Form/FinancialType.php
CRM/Financial/Form/FinancialTypeAccount.php
CRM/Financial/Page/AJAX.php
CRM/Financial/Page/Batch.php
CRM/Financial/Page/BatchTransaction.php
CRM/Financial/Page/FinancialAccount.php
CRM/Financial/Page/FinancialBatch.php
CRM/Financial/Page/FinancialType.php
CRM/Financial/Page/FinancialTypeAccount.php
CRM/Friend/BAO/Friend.php
CRM/Friend/Form.php
CRM/Friend/Form/Contribute.php
CRM/Friend/Form/Event.php
CRM/Grant/BAO/Grant.php
CRM/Grant/BAO/Query.php
CRM/Grant/Controller/Search.php
CRM/Grant/Form/Grant.php
CRM/Grant/Form/GrantView.php
CRM/Grant/Form/Search.php
CRM/Grant/Form/Task.php
CRM/Grant/Form/Task/Delete.php
CRM/Grant/Form/Task/Print.php
CRM/Grant/Form/Task/Result.php
CRM/Grant/Form/Task/SearchTaskHookSample.php
CRM/Grant/Form/Task/Update.php
CRM/Grant/Info.php
CRM/Grant/Page/Tab.php
CRM/Grant/Selector/Search.php
CRM/Grant/StateMachine/Search.php
CRM/Group/Controller.php
CRM/Group/Form/Edit.php
CRM/Group/Page/Group.php
CRM/Import/DataSource.php
CRM/Import/DataSource/CSV.php
CRM/Import/DataSource/SQL.php
CRM/Import/Form/MapField.php
CRM/Import/Form/Preview.php
CRM/Import/Form/Summary.php
CRM/Import/Parser.php
CRM/Import/StateMachine.php
CRM/Mailing/BAO/BouncePattern.php
CRM/Mailing/BAO/Component.php
CRM/Mailing/BAO/Mailing.php
CRM/Mailing/BAO/MailingAB.php
CRM/Mailing/BAO/MailingJob.php
CRM/Mailing/BAO/Query.php
CRM/Mailing/BAO/Recipients.php
CRM/Mailing/BAO/Spool.php
CRM/Mailing/BAO/TrackableURL.php
CRM/Mailing/Config.php
CRM/Mailing/Controller/Send.php
CRM/Mailing/Event/BAO/Bounce.php
CRM/Mailing/Event/BAO/Confirm.php
CRM/Mailing/Event/BAO/Delivered.php
CRM/Mailing/Event/BAO/Forward.php
CRM/Mailing/Event/BAO/Opened.php
CRM/Mailing/Event/BAO/Queue.php
CRM/Mailing/Event/BAO/Reply.php
CRM/Mailing/Event/BAO/Subscribe.php
CRM/Mailing/Event/BAO/TrackableURLOpen.php
CRM/Mailing/Event/BAO/Unsubscribe.php
CRM/Mailing/Form/Approve.php
CRM/Mailing/Form/Browse.php
CRM/Mailing/Form/Component.php
CRM/Mailing/Form/ForwardMailing.php
CRM/Mailing/Form/Group.php
CRM/Mailing/Form/Schedule.php
CRM/Mailing/Form/Settings.php
CRM/Mailing/Form/Subscribe.php
CRM/Mailing/Form/Task.php
CRM/Mailing/Form/Task/Print.php
CRM/Mailing/Form/Test.php
CRM/Mailing/Form/Upload.php
CRM/Mailing/Info.php
CRM/Mailing/MailStore.php
CRM/Mailing/MailStore/Imap.php
CRM/Mailing/MailStore/Localdir.php
CRM/Mailing/MailStore/Maildir.php
CRM/Mailing/MailStore/Mbox.php
CRM/Mailing/MailStore/Pop3.php
CRM/Mailing/Page/AJAX.php
CRM/Mailing/Page/Browse.php
CRM/Mailing/Page/Component.php
CRM/Mailing/Page/Event.php
CRM/Mailing/Page/Report.php
CRM/Mailing/Page/Tab.php
CRM/Mailing/Page/View.php
CRM/Mailing/PseudoConstant.php
CRM/Mailing/Selector/Browse.php
CRM/Mailing/Selector/Event.php
CRM/Mailing/Selector/Search.php
CRM/Mailing/StateMachine/Send.php
CRM/Mailing/Task.php
CRM/Member/BAO/Membership.php
CRM/Member/BAO/MembershipBlock.php
CRM/Member/BAO/MembershipLog.php
CRM/Member/BAO/MembershipPayment.php
CRM/Member/BAO/MembershipStatus.php
CRM/Member/BAO/MembershipType.php
CRM/Member/Controller/Search.php
CRM/Member/Form.php
CRM/Member/Form/Membership.php
CRM/Member/Form/MembershipBlock.php
CRM/Member/Form/MembershipConfig.php
CRM/Member/Form/MembershipRenewal.php
CRM/Member/Form/MembershipStatus.php
CRM/Member/Form/MembershipType.php
CRM/Member/Form/MembershipView.php
CRM/Member/Form/Search.php
CRM/Member/Form/Task.php
CRM/Member/Form/Task/Batch.php
CRM/Member/Form/Task/Delete.php
CRM/Member/Form/Task/Email.php
CRM/Member/Form/Task/Label.php
CRM/Member/Form/Task/PDFLetter.php
CRM/Member/Form/Task/PDFLetterCommon.php
CRM/Member/Form/Task/PickProfile.php
CRM/Member/Form/Task/Print.php
CRM/Member/Form/Task/Result.php
CRM/Member/Form/Task/SearchTaskHookSample.php
CRM/Member/Import/Form/DataSource.php
CRM/Member/Import/Form/MapField.php
CRM/Member/Import/Form/Preview.php
CRM/Member/Import/Form/Summary.php
CRM/Member/Import/Parser.php
CRM/Member/Import/Parser/Membership.php
CRM/Member/Info.php
CRM/Member/Page/AJAX.php
CRM/Member/Page/MembershipStatus.php
CRM/Member/Page/MembershipType.php
CRM/Member/Page/Tab.php
CRM/Member/Page/UserDashboard.php
CRM/Member/PseudoConstant.php
CRM/Member/Selector/Search.php
CRM/Member/StateMachine/Search.php
CRM/PCP/Form/Campaign.php
CRM/PCP/Form/Contribute.php
CRM/PCP/Form/Event.php
CRM/PCP/Form/PCP.php
CRM/PCP/Form/PCPAccount.php
CRM/PCP/Page/PCP.php
CRM/PCP/StateMachine/PCP.php
CRM/Pledge/BAO/Pledge.php
CRM/Pledge/BAO/PledgeBlock.php
CRM/Pledge/BAO/PledgePayment.php
CRM/Pledge/BAO/Query.php
CRM/Pledge/Controller/Search.php
CRM/Pledge/Form/Payment.php
CRM/Pledge/Form/Pledge.php
CRM/Pledge/Form/PledgeView.php
CRM/Pledge/Form/Search.php
CRM/Pledge/Form/Task.php
CRM/Pledge/Form/Task/Delete.php
CRM/Pledge/Form/Task/Print.php
CRM/Pledge/Form/Task/Result.php
CRM/Pledge/Form/Task/SearchTaskHookSample.php
CRM/Pledge/Info.php
CRM/Pledge/Page/AJAX.php
CRM/Pledge/Page/Payment.php
CRM/Pledge/Page/Tab.php
CRM/Pledge/Page/UserDashboard.php
CRM/Pledge/StateMachine/Search.php
CRM/Pledge/Task.php
CRM/Price/BAO/LineItem.php
CRM/Price/BAO/PriceField.php
CRM/Price/BAO/PriceFieldValue.php
CRM/Price/BAO/PriceSet.php
CRM/Price/Form/DeleteField.php
CRM/Price/Form/DeleteSet.php
CRM/Price/Form/Field.php
CRM/Price/Form/Option.php
CRM/Price/Form/Preview.php
CRM/Price/Form/Set.php
CRM/Price/Page/Field.php
CRM/Price/Page/Option.php
CRM/Price/Page/Set.php
CRM/Profile/Form.php
CRM/Profile/Form/Dynamic.php
CRM/Profile/Form/Edit.php
CRM/Profile/Form/Search.php
CRM/Profile/Page/Dynamic.php
CRM/Profile/Page/Listings.php
CRM/Profile/Page/MultipleRecordFieldsListing.php
CRM/Profile/Page/View.php
CRM/Profile/Selector/Listings.php
CRM/Queue/BAO/QueueItem.php
CRM/Queue/ErrorPolicy.php
CRM/Queue/Page/AJAX.php
CRM/Queue/Queue.php
CRM/Queue/Queue/Memory.php
CRM/Queue/Queue/Sql.php
CRM/Queue/Service.php
CRM/Queue/Task.php
CRM/Report/BAO/Hook.php
CRM/Report/BAO/ReportInstance.php
CRM/Report/Form.php
CRM/Report/Form/Contribute/HouseholdSummary.php
CRM/Report/Form/Contribute/OrganizationSummary.php
CRM/Report/Form/Event/ParticipantListCount.php
CRM/Report/Form/Event/Summary.php
CRM/Report/Form/Extended.php
CRM/Report/Form/Mailing/Summary.php
CRM/Report/Form/Pledge/Detail.php
CRM/Report/Form/Register.php
CRM/Report/Info.php
CRM/Report/Interface.php
CRM/Report/Page/InstanceList.php
CRM/Report/Page/Options.php
CRM/Report/Utils/Get.php
CRM/Report/Utils/Report.php
CRM/SMS/BAO/Provider.php
CRM/SMS/Controller/Send.php
CRM/SMS/Form/Group.php
CRM/SMS/Form/Schedule.php
CRM/SMS/Form/Upload.php
CRM/SMS/Page/Provider.php
CRM/SMS/Provider.php
CRM/SMS/StateMachine/Send.php
CRM/Tag/Form/Tag.php
CRM/UF/Form/AbstractPreview.php
CRM/UF/Form/Field.php
CRM/UF/Form/Group.php
CRM/UF/Form/Preview.php
CRM/UF/Page/AJAX.php
CRM/UF/Page/Field.php
CRM/UF/Page/Group.php
CRM/UF/Page/ProfileEditor.php
CRM/Upgrade/Controller.php
CRM/Upgrade/Form.php
CRM/Upgrade/Incremental/Legacy.php
CRM/Upgrade/Incremental/php/FourFive.php
CRM/Upgrade/Incremental/php/FourFour.php
CRM/Upgrade/Incremental/php/FourOne.php
CRM/Upgrade/Incremental/php/FourSix.php
CRM/Upgrade/Incremental/php/FourThree.php
CRM/Upgrade/Incremental/php/FourTwo.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/LineItem.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php
CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php
CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php
CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php
CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php
CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php
CRM/Upgrade/StateMachine.php
CRM/Utils/API/ReloadOption.php
CRM/Utils/Address.php
CRM/Utils/Array.php
CRM/Utils/Cache.php
CRM/Utils/Cache/APCcache.php
CRM/Utils/Cache/ArrayCache.php
CRM/Utils/Cache/Interface.php
CRM/Utils/Cache/Memcache.php
CRM/Utils/Cache/Memcached.php
CRM/Utils/Cache/NoCache.php
CRM/Utils/Cache/SerializeCache.php
CRM/Utils/Cache/SqlGroup.php
CRM/Utils/Check.php
CRM/Utils/Date.php
CRM/Utils/File.php
CRM/Utils/Geocode/Google.php
CRM/Utils/Geocode/Yahoo.php
CRM/Utils/GlobalStack.php
CRM/Utils/Hook.php
CRM/Utils/Hook/Joomla.php
CRM/Utils/Hook/Soap.php
CRM/Utils/Hook/UnitTests.php
CRM/Utils/Hook/WordPress.php
CRM/Utils/HttpClient.php
CRM/Utils/ICalendar.php
CRM/Utils/JS.php
CRM/Utils/JSON.php
CRM/Utils/Mail.php
CRM/Utils/Mail/EmailProcessor.php
CRM/Utils/Mail/Incoming.php
CRM/Utils/Migrate/ExportJSON.php
CRM/Utils/Money.php
CRM/Utils/Number.php
CRM/Utils/OptionBag.php
CRM/Utils/PDF/Label.php
CRM/Utils/PDF/Utils.php
CRM/Utils/Pager.php
CRM/Utils/PagerAToZ.php
CRM/Utils/PseudoConstant.php
CRM/Utils/REST.php
CRM/Utils/ReCAPTCHA.php
CRM/Utils/Recent.php
CRM/Utils/Rule.php
CRM/Utils/SQL/Insert.php
CRM/Utils/SQL/Select.php
CRM/Utils/SoapServer.php
CRM/Utils/Sort.php
CRM/Utils/String.php
CRM/Utils/System.php
CRM/Utils/System/Base.php
CRM/Utils/System/Drupal.php
CRM/Utils/System/Drupal6.php
CRM/Utils/System/Drupal8.php
CRM/Utils/System/DrupalBase.php
CRM/Utils/System/Joomla.php
CRM/Utils/System/Soap.php
CRM/Utils/System/WordPress.php
CRM/Utils/Time.php
CRM/Utils/Token.php
CRM/Utils/Tree.php
CRM/Utils/Type.php
CRM/Utils/Verp.php
CRM/Utils/VersionCheck.php
CRM/Utils/Wrapper.php
CRM/Utils/XML.php
CRM/Utils/Zip.php
Civi/API/Events.php
Civi/API/Provider/MagicFunctionProvider.php
Civi/API/Subscriber/ChainSubscriber.php
Civi/API/Subscriber/TransactionSubscriber.php
Civi/Angular/Manager.php
Civi/Angular/Page/Main.php
Civi/CCase/Analyzer.php
Civi/CCase/Events.php
Civi/Core/Transaction/Frame.php
Civi/Install/Requirements.php
install/index.php
tests/extensions/test.extension.manager.reporttest/main.php
tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php
tests/phpunit/CRM/Activity/BAO/ActivityTest.php
tests/phpunit/CRM/Batch/Form/EntryTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionRecurTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Core/BAO/CustomGroupTest.php
tests/phpunit/CRM/Queue/QueueTest.php
tests/phpunit/CRM/Queue/RunnerTest.php
tests/phpunit/CRM/Utils/Cache/AllTests.php
tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php
tests/phpunit/CRM/Utils/ZipTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/ActivityTest.php
tests/phpunit/api/v3/AddressTest.php
tests/phpunit/api/v3/AttachmentTest.php
tests/phpunit/api/v3/BatchTest.php
tests/phpunit/api/v3/CRM11793Test.php
tests/phpunit/api/v3/CaseTest.php
tests/phpunit/api/v3/ContactTest.php
tests/phpunit/api/v3/ContributionSoftTest.php
tests/phpunit/api/v3/ContributionTest.php
tests/phpunit/api/v3/DomainTest.php
tests/phpunit/api/v3/EmailTest.php
tests/phpunit/api/v3/EntityTagTest.php
tests/phpunit/api/v3/EventTest.php
tests/phpunit/api/v3/GrantTest.php
tests/phpunit/api/v3/JobTest.php
tests/phpunit/api/v3/MailingABTest.php
tests/phpunit/api/v3/MailingTest.php
tests/phpunit/api/v3/MembershipStatusTest.php
tests/phpunit/api/v3/MembershipTest.php
tests/phpunit/api/v3/MessageTemplateTest.php
tests/phpunit/api/v3/OptionValueTest.php
tests/phpunit/api/v3/ParticipantPaymentTest.php
tests/phpunit/api/v3/ParticipantTest.php
tests/phpunit/api/v3/PhoneTest.php
tests/phpunit/api/v3/PledgePaymentTest.php
tests/phpunit/api/v3/PledgeTest.php
tests/phpunit/api/v3/PriceSetTest.php
tests/phpunit/api/v3/RelationshipTest.php
tests/phpunit/api/v3/ReportTemplateTest.php
tests/phpunit/api/v3/SurveyTest.php
tests/phpunit/api/v3/SyntaxConformanceTest.php
tests/phpunit/api/v3/SystemTest.php
tests/phpunit/api/v3/TagTest.php
tests/phpunit/api/v3/UtilsTest.php
tests/qunit/crm-backbone/test.js

index 2aacb1886cdc4c9013c7a43d8ee12cbee99e6876..0fa785df243cd03e436aaa3f093f1cdc870539c6 100644 (file)
@@ -671,7 +671,7 @@ SELECT $acl.*
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index 0cc6e08d1e34f7f0e235f2e1e86c6fa2a8010a85..c167b978da8d032d4e1616fe5fd9eae79d7e597c 100644 (file)
@@ -73,7 +73,7 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index 1d5ecd066e46b9e758f583e060d5ff19fd7ebe31..9d514c4de717806e5beb455c3bbe61a78c2d423e 100644 (file)
 class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
 
   /**
-   * Static field for all the activity information that we can potentially export
+   * Static field for all the activity information that we can potentially export.
    *
    * @var array
    */
   static $_exportableFields = NULL;
 
   /**
-   * Static field for all the activity information that we can potentially import
+   * Static field for all the activity information that we can potentially import.
    *
    * @var array
    */
index c739d0729c9511b0d3b251406217b6aa28ab7399..b9761979cd8fb421187f9929b4f88b278a0c42e9 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityContact {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -67,7 +67,7 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta
   }
 
   /**
-   * Retrieve assignee_id by activity_id
+   * Retrieve assignee_id by activity_id.
    *
    * @param int $activity_id
    *
@@ -99,7 +99,7 @@ AND        civicrm_contact.is_deleted = 0
   }
 
   /**
-   * Retrieve assignee names by activity_id
+   * Retrieve assignee names by activity_id.
    *
    * @param array $activityIDs
    *   IDs of the activities.
index 20aae7cab8409649856e7629dfd4c1868b8243dc..279b646a0cdae576415b384a2a11a9784b48b329 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -66,7 +66,7 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact
   }
 
   /**
-   * Retrieve names of contact by activity_id
+   * Retrieve names of contact by activity_id.
    *
    * @param int $activityID
    * @param int $recordTypeID
@@ -105,7 +105,7 @@ AND        contact_a.is_deleted = 0
   }
 
   /**
-   * Retrieve id of target contact by activity_id
+   * Retrieve id of target contact by activity_id.
    *
    * @param int $activityID
    * @param int $recordTypeID
index cbc4e8ddb4dffe514f87e9eb562941a05dbcfdaf..df4bb19707ffa9d9f8a787d38b8e6678f602bec1 100644 (file)
 class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Add activity target
+   * Add activity target.
    *
    * @param array $params
    *
@@ -65,7 +65,7 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
   }
 
   /**
-   * Retrieve id of target contact by activity_id
+   * Retrieve id of target contact by activity_id.
    *
    * @param int $activity_id
    *
@@ -96,7 +96,7 @@ AND        civicrm_contact.is_deleted = 0
   }
 
   /**
-   * Retrieve names of target contact by activity_id
+   * Retrieve names of target contact by activity_id.
    *
    * @param int $activityID
    *
index ee518610e674ee221d7996fef77c66313e1bccf2..3d868d9e58b51963fd26d256a4d5c533de04dfac 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Activity_BAO_ICalendar {
   protected $activity;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param object $act
    *   Reference to an activity object.
@@ -57,7 +57,7 @@ class CRM_Activity_BAO_ICalendar {
   }
 
   /**
-   * Add an ics attachment to the input array
+   * Add an ics attachment to the input array.
    *
    * @param array $attachments
    *   Reference to array in same format returned from CRM_Core_BAO_File::getEntityFile().
@@ -105,7 +105,7 @@ class CRM_Activity_BAO_ICalendar {
   }
 
   /**
-   * Remove temp file
+   * Remove temp file.
    */
   public function cleanup() {
     if (!empty ($this->icsfile)) {
index 0dd18450e6ccb413366bce5c09ab517e881eec96..b12278bb798bfc95fa5237e3e1b30e293edf9805 100644 (file)
@@ -156,7 +156,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * Given a list of conditions in query generate the required
+   * Given a list of conditions in query generate the required.
    * where clause
    *
    * @param $query
@@ -176,7 +176,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * Where clause for a single field
+   * Where clause for a single field.
    *
    * @param $values
    * @param $query
@@ -402,7 +402,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * Getter for the qill object
+   * Getter for the qill object.
    *
    * @return string
    */
@@ -411,7 +411,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * Add all the elements shared between case activity search and advanced search
+   * Add all the elements shared between case activity search and advanced search.
    *
    *
    * @param CRM_Core_Form $form
index 085e3119c594940c6d8574e7db19c926f0245eb6..7ef8e42d258b01f412d587cab805ad33210c783d 100644 (file)
@@ -29,7 +29,6 @@
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
- *
  */
 
 /**
  *
  * Typically the first form will display the search criteria and it's results
  *
- * The second form is used to process search results with the asscociated actions
+ * The second form is used to process search results with the associated actions
  *
  */
 class CRM_Activity_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
+   *
    * @param null $title
    * @param bool $modal
    * @param int|mixed|null $action
@@ -57,14 +57,16 @@ class CRM_Activity_Controller_Search extends CRM_Core_Controller {
 
     $this->_stateMachine = new CRM_Activity_StateMachine_Search($this, $action);
 
-    // create and instantiate the pages
+    // Create and instantiate the pages.
     $this->addPages($this->_stateMachine, $action);
 
-    // add all the actions
+    // Add all the actions.
     $this->addActions();
   }
 
   /**
+   * Getter for selectorName.
+   *
    * @return mixed
    */
   public function selectorName() {
index d806d7722fadd1b5847001f282482e5ca1b8356f..e382c65c7b017978f875894579d407e83b34213e 100644 (file)
@@ -47,35 +47,35 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   public $_activityId;
 
   /**
-   * Store activity ids when multiple activities are created
+   * Store activity ids when multiple activities are created.
    *
    * @var int
    */
   public $_activityIds = array();
 
   /**
-   * The id of activity type
+   * The id of activity type.
    *
    * @var int
    */
   public $_activityTypeId;
 
   /**
-   * The name of activity type
+   * The name of activity type.
    *
    * @var string
    */
   public $_activityTypeName;
 
   /**
-   * The id of currently viewed contact
+   * The id of currently viewed contact.
    *
    * @var int
    */
   public $_currentlyViewedContactId;
 
   /**
-   * The id of source contact and target contact
+   * The id of source contact and target contact.
    *
    * @var int
    */
@@ -98,7 +98,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   public $_currentUserId;
 
   /**
-   * The array of form field attributes
+   * The array of form field attributes.
    *
    * @var array
    */
@@ -112,7 +112,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   protected $_crmDir = 'Activity';
 
   /**
-   * Survey activity
+   * Survey activity.
    *
    * @var boolean
    */
@@ -214,7 +214,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -819,7 +819,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -867,7 +867,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param array $params
@@ -1005,7 +1005,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process activity creation
+   * Process activity creation.
    *
    * @param array $params
    *   Associated array of submitted values.
@@ -1174,7 +1174,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Let injecting activity type file do any processing
+   * Let injecting activity type file do any processing.
    * needed, before the activity is added/updated
    *
    * @param array $params
index 2a633ba1f37d3716ccf2dde65f7a38ac98cf98f5..27e75234fe1c8649d45c627ee1e405c37404b5d4 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_Form_ActivityView extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -116,7 +116,7 @@ class CRM_Activity_Form_ActivityView extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 3f089653371ed21a8667a01b4e84f50e10fb848c..c81f6692d36dcc5debd1d920f6ded184d50c0810 100644 (file)
 class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * The params that are sent to the query
+   * The params that are sent to the query.
    *
    * @var array
    */
   protected $_queryParams;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_limit = NULL;
 
   /**
-   * Prefix for the controller
+   * Prefix for the controller.
    */
   protected $_prefix = "activity_";
 
   protected $_defaults;
 
   /**
-   * The saved search ID retrieved from the GET vars
+   * The saved search ID retrieved from the GET vars.
    *
    * @var int
    */
   protected $_ssID;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -158,7 +158,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index ef159a2004d8833cb5d2a3712397dab24ba957e7..a0447e1fc8392d129bd11d311a3146d003fb332d 100644 (file)
 class CRM_Activity_Form_Task extends CRM_Core_Form {
 
   /**
-   * The task being performed
+   * The task being performed.
    *
    * @var int
    */
   protected $_task;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_componentClause = NULL;
 
   /**
-   * The array that holds all the component ids
+   * The array that holds all the component ids.
    *
    * @var array
    */
   protected $_componentIds;
 
   /**
-   * The array that holds all the contact ids
+   * The array that holds all the contact ids.
    *
    * @var array
    */
   public $_contactIds;
 
   /**
-   * The array that holds all the member ids
+   * The array that holds all the member ids.
    *
    * @var array
    */
   public $_activityHolderIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
index 4eefe64ce8a1e20b0ecbbc3638ba2005cfefad1b..175a784aa18b32c626a7edd1d89c3fe0fba6c2a2 100644 (file)
 class CRM_Activity_Form_Task_AddToTag extends CRM_Activity_Form_Task {
 
   /**
-   * Name of the tag
+   * Name of the tag.
    *
    * @var string
    */
   protected $_name;
 
   /**
-   * All the tags in the system
+   * All the tags in the system.
    *
    * @var array
    */
   protected $_tags;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -94,7 +94,7 @@ class CRM_Activity_Form_Task_AddToTag extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 518f69e4739af06877ce005fb77f118a7674ff77..c9d2523d4a1f10ee6e9aeb412c39259fc3e4df9d 100755 (executable)
 class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Maximum profile fields that will be displayed
+   * Maximum profile fields that will be displayed.
    */
   protected $_maxFields = 9;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -212,7 +212,7 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    */
   public function postProcess() {
     $params = $this->exportValues();
index 1a29df04412b3e2d19d1165c793f9d6a8c6a1f67..1a899e003b55346b601c40a4bc6f338d937a1292 100755 (executable)
@@ -49,7 +49,7 @@ class CRM_Activity_Form_Task_Delete extends CRM_Activity_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -58,7 +58,7 @@ class CRM_Activity_Form_Task_Delete extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -68,7 +68,7 @@ class CRM_Activity_Form_Task_Delete extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 1f8756bfc16cad9a5d3c67a1ca2f2228fa1f7a24..5553943e0a3029150a786fd5abd00b3de99bc381 100644 (file)
@@ -50,14 +50,14 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task {
   public $_noEmails = FALSE;
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
   public $_templates = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -72,7 +72,7 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -85,7 +85,7 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 408f1ac59df7056d903f605b70f17d355c2c4d1d..c5cb731df0631472d27318456ac3a139d9e5c9c4 100644 (file)
 class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
   /**
-   * Variable to store contact Ids
+   * Variable to store contact Ids.
    */
   public $_contacts;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -69,7 +69,7 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -80,7 +80,7 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -89,7 +89,7 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index f7bbc3457da38e97928bb995641fd20558cc0ff9..ebf23770a7f7c8e5f349aff168a1c922a92c2aaf 100644 (file)
 class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Maximum Activities that should be allowed to update
+   * Maximum Activities that should be allowed to update.
    */
   protected $_maxActivities = 100;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
   /**
-   * Variable to store contact Ids
+   * Variable to store contact Ids.
    */
   public $_contacts;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -92,7 +92,7 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -106,7 +106,7 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -116,7 +116,7 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -135,7 +135,7 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 29b751aea20730ae65d675a00004a46df76ecb89..c54f444ed3349d0079e653a1c4f245f501d8d203 100755 (executable)
 class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Maximum Activities that should be allowed to update
+   * Maximum Activities that should be allowed to update.
    */
   protected $_maxActivities = 100;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -88,7 +88,7 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -136,7 +136,7 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -146,7 +146,7 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -159,7 +159,7 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 9897bcd62abda6b04114bc981b433f611dc29184..529c920927dc5e3e4e605e90906d4329c2a8c9fa 100644 (file)
@@ -93,7 +93,7 @@ class CRM_Activity_Form_Task_Print extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 53f3919adca41e3e202b78f32ff83eeed2bd9e7d..26c0e26d3d422cb83695e3a8f9713a0150add779 100644 (file)
@@ -90,7 +90,7 @@ class CRM_Activity_Form_Task_RemoveFromTag extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 3b59e8da869e538784696dd67bfc2ebce92996c8..8e19aaba59936a1530e8c893f80a5e741532b015 100644 (file)
@@ -40,14 +40,14 @@ class CRM_Activity_Form_Task_SMS extends CRM_Activity_Form_Task {
   public $_single = FALSE;
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
   public $_templates = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -58,7 +58,7 @@ class CRM_Activity_Form_Task_SMS extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -70,7 +70,7 @@ class CRM_Activity_Form_Task_SMS extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index b344287d425d6331eedd34b444043a18ca28b9fc..f7b97946c045fa68fea15a6bb459312d51f9a32b 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Activity_Form_Task_SearchTaskHookSample extends CRM_Activity_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -79,7 +79,7 @@ INNER JOIN civicrm_contact ct ON ( ac.contact_id = ct.id )
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 0e1ee35c0c35cec4bfed3579e83750ca1a75d69b..a5501d11f136a6ca8534de9012ca0b146a331cc9 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -51,7 +51,7 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -125,7 +125,7 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index 4b18667a78cb0cbad8b91fc3c04d84dcf4225726..a6bd477b9827d4c916f233e7d75a1a96f9338058 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -81,7 +81,7 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -268,7 +268,7 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -370,7 +370,7 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Process the mapped fields and map it into the uploaded file
+   * Process the mapped fields and map it into the uploaded file.
    * preview the file and extract some summary statistics
    *
    * @return void
index 7a127e6300d2852ed18c676231222c1a7575d15a..62e34c0266e5f62d005587d15d4b35334da1cc20 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -106,7 +106,7 @@ class CRM_Activity_Import_Form_Preview extends CRM_Import_Form_Preview {
   }
 
   /**
-   * Process the mapped fields and map it into the uploaded file
+   * Process the mapped fields and map it into the uploaded file.
    * preview the file and extract some summary statistics
    *
    * @return void
index 0d3c8c3f7b530d454aebe7bda054deefcdae4d9d..5b7d519a18f27ff18daa09ad7f8178fa9900cb51 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Activity_Import_Form_Summary extends CRM_Import_Form_Summary {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index ee2659d490ebd784e8d66fe986839571b99fa2d1..f2170f48c99e89fd8de4b0633c071e1405608de7 100644 (file)
@@ -41,7 +41,7 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
    */
 
   /**
-   * Imported file size
+   * Imported file size.
    */
   protected $_fileSize;
 
@@ -51,12 +51,12 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
   protected $_seperator;
 
   /**
-   * Total number of lines in file
+   * Total number of lines in file.
    */
   protected $_lineCount;
 
   /**
-   * Whether the file has a column header or not
+   * Whether the file has a column header or not.
    *
    * @var boolean
    */
@@ -295,7 +295,7 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference ) associative array of name/value pairs
@@ -338,7 +338,7 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Store parser values
+   * Store parser values.
    *
    * @param CRM_Core_Session $store
    *
@@ -382,7 +382,7 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Export data to a CSV file
+   * Export data to a CSV file.
    *
    * @param string $fileName
    * @param array $header
index e6b5f44b1b1f2d0491be3cfede8e9c2053e4d5dc..793e090c6e8572c2f502912a4193f00df4ebf189 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   protected $_newActivity;
 
   /**
-   * Class constructor
+   * Class constructor.
    * @param $mapperKeys
    * @param null $mapperLocType
    * @param null $mapperPhoneType
@@ -130,7 +130,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   }
 
   /**
-   * Handle the values in mapField mode
+   * Handle the values in mapField mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -142,7 +142,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   }
 
   /**
-   * Handle the values in preview mode
+   * Handle the values in preview mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -155,7 +155,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   }
 
   /**
-   * Handle the values in summary mode
+   * Handle the values in summary mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -238,7 +238,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   }
 
   /**
-   * Handle the values in import mode
+   * Handle the values in import mode.
    *
    * @param int $onDuplicate
    *   The code for what action to take on duplicates.
index 194ec6039022177090b5bbe1a31b817dc7f32dca..2150089455bdac5df7f1dac4f3ea2200c031a511 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_Page_Tab extends CRM_Core_Page {
 
   /**
-   * Browse all activities for a particular contact
+   * Browse all activities for a particular contact.
    *
    * @return void
    */
index 49d0a950713782e365e99a65e6341948866e0b8d..0f386e02eb837668712efd25f09f5162159671d9 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Activity_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
 
   /**
-   * List participations for the UF user
+   * List participations for the UF user.
    *
    * @return bool
    */
index 5d299ed3f15714f8226416d6171ab10bc451e160..86789d67551e13dc5ef41b485e2c2e74b1ba16f7 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   protected $_viewOptions;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param int $contactId
    *   Contact whose activities we want to display.
@@ -359,7 +359,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
@@ -504,7 +504,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * Get colunmn headers for search selector
+   * Get colunmn headers for search selector.
    *
    *
    * @return array
index f86cabccc12562b0173ef8f610e0c541d08e7c3a..258c2c8983337f2f3e81abf1e2dd816daa3b0052 100644 (file)
@@ -79,35 +79,35 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   );
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_limit = NULL;
 
   /**
-   * What context are we being invoked from
+   * What context are we being invoked from.
    *
    * @var string
    */
   protected $_context = NULL;
 
   /**
-   * What component context are we being invoked from
+   * What component context are we being invoked from.
    *
    * @var string
    */
   protected $_compContext = NULL;
 
   /**
-   * QueryParams is the array returned by exportValues called on
+   * QueryParams is the array returned by exportValues called on.
    * the HTML_QuickForm_Controller for that page.
    *
    * @var array
@@ -115,28 +115,28 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   public $_queryParams;
 
   /**
-   * Represent the type of selector
+   * Represent the type of selector.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_activityClause = NULL;
 
   /**
-   * The query object
+   * The query object.
    *
    * @var string
    */
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
index 345f04bc1333524fe16dd5dc4a773ec6bb12d07d..77f1a8af347a6f3fbd7b7ed1eba91ee8e493a926 100644 (file)
@@ -34,7 +34,7 @@
 class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine {
 
   /**
-   * The task that the wizard is currently processing
+   * The task that the wizard is currently processing.
    *
    * @var string
    */
@@ -91,7 +91,7 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
@@ -100,7 +100,7 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Should the controller reset the session
+   * Should the controller reset the session.
    * In some cases, specifically search we want to remember
    * state across various actions and want to go back to the
    * beginning from the final state, but retain the same session
index 9f6c5aeb62650a62cce43cc1cfa56c1c773f0e82..7c8acaac4171425007895d0e8455dcc9b5a96475 100644 (file)
@@ -45,21 +45,21 @@ class CRM_Activity_Task {
     EMAIL_SMS = 6;
 
   /**
-   * The task array
+   * The task array.
    *
    * @var array
    */
   static $_tasks = NULL;
 
   /**
-   * The optional task array
+   * The optional task array.
    *
    * @var array
    */
   static $_optionalTasks = NULL;
 
   /**
-   * These tasks are the core set of tasks that the user can perform
+   * These tasks are the core set of tasks that the user can perform.
    * on a contact / group of contacts
    *
    * @return array
@@ -143,7 +143,7 @@ class CRM_Activity_Task {
   }
 
   /**
-   * These tasks are the core set of task titles
+   * These tasks are the core set of task titles.
    * on activity
    *
    * @return array
@@ -159,7 +159,7 @@ class CRM_Activity_Task {
   }
 
   /**
-   * Show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level.
    * of the user
    *
    * @param int $permission
@@ -186,7 +186,7 @@ class CRM_Activity_Task {
   }
 
   /**
-   * These tasks are the core set of tasks that the user can perform
+   * These tasks are the core set of tasks that the user can perform.
    * on activity
    *
    * @param int $value
index 5557a6bd232c9474ef65129890d7f145aa039cf5..7840e5d10e2b85d7fabbed2d89b2fc9fcbde3e67 100644 (file)
@@ -42,9 +42,9 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and.
-   * retrieves the relevant objects. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -65,7 +65,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index b6c9741477677476e2b48206bca31a3f72ce9760..e058d7fdba937b4a6de81731ec22764ac6f43dee 100755 (executable)
@@ -66,7 +66,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
 
   public $_membershipId = NULL;
   /**
-   * When not to reset sort_name
+   * When not to reset sort_name.
    */
   protected $_preserveDefault = TRUE;
 
index 886587187fa70f2dc8ec14e72b6ad29b74435f05..810984efa4598cd0c411a5561c05b5b387019ac7 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Bridge_OG_Utils {
   }
 
   /**
-   * Switch to stop synchronization from CiviCRM
+   * Switch to stop synchronization from CiviCRM.
    * This was always false before, and is always true
    * now.  Most likely, this needs to be a setting.
    */
index 8909fcb7f4c541a88261f0f78162de6a7b340d17..2261f3a15b1f1e00238e754a95b65e1dd140d241 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign {
 
   /**
-   * Takes an associative array and creates a campaign object
+   * Takes an associative array and creates a campaign object.
    *
    * the function extract all the params it needs to initialize the create a
    * contact object. the params array could contain additional unused name/value
@@ -98,7 +98,7 @@ class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign {
   }
 
   /**
-   * Delete the campaign
+   * Delete the campaign.
    *
    * @param int $id
    *   Id of the campaign.
@@ -115,9 +115,9 @@ class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * campaign_id.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -489,7 +489,7 @@ SELECT  campaign.id               as id,
   }
 
   /**
-   * Get Campaigns groups
+   * Get Campaigns groups.
    *
    * @param int $campaignId
    *   Campaign id.
@@ -523,7 +523,7 @@ INNER JOIN  civicrm_group grp ON ( grp.id = campgrp.entity_id )
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index a3fd7919b1056bc8a21ef36739e4843e48d4ef53..470e18a16db3128d20f4b36caaaf524c86ea7f89 100644 (file)
@@ -172,7 +172,7 @@ SELECT  petition.id                         as id,
   }
 
   /**
-   * Takes an associative array and creates a petition signature activity
+   * Takes an associative array and creates a petition signature activity.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -279,7 +279,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Get Petition Signature Total
+   * Get Petition Signature Total.
    *
    * @param int $surveyId
    *
@@ -321,7 +321,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Get Petition Signature Total
+   * Get Petition Signature Total.
    *
    * @param int $surveyId
    *
@@ -381,7 +381,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Get Petition Signature Details
+   * Get Petition Signature Details.
    *
    * @param int $surveyId
    * @param int $status_id
@@ -458,7 +458,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * This function returns all entities assigned to a specific tag
+   * This function returns all entities assigned to a specific tag.
    *
    * @param object $tag
    *   An object of a tag.
@@ -479,7 +479,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Check if contact has signed this petition
+   * Check if contact has signed this petition.
    *
    * @param int $surveyId
    * @param int $contactId
@@ -531,7 +531,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Takes an associative array and sends a thank you or email verification email
+   * Takes an associative array and sends a thank you or email verification email.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index 3124b1d24101a77b0a23dcac72279012c41bc274..53f80a74e0faf5f7d25015fec0098fcd21c8eabe 100755 (executable)
@@ -40,7 +40,7 @@ class CRM_Campaign_BAO_Query {
     CIVICRM_ACTIVITY_ASSIGNMENT = 'civicrm_survey_activity_assignment';
 
   /**
-   * Static field for all the campaign fields
+   * Static field for all the campaign fields.
    *
    * @var array
    */
index 9e2463801123d334c6bf4facba8319d3921c4dde..8f8b5c5490e5c8031143b1327275668e06488a13 100644 (file)
@@ -40,21 +40,14 @@ require_once 'CRM/Campaign/DAO/Survey.php';
 class CRM_Campaign_BAO_Survey extends CRM_Campaign_DAO_Survey {
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * campaign_id.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    * @param array $defaults
    *   (reference ) an assoc array to hold the flattened values.
-   */
-
-  /**
-   * The action links that we need to display for the browse screen
-   *
-   * @param array $params
-   * @param $defaults
    *
    * @return CRM_Campaign_DAO_Survey|null
    */
@@ -71,7 +64,7 @@ class CRM_Campaign_BAO_Survey extends CRM_Campaign_DAO_Survey {
   }
 
   /**
-   * Takes an associative array and creates a Survey object
+   * Takes an associative array and creates a Survey object.
    *
    * the function extract all the params it needs to initialize the create a
    * survey object.
@@ -246,7 +239,7 @@ SELECT  survey.id                         as id,
   }
 
   /**
-   * Get Surveys
+   * Get Surveys.
    *
    * @param bool $onlyActive
    *   Retrieve only active surveys.
@@ -336,7 +329,7 @@ SELECT  survey.id    as id,
   }
 
   /**
-   * Get Surveys custom groups
+   * Get Surveys custom groups.
    *
    * @param array $surveyTypes
    *   an array of survey type id.
@@ -376,7 +369,7 @@ SELECT  survey.id    as id,
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -391,7 +384,7 @@ SELECT  survey.id    as id,
   }
 
   /**
-   * Delete the survey
+   * Delete the survey.
    *
    * @param int $id
    *   Survey id.
@@ -711,7 +704,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * This function retrieve all option groups which are created as a result set
+   * This function retrieve all option groups which are created as a result set.
    *
    * @param string $valueColumnName
    * @return array
@@ -759,7 +752,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * This function retrive all response options of survey
+   * This function retrive all response options of survey.
    *
    * @param int $surveyId
    *   Survey id.
@@ -781,7 +774,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * This function return all voter links with respecting permissions
+   * This function return all voter links with respecting permissions.
    *
    * @param int $surveyId
    * @param bool $enclosedInUL
@@ -933,7 +926,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * Get survey supportable profile types
+   * Get survey supportable profile types.
    */
   public static function surveyProfileTypes() {
     static $profileTypes;
@@ -947,7 +940,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * Get the valid survey response fields those
+   * Get the valid survey response fields those.
    * are configured with profile and custom fields.
    *
    * @param int $surveyId
index 73c21972a83a4f096b6c01cc52b67c9b07b79310..dce86880f508928f5a5b608f260ee34714772067 100755 (executable)
@@ -47,7 +47,7 @@
 class CRM_Campaign_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 1a77939d4c4ce8bd9410fe7842ea5d5ccf9920e3..551d5daaf79ba12b012819a31e4830116b0fece9 100644 (file)
@@ -250,7 +250,7 @@ class CRM_Campaign_Form_Petition extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    * @param $fields
    * @param $files
    * @param $form
index 5e70c6d336b042bb3b0576e34ebec273986678cc..cdae4bc21f158a66e7f6acea49f21cc2c5024e7c 100644 (file)
@@ -332,7 +332,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   }
 
   /**
-   * Form submission of petition signature
+   * Form submission of petition signature.
    *
    *
    * @return void
@@ -575,7 +575,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   }
 
   /**
-   * Build the petition profile form
+   * Build the petition profile form.
    *
    * @param int $id
    * @param string $name
@@ -648,7 +648,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   }
 
   /**
-   * check if user has already signed this petition
+   * check if user has already signed this petition.
    * @param array $params
    */
   public function redirectIfSigned($params) {
index 165ca403b6de5e7a1a9e3633dfe167af3dbebb95..66e15ecf29b851c6c098508778ae85ada504a004 100755 (executable)
 class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * The params that are sent to the query
+   * The params that are sent to the query.
    *
    * @var array
    */
   protected $_queryParams;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
@@ -62,7 +62,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * Prefix for the controller
+   * Prefix for the controller.
    */
   protected $_prefix = "survey_";
 
@@ -70,7 +70,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
   private $_operation = 'reserve';
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -194,7 +194,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index f604c97fd21944e571c69a96d67e630b9ff76243..f5bc5430a288b98639a4d5442259043ee6d718fe 100755 (executable)
 class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form {
 
   /**
-   * Are we forced to run a search
+   * Are we forced to run a search.
    *
    * @var int
    */
   protected $_force;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -69,7 +69,7 @@ class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index 79e8c65c02cee838383b4d46b87282ebb804344f..c4bffcb6a2685bc2edefa0e75392f2d19f1d14a7 100755 (executable)
 class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form {
 
   /**
-   * Are we forced to run a search
+   * Are we forced to run a search.
    *
    * @var int
    */
   protected $_force;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -68,7 +68,7 @@ class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index 7de20bf3dbca7511d312d6fb94346d85c89047a7..a0593d2997a931f13ce351f70dd767cfd187222a 100755 (executable)
 class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form {
 
   /**
-   * Are we forced to run a search
+   * Are we forced to run a search.
    *
    * @var int
    */
   protected $_force;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -69,7 +69,7 @@ class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index 23c370de99927a8885dbc456acd7b7ddedbe844f..d22d152734fed4a18a3168b1789b6e6b068d7080 100644 (file)
 class CRM_Campaign_Form_Survey extends CRM_Core_Form {
 
   /**
-   * The id of the object being edited
+   * The id of the object being edited.
    *
    * @var int
    */
   protected $_surveyId;
 
   /**
-   * Action
+   * Action.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * SurveyTitle
+   * SurveyTitle.
    *
    * @var string
    */
@@ -90,7 +90,7 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 73ebf36d1e102ee5f6c89f10261d847d3cdeae64..d06ced133068532679716aa76fa1f140270a4cb6 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form {
 
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -72,7 +72,7 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -92,7 +92,7 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 5b3dd92cc7e5007d08a7eff6d068952ec64c20d6..f17334b5900b2cb969176cc400999e889ca906e6 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey {
   public $_values;
 
   /**
-   * Context
+   * Context.
    *
    * @var string
    */
@@ -139,7 +139,7 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -184,7 +184,7 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index a603c0f9151c84045b37b192f8e1d217fe095c8a..8b8c5c8b06722fcf4d4b79d3783a37ba44a15684 100644 (file)
@@ -63,7 +63,7 @@ class CRM_Campaign_Form_Survey_Questions extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -101,7 +101,7 @@ class CRM_Campaign_Form_Survey_Questions extends CRM_Campaign_Form_Survey {
 
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 5d5f4a92ec399a4ed0ef2eb1c7b2c5893e7f936b..a09fad8def3882013db98121c5d16f7d2307b191 100644 (file)
@@ -96,7 +96,7 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -203,7 +203,7 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    */
   public static function formRule($fields, $files, $form) {
     $errors = array();
@@ -338,7 +338,7 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 20f4bcab4caad58f32c69360bff5b587f83ec7b8..fe427586d006850f82b2e4f2363556d274ddc529 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form {
   protected $_action;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -111,7 +111,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -142,7 +142,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index e65f6657cff562eafbf920e2267f95903ff005a8..461d18069ed1825b7f1326a4467e223e3cf94ad1 100755 (executable)
@@ -75,7 +75,7 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
   protected $_voterIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
@@ -132,7 +132,7 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * Simple shell that derived classes can call to add buttons to
+   * Simple shell that derived classes can call to add buttons to.
    * the form with a customized title for the main Submit
    *
    * @param string $title
index 9ff89df8468d4daaefe5ea69d35093dbd7ddf7dd..649a42333541a5161dbffe6d9a0d9c7ced7ff3d8 100755 (executable)
@@ -69,7 +69,7 @@ class CRM_Campaign_Form_Task_Interview extends CRM_Campaign_Form_Task {
   private $_allowAjaxReleaseButton;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -280,7 +280,7 @@ WHERE {$clause}
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -441,7 +441,7 @@ WHERE {$clause}
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index a3dcc5f959c1ca5a1aaef0121363b0be41f25929..360eaeb168fcd1400daa1da1b7456d8fb4c07178 100755 (executable)
@@ -39,7 +39,7 @@
 class CRM_Campaign_Form_Task_Print extends CRM_Campaign_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -102,7 +102,7 @@ class CRM_Campaign_Form_Task_Print extends CRM_Campaign_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 770aaca72170541995ecfc192e0f8d6b743b633f..2fe884cb814b84a0bf49e13810ba74ed1effae15 100644 (file)
@@ -63,7 +63,7 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
   protected $_surveyActivities;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -136,7 +136,7 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index c56c525397fe9ac9a35808c24d8a3b372d541ab3..852a3466d272f5ba981aafcbd7dec311aee483c5 100644 (file)
@@ -68,7 +68,7 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
   protected $_numVoters;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -151,7 +151,7 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -200,7 +200,7 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -233,7 +233,7 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 52de2850b8bedaa74eae06df99b1b249812d16c9..23b3c2e72b877cc3e91f6819dc644b7a14185e6c 100755 (executable)
@@ -41,7 +41,7 @@
 class CRM_Campaign_Form_Task_Result extends CRM_Campaign_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -49,7 +49,7 @@ class CRM_Campaign_Form_Task_Result extends CRM_Campaign_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index f1a3a04ba6f842e4fb1c32eef123d45f681b6ee4..db2fdbb538905fb67250a7ade7c26f27e40b5874 100644 (file)
@@ -119,7 +119,7 @@ class CRM_Campaign_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    */
   public function creatNewShortcut(&$shortCuts) {
index be0ada5b9820ac538b40a702fd97c8a786662d36..08f970fc30ac6a42ab34acb21cadb1172fed6873 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Campaign_Page_Campaign extends CRM_Core_Page {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
index 9e5fc6a9419863e5e7b02096eb1d1362118daa8f..73a7c852f5d05abba9dd8f4d1ec8135bf8145635 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Campaign_Page_DashBoard extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
index a30a7ce582fe6f2f19c070f081185719e76c151a..7c6bce2269a4a7a44e3d94403597bc1ec745302b 100644 (file)
@@ -91,7 +91,7 @@ class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page {
   }
 
   /**
-   * Confirm email verification
+   * Confirm email verification.
    *
    * @param int $contact_id
    *   The id of the contact.
index dc5678ba9e752796995bcfdcdd45dd0b7e05ad28..cda7b602d27af025771ae155508952ee83ae6a47 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * The option group name
+   * The option group name.
    *
    * @var array
    */
@@ -62,7 +62,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   protected $_GName;
 
   /**
-   * The option group id
+   * The option group id.
    *
    * @var array
    */
@@ -89,7 +89,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -99,7 +99,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -145,7 +145,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all options
+   * Browse all options.
    *
    *
    * @return void
@@ -172,7 +172,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -182,7 +182,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
@@ -204,7 +204,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get userContext params
+   * Get userContext params.
    *
    * @param int $mode
    *   Mode that we are in.
index 38e9471f41aa6d413ec8c57782517607923e1ceb..4b2010d264fc666365ff04bc9791b7bd6fce0408 100755 (executable)
@@ -108,28 +108,28 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   public $_queryParams;
 
   /**
-   * Represent the type of selector
+   * Represent the type of selector.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_surveyClause = NULL;
 
   /**
-   * The query object
+   * The query object.
    *
    * @var string
    */
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
@@ -220,7 +220,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index 6084477bce3264c3164151f1d4f3b60aac616949..1eabf92b7fb84cd3a8c9b661f5c773a40f852b76 100755 (executable)
 class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine {
 
   /**
-   * The task that the wizard is currently processing
+   * The task that the wizard is currently processing.
    *
    * @var string
    */
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
@@ -95,7 +95,7 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index c15991849c9007850944c0f2de46f6d225ee5c67..0baa5daf8d34fa8968d8d1d2bca16896f3b7b632 100644 (file)
@@ -249,10 +249,9 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. We'll tweak this function to be more
-   * full featured over a period of time. This is the inverse function of
-   * create.  It also stores all the retrieved values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -420,7 +419,7 @@ WHERE civicrm_case.id = %1";
   }
 
   /**
-   * Retrieve contact_id by case_id
+   * Retrieve contact_id by case_id.
    *
    * @param int $caseId
    *   ID of the case.
index e6c9e675376128fb927cafe187269bed8626e7f2..b25fd0ae1fa738312a09ac7df3070873103a491b 100644 (file)
@@ -309,10 +309,9 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. We'll tweak this function to be more
-   * full featured over a period of time. This is the inverse function of
-   * create.  It also stores all the retrieved values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index 1e7aef5d9ec0c7e26c2fb2bee969c0610227581d..cd17bb116e8a389afc829e3afad81b2707539e0a 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Case_BAO_Query {
   }
 
   /**
-   * Build select for Case
+   * Build select for Case.
    *
    * @param $query
    *
@@ -242,7 +242,7 @@ class CRM_Case_BAO_Query {
   }
 
   /**
-   * Where clause for a single field
+   * Where clause for a single field.
    *
    * @param $values
    * @param $query
@@ -601,7 +601,7 @@ case_relation_type.id = case_relationship.relationship_type_id )";
   }
 
   /**
-   * Getter for the qill object
+   * Getter for the qill object.
    *
    * @return string
    */
@@ -658,7 +658,7 @@ case_relation_type.id = case_relationship.relationship_type_id )";
   }
 
   /**
-   * This includes any extra fields that might need for export etc
+   * This includes any extra fields that might need for export etc.
    */
   public static function extraReturnProperties($mode) {
     $properties = NULL;
@@ -693,7 +693,7 @@ case_relation_type.id = case_relationship.relationship_type_id )";
   }
 
   /**
-   * Add all the elements shared between case search and advanaced search
+   * Add all the elements shared between case search and advanaced search.
    *
    *
    * @param CRM_Core_Form $form
index f503023cd28da721c2d81e08aba6990263681fa3..c9dda84e6fc98764fdf24d0cf6b9a43d59145701 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Case_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index c2736f359756ee498e04d0db651989f5d21b6c68..990aec8f9e988e7b48b4a44be8cae4f2837db86c 100644 (file)
@@ -90,7 +90,7 @@ class CRM_Case_Form_Activity_LinkCases {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -120,7 +120,7 @@ class CRM_Case_Form_Activity_LinkCases {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
@@ -132,7 +132,7 @@ class CRM_Case_Form_Activity_LinkCases {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
index f3ed3af0c138e9f11cc526d4b67f52d66e0990d5..721942c4bb4277e3721dffbe05059bab4285677f 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_Activity_OpenCase {
 
   /**
-   * The id of the client associated with this case
+   * The id of the client associated with this case.
    *
    * @var int
    */
@@ -211,7 +211,7 @@ class CRM_Case_Form_Activity_OpenCase {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
@@ -251,7 +251,7 @@ class CRM_Case_Form_Activity_OpenCase {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param $fields
    * @param $files
@@ -270,7 +270,7 @@ class CRM_Case_Form_Activity_OpenCase {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param $form
index ec58fa525d43dd996c99fa73cc5e1886cc1fae1d..d4056f643c7b8f8928fcf20f1d14efb3bdf40ee4 100644 (file)
@@ -89,7 +89,7 @@ class CRM_Case_Form_ActivityToCase extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index cb1ff8bbdd5cf935bf37a406d258eaf95df946a4..2c6a0ecec7b8f3c99355d94c693a42636e109f9c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_ActivityView extends CRM_Core_Form {
 
   /**
-   * Process the view
+   * Process the view.
    *
    *
    * @return void
index 1e7994db3b87ab971527eeaeb30d7b1b49fc8abc..c81821fd95fd8b29ec21317c3ef02df1dcef29ef 100644 (file)
@@ -87,7 +87,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
   public $_caseTypeId = NULL;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -296,7 +296,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -311,7 +311,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -327,7 +327,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 4962fa7c3cc19ee53d85d67344beac2473093c92..6eb78841c117317bc7d3ba12264ffa9460760f3e 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
   private $_mergeCases = FALSE;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -206,7 +206,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -443,7 +443,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 629199c870565d398c2f6d452c383c0f1d31f136..35ce539d52914521f7339abd478a4be926b19f89 100644 (file)
@@ -51,14 +51,14 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form {
   protected $_entityID;
 
   /**
-   * The custom data type
+   * The custom data type.
    *
    * @var int
    */
   protected $_cdType;
 
   /**
-   * Entity sub type of the table id
+   * Entity sub type of the table id.
    *
    * @var string
    */
@@ -107,7 +107,7 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index c115e549ecece9802b4d362022df9209debb9f05..04b788d65c4e4bf6c89eeca42f2c7efb21f81b44 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_EditClient extends CRM_Core_Form {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -77,7 +77,7 @@ class CRM_Case_Form_EditClient extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -119,7 +119,7 @@ class CRM_Case_Form_EditClient extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 0499dd51abcb6d557226d2a6a1b3fe5595ffe8e3..8c2179e9cfd46847a3ef461294a205b8ada9e198 100644 (file)
@@ -57,7 +57,7 @@ class CRM_Case_Form_Report extends CRM_Core_Form {
   public $_report = NULL;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -119,7 +119,7 @@ class CRM_Case_Form_Report extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 47a37ccfcea4d7ec2599a43deb5c586cdbc2fac5..2ac1b5c001e016bccf1d26e0fe584c18e36dc798 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -166,7 +166,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -321,7 +321,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -339,7 +339,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
index eeb8797ed4e05cbc1a118e0cb82802f37950fa92..165d9b81da849d29fc718f5b19c5e3648b5e7fc3 100644 (file)
@@ -68,7 +68,7 @@ class CRM_Case_Form_Task extends CRM_Core_Form {
   protected $_caseIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
index 602187948527e9f0e030952eb7b09091122683a8..0579065f9007b74175380ff4ca85f2eee0188998 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Are we moving case to Trash
+   * Are we moving case to Trash.
    *
    * @var boolean
    */
@@ -66,7 +66,7 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 82ce616914e4c9bdeb642442369d1975a0ef9322..ef4e3291f25369ff4f5ed42fc8128154afaf86b5 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_Task_Print extends CRM_Case_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -94,7 +94,7 @@ class CRM_Case_Form_Task_Print extends CRM_Case_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 35c170c2087bd557ecbb2cdcde1f3a432d458ced..dfbfa985b13f4ce8b4179047c61913ae863e4025 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -58,7 +58,7 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -68,7 +68,7 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index c1428c17fa22ba6d95fed1d12fd7d35cd9431a44..1e502c9bc75bc68dc2c999b4593b99e07176de79 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Case_Form_Task_Result extends CRM_Case_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -49,7 +49,7 @@ class CRM_Case_Form_Task_Result extends CRM_Case_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 7667941c54f5e0cb95b0c7c70deb049e579c2175..33a52e4e9d9301e2e75fad63e351df01451772e9 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Case_Form_Task_SearchTaskHookSample extends CRM_Case_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -72,7 +72,7 @@ WHERE cs.id IN ( {$caseIDs} )";
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index b2c9208ee82a4f7850c70e029e24a89d0045f83d..40e78a86072acc4c1a6431865155cc6fccd65e2d 100644 (file)
@@ -182,7 +182,7 @@ class CRM_Case_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    */
   public function creatNewShortcut(&$shortCuts) {
index 0ba389e2a44d8b04dad5904e0bc859ea44224096..3ade1de6fd260827203b8869dc7087cb2141fba9 100644 (file)
@@ -198,7 +198,7 @@ class CRM_Case_Page_AJAX {
   }
 
   /**
-   * Delete relationships specific to case and relationship type
+   * Delete relationships specific to case and relationship type.
    */
   public static function deleteCaseRoles() {
     $caseId = CRM_Utils_Type::escape($_POST['case_id'], 'Positive');
index a4736c624b073b5a1bbfe2d2bd262c23a5221634..79a6f1c7c86ccca44e1ef7bce93a406aba814166 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Page_Tab extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -96,7 +96,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * View details of a case
+   * View details of a case.
    *
    * @return void
    */
@@ -137,7 +137,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    * @return void
    */
@@ -160,7 +160,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
@@ -219,7 +219,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @return array
    *   (reference) of action links
index 1d28f25ce74b0f7987e72befa623e29a5519de60..b53491f63c34a46339c5995f8bf86ceebf28bd5c 100644 (file)
@@ -70,7 +70,7 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
   static $activityTypeList = array();
 
   /**
-   * Get all the case statues
+   * Get all the case statues.
    *
    *
    * @param string $column
@@ -98,7 +98,7 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the redaction rules
+   * Get all the redaction rules.
    *
    *
    * @param null $filter
@@ -126,7 +126,7 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the case type
+   * Get all the case type.
    *
    *
    * @param string $column
@@ -159,7 +159,7 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the Encounter Medium
+   * Get all the Encounter Medium.
    *
    *
    * @param string $column
@@ -181,7 +181,7 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all Activity types for the CiviCase component
+   * Get all Activity types for the CiviCase component.
    *
    * The static array activityType is returned
    *
index 0a1e1ae65104b0cf64ad8a590995f98a75dfcd0b..dd7430ea632c51f2ee4a5c40788a20537b7b9b48 100644 (file)
@@ -125,7 +125,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
@@ -278,7 +278,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index 12e3edc7d5f7333bf013bc09503c1a4c26935a60..3f1fbaeeaa23f6043e5884a92e07e1a79d891def 100644 (file)
 class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine {
 
   /**
-   * The task that the wizard is currently processing
+   * The task that the wizard is currently processing.
    *
    * @var string
    */
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
@@ -97,7 +97,7 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index a9492915e0a511413c0f203412dfae88a761dc22..33b4e02706f567aa36b14c801f70f1ef6df23096 100644 (file)
@@ -101,7 +101,7 @@ class CRM_Case_Task {
   }
 
   /**
-   * These tasks are the core set of task titles
+   * These tasks are the core set of task titles.
    *
    * @return array
    *   the set of task titles
@@ -116,7 +116,7 @@ class CRM_Case_Task {
   }
 
   /**
-   * These tasks get added based on the context the user is in
+   * These tasks get added based on the context the user is in.
    *
    * @return array
    *   the set of optional tasks for a group of contacts
@@ -127,7 +127,7 @@ class CRM_Case_Task {
   }
 
   /**
-   * Show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level.
    * of the user
    *
    * @param int $permission
@@ -156,7 +156,7 @@ class CRM_Case_Task {
   }
 
   /**
-   * These tasks are the core set of tasks
+   * These tasks are the core set of tasks.
    *
    * @param int $value
    *
index fa575b80e043b094eacbadbc6f0924d952ca9fee..d17e049fff256f2c9f2b86aeb2d5b1f44fd7b8d7 100644 (file)
@@ -647,7 +647,7 @@ AND        a.is_deleted = 0
   }
 
   /**
-   * Retrieves AllowMultipleCaseClients setting
+   * Retrieves AllowMultipleCaseClients setting.
    *
    * @return string
    *   1 if allowed, 0 if not
@@ -661,7 +661,7 @@ AND        a.is_deleted = 0
   }
 
   /**
-   * Retrieves NaturalActivityTypeSort setting
+   * Retrieves NaturalActivityTypeSort setting.
    *
    * @return string
    *   1 if natural, 0 if alphabetic
index 26be8e784846e5276f53afdd267b323921af3550..4ad1e9e58d78c1e24892f709ceb8156db2901a8c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor {
 
   /**
-   * The default variable defined
+   * The default variable defined.
    *
    * @var boolean
    */
index 99157178828ae34a07436ecf36647a624ffe9d18..26cef83f16af3012875ec54174ecc74199b67e2a 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
     END";
 
   /**
-   * The types of communication preferences
+   * The types of communication preferences.
    *
    * @var array
    */
@@ -72,7 +72,7 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
   );
 
   /**
-   * Types of greetings
+   * Types of greetings.
    *
    * @var array
    */
@@ -83,14 +83,14 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
   );
 
   /**
-   * Static field for all the contact information that we can potentially import
+   * Static field for all the contact information that we can potentially import.
    *
    * @var array
    */
   static $_importableFields = array();
 
   /**
-   * Static field for all the contact information that we can potentially export
+   * Static field for all the contact information that we can potentially export.
    *
    * @var array
    */
index e26cfabd8a8ce92717112f49d70d461dfb04dbf0..22c6fe122fa862e884aad5cbfa9fd03d092cc2a1 100644 (file)
@@ -75,7 +75,7 @@ WHERE     civicrm_contact.id = %1";
   }
 
   /**
-   * Get the sms number and display name of a contact
+   * Get the sms number and display name of a contact.
    *
    * @param int $id
    *   Id of the contact.
@@ -112,7 +112,7 @@ LEFT JOIN civicrm_phone ON ( civicrm_phone.contact_id = civicrm_contact.id )
   }
 
   /**
-   * Get the information to map a contact
+   * Get the information to map a contact.
    *
    * @param array $ids
    *   The list of ids for which we want map info.
index a81ee42acd8da997dfe75c103042ba4d6f183a8b..63f994ef9aea00a2605b8f8e084d65c46081f2d1 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_BAO_Contact_Permission {
 
   /**
-   * Check if the logged in user has permissions for the operation type
+   * Check if the logged in user has permissions for the operation type.
    *
    * @param int $id
    *   Contact id.
@@ -81,7 +81,7 @@ WHERE contact_a.id = %1 AND $permission";
   }
 
   /**
-   * Fill the acl contact cache for this contact id if empty
+   * Fill the acl contact cache for this contact id if empty.
    *
    * @param int $userID
    * @param int|string $type the type of operation (view|edit)
@@ -146,7 +146,7 @@ ON DUPLICATE KEY UPDATE
   }
 
   /**
-   * Check if there are any contacts in cache table
+   * Check if there are any contacts in cache table.
    *
    * @param int|string $type the type of operation (view|edit)
    * @param int $contactID
@@ -237,7 +237,7 @@ AND    $operationClause LIMIT 1";
   }
 
   /**
-   * Get the permission base on its relationship
+   * Get the permission base on its relationship.
    *
    * @param int $selectedContactID
    *   Contact id of selected contact.
index f72865f0c6db604ea060865421ad15e06f81c859..29183ea58f8adabaed8b4455ff69fa70ca9ad72e 100644 (file)
@@ -216,7 +216,7 @@ WHERE  id IN ( $idString )
   }
 
   /**
-   * Make sure the checksum is valid for the passed in contactID
+   * Make sure the checksum is valid for the passed in contactID.
    *
    * @param int $contactID
    * @param string $inputCheck
@@ -250,7 +250,7 @@ WHERE  id IN ( $idString )
   }
 
   /**
-   * Get the count of  contact loctions
+   * Get the count of  contact loctions.
    *
    * @param int $contactId
    *   Contact id.
@@ -277,7 +277,7 @@ UNION
   }
 
   /**
-   * Create Current employer relationship for a individual
+   * Create Current employer relationship for a individual.
    *
    * @param int $contactID
    *   Contact id of the individual.
@@ -352,7 +352,7 @@ UNION
   }
 
   /**
-   * Create related memberships for current employer
+   * Create related memberships for current employer.
    *
    * @param int $contactID
    *   Contact id of the individual.
@@ -394,7 +394,7 @@ UNION
   }
 
   /**
-   * Set current employer id and organization name
+   * Set current employer id and organization name.
    *
    * @param array $currentEmployerParams
    *   Associated array of contact id and its employer id.
@@ -412,7 +412,7 @@ WHERE contact_a.id ={$contactId} AND contact_b.id={$orgId}; ";
   }
 
   /**
-   * Update cached current employer name
+   * Update cached current employer name.
    *
    * @param int $organizationId
    *   Current employer id.
@@ -426,7 +426,7 @@ WHERE contact_a.employer_id=contact_b.id AND contact_b.id={$organizationId}; ";
   }
 
   /**
-   * Clear cached current employer name
+   * Clear cached current employer name.
    *
    * @param int $contactId
    *   Contact id ( mostly individual contact id).
@@ -565,7 +565,7 @@ UPDATE civicrm_contact
   }
 
   /**
-   * Given an array of contact ids this function will return array with links to view contact page
+   * Given an array of contact ids this function will return array with links to view contact page.
    *
    * @param array $contactIDs
    *   Associated contact id's.
@@ -804,7 +804,7 @@ Group By  componentId";
   }
 
   /**
-   * Function handles shared contact address processing
+   * Function handles shared contact address processing.
    * In this function we just modify submitted values so that new address created for the user
    * has same address as shared contact address. We copy the address so that search etc will be
    * much efficient.
@@ -858,7 +858,7 @@ Group By  componentId";
   }
 
   /**
-   * Get the list of contact name give address associated array
+   * Get the list of contact name give address associated array.
    *
    * @param array $addresses
    *   Associated array of.
@@ -1070,7 +1070,7 @@ WHERE id IN (" . implode(',', $contactIds) . ")";
   }
 
   /**
-   * Fetch the default greeting for a given contact type
+   * Fetch the default greeting for a given contact type.
    *
    * @param string $contactType
    *   Contact type.
index 2a9394ab7e3bb6f113056ab8708098275b5d5d13..24b44f90930eb7188b8ef45cebb5727ea02c2d83 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_BAO_ContactType extends CRM_Contact_DAO_ContactType {
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -362,7 +362,7 @@ WHERE  type.name IS NOT NULL
   }
 
   /**
-   * Get a list of elements for select box
+   * Get a list of elements for select box.
    * Note that this used to default to using the hex(01) character - which results in an invalid character being used in form fields
    * which was not handled well be anything that loaded & resaved the html (outside core)
    * The use of this separator is now explicit in the calling functions as a step towards it's removal
@@ -444,7 +444,7 @@ AND   ( p.is_active = 1 OR p.id IS NULL )
   }
 
   /**
-   * Check if a given type is a subtype
+   * Check if a given type is a subtype.
    *
    * @param string $subType
    *   Contact subType.
@@ -534,7 +534,7 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
   }
 
   /**
-   * Create shortcuts menu for contactTypes
+   * Create shortcuts menu for contactTypes.
    *
    * @return array
    *   of contactTypes
@@ -571,7 +571,7 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
   }
 
   /**
-   * Delete Contact SubTypes
+   * Delete Contact SubTypes.
    *
    * @param int $contactTypeId
    *   ID of the Contact Subtype to be deleted.
@@ -623,7 +623,7 @@ WHERE name = %1";
   }
 
   /**
-   * Add or update Contact SubTypes
+   * Add or update Contact SubTypes.
    *
    * @param array $params
    *   An assoc array of name/value pairs.
@@ -688,7 +688,7 @@ WHERE name = %1";
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -857,7 +857,7 @@ WHERE extends = %1 AND " . implode(" OR ", $subTypeClause);
   }
 
   /**
-   * Function that does something
+   * Function that does something.
    * @todo what does this function do?
    *
    * @param int $contactID
index e645f4c096084d1fa269881d54fd92becdcbfe1d..77bd1cc58741d74b20332c94e2b4c33a62c27429 100644 (file)
@@ -42,11 +42,9 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * group_id. We'll tweak this function to be more full featured over a period
-   * of time. This is the inverse function of create. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -148,7 +146,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Get the count of a members in a group with the specific status
+   * Get the count of a members in a group with the specific status.
    *
    * @param int $id
    *   Group id.
@@ -196,7 +194,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Get the list of member for a group id
+   * Get the list of member for a group id.
    *
    * @param int $groupID
    * @param bool $useCache
@@ -300,7 +298,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Make sure that the user has permission to access this group
+   * Make sure that the user has permission to access this group.
    *
    * @param int $id
    *   The id of the object.
@@ -339,7 +337,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Create a new group
+   * Create a new group.
    *
    * @param array $params
    *
@@ -518,7 +516,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Defines a new smart group
+   * Defines a new smart group.
    *
    * @param array $params
    *   Associative array of parameters.
@@ -546,7 +544,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -600,7 +598,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * Get permission relevant clauses
+   * Get permission relevant clauses.
    * CRM-12209
    *
    * @param bool $force
@@ -704,7 +702,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * wrapper for ajax group selector
+   * wrapper for ajax group selector.
    *
    * @param array $params
    *   Associated array for params record id.
@@ -774,7 +772,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * This function to get list of groups
+   * This function to get list of groups.
    *
    * @param array $params
    *   Associated array for params.
@@ -1133,7 +1131,7 @@ WHERE {$whereClause}";
   }
 
   /**
-   * Generate permissioned where clause for group search
+   * Generate permissioned where clause for group search.
    * @param array $params
    * @param bool $sortBy
    * @param bool $excludeHidden
@@ -1224,7 +1222,7 @@ WHERE {$whereClause}";
   }
 
   /**
-   * Define action links
+   * Define action links.
    *
    * @return array
    *   array of action links
index 8616165c39eaea49d552f3546746370f66817687..873854707614cfda6d8def16a2090bb1e3f92140 100644 (file)
 class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes an associative array and creates a groupContact object
+   * Takes an associative array and creates a groupContact object.
    *
    * the function extract all the params it needs to initialize the create a
    * group object. the params array could contain additional unused name/value
@@ -68,7 +68,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -260,7 +260,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
   }
 
   /**
-   * Get list of all the groups and groups for a contact
+   * Get list of all the groups and groups for a contact.
    *
    * @param int $contactId
    *   Contact id.
@@ -303,7 +303,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
   }
 
   /**
-   * Get the list of groups for contact based on status of group membership
+   * Get the list of groups for contact based on status of group membership.
    *
    * @param int $contactId
    *   Contact id.
@@ -439,7 +439,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
   }
 
   /**
-   * Returns membership details of a contact for a group
+   * Returns membership details of a contact for a group.
    *
    * @param int $contactId
    *   Id of the contact.
@@ -483,7 +483,7 @@ SELECT    *
   }
 
   /**
-   * Method to get Group Id
+   * Method to get Group Id.
    *
    * @param int $groupContactID
    *   Id of a perticuler group.
@@ -587,7 +587,7 @@ SELECT    *
   }
 
   /**
-   * Function merges the groups from otherContactID to mainContactID
+   * Function merges the groups from otherContactID to mainContactID.
    * along with subscription history
    *
    * @param int $mainContactId
index 081aa5dcb5f88fc26d0043c4c8d91f5eec4292b7..cb9e1180423959d1f352a0995a3acd1518cd21c9 100644 (file)
@@ -244,7 +244,7 @@ AND    g.refresh_date IS NULL
   }
 
   /**
-   * Change the cache_date
+   * Change the cache_date.
    *
    * @param array $groupID
    * @param bool $processed
@@ -273,7 +273,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * Removes all the cache entries pertaining to a specific group
+   * Removes all the cache entries pertaining to a specific group.
    * If no groupID is passed in, removes cache entries for all groups
    * Has an optimization to bypass repeated invocations of this function.
    * Note that this function is an advisory, i.e. the removal respects the
@@ -394,7 +394,7 @@ WHERE  id = %1
   }
 
   /**
-   * Removes one or more contacts from the smart group cache
+   * Removes one or more contacts from the smart group cache.
    * @param int|array $cid
    * @param int $groupId
    * @return bool
@@ -419,7 +419,7 @@ WHERE  id = %1
   }
 
   /**
-   * Load the smart group cache for a saved search
+   * Load the smart group cache for a saved search.
    *
    * @param object $group
    *   The smart group that needs to be loaded.
@@ -600,7 +600,7 @@ AND  civicrm_group_contact.group_id = $groupID ";
   }
 
   /**
-   * Get all the smart groups that this contact belongs to
+   * Get all the smart groups that this contact belongs to.
    * Note that this could potentially be a super slow function since
    * it ensure that all contact groups are loaded in the cache
    *
index 732e9d35e5e253da8bbb1fc74dcf97864608df7e..3d834d197ff9735177c254024187d933a085eb0e 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen
   private $_alreadyStyled = FALSE;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($styleLabels = FALSE, $styleIndent = "&nbsp;--&nbsp;") {
     parent::__construct();
index 848157d02629694dc1f381f0fe2fd4a4a3e19187..bdb72912126d9b836799fa020485d5c4add31eed 100644 (file)
 class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganization {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes an associative array and creates a groupOrganization object
+   * Takes an associative array and creates a groupOrganization object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -66,7 +66,7 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio
   }
 
   /**
-   * Format the params
+   * Format the params.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -90,7 +90,7 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -119,7 +119,7 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio
   }
 
   /**
-   * Method to check group organization relationship exist
+   * Method to check group organization relationship exist.
    *
    * @param int $contactID
    *
@@ -136,7 +136,7 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio
   }
 
   /**
-   * Delete Group Organization
+   * Delete Group Organization.
    *
    * @param int $groupOrganizationID
    *   Group organization id that needs to be deleted.
index 5e26ae1208ecdac5f77e65218e68a2d79b7ed2de..272555942639fb7540360acaa34f209241d64f87 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contact_BAO_Household extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * Update the household with primary contact id
+   * Update the household with primary contact id.
    *
    * @param int $primaryContactId
    *   Null if deleting primary contact.
index 9627e8faa395a43a196299fb88a5bec58383bb66..d6dbf22c64e8ab0936a1aaf929ff090e064ae74c 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * Function is used to format the individual contact values
+   * Function is used to format the individual contact values.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -393,7 +393,7 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * Creates display name
+   * Creates display name.
    *
    * @return string
    *   the constructed display name
@@ -405,7 +405,7 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index 5fbd3cc3743abd394f5f6191b74287d48b60fa1b..3976e62e01ad8a1bc6952a5ea3b184a7e653a28f 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_BAO_Query {
 
   /**
-   * The various search modes
+   * The various search modes.
    *
    * @var int
    */
@@ -58,21 +58,21 @@ class CRM_Contact_BAO_Query {
     MODE_MAILING = 16384;
 
   /**
-   * The default set of return properties
+   * The default set of return properties.
    *
    * @var array
    */
   static $_defaultReturnProperties = NULL;
 
   /**
-   * The default set of hier return properties
+   * The default set of hier return properties.
    *
    * @var array
    */
   static $_defaultHierReturnProperties;
 
   /**
-   * The set of input params
+   * The set of input params.
    *
    * @var array
    */
@@ -185,28 +185,28 @@ class CRM_Contact_BAO_Query {
   public $_fields;
 
   /**
-   * The cache to translate the option values into labels
+   * The cache to translate the option values into labels.
    *
    * @var array
    */
   public $_options;
 
   /**
-   * Are we in search mode
+   * Are we in search mode.
    *
    * @var boolean
    */
   public $_search = TRUE;
 
   /**
-   * Should we skip permission checking
+   * Should we skip permission checking.
    *
    * @var boolean
    */
   public $_skipPermission = FALSE;
 
   /**
-   * Should we skip adding of delete clause
+   * Should we skip adding of delete clause.
    *
    * @var boolean
    */
@@ -220,7 +220,7 @@ class CRM_Contact_BAO_Query {
   public $_strict = FALSE;
 
   /**
-   * What operator to use to group the clauses
+   * What operator to use to group the clauses.
    *
    * @var string
    */
@@ -229,35 +229,35 @@ class CRM_Contact_BAO_Query {
   public $_mode = 1;
 
   /**
-   * Should we only search on primary location
+   * Should we only search on primary location.
    *
    * @var boolean
    */
   public $_primaryLocation = TRUE;
 
   /**
-   * Are contact ids part of the query
+   * Are contact ids part of the query.
    *
    * @var boolean
    */
   public $_includeContactIds = FALSE;
 
   /**
-   * Should we use the smart group cache
+   * Should we use the smart group cache.
    *
    * @var boolean
    */
   public $_smartGroupCache = TRUE;
 
   /**
-   * Should we display contacts with a specific relationship type
+   * Should we display contacts with a specific relationship type.
    *
    * @var string
    */
   public $_displayRelationshipType = NULL;
 
   /**
-   * Reference to the query object for custom values
+   * Reference to the query object for custom values.
    *
    * @var Object
    */
@@ -349,7 +349,7 @@ class CRM_Contact_BAO_Query {
   );
 
   /**
-   * List of location specific fields
+   * List of location specific fields.
    */
   static $_locationSpecificFields = array(
     'street_address',
@@ -392,7 +392,7 @@ class CRM_Contact_BAO_Query {
   public $_pseudoConstantsSelect = array();
 
   /**
-   * Class constructor which also does all the work
+   * Class constructor which also does all the work.
    *
    * @param array $params
    * @param array $returnProperties
@@ -462,7 +462,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * Function which actually does all the work for the constructor
+   * Function which actually does all the work for the constructor.
    *
    * @return void
    */
@@ -1284,7 +1284,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * Generate the query based on what type of query we need
+   * Generate the query based on what type of query we need.
    *
    * @param bool $count
    * @param bool $sortByChar
@@ -1843,7 +1843,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * Given a list of conditions in params generate the required
+   * Given a list of conditions in params generate the required.
    * where clause
    *
    * @return string
@@ -2360,7 +2360,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * Getter for tables array
+   * Getter for tables array.
    *
    * @return array
    */
@@ -2401,7 +2401,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * Create the from clause
+   * Create the from clause.
    *
    * @param array $tables
    *   Tables that need to be included in this from clause.
@@ -2883,7 +2883,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * Function translates selection of group type into a list of groups
+   * Function translates selection of group type into a list of groups.
    * @param $value
    *
    * @return array
@@ -2986,7 +2986,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * All tag search specific
+   * All tag search specific.
    *
    * @param $values
    *
@@ -4213,7 +4213,7 @@ civicrm_relationship.is_permission_a_b = 0
   }
 
   /**
-   * Default set of return properties
+   * Default set of return properties.
    *
    * @param int $mode
    *
@@ -4295,7 +4295,7 @@ civicrm_relationship.is_permission_a_b = 0
   }
 
   /**
-   * Get primary condition for a sql clause
+   * Get primary condition for a sql clause.
    *
    * @param int $value
    *
@@ -4310,7 +4310,7 @@ civicrm_relationship.is_permission_a_b = 0
   }
 
   /**
-   * Wrapper for a simple search query
+   * Wrapper for a simple search query.
    *
    * @param array $params
    * @param array $returnProperties
@@ -4428,7 +4428,7 @@ civicrm_relationship.is_permission_a_b = 0
   }
 
   /**
-   * Create and query the db for an contact search
+   * Create and query the db for an contact search.
    *
    * @param int $offset
    *   The offset for the query.
@@ -4849,7 +4849,7 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
   }
 
   /**
-   * Getter for the qill object
+   * Getter for the qill object.
    *
    * @return string
    */
@@ -4858,7 +4858,7 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
   }
 
   /**
-   * Default set of return default hier return properties
+   * Default set of return default hier return properties.
    *
    * @return array
    */
@@ -5366,7 +5366,7 @@ AND   displayRelType.is_active = 1
   }
 
   /**
-   * Builds the necessary structures for all fields that are similar to option value lookups
+   * Builds the necessary structures for all fields that are similar to option value lookups.
    *
    * @param string $name
    *   the name of the field.
@@ -5585,7 +5585,7 @@ AND   displayRelType.is_active = 1
   }
 
   /**
-   * Include pseudo fields LEFT JOIN
+   * Include pseudo fields LEFT JOIN.
    * @param string|array $sort can be a object or string
    *
    * @return array|NULL
index 8d9f26cb6b3fcf26588026e33934717f06faac6c..52f35deb9113caafb2111a6a01f65d4b66e0a63e 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Contact_BAO_Query_Hook {
   protected $_queryObjects = NULL;
 
   /**
-   * Singleton function used to manage this object
+   * Singleton function used to manage this object.
    *
    * @return object
    */
index 341d42cac6712356415458666e18bdb23d53e023..e30675de5d304a0e9d8e51d313963fcc3cc2c0e5 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
 
   /**
-   * Various constants to indicate different type of relationships
+   * Various constants to indicate different type of relationships.
    *
    * @var int
    */
@@ -69,7 +69,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Takes an associative array and creates a relationship object
+   * Takes an associative array and creates a relationship object.
    * @deprecated For single creates use the api instead (it's tested).
    * For multiple a new variant of this function needs to be written and migrated to as this is a bit
    * nasty
@@ -262,7 +262,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Add relationship to recent links
+   * Add relationship to recent links.
    * @param array $params
    * @param CRM_Contact_DAO_Relationship $relationship
    */
@@ -347,7 +347,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Specifiy defaults for creating a relationship
+   * Specifiy defaults for creating a relationship.
    *
    * @return array
    *   array of defaults for creating relationship
@@ -366,7 +366,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
 
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -526,7 +526,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Delete the relationship
+   * Delete the relationship.
    *
    * @param int $id
    *   Relationship id.
@@ -616,7 +616,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Delete the object records that are associated with this contact
+   * Delete the object records that are associated with this contact.
    *
    * @param int $contactId
    *   Id of the contact to delete.
@@ -636,7 +636,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Get the other contact in a relationship
+   * Get the other contact in a relationship.
    *
    * @param int $id
    *   Relationship id.
@@ -657,7 +657,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Check if the relationship type selected between two contacts is correct
+   * Check if the relationship type selected between two contacts is correct.
    *
    * @param int $contact_a
    *   1st contact id.
@@ -700,7 +700,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * This function does the validtion for valid relationship
+   * This function does the validtion for valid relationship.
    *
    * @param array $params
    *   This array contains the values there are subitted by the form.
@@ -726,7 +726,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * This function checks for duplicate relationship
+   * This function checks for duplicate relationship.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -806,7 +806,7 @@ WHERE  relationship_type_id = " . CRM_Utils_Type::escape($type, 'Integer');
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -876,7 +876,7 @@ WHERE  relationship_type_id = " . CRM_Utils_Type::escape($type, 'Integer');
   }
 
   /**
-   * Helper function to form the sql for relationship retrieval
+   * Helper function to form the sql for relationship retrieval.
    *
    * @param int $contactId
    *   Contact id.
@@ -1021,7 +1021,7 @@ LEFT JOIN  civicrm_country ON (civicrm_address.country_id = civicrm_country.id)
   }
 
   /**
-   * Get a list of relationships
+   * Get a list of relationships.
    *
    * @param int $contactId
    *   Contact id.
@@ -1527,7 +1527,7 @@ SELECT count(*)
   }
 
   /**
-   * Get Current Employer for Contact
+   * Get Current Employer for Contact.
    *
    * @param $contactIds
    *   Contact Ids.
@@ -1578,7 +1578,7 @@ WHERE id IN ( {$contacts} )
 
 
   /**
-   * Function to return list of permissioned contacts for a given contact and relationship type
+   * Function to return list of permissioned contacts for a given contact and relationship type.
    *
    * @param int $contactID
    *   contact id whose permissioned contacts are to be found.
@@ -1626,7 +1626,7 @@ AND cc.sort_name LIKE '%$name%'";
   }
 
   /**
-   * Merge relationships from otherContact to mainContact
+   * Merge relationships from otherContact to mainContact.
    * Called during contact merge operation
    *
    * @param int $mainId
@@ -1689,7 +1689,7 @@ AND cc.sort_name LIKE '%$name%'";
   }
 
   /**
-   * Function filters the query by possible relationships for the membership type
+   * Function filters the query by possible relationships for the membership type.
    * It is intended to be called when constructing queries for the api (reciprocal & non-reciprocal)
    * and to add clauses to limit the return to those relationships which COULD inherit a membership type
    * (as opposed to those who inherit a particular membership
@@ -1741,7 +1741,7 @@ AND cc.sort_name LIKE '%$name%'";
 
 
   /**
-   * wrapper for contact relationship selector
+   * wrapper for contact relationship selector.
    *
    * @param array $params
    *   Associated array for params record id.
index 537f5e176ab361f6123c84f0c0e711a6a5ef27cc..a2b82465f7e4e19d47ab6e6719efc0f72bfac732 100644 (file)
 class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -63,7 +63,7 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -78,7 +78,7 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType
   }
 
   /**
-   * Add the relationship type in the db
+   * Add the relationship type in the db.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -132,7 +132,7 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType
   }
 
   /**
-   * Delete Relationship Types
+   * Delete Relationship Types.
    *
    * @param int $relationshipTypeId
    *
index a42b1fe4740b33372d527355c46433b7da62ce59..7bb048ba0055d0cacdd189ce4e0bc44bed1537e3 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Contact_BAO_SavedSearch CRM_Contact_BAO_SavedSearch
    */
@@ -66,8 +66,9 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -149,7 +150,7 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   }
 
   /**
-   * Get the where clause for a saved search
+   * Get the where clause for a saved search.
    *
    * @param int $id
    *   Saved search id.
index cffdab31533a0cc042081439ab93366b87319c5f..59d873ea401331054dc70afb54bf4744e5c8cb07 100644 (file)
@@ -38,7 +38,7 @@
  */
 class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHistory {
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Contact_DAO_SubscriptionHistory
    */
@@ -49,7 +49,7 @@ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHi
   }
 
   /**
-   * Create a new subscription history record
+   * Create a new subscription history record.
    *
    * @param array $params
    *   Values for the new history record.
index eae321ae3906b09f1fcb2cb8d2a463813e34d412..c8ecfb6393e31955f8243d8779961db16455b83e 100644 (file)
 class CRM_Contact_Form_Contact extends CRM_Core_Form {
 
   /**
-   * The contact type of the form
+   * The contact type of the form.
    *
    * @var string
    */
   public $_contactType;
 
   /**
-   * The contact type of the form
+   * The contact type of the form.
    *
    * @var string
    */
@@ -65,14 +65,14 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   public $_contactId;
 
   /**
-   * The default group id passed in via the url
+   * The default group id passed in via the url.
    *
    * @var int
    */
   public $_gid;
 
   /**
-   * The default tag id passed in via the url
+   * The default tag id passed in via the url.
    *
    * @var int
    */
@@ -86,7 +86,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   protected $_dedupeButtonName;
 
   /**
-   * Name of optional save duplicate button
+   * Name of optional save duplicate button.
    *
    * @var string
    */
@@ -104,7 +104,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
 
   public $_customValueCount;
   /**
-   * The array of greetings with option group and filed names
+   * The array of greetings with option group and filed names.
    *
    * @var array
    */
@@ -116,7 +116,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   public $_parseStreetAddress;
 
   /**
-   * Check contact has a subtype or not
+   * Check contact has a subtype or not.
    */
   public $_isContactSubType;
 
@@ -128,7 +128,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   public $_preEditValues;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -578,7 +578,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -717,7 +717,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -1060,7 +1060,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * Is there any real significant data in the hierarchical location array
+   * Is there any real significant data in the hierarchical location array.
    *
    * @param array $fields
    *   The hierarchical value representation of this location.
@@ -1112,7 +1112,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * That checks for duplicate contacts
+   * That checks for duplicate contacts.
    *
    * @param array $fields
    *   Fields array which are submitted.
@@ -1190,7 +1190,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -1373,7 +1373,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * Update membership status to deceased
+   * Update membership status to deceased.
    * function return the status message for updated membership.
    *
    * @param array $deceasedParams
index 1f2f8c536bc2cdf059180853707f8273721da431..c090fbc3788e460045c04126ea107f378a31636d 100644 (file)
@@ -171,7 +171,7 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -229,7 +229,7 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
index d886b03902ccab632a4b509d4b3ad232704c04cf..587f58fa3a86e8da645e6776ee632d9741d5e8da 100644 (file)
 class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form {
 
   /**
-   * Defined defaults
+   * Defined defaults.
    */
   public $_defaults;
 
   /**
-   * Pre processing
+   * Pre processing.
    *
    * @return void
    */
@@ -54,7 +54,7 @@ class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -83,7 +83,7 @@ class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index ccf9afe5ee2b97a3bd9b4607d366fd9a5caade46..8730474ac92d8946634ed0b5177f8cc2459113bf 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
   protected $_rgid;
 
   /**
-   * Pre processing
+   * Pre processing.
    *
    * @return void
    */
@@ -94,7 +94,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -140,7 +140,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -187,7 +187,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index f05dbb833903807aad818ceb893fe02506cf1226..a6537febfe12347e315db8bdfa10dc29c0369764 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * The contact_id of domain
+   * The contact_id of domain.
    *
    * @var int
    */
@@ -60,7 +60,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   protected $_fromEmailId = NULL;
 
   /**
-   * Default location type fields
+   * Default location type fields.
    *
    * @var array
    */
@@ -91,7 +91,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   }
 
   /**
-   * This virtual function is used to set the default values of
+   * This virtual function is used to set the default values of.
    * various form elements
    *
    * @return array
@@ -139,7 +139,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -176,7 +176,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -186,7 +186,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -221,7 +221,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 797e68b3aeebc00c1cfcb74273f15ecfee0ac963..5b3ca5596feb1a455a22f32d184765588328388b 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_Address {
 
   /**
-   * Build form for address input fields
+   * Build form for address input fields.
    *
    * @param CRM_Core_Form $form
    * @param int $addressBlockCount
@@ -330,7 +330,7 @@ class CRM_Contact_Form_Edit_Address {
   }
 
   /**
-   * Set default values for address block
+   * Set default values for address block.
    *
    * @param array $defaults
    *   Defaults associated array.
index 3dab9b73ea84ba6188ac52a75b68df99ce3b1be7..bcb691ae37badfbb3b4cf2d6f14c45d83fc3e9a0 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Contact_Form_Edit_CommunicationPreferences {
   static $greetings = array();
 
   /**
-   * Build the form object elements for Communication Preferences object
+   * Build the form object elements for Communication Preferences object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
@@ -129,7 +129,7 @@ class CRM_Contact_Form_Edit_CommunicationPreferences {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -202,7 +202,7 @@ class CRM_Contact_Form_Edit_CommunicationPreferences {
   }
 
   /**
-   *  set array of greeting fields
+   *  set array of greeting fields.
    *
    * @param $contactType
    *
index c7f3ca5bc6c3cca7fef7abda8ab4d8387a137c67..05bdc30f0398988b289d1e447fef2e19492c3bd5 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_CustomData {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param CRM_Core_Form $form
    *
@@ -66,7 +66,7 @@ class CRM_Contact_Form_Edit_CustomData {
   }
 
   /**
-   * Build the form object elements for CustomData object
+   * Build the form object elements for CustomData object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
index 6a421e37954b677a3da647d7ec7e9faaabdc4188..e9d419a1844bad844fbd778aebd9dc4240fdc421 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_Demographics {
 
   /**
-   * Build the form object elements for Demographics object
+   * Build the form object elements for Demographics object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
index 96e64087a01c00c4f8f94ec4a6b4ddbc350f6946..e984125701d96ba887d861a9c42c24f94e826aa2 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_Email {
 
   /**
-   * Build the form object elements for an email object
+   * Build the form object elements for an email object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
index b74fd7e6c0ac62b78949de6628fba16d3229eef8..26ecc97d45367bc32b5fe5fb87470b3590c61d90 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Contact_Form_Edit_Household {
 
   /**
-   * This function provides the HTML form elements that are specific
+   * This function provides the HTML form elements that are specific.
    * to the Household Contact Type
    *
    * @param CRM_Core_Form $form
@@ -79,7 +79,7 @@ class CRM_Contact_Form_Edit_Household {
   }
 
   /**
-   * Add rule for household
+   * Add rule for household.
    *
    * @param array $fields
    *   Array of form values.
index f193d8114c7e07c8805d62484ec54989f6303d65..b5ef56287d7a66fa00137b3e563aede9f50aa2f9 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_IM {
 
   /**
-   * Build the form object elements for an IM object
+   * Build the form object elements for an IM object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
index fab8fdf970c2eb6428e4ce9f5121c4da9c9c7ddd..fb314ccaaadcde5b301a4891bd262ffa2992dac6 100644 (file)
@@ -144,7 +144,7 @@ class CRM_Contact_Form_Edit_Individual {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index f0da56b06629c5f30d309f08001beec6f7879f97..476b1e0b6b00436360f448b31cc99c7a0135c28c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Edit_Lock {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param CRM_Core_Form $form
    *   Form object.
index 59d15bd2cf5a6ad877b7347db9be2766bb7a999f..f5d47f03eb21f2dce74c6b3eeeaede281cf102e0 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Form_Edit_Notes {
 
   /**
-   * build form elements
+   * build form elements.
    * params object $form object of the form
    *
    * @param $form
index 7bf5456245ad14aae105ae67dd0f9b795809780e..b27d48f3bb6ea2e51428908608461db2da39c771 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_OpenID {
 
   /**
-   * Build the form object elements for an open id object
+   * Build the form object elements for an open id object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
index 80d7eb2b825e9196e0f1cab76931176eb1be48dc..cb25376b68f47724935bf15e1a4bf59c3aafca2e 100644 (file)
 class CRM_Contact_Form_Edit_TagsAndGroups {
 
   /**
-   * Constant to determine which forms we are generating
+   * Constant to determine which forms we are generating.
    *
    * Used by both profile and edit contact
    */
   const GROUP = 1, TAG = 2, ALL = 3;
 
   /**
-   * build form elements
+   * build form elements.
    * params object $form object of the form
    *
    * @param CRM_Core_Form $form
@@ -210,7 +210,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups {
   }
 
   /**
-   * Set defaults for relevant form elements
+   * Set defaults for relevant form elements.
    *
    * @param int $id
    *   The contact id.
index 504723f6f1424d1567606cca73b751aa2d989d77..79b22374d4fd66c6de2adce8d8e4ddef55097fce 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_Website {
 
   /**
-   * Build the form object elements for an Website object
+   * Build the form object elements for an Website object.
    *
    * @param CRM_Core_Form $form
    *   Reference to the form object.
index 163042be976cabddb661a6ec08aab508c03f711b..ff29a60134aa269c056bd9b0c9358d3887f7e062 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Contact_Form_GroupContact extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index c41dc3d035857eae0493a1a1afe3b10c037704df..1241396a8aeb11705762f9011faf5635b5666d13 100644 (file)
@@ -77,7 +77,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
   }
 
   /**
-   * Common form elements
+   * Common form elements.
    *
    * @return void
    */
@@ -99,7 +99,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
   }
 
   /**
-   * Override default cancel action
+   * Override default cancel action.
    *
    * @return void
    */
@@ -109,7 +109,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -123,7 +123,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
   }
 
   /**
-   * Add entry to log table
+   * Add entry to log table.
    *
    * @return void
    */
@@ -135,7 +135,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
   }
 
   /**
-   * Common function for all inline contact edit forms
+   * Common function for all inline contact edit forms.
    * Prepares ajaxResponse
    *
    * @return void
@@ -150,15 +150,16 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
   }
 
   /**
-   * Render changelog footer markup for a contact and supply count
+   * Render change log footer markup for a contact and supply count.
+   *
    * Needed for refreshing the contact summary screen
    *
    * @param int $cid
    * @param bool $includeCount
    * @return array
    */
-  static function renderFooter($cid, $includeCount = TRUE) {
-    // Load changelog footer from template
+  public static function renderFooter($cid, $includeCount = TRUE) {
+    // Load change log footer from template.
     $smarty = CRM_Core_Smarty::singleton();
     $smarty->assign('contactId', $cid);
     $smarty->assign('external_identifier', CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $cid, 'external_identifier'));
index c2df08244e28164dc41ec14ce099c6247b907060..e930045db2545fe335b992ab3cce7f41a8ca25a3 100644 (file)
@@ -76,7 +76,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -120,7 +120,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for an address object
+   * Build the form object elements for an address object.
    *
    * @return void
    */
@@ -130,7 +130,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -159,7 +159,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index a8912124d56248d2fb2d2c178a11f624959c2b74..b1740a105ce495cbc12db8839976d610d2d6fc62 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_Inline {
 
   /**
-   * Build the form object elements for communication preferences
+   * Build the form object elements for communication preferences.
    *
    * @return void
    */
@@ -50,7 +50,7 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -80,7 +80,7 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index dfcfd8eb4e77e4fe4a565d0d130c5e118c1f428d..330ceea5718ab6a4569a0d94f43eb329f07ccc82 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline {
 
   /**
-   * Build the form object elements
+   * Build the form object elements.
    *
    * @return void
    */
@@ -52,7 +52,7 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -61,7 +61,7 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 1847c866c92db94abb77ea65dfb53f8981868efa..0a874a1113dbee16de90ebe5246fa4867b62661c 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_ContactName extends CRM_Contact_Form_Inline {
 
   /**
-   * Build the form object elements
+   * Build the form object elements.
    *
    * @return void
    */
@@ -52,7 +52,7 @@ class CRM_Contact_Form_Inline_ContactName extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 9916cf895bd07553310570dab5cff35449a71eec..a993ff2747e7c023512f26d229c1b79f6bddab28 100644 (file)
 class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
 
   /**
-   * Custom group id
+   * Custom group id.
    *
    * @int
    */
   public $_groupID;
 
   /**
-   * Entity type of the table id
+   * Entity type of the table id.
    *
    * @var string
    */
   protected $_entityType;
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -68,7 +68,7 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for custom data
+   * Build the form object elements for custom data.
    *
    * @return void
    */
@@ -78,7 +78,7 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -87,7 +87,7 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index e17e6876348cf850b8c89d8f56c64807e3085c79..4a3a01ee8dd046ab73a64abafbbea6cab8bf3c81 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_Demographics extends CRM_Contact_Form_Inline {
 
   /**
-   * Build the form object elements
+   * Build the form object elements.
    *
    * @return void
    */
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Inline_Demographics extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 98c3a2a17a73ae04327acaf2b7fc54cea75ebf44..8c1b2cab35b76b11ab0be42287e4c17c19af3644 100644 (file)
 class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
 
   /**
-   * Email addresses of the contact that is been viewed
+   * Email addresses of the contact that is been viewed.
    */
   private $_emails = array();
 
   /**
-   * No of email blocks for inline edit
+   * No of email blocks for inline edit.
    */
   private $_blockCount = 6;
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -62,7 +62,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for an email object
+   * Build the form object elements for an email object.
    *
    * @return void
    */
@@ -96,7 +96,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -131,7 +131,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -152,7 +152,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index fc2f18fd6ea834c1ff72c99af1ae572199500456..39215d50ad42770f646e9939b3fc24ebb3481f34 100644 (file)
 class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
 
   /**
-   * Ims of the contact that is been viewed
+   * Ims of the contact that is been viewed.
    */
   private $_ims = array();
 
   /**
-   * No of im blocks for inline edit
+   * No of im blocks for inline edit.
    */
   private $_blockCount = 6;
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -62,7 +62,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for im object
+   * Build the form object elements for im object.
    *
    * @return void
    */
@@ -96,7 +96,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -134,7 +134,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -154,7 +154,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 280099c68e8578767daa07eadf5dffd540c9d7dd..b963f823d065fe15df9152435966eba871b1502b 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Inline_Lock {
 
   /**
-   * This function provides the HTML form elements
+   * This function provides the HTML form elements.
    *
    * @param CRM_Core_Form $form
    *   Form object.
index 06aa2985320d599e94256e4651a98da703a9688e..e59404ce3a65c9a9d06d3cd4e845e62a6f65b539 100644 (file)
 class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
 
   /**
-   * Ims of the contact that is been viewed
+   * Ims of the contact that is been viewed.
    */
   private $_openids = array();
 
   /**
-   * No of openid blocks for inline edit
+   * No of openid blocks for inline edit.
    */
   private $_blockCount = 6;
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -62,7 +62,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for openID object
+   * Build the form object elements for openID object.
    *
    * @return void
    */
@@ -96,7 +96,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -134,7 +134,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -154,7 +154,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index e4ba3f4600cc7cf4354a450a395986efff440e23..9496c38f7d851a242eb7261301e6c888be066a27 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   private $_blockCount = 6;
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -62,7 +62,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for phone object
+   * Build the form object elements for phone object.
    *
    * @return void
    */
@@ -96,7 +96,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -135,7 +135,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -155,7 +155,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index a0f6152793c24ce3b9abf78a71c2dc47dc4bbc4e..554ba66f2c1da124305a0dd3b4599474cbacbd5d 100644 (file)
 class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
 
   /**
-   * Websitess of the contact that is been viewed
+   * Websitess of the contact that is been viewed.
    */
   private $_websites = array();
 
   /**
-   * No of website blocks for inline edit
+   * No of website blocks for inline edit.
    */
   private $_blockCount = 6;
 
   /**
-   * Call preprocess
+   * Call preprocess.
    */
   public function preProcess() {
     parent::preProcess();
@@ -61,7 +61,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Build the form object elements for website object
+   * Build the form object elements for website object.
    *
    * @return void
    */
@@ -94,7 +94,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Set defaults for the form
+   * Set defaults for the form.
    *
    * @return array
    */
@@ -115,7 +115,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 5126495b23d1392e9fde8cdca0494644b2245941..35a9baa2350d5e897e9e3ea421fa1373f4d94df0 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Form_Location {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @param CRM_Core_Form $form
    *
@@ -77,7 +77,7 @@ class CRM_Contact_Form_Location {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param CRM_Core_Form $form
    *
index 14f7004b255a819e284b8cf59ff3281894e9f310..9aaf558b931f264c031c48e2d8e367fd21a4edbd 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Contact_Form_ProfileContact {
   protected $_mode;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @param CRM_Core_Form $form
    *
index 7c01ebaa37c0da7ec930b8b114708f8e1ea41096..58c694b358f27d26069e5d068e1dd394e617f3c0 100644 (file)
@@ -42,7 +42,7 @@
 class CRM_Contact_Form_RelatedContact extends CRM_Core_Form {
 
   /**
-   * The contact type of the form
+   * The contact type of the form.
    *
    * @var string
    */
@@ -56,7 +56,7 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form {
   public $_contactId;
 
   /**
-   * Form defaults
+   * Form defaults.
    *
    * @var array
    */
index e386bc5752e613bd280aefb147aa0b18a505582e..6bda27e56025e37d233dd6cd38363e5622d31cae 100644 (file)
@@ -290,7 +290,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -399,7 +399,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form {
   }
 
   /**
-   *  This function is called when the form is submitted
+   *  This function is called when the form is submitted.
    *
    *
    * @return void
@@ -554,7 +554,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form {
   }
 
   /**
-   * Date validation
+   * Date validation.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index 5896630c73cbf2e0b884d16cfbd169b71325e895..cc48430312b37ab4b52b539f4bde269355115918 100644 (file)
 class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * list of valid contexts
+   * list of valid contexts.
    *
    * @var array
    */
   static $_validContext = NULL;
 
   /**
-   * List of values used when we want to display other objects
+   * List of values used when we want to display other objects.
    *
    * @var array
    */
   static $_modeValues = NULL;
 
   /**
-   * The contextMenu
+   * The contextMenu.
    *
    * @var array
    */
   protected $_contextMenu;
 
   /**
-   * The groupId retrieved from the GET vars
+   * The groupId retrieved from the GET vars.
    *
    * @var int
    */
   public $_groupID;
 
   /**
-   * The Group ID belonging to Add Member to group ID
+   * The Group ID belonging to Add Member to group ID.
    * retrieved from the GET vars
    *
    * @var int
@@ -80,14 +80,14 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   protected $_amtgID;
 
   /**
-   * The saved search ID retrieved from the GET vars
+   * The saved search ID retrieved from the GET vars.
    *
    * @var int
    */
   protected $_ssID;
 
   /**
-   * The group elements
+   * The group elements.
    *
    * @var array
    */
@@ -96,7 +96,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   public $_groupIterator;
 
   /**
-   * The tag elements
+   * The tag elements.
    *
    * @var array
    */
@@ -104,28 +104,28 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   public $_tagElement;
 
   /**
-   * The params used for search
+   * The params used for search.
    *
    * @var array
    */
   protected $_params;
 
   /**
-   * The return properties used for search
+   * The return properties used for search.
    *
    * @var array
    */
   protected $_returnProperties;
 
   /**
-   * The sort by character
+   * The sort by character.
    *
    * @var string
    */
   protected $_sortByCharacter;
 
   /**
-   * The profile group id used for display
+   * The profile group id used for display.
    *
    * @var integer
    */
@@ -152,7 +152,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   protected $_modeValue;
 
   /**
-   * Name of the selector to use
+   * Name of the selector to use.
    */
   static $_selectorName = 'CRM_Contact_Selector';
   protected $_customSearchID = NULL;
@@ -161,7 +161,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   protected $_openedPanes = array();
 
   /**
-   * Define the set of valid contexts that the search form operates on
+   * Define the set of valid contexts that the search form operates on.
    *
    * @return array
    *   the valid context set and the titles
@@ -462,7 +462,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -723,7 +723,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Common post processing
+   * Common post processing.
    *
    * @return void
    */
index 5c18365737d5964a38e099dd7f12b01ebb46b142..09ce18cbf4a5bc2856b3d98093d1ef15aedda0e8 100644 (file)
@@ -43,7 +43,7 @@ s | under the terms of the GNU Affero General Public License           |
 class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -57,7 +57,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -176,7 +176,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -199,7 +199,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -409,7 +409,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Normalize default values for multiselect plugins
+   * Normalize default values for multiselect plugins.
    *
    * @param array $defaults
    * @return array
index e908e6b5b2a002f02060ef9d8b21119b2d0b0af8..4fc1bcdc662720a7dd44c42d3f96284ea86ccedb 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
   static $csv = array('contact_type', 'group', 'tag');
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -106,7 +106,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -138,7 +138,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -148,7 +148,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -166,7 +166,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
   }
 
   /**
-   * This method is called for processing a submitted search form
+   * This method is called for processing a submitted search form.
    *
    * @return void
    */
index c40f15852931a2045ad20e9c5f24f33072c96a65..20c06a75d02ab75f61178ba3bb9b6361fbc79702 100644 (file)
 class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
 
   /**
-   * Number of columns in where
+   * Number of columns in where.
    *
    * @var int
    */
   public $_columnCount;
 
   /**
-   * Number of blocks to be shown
+   * Number of blocks to be shown.
    *
    * @var int
    */
   public $_blockCount;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -123,7 +123,7 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -133,7 +133,7 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param $values
    * @param $files
@@ -319,7 +319,7 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index 4dbf9e046da2812577e2253f47d9d7924c5ebdb6..919b315c5dfdc4c990bcc7bbaf054155509db246 100644 (file)
@@ -119,7 +119,7 @@ class CRM_Contact_Form_Search_Custom extends CRM_Contact_Form_Search {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index 0a8fd726284956e1754dc36fc26805176b2f6a83..daa784f8bbee1fabbec2d104652fc6b65ffb960c 100644 (file)
@@ -156,7 +156,7 @@ class CRM_Contact_Form_Search_Custom_ActivitySearch implements CRM_Contact_Form_
   }
 
   /**
-   * Construct the search query
+   * Construct the search query.
    */
   public function all(
     $offset = 0, $rowcount = 0, $sort = NULL,
@@ -282,7 +282,7 @@ ORDER BY contact_a.sort_name';
   }
 
   /**
-   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values
+   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values.
    *
    * @param bool $includeContactIDs
    *
index 3eb41d1179c7688df372a0a63d45ca60c12df62b..75469ebe337bbde088cd4a8a900e7f7b0b4ab070 100644 (file)
@@ -105,7 +105,7 @@ class CRM_Contact_Form_Search_Custom_ContributionAggregate implements CRM_Contac
   }
 
   /**
-   * Construct the search query
+   * Construct the search query.
    *
    * @param int $offset
    * @param int $rowcount
@@ -184,7 +184,7 @@ civicrm_contact AS contact_a
   }
 
   /**
-   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values
+   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values.
    *
    * @param bool $includeContactIDs
    *
index 5ace6dd3b787442e9c9465b199a52d117b19d932..6b77ddba3e966aa0ec0f7a31f78d46ff58337b1d 100644 (file)
@@ -102,7 +102,7 @@ class CRM_Contact_Form_Search_Custom_EmployerListing implements CRM_Contact_Form
   }
 
   /**
-   * Construct the search query
+   * Construct the search query.
    */
   public function all(
     $offset = 0, $rowcount = 0, $sort = NULL,
@@ -175,7 +175,7 @@ class CRM_Contact_Form_Search_Custom_EmployerListing implements CRM_Contact_Form
   }
 
   /**
-   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values
+   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values.
    *
    * @param bool $includeContactIDs
    *
index bea5e0b820e2642047c8f40d23e20ab0b8661f91..a2029c9a10ae2e3fcc28b133f3957cf3297e9628 100644 (file)
@@ -108,7 +108,7 @@ class CRM_Contact_Form_Search_Custom_EventAggregate extends CRM_Contact_Form_Sea
   }
 
   /**
-   * Construct the search query
+   * Construct the search query.
    */
   public function all(
     $offset = 0, $rowcount = 0, $sort = NULL,
@@ -202,7 +202,7 @@ class CRM_Contact_Form_Search_Custom_EventAggregate extends CRM_Contact_Form_Sea
   }
 
   /**
-   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values
+   * WHERE clause is an array built from any required JOINS plus conditional filters based on search criteria field values.
    *
    * @param bool $includeContactIDs
    *
index 8a979325020c2ed65393b66c4f629e2f6de11c35..b52c843aed9b091041aa940cd0ca26aea3c0ae7b 100644 (file)
@@ -246,7 +246,7 @@ GROUP BY {$tableValues['id']}
   }
 
   /**
-   * Create a SQL expression for matching against a list of
+   * Create a SQL expression for matching against a list of.
    * text columns.
    *
    * @param string $table
index d580312bdf44a79f8dab5b6a057d35197f549f08..9b26887ac6f9d41938f05e51de969893ff26765b 100644 (file)
@@ -91,7 +91,7 @@ class CRM_Contact_Form_Search_Custom_TagContributions implements CRM_Contact_For
   }
 
   /**
-   * Construct the search query
+   * Construct the search query.
    */
   public function all(
     $offset = 0, $rowcount = 0, $sort = NULL,
index 5922d26a7190f639d3a7693483fdf5115780742e..ffcba9bd3a6edefb5b74a9bf7bf09807d10f8587 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   protected $_title;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -75,7 +75,7 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -147,7 +147,7 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -165,7 +165,7 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -175,7 +175,7 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $params
    *
@@ -196,7 +196,7 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index d8c63c0ca89b2f5f4cfd7117c881ef7837c2a8b0..2773a44b69a09001f295e6711132543b4b7e66e6 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -50,7 +50,7 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -106,7 +106,7 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 9cda916ba9cba45ae9b29df83c6e37adb7a2b4f2..8614654664abbc053826b40e680ef10782a7ea74 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -50,7 +50,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -109,7 +109,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 21a7524cc662d0e917d980e2796e182553f53d6b..ba99e3dcec6c28a686d9b38b2429ec08ae85f766 100644 (file)
 class CRM_Contact_Form_Task_AddToTag extends CRM_Contact_Form_Task {
 
   /**
-   * Name of the tag
+   * Name of the tag.
    *
    * @var string
    */
   protected $_name;
 
   /**
-   * All the tags in the system
+   * All the tags in the system.
    *
    * @var array
    */
   protected $_tags;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -93,7 +93,7 @@ class CRM_Contact_Form_Task_AddToTag extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index c21c1bf86576d86ac2748663c624aaec42df5344..b1586642f89fedc37d4c052677a4913ffae8f49f 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -66,7 +66,7 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -94,7 +94,7 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index cded698cd6e25d668f155ddd66c59f1ec5fac91a..b467f664c19e110024d78913e72f6b6e53af5d60 100644 (file)
 class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Maximum contacts that should be allowed to update
+   * Maximum contacts that should be allowed to update.
    */
   protected $_maxContacts = 100;
 
   /**
-   * Maximum profile fields that will be displayed
+   * Maximum profile fields that will be displayed.
    */
   protected $_maxFields = 9;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
   /**
-   * When not to reset sort_name
+   * When not to reset sort_name.
    */
   protected $_preserveDefault = TRUE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -76,7 +76,7 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -191,7 +191,7 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -219,7 +219,7 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -263,7 +263,7 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Parse street address
+   * Parse street address.
    * @param array $contactValues
    *   Contact values.
    * @param CRM_Core_Form $form
index c16191f622cbebd710399e1d317c23d178746aa0..aa07b52bd273e6d5729c5d1ba8df560daf669b6d 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task {
   protected $_sharedAddressMessage = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -147,7 +147,7 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -179,7 +179,7 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -201,7 +201,7 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 411ae69312a5a2b5bb79a84c45efe9aecd36cf22..4d5a4c5c1dbeb3f4f84aafb0dd3984ff9972fe7b 100644 (file)
@@ -56,14 +56,14 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task {
   public $_noEmails = FALSE;
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
   public $_templates = NULL;
 
   /**
-   * Store "to" contact details
+   * Store "to" contact details.
    * @var array
    */
   public $_toContactDetails = array();
@@ -75,25 +75,25 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task {
   public $_allContactIds = array();
 
   /**
-   * Store only "to" contact ids
+   * Store only "to" contact ids.
    * @var array
    */
   public $_toContactIds = array();
 
   /**
-   * Store only "cc" contact ids
+   * Store only "cc" contact ids.
    * @var array
    */
   public $_ccContactIds = array();
 
   /**
-   * Store only "bcc" contact ids
+   * Store only "bcc" contact ids.
    * @var array
    */
   public $_bccContactIds = array();
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -148,7 +148,7 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -162,7 +162,7 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index f8102e3ad7c2a9d2db89fb20b389633387654dbd..5ae914f6179b08c8e3689b5c5a0a03fa528f3817 100644 (file)
@@ -130,7 +130,7 @@ class CRM_Contact_Form_Task_EmailCommon {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @param CRM_Core_Form $form
@@ -318,7 +318,7 @@ class CRM_Contact_Form_Task_EmailCommon {
   }
 
   /**
-   * Form rule
+   * Form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -348,7 +348,7 @@ class CRM_Contact_Form_Task_EmailCommon {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @param CRM_Core_Form $form
index d743c1e7caa0207ac0023882189314be0cb1a123..9994dbcd84df0148d18e33ea55f8657430a7b182 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_HookSample extends CRM_Contact_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -82,7 +82,7 @@ AND    c.id IN ( $contactIDs )";
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 039069e3e1cd2c42d06f18103e0f0375e0697b6f..7610482db70beb7e54c99db492ace9d812aa84fc 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -50,7 +50,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -105,7 +105,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -361,7 +361,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Check for presence of tokens to be swapped out
+   * Check for presence of tokens to be swapped out.
    *
    * @param array $contact
    * @param array $mailingFormatProperties
index 6235f07c4230f2424265242ca61a52333fd50d29..2e6788de4f651696a0b38a6bda08fd2cf659e546 100644 (file)
@@ -71,7 +71,7 @@ class CRM_Contact_Form_Task_LabelCommon {
 
 
   /**
-   * Get the rows for the labels
+   * Get the rows for the labels.
    *
    * @param $contactIDs
    * @param int $locationTypeID
@@ -250,7 +250,7 @@ class CRM_Contact_Form_Task_LabelCommon {
   }
 
   /**
-   * Get array of return properties for address fields required for mailing label
+   * Get array of return properties for address fields required for mailing label.
    *
    * @return array
    *   return properties for address e.g
index 7ad8ab5d039d2f4c8375e494278b6e630923c212..8a051cceb0953bb762d748650fc1dd0c40cfb96d 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -114,7 +114,7 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -131,7 +131,7 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -140,7 +140,7 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Assign smarty variables to the template that will be used by google api to plot the contacts
+   * Assign smarty variables to the template that will be used by google api to plot the contacts.
    *
    * @param $ids
    * @param int $locationId
index 799368976a5955c184372b777fe8d1862b4eec87..89a9b40c536525179a90715e6501f6eb58a82923 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Contact_Form_Task_Map_Event extends CRM_Contact_Form_Task_Map {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -59,7 +59,7 @@ class CRM_Contact_Form_Task_Map_Event extends CRM_Contact_Form_Task_Map {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index e117b2dd8a64237e7cdad89a865a35a0ae9814ab..3ee4e27e616fa7d6c3f5ba375c72d4fbaf8bde1f 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_Merge extends CRM_Contact_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
index f58042c2b5ad45ecb6a2cc4c13b22c2eb0662e8b..3cacf955559160e0b688b053602a8bcc10b0b885 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task {
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
@@ -53,7 +53,7 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task {
   public $_activityId = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -107,7 +107,7 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -119,7 +119,7 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 740b689cb4b102a0565467dd4a0e1699a7f0887c..3a0625b01a956c26202048da75efb2b5c6932e7f 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_PDFLetterCommon {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param CRM_Core_Form $form
    *
@@ -73,7 +73,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @var CRM_Core_Form $form
    *
@@ -194,7 +194,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   }
 
   /**
-   * Set default values
+   * Set default values.
    */
   public static function setDefaultValues() {
     $defaultFormat = CRM_Core_BAO_PdfFormat::getDefaultValues();
@@ -203,7 +203,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   }
 
   /**
-   * Form rule
+   * Form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -238,7 +238,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   }
 
   /**
-   * Part of the post process which prepare and extract information from the template
+   * Part of the post process which prepare and extract information from the template.
    *
    *
    * @param CRM_Core_Form $form
@@ -313,7 +313,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @param CRM_Core_Form $form
index 48508c0f25cc13af391aaafde46f8cadbd465de2..43d3c2a92fd05c51154810c30dfc1c85c6e8589c 100644 (file)
@@ -61,7 +61,7 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -94,7 +94,7 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -122,7 +122,7 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -132,7 +132,7 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -153,7 +153,7 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 6f3451d25722991e8d42fe490515050e49dee9dd..d57e96319fcb9d715f2184d99889ac17419e98d0 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -134,7 +134,7 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 082e0dacefcb41c7c68b01176f8ef40df47d8c24..a5423b285e83ec6214cb21a1e4666be6a5664b43 100644 (file)
 class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
 
   /**
-   * The context that we are working on
+   * The context that we are working on.
    *
    * @var string
    */
   protected $_context;
 
   /**
-   * The groupId retrieved from the GET vars
+   * The groupId retrieved from the GET vars.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -70,7 +70,7 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @param CRM_Core_Form $form
@@ -104,7 +104,7 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -133,7 +133,7 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @param CRM_Core_Form $form
index cc93717f89a1d1ef253b0ba7470dbfbab545196c..9747f36ccfc604b860d233798f052840271cbaba 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -56,7 +56,7 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -72,7 +72,7 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index bb4b5831a42bb9099a4c53f1d7022bc3784b2d8d..9528ca470047c4617ad5b2fa22989e6efe6dbdb4 100644 (file)
 class CRM_Contact_Form_Task_RemoveFromTag extends CRM_Contact_Form_Task {
 
   /**
-   * Name of the tag
+   * Name of the tag.
    *
    * @var string
    */
   protected $_name;
 
   /**
-   * All the tags in the system
+   * All the tags in the system.
    *
    * @var array
    */
   protected $_tags;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -90,7 +90,7 @@ class CRM_Contact_Form_Task_RemoveFromTag extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 223f8d27dabae9aacd8a7af7e8290eadb80d5e2b..249a4af4ed1d0aad529d50591c2287a1c8b457e2 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -97,7 +97,7 @@ class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 84641c14f602f1a31bf355cacaf1612755e1dcbc..3b179886d49be04d5f916a2fea4e9fb4147a63e2 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task {
   public $_single = FALSE;
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
@@ -73,7 +73,7 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -86,7 +86,7 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 526e8541a787b68f1f2893cb3706e4621da07dd8..f0a32bca144fff99b281a5932b8f2ee371d14b3f 100644 (file)
@@ -83,7 +83,7 @@ class CRM_Contact_Form_Task_SMSCommon {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @param CRM_Core_Form $form
@@ -301,7 +301,7 @@ class CRM_Contact_Form_Task_SMSCommon {
   }
 
   /**
-   * Form rule
+   * Form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -339,7 +339,7 @@ class CRM_Contact_Form_Task_SMSCommon {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @param CRM_Core_Form $form
index efc3b3b193a1fd1dfcbad621db22a485e70ffa04..3185c8dc3cd2dac19fc9011b14cbb196f0ad81ec 100644 (file)
 class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task {
 
   /**
-   * Saved search id if any
+   * Saved search id if any.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -142,7 +142,7 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 3b819a2e40233e5ec397a754a8499dad3a5884f9..13da749956370a0dcaa08ef69efd2a1be2d66a78 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task_SaveSearch_Update extends CRM_Contact_Form_Task_SaveSearch {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
index f0b2b54fb32e996f0683333898784f11a705929d..61ee1fed842b00ce4fe24aa91d25b358b7fdd3d2 100644 (file)
@@ -6,7 +6,7 @@
 class CRM_Contact_Form_Task_Unhold extends CRM_Contact_Form_Task {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index 53ec0361e7c71d7a89066b0596de06865ad3d935..d34764f7e5633fd152e6425adc0dd187a86df6de 100755 (executable)
@@ -46,7 +46,7 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form {
   public $_displayName;
 
   /**
-   * Primary email of contact for whom we are adding user
+   * Primary email of contact for whom we are adding user.
    *
    * @var int
    */
@@ -82,7 +82,7 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -130,7 +130,7 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form {
   }
 
   /**
-   * Validation Rule
+   * Validation Rule.
    *
    */
   public static function usernameRule($params) {
index 8769d3f222f7d80ae7c69b06a5a853e5997976e1..fd408fb78d6b5da2052779575a8ccb0082928123 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param null $title
    * @param bool|int $action
index 2d669f08b3c1ab07b98c744edb69e4192a4a7582..a73074ddfdb1260c2968324ffd0362e0e8657b29 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
   private $_dataSourceClass;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -127,7 +127,7 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -368,7 +368,7 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Add a PK and status column to the import table so we can track our progress
+   * Add a PK and status column to the import table so we can track our progress.
    * Returns the name of the primary key and status columns
    *
    * @param $db
index b5d3a7d8f63a5c009b6d77cea29bc8615bebd5e6..f67c4aca1329a43ca0ba699666e0c2c86d772a2f 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   protected $_formattedFieldNames;
 
   /**
-   * On duplicate
+   * On duplicate.
    *
    * @var int
    */
@@ -59,7 +59,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   protected static $customFields;
 
   /**
-   * Attempt to match header labels with our mapper fields
+   * Attempt to match header labels with our mapper fields.
    * FIXME: This is essentially the same function as parent::defaultFromHeader
    *
    * @param $columnName name of column header
@@ -91,7 +91,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -199,7 +199,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -621,7 +621,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index b3f3bf414253e215efa7a626a4de8346bfb4edfb..30e891c0c2acb97ef38d7182ac1e70035e55b7ab 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -136,7 +136,7 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -199,7 +199,7 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index fd4241d2ec9807b441684266e6fd9c29f40b50c8..61ac5bdb96a7b8a05597b6815f17dd4160b1c4e7 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Import_Form_Summary extends CRM_Import_Form_Summary {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -124,7 +124,7 @@ class CRM_Contact_Import_Form_Summary extends CRM_Import_Form_Summary {
   }
 
   /**
-   * Clean up the import table we used
+   * Clean up the import table we used.
    *
    * @return void
    */
index 0461fa99c8a4ed8efa244e602bc0f0916f44a5ae..c6a2fbc4525b3f3534f88df4e8a5dadd3f250133 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Import_Page_AJAX {
 
   /**
-   * Show import status
+   * Show import status.
    */
   public static function status() {
     // make sure we get an id
index 3d4a05303175f6b3d9c86c6dedfe7ff2322875b8..84aa3ed3ba5387028bd9d263abaa490d9a1f86a1 100644 (file)
@@ -402,7 +402,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Given a list of the importable field keys that the user has selected
+   * Given a list of the importable field keys that the user has selected.
    * set the active fields array to this list
    *
    * @param array $fieldKeys
@@ -451,7 +451,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Set IM Service Provider type fields
+   * Set IM Service Provider type fields.
    *
    * @param array $elements
    *   IM service provider type ids.
@@ -519,7 +519,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Set IM Service Provider type fields for related contacts
+   * Set IM Service Provider type fields for related contacts.
    *
    * @param array $elements
    *   IM service provider type ids of related contact.
@@ -533,7 +533,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference ) associative array of name/value pairs
@@ -662,7 +662,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Store parser values
+   * Store parser values.
    *
    * @param CRM_Core_Session $store
    *
@@ -726,7 +726,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Export data to a CSV file
+   * Export data to a CSV file.
    *
    * @param string $fileName
    * @param array $header
index 35981dd8e460ebf2a27941abf20a1609bc612c0c..080c19bb2742368f1abc2012895c48e2c442e929 100644 (file)
@@ -79,7 +79,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   protected $_newContacts;
 
   /**
-   * Line count id
+   * Line count id.
    *
    * @var int
    */
@@ -93,14 +93,14 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   protected $_newRelatedContacts;
 
   /**
-   * Array of all the contacts whose street addresses are not parsed
+   * Array of all the contacts whose street addresses are not parsed.
    * of this import process
    * @var array
    */
   protected $_unparsedStreetAddressContacts;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct(
     &$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL, $mapperImProvider = NULL, $mapperRelated = NULL, $mapperRelatedContactType = NULL, $mapperRelatedContactDetails = NULL, $mapperRelatedContactLocType = NULL, $mapperRelatedContactPhoneType = NULL, $mapperRelatedContactImProvider = NULL,
@@ -245,7 +245,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Handle the values in mapField mode
+   * Handle the values in mapField mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -257,7 +257,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Handle the values in preview mode
+   * Handle the values in preview mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -270,7 +270,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Handle the values in summary mode
+   * Handle the values in summary mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -440,7 +440,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Handle the values in import mode
+   * Handle the values in import mode.
    *
    * @param int $onDuplicate
    *   The code for what action to take on duplicates.
@@ -1100,7 +1100,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Check if an error in custom data
+   * Check if an error in custom data.
    *
    * @param array $params
    * @param string $errorMessage
@@ -1285,7 +1285,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Check if value present in all genders or
+   * Check if value present in all genders or.
    * as a substring of any gender value, if yes than return corresponding gender.
    * eg value might be  m/M, ma/MA, mal/MAL, male return 'Male'
    * but if value is 'maleabc' than return false
@@ -1592,7 +1592,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Ckeck a value present or not in a array
+   * Ckeck a value present or not in a array.
    *
    * @param $value
    * @param $valueArray
@@ -1628,7 +1628,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Method for creating contact
+   * Method for creating contact.
    */
   public function createContact(&$formatted, &$contactFields, $onDuplicate, $contactId = NULL, $requiredCheck = TRUE, $dedupeRuleGroupID = NULL) {
     $dupeCheck = FALSE;
@@ -1688,7 +1688,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Format params for update and fill mode
+   * Format params for update and fill mode.
    *
    * @param array $params
    *   reference to an array containing all the.
index 9c9018c84570026f65b3ea4d3da42a39a594352e..14ae97970e16234fbcf2fd5eae0586dd9ae39651 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Contact_Page_AJAX {
   }
 
   /**
-   * Ajax callback for custom fields of type ContactReference
+   * Ajax callback for custom fields of type ContactReference.
    *
    * Todo: Migrate contact reference fields to use EntityRef
    */
@@ -331,7 +331,7 @@ class CRM_Contact_Page_AJAX {
   }
 
   /**
-   * Fetch the custom field help
+   * Fetch the custom field help.
    */
   public static function customField() {
     $fieldId = CRM_Utils_Type::escape($_REQUEST['id'], 'Integer');
@@ -533,7 +533,7 @@ ORDER BY sort_name ";
   }
 
   /**
-   * Delete custom value
+   * Delete custom value.
    */
   public static function deleteCustomValue() {
     $customValueID = CRM_Utils_Type::escape($_REQUEST['valueID'], 'Positive');
@@ -594,7 +594,7 @@ ORDER BY sort_name ";
   }
 
   /**
-   *  check the CMS username
+   *  check the CMS username.
    */
   static public function checkUserName() {
     $signer = new CRM_Utils_Signer(CRM_Core_Key::privateKey(), array('for', 'ts'));
@@ -630,7 +630,7 @@ ORDER BY sort_name ";
   }
 
   /**
-   *  Function to get email address of a contact
+   *  Function to get email address of a contact.
    */
   public static function getContactEmail() {
     if (!empty($_REQUEST['contact_id'])) {
@@ -856,7 +856,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Function used for CiviCRM dashboard operations
+   * Function used for CiviCRM dashboard operations.
    */
   public static function dashboard() {
     $operation = CRM_Utils_Type::escape($_REQUEST['op'], 'String');
@@ -888,7 +888,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Retrieve signature based on email id
+   * Retrieve signature based on email id.
    */
   public static function getSignature() {
     $emailID = CRM_Utils_Type::escape($_REQUEST['emailID'], 'Positive');
@@ -989,7 +989,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Retrieve a PDF Page Format for the PDF Letter form
+   * Retrieve a PDF Page Format for the PDF Letter form.
    */
   public function pdfFormat() {
     $formatId = CRM_Utils_Type::escape($_REQUEST['formatId'], 'Integer');
@@ -1000,7 +1000,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Retrieve Paper Size dimensions
+   * Retrieve Paper Size dimensions.
    */
   public static function paperSize() {
     $paperSizeName = CRM_Utils_Type::escape($_REQUEST['paperSizeName'], 'String');
@@ -1073,7 +1073,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Retrieve contact relationships
+   * Retrieve contact relationships.
    */
   public static function getContactRelationships() {
     $contactID = CRM_Utils_Type::escape($_GET['cid'], 'Integer');
index 60a899b1e3f17fc9e5c5f7f5987d66b1dc4aa1a5..e09664c9f7971c856aa36aee4792313e8430f3b2 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Page_CustomSearch extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
index d50fbc173fabb8c3506acd992a1645a8775d55c4..ad108bc0b2533ac675a74c1b0e39e7221a866580 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Page_DashBoard extends CRM_Core_Page {
 
   /**
-   * Run dashboard
+   * Run dashboard.
    *
    * @return void
    */
index b0f68fa369feb70bdf321a8c352a1dfc573b4802..487272947917d5665f1711215a49e2f0bd625c99 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Page_Dashlet extends CRM_Core_Page {
 
   /**
-   * Run dashboard
+   * Run dashboard.
    *
    * @return void
    */
index 22e5100ce2f5c2629e6dcf9346e6aa2a64de015d..8863bfb1f74da24a9e3df46184e918daa2afe2e0 100644 (file)
@@ -39,7 +39,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   protected $_gid;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -49,7 +49,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return void
    *   (reference) of action links
@@ -58,7 +58,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all rule groups
+   * Browse all rule groups.
    *
    * @return void
    */
@@ -314,7 +314,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all rule groups
+   * Browse all rule groups.
    *
    * @return void
    */
@@ -331,7 +331,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   classname of edit form
@@ -341,7 +341,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page
@@ -351,7 +351,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get user context
+   * Get user context.
    *
    * @param null $mode
    *
index 862ba1bdbc67d7bfe6939ea3cebcb031d90493aa..0a95966c953bd13ad4b9c7efe7ae66792328a761 100644 (file)
 class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -52,7 +52,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -94,7 +94,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Run the page
+   * Run the page.
    *
    * This method is called after the page is created. It checks for the type
    * of action and executes that action. Finally it calls the parent's run
@@ -135,7 +135,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all rule groups
+   * Browse all rule groups.
    *
    * @return void
    */
@@ -180,7 +180,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   classname of edit form
@@ -190,7 +190,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page
@@ -200,7 +200,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get user context
+   * Get user context.
    *
    * @param null $mode
    *
index c28de8986dd1f4554e758cb2d97aff83d469b274..a55750cc4367746571db4b4d8c926e3c11c215db 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -144,7 +144,7 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
index 70fb69237ad34a983d2f435e435253c719581be3..18e9d1fa9727c3911e00f1094b355c0d08f5fab8 100644 (file)
@@ -43,7 +43,7 @@
 class CRM_Contact_Page_Task extends CRM_Core_Page {
 
   /**
-   * Returns the page title
+   * Returns the page title.
    *
    * @return string
    *   the title of the page
index fcd335de8763946b7c87cb02734fb71d70246be8..433601177bef37e6f9396bcc353e6dae7d966c11 100644 (file)
@@ -342,7 +342,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
   }
 
   /**
-   * Add urls for display in the actions menu
+   * Add urls for display in the actions menu.
    * @param CRM_Core_Page $obj
    * @param int $cid
    */
index 518c04cc0abc3f90fd8f9a892010fe8846a463d1..ca7c6ba04f9c5ada53b8d7c7258e7a315f74c627 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Contact_Page_View_ContactSmartGroup extends CRM_Core_Page {
   public $_contactId;
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    */
   public function browse() {
index 3e7d8b40fcd36c8ec9a7ab2bea94a0bbfb943355..b0ca7b48e80ff92fe29fbf977ac3b8a4580d26d9 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
   public $_groupId;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return CRM_Contact_Page_View_CustomData
    */
@@ -56,7 +56,7 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
   }
 
   /**
-   * Add a few specific things to view contact
+   * Add a few specific things to view contact.
    *
    * @return void
    */
index ab8a89ed45edb5bcbffe390b881876908c88861b..3e1254cbcdb1632e5894a28ea8cca11335578c19 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    */
   public function browse() {
@@ -69,7 +69,7 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update
+   * called when action is update.
    *
    * @param int $groupId
    *
index 991599affd7ed8ce38d923df8fca57c1b78f941f..b8cfb43cb6f1854e16f173878a018342c47e76a7 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Page_View_Log extends CRM_Core_Page {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    * @return null
    */
index 5a5deeb94953e737a17c113256d253bdaaf838f3..8afa5e30575e8958309a16c5a35cf38d56345c24 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   static $_commentLinks = NULL;
 
   /**
-   * View details of a note
+   * View details of a note.
    *
    * @return void
    */
@@ -80,7 +80,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * called when action is browse
+   * called when action is browse.
    */
   public function browse() {
     $note = new CRM_Core_DAO_Note();
@@ -157,7 +157,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    */
   public function edit() {
     $controller = new CRM_Core_Controller_Simple('CRM_Note_Form_Note', ts('Contact Notes'), $this->_action);
@@ -232,7 +232,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * Delete the note object from the db
+   * Delete the note object from the db.
    *
    * @return void
    */
@@ -241,7 +241,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @return array
    *   (reference) of action links
@@ -281,7 +281,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * Get action links for comments
+   * Get action links for comments.
    *
    * @return array
    *   (reference) of action links
index 667d6055e34b6775930076d8121ab590f38acacc..854e3ce60b82c57579a15e0d7f6069f025068b62 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary {
   }
 
   /**
-   * View summary details of a contact
+   * View summary details of a contact.
    *
    * @return void
    */
index b5957c337da03cd93dec7679afd57fbd9fd742d9..b93dfa3e1a6b7631b69a71480d39a02883d3caf4 100644 (file)
 class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Casid set if called from case context
+   * Casid set if called from case context.
    *
    * @var int
    */
@@ -52,7 +52,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   public $_contactId = NULL;
 
   /**
-   * View details of a relationship
+   * View details of a relationship.
    *
    * @return void
    */
@@ -133,7 +133,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   }
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    */
   public function browse() {
@@ -141,7 +141,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    */
   public function edit() {
@@ -256,7 +256,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   }
 
   /**
-   * called to delete the relationship of a contact
+   * called to delete the relationship of a contact.
    *
    */
   public function delete() {
@@ -265,7 +265,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @return array
    *   (reference) of action links
index 62f27a32c4455ae1220c275aac6e100c572c5334..d81d6e7373cc946942b34763ab882d05d2d1be68 100644 (file)
@@ -104,7 +104,7 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
   }
 
   /**
-   * Edit name and address of a contact
+   * Edit name and address of a contact.
    *
    * @return void
    */
@@ -121,7 +121,7 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
   }
 
   /**
-   * View summary details of a contact
+   * View summary details of a contact.
    *
    * @return void
    */
index ee7cf5b98ee0be5d2081b07c4e2c92118e4f9e0b..2d6839d87a937aef57790d48db354424c3769943 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Page_View_Sunlight extends CRM_Contact_Page_View {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    * @return void
    */
index 0fe007bfbde3ddc47433af4384c493e4d3ff859f..ae08c3ff23bf9f205bd873275621f9d2048c87ac 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Page_View_Tag extends CRM_Core_Page {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    * @return void
    */
index 66dac7302107c3f5a74f0a71f4a3f0e77a93a95f..3661b894da7dad3c45ef8c183c1a35b298c8c84a 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   public $_contactId = NULL;
 
   /**
-   * Always show public groups
+   * Always show public groups.
    * @var bool
    */
   public $_onlyPublicGroups = TRUE;
@@ -50,7 +50,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   public $_edit = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -108,7 +108,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   }
 
   /**
-   * Build user dashboard
+   * Build user dashboard.
    *
    * @return void
    */
@@ -198,7 +198,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   }
 
   /**
-   * Perform actions and display for user dashboard
+   * Perform actions and display for user dashboard.
    *
    * @return void
    */
@@ -209,7 +209,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @return array
    *   (reference) of action links
index ccfc9544bd86537f4b70ae520e1e1b8e3a2eb739..daaffe44a13f452e8c5adeca77909627f88bce6c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_View_UserDashBoard {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    * @return void
    */
@@ -75,7 +75,7 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_
   }
 
   /**
-   * called when action is update
+   * called when action is update.
    *
    * @param int $groupId
    *
index c67a421566d6b2a3d01ec3b048099b351194151b..94cd3c49aed67595611b495eb951e399ef06b98e 100644 (file)
@@ -136,7 +136,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   protected $_fields;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param $customSearchClass
    * @param array $formValues
@@ -511,7 +511,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
@@ -1115,7 +1115,7 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont
   }
 
   /**
-   * Get colunmn headers for search selector
+   * Get colunmn headers for search selector.
    *
    * @return array
    */
index f1f173a27835e8477ad7553f100435dc4578a958..35f27752837d6068d474295c354406eb9f42c921 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
@@ -117,7 +117,7 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index 4caa253392ff2f58a4bd808218e54907e2deda21..c6e5825f44f06dc9e8eb1e9ebde21d3a5d86cd03 100644 (file)
@@ -354,7 +354,7 @@ class CRM_Contact_Task {
   }
 
   /**
-   * These tasks get added based on the context the user is in
+   * These tasks get added based on the context the user is in.
    *
    * @return array
    *   the set of optional tasks for a group of contacts
index 030b14039131083c72c5514db7b75170883dfe6a..ab5a7b8d7ffff88987474b74c7084edca1de8cb9 100644 (file)
@@ -65,7 +65,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   public $_component = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Contribute_DAO_Contribution
    */
@@ -76,7 +76,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   }
 
   /**
-   * Takes an associative array and creates a contribution object
+   * Takes an associative array and creates a contribution object.
    *
    * the function extract all the params it needs to initialize the create a
    * contribution object. the params array could contain additional unused name/value
@@ -196,7 +196,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   }
 
   /**
-   * Get defaults for new entity
+   * Get defaults for new entity.
    * @return array
    */
   public static function getDefaults() {
@@ -283,7 +283,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   }
 
   /**
-   * Takes an associative array and creates a contribution object
+   * Takes an associative array and creates a contribution object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -528,10 +528,9 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. We'll tweak this function to be more
-   * full featured over a period of time. This is the inverse function of
-   * create.  It also stores all the retrieved values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -549,7 +548,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   }
 
   /**
-   * Combine all the importable fields from the lower levels object
+   * Combine all the importable fields from the lower levels object.
    *
    * The ordering is important, since currently we do not have a weight
    * scheme. Adding weight is super important and should be done in the
@@ -774,7 +773,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   }
 
   /**
-   * Delete the indirect records associated with this contribution first
+   * Delete the indirect records associated with this contribution first.
    *
    * @param int $id
    *
@@ -846,7 +845,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   }
 
   /**
-   * Check if there is a contribution with the same trxn_id or invoice_id
+   * Check if there is a contribution with the same trxn_id or invoice_id.
    *
    * @param array $input
    *   An assoc array of name/value pairs.
@@ -898,7 +897,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   }
 
   /**
-   * Takes an associative array and creates a contribution_product object
+   * Takes an associative array and creates a contribution_product object.
    *
    * the function extract all the params it needs to initialize the create a
    * contribution_product object. the params array could contain additional unused name/value
@@ -916,7 +915,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   }
 
   /**
-   * Get list of contribution fields for profile
+   * Get list of contribution fields for profile.
    * For now we only allow custom contribution fields to be in
    * profile
    *
@@ -1013,7 +1012,7 @@ GROUP BY p.id
   }
 
   /**
-   * Get list of contribution In Honor of contact Ids
+   * Get list of contribution In Honor of contact Ids.
    *
    * @param int $honorId
    *   In Honor of Contact ID.
@@ -1051,7 +1050,7 @@ GROUP BY p.id
   }
 
   /**
-   * Get the sort name of a contact for a particular contribution
+   * Get the sort name of a contact for a particular contribution.
    *
    * @param int $id
    *   Id of the contribution.
@@ -1181,7 +1180,7 @@ WHERE  civicrm_contribution.contact_id = civicrm_contact.id
   }
 
   /**
-   * Get the contribution details for component export
+   * Get the contribution details for component export.
    *
    * @param int $exportMode
    *   Export mode.
@@ -1283,7 +1282,7 @@ LEFT JOIN civicrm_option_value contribution_status ON (civicrm_contribution.cont
   }
 
   /**
-   * Delete billing address record related contribution
+   * Delete billing address record related contribution.
    *
    * @param int $contributionId
    * @param int $contactId
@@ -1843,7 +1842,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
   }
 
   /**
-   * Get individual id for onbehalf contribution
+   * Get individual id for onbehalf contribution.
    *
    * @param int $contributionId
    *   Contribution id.
@@ -1951,7 +1950,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
   }
 
   /**
-   * Load objects relations to contribution object
+   * Load objects relations to contribution object.
    * Objects are stored in the $_relatedObjects property
    * In the first instance we are just moving functionality from BASEIpn -
    * @see http://issues.civicrm.org/jira/browse/CRM-9996
@@ -2613,7 +2612,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Check whether subscription is already cancelled
+   * Check whether subscription is already cancelled.
    *
    * @param int $contributionId
    *   Contribution id.
@@ -2637,7 +2636,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Create all financial accounts entry
+   * Create all financial accounts entry.
    *
    * @param array $params
    *   Contribution object, line item array and params for trxn.
@@ -2936,7 +2935,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Update all financial accounts entry
+   * Update all financial accounts entry.
    *
    * @param array $params
    *   Contribution object, line item array and params for trxn.
@@ -3108,7 +3107,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Check status validation on update of a contribution
+   * Check status validation on update of a contribution.
    *
    * @param array $values
    *   Previous form values before submit.
@@ -3146,7 +3145,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Delete contribution of contact
+   * Delete contribution of contact.
    *
    * CRM-12155
    *
@@ -3202,7 +3201,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Validate financial type
+   * Validate financial type.
    *
    * CRM-13231
    *
@@ -3225,7 +3224,7 @@ WHERE  contribution_id = %1 ";
 
 
   /**
-   * Function to record additional payment for partial and refund contributions
+   * Function to record additional payment for partial and refund contributions.
    *
    * @param int $contributionId
    *   is the invoice contribution id (got created after processing participant payment).
@@ -3443,7 +3442,7 @@ WHERE eft.financial_trxn_id IN ({$trxnId}, {$baseTrxnId['financialTrxnId']})
   }
 
   /**
-   * Get list of payments displayed by Contribute_Page_PaymentInfo
+   * Get list of payments displayed by Contribute_Page_PaymentInfo.
    *
    * @param int $id
    * @param $component
index d76dc8badd12058bbaff2c4206332eea35d2a9f1..ed49c7124b7846ce1bda0d60a81cd54b4623fd93 100644 (file)
@@ -34,7 +34,7 @@
 class CRM_Contribute_BAO_Contribution_Utils {
 
   /**
-   * Process payment after confirmation
+   * Process payment after confirmation.
    *
    * @param CRM_Core_Form $form
    *   Form object.
@@ -418,7 +418,7 @@ INNER JOIN   civicrm_contact AS contact ON ( contact.id = contrib.contact_id )
   }
 
   /**
-   * Get the contribution details by year
+   * Get the contribution details by year.
    *
    * @return array
    *   associated array
index 4d9647ecf610d02066f403320f3abf0e632dc740..df2fffa39f8802132e6be75481646e8a692a92d6 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_ContributionPage {
 
   /**
-   * Takes an associative array and creates a contribution page object
+   * Takes an associative array and creates a contribution page object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -64,7 +64,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -110,7 +110,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * Send the emails
+   * Send the emails.
    *
    * @param int $contactID
    *   Contact id.
@@ -431,7 +431,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * Construct the message to be sent by the send function
+   * Construct the message to be sent by the send function.
    *
    * @param array $tplParams
    * @param int $contactID
@@ -460,7 +460,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * Send the emails for Recurring Contribution Notication
+   * Send the emails for Recurring Contribution Notication.
    *
    * @param string $type
    *   TxnType.
@@ -904,7 +904,7 @@ LEFT JOIN  civicrm_premiums            ON ( civicrm_premiums.entity_id = civicrm
   }
 
   /**
-   * Generate html for pdf in confirmation receipt email  attachment
+   * Generate html for pdf in confirmation receipt email  attachment.
    * @param int $contributionId
    *   Contribution Page Id.
    * @param int $userID
index 5f5ca6024c999611f099cc258973e12203c7bdf2..ee81af0b638291f1e2a1deaa213a141f0cbd3e74 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_ContributionRecur {
 
   /**
-   * Create recurring contribution
+   * Create recurring contribution.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -48,7 +48,7 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi
   }
 
   /**
-   * Takes an associative array and creates a contribution object
+   * Takes an associative array and creates a contribution object.
    *
    * the function extract all the params it needs to initialize the create a
    * contribution object. the params array could contain additional unused name/value
@@ -104,7 +104,7 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi
   }
 
   /**
-   * Check if there is a recurring contribution with the same trxn_id or invoice_id
+   * Check if there is a recurring contribution with the same trxn_id or invoice_id.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -321,7 +321,7 @@ SELECT r.payment_processor_id
   }
 
   /**
-   * Get list of recurring contribution of contact Ids
+   * Get list of recurring contribution of contact Ids.
    *
    * @param int $contactId
    *   Contact ID.
index 4e278040a62d6b1e2761513209c171c082f7ebe6..a5eaeb3cac2b445b14e9e391fbef49cb8a945875 100644 (file)
 class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_ContributionSoft {
 
   /**
-   * Construct method
+   * Construct method.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Add contribution soft credit record
+   * Add contribution soft credit record.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -63,7 +63,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -83,7 +83,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * Delete soft credits
+   * Delete soft credits.
    *
    * @param array $params
    *
index 7a016f536063d6e0be07e42d50edcceb97d6083e..b0ada9e03a7971eeb25a02cc686ccec50081ef8c 100644 (file)
 class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product {
 
   /**
-   * Static holder for the default LT
+   * Static holder for the default LT.
    */
   static $_defaultContributionType = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -68,7 +68,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -88,7 +88,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product {
   }
 
   /**
-   * add the financial types
+   * add the financial types.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -129,7 +129,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product {
   }
 
   /**
-   * Delete premium Types
+   * Delete premium Types.
    *
    * @param int $productID
    */
index 75ba837749807498839f155a790c275f117382fb..e57cf29dd36287e44a445e77b80c2123e6eb9e08 100644 (file)
 class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
 
   /**
-   * Product information
+   * Product information.
    * @var array
    */
   private static $productInfo;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -68,7 +68,7 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -83,7 +83,7 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Delete financial Types
+   * Delete financial Types.
    *
    * @param int $premiumID
    *
@@ -98,7 +98,7 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Build Premium Block im Contribution Pages
+   * Build Premium Block im Contribution Pages.
    *
    * @param CRM_Core_Form $form
    * @param int $pageID
@@ -166,7 +166,7 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Build Premium B im Contribution Pages
+   * Build Premium B im Contribution Pages.
    *
    * @param CRM_Core_Form $form
    * @param int $productID
@@ -239,7 +239,7 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Retrieve premium product and their options
+   * Retrieve premium product and their options.
    *
    * @return array
    *   product and option arrays
index dd0693dd6b04cccc4ac3d378b4f643f1224f1640..cd3be1e9278c58980406581b587903a5881b1ae8 100644 (file)
@@ -851,7 +851,7 @@ class CRM_Contribute_BAO_Query {
   }
 
   /**
-   * Add all the elements shared between contribute search and advnaced search
+   * Add all the elements shared between contribute search and advnaced search.
    *
    *
    * @param CRM_Core_Form $form
@@ -1019,7 +1019,7 @@ class CRM_Contribute_BAO_Query {
   }
 
   /**
-   * Add the where for dates
+   * Add the where for dates.
    *
    * @param array $values
    *   Array of query values.
index b21c6c0afc4575da9c7ecc3850ab39faef706e4a..bf847ce37a33d539bd6f390afcee8f729ada4633 100644 (file)
@@ -67,14 +67,14 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
    */
   protected $_paymentProcessors = array();
   /**
-   * The id of the contribution that we are processing
+   * The id of the contribution that we are processing.
    *
    * @var int
    */
   public $_id;
 
   /**
-   * The id of the premium that we are proceessing
+   * The id of the premium that we are proceessing.
    *
    * @var int
    */
@@ -386,7 +386,7 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
   }
 
   /**
-   * Assign billing type id to bltID
+   * Assign billing type id to bltID.
    *
    * @throws CRM_Core_Exception
    * @return void
index e248660966dbd5aa244a5caeb139ff7e5766ece7..2e2565fb014c2de110249d2e7f5b7c2b8d187e7b 100644 (file)
@@ -191,7 +191,7 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * Process the Premium Information
+   * Process the Premium Information.
    *
    *
    * @param array $params
@@ -250,7 +250,7 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * Process the Note
+   * Process the Note.
    *
    *
    * @param array $params
@@ -277,7 +277,7 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * Process the Common data
+   * Process the Common data.
    *
    *
    * @param array $params
index a74e6695949c80c93ff6d3825affef09dd0a3896..925358c29b4315c4c603d15bb9c9bf65aaa4840e 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
   protected $_selfService = FALSE;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -131,7 +131,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -195,7 +195,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 5824a757759095e3842fe7cb24a910021e98084f..189976e82a6768aea595c3a461e2410e31a26a07 100644 (file)
  */
 class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditPayment {
   /**
-   * The id of the contribution that we are processing
+   * The id of the contribution that we are processing.
    *
    * @var int
    */
   public $_id;
 
   /**
-   * The id of the premium that we are processing
+   * The id of the premium that we are processing.
    *
    * @var int
    */
@@ -58,35 +58,35 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_productDAO = NULL;
 
   /**
-   * The id of the note
+   * The id of the note.
    *
    * @var int
    */
   public $_noteID;
 
   /**
-   * The id of the contact associated with this contribution
+   * The id of the contact associated with this contribution.
    *
    * @var int
    */
   public $_contactID;
 
   /**
-   * The id of the pledge payment that we are processing
+   * The id of the pledge payment that we are processing.
    *
    * @var int
    */
   public $_ppID;
 
   /**
-   * The id of the pledge that we are processing
+   * The id of the pledge that we are processing.
    *
    * @var int
    */
   public $_pledgeID;
 
   /**
-   * Is this contribution associated with an online
+   * Is this contribution associated with an online.
    * financial transaction
    *
    * @var boolean
@@ -129,7 +129,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_context;
 
   /**
-   * Parameter with confusing name
+   * Parameter with confusing name.
    * @todo what is it?
    * @var string
    */
@@ -479,7 +479,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -931,7 +931,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -997,7 +997,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 20812df92bad8991ed23a93ffcd93afdc5108660..1cb0d331bd376da98384064dce5c1de6cef41dc2 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_ContributionBase {
 
   /**
-   * The id of the contact associated with this contribution
+   * The id of the contact associated with this contribution.
    *
    * @var int
    */
@@ -47,14 +47,14 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
 
 
   /**
-   * The id of the contribution object that is created when the form is submitted
+   * The id of the contribution object that is created when the form is submitted.
    *
    * @var int
    */
   public $_contributionID;
 
   /**
-   * Set the parameters to be passed to contribution create function
+   * Set the parameters to be passed to contribution create function.
    *
    * @param array $params
    * @param int $contactID
@@ -148,7 +148,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
   }
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -441,7 +441,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -672,7 +672,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index ac4c167c606ab183f12c62d5d6a73ae3861568b6..18a5efc135f8ebbd8d2837fd827fc191cced399b 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_ContributionBase {
 
   /**
-   * Define default MembershipType Id
+   * Define default MembershipType Id.
    */
   public $_defaultMemTypeId;
 
@@ -65,7 +65,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   protected $_snippet;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -191,7 +191,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * Set the default values
+   * Set the default values.
    *
    * @return void
    */
@@ -378,7 +378,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -652,7 +652,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * Build elements to collect information for recurring contributions
+   * Build elements to collect information for recurring contributions.
    *
    *
    * @param CRM_Core_Form $form
@@ -724,7 +724,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -1135,7 +1135,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 6a0240baa3c15a15a9f5128dda8043c14f6c2e99..8790aee8fa7d3a56f3de321cae86876f10c55502 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Form_Contribution_OnBehalfOf {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @param CRM_Core_Form $form
    *
index c0a6f0177832161f49f13d1be522f054d4524566..89045a7de879858ca707eb5b30b5c8507f559a43 100644 (file)
 class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_ContributionBase {
 
   /**
-   * Membership price set status
+   * Membership price set status.
    */
   public $_useForMember;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -88,7 +88,7 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index af11f4cf41fcaf1b8fb918a5423b13d8ef1c1244..4424649842fed1a57d356814307b48095a001313 100644 (file)
@@ -198,7 +198,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_isBillingAddressRequiredForPayLater;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @throws \CRM_Contribute_Exception_InactiveContributionPageException
    * @throws \Exception
@@ -521,7 +521,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * Set the default values
+   * Set the default values.
    *
    * @return void
    */
@@ -530,7 +530,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * Assign the minimal set of variables to the template
+   * Assign the minimal set of variables to the template.
    *
    * @return void
    */
@@ -661,7 +661,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * Add the custom fields
+   * Add the custom fields.
    *
    * @param int $id
    * @param string $name
@@ -787,7 +787,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * Check template file exists
+   * Check template file exists.
    * @param null $suffix
    *
    * @return null|string
@@ -804,7 +804,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index 7cbd7652769519bad9968a4432a1aa527e8aa587..4aebe1681f77fa6a32d1a314dc422336be313c7b 100644 (file)
 class CRM_Contribute_Form_ContributionCharts extends CRM_Core_Form {
 
   /**
-   *  Year of chart
+   *  Year of chart.
    *
    * @var int
    */
   protected $_year = NULL;
 
   /**
-   *  The type of chart
+   *  The type of chart.
    *
    * @var string
    */
@@ -62,7 +62,7 @@ class CRM_Contribute_Form_ContributionCharts extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -98,7 +98,7 @@ class CRM_Contribute_Form_ContributionCharts extends CRM_Core_Form {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 718805e7dabc70bec7f615da9e1574632b1bf2cd..8a2cb63446c2052371d3679ea744b53a2a4a0a4b 100644 (file)
 class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
 
   /**
-   * The page id saved to the session for an update
+   * The page id saved to the session for an update.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The pledgeBlock id saved to the session for an update
+   * The pledgeBlock id saved to the session for an update.
    *
    * @var int
    */
@@ -83,7 +83,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   protected $_values;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -143,7 +143,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -346,7 +346,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
@@ -438,7 +438,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index c75b63632e7a4d35ccd84b56e5096820ac344e22..0a290cd8d2a5171422e1c96db95eb8ca49d55dbe 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For
   protected $_pid;
 
   /**
-   * Pre  process the form
+   * Pre  process the form.
    *
    *
    * @return void
@@ -111,7 +111,7 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -228,7 +228,7 @@ class CRM_Contribute_Form_ContributionPage_AddProduct extends CRM_Contribute_For
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 420ba3f0327a4b00021685dccaa7dbde80bf7cf1..4ca9d4aef1d645294286c40f3d1f6e8b0707adfb 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_Co
   const NUM_OPTION = 11;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -274,7 +274,7 @@ SELECT id
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -407,7 +407,7 @@ SELECT id
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 6ea083c0cc93dc16e4e6ea796744a8d8465d447f..66321fa89c79c92f1666fa8331e8e7eda244bcd2 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -111,7 +111,7 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
@@ -164,7 +164,7 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index 38fc3420622c41be0e30ac858db84338be011772..97bb8c9e428ccbbb70334787a2bb323eba55231e 100644 (file)
 class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * Page title
+   * Page title.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Check if there are any related contributions
+   * Check if there are any related contributions.
    */
   protected $_relatedContributions;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -75,7 +75,7 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -103,7 +103,7 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 490ecdf7f924caeb293ea530a5904329aab1bec8..03daa0d6492bfc69fe1e7371df241dcc4eb25298 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -109,7 +109,7 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -128,7 +128,7 @@ class CRM_Contribute_Form_ContributionPage_Premium extends CRM_Contribute_Form_C
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 0cff4b85a008396383071a0d04bef7059ad3230a..eaade9d0a1e749f1b90d72b05b67899441c27680 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -111,7 +111,7 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -227,7 +227,7 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -305,7 +305,7 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index cd5aaec14f9aa6db02a9c2966c82df262c56b031..93a834ce6541d7bc45e7978ffea57907143707da 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -90,7 +90,7 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -117,7 +117,7 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 2a67a33519679484447a46af8299c1703985a0bd..5b3fa6936de2933ee87dfd3019b17b5d09f8c929 100644 (file)
@@ -218,7 +218,7 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
index 03af773953d8ed939f85ed03f8f63e5854202f60..6312a64d49d6048e95b5cadaded300f397653502 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_ContributionView extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -203,7 +203,7 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index e11c270868945605f0119cc5790d118ab0e20526..df7e1759651c631ffaed8f01024d9d47e7db9c42 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
 
   /**
-   * Pre  process the form
+   * Pre  process the form.
    *
    *
    * @return void
@@ -85,7 +85,7 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -209,7 +209,7 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
   }
 
   /**
-   * Function for validation
+   * Function for validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -275,7 +275,7 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
@@ -360,7 +360,7 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
   }
 
   /**
-   * Resize a premium image to a different size
+   * Resize a premium image to a different size.
    *
    *
    * @param string $filename
index 70a43a3e5c3456ceb6a740e300928c4fab2859bc..b8c9574dfeac002961be9975703aab85f4784687 100644 (file)
 class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * The params that are sent to the query
+   * The params that are sent to the query.
    *
    * @var array
    */
   protected $_queryParams;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
@@ -66,12 +66,12 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * Prefix for the controller
+   * Prefix for the controller.
    */
   protected $_prefix = "contribute_";
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -169,7 +169,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index 647bf28268a3ee6782dcaa2e90866586d2e513b9..8a3d64f65a82344985cf3faa20a69958c896db07 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Form_SearchContribution extends CRM_Core_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index 9950d550847e37da4ed2d28582e758a82a564986..2837a3b405bb24be267a7ac5b66b9ceb6e64ba08 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_SoftCredit {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @param CRM_Core_Form $form
    *
@@ -67,7 +67,7 @@ class CRM_Contribute_Form_SoftCredit {
 
 
   /**
-   * Function used to build form element for soft credit block
+   * Function used to build form element for soft credit block.
    *
    * @param CRM_Core_Form $form
    *
@@ -160,7 +160,7 @@ class CRM_Contribute_Form_SoftCredit {
   }
 
   /**
-   * Function used to set defaults for soft credit block
+   * Function used to set defaults for soft credit block.
    *
    * @param $defaults
    * @param $form
@@ -194,7 +194,7 @@ class CRM_Contribute_Form_SoftCredit {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index d8cb4ccffd9522df816de2e00b90c34502c14d93..55178af8502504213aa719bc18b836b2446c0775 100644 (file)
 class CRM_Contribute_Form_Task extends CRM_Core_Form {
 
   /**
-   * The task being performed
+   * The task being performed.
    *
    * @var int
    */
   protected $_task;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_componentClause = NULL;
 
   /**
-   * The array that holds all the component ids
+   * The array that holds all the component ids.
    *
    * @var array
    */
   protected $_componentIds;
 
   /**
-   * The array that holds all the contribution ids
+   * The array that holds all the contribution ids.
    *
    * @var array
    */
   protected $_contributionIds;
 
   /**
-   * The array that holds all the contact ids
+   * The array that holds all the contact ids.
    *
    * @var array
    */
   public $_contactIds;
 
   /**
-   * The array that holds all the mapping contribution and contact ids
+   * The array that holds all the mapping contribution and contact ids.
    *
    * @var array
    */
   protected $_contributionContactIds = array();
 
   /**
-   * The flag to tell if there are soft credits included
+   * The flag to tell if there are soft credits included.
    *
    * @var boolean
    */
   public $_includesSoftCredits = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
index c543c03ac5cd3475672947a1296058ac1b3c12ca..67624f4d1ce30ce547b3b89363550896a5ed38f8 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task {
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -81,7 +81,7 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -204,7 +204,7 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index b567b6e1acd9718e47e0f88f474274a1391f31ea..5b19e4cdbc362189a791bca2c179698e3287093d 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -62,7 +62,7 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -72,7 +72,7 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index de5bb2846c4cef744a09385c49bb008dbe894026..c60f86c518285a6d45ddca6655b0f2d211742e47 100644 (file)
@@ -50,14 +50,14 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task {
   public $_noEmails = FALSE;
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
   public $_templates = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -72,7 +72,7 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -85,7 +85,7 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 86a36d3e0d88987eb5da370bab7e303d9278aa40..7abf59d38cab13c84a67bd9feac6c56bd0590ce1 100644 (file)
@@ -46,27 +46,27 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   public $_single = FALSE;
 
   /**
-   * Gives all the statues for conribution
+   * Gives all the statues for conribution.
    */
   public $_contributionStatusId;
 
   /**
-   * Gives the HTML template of PDF Invoice
+   * Gives the HTML template of PDF Invoice.
    */
   public $_messageInvoice;
 
   /**
-   * This variable is used to assign parameters for HTML template of PDF Invoice
+   * This variable is used to assign parameters for HTML template of PDF Invoice.
    */
   public $_invoiceTemplate;
 
   /**
-   * Selected output
+   * Selected output.
    */
   public $_selectedOutput;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -138,7 +138,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -203,7 +203,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *
@@ -221,7 +221,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -232,7 +232,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the PDf and email with activity and attachment
+   * Process the PDf and email with activity and attachment.
    * on click of Print Invoices
    *
    * @param array $contribIDs
@@ -572,7 +572,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Add activity for Email Invoice and the PDF Invoice
+   * Add activity for Email Invoice and the PDF Invoice.
    *
    * @param string $subject
    *   Activity subject.
@@ -620,7 +620,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Create the Invoice file in upload folder for attachment
+   * Create the Invoice file in upload folder for attachment.
    *
    * @param string $html
    *   Content for pdf in html format.
index c9abc96453d7fdcebd60e5868c8776158983fe44..ae90e4134cf8ed4c21d5c5885dd91e068c53d39f 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Contribute_Form_Task_PDF extends CRM_Contribute_Form_Task {
   protected $_rows;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -101,7 +101,7 @@ AND    {$this->_componentClause}";
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -137,7 +137,7 @@ AND    {$this->_componentClause}";
   }
 
   /**
-   * Set default values
+   * Set default values.
    */
   public function setDefaultValues() {
     $defaultFormat = CRM_Core_BAO_PdfFormat::getDefaultValues();
@@ -145,7 +145,7 @@ AND    {$this->_componentClause}";
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -234,7 +234,7 @@ AND    {$this->_componentClause}";
   }
 
   /**
-   * Declaration of common variables for Invoice and PDF
+   * Declaration of common variables for Invoice and PDF.
    *
    *
    * @param array $contribIds
index 54187802a24b1bc0dc4f60d28e8570ec6b2b7265..b98792082703039fd0262fb3f4d6bd6c5cbc0fc1 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task {
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
@@ -51,7 +51,7 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task {
   public $_cid = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -104,7 +104,7 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -161,7 +161,7 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index f081e32b5f1647f02d6b8544f7cd5b2abbe7df9f..d95aed8cf46b78e2163847b20bece865430d9d73 100644 (file)
@@ -7,7 +7,7 @@
 class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDFLetterCommon {
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @param CRM_Contribute_Form_Task $form
@@ -311,7 +311,7 @@ class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDF
   }
 
   /**
-   * Send pdf by email
+   * Send pdf by email.
    *
    * @param array $contact
    * @param string $html
index e5e320df9773fc3e46641e771c6e524f6c468b78..62f2d195fa77382d9e73ec02850a63e7ee4c8dd5 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -85,7 +85,7 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -109,7 +109,7 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -119,7 +119,7 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -132,7 +132,7 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index df88bddcb7274ddbb55286b8a194c6b84f5c8a37..0ae9f5a944ff9650dc8495d376f95762bceeeed0 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_Task_Print extends CRM_Contribute_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -93,7 +93,7 @@ class CRM_Contribute_Form_Task_Print extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index df2ccd55ed24937c268503f303d41884cfca9150..4e75ebac01bd52daa8dfd0b9a742aebb25366b88 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Contribute_Form_Task_Result extends CRM_Contribute_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -49,7 +49,7 @@ class CRM_Contribute_Form_Task_Result extends CRM_Contribute_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 1468fd70bbfd97492991035119eac253af08fe4e..3416c61752eebe95e92f92d803c0fd7180ae4d20 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_Task_SearchTaskHookSample extends CRM_Contribute_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -74,7 +74,7 @@ INNER JOIN civicrm_contact ct ON ( co.contact_id = ct.id )
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index b05b4e46a40df3bd5ab483cd9fe04fe9d26def8c..9a8a111bc3d7896f41173fd8bf5b3dd7750f639a 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Contribute_Form_Task_Status extends CRM_Contribute_Form_Task {
   protected $_rows;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -87,7 +87,7 @@ AND    {$this->_componentClause}";
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -180,7 +180,7 @@ AND    co.id IN ( $contribIDs )";
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -212,7 +212,7 @@ AND    co.id IN ( $contribIDs )";
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index aa7070cb086beb7373119a183e8e37a82576a862..a4037a2ed35d8920ae080d26603456132c667f1c 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
   public $_paymentProcessorObj = NULL;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -190,7 +190,7 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -218,7 +218,7 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -241,7 +241,7 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 221eae56c8df6b31e1670d2f5c01edd4d05f1fc5..e6e0a92429e8a5509bcb61992a7f366a7471cb0d 100644 (file)
@@ -61,7 +61,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form {
   public $_paymentProcessorObj = NULL;
 
   /**
-   * The id of the contact associated with this recurring contribution
+   * The id of the contact associated with this recurring contribution.
    *
    * @var int
    */
@@ -141,7 +141,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form {
   }
 
   /**
-   * Actually build the components of the form
+   * Actually build the components of the form.
    *
    * @return void
    */
@@ -181,7 +181,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form {
   }
 
   /**
-   * called after the user submits the form
+   * called after the user submits the form.
    *
    *
    * @return void
index ed3d44e3bff0c17d77e8f01d5930f5614efaa1f0..eab6d18ac81477dca8cc4419c9baf0c6776b4759 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param null $title
    * @param bool|int $action
index 90c5d2009a31be3a465e2d6bdec1695b286646ee..a76f80d9c4d0e4fb84027a25c6bc50b504375e8c 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -51,7 +51,7 @@ class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -151,7 +151,7 @@ class CRM_Contribute_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index 2f8de8e58c57f4154d95e0cf859526ae984fda1e..14cc1523adc325bfaab8bf8c956c96229f46a572 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -106,7 +106,7 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -342,7 +342,7 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index eee332bd8596cd8302c1957bff9197231bce54ef..7ed19940b9ccee1b24e17dff57a6999932f349ee 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index 5640fdc37ef8e2c0663223958df5b2a3abebf2ff..8be06fa5cbc0380cf6f1c1a662738160a0f98021 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Import_Form_Summary extends CRM_Import_Form_Summary {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index e55a563ff40fb06c988e0e6eeb95613357187b7b..b4a807bd2fe31afcb48ee165b035133f3319ca7a 100644 (file)
@@ -442,7 +442,7 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference ) associative array of name/value pairs
@@ -496,7 +496,7 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Store parser values
+   * Store parser values.
    *
    * @param CRM_Core_Session $store
    *
@@ -562,7 +562,7 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Export data to a CSV file
+   * Export data to a CSV file.
    *
    * @param string $fileName
    * @param array $header
@@ -601,7 +601,7 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Determines the file extension based on error code
+   * Determines the file extension based on error code.
    *
    * @param int $type
    *   Error code constant.
@@ -635,7 +635,7 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Determines the file name based on error code
+   * Determines the file name based on error code.
    *
    * @param int $type
    *   Error code constant.
index dd2ca07561ba4a6fa8211a3a8d1401a5be53af8b..b51b006cddbed57250bbe8410fe15bc87bef4bd3 100644 (file)
@@ -140,7 +140,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * Handle the values in mapField mode
+   * Handle the values in mapField mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -152,7 +152,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * Handle the values in preview mode
+   * Handle the values in preview mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -165,7 +165,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * Handle the values in summary mode
+   * Handle the values in summary mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -242,7 +242,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * Handle the values in import mode
+   * Handle the values in import mode.
    *
    * @param int $onDuplicate
    *   The code for what action to take on duplicates.
index 0605f8f1efbb33fc5eb0d1cf0b599d9123e3a1f5..bfd3b3638daa51188c431d280c4bc47fc742e83c 100644 (file)
@@ -94,7 +94,7 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * Provides permissions that are unwise for Anonymous Roles to have
+   * Provides permissions that are unwise for Anonymous Roles to have.
    *
    * @return array
    *   list of permissions
@@ -187,7 +187,7 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    * @param $newCredit
    */
index d432da34a8be4d31605f90648904cd78e2560a77..79304f03201e296d3619892dde13f746afac60e3 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -388,7 +388,7 @@ AND         cp.page_type = 'contribute'
   }
 
   /**
-   * Browse all contribution pages
+   * Browse all contribution pages.
    *
    * @param mixed $action
    *   Unused parameter.
index 322825be0d8d3d3903df568d081c701c5a15c4fa..56383613f9d15a2a4a36206b392174b6101994e4 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page {
   public $_contactId = NULL;
 
   /**
-   * View details of a recurring contribution
+   * View details of a recurring contribution.
    *
    * @return void
    */
index 801c634f3b93b420f0338a2bc5b9088cd0e85b3c..0b9807ce7035ea30f097dd794e5f198c05e310f2 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -178,7 +178,7 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -188,7 +188,7 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 0bf9e5d00aadcbfad7805a579dae883ab7627b2e..6ba50e7e685d956bda9ca8fd76d675f729f829b2 100644 (file)
 class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -194,7 +194,7 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -204,7 +204,7 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 0f899c49bfe8852f18d1a5dc9f020119cd582c13..cd33a94160743c13b752e02626aa9b9dc639e5eb 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Page_Tab extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -102,7 +102,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
   // end function
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    */
   public function browse() {
@@ -197,7 +197,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is view
+   * called when action is view.
    *
    * @return null
    */
@@ -215,7 +215,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
index ece6ccbe977f9471bf70161924b26313297e1966..4bcb8474fce59751611a10fea9bf800eb68f1b3f 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    */
   public function listContribution() {
     $controller = new CRM_Core_Controller_Simple(
index 38d41c0f9571dfc42f312441ad07161eed16a9a0..047d04424ec326413f7814d7641757c2faebd380 100644 (file)
@@ -243,7 +243,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the valid accepted credit cards
+   * Get all the valid accepted credit cards.
    *
    *
    * @return array
@@ -254,7 +254,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all premiums
+   * Get all premiums.
    *
    *
    * @param int $pageID
@@ -301,7 +301,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the contribution statuses
+   * Get all the contribution statuses.
    *
    *
    * @param int $id
@@ -325,7 +325,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the Personal campaign pages
+   * Get all the Personal campaign pages.
    *
    *
    * @param null $pageType
@@ -413,7 +413,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all batches
+   * Get all batches.
    *
    *
    * @param int $id
index ed22579c57b9bd8e4853903fbfae977ce286f82d..f0aead14ac77be9a526046a10109d5ffa0c1fbed 100644 (file)
@@ -146,7 +146,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   protected $_includeSoftCredits = FALSE;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
@@ -295,7 +295,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index f9c757b031529ffdd9336e14b595b56afbdbee95..7362420e002e642c8e6f710eaa40c0110153f31a 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_StateMachine_Contribution extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param CRM_Core_Controller $controller
    * @param \const|int $action
index efff7a0d28cb5eb9ac8d26a2edcc4fe96bd67bc8..f61b396dd5f735fad4e5a739a703fbc248d37c71 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_StateMachine_ContributionPage extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param CRM_Contribute_Controller_ContributionPage $controller
    * @param const|int $action
index 1c0dc22631664aacee32ba61b0cff0cc1f2fd98d..6cc6a7616e7ae962599d631f4a9e68d1ce4c05b2 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
@@ -94,7 +94,7 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index ab9888f89d04b3f351a7d9306b5b4227a00749ab..7cfcd6cb38d2a07ca5cb99ae30a5e08c7552d1c8 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog {
 
   /**
-   * Create or update an action log entry
+   * Create or update an action log entry.
    *
    * @param array $params
    *
index fff01f6c8f9f6a5fbb5014a57d106a224a454581..3786a5409ff3fd3476c1ab82235a3baca722ab26 100755 (executable)
@@ -69,7 +69,7 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
   }
 
   /**
-   * Get all fields of the type Date
+   * Get all fields of the type Date.
    */
   public static function getDateFields() {
     $allFields = CRM_Core_BAO_CustomField::getFields('');
@@ -313,7 +313,7 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
   }
 
   /**
-   * Retrieve list of Scheduled Reminders
+   * Retrieve list of Scheduled Reminders.
    *
    * @param bool $namesOnly
    *   Return simple list of names.
@@ -586,7 +586,7 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * Add the schedules reminders in the db
+   * Add the schedules reminders in the db.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -603,9 +603,9 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -634,7 +634,7 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * Delete a Reminder
+   * Delete a Reminder.
    *
    * @param int $id
    *   ID of the Reminder to be deleted.
@@ -653,7 +653,7 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index 11a4c88c101769f900f60734f43966386842bae6..e5842af152590c3f689269bb315129c280f8d871 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
 
   /**
-   * Takes an associative array and creates a address
+   * Takes an associative array and creates a address.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -133,7 +133,7 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
   }
 
   /**
-   * Takes an associative array and adds address
+   * Takes an associative array and adds address.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -197,7 +197,7 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
   }
 
   /**
-   * Format the address params to have reasonable values
+   * Format the address params to have reasonable values.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -399,7 +399,7 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -667,7 +667,7 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
   }
 
   /**
-   * Get address sequence
+   * Get address sequence.
    *
    * @return array
    *   Array of address sequence.
@@ -911,7 +911,7 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
   }
 
   /**
-   * Check if current address is used by any other contacts
+   * Check if current address is used by any other contacts.
    *
    * @param int $addressId
    *   Address id.
@@ -925,7 +925,7 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
   }
 
   /**
-   * Check if current address fields are shared with any other address
+   * Check if current address fields are shared with any other address.
    *
    * @param array $fields
    *   Address fields in profile.
@@ -996,7 +996,7 @@ SELECT is_primary,
   }
 
   /**
-   * Update the shared addresses if master address is modified
+   * Update the shared addresses if master address is modified.
    *
    * @param int $addressId
    *   Address id.
@@ -1025,7 +1025,7 @@ SELECT is_primary,
   }
 
   /**
-   * Merge contacts with the Same address to get one shared label
+   * Merge contacts with the Same address to get one shared label.
    * @param array $rows
    *   Array[contact_id][contactDetails].
    */
@@ -1098,7 +1098,7 @@ SELECT is_primary,
   }
 
   /**
-   * Create relationship between contacts who share an address
+   * Create relationship between contacts who share an address.
    *
    * Note that currently we create relationship only for Individual contacts
    * Individual + Household and Individual + Orgnization
@@ -1172,7 +1172,7 @@ SELECT is_primary,
   }
 
   /**
-   * Check and set the status for shared address delete
+   * Check and set the status for shared address delete.
    *
    * @param int $addressId
    *   Address id.
@@ -1234,7 +1234,7 @@ SELECT is_primary,
   }
 
   /**
-   * Call common delete function
+   * Call common delete function.
    */
   public static function del($id) {
     return CRM_Contact_BAO_Contact::deleteObjectWithPrimary('Address', $id);
index 716394ec4ba293e333a0ef915aab0f31b92fbd33..fcf9f3324b28301a0702a5fac466490f4505a4cf 100644 (file)
@@ -38,7 +38,7 @@
 class CRM_Core_BAO_Block {
 
   /**
-   * Fields that are required for a valid block
+   * Fields that are required for a valid block.
    */
   static $requiredBlockFields = array(
     'email' => array('email'),
@@ -126,7 +126,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * Check if the current block object has any valid data
+   * Check if the current block object has any valid data.
    *
    * @param array $blockFields
    *   Array of fields that are of interest for this object.
@@ -146,7 +146,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * Check if the current block exits
+   * Check if the current block exits.
    *
    * @param string $blockName
    *   Bloack name.
@@ -166,7 +166,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * Get all block ids for a contact
+   * Get all block ids for a contact.
    *
    * @param string $blockName
    *   Block name.
@@ -210,7 +210,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * Takes an associative array and creates a block
+   * Takes an associative array and creates a block.
    *
    * @param string $blockName
    *   Block name.
@@ -392,7 +392,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * Delete block
+   * Delete block.
    *
    * @param string $blockName
    *   Block name.
@@ -505,7 +505,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * Sort location array so primary element is first
+   * Sort location array so primary element is first.
    *
    * @param array $locations
    */
index 9e3c124909101f8a62a65d1b6bb0296a25b765e9..47df55188a0f51998126007c79abb8f364b6aa7f 100644 (file)
@@ -45,7 +45,7 @@ require_once 'DB.php';
 class CRM_Core_BAO_CMSUser {
 
   /**
-   * Synchronizing cms users with CiviCRM contacts
+   * Synchronizing cms users with CiviCRM contacts.
    *
    * @param bool $is_interactive
    *   Whether to show statuses & perform redirects.
@@ -222,7 +222,7 @@ class CRM_Core_BAO_CMSUser {
   }
 
   /**
-   * Create CMS user using Profile
+   * Create CMS user using Profile.
    *
    * @param array $params
    * @param string $mail
@@ -251,7 +251,7 @@ class CRM_Core_BAO_CMSUser {
   }
 
   /**
-   * Create Form for CMS user using Profile
+   * Create Form for CMS user using Profile.
    *
    * @param CRM_Core_Form $form
    * @param int $gid
index 1d4c293daece406562db7eafe506280a9aa5bdc4..031c8c2d097920437af28322ca199c4d4ddefacf 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
   static $_cache = NULL;
 
   /**
-   * Retrieve an item from the DB cache
+   * Retrieve an item from the DB cache.
    *
    * @param string $group
    *   (required) The group name of the item.
@@ -93,7 +93,7 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
   }
 
   /**
-   * Retrieve all items in a group
+   * Retrieve all items in a group.
    *
    * @param string $group
    *   (required) The group name of the item.
@@ -134,7 +134,7 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
   }
 
   /**
-   * Store an item in the DB cache
+   * Store an item in the DB cache.
    *
    * @param object $data
    *   (required) A reference to the data that will be serialized and stored.
index f6b4d7463881821d32255ce6ed5982337103edbc..39979f8587888baae8de1cd0936c05901dae3070 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Core_BAO_ConfigSetting {
   }
 
   /**
-   * Add civicrm settings
+   * Add civicrm settings.
    *
    * @param array $params
    *   Associated array of civicrm variables.
@@ -139,7 +139,7 @@ class CRM_Core_BAO_ConfigSetting {
   }
 
   /**
-   * Fix civicrm setting variables
+   * Fix civicrm setting variables.
    *
    * @param array $params
    *   Associated array of civicrm variables.
@@ -171,7 +171,7 @@ class CRM_Core_BAO_ConfigSetting {
   }
 
   /**
-   * Format the array containing before inserting in db
+   * Format the array containing before inserting in db.
    *
    * @param array $params
    *   Associated array of civicrm variables(submitted).
@@ -197,7 +197,7 @@ class CRM_Core_BAO_ConfigSetting {
   }
 
   /**
-   * Retrieve the settings values from db
+   * Retrieve the settings values from db.
    *
    * @param $defaults
    *
@@ -478,7 +478,7 @@ class CRM_Core_BAO_ConfigSetting {
   }
 
   /**
-   * Return likely default settings
+   * Return likely default settings.
    * @return array
    *   site settings
    *   - $url
@@ -649,7 +649,7 @@ WHERE  option_group_id = (
   }
 
   /**
-   * Takes a componentName and enables it in the config
+   * Takes a componentName and enables it in the config.
    * Primarily used during unit testing
    *
    * @param string $componentName
index 259de43c7fb4e135fbd3af78443ebd4358209580..bf96c1cb1aa32aac48f6f21bed3cc9ac14152d4e 100644 (file)
@@ -61,7 +61,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   public static $_importFields = NULL;
 
   /**
-   * Build and retrieve the list of data types and descriptions
+   * Build and retrieve the list of data types and descriptions.
    *
    * @return array
    *   Data type => Description
@@ -118,7 +118,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Takes an associative array and creates a custom field object
+   * Takes an associative array and creates a custom field object.
    *
    * This function is invoked from within the web form layer and also from the api layer
    *
@@ -313,7 +313,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -327,7 +327,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -666,7 +666,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Get the field id from an import key
+   * Get the field id from an import key.
    *
    * @param string $key
    *   The key to parse.
@@ -692,7 +692,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Use the cache to get all values of a specific custom field
+   * Use the cache to get all values of a specific custom field.
    *
    * @param int $fieldID
    *   The custom field ID.
@@ -726,7 +726,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * This function for building custom fields
+   * This function for building custom fields.
    *
    * @param CRM_Core_Form $qf
    *   Form object (reference).
@@ -1339,7 +1339,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Set default values for custom data used in profile
+   * Set default values for custom data used in profile.
    *
    * @param int $customFieldId
    *   Custom field id.
@@ -1546,7 +1546,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * Format custom fields before inserting
+   * Format custom fields before inserting.
    *
    * @param int $customFieldId
    *   Custom field id.
@@ -1908,7 +1908,7 @@ SELECT $columnName
   }
 
   /**
-   * Determine whether it would be safe to move a field
+   * Determine whether it would be safe to move a field.
    *
    * @param int $fieldID
    *   FK to civicrm_custom_field.
@@ -2041,7 +2041,7 @@ WHERE  id IN ( %1, %2 )
   }
 
   /**
-   * Get the database table name and column name for a custom field
+   * Get the database table name and column name for a custom field.
    *
    * @param int $fieldID
    *   The fieldID of the custom field.
@@ -2076,7 +2076,7 @@ AND    cf.id = %1";
   }
 
   /**
-   * Get custom option groups
+   * Get custom option groups.
    *
    * @param array $includeFieldIds
    *   Ids of custom fields for which.
@@ -2123,7 +2123,7 @@ INNER JOIN  civicrm_custom_field f ON ( g.id = f.option_group_id )
   }
 
   /**
-   * Fix orphan groups
+   * Fix orphan groups.
    *
    * @param int $customFieldId
    *   Custom field id.
index 98aa0b6321bea67b3182cf983d2d8fa45338f679..3628f67a1dc31b7e24bac13475620921eb2516b4 100644 (file)
 class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes an associative array and creates a custom group object
+   * Takes an associative array and creates a custom group object.
    *
    * This function is invoked from within the web form layer and also from the api layer
    *
@@ -222,7 +222,7 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -236,7 +236,7 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -1532,7 +1532,7 @@ ORDER BY civicrm_custom_group.weight,
   }
 
   /**
-   * Generic function to build all the form elements for a specific group tree
+   * Generic function to build all the form elements for a specific group tree.
    *
    * @param CRM_Core_Form $form
    *   The form object.
@@ -1859,7 +1859,7 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1,
   }
 
   /**
-   * Build custom data view
+   * Build custom data view.
    *
    * @param CRM_Core_Form $form
    *   Page object.
index e872746c843ba13ec6343e77b86c1b773c2c327e..7b01478cdb7a7447e42469251b5ee9d11cd1b7e4 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_CustomOption {
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -60,7 +60,7 @@ class CRM_Core_BAO_CustomOption {
   }
 
   /**
-   * Returns all active options ordered by weight for a given field
+   * Returns all active options ordered by weight for a given field.
    *
    * @param int $fieldID
    *   Field whose options are needed.
@@ -168,7 +168,7 @@ WHERE  id = %1
   }
 
   /**
-   * Delete Option
+   * Delete Option.
    *
    * @param $optionId integer
    *   option id
index 8f45597b9d609a521896a99d8a748a41c6180920..7e737e3223f1dee542b170e8c2ddae4470e2dce0 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_CustomValue extends CRM_Core_DAO {
 
   /**
-   * Validate a value against a CustomField type
+   * Validate a value against a CustomField type.
    *
    * @param string $type
    *   The type of the data.
@@ -192,7 +192,7 @@ class CRM_Core_BAO_CustomValue extends CRM_Core_DAO {
   }
 
   /**
-   * Delete option value give an option value and custom group id
+   * Delete option value give an option value and custom group id.
    *
    * @param int $customValueID
    *   Custom value ID.
index ee7ae8652e6aaadde386897b5452e7bf8dc9d5cf..c060d147e3ad66b3aee9b4b216b94181dd9149e3 100644 (file)
@@ -251,7 +251,7 @@ class CRM_Core_BAO_CustomValueTable {
   }
 
   /**
-   * Given a field return the mysql data type associated with it
+   * Given a field return the mysql data type associated with it.
    *
    * @param string $type
    * @param int $maxLength
@@ -326,7 +326,7 @@ class CRM_Core_BAO_CustomValueTable {
           'file_id' => $customValue['file_id'],
         );
 
-        // fix Date type to be timestamp, since that is how we store in db
+        // Fix Date type to be timestamp, since that is how we store in db.
         if ($cvParam['type'] == 'Date') {
           $cvParam['type'] = 'Timestamp';
         }
@@ -351,6 +351,8 @@ class CRM_Core_BAO_CustomValueTable {
   }
 
   /**
+   * Post process function.
+   *
    * @param array $params
    * @param $customFields
    * @param $entityTable
@@ -415,7 +417,7 @@ class CRM_Core_BAO_CustomValueTable {
     }
     $cond = implode(' AND ', $cond);
 
-    // first find all the fields that extend this type of entity
+    // First find all the fields that extend this type of entity.
     $query = "
 SELECT cg.table_name,
        cg.id as groupID,
@@ -455,7 +457,8 @@ AND    $cond
           if ($isMultiple[$tableName]) {
             if ($formatMultiRecordField) {
               $result["{$dao->id}"]["{$fieldID}"] = $dao->$fieldName;
-            } else {
+            }
+            else {
               $result["{$fieldID}_{$dao->id}"] = $dao->$fieldName;
             }
           }
index c17a297d582cd013f317c80feeb2b141423e2a2b..1e939fe64007ce46f52d368384aed79ae1d41736 100644 (file)
@@ -38,7 +38,7 @@
  */
 class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   /**
-   * Add Dashboard
+   * Add Dashboard.
    *
    * @param array $params
    *   Values.
@@ -55,7 +55,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Get the list of dashlets enabled by admin
+   * Get the list of dashlets enabled by admin.
    *
    * @param bool $all
    *   All or only active.
@@ -147,7 +147,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Setup default dashlets for new users
+   * Setup default dashlets for new users.
    *
    * When a user accesses their dashboard for the first time, set up
    * the default dashlets.
@@ -192,7 +192,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
 
 
   /**
-   * Check dashlet permission for current user
+   * Check dashlet permission for current user.
    *
    * @param string $permission
    *   Comma separated list.
@@ -271,7 +271,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Get details of each dashlets
+   * Get details of each dashlets.
    *
    * @param int $dashletID
    *   Widget ID.
@@ -340,7 +340,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Save changes made by use to the Dashlet
+   * Save changes made by use to the Dashlet.
    *
    * @param array $columns
    *
@@ -407,7 +407,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Add dashlets
+   * Add dashlets.
    *
    * @param array $params
    *
@@ -475,7 +475,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Update contact dashboard with new dashlet
+   * Update contact dashboard with new dashlet.
    *
    * @param object : $dashlet
    *
@@ -542,7 +542,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Reset dashlet cache
+   * Reset dashlet cache.
    *
    * @param int $contactID
    *   Reset cache only for specific contact.
@@ -561,7 +561,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Delete Dashlet
+   * Delete Dashlet.
    *
    * @param int $dashletID
    *
index 325dabb7f104d90dbfc94f383d13eb1f45d1943a..15c6aa3f9c06656314a5a39d4a66c64c69e027e6 100644 (file)
 class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Delete the discount
+   * Delete the discount.
    *
    * @param int $entityId
    * @param string $entityTable
@@ -104,7 +104,7 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
   }
 
   /**
-   * Determine in which discount set the registration date falls
+   * Determine in which discount set the registration date falls.
    *
    * @param int $entityID
    *   Entity id to be searched.
index 9bb96de5dbf095dd99d20725e15d4401ff9c6445..9cdb9a0ba02727fb64af59e50dffd8e401022955 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
 
   /**
-   * Cache for the current domain object
+   * Cache for the current domain object.
    */
   static $_domain = NULL;
 
@@ -49,7 +49,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   private $_location = NULL;
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -63,7 +63,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * Get the domain BAO
+   * Get the domain BAO.
    *
    * @param null $reset
    *
@@ -129,7 +129,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * Get the location values of a domain
+   * Get the location values of a domain.
    *
    * @return array
    *   Location::getValues
@@ -150,7 +150,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * Save the values of a domain
+   * Save the values of a domain.
    *
    * @param array $params
    * @param int $id
@@ -167,7 +167,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * Create a new domain
+   * Create a new domain.
    *
    * @param array $params
    *
index fcd3f82671c5d2f8d7111d7e52f40be01b497755..fd546b9f1235b8e56ec82ad54e7c1a7d84f5bd2e 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Core_BAO_Email extends CRM_Core_DAO_Email {
   }
 
   /**
-   * Takes an associative array and adds email
+   * Takes an associative array and adds email.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -326,7 +326,7 @@ AND    reset_date IS NULL
   }
 
   /**
-   * Call common delete function
+   * Call common delete function.
    */
   public static function del($id) {
     return CRM_Contact_BAO_Contact::deleteObjectWithPrimary('Email', $id);
index f4a8c16928213bbfeb3523dd87c88d2b16c06202..2064277944b02cb02d945deb69ffcea4674997c7 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Takes an associative array and creates a entityTag object
+   * Takes an associative array and creates a entityTag object.
    *
    * the function extract all the params it needs to initialize the create a
    * group object. the params array could contain additional unused name/value
@@ -98,7 +98,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   An assoc array of name/value pairs.
@@ -110,7 +110,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Delete the tag for a contact
+   * Delete the tag for a contact.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -216,7 +216,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Takes an associative array and creates tag entity record for all tag entities
+   * Takes an associative array and creates tag entity record for all tag entities.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -260,7 +260,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * This function returns all entities assigned to a specific tag
+   * This function returns all entities assigned to a specific tag.
    *
    * @param object $tag
    *   An object of a tag.
@@ -280,7 +280,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Get contact tags
+   * Get contact tags.
    */
   public static function getContactTags($contactID, $count = FALSE) {
     $contactTags = array();
@@ -313,7 +313,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Get child contact tags given parentId
+   * Get child contact tags given parentId.
    */
   public static function getChildEntityTags($parentId, $entityId, $entityTable = 'civicrm_contact') {
     $entityTags = array();
index f8296f4c6ff60f8fb24d5dd7cb14c007ff92436c..936efbea8f3358dec75b586445509eca133abf90 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -61,7 +61,7 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
   }
 
   /**
-   * Delete an extension
+   * Delete an extension.
    *
    * @param int $id
    *   Id of the extension to be deleted.
@@ -76,7 +76,7 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
   }
 
   /**
-   * Change the schema version of an extension
+   * Change the schema version of an extension.
    *
    * @param string $fullName
    *   the fully-qualified name (eg "com.example.myextension").
@@ -93,7 +93,7 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
   }
 
   /**
-   * Determine the schema version of an extension
+   * Determine the schema version of an extension.
    *
    * @param string $fullName
    *   the fully-qualified name (eg "com.example.myextension").
index 0d98f34580dab28d4fcc7f5f000485bd3f37dd7e..6556e4220c688d59c3587bf21d339f088d90c66b 100644 (file)
@@ -34,7 +34,7 @@
  */
 class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Financial_DAO_FinancialTrxn
    */
@@ -45,7 +45,7 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
   }
 
   /**
-   * Takes an associative array and creates a financial transaction object
+   * Takes an associative array and creates a financial transaction object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -117,7 +117,7 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -289,7 +289,7 @@ WHERE lt.entity_id = %1 ";
   }
 
   /**
-   * Delete financial transaction
+   * Delete financial transaction.
    *
    * @param int $entity_id
    * @return bool
@@ -309,7 +309,7 @@ WHERE ceft.entity_id = %1";
   }
 
   /**
-   * Create financial transaction for premium
+   * Create financial transaction for premium.
    *
    */
   public static function createPremiumTrxn($params) {
@@ -355,7 +355,7 @@ WHERE ceft.entity_id = %1";
   }
 
   /**
-   * Create financial trxn and items when fee is charged
+   * Create financial trxn and items when fee is charged.
    *
    * @param array $params
    *   To create trxn entries.
@@ -411,7 +411,7 @@ WHERE ceft.entity_id = %1";
   }
 
   /**
-   * get partial payment amount and type of it
+   * get partial payment amount and type of it.
    *
    * @param int $entityId
    * @param string $entityName
index a66907ad6a264773be80908c245943acf06ce3b3..2f3830d419f220258cc2c9951783424cf7a5de60 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_IM extends CRM_Core_DAO_IM {
 
   /**
-   * Takes an associative array and adds im
+   * Takes an associative array and adds im.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -164,7 +164,7 @@ ORDER BY cim.is_primary DESC, im_id ASC ";
   }
 
   /**
-   * Call common delete function
+   * Call common delete function.
    */
   public static function del($id) {
     return CRM_Contact_BAO_Contact::deleteObjectWithPrimary('IM', $id);
index af1b843c4302b1eaf269fb5c1e51ef5df2fe4beb..db5e6d7278ee5fd1207cbef03778a9b6cbdfaf09 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -60,9 +60,9 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -83,7 +83,7 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -99,7 +99,7 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
   }
 
   /**
-   * Function  to delete scheduled job
+   * Function  to delete scheduled job.
    *
    * @param $jobID
    *   ID of the job to be deleted.
@@ -123,7 +123,7 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
   }
 
   /**
-   * Trim job table on a regular basis to keep it at a good size
+   * Trim job table on a regular basis to keep it at a good size.
    *
    * CRM-10513
    */
index d50fc673aa707ca2d52ab762bb9d7fc75692a2d2..b5786cf439f9fee1a2bbb778f61754757fa6884a 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
 
   /**
-   * Static holder for the Label Formats Option Group ID
+   * Static holder for the Label Formats Option Group ID.
    */
   private static $_gid = NULL;
 
@@ -240,7 +240,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Option Group ID for Label Formats
+   * Get Option Group ID for Label Formats.
    *
    * @param string $name
    *
@@ -258,7 +258,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Add ordering fields to Label Format list
+   * Add ordering fields to Label Format list.
    *
    * @param array (reference) $list List of Label Formats
    * @param string $returnURL
@@ -306,7 +306,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Retrieve the default Label Format values
+   * Retrieve the default Label Format values.
    *
    * @param string $groupName
    *   Label format group name.
@@ -328,7 +328,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Label Format from the DB
+   * Get Label Format from the DB.
    *
    * @param string $field
    *   Field name to search by.
@@ -352,7 +352,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Label Format by Name
+   * Get Label Format by Name.
    *
    * @param int $name
    *   Label format name. Empty = get default label format.
@@ -365,7 +365,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Label Format by ID
+   * Get Label Format by ID.
    *
    * @param int $id
    *   Label format id. 0 = get default label format.
@@ -380,7 +380,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Label Format field from associative array
+   * Get Label Format field from associative array.
    *
    * @param string $field
    *   Name of a label format field.
@@ -411,9 +411,9 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * label id. It also stores all the retrieved values in the default array.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -451,7 +451,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Return the name of the group for customized labels
+   * Return the name of the group for customized labels.
    *
    * @return void
    */
@@ -460,7 +460,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Save the Label Format in the DB
+   * Save the Label Format in the DB.
    *
    * @param array (reference) $values associative array of name/value pairs
    * @param int $id
@@ -530,7 +530,7 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Delete a Label Format
+   * Delete a Label Format.
    *
    * @param int $id
    *   ID of the label format to be deleted.
index 5fa6dade98c288c796a119b24d0a98bd5a27b7d0..3f4d3211919e981f541cf14f26e1ae04a01601ed 100644 (file)
 class CRM_Core_BAO_Location extends CRM_Core_DAO {
 
   /**
-   * Location block element array
+   * Location block element array.
    */
   static $blocks = array('phone', 'email', 'im', 'openid', 'address');
 
   /**
-   * Create various elements of location block
+   * Create various elements of location block.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -95,7 +95,7 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO {
   }
 
   /**
-   * Creates the entry in the civicrm_loc_block
+   * Creates the entry in the civicrm_loc_block.
    */
   public static function createLocBlock(&$location, &$entityElements) {
     $locId = self::findExisting($entityElements);
@@ -133,7 +133,7 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO {
   }
 
   /**
-   * Takes an entity array and finds the existing location block
+   * Takes an entity array and finds the existing location block.
    */
   public static function findExisting($entityElements) {
     $eid = $entityElements['entity_id'];
@@ -152,7 +152,7 @@ WHERE e.id = %1";
   }
 
   /**
-   * Takes an associative array and adds location block
+   * Takes an associative array and adds location block.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -169,7 +169,7 @@ WHERE e.id = %1";
   }
 
   /**
-   * Delete the Location Block
+   * Delete the Location Block.
    *
    * @param int $locBlockId
    *   Id of the Location Block.
@@ -211,7 +211,7 @@ WHERE e.id = %1";
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -263,7 +263,7 @@ WHERE e.id = %1";
   }
 
   /**
-   * Delete all the block associated with the location
+   * Delete all the block associated with the location.
    *
    * @param int $contactId
    *   Contact id.
index 9d48804e3dae01c1d673408c8ae2c798f5674414..744fd36d6b255aa6b0ed88eb366bf292051c09a1 100644 (file)
 class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
 
   /**
-   * Static holder for the default LT
+   * Static holder for the default LT.
    */
   static $_defaultLocationType = NULL;
   static $_billingLocationType = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -69,7 +69,7 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -85,7 +85,7 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
   }
 
   /**
-   * Retrieve the default location_type
+   * Retrieve the default location_type.
    *
    * @return object
    *   The default location type object on success,
@@ -101,7 +101,7 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
   }
 
   /**
-   * Get ID of billing location type
+   * Get ID of billing location type.
    *
    * @return int
    */
@@ -114,7 +114,7 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
   }
 
   /**
-   * Add a Location Type
+   * Add a Location Type.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -141,7 +141,7 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
   }
 
   /**
-   * Delete location Types
+   * Delete location Types.
    *
    * @param int $locationTypeId
    *   ID of the location type to be deleted.
index cc15a2190c021f1605a22b317f0c69901411187b..a97eb547326036b25717ff159716365ddcaa34bd 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Core_BAO_Log extends CRM_Core_DAO_Log {
   }
 
   /**
-   * Add log to civicrm_log table
+   * Add log to civicrm_log table.
    *
    * @param array $params
    *   Array of name-value pairs of log table.
@@ -152,7 +152,7 @@ UPDATE civicrm_log
   }
 
   /**
-   * Get log record count for a Contact
+   * Get log record count for a Contact.
    *
    * @param int $contactID
    *
@@ -166,7 +166,7 @@ UPDATE civicrm_log
   }
 
   /**
-   * Function for find out whether to use logging schema entries for contact
+   * Function for find out whether to use logging schema entries for contact.
    * summary, instead of normal log entries.
    *
    * @return int
index b8ed404c0bf1199fa4f02d147721983b86c60188..2187dcbbca6bc5e7fdc84befcffabb366f46349e 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -64,7 +64,7 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * Return the domain from the default set of settings
+   * Return the domain from the default set of settings.
    *
    * @return string
    *   default domain
@@ -74,7 +74,7 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * Return the localpart from the default set of settings
+   * Return the localpart from the default set of settings.
    *
    * @return string
    *   default localpart
@@ -84,7 +84,7 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * Return the return path from the default set of settings
+   * Return the return path from the default set of settings.
    *
    * @return string
    *   default return path
@@ -108,10 +108,9 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * mail settings id. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -168,7 +167,7 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * Takes an associative array and creates a mail settings object
+   * Takes an associative array and creates a mail settings object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index c77d80d8c33ce1144c07d69c3f82e5219bcaf2e8..7857c4bfd5c9f7cff9015ed7d5ae517e951120d4 100644 (file)
 class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -63,7 +63,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Delete the mapping
+   * Delete the mapping.
    *
    * @param int $id
    *   Mapping id.
@@ -89,7 +89,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Takes an associative array and creates a contact object
+   * Takes an associative array and creates a contact object.
    *
    * The function extract all the params it needs to initialize the create a
    * contact object. the params array could contain additional unused name/value
@@ -110,7 +110,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Get the list of mappings
+   * Get the list of mappings.
    *
    * @param string $mappingTypeId
    *   Mapping type id.
@@ -132,7 +132,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Get the mapping fields
+   * Get the mapping fields.
    *
    * @param int $mappingId
    *   Mapping id.
@@ -197,7 +197,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Check Duplicate Mapping Name
+   * Check Duplicate Mapping Name.
    *
    * @param string $nameField
    *   mapping Name.
@@ -245,7 +245,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Build the mapping form
+   * Build the mapping form.
    *
    * @param CRM_Core_Form $form
    * @param string $mappingType
@@ -952,7 +952,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
 
 
   /**
-   * Function returns all  Custom group Names
+   * Function returns all  Custom group Names.
    *
    * @param int $customfieldId
    *   Related file id.
index 088886d7ee42f11504badb94a1dea63c9388b857..037d1e51b86e9916798f0e1d7d43cb2cac1a101f 100644 (file)
@@ -41,7 +41,7 @@ require_once 'Mail/mime.php';
 class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -61,7 +61,7 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -76,7 +76,7 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * Add the Message Templates
+   * Add the Message Templates.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -97,7 +97,7 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * Delete the Message Templates
+   * Delete the Message Templates.
    *
    * @param int $messageTemplatesID
    * @return void
@@ -123,7 +123,7 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * Get the Message Templates
+   * Get the Message Templates.
    *
    *
    * @param bool $all
@@ -302,7 +302,7 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * Send an email from the specified template based on an array of params
+   * Send an email from the specified template based on an array of params.
    *
    * @param array $params
    *   A string-keyed array of function params, see function body for details.
index 5d86859ff3a7dc606dd42b5d2caf5df86a99c916..2eb3042d5cabdf604e3e1757433441670d60bcc1 100644 (file)
@@ -38,14 +38,14 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   const CACHE_KEY_STRLEN = 8;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -123,7 +123,7 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -147,7 +147,7 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   }
 
   /**
-   * Calculate navigation weight
+   * Calculate navigation weight.
    *
    * @param int $parentID
    *   Parent_id of a menu.
@@ -177,7 +177,7 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   }
 
   /**
-   * Get formatted menu list
+   * Get formatted menu list.
    *
    * @return array
    *   returns associated array
@@ -263,7 +263,7 @@ FROM civicrm_navigation WHERE domain_id = $domainID {$whereClause} ORDER BY pare
   }
 
   /**
-   * Build navigation tree
+   * Build navigation tree.
    *
    * @param array $navigationTree
    *   Nested array of menus.
@@ -321,7 +321,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Build menu
+   * Build menu.
    *
    * @param bool $json
    *   By default output is html.
@@ -387,7 +387,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Recursively check child menus
+   * Recursively check child menus.
    *
    * @param array $value
    * @param string $navigationString
@@ -464,7 +464,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Get Menu name
+   * Get Menu name.
    *
    * @param $value
    * @param array $skipMenuItems
@@ -578,7 +578,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Create navigation for CiviCRM Admin Menu
+   * Create navigation for CiviCRM Admin Menu.
    *
    * @param int $contactID
    *   Contact id.
@@ -643,7 +643,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Reset navigation for all contacts or a specified contact
+   * Reset navigation for all contacts or a specified contact.
    *
    * @param int $contactID
    *   Reset only entries belonging to that contact ID.
@@ -680,7 +680,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Process navigation
+   * Process navigation.
    *
    * @param array $params
    *   Associated array, $_GET.
@@ -714,7 +714,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Process move action
+   * Process move action.
    *
    * @param $nodeID
    *   Node that is being moved.
@@ -779,7 +779,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   *  Function to process rename action for tree
+   *  Function to process rename action for tree.
    *
    * @param int $nodeID
    * @param $label
@@ -789,7 +789,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Process delete action for tree
+   * Process delete action for tree.
    *
    * @param int $nodeID
    */
@@ -799,7 +799,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Get the info on navigation item
+   * Get the info on navigation item.
    *
    * @param int $navigationID
    *   Navigation id.
@@ -819,7 +819,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Update menu
+   * Update menu.
    *
    * @param array $params
    * @param array $newParams
index 1212c8e5cfb4971262da40148196229fcbb6c88a..23d88c37f046250a06385fffe1bcf69b3027867d 100644 (file)
@@ -125,7 +125,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * Takes an associative array and creates a note object
+   * Takes an associative array and creates a note object.
    *
    * the function extract all the params it needs to initialize the create a
    * note object. the params array could contain additional unused name/value
@@ -218,7 +218,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -281,7 +281,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * Delete the notes
+   * Delete the notes.
    *
    * @param int $id
    *   Note id.
@@ -332,7 +332,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * Delete all records for this contact id
+   * Delete all records for this contact id.
    *
    * @param int $id
    *   ID of the contact for which note needs to be deleted.
@@ -388,7 +388,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * Get log record count for a Contact
+   * Get log record count for a Contact.
    *
    * @param int $contactID
    *
@@ -411,7 +411,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * Get all descendent notes of the note with given ID
+   * Get all descendent notes of the note with given ID.
    *
    * @param int $parentId
    *   ID of the note to start from.
@@ -429,7 +429,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * Get total count of direct children visible to the current user
+   * Get total count of direct children visible to the current user.
    *
    * @param int $id
    *   Note ID.
@@ -453,7 +453,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * Recursive function to get all descendent notes of the note with given ID
+   * Recursive function to get all descendent notes of the note with given ID.
    *
    * @param int $parentId
    *   ID of the note to start from.
@@ -548,7 +548,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * Delete all note related to contact when contact is deleted
+   * Delete all note related to contact when contact is deleted.
    *
    * @param int $contactID
    *   Contact id whose notes to be deleted.
index e4feb453391ab95714221ab91c50f53068c1ccff..2b685578f03bdb8baa5d3569030913fa79f12594 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID {
 
   /**
-   * Takes an associative array and adds OpenID
+   * Takes an associative array and adds OpenID.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -73,7 +73,7 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID {
   }
 
   /**
-   * Returns whether or not this OpenID is allowed to login
+   * Returns whether or not this OpenID is allowed to login.
    *
    * @param string $identity_url
    *   The OpenID to check.
@@ -142,7 +142,7 @@ ORDER BY
   }
 
   /**
-   * Call common delete function
+   * Call common delete function.
    */
   public static function del($id) {
     return CRM_Contact_BAO_Contact::deleteObjectWithPrimary('OpenID', $id);
index 883828e743a2ed3eda83d3c2a16cffd26276466e..fa740f3320283eb6e1359758ba3d2e34a4c27665 100644 (file)
 class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -62,7 +62,7 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -77,7 +77,7 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
   }
 
   /**
-   * Add the Option Group
+   * Add the Option Group.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -109,7 +109,7 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
   }
 
   /**
-   * Delete Option Group
+   * Delete Option Group.
    *
    * @param int $optionGroupId
    *   Id of the Option Group to be deleted.
@@ -126,7 +126,7 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
   }
 
   /**
-   * Get title of the option group
+   * Get title of the option group.
    *
    * @param int $optionGroupId
    *   Id of the Option Group.
index 711d4c80e321a5bbc6cfa5cef37336e59ac19fc8..9ca4a9b101c27a44ca5e47a6ee27ab16c796c88e 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -62,7 +62,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Set default Parameters
+   * Set default Parameters.
    * This functions sets default parameters if not set:
    * - name & label are set to each other as required (it might make more sense for one
    * to be required but this would mean a change to the api level)
@@ -90,7 +90,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get next available value
+   * Get next available value.
    * We will take the highest numeric value (or 0 if no numeric values exist)
    * and add one. The calling function is responsible for any
    * more complex decision making
@@ -125,7 +125,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -145,7 +145,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -160,7 +160,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Add an Option Value
+   * Add an Option Value.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -227,7 +227,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Delete Option Value
+   * Delete Option Value.
    *
    * @param int $optionValueId
    *
@@ -245,7 +245,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Retrieve activity type label and description
+   * Retrieve activity type label and description.
    *
    * @param int $activityTypeId
    *   Activity type id.
index e39ac264c80d4bbadecff99873b16c1efd8b4a9c..dfe09e799fe7ca74bea79977f760f01d9f0536c0 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
 
   /**
-   * Static holder for the Paper Size Option Group ID
+   * Static holder for the Paper Size Option Group ID.
    */
   private static $_gid = NULL;
 
@@ -68,7 +68,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   );
 
   /**
-   * Get Option Group ID for Paper Sizes
+   * Get Option Group ID for Paper Sizes.
    *
    * @return int
    *   Group ID (null if Group ID doesn't exist)
@@ -84,7 +84,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Add ordering fields to Paper Size list
+   * Add ordering fields to Paper Size list.
    *
    * @param array (reference) $list List of Paper Sizes
    * @param string $returnURL
@@ -127,7 +127,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Retrieve the default Paper Size values
+   * Retrieve the default Paper Size values.
    *
    * @return array
    *   Name/value pairs containing the default Paper Size values.
@@ -146,7 +146,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Paper Size from the DB
+   * Get Paper Size from the DB.
    *
    * @param string $field
    *   Field name to search by.
@@ -168,7 +168,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Paper Size by Name
+   * Get Paper Size by Name.
    *
    * @param int $name
    *   Paper Size name. Empty = get default Paper Size.
@@ -181,7 +181,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Paper Size by ID
+   * Get Paper Size by ID.
    *
    * @param int $id
    *   Paper Size id. 0 = get default Paper Size.
@@ -194,7 +194,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Paper Size field from associative array
+   * Get Paper Size field from associative array.
    *
    * @param string $field
    *   Name of a Paper Size field.
@@ -225,9 +225,9 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * paper size id. It also stores all the retrieved values in the default array.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -263,7 +263,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Save the Paper Size in the DB
+   * Save the Paper Size in the DB.
    *
    * @param array (reference) $values associative array of name/value pairs
    * @param int $id
@@ -323,7 +323,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Delete a Paper Size
+   * Delete a Paper Size.
    *
    * @param int $id
    *   ID of the Paper Size to be deleted.
index 2de33a58bcbed8697f1b01bb025d29c8d5defbc8..6f1fbced8408a51ec8a4f161f3965a6ffb5f6e9b 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
 
   /**
-   * Static holder for the PDF Page Formats Option Group ID
+   * Static holder for the PDF Page Formats Option Group ID.
    */
   private static $_gid = NULL;
 
@@ -123,7 +123,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get Option Group ID for PDF Page Formats
+   * Get Option Group ID for PDF Page Formats.
    *
    * @return int
    *   Group ID (null if Group ID doesn't exist)
@@ -139,7 +139,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Add ordering fields to Page Format list
+   * Add ordering fields to Page Format list.
    *
    * @param array (reference) $list List of PDF Page Formats
    * @param string $returnURL
@@ -183,7 +183,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get the default PDF Page Format values
+   * Get the default PDF Page Format values.
    *
    * @return array
    *   Name/value pairs containing the default PDF Page Format values.
@@ -205,7 +205,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get PDF Page Format from the DB
+   * Get PDF Page Format from the DB.
    *
    * @param string $field
    *   Field name to search by.
@@ -227,7 +227,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get PDF Page Format by Name
+   * Get PDF Page Format by Name.
    *
    * @param int $name
    *   PDF Page Format name. Empty = get default PDF Page Format.
@@ -240,7 +240,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get PDF Page Format by ID
+   * Get PDF Page Format by ID.
    *
    * @param int $id
    *   PDF Page Format id. 0 = get default PDF Page Format.
@@ -253,7 +253,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Get PDF Page Format field from associative array
+   * Get PDF Page Format field from associative array.
    *
    * @param string $field
    *   Name of a PDF Page Format field.
@@ -284,9 +284,9 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * format id. It also stores all the retrieved values in the default array.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -322,7 +322,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Save the PDF Page Format in the DB
+   * Save the PDF Page Format in the DB.
    *
    * @param array (reference) $values associative array of name/value pairs
    * @param int $id
@@ -378,7 +378,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * Delete a PDF Page Format
+   * Delete a PDF Page Format.
    *
    * @param int $id
    *   ID of the PDF Page Format to be deleted.
index ae6e833d939ee94ce8b01dc52053f87d445542f4..a6b165a4f362af1ce29e92d1a1759076b0d302a5 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Core_BAO_Persistent extends CRM_Core_DAO_Persistent {
   }
 
   /**
-   * Add the Persistent Record
+   * Add the Persistent Record.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
index 14cd04f52c142e113551712f0e8d1535a3d16398..b4d6d4fbfa2e6b6563d5f0edb47ed5daea73cfbc 100644 (file)
@@ -63,7 +63,7 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
   }
 
   /**
-   * Takes an associative array and adds phone
+   * Takes an associative array and adds phone.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -263,7 +263,7 @@ ORDER BY ph.is_primary DESC, phone_id ASC ";
   }
 
   /**
-   * Call common delete function
+   * Call common delete function.
    */
   public static function del($id) {
     // Ensure mysql phone function exists
index daf9d8275b3351bdd1832b94c0b18dd0341d08d6..137748ef4da52dc3675a46962e32eb5134b43488 100644 (file)
 class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate {
 
   /**
-   * Static holder for the default LT
+   * Static holder for the default LT.
    */
   static $_defaultPreferencesDate = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -68,7 +68,7 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -84,7 +84,7 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate {
   }
 
   /**
-   * Delete preference dates
+   * Delete preference dates.
    *
    * @param int $id
    *
index 9a2b23122a6e31972911df82113623b3c7db0ea0..f29beaca51f634682433551b3d032dd2bdb807f3 100644 (file)
@@ -341,7 +341,7 @@ AND        c.created_date < date_sub( NOW( ), INTERVAL %2 day )
   }
 
   /**
-   * Save checkbox selections
+   * Save checkbox selections.
    *
    * @param $cacheKey
    * @param string $action
@@ -395,7 +395,7 @@ WHERE  cacheKey LIKE %1 AND is_selected = 1
   }
 
   /**
-   * Get the selections
+   * Get the selections.
    *
    * @param string $cacheKey
    *   Cache key.
index 95a4bdc4fdba38d9a36be2eb0aa56460f179b548..ae2ef35b836cad687deedc294217c9ae12f47766 100644 (file)
@@ -200,7 +200,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function updates the mode column in the civicrm_recurring_entity table
+   * This function updates the mode column in the civicrm_recurring_entity table.
    *
    * @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 .
@@ -222,7 +222,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function generates all new entities based on object vars
+   * This function generates all new entities based on object vars.
    *
    * @return array
    */
@@ -259,7 +259,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * Generate new DAOs and along with entries in civicrm_recurring_entity table
+   * Generate new DAOs and along with entries in civicrm_recurring_entity table.
    *
    * @return array
    */
@@ -401,7 +401,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function gets all the children for a particular parent entity
+   * This function gets all the children for a particular parent entity.
    *
    * @param int $parentId
    *   Parent entity id .
@@ -497,7 +497,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function gets the parent for the entity id passed to it
+   * This function gets the parent for the entity id passed to it.
    *
    * @param int $entityId
    *   Entity ID .
@@ -533,7 +533,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function copies the information from parent entity and creates other entities with same information
+   * This function copies the information from parent entity and creates other entities with same information.
    *
    * @param string $entityTable
    *   Entity table name .
@@ -834,7 +834,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function maps values posted from form to civicrm_action_schedule columns
+   * This function maps values posted from form to civicrm_action_schedule columns.
    *
    * @param array $formParams
    *   And array of form values posted .
@@ -937,7 +937,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * wrapper of getScheduleReminderDetailsById function
+   * wrapper of getScheduleReminderDetailsById function.
    *
    * @param int $scheduleReminderId
    *   Primary key of civicrm_action_schedule table .
@@ -1065,7 +1065,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
 
 
   /**
-   * This function gets time difference between the two datetime object
+   * This function gets time difference between the two datetime object.
    *
    * @param DateTime $startDate
    *   Start Date .
@@ -1085,7 +1085,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * This function gets all columns from civicrm_action_schedule on the basis of event id
+   * This function gets all columns from civicrm_action_schedule on the basis of event id.
    *
    * @param int $entityId
    *   Entity ID .
@@ -1115,7 +1115,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   }
 
   /**
-   * Update mode column in civicrm_recurring_entity table for event related tabs
+   * Update mode column in civicrm_recurring_entity table for event related tabs.
    *
    * @param int $entityId
    *   Event id .
index 7b064345a3092ba3c467791491c01f95210b234e..86b73d03568ae17361aeb2db2d16872d68076168 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
 
   /**
-   * Various predefined settings that have been migrated to the setting table
+   * Various predefined settings that have been migrated to the setting table.
    */
   const
     ADDRESS_STANDARDIZATION_PREFERENCES_NAME = 'Address Standardization Preferences',
@@ -115,7 +115,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * Allow key o be cleared
+   * Allow key o be cleared.
    * @param string $cacheKey
    */
   public static function flushCache($cacheKey) {
@@ -201,7 +201,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * Retrieve the value of a setting from the DB table
+   * Retrieve the value of a setting from the DB table.
    *
    * @param string $group
    *   (required) The group name of the item.
@@ -324,7 +324,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * Store an item in the setting table
+   * Store an item in the setting table.
    *
    * _setItem() is the common logic shared by setItem() and setItems().
    *
@@ -364,7 +364,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * Store an item in a setting table
+   * Store an item in a setting table.
    *
    * _setItem() is the common logic shared by setItem() and setItems().
    *
@@ -689,7 +689,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * Load the settings files defined in a series of folders
+   * Load the settings files defined in a series of folders.
    * @param array $metaDataFolders
    *   List of folder paths.
    * @return array
@@ -708,7 +708,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * Load up settings metadata from files
+   * Load up settings metadata from files.
    */
   public static function loadSettingsMetadata($metaDataFolder) {
     $settingMetaData = array();
index 730fd8d3afb9e6b0f200557667855aed06540e31..5370623883002d9a715c6f16d014583ce3309d9e 100644 (file)
 class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -181,7 +181,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * Function to retrieve tags
+   * Function to retrieve tags.
    *
    * @param string $usedFor
    *   Which type of tag entity.
@@ -314,7 +314,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * Delete the tag
+   * Delete the tag.
    *
    * @param int $id
    *   Tag id.
@@ -345,7 +345,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * Takes an associative array and creates a contact object
+   * Takes an associative array and creates a contact object.
    *
    * The function extract all the params it needs to initialize the create a
    * contact object. the params array could contain additional unused name/value
@@ -403,7 +403,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * Check if there is data to create the object
+   * Check if there is data to create the object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -421,7 +421,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * Get the tag sets for a entity object
+   * Get the tag sets for a entity object.
    *
    * @param string $entityTable
    *   Entity_table.
index af17c1be5e2a016917df0d29bdaaa79a77fea2a2..72e9b310c6a7c05bf5db02a76a2fd0d179a4e1cb 100644 (file)
 class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField {
 
   /**
-   * Batch entry fields
+   * Batch entry fields.
    */
   private static $_contriBatchEntryFields = NULL;
   private static $_memberBatchEntryFields = NULL;
 
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -75,7 +75,7 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -118,7 +118,7 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField {
   }
 
   /**
-   * Check duplicate for duplicate field in a group
+   * Check duplicate for duplicate field in a group.
    *
    * @param array $params
    *   An associative array with field and values.
@@ -191,7 +191,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Add the UF Field
+   * Add the UF Field.
    *
    * @param array $params
    *   (reference) array containing the values submitted by the form.
@@ -247,7 +247,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Automatically determine one weight and modify others
+   * Automatically determine one weight and modify others.
    *
    * @param array $params
    *   UFField record, e.g. with 'weight', 'uf_group_id', and 'field_id'.
@@ -310,7 +310,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Delete profile field given a custom field
+   * Delete profile field given a custom field.
    *
    * @param int $customFieldId
    *   ID of the custom field to be deleted.
@@ -356,7 +356,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Check the status of custom field used in uf fields
+   * Check the status of custom field used in uf fields.
    *
    * @param int $UFFieldId
    *
@@ -853,7 +853,7 @@ SELECT  id
   }
 
   /**
-   * Get a list of fields which can be added to profiles
+   * Get a list of fields which can be added to profiles.
    *
    * @param int $gid : UF group ID
    * @param array $defaults : Form defaults
@@ -1043,7 +1043,7 @@ SELECT  id
   }
 
   /**
-   * Get a list of fields which can be added to profiles
+   * Get a list of fields which can be added to profiles.
    *
    * @param bool $force
    *
@@ -1068,7 +1068,7 @@ SELECT  id
   }
 
   /**
-   * Determine whether the given field_name is valid
+   * Determine whether the given field_name is valid.
    *
    * @param string $fieldName
    * @return bool
index 87d264cf48891fbd9c2d4e15532d5c7f6716da01..0264d2f449d4d421f23a8c3f755afd651581d44c 100644 (file)
@@ -42,14 +42,14 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
     LISTINGS_VISIBILITY = 4;
 
   /**
-   * Cache the match clause used in this transaction
+   * Cache the match clause used in this transaction.
    *
    * @var string
    */
   static $_matchFields = NULL;
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -111,7 +111,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -126,7 +126,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Get all the registration fields
+   * Get all the registration fields.
    *
    * @param int $action
    *   What action are we doing.
@@ -182,7 +182,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Get all the listing fields
+   * Get all the listing fields.
    *
    * @param int $action
    *   What action are we doing.
@@ -535,7 +535,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Create a query to find all visible UFFields in a UFGroup
+   * Create a query to find all visible UFFields in a UFGroup.
    *
    * This is the SQL-variant of checkUFFieldDisplayable().
    *
@@ -583,7 +583,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Create a query to find all visible UFFields in a UFGroup
+   * Create a query to find all visible UFFields in a UFGroup.
    *
    * This is the PHP in-memory variant of createUFFieldQuery().
    *
@@ -700,7 +700,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Check the data validity
+   * Check the data validity.
    *
    * @param int $userID
    *   The user id that we are actually editing.
@@ -744,7 +744,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Get the html for the form that represents this particular group
+   * Get the html for the form that represents this particular group.
    *
    * @param int $userID
    *   The user id that we are actually editing.
@@ -902,7 +902,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Searches for a contact in the db with similar attributes
+   * Searches for a contact in the db with similar attributes.
    *
    * @param array $params
    *   The list of values to be used in the where clause.
@@ -1426,7 +1426,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Add the UF Group
+   * Add the UF Group.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -1477,7 +1477,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   }
 
   /**
-   * Make uf join entries for an uf group
+   * Make uf join entries for an uf group.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -1548,7 +1548,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Get the UF Join records for an ufgroup id
+   * Get the UF Join records for an ufgroup id.
    *
    * @param int $ufGroupId
    *   Uf group id.
@@ -1597,7 +1597,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function takes an associative array and creates a ufjoin record for ufgroup
+   * Function takes an associative array and creates a ufjoin record for ufgroup.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -1612,7 +1612,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Delete the uf join record for an uf group
+   * Delete the uf join record for an uf group.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -1626,7 +1626,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Get the weight for ufjoin record
+   * Get the weight for ufjoin record.
    *
    * @param int $ufGroupId
    *   If $ufGroupId get update weight or add weight.
@@ -1656,7 +1656,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Get the uf group for a module
+   * Get the uf group for a module.
    *
    * @param string $moduleName
    *   Module name.
@@ -1729,7 +1729,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Filter ufgroups based on logged in user contact type
+   * Filter ufgroups based on logged in user contact type.
    *
    * @param int $ufGroupId
    *   Uf group id (profile id).
@@ -1771,7 +1771,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Add profile field to a form
+   * Add profile field to a form.
    *
    * @param CRM_Core_Form $form
    * @param array $field
@@ -2311,7 +2311,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Set profile defaults
+   * Set profile defaults.
    *
    * @param int $contactId
    *   Contact id.
@@ -2852,7 +2852,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Assign uf fields to template
+   * Assign uf fields to template.
    *
    * @param int $gid
    *   Group id.
@@ -2870,7 +2870,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Format fields for dupe Contact Matching
+   * Format fields for dupe Contact Matching.
    *
    * @param array $params
    *
@@ -3162,7 +3162,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Create a "group_type" string
+   * Create a "group_type" string.
    *
    * @param array $coreTypes
    *   E.g. array('Individual','Contact','Student').
@@ -3391,7 +3391,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Retrieve groups of  profiles
+   * Retrieve groups of  profiles.
    *
    * @param int $profileID
    *   Id of the profile.
@@ -3487,7 +3487,7 @@ SELECT  group_id
   }
 
   /**
-   * Check if we are rendering mixed profiles
+   * Check if we are rendering mixed profiles.
    *
    * @param array $profileIds
    *   Associated array of profile ids.
@@ -3540,7 +3540,7 @@ SELECT  group_id
   }
 
   /**
-   * Determine of we show overlay profile or not
+   * Determine of we show overlay profile or not.
    *
    * @return bool
    *   true if profile should be shown else false
@@ -3564,7 +3564,7 @@ SELECT  group_id
   }
 
   /**
-   * Get group type values of the profile
+   * Get group type values of the profile.
    *
    * @param int $profileId
    * @param string $groupType
@@ -3640,7 +3640,7 @@ SELECT  group_id
   }
 
   /**
-   * Get profiles used for batch entry
+   * Get profiles used for batch entry.
    *
    * @return array
    *   profileIds profile ids
@@ -3685,7 +3685,7 @@ SELECT  group_id
   }
 
   /**
-   * This is function is used to format pseudo fields
+   * This is function is used to format pseudo fields.
    *
    * @param array $fields
    *   Associated array of profile fields.
index f118b578ad2ff12fcc80e91161dcbfd3aa35e9ee..42573dfda3d41d358156e8392992afdb3748f46b 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin {
 
   /**
-   * Takes an associative array and creates a uf join object
+   * Takes an associative array and creates a uf join object.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
index bda036d8efa55ee5a710a0e06ead429d0d870a91..d0fb614a30b679dd84dfb9cdc2f5b1c3df557526 100644 (file)
@@ -356,7 +356,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Update the uf_name in the user object
+   * Update the uf_name in the user object.
    *
    * @param int $contactId
    *   Id of the contact to update.
@@ -409,7 +409,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Update the email value for the contact and user profile
+   * Update the email value for the contact and user profile.
    *
    * @param int $contactId
    *   Contact ID of the user.
@@ -465,7 +465,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Delete the object records that are associated with this cms user
+   * Delete the object records that are associated with this cms user.
    *
    * @param int $ufID
    *   Id of the user to delete.
@@ -481,7 +481,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Get the contact_id given a uf_id
+   * Get the contact_id given a uf_id.
    *
    * @param int $ufID
    *   Id of UF for which related contact_id is required.
@@ -505,7 +505,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Get the uf_id given a contact_id
+   * Get the uf_id given a contact_id.
    *
    * @param int $contactID
    *   ID of the contact for which related uf_id is required.
@@ -537,7 +537,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * Get the list of contact_id
+   * Get the list of contact_id.
    *
    *
    * @return int
index bf62448f666a3d247b2ff930cc6adc0e58fc0e1f..090969c68a328f2e15e4eff8990604890c2066d7 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
 
   /**
-   * Takes an associative array and adds im
+   * Takes an associative array and adds im.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -60,7 +60,7 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
   }
 
   /**
-   * Process website
+   * Process website.
    *
    * @param array $params
    * @param int $contactID
@@ -110,7 +110,7 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
   }
 
   /**
-   * Delete website
+   * Delete website.
    *
    * @param array $ids
    *   Website ids.
@@ -152,7 +152,7 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
   }
 
   /**
-   * Get all the websites for a specified contact_id
+   * Get all the websites for a specified contact_id.
    *
    * @param int $id
    *   The contact id.
index 06c5759018c09901bf94bd66c7bc69bd30161e7c..be786d80f25809ef861ca26333b5ee77b37ddd23 100644 (file)
@@ -47,8 +47,9 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement {
   /**
    * Function that must have never worked & should be removed.
    *
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index f351cb1fa7c16fa8e468bded5086cd2f8d048904..de1a5c133cc070ee4cc123261055a194226baba0 100644 (file)
@@ -44,7 +44,7 @@ require_once 'CRM/Core/I18n.php';
 class CRM_Core_Base {
 
   /**
-   * Constructor
+   * Constructor.
    */
   public function __construct() {
   }
index 8200fc7c357cb3db2ffa5c741a2e210390d10aaa..569f0552129c9759cef64f2ea8b89bb476b469ca 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Core_Block {
 
   /**
-   * The following blocks are supported
+   * The following blocks are supported.
    *
    * @var int
    */
@@ -55,12 +55,12 @@ class CRM_Core_Block {
     FULLTEXT_SEARCH = 7;
 
   /**
-   * Template file names for the above blocks
+   * Template file names for the above blocks.
    */
   static $_properties = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
   }
@@ -230,7 +230,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * Creates the info block for drupal
+   * Creates the info block for drupal.
    *
    * @return array
    */
@@ -346,7 +346,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * Create the list of options to create New objects for the application and format is as a block
+   * Create the list of options to create New objects for the application and format is as a block.
    *
    * @return void
    */
@@ -469,7 +469,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * Create the list of dashboard links
+   * Create the list of dashboard links.
    *
    * @return void
    */
@@ -506,7 +506,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * Create the list of mail urls for the application and format is as a block
+   * Create the list of mail urls for the application and format is as a block.
    *
    * @return void
    */
@@ -539,7 +539,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * Create the list of shortcuts for the application and format is as a block
+   * Create the list of shortcuts for the application and format is as a block.
    *
    * @return void
    */
@@ -554,7 +554,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * Create the event blocks for upcoming events
+   * Create the event blocks for upcoming events.
    *
    * @return void
    */
index 79f92c5259574b069059ed591b40126b9c0c56e2..6a5ff43872434aaea74ac1767514fb7573b08681 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Core_CodeGen_Main {
   }
 
   /**
-   * Automatically generate a variety of files
+   * Automatically generate a variety of files.
    */
   public function main() {
     if (!empty($this->digestPath) && file_exists($this->digestPath) && $this->hasExpectedFiles()) {
index 65be47db886bbf9c7742a5a088513796ce5d8e14..a9063cb5fc2e90580a848ad1e08731b11efaf600 100644 (file)
@@ -639,7 +639,7 @@ class CRM_Core_CodeGen_Specification {
   }
 
   /**
-   * Sets the size property of a textfield
+   * Sets the size property of a textfield.
    * See constants defined in CRM_Utils_Type for possible values
    */
   protected function getSize($fieldXML) {
index 278454bdb135e92d1e52571dba70f8695fd28aaa..98680958b8b81babcbca3439a2eeae2bdbdba8a7 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Core_CodeGen_Util_File {
   }
 
   /**
-   * Calculate a cumulative digest based on a collection of files
+   * Calculate a cumulative digest based on a collection of files.
    *
    * @param array $files
    *   List of file names (strings).
@@ -62,7 +62,7 @@ class CRM_Core_CodeGen_Util_File {
   }
 
   /**
-   * Find the path to the main Civi source tree
+   * Find the path to the main Civi source tree.
    *
    * @return string
    * @throws RuntimeException
@@ -77,7 +77,7 @@ class CRM_Core_CodeGen_Util_File {
   }
 
   /**
-   * Find files in several directories using several filename patterns
+   * Find files in several directories using several filename patterns.
    *
    * @param array $pairs
    *   Each item is an array(0 => $searchBaseDir, 1 => $filePattern).
index 0059dc4e6ca15523bb324e6336d21434c547a9e9..68fec01b968985ec34acce6d644a10b776e15c2f 100644 (file)
@@ -91,7 +91,7 @@ abstract class CRM_Core_Component_Info {
   public $info;
 
   /**
-   * Stores component keyword
+   * Stores component keyword.
    * @var string name of component keyword
    */
   protected $keyword;
@@ -133,7 +133,7 @@ abstract class CRM_Core_Component_Info {
   abstract public function getInfo();
 
   /**
-   * Get a list of entities to register via API
+   * Get a list of entities to register via API.
    *
    * @return array
    *   list of entities; same format as CRM_Utils_Hook::managedEntities(&$entities)
@@ -144,7 +144,7 @@ abstract class CRM_Core_Component_Info {
   }
 
   /**
-   * Provides permissions that are unwise for Anonymous Roles to have
+   * Provides permissions that are unwise for Anonymous Roles to have.
    *
    * @return array
    *   list of permissions
@@ -170,7 +170,7 @@ abstract class CRM_Core_Component_Info {
   abstract public function getPermissions($getAllUnconditionally = FALSE);
 
   /**
-   * Determine how many other records refer to a given record
+   * Determine how many other records refer to a given record.
    *
    * @param CRM_Core_DAO $dao
    *   The item for which we want a reference count.
@@ -330,7 +330,7 @@ abstract class CRM_Core_Component_Info {
   }
 
   /**
-   * Provides the xml menu files
+   * Provides the xml menu files.
    *
    * @return array
    *   array of menu files
index c593c4f8cdb2273c051ac6cddbd525ab5556432b..a5123237ddf9e2b5e51e7f9e6a70354aa4d0545b 100644 (file)
@@ -75,7 +75,7 @@ class CRM_Core_Config_Defaults {
   }
 
   /**
-   * Format size
+   * Format size.
    *
    */
   public static function formatUnitSize($size, $checkForPostMax = FALSE) {
@@ -109,7 +109,7 @@ class CRM_Core_Config_Defaults {
   }
 
   /**
-   * Set the default values
+   * Set the default values.
    * in an empty db, also called when setting component using GUI
    *
    * @param array $defaults
index 9e50bf0c69a343e2674c021070b5c1ee861be55f..8ea70b053eae360f1f6352733083b60902716147 100644 (file)
 class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
 
   /**
-   * The debug level for civicrm
+   * The debug level for civicrm.
    * @var int
    */
   public $debug = 0;
   public $backtrace = 0;
 
   /**
-   * The directory where Smarty and plugins are installed
+   * The directory where Smarty and plugins are installed.
    * @var string
    */
   public $smartyDir = NULL;
   public $pluginsDir = NULL;
 
   /**
-   * The root directory of our template tree
+   * The root directory of our template tree.
    * @var string
    */
   public $templateDir = NULL;
@@ -474,7 +474,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   public $wpBasePage = NULL;
 
   /**
-   * Provide addressSequence
+   * Provide addressSequence.
    *
    * @param
    *
@@ -489,7 +489,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   }
 
   /**
-   * Provide cached default currency symbol
+   * Provide cached default currency symbol.
    *
    * @param
    *
@@ -514,7 +514,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   }
 
   /**
-   * Provide cached default currency symbol
+   * Provide cached default currency symbol.
    *
    * @param
    *
@@ -535,7 +535,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   }
 
   /**
-   * Provide cached default country name
+   * Provide cached default country name.
    *
    * @param
    *
@@ -551,7 +551,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   }
 
   /**
-   * Provide cached country limit translated to names
+   * Provide cached country limit translated to names.
    *
    * @param
    *
@@ -581,7 +581,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   }
 
   /**
-   * Provide cached province limit translated to names
+   * Provide cached province limit translated to names.
    *
    * @param
    *
index 54f85cc25fe33d859eafdc00eb2d58455da2aa75..d4edfff9b30ac3979129907a564c442ca4f8294d 100644 (file)
@@ -70,7 +70,7 @@ class CRM_Core_DAO extends DB_DataObject {
    */
   static $_testEntitiesToSkip = array();
   /**
-   * The factory class for this application
+   * The factory class for this application.
    * @var object
    */
   static $_factory = NULL;
@@ -78,7 +78,7 @@ class CRM_Core_DAO extends DB_DataObject {
   static $_checkedSqlFunctionsExist = FALSE;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Core_DAO
    */
@@ -88,14 +88,14 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * Empty definition for virtual function
+   * Empty definition for virtual function.
    */
   public static function getTableName() {
     return NULL;
   }
 
   /**
-   * Initialize the DAO object
+   * Initialize the DAO object.
    *
    * @param string $dsn
    *   The database connection string.
@@ -393,7 +393,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * Returns list of FK relationships
+   * Returns list of FK relationships.
    *
    *
    * @return array
@@ -404,7 +404,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * Returns all the column names of this table
+   * Returns all the column names of this table.
    *
    *
    * @return array
@@ -460,7 +460,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * Deletes items from table which match current objects variables
+   * Deletes items from table which match current objects variables.
    *
    * Returns the true on success
    *
@@ -682,7 +682,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * Check if there is a record with the same name in the db
+   * Check if there is a record with the same name in the db.
    *
    * @param string $value
    *   The value of the field we are checking.
@@ -712,7 +712,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * Check if there is a given column in a specific table
+   * Check if there is a given column in a specific table.
    *
    * @param string $tableName
    * @param string $columnName
@@ -890,7 +890,7 @@ LIKE %1
   }
 
   /**
-   * Check whether a specific column in a specific table has always the same value
+   * Check whether a specific column in a specific table has always the same value.
    *
    * @param string $tableName
    * @param string $columnName
@@ -908,7 +908,7 @@ LIKE %1
   }
 
   /**
-   * Check whether a specific column in a specific table is always NULL
+   * Check whether a specific column in a specific table is always NULL.
    *
    * @param string $tableName
    * @param string $columnName
@@ -925,7 +925,7 @@ LIKE %1
   }
 
   /**
-   * Check if there is a given table in the database
+   * Check if there is a given table in the database.
    *
    * @param string $tableName
    *
@@ -1061,7 +1061,7 @@ FROM   civicrm_domain
   }
 
   /**
-   * Get sort string
+   * Get sort string.
    *
    * @param array|object $sort either array or CRM_Utils_Sort
    * @param string $default
@@ -1087,7 +1087,7 @@ FROM   civicrm_domain
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param string $daoName
    *   Name of the dao object.
@@ -1119,7 +1119,7 @@ FROM   civicrm_domain
   }
 
   /**
-   * Delete the object records that are associated with this contact
+   * Delete the object records that are associated with this contact.
    *
    * @param string $daoName
    *   Name of the dao object.
@@ -1137,7 +1137,7 @@ FROM   civicrm_domain
   }
 
   /**
-   * Execute a query
+   * Execute a query.
    *
    * @param string $query
    *   Query to be executed.
@@ -1193,7 +1193,7 @@ FROM   civicrm_domain
   }
 
   /**
-   * Execute a query and get the single result
+   * Execute a query and get the single result.
    *
    * @param string $query
    *   Query to be executed.
@@ -1484,7 +1484,7 @@ SELECT contact_id
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param string $daoName
    *   Name of the dao object.
@@ -1699,7 +1699,7 @@ SELECT contact_id
   }
 
   /**
-   * Deletes the this object plus any dependent objects that are associated with it
+   * Deletes the this object plus any dependent objects that are associated with it.
    * ONLY USE FOR TESTING
    *
    * @param string $daoName
@@ -1745,7 +1745,7 @@ SELECT contact_id
   }
 
   /**
-   * Set defaults when creating new entity
+   * Set defaults when creating new entity.
    * (don't call this set defaults as already in use with different signature in some places)
    *
    * @param array $params
@@ -1893,7 +1893,7 @@ SELECT contact_id
   }
 
   /**
-   * Wrapper function to drop triggers
+   * Wrapper function to drop triggers.
    *
    * @param string $tableName
    *   the specific table requiring a rebuild; or NULL to rebuild all tables.
index 1ecbbede88734d9c028a39123c08580e2f606b53..f3e16c33c251afdf3dfcf26435cb1c4c9cedc8e2 100644 (file)
@@ -215,7 +215,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Register all the standard rules that most forms potentially use
+   * Register all the standard rules that most forms potentially use.
    *
    * @return void
    */
@@ -407,7 +407,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Performs the server side validation
+   * Performs the server side validation.
    * @since     1.0
    * @return bool
    *   true if no error found
@@ -575,7 +575,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Getter function for Name
+   * Getter function for Name.
    *
    * @return string
    */
@@ -584,7 +584,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Getter function for State
+   * Getter function for State.
    *
    * @return object
    */
@@ -593,7 +593,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Getter function for StateType
+   * Getter function for StateType.
    *
    * @return int
    */
@@ -623,7 +623,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Setter function for options
+   * Setter function for options.
    *
    * @param mixed $options
    *
@@ -646,7 +646,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Boolean function to determine if this is a one form page
+   * Boolean function to determine if this is a one form page.
    *
    * @return bool
    */
@@ -655,7 +655,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Getter function for Form Action
+   * Getter function for Form Action.
    *
    * @return string
    */
@@ -664,7 +664,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Setter function for Form Action
+   * Setter function for Form Action.
    *
    * @param string $action
    *
@@ -675,7 +675,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Render form and return contents
+   * Render form and return contents.
    *
    * @return string
    */
@@ -704,7 +704,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -747,7 +747,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Error reporting mechanism
+   * Error reporting mechanism.
    *
    * @param string $message
    *   Error Message.
@@ -769,7 +769,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Store the variable with the value in the form scope
+   * Store the variable with the value in the form scope.
    *
    * @param string $name
    *   Name of the variable.
@@ -783,7 +783,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Get the variable from the form scope
+   * Get the variable from the form scope.
    *
    * @param string $name
    *   Name of the variable
@@ -795,7 +795,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Getter for action
+   * Getter for action.
    *
    * @return int
    */
@@ -804,7 +804,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Setter for action
+   * Setter for action.
    *
    * @param int $action
    *   The mode we want to set the form.
@@ -816,7 +816,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Assign value to name in template
+   * Assign value to name in template.
    *
    * @param string $var
    *   Name of variable.
@@ -830,7 +830,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Assign value to name in template by reference
+   * Assign value to name in template by reference.
    *
    * @param string $var
    *   Name of variable.
@@ -844,7 +844,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Appends values to template variables
+   * Appends values to template variables.
    *
    * @param array|string $tpl_var the template variable name(s)
    * @param mixed $value
@@ -856,7 +856,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Returns an array containing template variables
+   * Returns an array containing template variables.
    *
    * @param string $name
    *
@@ -1032,7 +1032,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Adds a select based on field metadata
+   * Adds a select based on field metadata.
    * TODO: This could be even more generic and widget type (select in this case) could also be read from metadata
    * Perhaps a method like $form->bind($name) which would look up all metadata for named field
    * @param $name
@@ -1285,7 +1285,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Add date
+   * Add date.
    *
    * @code
    * // if you need time
@@ -1383,7 +1383,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   *  Function that will add date and time
+   *  Function that will add date and time.
    */
   public function addDateTime($name, $label, $required = FALSE, $attributes = NULL) {
     $addTime = array('addTime' => TRUE);
@@ -1398,7 +1398,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Add a currency and money element to the form
+   * Add a currency and money element to the form.
    */
   public function addMoney(
     $name,
@@ -1421,7 +1421,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Add currency element to the form
+   * Add currency element to the form.
    */
   public function addCurrency(
     $name = 'currency',
@@ -1448,7 +1448,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Create a single or multiple entity ref field
+   * Create a single or multiple entity ref field.
    * @param string $name
    * @param string $label
    * @param array $props
@@ -1552,14 +1552,14 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Function that can be defined in Form to override or
+   * Function that can be defined in Form to override or.
    * perform specific action on cancel action
    */
   public function cancelAction() {
   }
 
   /**
-   * Helper function to verify that required fields have been filled
+   * Helper function to verify that required fields have been filled.
    * Typically called within the scope of a FormRule function
    */
   public static function validateMandatoryFields($fields, $values, &$errors) {
@@ -1625,7 +1625,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Get the contact id of the logged in user
+   * Get the contact id of the logged in user.
    */
   public function getLoggedInUserContactID() {
     // check if the user is logged in and has a contact ID
@@ -1741,7 +1741,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Sets form attribute
+   * Sets form attribute.
    * @see CRM.loadForm
    */
   public function preventAjaxSubmit() {
@@ -1749,7 +1749,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Sets form attribute
+   * Sets form attribute.
    * @see CRM.loadForm
    */
   public function allowAjaxSubmit() {
@@ -1757,7 +1757,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * Sets page title based on entity and action
+   * Sets page title based on entity and action.
    * @param string $entityLabel
    */
   public function setPageTitle($entityLabel) {
index 726ced533bed50eea4a6187d5d7fc0b1ab815e69..c1cb9d3a63b0e820d6954f0e4d3b162e76d45f2f 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_Form_Date {
 
   /**
-   * Various Date Formats
+   * Various Date Formats.
    */
   const DATE_yyyy_mm_dd = 1, DATE_mm_dd_yy = 2, DATE_mm_dd_yyyy = 4, DATE_Month_dd_yyyy = 8, DATE_dd_mon_yy = 16, DATE_dd_mm_yyyy = 32;
 
@@ -108,7 +108,7 @@ class CRM_Core_Form_Date {
   }
 
   /**
-   * build the date range array that will provide the form option values
+   * build the date range array that will provide the form option values.
    * It can be - relative or absolute
    *
    * @param CRM_Core_Form $form
index c202188193ec1bcdee0e4a240d4fe6a7f8c49220..b1985571403b5e566bf4c247198965d6d430823e 100644 (file)
@@ -241,7 +241,7 @@ class CRM_Core_Form_RecurringEntity {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -326,7 +326,7 @@ class CRM_Core_Form_RecurringEntity {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index d10e2a1e74272a237a207d7c9ceb49dd36cf5166..16d73e947d14a67108cf13ac90a0f86702658968 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty {
   static private $_singleton = NULL;
 
   /**
-   * The converter from array size to css class
+   * The converter from array size to css class.
    *
    * @var array
    */
@@ -65,7 +65,7 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty {
   );
 
   /**
-   * Constructor
+   * Constructor.
    */
   public function __construct() {
     $template = CRM_Core_Smarty::singleton();
@@ -85,7 +85,7 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty {
   }
 
   /**
-   * Creates an array representing an element containing
+   * Creates an array representing an element containing.
    * the key for storing this. We allow the parent to do most of the
    * work, but then we add some CiviCRM specific enhancements to
    * make the html compliant with our css etc
@@ -200,7 +200,7 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty {
   }
 
   /**
-   * Convert IDs to values and format for display
+   * Convert IDs to values and format for display.
    *
    * @param HTML_QuickForm_element $field
    */
index 4ddd9d9ab14d9b415ea66476bc5fa330974e8894..467f872453eb322d7865b4657e592ca83510f81e 100644 (file)
@@ -122,7 +122,7 @@ class CRM_Core_Form_Tag {
   }
 
   /**
-   * Save entity tags when it is not save used AJAX
+   * Save entity tags when it is not save used AJAX.
    *
    * @param array $params
    * @param int $entityId
index d13b06fae6b2f9a46766aca522794e777a83db6e..231d30a5cfe80d1edd58364e5a983eadf92e9672 100644 (file)
@@ -435,7 +435,7 @@ class CRM_Core_I18n_Schema {
   }
 
   /**
-   * CREATE INDEX queries for a given locale and table
+   * CREATE INDEX queries for a given locale and table.
    *
    * @param string $locale
    *   locale for which the queries should be created (null to create original indices).
@@ -478,7 +478,7 @@ class CRM_Core_I18n_Schema {
   }
 
   /**
-   * CREATE VIEW query for a given locale and table
+   * CREATE VIEW query for a given locale and table.
    *
    * @param string $locale
    *   locale of the view.
index a66d6843f3cd0f6717f259274b95b40dc834b534..7153125ded3fc60efe9798e820cffd24ba16f616 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_IDS {
 
   /**
-   * Define the threshold for the ids reactions
+   * Define the threshold for the ids reactions.
    */
   private $threshold = array(
     'log' => 25,
@@ -95,7 +95,7 @@ class CRM_Core_IDS {
   }
 
   /**
-   * Create the default config file for the IDS system
+   * Create the default config file for the IDS system.
    *
    * @param bool $force
    *   Should we recreate it irrespective if it exists or not.
index 5978833ca7bf9f67df5eb0bfbd972319f76c57d0..88b60d02d25a922edc5ba62133a88fd1b56a74d9 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Core_Key {
   static $_sessionID = NULL;
 
   /**
-   * Generate a private key per session and store in session
+   * Generate a private key per session and store in session.
    *
    * @return string
    *   private key for this session
@@ -95,7 +95,7 @@ class CRM_Core_Key {
   }
 
   /**
-   * Validate a form key based on the form name
+   * Validate a form key based on the form name.
    *
    * @param string $key
    * @param string $name
index 8338850db70ab1e638f1399d4542423c0bb7ad73..eb0c1e85a7415c09f4a74ff17b6199401def38b2 100644 (file)
@@ -42,14 +42,14 @@ require_once 'CRM/Core/I18n.php';
 class CRM_Core_Menu {
 
   /**
-   * The list of menu items
+   * The list of menu items.
    *
    * @var array
    */
   static $_items = NULL;
 
   /**
-   * The list of permissioned menu items
+   * The list of permissioned menu items.
    *
    * @var array
    */
@@ -67,7 +67,7 @@ class CRM_Core_Menu {
   const MENU_ITEM = 1;
 
   /**
-   * This function fetches the menu items from xml and xmlMenu hooks
+   * This function fetches the menu items from xml and xmlMenu hooks.
    *
    * @param boolen $fetchFromXML
    *   Fetch the menu items from xml and not from cache.
@@ -159,7 +159,7 @@ class CRM_Core_Menu {
   }
 
   /**
-   * This function defines information for various menu items
+   * This function defines information for various menu items.
    *
    * @param boolen $fetchFromXML
    *   Fetch the menu items from xml and not from cache.
@@ -235,7 +235,7 @@ class CRM_Core_Menu {
   }
 
   /**
-   * We use this function to
+   * We use this function to.
    *
    * 1. Compute the breadcrumb
    * 2. Compute local tasks value if any
@@ -259,7 +259,7 @@ class CRM_Core_Menu {
   }
 
   /**
-   * This function recomputes menu from xml and populates civicrm_menu
+   * This function recomputes menu from xml and populates civicrm_menu.
    * @param bool $truncate
    */
   public static function store($truncate = TRUE) {
index ca23899ccc5bd3576abfa1648da9409494232180..9a25dfe25b9a4712e47d1ded2238b634b0270123 100644 (file)
@@ -198,7 +198,7 @@ WHERE  v.option_group_id = g.id
   }
 
   /**
-   * This function retrieves all the values for the specific option group by id
+   * This function retrieves all the values for the specific option group by id.
    * this is primarily used to create various html based form elements
    * (radio, select, checkbox etc). OptionGroups for most cases have the
    * 'label' in the label colum and the 'id' or 'name' in the value column
index fd87df73c3d145c4a54753b2a274b91050a9b90c..60bcc3e07c038020c1df9d0f525f330de314695a 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Core_Page {
   protected $_name;
 
   /**
-   * The title associated with this page
+   * The title associated with this page.
    *
    * @var object
    */
@@ -116,7 +116,7 @@ class CRM_Core_Page {
   public $useLivePageJS;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param string $title
    *   Title of the page.
@@ -245,7 +245,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Store the variable with the value in the form scope
+   * Store the variable with the value in the form scope.
    *
    * @param string|array $name name of the variable or an assoc array of name/value pairs
    * @param mixed $value
@@ -259,7 +259,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Get the variable from the form scope
+   * Get the variable from the form scope.
    *
    * @param string $name name of the variable
    *
@@ -270,7 +270,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Assign value to name in template
+   * Assign value to name in template.
    *
    * @param string $var
    * @param mixed $value
@@ -283,7 +283,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Assign value to name in template by reference
+   * Assign value to name in template by reference.
    *
    * @param string $var
    * @param mixed $value
@@ -296,7 +296,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Appends values to template variables
+   * Appends values to template variables.
    *
    * @param array|string $tpl_var the template variable name(s)
    * @param mixed $value
@@ -308,7 +308,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Returns an array containing template variables
+   * Returns an array containing template variables.
    *
    * @param string $name
    *
@@ -329,7 +329,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -364,7 +364,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Setter for embedded
+   * Setter for embedded.
    *
    * @param bool $embedded
    *
@@ -375,7 +375,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Getter for embedded
+   * Getter for embedded.
    *
    * @return bool
    *   return the embedded value
@@ -385,7 +385,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Setter for print
+   * Setter for print.
    *
    * @param bool $print
    *
@@ -396,7 +396,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * Getter for print
+   * Getter for print.
    *
    * @return bool
    *   return the print value
index ecdd67047b550419f1ccca2536ab0f6ec7f67389..21adef2cefd486c6d9b94c2a2ae1196b9744d8f6 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Page_AJAX {
 
   /**
-   * Call generic ajax forms
+   * Call generic ajax forms.
    *
    */
   public static function run() {
@@ -89,7 +89,7 @@ class CRM_Core_Page_AJAX {
   }
 
   /**
-   * Change is_quick_config priceSet to complex
+   * Change is_quick_config priceSet to complex.
    *
    */
   public static function setIsQuickConfig() {
@@ -199,7 +199,7 @@ class CRM_Core_Page_AJAX {
   }
 
   /**
-   * Set headers appropriate for a js file
+   * Set headers appropriate for a js file.
    *
    * @param int|NULL $ttl
    *   Time-to-live (seconds).
index a9a633a56b03357e78050890f5124a765d6119d7..a0be675c4e4a5c9b0ca67fda45eab023abdc5249 100644 (file)
@@ -37,18 +37,18 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   protected $_action;
 
   /**
-   * Define all the abstract functions here
+   * Define all the abstract functions here.
    */
 
   /**
-   * Name of the BAO to perform various DB manipulations
+   * Name of the BAO to perform various DB manipulations.
    *
    * @return string
    */
   abstract protected function getBAOName();
 
   /**
-   * An array of action links
+   * An array of action links.
    *
    * @return array
    *   (reference)
@@ -56,21 +56,21 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract protected function &links();
 
   /**
-   * Name of the edit form class
+   * Name of the edit form class.
    *
    * @return string
    */
   abstract protected function editForm();
 
   /**
-   * Name of the form
+   * Name of the form.
    *
    * @return string
    */
   abstract protected function editName();
 
   /**
-   * UserContext to pop back to
+   * UserContext to pop back to.
    *
    * @param int $mode
    *   Mode that we are in.
@@ -80,7 +80,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract protected function userContext($mode = NULL);
 
   /**
-   * Get userContext params
+   * Get userContext params.
    *
    * @param int $mode
    *   Mode that we are in.
@@ -92,7 +92,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   }
 
   /**
-   * Allow objects to be added based on permission
+   * Allow objects to be added based on permission.
    *
    * @param int $id
    *   The id of the object.
@@ -119,7 +119,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   }
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param string $title
    *   Title of the page.
index f58aae5444251619c13fc3a80dbd89c343743152..a3e541aa96a2961bdf28823af1b9f6226e74b0d7 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Core_Page_QUnit extends CRM_Core_Page {
   }
 
   /**
-   * Extrac the extension and suite from the request path
+   * Extrac the extension and suite from the request path.
    *
    * @return array
    */
index da4d90f51cc83d0c0db1709ae2523ed8b1a5ec66..cc9cf7cd5c87984abc9d620f182ba5bf8e22e0b3 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -74,7 +74,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Submit a payment using Advanced Integration Method
+   * Submit a payment using Advanced Integration Method.
    *
    * @param array $params
    *   Assoc array of input parameters for this transaction.
@@ -191,7 +191,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Submit an Automated Recurring Billing subscription
+   * Submit an Automated Recurring Billing subscription.
    */
   public function doRecurPayment() {
     $template = CRM_Core_Smarty::singleton();
@@ -374,7 +374,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Checks to see if invoice_id already exists in db
+   * Checks to see if invoice_id already exists in db.
    *
    * @param int $invoiceId
    *   The ID to check.
@@ -455,7 +455,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Calculate and return the transaction fingerprint
+   * Calculate and return the transaction fingerprint.
    *
    * @return string
    *   fingerprint
@@ -507,7 +507,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Extract variables from returned XML
+   * Extract variables from returned XML.
    *
    * Function is from Authorize.Net sample code, and used
    * to prevent the requirement of XML functions.
@@ -534,7 +534,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Helper function for _parseArbReturn
+   * Helper function for _parseArbReturn.
    *
    * Function is from Authorize.Net sample code, and used to avoid using
    * PHP5 XML functions
@@ -551,7 +551,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * Get the value of a field if set
+   * Get the value of a field if set.
    *
    * @param string $field
    *   The field.
@@ -606,7 +606,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
index 011fb7f408cffa921404b89a9726214b4b532675..a5ceec4aff19b306d536ce683a4e181bd7fcb37b 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN {
 
   /**
-   * Constructor function
+   * Constructor function.
    *
    * @param array $inputData
    *   contents of HTTP REQUEST.
index f461bf693b3f130c2a03486eb61c80b4a45f999e..dfb319a34e9e46577864ab191c982c806dd0ce39 100644 (file)
@@ -48,14 +48,14 @@ class CRM_Core_Payment_BaseIPN {
   protected $_isFirstOrLastRecurringPayment = FALSE;
 
   /**
-   * Constructor
+   * Constructor.
    */
   public function __construct() {
     self::$_now = date('YmdHis');
   }
 
   /**
-   * Store input array on the class
+   * Store input array on the class.
    *
    * @param array $parameters
    *
@@ -124,7 +124,7 @@ class CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Load objects related to contribution
+   * Load objects related to contribution.
    *
    * @input array information from Payment processor
    *
@@ -181,7 +181,7 @@ class CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Set contribution to failed
+   * Set contribution to failed.
    * @param array $objects
    * @param object $transaction
    * @param array $input
@@ -262,7 +262,7 @@ class CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Handled pending contribution status
+   * Handled pending contribution status.
    * @param array $objects
    * @param object $transaction
    * @return bool
@@ -764,7 +764,7 @@ LIMIT 1;";
   }
 
   /**
-   * Send start or end notification for recurring payments
+   * Send start or end notification for recurring payments.
    * @param $ids
    * @param $recur
    */
@@ -904,7 +904,7 @@ LIMIT 1;";
   }
 
   /**
-   * Update pledge associated with a recurring contribution
+   * Update pledge associated with a recurring contribution.
    *
    * If the contribution has a pledge_payment record pledge, then update the pledge_payment record & pledge based on that linkage.
    *
@@ -1017,7 +1017,7 @@ LIMIT 1;";
   }
 
   /**
-   * copy custom data of the initial contribution into its recurring contributions
+   * copy custom data of the initial contribution into its recurring contributions.
    * @param int $recurId
    * @param int $targetContributionId
    */
@@ -1061,7 +1061,7 @@ LIMIT 1;";
   }
 
   /**
-   * copy soft credit record of first recurring contribution
+   * copy soft credit record of first recurring contribution.
    * and add new soft credit against $targetContributionId
    *
    * @param int $recurId
index 8bcf9809f911fd6c572c1a422ac6ee2e5cf1ac85..2ac03d16c064886359f447801a50547ef84b794b 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -66,7 +66,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
   }
 
   /**
-   * Submit a payment using Advanced Integration Method
+   * Submit a payment using Advanced Integration Method.
    *
    * @param array $params
    *   Assoc array of input parameters for this transaction.
@@ -148,7 +148,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
index 493bfec62c5b5a60049b4f4475695e9464fdf0ae..a45c07c0bd3a6ac41b18d1d6e5d9be0bd742fa70 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -260,7 +260,7 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
   }
 
   /**
-   * Checks to see if invoice_id already exists in db
+   * Checks to see if invoice_id already exists in db.
    *
    * @param int $invoiceId
    *   The ID to check.
@@ -275,7 +275,7 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
   }
 
   /**
-   * Produces error message and returns from class
+   * Produces error message and returns from class.
    * @param string $errorCode
    * @param string $errorMessage
    * @return CRM_Core_Error
@@ -299,7 +299,7 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
   }
 
   /**
-   * This public function checks to see if we have the right processor config values set
+   * This public function checks to see if we have the right processor config values set.
    *
    * NOTE: Called by Events and Contribute to check config params are set prior to trying
    *  register any credit card details
index 7ca813f6c47fc9e3044e638ac3e4dd788322fd9d..792d23db156ff5f05095a66c9eff6933f8366e02 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -301,7 +301,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
   // end function doDirectPayment
 
   /**
-   * Checks to see if invoice_id already exists in db
+   * Checks to see if invoice_id already exists in db.
    *
    * @param int $invoiceId
    *   The ID to check.
@@ -316,7 +316,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
   }
 
   /**
-   * Produces error message and returns from class
+   * Produces error message and returns from class.
    */
   public function &errorExit($errorCode = NULL, $errorMessage = NULL) {
     $e = CRM_Core_Error::singleton();
@@ -338,7 +338,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
   }
 
   /**
-   * This public function checks to see if we have the right processor config values set
+   * This public function checks to see if we have the right processor config values set.
    *
    * NOTE: Called by Events and Contribute to check config params are set prior to trying
    *       register any credit card details
index 78d5413742972070d3780047ae6f33a235c4deea..2025aac13431bda0c03b96fc231f156f4c638dfd 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * Add general billing fields
+   * Add general billing fields.
    * @todo set these like processor fields & let payment processors alter them
    *
    * @param CRM_Core_Form $form
@@ -335,7 +335,7 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * Make sure that credit card number and cvv are valid
+   * Make sure that credit card number and cvv are valid.
    * Called within the scope of a QF formRule function
    */
   public static function validateCreditCard($values, &$errors) {
@@ -357,7 +357,7 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * Map address fields
+   * Map address fields.
    *
    * @param int $id
    * @param $src
@@ -398,7 +398,7 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * Get the credit card expiration month
+   * Get the credit card expiration month.
    * The date format for this field should typically be "M Y" (ex: Feb 2011) or "m Y" (02 2011)
    * See CRM-9017
    *
@@ -415,7 +415,7 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * Get the credit card expiration year
+   * Get the credit card expiration year.
    * The date format for this field should typically be "M Y" (ex: Feb 2011) or "m Y" (02 2011)
    * This function exists only to make it consistent with getCreditCardExpirationMonth
    *
index 61d3e3863a4e5677aacef15e41a309ce4bdf9de9..ab28749b431ab8660a777c1f0bd6927af07f46f3 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -75,7 +75,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
@@ -117,7 +117,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   }
 
   /**
-   * Sets appropriate parameters for checking out to google
+   * Sets appropriate parameters for checking out to google.
    *
    * @param array $params
    *   Name value pair of contribution datat.
@@ -190,7 +190,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   }
 
   /**
-   * Builds appropriate parameters for checking out to google and submits the post params
+   * Builds appropriate parameters for checking out to google and submits the post params.
    *
    * @param array $params
    *   Name value pair of contribution data.
index 61ae8c1671a23ebabf10a04cb5b3990cba1ce5f3..05805c6791269d2b9212b0aff29d33d597bfe27b 100644 (file)
@@ -83,7 +83,7 @@ class CRM_Core_Payment_GoogleIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
index f71d842c14a67a0debd142be157145a59e9a7a79..3236fa5d03aa2b019d0acbbf50854545fd86ad7d 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Core_Payment_IATS extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -320,7 +320,7 @@ class CRM_Core_Payment_IATS extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @internal param string $mode the mode we are operating in (live or test)
    *
index 91913752a63d32063787cc54695629d80518a6ed..4fad580ea4b70229a488d71e4b27af50e4e56347 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Core_Payment_Moneris extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -310,7 +310,7 @@ class CRM_Core_Payment_Moneris extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
index 8771a1d8f6a8b22dcf9aab82a79bc25f780beaa5..179217d256e8cca913e948104520beae69db4a55 100644 (file)
@@ -28,7 +28,7 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -173,7 +173,7 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
 
 
   /**
-   * This function checks the PayJunction response code
+   * This function checks the PayJunction response code.
    *
    * @return bool
    */
@@ -200,7 +200,7 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
   }
 
   /**
-   * Get the value of a field if set
+   * Get the value of a field if set.
    *
    * @param string $field
    *   The field.
@@ -257,7 +257,7 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
index ba1262ea8e3d88dafe0405dd59675cb9675c671b..89af471e187e75eecdab8852da3ae78a777d87e8 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN {
   static $_paymentProcessor = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    */
   public function __construct() {
     parent::__construct();
index 4a3be6df748f5a97f7715518d80d2a55f8a99ab1..efe8fdfe4d531a6de9ddcb9f25c29a52512bb99e 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -372,7 +372,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
index e4f05d177376a2481840ed5aa9611c3485e1c3c0..4804eba8d640fefd1406c4fa528712f174d598b8 100644 (file)
@@ -44,13 +44,13 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
   protected $_inputParameters = array();
 
   /**
-   * Store for the variables from the invoice string
+   * Store for the variables from the invoice string.
    * @var array
    */
   protected $_invoiceData = array();
 
   /**
-   * Is this a payment express transaction
+   * Is this a payment express transaction.
    */
   protected $_isPaymentExpress = FALSE;
 
@@ -61,7 +61,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
   protected $_component = 'contribute';
 
   /**
-   * Constructor function
+   * Constructor function.
    *
    * @param array $inputData
    *   Contents of HTTP REQUEST.
@@ -75,7 +75,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * get the values from the rp_invoice_id string
+   * get the values from the rp_invoice_id string.
    *
    * @param string $name
    *   E.g. i, values are stored in the string with letter codes.
@@ -158,7 +158,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Process recurring contributions
+   * Process recurring contributions.
    * @param array $input
    * @param array $ids
    * @param array $objects
@@ -513,7 +513,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr
   }
 
   /**
-   * Handle payment express IPNs
+   * Handle payment express IPNs.
    * For one off IPNS no actual response is required
    * Recurring is more difficult as we have limited confirmation material
    * lets look up invoice id in recur_contribution & rely on the unique transaction id to ensure no
@@ -578,7 +578,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr
   }
 
   /**
-   * Function check if transaction already exists
+   * Function check if transaction already exists.
    * @param string $trxn_id
    * @return bool|void
    */
index 245caacce6c90dc5d153eadb645e2cc8cd596e77..c50c11d44a4fb2ea436fbfbb124fe93ae709700b 100644 (file)
@@ -346,7 +346,7 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment {
   }
 
   /**
-   * Checks to see if invoice_id already exists in db
+   * Checks to see if invoice_id already exists in db.
    *
    * @param int $invoiceId
    *   The ID to check.
index 0aba51b29e4777db47bb73386d5aea5a4ec622b0..b87834024ab645acbde16ca909020cdde1e444e6 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -67,7 +67,7 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @internal param string $mode the mode we are operating in (live or test)
    *
@@ -134,7 +134,7 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
   }
 
   /**
-   * Main transaction function
+   * Main transaction function.
    *
    * @param array $params
    *   Name value pair of contribution data.
index 3b87f7997081e3e1ac3b7c50db762dc0dfe51364..e45494fc889d2ff63921db74bd467714d1d557f3 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
index f19f5571981a30b235ae9ba173ee535ec78d178a..b137295c97f6619517bfc9dbb0f686f475e3268e 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -113,7 +113,7 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   }
 
   /**
-   * Submit a payment using Advanced Integration Method
+   * Submit a payment using Advanced Integration Method.
    *
    * @param array $params
    *   Assoc array of input parameters for this transaction.
@@ -428,7 +428,7 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   }
 
   /**
-   * Checks to see if invoice_id already exists in db
+   * Checks to see if invoice_id already exists in db.
    *
    * @param int $invoiceId
    *   The ID to check.
@@ -443,7 +443,7 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   }
 
   /**
-   * Get the value of a field if set
+   * Get the value of a field if set.
    *
    * @param string $field
    *   The field.
@@ -514,7 +514,7 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   }
 
   /**
-   * This function checks to see if we have the right config values
+   * This function checks to see if we have the right config values.
    *
    * @return string
    *   the error message if any
index 9bb50281ebab40600758c80b9a49028a1eb5e2e9..f6504d7e2dab5973b896983474a2dcb3d47790ef 100644 (file)
@@ -409,7 +409,7 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
   // end function doDirectPayment
 
   /**
-   * Checks to see if invoice_id already exists in db
+   * Checks to see if invoice_id already exists in db.
    *
    * @param int $invoiceId
    *   The ID to check.
index 2bb6da1149d5ff215fe68f30189d914281c764ab..06fad111558c87df077fd2c702fe598101a9d67d 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action {
 
   /**
-   * The template to display the required "red" asterick
+   * The template to display the required "red" asterick.
    * @var string
    */
   static $_requiredTemplate = NULL;
index 04a51a80d709632f722fdd7bc9a0ef7ad22d8c26..428af9607852fc110838721f899d4d43e99bdc0a 100644 (file)
@@ -189,7 +189,7 @@ class CRM_Core_Report_Excel {
   }
 
   /**
-   * Write a CSV file to the browser output
+   * Write a CSV file to the browser output.
    *
    * @param string $fileName
    *   The name of the file that will be downloaded (this is sent to the browser).
index 7586d25f243570fc96f038d68e0abfb2a44446bb..b3effac2b51433979fd6e407c146c274b9428b5a 100644 (file)
@@ -99,7 +99,7 @@ class CRM_Core_Resources {
   public $ajaxPopupsEnabled;
 
   /**
-   * Get or set the single instance of CRM_Core_Resources
+   * Get or set the single instance of CRM_Core_Resources.
    *
    * @param CRM_Core_Resources $instance
    *   New copy of the manager.
index cc9544bca8c4bd52333dc3ad7b4b766ccbcc1c93..65011151ebcabe5f96172b9ad163ecfe4e92ce2d 100644 (file)
@@ -61,7 +61,7 @@ interface CRM_Core_Selector_API {
   public function getPagerParams($action, &$params);
 
   /**
-   * Returns the sort order array for the given action
+   * Returns the sort order array for the given action.
    *
    * @param string $action
    *   The action being performed.
@@ -86,7 +86,7 @@ interface CRM_Core_Selector_API {
   public function &getColumnHeaders($action = NULL, $type = NULL);
 
   /**
-   * Returns the number of rows for this action
+   * Returns the number of rows for this action.
    *
    * @param string $action
    *   The action being performed.
@@ -97,7 +97,7 @@ interface CRM_Core_Selector_API {
   public function getTotalCount($action);
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
@@ -126,7 +126,7 @@ interface CRM_Core_Selector_API {
   public function getTemplateFileName($action = NULL);
 
   /**
-   * Return the filename for the exported CSV
+   * Return the filename for the exported CSV.
    *
    * @param string $type
    *   The type of export required: csv/xml/foaf etc.
index e8ca4990d7888359b6811acadbbe33937540f7a5..8ad710873b839aaf19368f02f506eb60e24eea48 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Core_Selector_Base {
   protected $_key;
 
   /**
-   * This function gets the attribute for the action that
+   * This function gets the attribute for the action that.
    * it matches.
    *
    * @param string $match the action to match against
@@ -97,7 +97,7 @@ class CRM_Core_Selector_Base {
   }
 
   /**
-   * Compose the template file name from the class name
+   * Compose the template file name from the class name.
    *
    * @param string $action
    *   The action being performed.
@@ -147,7 +147,7 @@ class CRM_Core_Selector_Base {
   }
 
   /**
-   * Setter for permission
+   * Setter for permission.
    *
    * @var string
    */
index 2ee05772478c96c93eaf600cd45154250da250a6..6a1577fba0aca53744d2004b462b1dba8cf7084f 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Core_Selector_Controller {
     TRANSFER = 4, EXPORT = 8, SCREEN = 16, PDF = 32;
 
   /**
-   * A CRM Object that implements CRM_Core_Selector_API
+   * A CRM Object that implements CRM_Core_Selector_API.
    * @var object
    */
   protected $_object;
@@ -174,7 +174,7 @@ class CRM_Core_Selector_Controller {
   protected $_dynamicAction = FALSE;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param CRM_Core_Selector_API $object
    *   An object that implements the selector API.
@@ -423,7 +423,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for pager
+   * Getter for pager.
    *
    * @return CRM_Utils_Pager
    */
@@ -432,7 +432,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for sort
+   * Getter for sort.
    *
    * @return CRM_Utils_Sort
    */
@@ -441,7 +441,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Move the variables from the session to the template
+   * Move the variables from the session to the template.
    *
    * @return void
    */
@@ -483,7 +483,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Setter for embedded
+   * Setter for embedded.
    *
    * @param bool $embedded
    *
@@ -494,7 +494,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for embedded
+   * Getter for embedded.
    *
    * @return bool
    *   return the embedded value
@@ -504,7 +504,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Setter for print
+   * Setter for print.
    *
    * @param bool $print
    *
@@ -515,7 +515,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for print
+   * Getter for print.
    *
    * @return bool
    *   return the print value
index 627235599a06a2b54eaa9b44e10c9dd241ade4d4..ecaac99aa829857e2bc490aeebcfc9bd66e160d1 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
   protected $_htmlTypeTransitions;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    * @acess protected
@@ -90,7 +90,7 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -133,7 +133,7 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 41d61385c9334dad6ec2c4304aed0c24de10a537..79bab78945b0afd44711d232d7ae7607e14a6318 100644 (file)
 class CRM_Custom_Form_DeleteField extends CRM_Core_Form {
 
   /**
-   * The group id
+   * The group id.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The title of the group being deleted
+   * The title of the group being deleted.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    * @acess protected
@@ -71,7 +71,7 @@ class CRM_Custom_Form_DeleteField extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -92,7 +92,7 @@ class CRM_Custom_Form_DeleteField extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index b794226815f7693fd38e480233d7f0113f610000..57eff3dd8595f4a2016b3924f3dc0b6b24c8c639 100644 (file)
 class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
 
   /**
-   * The group id
+   * The group id.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The title of the group being deleted
+   * The title of the group being deleted.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    * @acess protected
@@ -82,7 +82,7 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -103,7 +103,7 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 0e56f959a525f1306468003d71e77bf3af1e618f..dd569f6de9d45b2f72e6fb6825efa658bd8c65cd 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
   const NUM_OPTION = 11;
 
   /**
-   * The custom group id saved to the session for an update
+   * The custom group id saved to the session for an update.
    *
    * @var int
    */
@@ -65,7 +65,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
   protected $_defaultDataType;
 
   /**
-   * Array of custom field values if update mode
+   * Array of custom field values if update mode.
    */
   protected $_values;
 
@@ -82,7 +82,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
   private static $_dataToLabels = NULL;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -272,7 +272,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -560,7 +560,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -893,7 +893,7 @@ AND    option_group_id = %2";
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 8f88a64ac70541e70fd09060704726290517bb3e..56e0af14da6e0ab8a12f81117d3fc5da2949cd5a 100644 (file)
 class CRM_Custom_Form_Group extends CRM_Core_Form {
 
   /**
-   * The set id saved to the session for an update
+   * The set id saved to the session for an update.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   *  set is empty or not
+   *  set is empty or not.
    *
    * @var bool
    */
   protected $_isGroupEmpty = TRUE;
 
   /**
-   * Array of existing subtypes set for a custom set
+   * Array of existing subtypes set for a custom set.
    *
    * @var array
    */
   protected $_subtypes = array();
 
   /**
-   * Array of default params
+   * Array of default params.
    *
    * @var array
    */
   protected $_defaults = array();
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    *
    * @return void
@@ -104,7 +104,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -182,7 +182,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -451,7 +451,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    *
    * @return void
index ce103511884e05d8cbc57d0ec75ad3810bec8586..fecbe7cac6e80205962a73ddafb6014f25dd8198 100644 (file)
 class CRM_Custom_Form_MoveField extends CRM_Core_Form {
 
   /**
-   * The src group id
+   * The src group id.
    *
    * @var int
    */
   protected $_srcGID;
 
   /**
-   * The src field id
+   * The src field id.
    *
    * @var int
    */
   protected $_srcFID;
 
   /**
-   * The dst group id
+   * The dst group id.
    *
    * @var int
    */
   protected $_dstGID;
 
   /**
-   * The dst field id
+   * The dst field id.
    *
    * @var int
    */
   protected $_dstFID;
 
   /**
-   * The title of the field being moved
+   * The title of the field being moved.
    *
    * @var string
    */
   protected $_srcFieldLabel;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    * @acess protected
@@ -103,7 +103,7 @@ class CRM_Custom_Form_MoveField extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -159,7 +159,7 @@ class CRM_Custom_Form_MoveField extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 1e9d1e322772f488ebf5d573b74d364d4581d414..1bd2863b6c63ca6f30c7fd6e20031a1731a349fa 100644 (file)
@@ -65,7 +65,7 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -145,7 +145,7 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -231,7 +231,7 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -384,7 +384,7 @@ SELECT count(*)
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 7cf96a6c1ab29647e36dd76083cb929b614927f5..8a7bf068b695578f083a517d6700313192993890 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_Custom_Form_Preview extends CRM_Core_Form {
 
   /**
-   * The group tree data
+   * The group tree data.
    *
    * @var array
    */
@@ -90,7 +90,7 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    * @return array
    *   the default array reference
@@ -104,7 +104,7 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 7d80060f236ff00bc7a897d065588d490e2a6815..83f80801cbc639365df01113680005130be92665 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -78,7 +78,7 @@ class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -162,7 +162,7 @@ class CRM_Custom_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index fc978e955d628f30fbbfb601c1e2f935bf460b1b..5f6b2bda3a99c0bbe8061f80d982b5ed858b8ee2 100644 (file)
@@ -8,13 +8,13 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
   protected $_mappingType = 'Import Multi value custom data';
   protected $_highlightedFields = array();
   /**
-   * Entity being imported to
+   * Entity being imported to.
    * @var string
    */
   protected $_entity;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -46,7 +46,7 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -56,7 +56,7 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -119,7 +119,7 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
   }
 
   /**
-   * Process the mapped fields and map it into the uploaded file
+   * Process the mapped fields and map it into the uploaded file.
    * preview the file and extract some summary statistics
    *
    * @return void
index 3ef4fbf53a397c78683be7d4e7a824b4bdb19461..56887cbcf553ba6a9a1a31e0eaa46724a8105072 100644 (file)
@@ -8,7 +8,7 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
   protected $_importParserUrl = '&parser=CRM_Custom_Import_Parser';
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -75,7 +75,7 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
   }
 
   /**
-   * Process the mapped fields and map it into the uploaded file
+   * Process the mapped fields and map it into the uploaded file.
    * preview the file and extract some summary statistics
    *
    * @return void
index 8a96614dbb30ad3cb1e9c4be40a7d7be1aff815a..228465fa21b1de96bd3fd59d399431fa32cf9da4 100644 (file)
@@ -5,7 +5,7 @@
  */
 class CRM_Custom_Import_Form_Summary extends CRM_Contact_Import_Form_Summary {
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index 2b879c15cd5c44245d5c936775b5dc26122775ca..76a564bf5abc37e2720f751a210f5a5e4e91a4e2 100644 (file)
@@ -308,7 +308,7 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference ) associative array of name/value pairs
@@ -327,7 +327,7 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Store parser values
+   * Store parser values.
    *
    * @param CRM_Core_Session $store
    *
index aa439a46e15cd76bf661e42144d3c885b1f29fc8..3a2b7777a3ca7bb3961656738821cd5f8ca30802 100644 (file)
@@ -12,7 +12,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   protected $_multipleCustomData = '';
 
   /**
-   * Params for the current entity being prepared for the api
+   * Params for the current entity being prepared for the api.
    * @var array
    */
   protected $_params = array();
@@ -58,7 +58,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * Handle the values in mapField mode
+   * Handle the values in mapField mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -70,7 +70,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * Handle the values in preview mode
+   * Handle the values in preview mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -133,7 +133,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * Handle the values in import mode
+   * Handle the values in import mode.
    *
    * @param int $onDuplicate
    *   The code for what action to take on duplicates.
@@ -185,7 +185,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * Format Date params
+   * Format Date params.
    *
    * Although the api will accept any strtotime valid string CiviCRM accepts at least one date format
    * not supported by strtotime so we should run this through a conversion
@@ -202,7 +202,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * Set import entity
+   * Set import entity.
    * @param string $entity
    */
   public function setEntity($entity) {
index 871b8fd79cebd321e15b9fff949ac1cef782aec2..c5d94bf758c7ac89d85f5086a0e1b112932f6469 100644 (file)
@@ -46,14 +46,14 @@ class CRM_Custom_Page_Field extends CRM_Core_Page {
   public $useLivePageJS = TRUE;
 
   /**
-   * The group id of the field
+   * The group id of the field.
    *
    * @var int
    */
   protected $_gid;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -295,7 +295,7 @@ class CRM_Custom_Page_Field extends CRM_Core_Page {
   }
 
   /**
-   * Preview custom field
+   * Preview custom field.
    *
    * @param int $id
    *   Custom field id.
index bc5a713b450cd84fe8600e2570923c5a2914fa05..d1f940f258c425e2acfd7a9b0e8a48486ffe2025 100644 (file)
@@ -150,7 +150,7 @@ class CRM_Custom_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * Edit custom group
+   * Edit custom group.
    *
    * @param int $id
    *   Custom group id.
@@ -173,7 +173,7 @@ class CRM_Custom_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * Preview custom group
+   * Preview custom group.
    *
    * @param int $id
    *   Custom group id.
index c2b62f380cf00f6f8d393c4c9bcdbc4ff44a4285..0d1e1bb44980a7ebc1c7bd789be320ea20463b96 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Dashlet_Page_Activity extends CRM_Core_Page {
 
   /**
-   * List activities as dashlet
+   * List activities as dashlet.
    *
    * @return void
    */
index 54137e6ca4746178f34e692ed2d6c9e7be09f2c4..27cb5767d00b98ed49efe065a8bc6b13c7f53857 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Dashlet_Page_AllCases extends CRM_Core_Page {
 
   /**
-   * List activities as dashlet
+   * List activities as dashlet.
    *
    * @return void
    */
index 1e8548d22c7c0f99a3f6c83ed273553d34f03837..02a108b23ff78ecec2e44f9334ee5063c101830b 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page {
   }
 
   /**
-   * List blog articles as dashlet
+   * List blog articles as dashlet.
    */
   public function run() {
     $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet');
@@ -70,7 +70,7 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page {
   }
 
   /**
-   * Load blog articles from cache
+   * Load blog articles from cache.
    * Refresh cache if expired
    *
    * @return array
@@ -96,7 +96,7 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page {
   }
 
   /**
-   * Parse rss feed and cache results
+   * Parse rss feed and cache results.
    *
    * @param $url
    *
index 5471a19707e050212b4827bacbb49b58c683e738..5ed43c2429b43b2fbe7753c40b329880613a63a3 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Dashlet_Page_CaseDashboard extends CRM_Core_Page {
 
   /**
-   * Case dashboard as dashlet
+   * Case dashboard as dashlet.
    *
    * @return void
    */
index 95035b6c28534c246de26a08bb88a6a52fbd6a80..988f259bd5c68d619e5dac28772d877f901fb2f1 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Dashlet_Page_MyCases extends CRM_Core_Page {
 
   /**
-   * List activities as dashlet
+   * List activities as dashlet.
    *
    * @return void
    */
index eec56a68223dd3da26dfc253b48855cdf8eae252..f8dca07695b542eb85c1cdf74789157a911f5fd0 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
   var $params = array();
 
   /**
-   * If there are no rules in rule group
+   * If there are no rules in rule group.
    */
   var $noRules = FALSE;
 
@@ -313,7 +313,7 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
   }
 
   /**
-   * sort queries by number of records for the table associated with them
+   * sort queries by number of records for the table associated with them.
    * @param $tableQueries
    */
   public static function orderByTableCount(&$tableQueries) {
@@ -411,7 +411,7 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
   }
 
   /**
-   * Get all of the combinations of fields that would work with a rule
+   * Get all of the combinations of fields that would work with a rule.
    */
   public static function combos($rgFields, $threshold, &$combos, $running = array()) {
     foreach ($rgFields as $rgField => $weight) {
index 9c938ebaf6f6d47e8c2b45f200e0409c43b0a9a9..5bb0785828a00e2e8c81227c2a2d5e4a465e8eeb 100644 (file)
@@ -156,7 +156,7 @@ class CRM_Dedupe_Merger {
   }
 
   /**
-   * Returns the related tables groups for which a contact has any info entered
+   * Returns the related tables groups for which a contact has any info entered.
    */
   public static function getActiveRelTables($cid) {
     $cid = (int) $cid;
@@ -243,7 +243,7 @@ WHERE
   }
 
   /**
-   * Return tables using locations
+   * Return tables using locations.
    */
   public static function locTables() {
     static $locTables;
index 86453cc85a51ce72197ba3d2957b7a5b91391086..10f8c2d5d68000e0c4708dcdf4c65a766053a17b 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index e837cec3a0e9684e38ddc718ea5dbabf049d55a0..4f70438792cef00cdb56297b44377c651bb8d0af 100644 (file)
@@ -171,7 +171,7 @@ class CRM_Event_Badge {
   }
 
   /**
-   * This is supposed to be overrided
+   * This is supposed to be overrided.
    */
   public function generateLabel($participant) {
     $txt = "{$this->event['title']}
index 3154156f06c73a22b53cdbb6146ea636bd6a9641..db580cfdee4aabd58d51960e2c1f8ccd7e35352a 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Event_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index f8a6795d527cd2e1fdef75f2894af1acd967f416..bd3abf569e9af6fda935ab85bbe2df1470b43530 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form {
   public $useLivePageJS = TRUE;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -219,7 +219,7 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 3917f4e6ad9f0323a9a8c50a4c79376f4c7bc6d2..ce382e43fd903828ee66860b95c0b56ce2d70158 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Event_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param null $title
    * @param bool|int $action
index 1166061c2c3945ed3a6c36e8c6b9cd8558f47fcd..c5d4394007330656528c5a981ac115a933fdc363 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Import_Form_DataSource extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -51,7 +51,7 @@ class CRM_Event_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -154,7 +154,7 @@ class CRM_Event_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index 75bfdd647c19c621fc2d2b515a9e32577dc9f918..12293b1bff2ce03a3a10e05f774a3880d747e5c8 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -97,7 +97,7 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -282,7 +282,7 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index ffba083dda9dd92c41c271847002a7bcffa6f07b..47606344e41e5fef3a3d68ad967f430b338a5a0b 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index 670964a83ef3078833cd3b49d2de2d8ef96a3e46..47792eb5c55ecb491e1ba4e94343f76fa0f671cd 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Import_Form_Summary extends CRM_Import_Form_Summary {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index c23f159b7fe3a6e529d77bd50abf20a89cd7ef60..9da8e7c963b6fc172fbb83cea762328e9ea467e3 100644 (file)
@@ -310,7 +310,7 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference ) associative array of name/value pairs
@@ -356,7 +356,7 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Store parser values
+   * Store parser values.
    *
    * @param CRM_Core_Session $store
    *
@@ -412,7 +412,7 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Export data to a CSV file
+   * Export data to a CSV file.
    *
    * @param string $fileName
    * @param array $header
index 93d10213dcbd57ba3e22f3f41ffe4ebff5f8ddfc..8df0f554ddb225599a54f22acc095a3a0532126a 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   protected $_newParticipants;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
     parent::__construct();
@@ -123,7 +123,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * Handle the values in mapField mode
+   * Handle the values in mapField mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -135,7 +135,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * Handle the values in preview mode
+   * Handle the values in preview mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -148,7 +148,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * Handle the values in summary mode
+   * Handle the values in summary mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -265,7 +265,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * Handle the values in import mode
+   * Handle the values in import mode.
    *
    * @param int $onDuplicate
    *   The code for what action to take on duplicates.
@@ -493,7 +493,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * Get the array of successfully imported Participation ids
+   * Get the array of successfully imported Participation ids.
    *
    * @return array
    */
index 5c942b711d895b4fe808438e8d49da43517aabcf..c471626f2e92b34c43ef504ddb69b9b86dd6c74a 100644 (file)
@@ -134,7 +134,7 @@ class CRM_Event_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    * @param $newCredit
    */
index ac81f60aff997214b5eb19ba64517af513ee0377..66ceb0e0e5c035f04faab0c722cd4432e198a33c 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Page_AJAX {
 
   /**
-   * Building EventFee combo box
+   * Building EventFee combo box.
    * FIXME: This ajax callback could be eliminated in favor of an entityRef field but the priceFieldValue api doesn't currently support filtering on entity_table
    */
   public function eventFee() {
index b09b43057dc4ff31d5d4ad7c071f035b729ffde9..4200cbef450d0c0094ca829fce039e519e38507f 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -56,7 +56,7 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
   protected $_isTemplate = FALSE;
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -98,7 +98,7 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
   }
 
   /**
-   * Get tab  Links for events
+   * Get tab  Links for events.
    *
    * @param $enableCart
    *
@@ -243,7 +243,7 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
   }
 
   /**
-   * Browse all events
+   * Browse all events.
    *
    * @return void
    */
index 6b9b2ea1bf5a8f4d9bb6ad8d1c4b2c0bffb1a6bf..e0afe4942b633d6b73133b9cf5d5144bb4ef5651 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page {
   public $_contactId = NULL;
 
   /**
-   * called when action is browse
+   * called when action is browse.
    */
   public function browse() {
     $controller = new CRM_Core_Controller_Simple(
@@ -68,7 +68,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is view
+   * called when action is view.
    *
    * @return null
    */
@@ -89,7 +89,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
index e3d164350f7f3d4296accc2acfc461c0109813b0..57134c0a143abe235fab319701a560b2a2af1eae 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
 
   /**
-   * List participations for the UF user
+   * List participations for the UF user.
    *
    */
   public function listParticipations() {
index 4d5d14b3e558e9bd7e5223411575c959b9f6953b..4e4658195a3d07f8eecef8d0bb18ec7e3d8015c0 100644 (file)
@@ -123,7 +123,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the n participant statuses
+   * Get all the n participant statuses.
    *
    *
    * @param int $id
@@ -187,7 +187,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the n participant roles
+   * Get all the n participant roles.
    *
    *
    * @param int $id
@@ -219,7 +219,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the participant listings
+   * Get all the participant listings.
    *
    *
    * @param int $id
@@ -262,7 +262,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get event template titles
+   * Get event template titles.
    *
    * @param int $id
    *
@@ -299,7 +299,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the Personal campaign pages
+   * Get all the Personal campaign pages.
    *
    *
    * @param int $id
index a983983642b4b407854461a4b2d0d2d5f475c180..bde2f1d34ad81a8a20b4838ec7c8bada3f648903 100644 (file)
@@ -119,28 +119,28 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   public $_queryParams;
 
   /**
-   * Represent the type of selector
+   * Represent the type of selector.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_eventClause = NULL;
 
   /**
-   * The query object
+   * The query object.
    *
    * @var string
    */
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
@@ -191,7 +191,7 @@ 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
+   * Can be used to alter the number of participation returned from a buildForm hook.
    *
    * @param int $limit
    *   How many participations do we want returned.
@@ -289,7 +289,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index ec2f60071807e9d84855665e80b65c004a1777c9..bc164b165912cf2aa820383eebd94951e19925f3 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Event_StateMachine_Registration extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
index 0df32088fc9531c8ee1f4f4b96bf80b615b14c26..09f5e0c7dac7302c93355d1c7885407ab68870c0 100644 (file)
 class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine {
 
   /**
-   * The task that the wizard is currently processing
+   * The task that the wizard is currently processing.
    *
    * @var string
    */
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
@@ -96,7 +96,7 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index 5c8940e4f74d7e8e281ea6a958270ba325a453e2..c0cd5305a2d5287124c1dd85637e3bb7bad1725b 100644 (file)
@@ -167,7 +167,7 @@ class CRM_Event_Task {
   }
 
   /**
-   * These tasks get added based on the context the user is in
+   * These tasks get added based on the context the user is in.
    *
    * @return array
    *   the set of optional tasks for a group of contacts
index 42c06f7b4ec6e67ed6c414b4c00f4198bb74f6a6..cc8e25bd3fbf3a72919da81f8f6f8f439b581e81 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Export_BAO_Export {
   const EXPORT_ROW_COUNT = 10000;
 
   /**
-   * Get the list the export fields
+   * Get the list the export fields.
    *
    * @param int $selectAll
    *   User preference while export.
@@ -1191,7 +1191,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
   }
 
   /**
-   * Name of the export file based on mode
+   * Name of the export file based on mode.
    *
    * @param string $output
    *   Type of output.
@@ -1963,7 +1963,7 @@ LIMIT $offset, $limit
   }
 
   /**
-   * Manipulate header rows for relationship fields
+   * Manipulate header rows for relationship fields.
    *
    * @param $headerRows
    * @param $contactRelationshipTypes
index d168ab6d3858db417ddfda0161e3ece0890e436f..3abf15732a8377038d25e2d600c9b298128ce5ff 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
   protected $_mappingId;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -104,7 +104,7 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -143,7 +143,7 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index 0add335d491a50491dff5bf46bd5b53583a8b5b8..c9c1178ae0b888720974805d52e1372cf126ba66 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Export_Form_Select extends CRM_Core_Form {
 
   /**
-   * Various Contact types
+   * Various Contact types.
    */
   const
     EXPORT_ALL = 1,
@@ -49,7 +49,7 @@ class CRM_Export_Form_Select extends CRM_Core_Form {
     EXPORT_MERGE_HOUSEHOLD = 2;
 
   /**
-   * Export modes
+   * Export modes.
    */
   const
     CONTACT_EXPORT = 1,
@@ -62,7 +62,7 @@ class CRM_Export_Form_Select extends CRM_Core_Form {
     ACTIVITY_EXPORT = 8;
 
   /**
-   * Current export mode
+   * Current export mode.
    *
    * @var int
    */
@@ -71,7 +71,7 @@ class CRM_Export_Form_Select extends CRM_Core_Form {
   public $_componentTable;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
@@ -244,7 +244,7 @@ FROM   {$this->_componentTable}
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -338,7 +338,7 @@ FROM   {$this->_componentTable}
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -375,7 +375,7 @@ FROM   {$this->_componentTable}
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
@@ -448,7 +448,7 @@ FROM   {$this->_componentTable}
   }
 
   /**
-   * Build mapping form element
+   * Build mapping form element.
    */
   public function buildMapping() {
     switch ($this->_exportMode) {
index 84d0b5511631ec2854d1ff7af18a9d64dab98918..4d979ae9d0286bb08589ec32a5c8bbed12aad1b2 100644 (file)
@@ -37,7 +37,7 @@
 class CRM_Extension_Browser {
 
   /**
-   * An URL for public extensions repository
+   * An URL for public extensions repository.
    */
   const DEFAULT_EXTENSIONS_REPOSITORY = 'https://civicrm.org/extdir/ver={ver}|cms={uf}';
 
@@ -88,7 +88,7 @@ class CRM_Extension_Browser {
   }
 
   /**
-   * Determine whether downloading is supported
+   * Determine whether downloading is supported.
    *
    * @return array
    *   List of error messages; empty if OK.
@@ -118,7 +118,7 @@ class CRM_Extension_Browser {
   }
 
   /**
-   * Get a list of all available extensions
+   * Get a list of all available extensions.
    *
    * @return array
    *   ($key => CRM_Extension_Info)
@@ -141,7 +141,7 @@ class CRM_Extension_Browser {
   }
 
   /**
-   * Get a description of a particular extension
+   * Get a description of a particular extension.
    *
    * @param string $key
    *   Fully-qualified extension name.
@@ -325,7 +325,7 @@ class CRM_Extension_Browser {
   }
 
   /**
-   * A dummy function required for suppressing download errors
+   * A dummy function required for suppressing download errors.
    */
   public static function downloadError($errorNumber, $errorString) {
   }
index a943188bf50464387a5a199e0090990161a933e0..e7baa896fc27b520d33ce05945d7080071597ab9 100644 (file)
@@ -171,7 +171,7 @@ class CRM_Extension_Container_Basic implements CRM_Extension_Container_Interface
   }
 
   /**
-   * Determine the relative path of an extension directory
+   * Determine the relative path of an extension directory.
    *
    * @param string $key
    *   Extension name.
@@ -224,7 +224,7 @@ class CRM_Extension_Container_Basic implements CRM_Extension_Container_Interface
   }
 
   /**
-   * Determine the relative path of an extension directory
+   * Determine the relative path of an extension directory.
    *
    * @param string $key
    *   Extension name.
index 48b95aa0fdd0712349124f63f320a45cbf5f7124..f386c1b14518bd1c3ee43ca3f4ea1b4177956c2e 100644 (file)
@@ -126,7 +126,7 @@ class CRM_Extension_Container_Collection implements CRM_Extension_Container_Inte
   }
 
   /**
-   * Get the container which defines a particular key
+   * Get the container which defines a particular key.
    *
    * @param string $key
    *   Extension name.
index 05b55a8282756e0854af2a7d7ee94d312767c48a..a1d5a410f041a65f3f613b8e9f7dca03c91990c0 100644 (file)
@@ -46,7 +46,7 @@ interface CRM_Extension_Container_Interface {
   public function checkRequirements();
 
   /**
-   * Get a list of extensions available in this container
+   * Get a list of extensions available in this container.
    *
    * @return array
    *   List of keys (strings).
@@ -65,7 +65,7 @@ interface CRM_Extension_Container_Interface {
   public function getPath($key);
 
   /**
-   * Determine the base URL for resources provided by the extension
+   * Determine the base URL for resources provided by the extension.
    *
    * @param string $key
    *   Fully-qualified extension name.
index a067cdad4baf25f6d0e9197e5d4887e8cae790e3..dfb36abcad6a5cd723541836460524e445006c48 100644 (file)
@@ -57,7 +57,7 @@ class CRM_Extension_Downloader {
   }
 
   /**
-   * Determine whether downloading is supported
+   * Determine whether downloading is supported.
    *
    * @return array
    *   list of error messages; empty if OK
@@ -96,7 +96,7 @@ class CRM_Extension_Downloader {
   }
 
   /**
-   * Install or upgrade an extension from a remote URL
+   * Install or upgrade an extension from a remote URL.
    *
    * @param string $key
    *   The name of the extension being installed.
@@ -154,7 +154,7 @@ class CRM_Extension_Downloader {
   }
 
   /**
-   * Extract an extension from a zip file
+   * Extract an extension from a zip file.
    *
    * @param string $key
    *   The name of the extension being installed; this usually matches the basedir in the .zip.
index 3c6a9a6a4d077a95ba09f63003dc824aff306db1..cc69e7044ba0898887c4a5f2c2f4a3536274df70 100644 (file)
@@ -31,7 +31,7 @@
 class CRM_Extension_Info {
 
   /**
-   * Extension info file name
+   * Extension info file name.
    */
   const FILENAME = 'info.xml';
 
@@ -42,7 +42,7 @@ class CRM_Extension_Info {
   public $file = NULL;
 
   /**
-   * Load extension info an XML file
+   * Load extension info an XML file.
    *
    * @param $file
    *
@@ -61,7 +61,7 @@ class CRM_Extension_Info {
   }
 
   /**
-   * Load extension info a string
+   * Load extension info a string.
    *
    * @param string $string
    *   XML content.
index 6429466ae06f3744ef9cef4eeb580d06d504fe19..7363612218793436d1f9b01ae1ecfb373cbbcdff 100644 (file)
  */
 class CRM_Extension_Manager {
   /**
-   * The extension is fully installed and enabled
+   * The extension is fully installed and enabled.
    */
   const STATUS_INSTALLED = 'installed';
 
   /**
-   * The extension config has been applied to database but deactivated
+   * The extension config has been applied to database but deactivated.
    */
   const STATUS_DISABLED = 'disabled';
 
@@ -331,7 +331,7 @@ class CRM_Extension_Manager {
   }
 
   /**
-   * Remove all database references to an extension
+   * Remove all database references to an extension.
    *
    * Add records of the extension to the database -- and enable it
    *
@@ -382,7 +382,7 @@ class CRM_Extension_Manager {
   }
 
   /**
-   * Determine the status of an extension
+   * Determine the status of an extension.
    *
    * @param $key
    *
@@ -400,7 +400,7 @@ class CRM_Extension_Manager {
   }
 
   /**
-   * Determine the status of all extensions
+   * Determine the status of all extensions.
    *
    * @return array
    *   ($key => status_constant)
index 53dd48d7dc68852c3c651b4674a231acf6c297ba..1b75620a525ed02e36b696193a8a5c7efe1d76c2 100644 (file)
@@ -178,7 +178,7 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base {
   }
 
   /**
-   * Run hooks in the payment processor class
+   * Run hooks in the payment processor class.
    * Load requested payment processor and call the method specified.
    *
    * @param CRM_Extension_Info $info
index 0b1afae8113b9318f3ab5176345e98e466b32009..4409f6cfa50e84cc3689ee49208fa375099b5953 100755 (executable)
 class CRM_Extension_Mapper {
 
   /**
-   * An URL for public extensions repository
+   * An URL for public extensions repository.
    */
   //const DEFAULT_EXTENSIONS_REPOSITORY = 'http://civicrm.org/extdir/ver={ver}|cms={uf}';
 
   /**
-   * Extension info file name
+   * Extension info file name.
    */
   const EXT_TEMPLATES_DIRNAME = 'templates';
 
@@ -325,7 +325,7 @@ class CRM_Extension_Mapper {
   }
 
   /**
-   * Get a list of base URLs for all active modules
+   * Get a list of base URLs for all active modules.
    *
    * @return array
    *   (string $extKey => string $baseUrl)
index 581761ba7045c7715ae8216c6cae73107d996613..69ee2df7859c3d8ead0ad67c5567964d6f9e687b 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Extension_System {
   private $downloader = NULL;
 
   /**
-   * The URL of the remote extensions repository
+   * The URL of the remote extensions repository.
    *
    * @var string|FALSE
    */
@@ -108,7 +108,7 @@ class CRM_Extension_System {
   }
 
   /**
-   * Get a container which represents all available extensions
+   * Get a container which represents all available extensions.
    *
    * @return CRM_Extension_Container_Interface
    */
@@ -151,7 +151,7 @@ class CRM_Extension_System {
   }
 
   /**
-   * Get the container to which new extensions are installed
+   * Get the container to which new extensions are installed.
    *
    * This container should be a particular, writeable directory.
    *
@@ -170,7 +170,7 @@ class CRM_Extension_System {
   }
 
   /**
-   * Get the service which provides runtime information about extensions
+   * Get the service which provides runtime information about extensions.
    *
    * @return CRM_Extension_Mapper
    */
@@ -182,7 +182,7 @@ class CRM_Extension_System {
   }
 
   /**
-   * Get the service for enabling and disabling extensions
+   * Get the service for enabling and disabling extensions.
    *
    * @return CRM_Extension_Manager
    */
@@ -252,7 +252,7 @@ class CRM_Extension_System {
   }
 
   /**
-   * Determine the URL which provides a feed of available extensions
+   * Determine the URL which provides a feed of available extensions.
    *
    * @return string|FALSE
    */
index e1ce7429ccbad14e5c7fe4acbbaf32454a7eb0ce..f412a54bf877f2a89d57252457b313ab3c0b45ca 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Extension_Upgrades {
   const QUEUE_NAME = 'ext-upgrade';
 
   /**
-   * Determine whether any extensions have pending upgrades
+   * Determine whether any extensions have pending upgrades.
    *
    * @return bool
    */
@@ -56,7 +56,7 @@ class CRM_Extension_Upgrades {
   }
 
   /**
-   * Fill a queue with upgrade tasks
+   * Fill a queue with upgrade tasks.
    *
    * @return CRM_Queue_Queue
    */
index fc8751c4ab39c87e5d8a5385aeca26713b7438ca..e968687a4c937ef0b80cd01840ce561788bf1aee 100644 (file)
 class CRM_Financial_BAO_ExportFormat {
 
   /**
-   * data which the individual export formats will output in the desired format
+   * data which the individual export formats will output in the desired format.
    * @var array
    */
   protected $_exportParams;
 
   /**
-   * smarty template
+   * smarty template.
    * @var CRM_Core_Smarty
    */
   static protected $_template;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     if (!isset(self::$_template)) {
@@ -62,7 +62,7 @@ class CRM_Financial_BAO_ExportFormat {
   }
 
   /**
-   * Override to assemble the appropriate subset of financial data for the specific export format
+   * Override to assemble the appropriate subset of financial data for the specific export format.
    * @param array $exportParams
    *
    * @return mixed
@@ -105,7 +105,7 @@ class CRM_Financial_BAO_ExportFormat {
   }
 
   /**
-   * Override this if appropriate
+   * Override this if appropriate.
    * @return null
    */
   public function getTemplateFileName() {
index 88bd60d6f102ee432221d5f172a17aac42983c21..1e2e5325e7cfaa9c8856798a30626aa96ed83fcb 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
   );
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -147,7 +147,7 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
   }
 
   /**
-   * Format table headers
+   * Format table headers.
    *
    * @param array $values
    * @return array
@@ -164,7 +164,7 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
   }
 
   /**
-   * Generate CSV array for export
+   * Generate CSV array for export.
    *
    * @param array $export
    */
index 6c0665979ae21b48bb0ae9878705f30e33f2ae5e..b1faed6770c3e3eb3bf996678622fae1876c7f5f 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Financial_BAO_ExportFormat_IIF extends CRM_Financial_BAO_ExportFormat
   );
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
index 2deedd5868c41a6cbd25fa348e935f9a41e92313..ce848d0dcaa42bff51d20800ce501ed0fd8b1013 100644 (file)
 class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAccount {
 
   /**
-   * Static holder for the default LT
+   * Static holder for the default LT.
    */
   static $_defaultContributionType = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -67,7 +67,7 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -82,7 +82,7 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
   }
 
   /**
-   * Add the financial types
+   * Add the financial types.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -116,7 +116,7 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
   }
 
   /**
-   * Delete financial Types
+   * Delete financial Types.
    *
    * @param int $financialAccountId
    */
@@ -151,7 +151,7 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
   }
 
   /**
-   * Get accounting code for a financial type with account relation Income Account is
+   * Get accounting code for a financial type with account relation Income Account is.
    *
    * @param int $financialTypeId
    *
@@ -174,7 +174,7 @@ WHERE cft.id = %1
   }
 
   /**
-   * Get AR account
+   * Get AR account.
    *
    * @param $financialAccountId
    *   Financial account id.
index fc1772e13a45b3a8bad29b4e2a3af6a83ad52232..46602a06df050095158fab7498b54bee54ac1e7b 100644 (file)
 class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -62,7 +62,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
   }
 
   /**
-   * Add the financial items and financial trxn
+   * Add the financial items and financial trxn.
    *
    * @param object $lineItem
    *   Line item object.
@@ -128,7 +128,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
   }
 
   /**
-   * Create the financial Items and financial enity trxn
+   * Create the financial Items and financial enity trxn.
    *
    * @param array $params
    *   Associated array to create financial items.
@@ -180,7 +180,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
   }
 
   /**
-   * Takes an associative array and creates a entity financial transaction object
+   * Takes an associative array and creates a entity financial transaction object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -195,7 +195,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
   }
 
   /**
-   * Retrive entity financial trxn details
+   * Retrive entity financial trxn details.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -231,7 +231,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
   }
 
   /**
-   * Check if contact is present in financial_item table
+   * Check if contact is present in financial_item table.
    *
    * CRM-12929
    *
index f123b6fba539d0c800f146e1e5bfa11a91c7d098..df8b7c0027010c9313b34fa201ff2ab8dd22929f 100644 (file)
 class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
 
   /**
-   * Static holder for the default LT
+   * Static holder for the default LT.
    */
   static $_defaultContributionType = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -67,7 +67,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -82,7 +82,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
   }
 
   /**
-   * Add the financial types
+   * Add the financial types.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -114,7 +114,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
   }
 
   /**
-   * Delete financial Types
+   * Delete financial Types.
    *
    * @param int $financialTypeId
    *
@@ -160,7 +160,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
   }
 
   /**
-   * fetch financial type having relationship as Income Account is
+   * fetch financial type having relationship as Income Account is.
    *
    *
    * @return array
index d73aa779c2425237f4a447fa8b1be19af25fd9b1..8fa49e55a7c6f47f579583e29d10ab592d8863c7 100644 (file)
 class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFinancialAccount {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Financial account
+   * Financial account.
    * @var array
    */
   private static $financialAccount;
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -71,7 +71,7 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin
   }
 
   /**
-   * Add the financial types
+   * Add the financial types.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -100,7 +100,7 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin
   }
 
   /**
-   * Delete financial Types
+   * Delete financial Types.
    *
    * @param int $financialTypeAccountId
    * @param int $accountId
@@ -155,7 +155,7 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin
   }
 
   /**
-   * Get Financial Account Name
+   * Get Financial Account Name.
    *
    * @param int $entityId
    *
@@ -183,7 +183,7 @@ AND entity_id = %2";
   }
 
   /**
-   * Financial Account for payment instrument
+   * Financial Account for payment instrument.
    *
    * @param int $paymentInstrumentValue
    *   Payment instrument value.
index 962337af150fd5af68e00ac9077b7ba22e737fc0..40ecf05f5c489c5982d245b22348dfe45418a514 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   static $_defaultPaymentProcessor = NULL;
 
   /**
-   * Create Payment Processor
+   * Create Payment Processor.
    *
    * @param array $params
    *   Parameters for Processor entity.
@@ -85,16 +85,16 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -115,7 +115,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -131,7 +131,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Retrieve the default payment processor
+   * Retrieve the default payment processor.
    *
    * @return CRM_Financial_DAO_PaymentProcessor|null
    *   The default payment processor object on success,
@@ -147,7 +147,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Delete payment processor
+   * Delete payment processor.
    *
    * @param int $paymentProcessorID
    *
@@ -173,7 +173,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Get the payment processor details
+   * Get the payment processor details.
    *
    * @param int $paymentProcessorID
    *   Payment processor id.
@@ -250,7 +250,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Build payment processor details
+   * Build payment processor details.
    *
    * @param object $dao
    *   Payment processor object.
@@ -388,7 +388,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * Is there a processor on this site with the specified capability
+   * Is there a processor on this site with the specified capability.
    * @param array $capabilities
    * @param bool $isIncludeTest
    *
index 49e7a4fe82b040410c6a744564a1037631d0609e..7811eb5005f73f0d14f679593ed8f26ab12c57c0 100644 (file)
 class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentProcessorType {
 
   /**
-   * Static holder for the default payment processor
+   * Static holder for the default payment processor.
    */
   static $_defaultPaymentProcessorType = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -68,7 +68,7 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -84,7 +84,7 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
   }
 
   /**
-   * Retrieve the default payment processor
+   * Retrieve the default payment processor.
    *
    * @return object
    *   The default payment processor object on success,
@@ -168,7 +168,7 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
   }
 
   /**
-   * Delete payment processor
+   * Delete payment processor.
    *
    * @param int $paymentProcessorTypeId
    *   ID of the processor to be deleted.
index 636cb7be7f2cf0f1b1c42a4a9cf7308d1aee3b53..b4592c364e1eea5b51ea1743eec1bd1eee9fd971 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Financial_Form_BatchTransaction extends CRM_Contribute_Form {
   static $_entityID;
 
   /**
-   * Batch status
+   * Batch status.
    * @var
    */
   protected $_batchStatusId;
@@ -73,7 +73,7 @@ class CRM_Financial_Form_BatchTransaction extends CRM_Contribute_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 954c57c62763e8769f0dce6b4d6c4032b81374f2..a5c29511bd5f523012f99835064a933a9bde6350 100644 (file)
@@ -48,22 +48,22 @@ class CRM_Financial_Form_Export extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * Financial batch ids
+   * Financial batch ids.
    */
   protected $_batchIds = array();
 
   /**
-   * Export status id
+   * Export status id.
    */
   protected $_exportStatusId;
 
   /**
-   * Export format
+   * Export format.
    */
   protected $_exportFormat;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -111,7 +111,7 @@ class CRM_Financial_Form_Export extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -150,7 +150,7 @@ class CRM_Financial_Form_Export extends CRM_Core_Form {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    * @return void
    */
index ed9a00373396eca63517221cd3a4479c1e783cb1..404b195456b49e027c2703cbca40aad86c2d3c96 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
 
   /**
-   * Flag if its a AR account type
+   * Flag if its a AR account type.
    *
    * @var boolean
    */
@@ -48,7 +48,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
 
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -75,7 +75,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -131,7 +131,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   posted values of the form
@@ -189,7 +189,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
index 57bf620a95bf02ac14a52d17e5215ed7a5dd48e5..047c780f24601f9672d21b10c2d26d06b3b1a697 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
   protected $_id;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -83,7 +83,7 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -171,7 +171,7 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    * @param $files
@@ -202,7 +202,7 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
@@ -288,7 +288,7 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param $action
    * @param $permissions
index 6679b8398319932036977d1c455121187d54bf53..bc3b2c8506898c229f1fadb680f6d542478cfcb6 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Financial_Form_FinancialType extends CRM_Contribute_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -76,7 +76,7 @@ class CRM_Financial_Form_FinancialType extends CRM_Contribute_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
index a5c4152806299cef1e0c43cf3e4741257617b149..75e50e27c1599b3f3f9107aa6fb018c82f017937 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
 
   /**
-   * The financial type id saved to the session for an update
+   * The financial type id saved to the session for an update.
    *
    * @var int
    */
@@ -54,21 +54,21 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
   protected $_id;
 
   /**
-   * The name of the BAO object for this form
+   * The name of the BAO object for this form.
    *
    * @var string
    */
   protected $_BAOName;
 
   /**
-   * Flag if its a AR account type
+   * Flag if its a AR account type.
    *
    * @var boolean
    */
   protected $_isARFlag = FALSE;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -119,7 +119,7 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -230,7 +230,7 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   posted values of the form
@@ -301,7 +301,7 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
index 61c702851d1ae5c433581b3a5072f81afa14b81d..f5698efeb691f36d7fad0f9ee81c52eda2e7842a 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Financial_Page_AJAX {
 
   /**
-   * get financial accounts of required account relationship
+   * get financial accounts of required account relationship.
    * $financialAccountType array with key account relationship and value financial account type option groups
    *
    * @param $config
index e6922b5a9e5d311c820ece27fec37e05fbc1ab77..d8badfbb326f58023bbf68308bd08179737354b2 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,14 +56,14 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    */
   public function &links() {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -73,7 +73,7 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 5c164c068e1264b634a4c4943acb17b2ca0bda7d..540abb6e6791fde7038b909484851c7b8a276ec6 100644 (file)
@@ -39,7 +39,7 @@
  */
 class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -50,7 +50,7 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   static $_returnvalues = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -60,7 +60,7 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -119,7 +119,7 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all financial batch transactions
+   * Browse all financial batch transactions.
    *
    *
    * @return void
@@ -128,7 +128,7 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -138,7 +138,7 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 74e83d25c4fdf2665b9facba6fe8b11deb3b9a70..2219d1dfb3d72d6bee432fccba9cc289f0fc1a18 100644 (file)
@@ -40,14 +40,14 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
 
   public $useLivePageJS = TRUE;
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -57,7 +57,7 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -165,7 +165,7 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -175,7 +175,7 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index a1ff8ca5bfef5e5e982cbc829864728a394a6ae1..8bd36347c3d937f21971c049f5b22292c1e52d53 100644 (file)
 class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -99,7 +99,7 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
 
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   classname of edit form.
@@ -109,7 +109,7 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 8052e60babd54f831d425d72438b21d3a2db21f1..8f3335fa02d14e52efa95370690bc360318c87e2 100644 (file)
@@ -40,14 +40,14 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
 
   public $useLivePageJS = TRUE;
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -57,7 +57,7 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -125,7 +125,7 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all financial types
+   * Browse all financial types.
    *
    *
    * @return void
@@ -191,7 +191,7 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -201,7 +201,7 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 32dbec8bae78e849dfcc5d72b48bd65aec3d1c29..6ab2d7f0217959440aa64e3d88feb3eb008bc429 100644 (file)
  */
 class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * The account id that we need to display for the browse screen
+   * The account id that we need to display for the browse screen.
    *
    * @var array
    */
   protected $_aid = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -62,7 +62,7 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -118,7 +118,7 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
   }
 
   /**
-   * Browse all Financial Type Account data
+   * Browse all Financial Type Account data.
    *
    * @return void
    */
index ffd92a48c9379289ef5d521b20b87006e0535321..8d0beacebca096f9f23c6167091c395573614683 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend {
   }
 
   /**
-   * Takes an associative array and creates a friend object
+   * Takes an associative array and creates a friend object.
    *
    * the function extract all the params it needs to initialize the create a
    * friend object. the params array could contain additional unused name/value
@@ -86,7 +86,7 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend {
   }
 
   /**
-   * Takes an associative array and creates a friend object
+   * Takes an associative array and creates a friend object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -233,7 +233,7 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param CRM_Core_Form $form
    *   Form object.
@@ -331,7 +331,7 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend {
   }
 
   /**
-   * Takes an associative array and creates a tell a friend object
+   * Takes an associative array and creates a tell a friend object.
    *
    * the function extract all the params it needs to initialize the create/edit a
    * friend object. the params array could contain additional unused name/value
index a5a2497e7cabfd93c5122346e3b0c953066492c8..9c7e40ee86b0f20f68b81765277081f783199073 100644 (file)
 class CRM_Friend_Form extends CRM_Core_Form {
 
   /**
-   * Constants for number of friend contacts
+   * Constants for number of friend contacts.
    */
   const NUM_OPTION = 3;
 
   /**
-   * The id of the entity that we are proceessing
+   * The id of the entity that we are proceessing.
    *
    * @var int
    */
   protected $_entityId;
 
   /**
-   * The table name of the entity that we are proceessing
+   * The table name of the entity that we are proceessing.
    *
    * @var string
    */
@@ -61,7 +61,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   protected $_campaignId;
 
   /**
-   * The contact ID
+   * The contact ID.
    *
    * @var int
    */
@@ -174,7 +174,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -227,7 +227,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $fields
    *
@@ -265,7 +265,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index af060a3bf0862a32b4aa5b6525761d9cf3c8ad55..ccf0c99929fa80c83cb482332020d3c167f4786c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * Tell a friend id in db
+   * Tell a friend id in db.
    *
    * @var int
    */
@@ -86,7 +86,7 @@ class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -103,7 +103,7 @@ class CRM_Friend_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 89f093a93a26b8eb01acfc9d3e4baa2620ebade0..aac7ff1d1e1721737779df9f7a172dd397d16f78 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent {
 
   /**
-   * Tell a friend id in db
+   * Tell a friend id in db.
    *
    * @var int
    */
@@ -88,7 +88,7 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -105,7 +105,7 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 3b697eb8e914a431b1fa291ac907f778c8934f1e..58827dd8681a928af37f130560a4889e940d357c 100644 (file)
 class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
 
   /**
-   * Static field for all the grant information that we can potentially export
+   * Static field for all the grant information that we can potentially export.
    * @var array
    */
   static $_exportableFields = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Get events Summary
+   * Get events Summary.
    *
    *
    * @param bool $admin
@@ -88,7 +88,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Get events Summary
+   * Get events Summary.
    *
    *
    * @return array
@@ -110,7 +110,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -130,7 +130,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Add grant
+   * Add grant.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -231,7 +231,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Create the event
+   * Create the event.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -293,7 +293,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Delete the Contact
+   * Delete the Contact.
    *
    * @param int $id
    *   Contact id.
@@ -309,7 +309,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Delete the grant
+   * Delete the grant.
    *
    * @param int $id
    *   Grant id.
@@ -340,7 +340,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Combine all the exportable fields from the lower levels object
+   * Combine all the exportable fields from the lower levels object.
    *
    * @return array
    *   array of exportable Fields
@@ -397,7 +397,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Get grant record count for a Contact
+   * Get grant record count for a Contact.
    *
    * @param int $contactID
    *
index ef705d7b87f70c88ae3ff7f44341055775288124..f10860f4767f2000d4bf2576f44184cc066709df 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * Build select for CiviGrant
+   * Build select for CiviGrant.
    *
    * @param $query
    *
@@ -98,7 +98,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * Given a list of conditions in params generate the required
+   * Given a list of conditions in params generate the required.
    * where clause
    *
    * @param $query
@@ -317,7 +317,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * Getter for the qill object
+   * Getter for the qill object.
    *
    * @return string
    */
@@ -356,7 +356,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * Add all the elements shared between grant search and advanaced search
+   * Add all the elements shared between grant search and advanaced search.
    *
    *
    * @param CRM_Core_Form $form
index de4ab1561e63720927f08902214e397a8e7fe010..ebb415c375cdb48cd32ea8c7e982ff495cb161e1 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Grant_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 4428b7d63a1ba8e8f74e08230bae488fb51e8db9..7b36046e4685280f4b52355b68036494db61172a 100644 (file)
 class CRM_Grant_Form_Grant extends CRM_Core_Form {
 
   /**
-   * The id of the case that we are proceessing
+   * The id of the case that we are proceessing.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The id of the contact associated with this contribution
+   * The id of the contact associated with this contribution.
    *
    * @var int
    */
@@ -56,7 +56,7 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form {
   protected $_context;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -166,7 +166,7 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -254,7 +254,7 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 8508dca8da70a2fb0b73fd03ed1f44e7d75a6148..e34817bb98539e62ada0dd2a037d26ac260155e9 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Grant_Form_GrantView extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -126,7 +126,7 @@ class CRM_Grant_Form_GrantView extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 160beb12edb727d2d8af04e7dc45722673db4687..1fca443bf6af4def78c8c253bd4b43f0fb2128dc 100644 (file)
 class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * The params that are sent to the query
+   * The params that are sent to the query.
    *
    * @var array
    */
   protected $_queryParams;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_limit = NULL;
 
   /**
-   * Prefix for the controller
+   * Prefix for the controller.
    */
   protected $_prefix = "grant_";
 
   protected $_defaults;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -155,7 +155,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -265,7 +265,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
index e102569b3af50e3b0b4ec876277f6c68023cbdf0..a2c1d0f2a231a59595bb99276396f7d496b8b95c 100644 (file)
 class CRM_Grant_Form_Task extends CRM_Core_Form {
 
   /**
-   * The task being performed
+   * The task being performed.
    *
    * @var int
    */
   protected $_task;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_componentClause = NULL;
 
   /**
-   * The array that holds all the component ids
+   * The array that holds all the component ids.
    *
    * @var array
    */
   protected $_componentIds;
 
   /**
-   * The array that holds all the grant ids
+   * The array that holds all the grant ids.
    *
    * @var array
    */
   protected $_grantIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
@@ -145,7 +145,7 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * Simple shell that derived classes can call to add buttons to
+   * Simple shell that derived classes can call to add buttons to.
    * the form with a customized title for the main Submit
    *
    * @param string $title
index 339c58019c78f0b6345e44b6579af2666fec9913..18703ab2cc6e67d11880a8833cb73154ae5a42cd 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -63,7 +63,7 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -73,7 +73,7 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 4a4cba8f73ef8639225605ab67841452ff55f355..0029937658047d5963f68e5b88b02b6ff6b2e4ab 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Grant_Form_Task_Print extends CRM_Grant_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -93,7 +93,7 @@ class CRM_Grant_Form_Task_Print extends CRM_Grant_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 81a8f5ef59170723b01d34a7018ab62055fa6a72..ed2d73a96e00b3fb099d6f940a1a3964a09e0a01 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Grant_Form_Task_Result extends CRM_Grant_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -65,7 +65,7 @@ class CRM_Grant_Form_Task_Result extends CRM_Grant_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 1115ae2633566b4b6fbce2496eb907f7ac288bda..a9ccdc7a7770e2fda70f751af5bc848c4a46afd7 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Grant_Form_Task_SearchTaskHookSample extends CRM_Grant_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -72,7 +72,7 @@ INNER JOIN civicrm_contact ct ON ( grt.contact_id = ct.id )
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index a5b7ba053d6f356ec26d623401fec54b3538003e..d2508547ff1acc6323896a595ec5ecec20a24582 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Grant_Form_Task_Update extends CRM_Grant_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -55,7 +55,7 @@ class CRM_Grant_Form_Task_Update extends CRM_Grant_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -76,7 +76,7 @@ class CRM_Grant_Form_Task_Update extends CRM_Grant_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 1fd9082ab1dbbc53200882c62590f01d63e5236d..dd2c2e28e60a3c7f8e1da708f4fa7521efdccdaa 100644 (file)
@@ -122,7 +122,7 @@ class CRM_Grant_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    */
   public function creatNewShortcut(&$shortCuts) {
index f803992479af549b268c43fd1118e95d50c29c49..8025502e6c1a79d0a514f9c82938cc0cb8e89532 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Grant_Page_Tab extends CRM_Contact_Page_View {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -49,7 +49,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View {
   public $_contactId = NULL;
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    */
   public function browse() {
@@ -69,7 +69,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View {
   }
 
   /**
-   * called when action is view
+   * called when action is view.
    *
    * @return null
    */
@@ -83,7 +83,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
@@ -97,7 +97,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View {
   }
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
index 69ba77796e533129696ce6c740cff040595dcff2..a30d5d246f7887c024891b5e5f56473a3e729184 100644 (file)
@@ -77,28 +77,28 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   );
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_limit = NULL;
 
   /**
-   * What context are we being invoked from
+   * What context are we being invoked from.
    *
    * @var string
    */
   protected $_context = NULL;
 
   /**
-   * QueryParams is the array returned by exportValues called on
+   * QueryParams is the array returned by exportValues called on.
    * the HTML_QuickForm_Controller for that page.
    *
    * @var array
@@ -106,28 +106,28 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   public $_queryParams;
 
   /**
-   * Represent the type of selector
+   * Represent the type of selector.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_grantClause = NULL;
 
   /**
-   * The query object
+   * The query object.
    *
    * @var string
    */
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
index ba2c64548a82208b4f0e6d3dc81e46bd6d6ec036..7e9d0168ffa5ef53d29f275ff1a7343a6e1db077 100644 (file)
 class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine {
 
   /**
-   * The task that the wizard is currently processing
+   * The task that the wizard is currently processing.
    *
    * @var string
    */
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
@@ -97,7 +97,7 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index d84a32dfed4bc21ad8701c00d1bc3e84afb6adbc..95cba513c3b3c448fc089a79c52d611ac5fc8f41 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Group_Controller extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param null $title
    * @param bool|int $action
index 9b63a7ae7caffaacdcd734df3d2a141f8626e588..640fce0edeaada376d3cf9ea7cd483b4bb19bcce 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Group_Form_Edit extends CRM_Core_Form {
   protected $_groupOrganizationID;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    * @acess protected
@@ -209,7 +209,7 @@ class CRM_Group_Form_Edit extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -305,7 +305,7 @@ class CRM_Group_Form_Edit extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -366,7 +366,7 @@ WHERE  title = %1
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
@@ -434,7 +434,7 @@ WHERE  title = %1
   }
 
   /**
-   * Build parent groups form elements
+   * Build parent groups form elements.
    *
    * @param CRM_Core_Form $form
    *
index bf3160855edfd9a3df080d62239ff87e5897a9e2..18020bfc4d518902ef7292cb25367e568475631a 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Define action links
+   * Define action links.
    *
    *   self::$_links array of action links
    */
@@ -51,7 +51,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Return class name of edit form
+   * Return class name of edit form.
    *
    * @return string
    */
@@ -60,7 +60,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Return name of edit form
+   * Return name of edit form.
    *
    * @return string
    */
@@ -69,7 +69,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Return name of delete form
+   * Return name of delete form.
    *
    * @return string
    */
@@ -78,7 +78,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Return user context uri to return to
+   * Return user context uri to return to.
    *
    * @param null $mode
    *
@@ -89,7 +89,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Return user context uri params
+   * Return user context uri params.
    *
    * @param null $mode
    *
@@ -100,7 +100,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Make sure that the user has permission to access this group
+   * Make sure that the user has permission to access this group.
    *
    * @param int $id
    *   The id of the object.
index 559588dae635eb28f713d062dcb7984b4e97801c..27d69a49be1b06678d6f5ab611026964d95f9657 100644 (file)
@@ -40,7 +40,7 @@
 abstract class CRM_Import_DataSource {
 
   /**
-   * Provides information about the data source
+   * Provides information about the data source.
    *
    * @return array
    *   collection of info about this data source
@@ -48,7 +48,7 @@ abstract class CRM_Import_DataSource {
   abstract public function getInfo();
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    */
   abstract public function preProcess(&$form);
 
@@ -65,7 +65,7 @@ abstract class CRM_Import_DataSource {
   abstract public function buildQuickForm(&$form);
 
   /**
-   * Process the form submission
+   * Process the form submission.
    */
   abstract public function postProcess(&$params, &$db, &$form);
 
index 4c78e8797bdff5bea1d1954f219f72392809c40a..9161375097999397f79b0af3b1c99fd7c369f98e 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
     NUM_ROWS_TO_INSERT = 100;
 
   /**
-   * Provides information about the data source
+   * Provides information about the data source.
    *
    * @return array
    *   collection of info about this data source
@@ -47,7 +47,7 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
   }
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    */
   public function preProcess(&$form) {
   }
@@ -83,7 +83,7 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    */
   public function postProcess(&$params, &$db, &$form) {
     $file = $params['uploadFile']['name'];
index c6a5cb6f939ff1b47216001502bef0434d8802e8..886b54cb68b59c5800fddea309fc125297dbae68 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Import_DataSource_SQL extends CRM_Import_DataSource {
 
   /**
-   * Provides information about the data source
+   * Provides information about the data source.
    *
    * @return array
    *   collection of info about this data source
@@ -45,7 +45,7 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource {
   }
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    */
   public function preProcess(&$form) {
   }
@@ -88,7 +88,7 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    */
   public function postProcess(&$params, &$db, &$form) {
     $importJob = new CRM_Contact_Import_ImportJob(
index fda592821a7518bb22a5764d46e84d7bc3d48976..e8e29db211bddeeaa4c622618968f14b36f1900e 100644 (file)
@@ -92,7 +92,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   }
 
   /**
-   * Attempt to match header labels with our mapper fields
+   * Attempt to match header labels with our mapper fields.
    *
    * @param string $header
    * @param array $patterns
@@ -116,7 +116,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   }
 
   /**
-   * Guess at the field names given the data and patterns from the schema
+   * Guess at the field names given the data and patterns from the schema.
    *
    * @param array $patterns
    * @param string $index
index 179efb42a546e7707a3789b890fec2b752adf9be..90af12d3ca4960ad6201f8d7acc98ca64afe948e 100644 (file)
@@ -49,7 +49,7 @@ abstract class CRM_Import_Form_Preview extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 6b993e1e76da8c9e8823f417de06fe9ab3c1a3e9..52e179e6a0f59789f96a2f5209c9ec4ece9b2679 100644 (file)
@@ -41,7 +41,7 @@
 abstract class CRM_Import_Form_Summary extends CRM_Core_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 660ed55f8441239fe904465b0ae1c2cf4bc4f563..31c1d63d640ca5e44d04e3f5a4c72a3d35e024f8 100644 (file)
@@ -192,7 +192,7 @@ abstract class CRM_Import_Parser {
   }
 
   /**
-   * Abstract function definitions
+   * Abstract function definitions.
    */
   abstract protected function init();
 
@@ -231,7 +231,7 @@ abstract class CRM_Import_Parser {
   abstract protected function import($onDuplicate, &$values);
 
   /**
-   * Set and validate field values
+   * Set and validate field values.
    *
    * @param array $elements
    *   array.
@@ -265,7 +265,7 @@ abstract class CRM_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference) associative array of name/value pairs
@@ -351,7 +351,7 @@ abstract class CRM_Import_Parser {
   }
 
   /**
-   * Setter function
+   * Setter function.
    *
    * @param int $max
    *
@@ -362,7 +362,7 @@ abstract class CRM_Import_Parser {
   }
 
   /**
-   * Determines the file extension based on error code
+   * Determines the file extension based on error code.
    *
    * @var $type error code constant
    * @return string
@@ -401,7 +401,7 @@ abstract class CRM_Import_Parser {
   }
 
   /**
-   * Determines the file name based on error code
+   * Determines the file name based on error code.
    *
    * @var $type error code constant
    * @return string
index 038cf268663a6f6e7fbf2d40d271efd318860551..846b2daa31e04c89f070e7e56c3098a07530444e 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Import_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
index fd3b756a25a929a03ac3616ec1cfa868951831d2..d9432dab3eb7f1696740ff710b4d83d129e0b85e 100644 (file)
@@ -40,14 +40,14 @@ class CRM_Mailing_BAO_BouncePattern extends CRM_Mailing_DAO_BouncePattern {
   static $_patterns = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Build the static pattern array
+   * Build the static pattern array.
    *
    * @return void
    */
index 8563e5e3f5b96005111ceba694208b41780ac527..7a632418a3b67a246a42d7b281bbadac26837a5b 100644 (file)
 class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -62,7 +62,7 @@ class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -77,7 +77,7 @@ class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component {
   }
 
   /**
-   * Create and Update mailing component
+   * Create and Update mailing component.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index 5f09d9ae04634fd07a6ea6e9483f5bcb2144956e..def033c0343fd4060582acaac8706683cbd99f69 100644 (file)
@@ -910,7 +910,7 @@ ORDER BY   i.contact_id, i.{$tempColumn}
   }
 
   /**
-   * Generate an event queue for a test job
+   * Generate an event queue for a test job.
    *
    * @param array $testParams
    *   Contains form values.
@@ -1020,7 +1020,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * Static wrapper for getting verp and urls
+   * Static wrapper for getting verp and urls.
    *
    * @param int $job_id
    *   ID of the Job associated with this message.
@@ -1144,7 +1144,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * Compose a message
+   * Compose a message.
    *
    * @param int $job_id
    *   ID of the Job associated with this message.
@@ -1532,7 +1532,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * Add the mailings
+   * Add the mailings.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -1757,7 +1757,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * Replace the list of recipients on a given mailing
+   * Replace the list of recipients on a given mailing.
    *
    * @param int $mailingId
    * @param string $type
@@ -1781,7 +1781,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * Get hash value of the mailing
+   * Get hash value of the mailing.
    *
    * @param $id
    *
@@ -2287,7 +2287,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * Get the count of mailings
+   * Get the count of mailings.
    *
    * @param
    *
@@ -2394,7 +2394,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Get the rows for a browse operation
+   * Get the rows for a browse operation.
    *
    * @param int $offset
    *   The row number to start from.
@@ -2491,7 +2491,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Show detail Mailing report
+   * Show detail Mailing report.
    *
    * @param int $id
    *
@@ -2502,7 +2502,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Delete Mails and all its associated records
+   * Delete Mails and all its associated records.
    *
    * @param int $id
    *   Id of the mail to delete.
@@ -2585,7 +2585,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Build the  compose mail form
+   * Build the  compose mail form.
    *
    * @param CRM_Core_Form $form
    *
@@ -2679,7 +2679,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Build the  compose PDF letter form
+   * Build the  compose PDF letter form.
    *
    * @param CRM_Core_Form $form
    *
@@ -2736,7 +2736,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Get the search based mailing Ids
+   * Get the search based mailing Ids.
    *
    * @return array
    *   , searched base mailing ids.
@@ -2972,7 +2972,7 @@ AND        m.id = %1
   }
 
   /**
-   * wrapper for ajax activity selector
+   * wrapper for ajax activity selector.
    *
    * @param array $params
    *   Associated array for params record id.
@@ -3059,7 +3059,7 @@ AND        m.id = %1
   }
 
   /**
-   * Retrieve contact mailing
+   * Retrieve contact mailing.
    *
    * @param array $params
    *
@@ -3078,7 +3078,7 @@ AND        m.id = %1
   }
 
   /**
-   * Retrieve contact mailing count
+   * Retrieve contact mailing count.
    *
    * @param array $params
    *
index 98d103b3830bd71431d3b75d9faa8d2914001aea..f56c74cd9e67648fc787284c8183b79750e23d08 100644 (file)
 class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB {
 
   /**
-   * class constructor
+   * class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Construct a new mailingab object
+   * Construct a new mailingab object.
    *
    * @params array $params
    *   Form values.
@@ -71,7 +71,7 @@ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB {
   }
 
   /**
-   * function to add the mailings
+   * function to add the mailings.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -113,7 +113,7 @@ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB {
 
 
   /**
-   * Delete MailingAB and all its associated records
+   * Delete MailingAB and all its associated records.
    *
    * @param int $id
    *   Id of the mail to delete.
index 4f5178e4df381251cefc90831402ad17a86a3195..d1c7cc0e564501603db3efdb5b1eab9ff30159fd 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob {
   static $mailsProcessed = 0;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -220,7 +220,7 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob {
   }
 
   /**
-   * post process to determine if the parent job
+   * post process to determine if the parent job.
    * as well as the mailing is complete after the run
    * @param null $mode
    */
@@ -379,7 +379,7 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob {
   }
 
   /**
-   * Split the parent job into n number of child job based on an offset
+   * Split the parent job into n number of child job based on an offset.
    * If null or 0 , we create only one child job
    * @param int $offset
    */
@@ -471,7 +471,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7)
   }
 
   /**
-   * Send the mailing
+   * Send the mailing.
    *
    * @param object $mailer
    *   A Mail object to send the messages.
@@ -811,7 +811,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7)
   }
 
   /**
-   * Cancel a mailing
+   * Cancel a mailing.
    *
    * @param int $mailingId
    *   The id of the mailing to be canceled.
@@ -858,7 +858,7 @@ AND    status IN ( 'Scheduled', 'Running', 'Paused' )
   }
 
   /**
-   * Return a translated status enum string
+   * Return a translated status enum string.
    *
    * @param string $status
    *   The status enum.
index 7b3da4e6f72b1d9d4b7ad73704e2e7e0a1e3ad00..0137a7b566382a220faed607fe02d8ee7978bab1 100644 (file)
@@ -378,7 +378,7 @@ class CRM_Mailing_BAO_Query {
   }
 
   /**
-   * Add all the elements shared between Mailing search and advnaced search
+   * Add all the elements shared between Mailing search and advnaced search.
    *
    *
    * @param CRM_Core_Form $form
index 4e56c2da6e86659aee9b3f98e87481361c50bf81..276a2624802182d737589a8e741662740cd2eaee 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_BAO_Recipients extends CRM_Mailing_DAO_Recipients {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
index 71d1354632730f6b42df499a691283e9741fdf80..9ed9818f3d28fe565720547ac591e9b8bfed5273 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
index 86aa45e969b19258f61365d6c085db7c6cdc063d..a2e110669dbef7fda041505039b1b74f0c170221 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_BAO_TrackableURL extends CRM_Mailing_DAO_TrackableURL {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
index f517e5b3802e80330c45745b54187c4b8fb43725..ecdd849cb1205fdd24576297a516c568c54023dd 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Mailing_Config extends CRM_Core_Component_Config {
   const OUTBOUND_OPTION_REDIRECT_TO_DB = 5;
 
   /**
-   * What should be the verp separator we use
+   * What should be the verp separator we use.
    *
    * @var char
    */
index 287ed71ad2352a4be9ee7dac713fa6ce829085d9..153e89eabbf28bb678862a6f25ee6aa19fa971d2 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Controller_Send extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param null $title
    * @param bool|int $action
index 206a44ec4f9d1dd48dcb4e402ba24ed275e07ee9..eb5b9aadf1481589e2e27b7b7131047beea30f22 100755 (executable)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -123,7 +123,7 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -177,7 +177,7 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index 47c015722e93402bc7bdca51652994c10e0bfb2d..fce4b1eb5b1555f4fa97ba3884b3a5ff06134578 100644 (file)
@@ -41,14 +41,14 @@ require_once 'Mail/mime.php';
 class CRM_Mailing_Event_BAO_Confirm extends CRM_Mailing_Event_DAO_Confirm {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Confirm a pending subscription
+   * Confirm a pending subscription.
    *
    * @param int $contact_id
    *   The id of the contact.
index 403d2428435eefd820ed488630b72241a0e5f558..807d5db00ac6f31c4e1277d994cada99e89caa56 100755 (executable)
 class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Create a new delivery event
+   * Create a new delivery event.
    *
    * @param array $params
    *   Associative array of delivery event values.
@@ -81,7 +81,7 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -140,7 +140,7 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index 80018af16d269ed072a8aea0c28eb46fb8edb58f..6fdaf5dfa69e4a891db3dbf77e0f4102842b720e 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -223,7 +223,7 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -277,7 +277,7 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index 914fe31981838dc9ae04400ae77f6811fce9d027..7cb56fcfe9fc6c7748f5b70dcf41c11cba499d60 100755 (executable)
 class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Register an open event
+   * Register an open event.
    *
    * @param int $queue_id
    *   The Queue Event ID of the recipient.
@@ -68,7 +68,7 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -166,7 +166,7 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
   }
 
   /**
-   * Get opened count for each mailing for a given set of mailing IDs and a specific contact
+   * Get opened count for each mailing for a given set of mailing IDs and a specific contact.
    *
    * @param int $mailingIDs
    *   IDs of the mailing (comma separated).
@@ -208,7 +208,7 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index cd2fa1ce3815fee8b8f29630debc6477dd3e7f3d..2ef58982327d29b9169b41d4194c02ede3ab6b23 100644 (file)
 class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Queue a new recipient
+   * Queue a new recipient.
    *
    * @param array $params
    *   Values of the new EventQueue.
@@ -131,7 +131,7 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
   }
 
   /**
-   * Count up events given a mailing id and optional job id
+   * Count up events given a mailing id and optional job id.
    *
    * @param int $mailing_id
    *   ID of the mailing to count.
@@ -166,7 +166,7 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -251,7 +251,7 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
   }
 
   /**
-   * Get the mailing object for this queue event instance
+   * Get the mailing object for this queue event instance.
    *
    * @param
    *
index bf25048f02026b932f88b0dbc36fac406c2fda0b..8ebbe9968187803b63dfeb41d0ca7c42756d277b 100644 (file)
@@ -44,7 +44,7 @@ require_once 'ezc/autoload/mail_autoload.php';
 class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -103,7 +103,7 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
   }
 
   /**
-   * Forward a mailing reply
+   * Forward a mailing reply.
    *
    * @param int $queue_id
    *   Queue event ID of the sender.
@@ -211,7 +211,7 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
   }
 
   /**
-   * Send an automated response
+   * Send an automated response.
    *
    * @param object $mailing
    *   The mailing object.
@@ -302,7 +302,7 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -356,7 +356,7 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index f606a35cfced08ae65d9c3da1235294302a7519e..930261622b3dc9c898e3d52ce1e5292d5b46f43c 100644 (file)
@@ -42,7 +42,7 @@ require_once 'Mail/mime.php';
 class CRM_Mailing_Event_BAO_Subscribe extends CRM_Mailing_Event_DAO_Subscribe {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -176,7 +176,7 @@ SELECT     civicrm_email.id as email_id
   }
 
   /**
-   * Verify the hash of a subscription event
+   * Verify the hash of a subscription event.
    *
    * @param int $contact_id
    *   ID of the contact.
@@ -301,7 +301,7 @@ SELECT     civicrm_email.id as email_id
   }
 
   /**
-   * Get the domain object given a subscribe event
+   * Get the domain object given a subscribe event.
    *
    * @param int $subscribe_id
    *   ID of the subscribe event.
@@ -314,7 +314,7 @@ SELECT     civicrm_email.id as email_id
   }
 
   /**
-   * Get the group details to which given email belongs
+   * Get the group details to which given email belongs.
    *
    * @param string $email
    *   Email of the contact.
@@ -365,7 +365,7 @@ SELECT     civicrm_email.id as email_id
   }
 
   /**
-   * Send subscribe mail
+   * Send subscribe mail.
    *
    * @param array $groups
    *   The list of group ids for subscribe.
index dcadfa6bd5d7063af6906d0c4c6cacf039a556ae..70b00aa6f45f87c52a8dfa2d382db8c41be57f85 100755 (executable)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_TrackableURLOpen {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
@@ -96,7 +96,7 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -198,7 +198,7 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
   }
 
   /**
-   * Get tracked url count for each mailing for a given set of mailing IDs
+   * Get tracked url count for each mailing for a given set of mailing IDs.
    *
    * @param int $mailingIDs
    *   IDs of the mailing (comma separated).
@@ -240,7 +240,7 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index da8f6d03b71394369582a1deae015666197eee83..bbdd2e853726690c917dc80ebe9279e85dee62b3 100755 (executable)
@@ -41,14 +41,14 @@ require_once 'Mail/mime.php';
 class CRM_Mailing_Event_BAO_Unsubscribe extends CRM_Mailing_Event_DAO_Unsubscribe {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Unsubscribe a contact from the domain
+   * Unsubscribe a contact from the domain.
    *
    * @param int $job_id
    *   The job ID.
@@ -114,7 +114,7 @@ WHERE  email = %2
   }
 
   /**
-   * Unsubscribe a contact from all groups that received this mailing
+   * Unsubscribe a contact from all groups that received this mailing.
    *
    * @param int $job_id
    *   The job ID.
@@ -288,7 +288,7 @@ WHERE  email = %2
   }
 
   /**
-   * Send a reponse email informing the contact of the groups from which he
+   * Send a reponse email informing the contact of the groups from which he.
    * has been unsubscribed.
    *
    * @param string $queue_id
@@ -412,7 +412,7 @@ WHERE  email = %2
   }
 
   /**
-   * Get row count for the event selector
+   * Get row count for the event selector.
    *
    * @param int $mailing_id
    *   ID of the mailing.
@@ -479,7 +479,7 @@ WHERE  email = %2
   }
 
   /**
-   * Get rows for the event browser
+   * Get rows for the event browser.
    *
    * @param int $mailing_id
    *   ID of the mailing.
index ebce0e735fb21606f89bde7c1943dc912810fa57..8771bb0ef64e48b682388622c58f4e4c1aa3848b 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form {
   }
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -245,7 +245,7 @@ class CRM_Mailing_Form_Approve extends CRM_Core_Form {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index f8e714d1ab6e541e644489f669cca468e455bb2c..56fdd6c152ec86bcce62ae6a11c8ebb321cbe01c 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 32d1e8fad2bed95fad3ecb4ccc0e57eae770348c..ae7596a96c49c1c514e88597f0d22ff9a7220f93 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * The name of the BAO object for this form
+   * The name of the BAO object for this form.
    *
    * @var string
    */
@@ -59,7 +59,7 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -128,7 +128,7 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
@@ -150,7 +150,7 @@ class CRM_Mailing_Form_Component extends CRM_Core_Form {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
index f5d1b18aed2d3384ec73f972e070256d4e5b9017..b93eb7eeabfbc9bd1ce2ad86ff0ba39c33f1d2d4 100644 (file)
@@ -71,7 +71,7 @@ class CRM_Mailing_Form_ForwardMailing extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 9909ad72865536c0cf5fed5cb045fa9bc4517d85..fa32ee4eaa60702c34b7de42936c7e827bdbdf6e 100644 (file)
 class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
 
   /**
-   * The mailing ID of the mailing if we are resuming a mailing
+   * The mailing ID of the mailing if we are resuming a mailing.
    *
    * @var integer
    */
   protected $_mailingID;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -183,7 +183,7 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -541,7 +541,7 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
@@ -551,7 +551,7 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index ceea9a58f54cd46cf6947d47779c7845b6dcd14b..2635ff21fc4d9dd8860c65b73b865749ae6e4401 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Form_Schedule extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -88,7 +88,7 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object for the last step of the mailing wizard
+   * Build the form object for the last step of the mailing wizard.
    *
    * @param
    *
@@ -348,7 +348,7 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index 21a7c31ec8af5f7d66442e2291d2584d977e30e9..70950afbfb484ca254b879f251597242de32cda0 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Form_Settings extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -99,7 +99,7 @@ class CRM_Mailing_Form_Settings extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -249,7 +249,7 @@ class CRM_Mailing_Form_Settings extends CRM_Core_Form {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index b8d91680468b34ae09c429a6f73c5ad2ddd321c2..8b701e62d31455d81ea690925a5c9daaa49a6228 100644 (file)
@@ -76,7 +76,7 @@ SELECT   title, description
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index a2a6ced6daafb2e92d4c9774e6ab1082652088fe..94de4560cc297ad5380a0f760b89c70f672e42be 100644 (file)
 class CRM_Mailing_Form_Task extends CRM_Core_Form {
 
   /**
-   * The task being performed
+   * The task being performed.
    *
    * @var int
    */
   protected $_task;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_componentClause = NULL;
 
   /**
-   * The array that holds all the component ids
+   * The array that holds all the component ids.
    *
    * @var array
    */
   protected $_componentIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
index cfd35bc75fdfd0a7eb4e71d962a80f3f85ab53ab..2339dd8dd6a9516b143fa00b5b45a4a869c6ab3a 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Form_Task_Print extends CRM_Mailing_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -93,7 +93,7 @@ class CRM_Mailing_Form_Task_Print extends CRM_Mailing_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 1b2b6dc06a6d23d3ab7aa8035a00f70073f2eb18..ba492fffb22f08c6c1cab4407045f5284be618f9 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Form_Test extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -376,7 +376,7 @@ ORDER BY   e.is_bulkmail DESC, e.is_primary DESC
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index ff7833e627ccd9d32e8dd054ec0e565199811158..7a57421c4cc0300c54a15144cbb23357be7ccdfa 100644 (file)
@@ -201,7 +201,7 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -504,7 +504,7 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -681,7 +681,7 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index 480e936d0980514d255d4dd17218038de8210f79..13f744e5877fb343b8c9ecba94072c725a05ff46 100644 (file)
@@ -263,7 +263,7 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    */
   public function creatNewShortcut(&$shortCuts) {
index 6f3f644ca9d68167a314b7c27e1b34acc6015340..b50e70c7ae51ac0439618ffdbf3949cb1a80c99e 100644 (file)
@@ -84,7 +84,7 @@ class CRM_Mailing_MailStore {
   }
 
   /**
-   * Return all emails in the mail store
+   * Return all emails in the mail store.
    *
    * @return array
    *   array of ezcMail objects
@@ -100,7 +100,7 @@ class CRM_Mailing_MailStore {
   }
 
   /**
-   * Return the next X messages from the mail store
+   * Return the next X messages from the mail store.
    *
    * @param int $count
    *   Number of messages to fetch (0 to fetch all).
index d4aacc00687418bd1be481b17dca4ab3e3033318..450042306a9ee1c506af650889a47f9ae9799e92 100644 (file)
@@ -42,7 +42,7 @@ require_once 'ezc/autoload/mail_autoload.php';
 class CRM_Mailing_MailStore_Imap extends CRM_Mailing_MailStore {
 
   /**
-   * Connect to the supplied IMAP server and make sure the two mailboxes exist
+   * Connect to the supplied IMAP server and make sure the two mailboxes exist.
    *
    * @param string $host
    *   Host to connect to.
@@ -99,7 +99,7 @@ class CRM_Mailing_MailStore_Imap extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Move the specified message to the ignored folder
+   * Move the specified message to the ignored folder.
    *
    * @param int $nr
    *   Number of the message to move.
@@ -116,7 +116,7 @@ class CRM_Mailing_MailStore_Imap extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Move the specified message to the processed folder
+   * Move the specified message to the processed folder.
    *
    * @param int $nr
    *   Number of the message to move.
index dfa634f780ce918ab4d72069482302fbba232e0c..ed988ee216b08b065c30047fd66e877be50869e4 100644 (file)
@@ -42,7 +42,7 @@ require_once 'ezc/autoload/mail_autoload.php';
 class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
 
   /**
-   * Connect to the supplied dir and make sure the two mail dirs exist
+   * Connect to the supplied dir and make sure the two mail dirs exist.
    *
    * @param string $dir
    *   Dir to operate upon.
@@ -67,7 +67,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Return the next X messages from the mail store
+   * Return the next X messages from the mail store.
    * FIXME: in CiviCRM 2.2 this always returns all the emails
    *
    * @param int $count
@@ -125,7 +125,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local ignore folder
+   * Fetch the specified message to the local ignore folder.
    *
    * @param int $file
    *   File location of the message to fetch.
@@ -144,7 +144,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local processed folder
+   * Fetch the specified message to the local processed folder.
    *
    * @param int $file
    *   File location of the message to fetch.
index 7ce192a40310b96bcc328b7f52c583bc25c365ae..cba1b5f5c4412b7f6bf10118c925fd35030c386b 100644 (file)
@@ -42,7 +42,7 @@ require_once 'ezc/autoload/mail_autoload.php';
 class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
 
   /**
-   * Connect to the supplied dir and make sure the two mail dirs exist
+   * Connect to the supplied dir and make sure the two mail dirs exist.
    *
    * @param string $dir
    *   Dir to operate upon.
@@ -67,7 +67,7 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Return the next X messages from the mail store
+   * Return the next X messages from the mail store.
    * FIXME: in CiviCRM 2.2 this always returns all the emails
    *
    * @param int $count
@@ -108,7 +108,7 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local ignore folder
+   * Fetch the specified message to the local ignore folder.
    *
    * @param int $file
    *   File location of the message to fetch.
@@ -127,7 +127,7 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local processed folder
+   * Fetch the specified message to the local processed folder.
    *
    * @param int $file
    *   File location of the message to fetch.
index fd768e8d31bf1500ba7e769a7c99972fa69423fc..9ebbc84edc56d57a6742c7e6252e157b69d0cb1a 100644 (file)
@@ -42,7 +42,7 @@ require_once 'ezc/autoload/mail_autoload.php';
 class CRM_Mailing_MailStore_Mbox extends CRM_Mailing_MailStore {
 
   /**
-   * Connect to and lock the supplied file and make sure the two mail dirs exist
+   * Connect to and lock the supplied file and make sure the two mail dirs exist.
    *
    * @param string $file
    *   Mbox to operate upon.
@@ -86,7 +86,7 @@ class CRM_Mailing_MailStore_Mbox extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local ignore folder
+   * Fetch the specified message to the local ignore folder.
    *
    * @param int $nr
    *   Number of the message to fetch.
@@ -104,7 +104,7 @@ class CRM_Mailing_MailStore_Mbox extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local processed folder
+   * Fetch the specified message to the local processed folder.
    *
    * @param int $nr
    *   Number of the message to fetch.
index 4dbf594d30c6c525520971e90c07c2012b034f08..cffb9fe6efb18c2fe20d35f155bc9ea720abc711 100644 (file)
@@ -79,7 +79,7 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local ignore folder
+   * Fetch the specified message to the local ignore folder.
    *
    * @param int $nr
    *   Number of the message to fetch.
@@ -97,7 +97,7 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
   }
 
   /**
-   * Fetch the specified message to the local processed folder
+   * Fetch the specified message to the local processed folder.
    *
    * @param int $nr
    *   Number of the message to fetch.
index 9812ab0fabcd947464f4735c61318713038d62c4..60e7d43e193c1a2b89190bb3c3b4aeb339c4c873 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Mailing_Page_AJAX {
   }
 
   /**
-   * Retrieve contact mailings
+   * Retrieve contact mailings.
    */
   public static function getContactMailings() {
     $contactID = CRM_Utils_Type::escape($_GET['contact_id'], 'Integer');
index be2eb4931d56ca3acca8bbd561e1d1ee335fc39a..ca71f146f4395cfef93bd9bf9f136e23ca05de92 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Mailing_Page_Browse extends CRM_Core_Page {
 
   /**
-   * All the fields that are listings related
+   * All the fields that are listings related.
    *
    * @var array
    */
@@ -67,7 +67,7 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
   public $_archived;
 
   /**
-   * Scheduled mailing
+   * Scheduled mailing.
    *
    * @boolean
    */
index 625081fbd29799b9928a24af2ce5545909814d18..e588d43fa26501c24168578fed4d441f721857b2 100644 (file)
 class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -57,7 +57,7 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -87,7 +87,7 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -97,7 +97,7 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 526f8b8771361f877a8ab415f194f38872892338..d39e35126e0070ada5ea4cd543b852b122f8470f 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Mailing_Page_Event extends CRM_Core_Page {
 
   /**
-   * All the fields that are listings related
+   * All the fields that are listings related.
    *
    * @var array
    */
index 018616ad0813041133734fab3c930bbb167362d7..03adcfa276b77fc13a4bd56971c79ab8230a96e5 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Mailing_Page_Report extends CRM_Core_Page_Basic {
   public $_mailing_id;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO
index e63a47ed8cab5b37ce4d29f4f86865c5ea6738a1..4dffe4a5d6ee97a8b1548b31d83f1fbcf027a309 100644 (file)
@@ -37,7 +37,7 @@
  */
 class CRM_Mailing_Page_Tab extends CRM_Contact_Page_View {
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
index 34dcd0a686e76da63a64905e022bcc3d1cdd6a2f..d6e0b9d5c2663e7a69f9b9b0195974545889ff4e 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
   protected $_contactID;
 
   /**
-   * Lets do permission checking here
+   * Lets do permission checking here.
    * First check for valid mailing, if false return fatal
    * Second check for visibility
    * Call a hook to see if hook wants to override visibility setting
index 4b7750c227b1976cef46ea69f9c1dc925971166e..12e48891420339e7e99b044f063689ddc9413911 100644 (file)
@@ -63,7 +63,7 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
   private static $defaultComponent;
 
   /**
-   * Get all the mailing components of a particular type
+   * Get all the mailing components of a particular type.
    *
    * @param $type
    *   The type of component needed.
@@ -102,7 +102,7 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Determine the default mailing component of a given type
+   * Determine the default mailing component of a given type.
    *
    * @param $type
    *   The type of component needed.
@@ -132,7 +132,7 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the mailing templates
+   * Get all the mailing templates.
    *
    *
    * @return array
@@ -146,7 +146,7 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the completed mailing
+   * Get all the completed mailing.
    *
    *
    * @param null $mode
index 3189ce9956ce49e50cacf28a1e1010d2bc8c11ed..fcddb87b4708c5c455919e311efd918fd7addb98 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
   protected $_parent;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    *
    * @return \CRM_Mailing_Selector_Browse
@@ -206,7 +206,7 @@ LEFT JOIN  civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index a81627a53badb0b0dbf65bbf5e4fd5bca24e3a4b..4239df660975405a95f2aa540eeea5a1267934b3 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   public $_columnHeaders;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param string $event
    *   The event type (queue/delivered/open...).
@@ -338,7 +338,7 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index f50f13c1cad552f689f7dfe170e283f02345f581..f1d238bc148ef35969858bfe22873492c15f8d7c 100644 (file)
@@ -109,28 +109,28 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   public $_queryParams;
 
   /**
-   * Represent the type of selector
+   * Represent the type of selector.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_mailingClause = NULL;
 
   /**
-   * The query object
+   * The query object.
    *
    * @var string
    */
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
@@ -256,7 +256,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index ff2ac2ae6091e42575c5da1ca24aa459a1fbc6ee..2fbbfd767712c35aa017198808ddfd53ccf15e1e 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Mailing_StateMachine_Send extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param CRM_Mailing_Controller $controller
    * @param \const|int $action
index bf372072925c92b67bd02d33c98374b3dd51c512..20654f2af8b18a2da0e1cf03d6eccceae01802f8 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Mailing_Task {
   }
 
   /**
-   * These tasks are the core set of tasks that the user can perform
+   * These tasks are the core set of tasks that the user can perform.
    * on mailing recipients
    *
    * @param int $value
index d23820246455749cd29c45ad8109ac4e77055c15..20cc3a7f6b155f5d29ebbe56d3dd70e4be97f36f 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
 
   /**
-   * Static field for all the membership information that we can potentially import
+   * Static field for all the membership information that we can potentially import.
    *
    * @var array
    */
@@ -46,7 +46,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
   static $_signupActType = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Member_DAO_Membership
    */
@@ -57,7 +57,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
   }
 
   /**
-   * Takes an associative array and creates a membership object
+   * Takes an associative array and creates a membership object.
    *
    * the function extracts all the params it needs to initialize the created
    * membership object. The params array could contain additional unused name/value
@@ -224,7 +224,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
   }
 
   /**
-   * Takes an associative array and creates a membership object
+   * Takes an associative array and creates a membership object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -437,7 +437,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
   }
 
   /**
-   * Check the membership extended through relationship
+   * Check the membership extended through relationship.
    *
    * @param int $membershipId
    *   Membership id.
@@ -503,10 +503,9 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. We'll tweak this function to be more
-   * full featured over a period of time. This is the inverse function of
-   * create.  It also stores all the retrieved values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -668,7 +667,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Delete related memberships
+   * Delete related memberships.
    *
    * @param int $ownerMembershipId
    * @param int $contactId
@@ -729,7 +728,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Build Membership  Block in Contribution Pages
+   * Build Membership  Block in Contribution Pages.
    *
    * @param CRM_Core_Form $form
    *   Form object.
@@ -934,7 +933,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Return Membership Block info in Contribution Pages
+   * Return Membership Block info in Contribution Pages.
    *
    * @param int $pageID
    *   Contribution page id.
@@ -972,7 +971,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Return a current membership of given contact
+   * Return a current membership of given contact.
    * NB: if more than one membership meets criteria, a randomly selected one is returned.
    *
    * @param int $contactID
@@ -1071,7 +1070,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Combine all the importable fields from the lower levels object
+   * Combine all the importable fields from the lower levels object.
    *
    * @param string $contactType
    *   Contact type.
@@ -1136,7 +1135,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Get all exportable fields
+   * Get all exportable fields.
    *
    * @retun array return array of all exportable fields
    */
@@ -1265,7 +1264,7 @@ AND civicrm_membership.is_test = %2";
   }
 
   /**
-   * Function check the status of the membership before adding membership for a contact
+   * Function check the status of the membership before adding membership for a contact.
    *
    * @param int $contactId
    *   Contact id.
@@ -1279,7 +1278,7 @@ AND civicrm_membership.is_test = %2";
   }
 
   /**
-   * Process the Memberships
+   * Process the Memberships.
    *
    * @param array $membershipParams
    *   Array of membership fields.
@@ -1560,7 +1559,7 @@ AND civicrm_membership.is_test = %2";
   }
 
   /**
-   * Method to fix membership status of stale membership
+   * Method to fix membership status of stale membership.
    *
    * This method first checks if the membership is stale. If it is,
    * then status will be updated based on existing start and end
@@ -1653,7 +1652,7 @@ AND civicrm_membership.is_test = %2";
   }
 
   /**
-   * Get the contribution page id from the membership record
+   * Get the contribution page id from the membership record.
    *
    * @param int $membershipID
    *
@@ -1675,7 +1674,7 @@ SELECT c.contribution_page_id as pageID
   }
 
   /**
-   * Updated related memberships
+   * Updated related memberships.
    *
    * @param int $ownerMembershipId
    *   Owner Membership Id.
@@ -1699,7 +1698,7 @@ SELECT c.contribution_page_id as pageID
   }
 
   /**
-   * Get list of membership fields for profile
+   * Get list of membership fields for profile.
    * For now we only allow custom membership fields to be in
    * profile
    *
@@ -1725,7 +1724,7 @@ SELECT c.contribution_page_id as pageID
   }
 
   /**
-   * Get the sort name of a contact for a particular membership
+   * Get the sort name of a contact for a particular membership.
    *
    * @param int $id
    *   Id of the membership.
@@ -1746,7 +1745,7 @@ WHERE  civicrm_membership.contact_id = civicrm_contact.id
   }
 
   /**
-   * Create memberships for related contacts
+   * Create memberships for related contacts.
    * takes into account the maximum related memberships
    *
    * @param array $params
@@ -1919,7 +1918,7 @@ WHERE  civicrm_membership.contact_id = civicrm_contact.id
   }
 
   /**
-   * Delete the record that are associated with this Membership Payment
+   * Delete the record that are associated with this Membership Payment.
    *
    * @param int $membershipId
    *
@@ -2003,7 +2002,7 @@ FROM   civicrm_membership_type
   }
 
   /**
-   * Get membership record count for a Contact
+   * Get membership record count for a Contact.
    *
    * @param int $contactID
    * @param bool $activeOnly
@@ -2058,7 +2057,7 @@ FROM   civicrm_membership_type
   }
 
   /**
-   * Check whether subscription is already cancelled
+   * Check whether subscription is already cancelled.
    *
    * @param int $mid
    *   Membership id.
@@ -2185,7 +2184,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Where a second separate financial transaction is supported we will process it here
+   * Where a second separate financial transaction is supported we will process it here.
    *
    * @param int $contactID
    * @param CRM_Contribute_Form_Contribution_Confirm $form
@@ -2307,7 +2306,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Turn array of errors into message string
+   * Turn array of errors into message string.
    *
    * @param array $errors
    *
@@ -2323,7 +2322,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Extract relevant values from the form so we can separate form logic from BAO logcis
+   * Extract relevant values from the form so we can separate form logic from BAO logcis.
    *
    * @param CRM_Core_Form $form
    * @param $changeToday
@@ -2661,7 +2660,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Retrieve the contribution id for the associated Membership id
+   * Retrieve the contribution id for the associated Membership id.
    * @todo we should get this off the line item
    *
    * @param int $membershipId
@@ -2894,7 +2893,7 @@ WHERE      civicrm_membership.is_test = 0";
   }
 
   /**
-   * Record contribution record associated with membership
+   * Record contribution record associated with membership.
    *
    * @param array $params
    *   Array of submitted params.
@@ -2983,7 +2982,7 @@ WHERE      civicrm_membership.is_test = 0";
   }
 
   /**
-   * Record line items for default membership
+   * Record line items for default membership.
    *
    * @param CRM_Core_Form $qf
    * @param array $membershipType
index 6580800f6e894f9984352154f8fc14557237bae0..e78153364956edb502b3dbf977e655942f12049c 100644 (file)
  */
 class CRM_Member_BAO_MembershipBlock extends CRM_Member_DAO_MembershipBlock {
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Add the membership Blocks
+   * Add the membership Blocks.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -61,7 +61,7 @@ class CRM_Member_BAO_MembershipBlock extends CRM_Member_DAO_MembershipBlock {
   }
 
   /**
-   * Delete membership Blocks
+   * Delete membership Blocks.
    *
    * @param int $id
    *
index 781e8c889e494f9c8fbe9f65ef4b1b04d588dc61..c6392fd6150a592bc49e3220d3a2462ac75a14ed 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Member_BAO_MembershipLog extends CRM_Member_DAO_MembershipLog {
 
   /**
-   * Add the membership log record
+   * Add the membership log record.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -56,7 +56,7 @@ class CRM_Member_BAO_MembershipLog extends CRM_Member_DAO_MembershipLog {
   }
 
   /**
-   * Delete membership log record
+   * Delete membership log record.
    *
    * @param int $membershipID
    *
index 581165c03068a9105decff6f4d402bd344c90719..ca03afde579dfcbc8f73c298c251fb7840b6e3a3 100644 (file)
@@ -36,14 +36,14 @@ class CRM_Member_BAO_MembershipPayment extends CRM_Member_DAO_MembershipPayment
 
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Add the membership Payments
+   * Add the membership Payments.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -85,7 +85,7 @@ class CRM_Member_BAO_MembershipPayment extends CRM_Member_DAO_MembershipPayment
   }
 
   /**
-   * Delete membership Payments
+   * Delete membership Payments.
    *
    * @param int $id
    *
index 55daadbac96013549402a01d475a44e2f37a70d3..0fa83b3a05dda5a88fecd9e52023726655bbdfe3 100644 (file)
 class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
 
   /**
-   * Static holder for the default LT
+   * Static holder for the default LT.
    */
   static $_defaultMembershipStatus = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -67,7 +67,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -82,7 +82,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Takes an associative array and creates a membership Status object
+   * Takes an associative array and creates a membership Status object.
    * See http://wiki.civicrm.org/confluence/display/CRM/Database+layer
    *
    * @param array $params
@@ -109,7 +109,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Add the membership types
+   * Add the membership types.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -152,7 +152,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Get defaults for new entity
+   * Get defaults for new entity.
    * @return array
    */
   public static function getDefaults() {
@@ -165,7 +165,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Get  membership status
+   * Get  membership status.
    *
    * @param int $membershipStatusId
    *
@@ -182,7 +182,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Delete membership Types
+   * Delete membership Types.
    *
    * @param int $membershipStatusId
    *
@@ -375,7 +375,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Function that return the status ids whose is_current_member is set
+   * Function that return the status ids whose is_current_member is set.
    *
    * @return array
    */
index 30e872327f01c5bf655130a160d03ee10a9b2fe7..bb3897884ce2d6afbaba15cc947739a6dedd140b 100644 (file)
@@ -436,7 +436,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Does this membership start between the rollover date and the start of the next period
+   * Does this membership start between the rollover date and the start of the next period.
    * (in which case they will get an extra membership period)
    *  ie if annual memberships run June - May & the rollover is in May memberships between
    * May and June will return TRUE and between June and May will return FALSE
@@ -486,7 +486,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Calculate start date and end date for renewal membership
+   * Calculate start date and end date for renewal membership.
    *
    * @param int $membershipId
    * @param $changeToday
@@ -598,7 +598,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Retrieve all Membership Types associated
+   * Retrieve all Membership Types associated.
    * with an Organization
    *
    * @param int $orgID
@@ -620,7 +620,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Retrieve all Membership Types with Member of Contact id
+   * Retrieve all Membership Types with Member of Contact id.
    *
    * @param array $membershipTypes
    *   array of membership type ids
index a8eeaebd2eb276e77a08ade13b3d04acdb8f9183..ac64c676e326654e363bf6403c782c1d16560f9d 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Member_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 386f6fb5b2e3f2f74c14dbc89f25c1092cc1c66e..cb933329be69972ce7f56e94f9c2f94080618376 100644 (file)
@@ -118,7 +118,7 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 315efb07dbff6fbff2f24d1c42fd79c72567a0a5..8ef8bf90dc425bb082e290237bdb5cd93d58114e 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
   protected $_memTypeSelected;
 
   /**
-   * Display name of the member
+   * Display name of the member.
    *
    * @var string
    */
@@ -64,7 +64,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
   protected $_memberEmail = NULL;
 
   /**
-   * Contact ID of the member
+   * Contact ID of the member.
    *
    * @var int
    */
@@ -90,7 +90,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
   protected $_contributorContactID = NULL;
 
   /**
-   * ID of the person the receipt is to go to
+   * ID of the person the receipt is to go to.
    *
    * @var int
    */
@@ -372,7 +372,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -750,7 +750,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -992,7 +992,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
@@ -1714,7 +1714,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * Send email receipt
+   * Send email receipt.
    *
    * @param CRM_Core_Form $form
    *   Form object.
index 7313ecc15cc97957d4183dcf0cc8335dcc752c5b..14010972163cde8c14a112be00c51c27df2634b1 100644 (file)
@@ -109,7 +109,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -215,7 +215,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -324,7 +324,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index 7c2e8c82f6026dc5ed51ae91d5a092444a983c9f..022a2a33e9ba18fecf34cbd44ce10fb9586fc53e 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form {
   public $_id;
 
   /**
-   * The name of the BAO object for this form
+   * The name of the BAO object for this form.
    *
    * @var string
    */
@@ -98,7 +98,7 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 995bb8378850fd92ddade8e1e4c864e968ff2e42..2a52f6934a4d7eb1e3a844deffd9020cafec90b7 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form {
 
   /**
-   * Display name of the member
+   * Display name of the member.
    *
    * @var string
    */
@@ -52,7 +52,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form {
   protected $_memberEmail = NULL;
 
   /**
-   * Contact ID of the member
+   * Contact ID of the member.
    *
    *
    * @var int
@@ -266,7 +266,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -477,7 +477,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -511,7 +511,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * Process the renewal form
+   * Process the renewal form.
    *
    *
    * @return void
index 1d80f51b61329d1bed845fe08c4e4de5459bb09b..de99bad67b680b254f7464cdca1a12b1ac668dab 100644 (file)
@@ -57,7 +57,7 @@ class CRM_Member_Form_MembershipStatus extends CRM_Member_Form_MembershipConfig
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -105,7 +105,7 @@ class CRM_Member_Form_MembershipStatus extends CRM_Member_Form_MembershipConfig
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index ef83468912c5733bb8be6c3ce1c67d5815d79acc..5f0920f6a80e43f29269cab0a32603cc77436b17 100644 (file)
@@ -106,7 +106,7 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -209,7 +209,7 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -288,7 +288,7 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index c019ee18991c7a543a29965f678fd565e64587b8..398d649c9bf0a53f0dbe9f3f70df2b670a4e6033 100644 (file)
 class CRM_Member_Form_MembershipView extends CRM_Core_Form {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Add context information at the end of a link
+   * Add context information at the end of a link.
    *
    * @return string
    *   extra query parameters
@@ -63,7 +63,7 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -89,7 +89,7 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form {
   }
 
   /**
-   * Perform create or delete action on related memberships
+   * Perform create or delete action on related memberships.
    *
    * @param string $action
    *   Create or delete.
@@ -143,7 +143,7 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form {
   }
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -393,7 +393,7 @@ SELECT r.id, c.id as cid, c.display_name as name, c.job_title as comment,
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 26a1cddde3bdca1b95ddb9bdd13b6d110e99e549..2fc260218db49e915c78fbd373da3f382d0269ec 100644 (file)
 class CRM_Member_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * The params that are sent to the query
+   * The params that are sent to the query.
    *
    * @var array
    */
   protected $_queryParams;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
@@ -66,12 +66,12 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * Prefix for the controller
+   * Prefix for the controller.
    */
   protected $_prefix = "member_";
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -153,7 +153,7 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
index 25e507e2aad913122f25ef614649d2a6fb3e3679..f86cee5e964229fcc871930c0e40237d42a624ed 100644 (file)
 class CRM_Member_Form_Task extends CRM_Core_Form {
 
   /**
-   * The task being performed
+   * The task being performed.
    *
    * @var int
    */
   protected $_task;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_componentClause = NULL;
 
   /**
-   * The array that holds all the component ids
+   * The array that holds all the component ids.
    *
    * @var array
    */
   protected $_componentIds;
 
   /**
-   * The array that holds all the contact ids
+   * The array that holds all the contact ids.
    *
    * @var array
    */
   public $_contactIds;
 
   /**
-   * The array that holds all the member ids
+   * The array that holds all the member ids.
    *
    * @var array
    */
   protected $_memberIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
@@ -162,7 +162,7 @@ class CRM_Member_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * Simple shell that derived classes can call to add buttons to
+   * Simple shell that derived classes can call to add buttons to.
    * the form with a customized title for the main Submit
    *
    * @param string $title
index 878fdbfe8d81dd29bb0b86867308aa89f2267873..8a34e3846992bcbe5cd826ca226baba6a6f7e0f7 100644 (file)
 class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Maximum profile fields that will be displayed
+   * Maximum profile fields that will be displayed.
    */
   protected $_maxFields = 9;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -81,7 +81,7 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -203,7 +203,7 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 10d76dec62d113581804b92a7a85aa0cbe99f23f..a661a50ba579822cd3f51ab6669d067292efe63a 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Member_Form_Task_Delete extends CRM_Member_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -62,7 +62,7 @@ class CRM_Member_Form_Task_Delete extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -72,7 +72,7 @@ class CRM_Member_Form_Task_Delete extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index fdbc4378e6f46ee8180e27e2e769f2dbb708af60..3a544144725e1748900707366705a4fd388ccdaf 100644 (file)
@@ -56,14 +56,14 @@ class CRM_Member_Form_Task_Email extends CRM_Member_Form_Task {
   public $_noEmails = FALSE;
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
   public $_templates = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -78,7 +78,7 @@ class CRM_Member_Form_Task_Email extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -91,7 +91,7 @@ class CRM_Member_Form_Task_Email extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 5742c0b6c2839f7c3658a57039295d78f29a740b..47efebe95d79a072191fd93563166f145d73ee60 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -51,7 +51,7 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -78,7 +78,7 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 51f3966617a828e0eff65654eebdf506b2e3d95c..9c16fa2842b3b14199b731986a761be39b625d18 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task {
 
   /**
-   * All the existing templates in the system
+   * All the existing templates in the system.
    *
    * @var array
    */
@@ -51,7 +51,7 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task {
   public $_cid = NULL;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -63,7 +63,7 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task {
   }
 
   /**
-   * Set defaults
+   * Set defaults.
    * (non-PHPdoc)
    * @see CRM_Core_Form::setDefaultValues()
    */
@@ -72,7 +72,7 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -84,7 +84,7 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index f7df56021bde88068509de65c090bc40796fe246..1ec2201939a0a69dafb1da1d46239b5d8600ebb0 100644 (file)
@@ -7,7 +7,7 @@
 class CRM_Member_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDFLetterCommon {
 
   /**
-   * Process the form after the input has been submitted and validated
+   * 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
    *
@@ -44,7 +44,7 @@ class CRM_Member_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDFLett
   }
 
   /**
-   * Generate htmlfor pdf letters
+   * Generate htmlfor pdf letters.
    *
    * @param array $membershipIDs
    * @param array $returnProperties
index dc538ffa01c90fa615f5c39ae478f6b46547fa29..8f223965f28e6849450cba2f8a1b65e4c17e958a 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
   protected $_userContext;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -85,7 +85,7 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -108,7 +108,7 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -118,7 +118,7 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -131,7 +131,7 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 41987d83b608f2f9c2833ab238478b0b34be069a..f3d8cff4f5c55591be47e2886b4f635caca2c1bc 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Form_Task_Print extends CRM_Member_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -93,7 +93,7 @@ class CRM_Member_Form_Task_Print extends CRM_Member_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 0ddb832dcf07fffe0672f34f8b0dbec12ccef704..f0dd447ada3f77b63793c9715ff17b937a28c0cd 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Member_Form_Task_Result extends CRM_Member_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -49,7 +49,7 @@ class CRM_Member_Form_Task_Result extends CRM_Member_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 0c34a12bafbc2ddfb701317d671b44c87f9c85e5..009d8cba3bb13314fa9275b13b0646fb6b4553c5 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Form_Task_SearchTaskHookSample extends CRM_Member_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -71,7 +71,7 @@ WHERE      mem.id IN ( $memberIDs )";
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 4df02edad013c4430061029c203648fcd1c24062..1f4cfbb96d8b3b180ae130a4112c259403d73050 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Import_Form_DataSource extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -51,7 +51,7 @@ class CRM_Member_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -148,7 +148,7 @@ class CRM_Member_Import_Form_DataSource extends CRM_Core_Form {
   }
 
   /**
-   * Process the uploaded file
+   * Process the uploaded file.
    *
    * @return void
    */
index 7cb81b7299c6ea5af135d3b7bf00cabd39c334a6..35fd50658e5b811d2ef8f84cb0d0282ed955de29 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * store contactType
+   * store contactType.
    *
    * @var int
    */
@@ -48,7 +48,7 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -111,7 +111,7 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -299,7 +299,7 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index 8d2a31ad7c91501f80e18cb5c8f82183d8fd9755..8e5bc95eb5ee4bab06b176946162be17d579a9a7 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index dc2537cba8507e238f36ee9fb276cc5edc70132e..b404f79cf65161d1b34227a48774ff3d2fb08e25 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Import_Form_Summary extends CRM_Import_Form_Summary {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
index 335458f624dca741c36de901a992f423477a648e..64c694b0c11ef13cffda74a3cb7177ac7ae231f2 100644 (file)
@@ -300,7 +300,7 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Format the field values for input to the api
+   * Format the field values for input to the api.
    *
    * @return array
    *   (reference ) associative array of name/value pairs
@@ -346,7 +346,7 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Store parser values
+   * Store parser values.
    *
    * @param CRM_Core_Session $store
    *
@@ -402,7 +402,7 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * Export data to a CSV file
+   * Export data to a CSV file.
    *
    * @param string $fileName
    * @param array $header
index f57f9663bf0f5913bb8317cb47d3d1e38e9a1af9..9107d979c3e647b56d27c90529e578a2181f5b28 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   protected $_newMemberships;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
     parent::__construct();
@@ -107,7 +107,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   }
 
   /**
-   * Handle the values in mapField mode
+   * Handle the values in mapField mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -119,7 +119,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   }
 
   /**
-   * Handle the values in preview mode
+   * Handle the values in preview mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -132,7 +132,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   }
 
   /**
-   * Handle the values in summary mode
+   * Handle the values in summary mode.
    *
    * @param array $values
    *   The array of values belonging to this line.
@@ -247,7 +247,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   }
 
   /**
-   * Handle the values in import mode
+   * Handle the values in import mode.
    *
    * @param int $onDuplicate
    *   The code for what action to take on duplicates.
index 82663f4437dbcd129ddcef76259112c83f702b04..1cf32e9d5a0d27752c1d549fa8eb7226472e6a03 100644 (file)
@@ -173,7 +173,7 @@ class CRM_Member_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    * @param $newCredit
    */
index bf3cf84984402c4c483d0a40bf80fa1f0fcd0dcf..b0af58aca7dbe439f5d0f2afa4c5353ee8d64293 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Page_AJAX {
 
   /**
-   * SetDefaults according to membership type
+   * SetDefaults according to membership type.
    */
   public static function getMemberTypeDefaults() {
     if (!$_POST['mtype']) {
index c29ffa0768e32b48650e8310b1ab8638c1dac765..c72cd2b0debcf006468e6ba5da33d4f907ae0799 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -180,7 +180,7 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -190,7 +190,7 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 3450f702fe98f5fd5daea29b20c988b7025209db..8a943d6a3773d56ad7926179ddcf19e769dc0cdf 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Page_MembershipType extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -48,7 +48,7 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page {
   public $useLivePageJS = TRUE;
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
index e1306e09d9d802ff9f9db769e5401d54eeb6843a..87225197ae8411c728817f9a6f5813e874019fdc 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Member_Page_Tab extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -46,7 +46,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   public $_contactId = NULL;
 
   /**
-   * called when action is browse
+   * called when action is browse.
    */
   public function browse() {
     $links = self::links('all', $this->_isPaymentProcessor, $this->_accessContribution);
@@ -216,7 +216,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is view
+   * called when action is view.
    *
    * @return null
    */
@@ -234,7 +234,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
@@ -453,7 +453,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @param string $status
    * @param null $isPaymentProcessor
@@ -546,7 +546,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * Define action links for membership types of related organization
+   * Define action links for membership types of related organization.
    *
    * @return array
    *   self::$_membershipTypesLinks array of action links
@@ -572,7 +572,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * used for the to show the associated
+   * used for the to show the associated.
    * contribution for the membership
    *
    * @param int $contactId
@@ -596,7 +596,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
index f1c4259a008752472e27de681b76e147778dc493..d97efb048453fe93668b14f4b63c6c38c9c6e2de 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
 
   /**
-   * List memberships for the UF user
+   * List memberships for the UF user.
    *
    */
   public function listMemberships() {
index c23305107907447c4beca12ba8c9adb101f2156c..d742bd5c6d9861583f476dd9e2cbc7b094c98b60 100644 (file)
 class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
 
   /**
-   * Membership types
+   * Membership types.
    * @var array
    */
   private static $membershipType;
 
   /**
-   * Membership types
+   * Membership types.
    * @var array
    */
   private static $membershipStatus;
 
   /**
-   * Get all the membership types
+   * Get all the membership types.
    *
    *
    * @param int $id
@@ -81,7 +81,7 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * Get all the membership statuss
+   * Get all the membership statuss.
    *
    *
    * @param int $id
index 2a97033565e9bc31c797ab597a73355baf88a019..13b977a93fdb19ad962b3f0ac1ef540cd7f4dc95 100644 (file)
@@ -106,28 +106,28 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   public $_queryParams;
 
   /**
-   * Represent the type of selector
+   * Represent the type of selector.
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_memberClause = NULL;
 
   /**
-   * The query object
+   * The query object.
    *
    * @var string
    */
   protected $_query;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $queryParams
    *   Array of parameters for query.
@@ -305,7 +305,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
index b7397cfde9e72e8e2ee812a4cc866d33bd79576e..1e4e2356f1414f1874af6010c23afb72506ffa06 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine {
 
   /**
-   * The task that the wizard is currently processing
+   * The task that the wizard is currently processing.
    *
    * @var string
    */
index 321589e6be2aa79de83562153f53f21bf1b78ff7..d41a85154d72a1c89f1c3bb3b6331e2825fddf46 100644 (file)
@@ -96,7 +96,7 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -160,7 +160,7 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -184,7 +184,7 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index abd5243d513688ee978019277263a7d75c7f1c96..65e4e53734362245fd4f911a8403673d41454a61 100644 (file)
@@ -84,7 +84,7 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -99,7 +99,7 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -141,7 +141,7 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 31fb052e6b77bb0b19b3e406cdfebd4af10a0f9b..7fd7b8abaa56bac704d8c6a815740a536c41b483 100644 (file)
@@ -90,7 +90,7 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -133,7 +133,7 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -175,7 +175,7 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 4545b96f0879e6a74056c1d0559f4810b1c09b90..968933404d2065cb14212aebf129ce64cc779588 100644 (file)
@@ -41,7 +41,7 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
   public $_context;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    */
   public function preProcess() {
     if ($this->_action & CRM_Core_Action::DELETE) {
@@ -131,7 +131,7 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    */
   public function buildQuickForm() {
     if ($this->_action & CRM_Core_Action::DELETE) {
@@ -177,7 +177,7 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -192,7 +192,7 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    */
   public function postProcess() {
     if ($this->_action & CRM_Core_Action::DELETE) {
index 08f96e744003fd5e99881a6ae5b8cde207a7c414..8bac834f1235eae708eb7e3a5444a9cb42cd122d 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
 
   /**
-   * Variable defined for Contribution Page Id
+   * Variable defined for Contribution Page Id.
    */
   public $_pageId = NULL;
   public $_id = NULL;
@@ -53,7 +53,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
   public $_single;
 
   /**
-   * The default values for the form
+   * The default values for the form.
    *
    * @var array
    */
@@ -137,7 +137,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -217,7 +217,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -243,7 +243,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 9298a9692676a6724ac7f0c647d9a4bab9d01e96..bd62939a5fae23cc14fd5882c499b668aaf881a4 100644 (file)
 class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -356,7 +356,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -366,7 +366,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 0a60ca7d8087d77ea651a78900a61d07476e09db..c85f302e9e6c582868fd406c4418df260d0d9d30 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_PCP_StateMachine_PCP extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
index a58a884be56bd1a56b1400fdbb506477fc563695..014a71faa99ddd4f49a9401f29d6d53a12893cb4 100644 (file)
 class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
 
   /**
-   * Static field for all the pledge information that we can potentially export
+   * Static field for all the pledge information that we can potentially export.
    *
    * @var array
    */
   static $_exportableFields = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * pledge id. We'll tweak this function to be more full featured over a period
-   * of time. This is the inverse function of create. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -73,7 +71,7 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
   }
 
   /**
-   * Add pledge
+   * Add pledge.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -139,7 +137,7 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
   }
 
   /**
-   * Takes an associative array and creates a pledge object
+   * Takes an associative array and creates a pledge object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -259,7 +257,7 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
   }
 
   /**
-   * Delete the pledge
+   * Delete the pledge.
    *
    * @param int $id
    *   Pledge id.
@@ -448,7 +446,7 @@ GROUP BY  currency
   }
 
   /**
-   * Get list of pledges In Honor of contact Ids
+   * Get list of pledges In Honor of contact Ids.
    *
    * @param int $honorId
    *   In Honor of Contact ID.
@@ -698,7 +696,7 @@ GROUP BY  currency
   }
 
   /**
-   * Combine all the exportable fields from the lower levels object
+   * Combine all the exportable fields from the lower levels object.
    *
    * @return array
    *   array of exportable Fields
@@ -762,7 +760,7 @@ GROUP BY  currency
   }
 
   /**
-   * Get pending or in progress pledges
+   * Get pending or in progress pledges.
    *
    * @param int $contactID
    *   Contact id.
@@ -810,7 +808,7 @@ GROUP BY  currency
   }
 
   /**
-   * Get pledge record count for a Contact
+   * Get pledge record count for a Contact.
    *
    * @param int $contactID
    *
@@ -1145,7 +1143,7 @@ SELECT  pledge.contact_id              as contact_id,
   }
 
   /**
-   * Get array of non transactional statuses
+   * Get array of non transactional statuses.
    * @return array
    *   non transactional status ids
    */
@@ -1155,7 +1153,7 @@ SELECT  pledge.contact_id              as contact_id,
   }
 
   /**
-   * Get array of non transactional statuses
+   * Get array of non transactional statuses.
    * @return array
    *   non transactional status ids
    */
index 753b01c63f3652b6ec4d4e166725f4a890a248ff..7257488923710eeaed4e7abc18f03d4b0d92e9d2 100644 (file)
 class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * pledgeBlock id. We'll tweak this function to be more full featured over a period
-   * of time. This is the inverse function of create. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -66,7 +64,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * Takes an associative array and creates a pledgeBlock object
+   * Takes an associative array and creates a pledgeBlock object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -90,7 +88,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * Add pledgeBlock
+   * Add pledgeBlock.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -145,7 +143,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * Delete the pledgeBlock
+   * Delete the pledgeBlock.
    *
    * @param int $id
    *   PledgeBlock id.
@@ -171,7 +169,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * Return Pledge  Block info in Contribution Pages
+   * Return Pledge  Block info in Contribution Pages.
    *
    * @param int $pageID
    *   Contribution page id.
@@ -192,7 +190,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * Build Pledge Block in Contribution Pages
+   * Build Pledge Block in Contribution Pages.
    *
    * @param CRM_Core_Form $form
    */
index 7421881b285291899eec839c421264a4b7885e19..d0e454762ef0bd9ad4fc308997f1cf35d18837ac 100644 (file)
 class CRM_Pledge_BAO_PledgePayment extends CRM_Pledge_DAO_PledgePayment {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Get pledge payment details
+   * Get pledge payment details.
    *
    * @param int $pledgeId
    *   Pledge id.
@@ -162,7 +162,7 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * Add pledge payment
+   * Add pledge payment.
    *
    * @param array $params
    *   Associate array of field.
@@ -199,11 +199,9 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects. Typically the valid params are only
-   * pledge id. We'll tweak this function to be more full featured over a period
-   * of time. This is the inverse function of create. It also stores all the retrieved
-   * values in the default array
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -223,7 +221,7 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * Delete pledge payment
+   * Delete pledge payment.
    *
    * @param int $id
    *
@@ -250,7 +248,7 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * Delete all pledge payments
+   * Delete all pledge payments.
    *
    * @param int $id
    *   Pledge id.
@@ -320,7 +318,7 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * Update Pledge Payment Status
+   * Update Pledge Payment Status.
    *
    * @param int $pledgeID
    *   , id of pledge.
@@ -576,7 +574,7 @@ WHERE  civicrm_pledge.id = %2
   }
 
   /**
-   * Calculate the pledge status
+   * Calculate the pledge status.
    *
    * @param int $pledgeId
    *   Pledge id.
@@ -616,7 +614,7 @@ WHERE  civicrm_pledge.id = %2
   }
 
   /**
-   * Update pledge payment table
+   * Update pledge payment table.
    *
    * @param int $pledgeId
    *   Pledge id.
@@ -667,7 +665,7 @@ WHERE  civicrm_pledge_payment.pledge_id = %1
   }
 
   /**
-   * Update pledge payment table when reminder is sent
+   * Update pledge payment table when reminder is sent.
    *
    * @param int $paymentId
    *   Payment id.
@@ -684,7 +682,7 @@ WHERE  civicrm_pledge_payment.id = {$paymentId}
   }
 
   /**
-   * Get oldest pending or in progress pledge payments
+   * Get oldest pending or in progress pledge payments.
    *
    * @param int $pledgeID
    *   Pledge id.
index 89fc70d83a9eb4a237a4d47cdcafa2bd4579f95f..3bac7c6c0f11a2c2320c5946ff2b4e83eac39a83 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * Build select for Pledge
+   * Build select for Pledge.
    *
    * @param $query
    *
@@ -460,7 +460,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * Getter for the qill object
+   * Getter for the qill object.
    *
    * @return string
    */
@@ -469,7 +469,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * Ideally this function should include fields that are displayed in the selector
+   * Ideally this function should include fields that are displayed in the selector.
    */
   public static function defaultReturnProperties(
     $mode,
@@ -504,7 +504,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * This includes any extra fields that might need for export etc
+   * This includes any extra fields that might need for export etc.
    */
   public static function extraReturnProperties($mode) {
     $properties = NULL;
index d365375711626151fa5b18ba7a23f36c4990e94b..e0f3ae9ef1023856b5e11953bcc8b9bd3955c56f 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Pledge_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 5d06b4686732a9f0d418c81859a6756ae9068289..9a20c7d75be5c3a57cedfbae7772ff2a0bc10c3e 100644 (file)
 class CRM_Pledge_Form_Payment extends CRM_Core_Form {
 
   /**
-   * The id of the pledge payment that we are proceessing
+   * The id of the pledge payment that we are proceessing.
    *
    * @var int
    */
   public $_id;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -86,7 +86,7 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -129,7 +129,7 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index f66500454023a8624d99f69c9e2f62791d6329d3..05a29c3f229a72487e6a0c97ae53a294a29fb951 100644 (file)
@@ -41,26 +41,26 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   public $_action;
 
   /**
-   * The id of the pledge that we are proceessing
+   * The id of the pledge that we are proceessing.
    *
    * @var int
    */
   public $_id;
 
   /**
-   * The id of the contact associated with this pledge
+   * The id of the contact associated with this pledge.
    *
    * @var int
    */
   public $_contactID;
 
   /**
-   * The Pledge values if an existing pledge
+   * The Pledge values if an existing pledge.
    */
   public $_values;
 
   /**
-   * The Pledge frequency Units
+   * The Pledge frequency Units.
    */
   public $_freqUnits;
 
@@ -70,7 +70,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   public $_isPending = FALSE;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -212,7 +212,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -444,7 +444,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -480,7 +480,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 83cd422458e1684ca1df72aa6d6f6941c4316db4..208143e71692e1c0a98500be3347971608be4684 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Pledge_Form_PledgeView extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -131,7 +131,7 @@ class CRM_Pledge_Form_PledgeView extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 5845128b2374f6937f76864f8f697e36f78838e2..0b997bc1fd29ff7f6cf8e0ea5cf40c6d55bcfcbe 100644 (file)
 class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
 
   /**
-   * The params that are sent to the query
+   * The params that are sent to the query.
    *
    * @var array
    */
   protected $_queryParams;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_single = FALSE;
 
   /**
-   * Are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact.
    *
    * @var boolean
    */
   protected $_limit = NULL;
 
   /**
-   * Prefix for the controller
+   * Prefix for the controller.
    */
   protected $_prefix = "pledge_";
 
   protected $_defaults;
 
   /**
-   * Processing needed for buildForm and later
+   * Processing needed for buildForm and later.
    *
    * @return void
    */
@@ -151,7 +151,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -291,7 +291,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -309,7 +309,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
index 88633e5981ba3f6a35b7d54bf09729deff178e40..d7aec551ac9f1e1147fa34fc85d7924889b5182f 100644 (file)
 class CRM_Pledge_Form_Task extends CRM_Core_Form {
 
   /**
-   * The task being performed
+   * The task being performed.
    *
    * @var int
    */
   protected $_task;
 
   /**
-   * The additional clause that we restrict the search with
+   * The additional clause that we restrict the search with.
    *
    * @var string
    */
   protected $_componentClause = NULL;
 
   /**
-   * The array that holds all the component ids
+   * The array that holds all the component ids.
    *
    * @var array
    */
   protected $_componentIds;
 
   /**
-   * The array that holds all the pledge ids
+   * The array that holds all the pledge ids.
    *
    * @var array
    */
   protected $_pledgeIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
index 972dc5ed65414a52034759b8169d19114a6d7862..2bca8215a5ab51e0e02f1a0f1a95f4950aadbfc0 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    */
   public function preProcess() {
     //check for delete
@@ -60,7 +60,7 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -70,7 +70,7 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index bc2051e136b3c84a3fa549de7d19f95cf6e9ff2f..1f4de0edf9c63e001819cf0eab970a3c44dc256c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -94,7 +94,7 @@ class CRM_Pledge_Form_Task_Print extends CRM_Pledge_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index b82dc4da1bb2ed8fa4d269b22617d4b353f16adc..342a40f58498747761c4774deb70cfe1408de640 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Pledge_Form_Task_Result extends CRM_Pledge_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -49,7 +49,7 @@ class CRM_Pledge_Form_Task_Result extends CRM_Pledge_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index eab1c25ce1c07309c1ad186cb24f2c9c94f21b78..2fa226b678d656a9f7412cd64b4e5ac01fb14aa0 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Pledge_Form_Task_SearchTaskHookSample extends CRM_Pledge_Form_Task {
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -69,7 +69,7 @@ INNER JOIN civicrm_contact ct ON ( plg.contact_id = ct.id )
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index d0c36c6056bb2a67a60cb81d8cdaf9d74c388025..1112f5000c954aecf5be9ccb001284ae5ee52083 100644 (file)
@@ -167,7 +167,7 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    */
   public function creatNewShortcut(&$shortCuts) {
index a092d57dc7f7d26f5a45d277eee126622ffb05a2..186ef74f822413bafb805d18e0141223fc252ec0 100755 (executable)
@@ -39,7 +39,7 @@
 class CRM_Pledge_Page_AJAX {
 
   /**
-   * Building Pledge Name combo box
+   * Building Pledge Name combo box.
    */
   public static function pledgeName() {
 
index 1851844588b49c695b8c64985e3bb00244838ad1..3cb53af47f4db59b735c3086410057122bf6b220 100644 (file)
@@ -77,7 +77,7 @@ class CRM_Pledge_Page_Payment extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
index 7b131f63353e75d61a75b6c23cb84699378a2c0f..4ef3efa5f1cd4694ba37b38f6e1c2f8c2d43d748 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   public $_contactId = NULL;
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    * @return void
    */
@@ -64,7 +64,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is view
+   * called when action is view.
    *
    * @return null
    */
@@ -81,7 +81,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    *
    * @return null
    */
index a7ad519538f0b383260b2bf21c189a238c3e557e..502d43f9fbe3b01bb92aa28f178b534f7c73a859 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Pledge_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
 
   /**
-   * called when action is browse
+   * called when action is browse.
    *
    */
   public function listPledges() {
index 74fe68e3805b43618c3b2013ee96bc0afded5194..4c62df05804bb74e459489337fa7d9b2e0cae31b 100644 (file)
@@ -96,7 +96,7 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
index d86fe05f47555300d88e612843d31d7a8c905ac6..d63c195f819e42ed23b2ebd3df1ee4b6e175dc80 100644 (file)
@@ -96,7 +96,7 @@ class CRM_Pledge_Task {
   }
 
   /**
-   * These tasks are the core set of task titles
+   * These tasks are the core set of task titles.
    *
    * @return array
    *   the set of task titles
@@ -111,7 +111,7 @@ class CRM_Pledge_Task {
   }
 
   /**
-   * These tasks get added based on the context the user is in
+   * These tasks get added based on the context the user is in.
    *
    * @return array
    *   the set of optional tasks for a group of contacts
index d07b4a0e7a7b7fb0d83631ba6a525a45c03131b4..f056ed78a7e38bbab2d907fd71e78cfb52b28c50 100644 (file)
@@ -84,10 +84,9 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects.  Typically, the valid params are only
-   * price_field_id.  This is the inverse function of create.  It also
-   * stores all of the retrieved values in the default array.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -123,7 +122,7 @@ AND li.entity_id = {$entityId}
   }
 
   /**
-   * Wrapper for line item retrieval when contribution ID is known
+   * Wrapper for line item retrieval when contribution ID is known.
    * @param int $contributionID
    *
    * @return array
@@ -530,7 +529,7 @@ AND li.entity_id = {$entityId}
   }
 
   /**
-   * Calculate tax rate in percentage
+   * Calculate tax rate in percentage.
    *
    * @param array $lineItemId
    *   An assoc array of lineItem.
index dc7e7c0f442aee3d3a70659c9e20116e8f8ba61b..ee0f698374694f5ed3caa5deb6f33dc289d2ea72 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
   protected $_options;
 
   /**
-   * Takes an associative array and creates a price field object
+   * Takes an associative array and creates a price field object.
    *
    * the function extract all the params it needs to initialize the create a
    * price field object. the params array could contain additional unused name/value
@@ -67,7 +67,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
   }
 
   /**
-   * Takes an associative array and creates a price field object
+   * Takes an associative array and creates a price field object.
    *
    * This function is invoked from within the web form layer and also from the api layer
    *
@@ -168,7 +168,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -182,7 +182,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -226,7 +226,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
   }
 
   /**
-   * This function for building custom fields
+   * This function for building custom fields.
    *
    * @param CRM_Core_Form $qf
    *   Form object (reference).
@@ -569,7 +569,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
   }
 
   /**
-   * Retrieve a list of options for the specified field
+   * Retrieve a list of options for the specified field.
    *
    * @param int $fieldId
    *   Price field ID.
@@ -684,7 +684,7 @@ WHERE
   }
 
   /**
-   * Validate the priceset
+   * Validate the priceset.
    *
    * @param int $priceSetId
    *   , array $fields.
index 8818da7292d33433718a753530820280e8ebf165..51e3e6f5188a7c65e06b839a4a1a72d3d15ca0a7 100644 (file)
@@ -111,7 +111,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
   }
 
   /**
-   * Get defaults for new entity
+   * Get defaults for new entity.
    * @return array
    */
   public static function getDefaults() {
@@ -123,8 +123,9 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array.
@@ -138,7 +139,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
   }
 
   /**
-   * Retrive the all values for given field id
+   * Retrive the all values for given field id.
    *
    * @param int $fieldId
    *   Price_field_id.
@@ -182,7 +183,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -198,7 +199,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
   }
 
   /**
-   * Delete all values of the given field id
+   * Delete all values of the given field id.
    *
    * @param int $fieldId
    *   Price field id.
index cc55a91d12b8d6f1414b0cf18e88eb10452e2019..711a561abdbc6a1f1b959172be64682c84bb7b77 100644 (file)
 class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
 
   /**
-   * Static field for default price set details
+   * Static field for default price set details.
    *
    * @var array
    */
   static $_defaultPriceSet = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes an associative array and creates a price set object
+   * Takes an associative array and creates a price set object.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -77,7 +77,7 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -91,7 +91,7 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -274,7 +274,7 @@ WHERE     ct.id = cp.financial_type_id AND
   }
 
   /**
-   * Delete the price set
+   * Delete the price set.
    *
    * @param int $id
    *   Price Set id.
@@ -313,7 +313,7 @@ WHERE     ct.id = cp.financial_type_id AND
   }
 
   /**
-   * Link the price set with the specified table and id
+   * Link the price set with the specified table and id.
    *
    * @param string $entityTable
    * @param int $entityId
@@ -342,7 +342,7 @@ WHERE     ct.id = cp.financial_type_id AND
   }
 
   /**
-   * Delete price set for the given entity and id
+   * Delete price set for the given entity and id.
    *
    * @param string $entityTable
    * @param int $entityId
@@ -399,7 +399,7 @@ WHERE     ct.id = cp.financial_type_id AND
   }
 
   /**
-   * Find a price_set_id associated with the given option value or  field ID
+   * Find a price_set_id associated with the given option value or  field ID.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -431,7 +431,7 @@ WHERE     ct.id = cp.financial_type_id AND
   }
 
   /**
-   * Return an associative array of all price sets
+   * Return an associative array of all price sets.
    *
    * @param bool $withInactive
    *   Whether or not to include inactive entries.
@@ -476,7 +476,7 @@ WHERE     ct.id = cp.financial_type_id AND
   }
 
   /**
-   * Get price set details
+   * Get price set details.
    *
    * An array containing price set details (including price fields) is returned
    *
@@ -1076,7 +1076,7 @@ WHERE  id = %1";
   }
 
   /**
-   * Get field ids of a price set
+   * Get field ids of a price set.
    *
    * @param int $id
    *   Price Set id.
@@ -1143,7 +1143,7 @@ WHERE  id = %1";
   }
 
   /**
-   * check price set permission
+   * check price set permission.
    *
    * @param int $sid
    *   The price set id.
@@ -1223,7 +1223,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Check if auto renew option should be shown
+   * Check if auto renew option should be shown.
    *
    * @param int $priceSetId
    *   Price set id.
@@ -1272,7 +1272,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Retrieve auto renew frequency and interval
+   * Retrieve auto renew frequency and interval.
    *
    * @param int $priceSetId
    *   Price set id.
@@ -1304,7 +1304,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Update the is_quick_config flag in the db
+   * Update the is_quick_config flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -1405,7 +1405,7 @@ WHERE       ps.id = %1
   }
 
   /**
-   * Function to set tax_amount and tax_rate in LineItem
+   * Function to set tax_amount and tax_rate in LineItem.
    *
    * @param array $field
    * @param array $lineItem
index 155bbb8a82678633775499ba7da59f491bb99f3e..eae2e51f31e87a7e9f615e4b7ae14ef94d171d80 100644 (file)
 class CRM_Price_Form_DeleteField extends CRM_Core_Form {
 
   /**
-   * The field id
+   * The field id.
    *
    * @var int
    */
   protected $_fid;
 
   /**
-   * The title of the group being deleted
+   * The title of the group being deleted.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    * @acess protected
@@ -72,7 +72,7 @@ class CRM_Price_Form_DeleteField extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -92,7 +92,7 @@ class CRM_Price_Form_DeleteField extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 34d6fc58013779c36d71fa145549a0ddef0591aa..5c82a9777936063d99039324a3356b17cd07e527 100644 (file)
 class CRM_Price_Form_DeleteSet extends CRM_Core_Form {
 
   /**
-   * The set id
+   * The set id.
    *
    * @var int
    */
   protected $_sid;
 
   /**
-   * The title of the set being deleted
+   * The title of the set being deleted.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Set up variables to build the form
+   * Set up variables to build the form.
    *
    * @return void
    */
@@ -66,7 +66,7 @@ class CRM_Price_Form_DeleteSet extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -87,7 +87,7 @@ class CRM_Price_Form_DeleteSet extends CRM_Core_Form {
   }
 
   /**
-   * Process the form when submitted
+   * Process the form when submitted.
    *
    * @return void
    */
index 1127e1e4c09ea41f5f5ca4eebc7ac88fef5266a5..93352c624d891d9224dd9b6b7a13ff3e767af210 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
   const NUM_OPTION = 15;
 
   /**
-   * The custom set id saved to the session for an update
+   * The custom set id saved to the session for an update.
    *
    * @var int
    */
@@ -58,19 +58,19 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
   protected $_fid;
 
   /**
-   * The extended component Id
+   * The extended component Id.
    *
    * @var array
    */
   protected $_extendComponentId;
 
   /**
-   * Variable is set if price set is used for membership
+   * Variable is set if price set is used for membership.
    */
   protected $_useForMember;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    */
   public function preProcess() {
 
@@ -159,7 +159,7 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    */
   public function buildQuickForm() {
     // lets trim all the whitespace
@@ -372,7 +372,7 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -591,7 +591,7 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    */
   public function postProcess() {
     // store the submitted values in an array
index 8947d883069aaea2148d25c4a2d273c6ee9c1b0c..3f815a6f7cc59ee7671c2321ab10ad5904b990b2 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Price_Form_Option extends CRM_Core_Form {
 
   /**
-   * The price field id saved to the session for an update
+   * The price field id saved to the session for an update.
    *
    * @var int
    */
@@ -53,7 +53,7 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
   protected $_oid;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -108,7 +108,7 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -261,7 +261,7 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -285,7 +285,7 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index ac6675c5d1776a7cd840d2a38ed9f2723128d19e..d503ee80d599f78c0efc801ae7fe8ed9772ab1b5 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_Price_Form_Preview extends CRM_Core_Form {
 
   /**
-   * The group tree data
+   * The group tree data.
    *
    * @var array
    */
@@ -91,7 +91,7 @@ class CRM_Price_Form_Preview extends CRM_Core_Form {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    * @return array
    *   the default array reference
@@ -118,7 +118,7 @@ class CRM_Price_Form_Preview extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index a167af19fdea3fe1abad6996f97121a724217707..78fda20c4e2e41645f42b385b71151a4a9149b96 100644 (file)
 class CRM_Price_Form_Set extends CRM_Core_Form {
 
   /**
-   * The set id saved to the session for an update
+   * The set id saved to the session for an update.
    *
    * @var int
    */
   protected $_sid;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -78,7 +78,7 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -110,7 +110,7 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -253,7 +253,7 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index ad4db08f0bea0e54074f1c7225a1885cf364309c..67cce0858e2f5b0380b699e2c2729570d3b57bfa 100644 (file)
@@ -46,21 +46,21 @@ class CRM_Price_Page_Field extends CRM_Core_Page {
   public $useLivePageJS = TRUE;
 
   /**
-   * The price set group id of the field
+   * The price set group id of the field.
    *
    * @var int
    */
   protected $_sid;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   private static $_actionLinks;
 
   /**
-   * The price set is reserved or not
+   * The price set is reserved or not.
    *
    * @var boolean
    */
@@ -325,7 +325,7 @@ class CRM_Price_Page_Field extends CRM_Core_Page {
   }
 
   /**
-   * Preview price field
+   * Preview price field.
    *
    * @param int $fid
    *
index 3c8898f2a18c61f74ce050c20b8efb7bcde8babb..2630b75baea54279fa7d418351354a07b9acc996 100644 (file)
@@ -46,28 +46,28 @@ class CRM_Price_Page_Option extends CRM_Core_Page {
   public $useLivePageJS = TRUE;
 
   /**
-   * The field id of the option
+   * The field id of the option.
    *
    * @var int
    */
   protected $_fid;
 
   /**
-   * The field id of the option
+   * The field id of the option.
    *
    * @var int
    */
   protected $_sid;
 
   /**
-   * The price set is reserved or not
+   * The price set is reserved or not.
    *
    * @var boolean
    */
   protected $_isSetReserved = FALSE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
index 19a7f9d2481bcfc53ff4aa64fe81bea70ee82d83..a1e25e32f1df3b2edfea16b043962eb65c001e24 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_Price_Page_Set extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -194,7 +194,7 @@ class CRM_Price_Page_Set extends CRM_Core_Page {
   }
 
   /**
-   * Edit price set
+   * Edit price set.
    *
    * @param int $sid
    *   Price set id.
@@ -217,7 +217,7 @@ class CRM_Price_Page_Set extends CRM_Core_Page {
   }
 
   /**
-   * Preview price set
+   * Preview price set.
    *
    * @param int $sid
    *   Price set id.
@@ -241,7 +241,7 @@ class CRM_Price_Page_Set extends CRM_Core_Page {
   }
 
   /**
-   * Browse all price sets
+   * Browse all price sets.
    *
    * @param string $action
    *   The action to be invoked.
index 47b300ff51853fd3dfa6af5089d875e80a9a08aa..31e24a1691cd4983243110916276225d10eab524 100644 (file)
@@ -53,14 +53,14 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_skipPermission = FALSE;
 
   /**
-   * The contact id that we are editing
+   * The contact id that we are editing.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The group id that we are editing
+   * The group id that we are editing.
    *
    * @var int
    */
@@ -72,40 +72,40 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_ufGroup = array('name' => 'unknown');
 
   /**
-   * The group id that we are passing in url
+   * The group id that we are passing in url.
    *
    * @var int
    */
   public $_grid;
 
   /**
-   * Name of button for saving matching contacts
+   * Name of button for saving matching contacts.
    * @var
    */
   protected $_duplicateButtonName;
   /**
-   * The title of the category we are editing
+   * The title of the category we are editing.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * The fields needed to build this form
+   * The fields needed to build this form.
    *
    * @var array
    */
   public $_fields;
 
   /**
-   * store contact details
+   * store contact details.
    *
    * @var array
    */
   protected $_contact;
 
   /**
-   * Do we allow updates of the contact
+   * Do we allow updates of the contact.
    *
    * @var int
    */
@@ -123,7 +123,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_context;
 
   /**
-   * THe contact type for registration case
+   * THe contact type for registration case.
    *
    * @var string
    */
@@ -145,7 +145,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_isContactActivityProfile = FALSE;
 
   /**
-   * Activity Id connected to the profile
+   * Activity Id connected to the profile.
    *
    * @var string
    */
@@ -588,7 +588,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -836,7 +836,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   }
 
   /**
-   * Validate profile and provided activity Id
+   * Validate profile and provided activity Id.
    *
    * @param int $activityId
    * @param int $contactId
@@ -876,7 +876,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -1354,7 +1354,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index b7bedd4bb06e66e0467c78f47dcb41216edbeb0c..0f857dd72860731131e42f7e15a9496db7ed3976 100644 (file)
@@ -69,7 +69,7 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -91,7 +91,7 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index bf6273635f05a5d58e9ed2968f585d258332ae3a..cdf0877261498f129865540ddca0ad7240866379 100644 (file)
@@ -138,7 +138,7 @@ SELECT module,is_reserved
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -302,7 +302,7 @@ SELECT module,is_reserved
   }
 
   /**
-   * Intercept QF validation and do our own redirection
+   * Intercept QF validation and do our own redirection.
    *
    * We use this to send control back to the user for a user formatted page
    * This allows the user to maintain the same state and display the error messages
index 143438f09258b0857c445f8fb79c02d560bc3c3c..b303bfd20f2efa722cc69472b0b8acdd4a530365 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -100,7 +100,7 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 31fc7601b14dd14d9c574218fbeebced87f48dad..44b28ecce7d9504e41bb8b441f52e27dc045777a 100644 (file)
 class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
 
   /**
-   * The contact id of the person we are viewing
+   * The contact id of the person we are viewing.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The profile group are are interested in
+   * The profile group are are interested in.
    *
    * @var int
    */
   protected $_gid;
 
   /**
-   * The profile types we restrict this page to display
+   * The profile types we restrict this page to display.
    *
    * @var string
    */
   protected $_restrict;
 
   /**
-   * Should we bypass permissions
+   * Should we bypass permissions.
    *
    * @var boolean
    */
@@ -85,7 +85,7 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
   protected $_isContactActivityProfile = FALSE;
 
   /**
-   * Activity Id connected to the profile
+   * Activity Id connected to the profile.
    *
    * @var string
    */
@@ -101,7 +101,7 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
   protected $_allFields = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param int $id
    *   The contact id.
@@ -411,7 +411,7 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index f48a8a59647074ca2648379126270f2c70142345..c52d3a122fb936a7c39af14fa42a6b54479f05b6 100644 (file)
@@ -403,7 +403,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
   }
 
   /**
-   * Get the list of contacts for a profile
+   * Get the list of contacts for a profile.
    *
    * @param int $gid
    *
@@ -487,7 +487,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index 2311d1c04a66b19b75e1a53a6349eec717e9d81c..453f008a18cd46cf162dcb89d336638bea2a89a2 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -54,7 +54,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   protected $_contactType = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -64,7 +64,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -131,7 +131,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Run the page
+   * Run the page.
    *
    * This method is called after the page is created. It checks for the type
    * of action and executes that action. Finally it calls the parent's run
@@ -164,7 +164,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse the listing
+   * Browse the listing.
    *
    * @return void
    */
@@ -413,7 +413,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   classname of edit form
@@ -423,7 +423,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page
@@ -433,7 +433,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get user context
+   * Get user context.
    *
    * @param null $mode
    *
index 68b8dfd3603b144df12396a23f7601ec921c2c04..dfe00697bf1722c28c6af1ec9d36328cf8200bfd 100644 (file)
 class CRM_Profile_Page_View extends CRM_Core_Page {
 
   /**
-   * The id of the contact
+   * The id of the contact.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The group id that we are editing
+   * The group id that we are editing.
    *
    * @var int
    */
@@ -198,7 +198,7 @@ class CRM_Profile_Page_View extends CRM_Core_Page {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index 092b6a6da5d7621be5357e46dc3655369dcdee35..082a940d1ba7ce1789890814fdd55f068eb6a9fc 100644 (file)
@@ -56,63 +56,63 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   static $_columnHeaders;
 
   /**
-   * The sql params we use to get the list of contacts
+   * The sql params we use to get the list of contacts.
    *
    * @var string
    */
   protected $_params;
 
   /**
-   * The public visible fields to be shown to the user
+   * The public visible fields to be shown to the user.
    *
    * @var array
    */
   protected $_fields;
 
   /**
-   * The custom fields for this domain
+   * The custom fields for this domain.
    *
    * @var array
    */
   protected $_customFields;
 
   /**
-   * Cache the query object
+   * Cache the query object.
    *
    * @var object
    */
   protected $_query;
 
   /**
-   * Cache the expanded options list if any
+   * Cache the expanded options list if any.
    *
    * @var object
    */
   protected $_options;
 
   /**
-   * The group id that we are editing
+   * The group id that we are editing.
    *
    * @var int
    */
   protected $_gid;
 
   /**
-   * Do we enable mapping of users
+   * Do we enable mapping of users.
    *
    * @var boolean
    */
   protected $_map;
 
   /**
-   * Do we enable edit link
+   * Do we enable edit link.
    *
    * @var boolean
    */
   protected $_editLink;
 
   /**
-   * Should we link to the UF Profile
+   * Should we link to the UF Profile.
    *
    * @var boolean
    */
@@ -127,7 +127,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   protected $_multiRecordTableName = NULL;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param array $params the params for the where clause
    * @param array $customFields
@@ -416,7 +416,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   * Return the qill for this selector
+   * Return the qill for this selector.
    *
    * @return string
    */
@@ -425,7 +425,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   * Returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount.
    *
    * @param string $action
    *   The action being performed.
@@ -743,7 +743,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   *  set the _multiRecordTableName to display the result set
+   *  set the _multiRecordTableName to display the result set.
    *  according to multi record custom field values
    */
   public function setMultiRecordTableName($fields) {
index c22a7976d094f4578a383b5feafc965d28a29aa5..bdf0e898df98a9451fbd037ff9b98f63e11c4975 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Queue_BAO_QueueItem extends CRM_Queue_DAO_QueueItem {
 
   /**
-   * Ensure that the required SQL table exists
+   * Ensure that the required SQL table exists.
    *
    * @return bool
    *   TRUE if table now exists
index 4a694a41a7f171589963ba9bcb81750f79e20f47..0d9e306b40cc46e1cc8929996aac00085a246382 100644 (file)
@@ -141,7 +141,7 @@ class CRM_Queue_ErrorPolicy {
   }
 
   /**
-   * Print a fatal error
+   * Print a fatal error.
    *
    * @param array $error
    *   The PHP error (with "type", "message", etc).
@@ -162,7 +162,7 @@ class CRM_Queue_ErrorPolicy {
   }
 
   /**
-   * Print an unhandled exception
+   * Print an unhandled exception.
    *
    * @param Exception $e
    *   The unhandled exception.
index 81a67d56a3286ab86e55e0d3a7afd6ffcb9011d5..15277b024b8863adb6689525ace99bafaf6f8b4c 100644 (file)
@@ -31,7 +31,7 @@
 class CRM_Queue_Page_AJAX {
 
   /**
-   * Run the next task and return status information
+   * Run the next task and return status information.
    *
    * Outputs JSON: array(
    *   is_error => bool,
@@ -55,7 +55,7 @@ class CRM_Queue_Page_AJAX {
   }
 
   /**
-   * Run the next task and return status information
+   * Run the next task and return status information.
    *
    * Outputs JSON: array(
    *   is_error => bool,
@@ -79,7 +79,7 @@ class CRM_Queue_Page_AJAX {
   }
 
   /**
-   * Run the next task and return status information
+   * Run the next task and return status information.
    *
    * Outputs JSON: array(
    *   is_error => bool,
index 8a2253491c6168bef840aced16b48e2689273cf4..c60897b0c94f89d1fdb2c614ae2b093b79680654 100644 (file)
@@ -60,7 +60,7 @@ abstract class CRM_Queue_Queue {
   }
 
   /**
-   * Determine the string name of this queue
+   * Determine the string name of this queue.
    *
    * @return string
    */
@@ -84,14 +84,14 @@ abstract class CRM_Queue_Queue {
   public abstract function deleteQueue();
 
   /**
-   * Check if the queue exists
+   * Check if the queue exists.
    *
    * @return bool
    */
   public abstract function existsQueue();
 
   /**
-   * Add a new item to the queue
+   * Add a new item to the queue.
    *
    * @param mixed $data
    *   Serializable PHP object or array.
@@ -102,14 +102,14 @@ abstract class CRM_Queue_Queue {
   public abstract function createItem($data, $options = array());
 
   /**
-   * Determine number of items remaining in the queue
+   * Determine number of items remaining in the queue.
    *
    * @return int
    */
   public abstract function numberOfItems();
 
   /**
-   * Get the next item
+   * Get the next item.
    *
    * @param int $lease_time
    *   Seconds.
@@ -131,7 +131,7 @@ abstract class CRM_Queue_Queue {
   public abstract function stealItem($lease_time = 3600);
 
   /**
-   * Remove an item from the queue
+   * Remove an item from the queue.
    *
    * @param object $item
    *   The item returned by claimItem.
@@ -139,7 +139,7 @@ abstract class CRM_Queue_Queue {
   public abstract function deleteItem($item);
 
   /**
-   * Return an item that could not be processed
+   * Return an item that could not be processed.
    *
    * @param object $item
    *   The item returned by claimItem.
index f91d5a9455130859fbc65a517e7739c5de303dde..b2671c2dd32e0a1850f4dca12ecb387bd4a4d954 100644 (file)
@@ -87,7 +87,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Check if the queue exists
+   * Check if the queue exists.
    *
    * @return bool
    */
@@ -96,7 +96,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Add a new item to the queue
+   * Add a new item to the queue.
    *
    * @param mixed $data
    *   Serializable PHP object or array.
@@ -111,7 +111,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Determine number of items remaining in the queue
+   * Determine number of items remaining in the queue.
    *
    * @return int
    */
@@ -120,7 +120,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Get and remove the next item
+   * Get and remove the next item.
    *
    * @param int $leaseTime
    *   Seconds.
@@ -150,7 +150,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Get the next item
+   * Get the next item.
    *
    * @param int $leaseTime
    *   Seconds.
@@ -174,7 +174,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Remove an item from the queue
+   * Remove an item from the queue.
    *
    * @param object $item
    *   The item returned by claimItem.
@@ -185,7 +185,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   }
 
   /**
-   * Return an item that could not be processed
+   * Return an item that could not be processed.
    *
    * @param CRM_Core_DAO $item
    *   The item returned by claimItem.
index e7898ed5734c3c47b18052693fa768ea44b1a3e2..f0a8ccf6455adcf66de931f8e012681f40d1087f 100644 (file)
@@ -75,7 +75,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
   }
 
   /**
-   * Check if the queue exists
+   * Check if the queue exists.
    *
    * @return bool
    */
@@ -84,7 +84,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
   }
 
   /**
-   * Add a new item to the queue
+   * Add a new item to the queue.
    *
    * @param mixed $data
    *   Serializable PHP object or array.
@@ -102,7 +102,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
   }
 
   /**
-   * Determine number of items remaining in the queue
+   * Determine number of items remaining in the queue.
    *
    * @return int
    */
@@ -117,7 +117,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
   }
 
   /**
-   * Get the next item
+   * Get the next item.
    *
    * @param int $lease_time
    *   Seconds.
@@ -204,7 +204,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
   }
 
   /**
-   * Remove an item from the queue
+   * Remove an item from the queue.
    *
    * @param CRM_Core_DAO $dao
    *   The item returned by claimItem.
@@ -215,7 +215,7 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
   }
 
   /**
-   * Return an item that could not be processed
+   * Return an item that could not be processed.
    *
    * @param CRM_Core_DAO $dao
    *   The item returned by claimItem.
index c22a4bc0ed99c73fc7b88b6690c9d03f62261395..15ce263d36f92b88ea8d38a1ce6ee0584137e49f 100644 (file)
@@ -138,7 +138,7 @@ class CRM_Queue_Service {
   }
 
   /**
-   * Convert a queue "type" name to a class name
+   * Convert a queue "type" name to a class name.
    *
    * @param string $type
    *   E.g. "interactive", "immediate", "stomp", "beanstalk".
index 4117d91633ea3772c2e720332372f5794a1ff4e2..8525c055c7c67e20e9b4810e9dd95ef46a0c9f63 100644 (file)
 class CRM_Queue_Task {
 
   /**
-   * Task was performed successfully
+   * Task was performed successfully.
    */
   const TASK_SUCCESS = 1;
 
   /**
-   * Task failed and should not be retried
+   * Task failed and should not be retried.
    */
   const TASK_FAIL = 2;
 
@@ -71,7 +71,7 @@ class CRM_Queue_Task {
   }
 
   /**
-   * Perform the task
+   * Perform the task.
    *
    * @param array $taskCtx
    *   Array with keys:
index 03b4beebd43d49e19d40cc455777bef5e131dda4..80cab129693800cce2cd561e2ec58c42305017fc 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Report_BAO_Hook {
   protected $_queryObjects = NULL;
 
   /**
-   * Singleton function used to manage this object
+   * Singleton function used to manage this object.
    *
    * @return object
    */
index 06f00b03d5fe9316083b62f2a45dc59b0db159fd..3e184f5945f6b5c9d9702c6b2b2b20b8132493c2 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
 
   /**
-   * Takes an associative array and creates an instance object
+   * Takes an associative array and creates an instance object.
    *
    * the function extract all the params it needs to initialize the create a
    * instance object. the params array could contain additional unused name/value
@@ -118,7 +118,7 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
   }
 
   /**
-   * Create instance
+   * Create instance.
    * takes an associative array and creates a instance object and does any related work like permissioning, adding to dashboard etc.
    *
    * This function is invoked from within the web form layer and also from the api layer
@@ -224,7 +224,7 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
   }
 
   /**
-   * Delete the instance of the Report
+   * Delete the instance of the Report.
    *
    * @param int $id
    *
index 2c7f21fddc1608a74073f940bc07c7a2843b9ecf..10ebe04f108abf030066612f060852c733c397e0 100644 (file)
@@ -3027,7 +3027,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -3041,7 +3041,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
   }
 
   /**
-   * Compile the report content
+   * Compile the report content.
    * Although this function is super-short it is useful to keep separate so it can be over-ridden by report classes.
    *
    * @return string
@@ -3251,7 +3251,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
   }
 
   /**
-   * Generate Membership Type SQL Clause
+   * Generate Membership Type SQL Clause.
    * @param mixed $value
    * @param string $op
    *
@@ -3649,7 +3649,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Fetch array of DAO tables having columns included in SELECT or ORDER BY clause
+   * Fetch array of DAO tables having columns included in SELECT or ORDER BY clause.
    * (building the array if it's unset)
    *
    * @return array
@@ -3863,7 +3863,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Do AlterDisplay processing on Address Fields
+   * Do AlterDisplay processing on Address Fields.
    *
    * @param $row
    * @param $rows
@@ -3948,7 +3948,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Add Address into From Table if required
+   * Add Address into From Table if required.
    */
   public function addAddressFromClause() {
     // include address field if address column is to be included
@@ -3966,7 +3966,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Add Phone into From Table if required
+   * Add Phone into From Table if required.
    */
   public function addPhoneFromClause() {
     // include address field if address column is to be included
@@ -3981,7 +3981,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Get phone columns to add to array
+   * Get phone columns to add to array.
    *
    * @param array $options
    *   - prefix Prefix to add to table (in case of more than one instance of the table)
@@ -4013,7 +4013,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Get address columns to add to array
+   * Get address columns to add to array.
    *
    * @param array $options
    *   - prefix Prefix to add to table (in case of more than one instance of the table)
@@ -4069,7 +4069,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * function used for showing charts on print screen
+   * function used for showing charts on print screen.
    */
   public static function uploadChartImage() {
     // upload strictly for '.png' images
@@ -4103,7 +4103,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * Apply common settings to entityRef fields
+   * Apply common settings to entityRef fields.
    *
    * @param array $field
    * @param string $table
index f58f95fde5149a016cb593c6155cf105e72bbb99..d62ed23804226317d815a8b27996a63ca41aa43c 100644 (file)
@@ -360,7 +360,7 @@ class CRM_Report_Form_Contribute_HouseholdSummary extends CRM_Report_Form {
   }
 
   /**
-   * Set variables to be accessed by API and form layer in processing
+   * Set variables to be accessed by API and form layer in processing.
    */
   public function beginPostProcessCommon() {
     $getRelationship = $this->_params['relationship_type_id_value'];
index dce09084ec2ee0b7e0164518ec7f51e2395f1c88..09c8874b511d0c703540ce39842518ef48b938ba 100644 (file)
@@ -361,7 +361,7 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
   }
 
   /**
-   * Set variables to be accessed by API and form layer in processing
+   * Set variables to be accessed by API and form layer in processing.
    */
   public function beginPostProcessCommon() {
     $getRelationship = $this->_params['relationship_type_id_value'];
index a18658ada8b94db7dc3d69066cceee929ca8ed07..afc32b66f2e95ae7173f2c2180b12341c05e0c85 100644 (file)
@@ -270,7 +270,7 @@ class CRM_Report_Form_Event_ParticipantListCount extends CRM_Report_Form_Event {
   }
 
   /**
-   * Add The statistics
+   * Add The statistics.
    * @param $rows
    *
    * @return array
index a99de4caf689706a0c09737bc5271fed56b8d8d5..935692121061189e03caf6ff45eeae2e33f88c53 100644 (file)
@@ -181,7 +181,7 @@ class CRM_Report_Form_Event_Summary extends CRM_Report_Form_Event {
   }
 
   /**
-   * get participants information for events
+   * get participants information for events.
    * @return array
    */
   public function participantInfo() {
index 88a32790996915f44c8711bfc1b3565a8362dc3e..7effc2e17249e7223c8bd61797c7a2cb160625aa 100644 (file)
@@ -704,7 +704,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
   }
 
   /**
-   * Get address columns to add to array
+   * Get address columns to add to array.
    *
    * @param array $options
    *   Options for the report.
@@ -915,7 +915,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
   }
 
   /**
-   * Get Information about advertised Joins
+   * Get Information about advertised Joins.
    *
    * @return array
    */
@@ -1031,7 +1031,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
   }
 
   /**
-   * Define join from line item table to participant table
+   * Define join from line item table to participant table.
    */
   public function joinParticipantFromLineItem() {
     $this->_from .= " LEFT JOIN civicrm_participant {$this->_aliases['civicrm_participant']}
@@ -1056,7 +1056,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
   }
 
   /**
-   * Define join from Participant to Contribution table
+   * Define join from Participant to Contribution table.
    */
   public function joinContributionFromParticipant() {
     $this->_from .= " LEFT JOIN civicrm_participant_payment pp
@@ -1067,7 +1067,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
   }
 
   /**
-   * Define join from Membership to Contribution table
+   * Define join from Membership to Contribution table.
    */
   public function joinContributionFromMembership() {
     $this->_from .= " LEFT JOIN civicrm_membership_payment pp
@@ -1218,7 +1218,7 @@ WHERE   line_item_civireport.id IS NOT NULL
   }
 
   /**
-   * Retrieve text for financial type from pseudoconstant
+   * Retrieve text for financial type from pseudoconstant.
    *
    * @param $value
    * @param array $row
@@ -1236,7 +1236,7 @@ WHERE   line_item_civireport.id IS NOT NULL
   }
 
   /**
-   * Retrieve text for contribution type from pseudoconstant
+   * Retrieve text for contribution type from pseudoconstant.
    *
    * @param $value
    * @param array $row
@@ -1248,7 +1248,7 @@ WHERE   line_item_civireport.id IS NOT NULL
   }
 
   /**
-   * Retrieve text for contribution status from pseudoconstant
+   * Retrieve text for contribution status from pseudoconstant.
    *
    * @param $value
    * @param array $row
@@ -1260,7 +1260,7 @@ WHERE   line_item_civireport.id IS NOT NULL
   }
 
   /**
-   * Retrieve text for payment instrument from pseudoconstant
+   * Retrieve text for payment instrument from pseudoconstant.
    *
    * @param $value
    * @param array $row
index 82d5381e0fc47c756c5c9400cd1d14a129f3f1e5..0e0974c1c8f1e4d77d72ed87732cb0313bd5fb3d 100644 (file)
@@ -277,7 +277,7 @@ class CRM_Report_Form_Mailing_Summary extends CRM_Report_Form {
   }
 
   /**
-   * manipulate the select function to query count functions
+   * manipulate the select function to query count functions.
    */
   public function select() {
 
index f49c955fb696bca2cae36d79b54c1c596ee1945f..63513c60dd6b19cddc151287f396219f75da5420 100644 (file)
@@ -207,7 +207,7 @@ class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form {
   }
 
   /**
-   * If we are retrieving total paid we need to define the inclusion of pledge_payment
+   * If we are retrieving total paid we need to define the inclusion of pledge_payment.
    *
    * @param string $tableName
    * @param $tableKey
index a04b98c73b1fd9cec077d8073e86e6ec10e29460..16b658ad8ac1b0a2722864c3359d0a10742e58ab 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Report_Form_Register extends CRM_Core_Form {
   }
 
   /**
-   * This virtual function is used to set the default values of
+   * This virtual function is used to set the default values of.
    * various form elements
    *
    * access        public
@@ -173,7 +173,7 @@ class CRM_Report_Form_Register extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index d6e09597d05855b22cb83c0643f979ec37cc8194..3c4719466fb6f1151244c3ac7a5499a8a2bb1bad 100644 (file)
@@ -172,7 +172,7 @@ class CRM_Report_Info extends CRM_Core_Component_Info {
   }
 
   /**
-   * add shortcut to Create New
+   * add shortcut to Create New.
    * @param $shortCuts
    */
   public function creatNewShortcut(&$shortCuts) {
index 99b4a43cc737572df305bd8677e4dc1b326ed2c4..2e601c2edb4626876473ee8afbb0dca01c7a7b99 100644 (file)
 interface CRM_Report_Interface {
 
   /**
-   * The constructor gets the submitted form values
+   * The constructor gets the submitted form values.
    *
    * @param $formValues
    */
   public function __construct(&$formValues);
 
   /**
-   * Builds the quickform for this search
+   * Builds the quickform for this search.
    * @param $form
    */
   public function buildForm(&$form);
@@ -92,22 +92,22 @@ interface CRM_Report_Interface {
    */
 
   /**
-   * The from clause for the query
+   * The from clause for the query.
    */
   public function from();
 
   /**
-   * The where clause for the query
+   * The where clause for the query.
    */
   public function where($includeContactIDs = FALSE);
 
   /**
-   * The template FileName to use to display the results
+   * The template FileName to use to display the results.
    */
   public function templateFile();
 
   /**
-   * Returns an array of column headers and field names and sort options
+   * Returns an array of column headers and field names and sort options.
    */
   public function &columns();
 
index ad4aacec091bab09078c833eb0bc08428a752330..05f9852cfbf1063cfbdc7ce0096391236bae57b6 100644 (file)
@@ -43,35 +43,35 @@ class CRM_Report_Page_InstanceList extends CRM_Core_Page {
   static $_exceptions = array('logging/contact/detail');
 
   /**
-   * Name of component if report list is filtered
+   * Name of component if report list is filtered.
    *
    * @var string
    */
   protected $_compName = NULL;
 
   /**
-   * ID of component if report list is filtered
+   * ID of component if report list is filtered.
    *
    * @var int
    */
   protected $_compID = NULL;
 
   /**
-   * ID of grouping if report list is filtered
+   * ID of grouping if report list is filtered.
    *
    * @var int
    */
   protected $_grouping = NULL;
 
   /**
-   * ID of parent report template if list is filtered by template
+   * ID of parent report template if list is filtered by template.
    *
    * @var int
    */
   protected $_ovID = NULL;
 
   /**
-   * Title of parent report template if list is filtered by template
+   * Title of parent report template if list is filtered by template.
    *
    * @var string
    */
index bbedb64db56dcd2e664d462d6f6dd59859f1ce24..c2ee81ced11220cfb331df179333f456e99a262a 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * The option group name
+   * The option group name.
    *
    * @var array
    */
@@ -62,7 +62,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   static $_GName = NULL;
 
   /**
-   * The option group id
+   * The option group id.
    *
    * @var array
    */
@@ -97,7 +97,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -107,7 +107,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -154,7 +154,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all options
+   * Browse all options.
    *
    *
    * @return void
@@ -177,7 +177,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -187,7 +187,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
@@ -209,7 +209,7 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get userContext params
+   * Get userContext params.
    *
    * @param int $mode
    *   Mode that we are in.
index 2c1995e6eb8138650f418afe47067daa8edfc7b2..f5cbafe0d83f149a06a0e95cd8062b8a208e43c8 100644 (file)
@@ -234,7 +234,7 @@ class CRM_Report_Utils_Get {
   }
 
   /**
-   * unset default filters
+   * unset default filters.
    * @param $defaults
    */
   public static function unsetFilters(&$defaults) {
index 2841776f57e9fb2960cfaec0496fe0c7ba33f9a9..94667f7daea9d5a5743914099b2a67a3d2f98ab7 100644 (file)
@@ -155,7 +155,7 @@ WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = %1";
   }
 
   /**
-   * get instance count for a template
+   * get instance count for a template.
    * @param $optionVal
    *
    * @return int|null|string
index f6cae91390d3660aff7f2753b535d6bda63991d1..5bca7ba94c55104c0444a7c6e63d95f23254050e 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_SMS_DAO_Provider
    */
@@ -54,7 +54,7 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
   }
 
   /**
-   * Retrieves the list of providers from the database
+   * Retrieves the list of providers from the database.
    *
    * $selectArr array of coloumns to fetch
    * $getActive boolean to get active providers
index 2f93152d448dde5397835f2b28d0e3a3d1168cad..c2e491004bcb9702b9dec5991c30dcc6d2002079 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_SMS_Controller_Send extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param string $title
    * @param bool|int $action
index 45064eac361110f8e9b361e5a97414adc99f76d3..b0f2c5fd4a26b4754d12af5c00f4c848b7262a95 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -101,7 +101,7 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -300,7 +300,7 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
@@ -310,7 +310,7 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index 901d25b2474e678adfb919afb26de4ce11c03f38..c1ddf964771f9208e4b17f93827f88a5a0e2bf14 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_SMS_Form_Schedule extends CRM_Core_Form {
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -69,7 +69,7 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object for the last step of the sms wizard
+   * Build the form object for the last step of the sms wizard.
    *
    * @param
    *
@@ -203,7 +203,7 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index 565182bae9c28b88b700f4654937a0371061ba5a..fed63f24371bdf2ab9f14db4006b964c2ddaae47 100644 (file)
@@ -119,7 +119,7 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -291,7 +291,7 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * Validation
+   * Validation.
    *
    * @param array $params
    *   (ref.) an assoc array of name/value pairs.
@@ -426,7 +426,7 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * Display Name of the form
+   * Display Name of the form.
    *
    *
    * @return string
index de6cceef75e55f78871d2c43a19680631befa930..0bd5ff27b5e80aebf1a0c2e556054cafae666539 100644 (file)
@@ -41,14 +41,14 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -162,7 +162,7 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -172,7 +172,7 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index d6d1c5df11ab7ba9c0ff4419015f0a2aa4429c0d..eb4818ec941315985db5d0874226d376ccb77ace 100644 (file)
@@ -44,7 +44,7 @@ abstract class CRM_SMS_Provider {
   const MAX_SMS_CHAR = 460;
 
   /**
-   * Singleton function used to manage this object
+   * Singleton function used to manage this object.
    *
    * @param array $providerParams
    * @param bool $force
@@ -87,7 +87,7 @@ abstract class CRM_SMS_Provider {
   }
 
   /**
-   * Send an SMS Message via the API Server
+   * Send an SMS Message via the API Server.
    */
   abstract public function send($recipients, $header, $message, $dncID = NULL);
 
index 67ee66496114c2ee74809de16a83e3144fa1bd3c..166334aee6f7fca674828e72172c01b6728ef9db 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_SMS_StateMachine_Send extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param \const|int $action
index e8c6cc7b598f84965231d646cf30973281f75b17..dc89fe3e74778c6fe0b56a961549563d03943a29 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 4e4840efb1194c8747d90eecc1edb714fe6efc58..e9203dfa34bd6ff28f32fdc2b079d6bbc095b566 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_UF_Form_AbstractPreview extends CRM_Core_Form {
 
   /**
-   * The fields needed to build this form
+   * The fields needed to build this form.
    *
    * @var array
    */
@@ -73,7 +73,7 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form {
   }
 
   /**
-   * Set the default form values
+   * Set the default form values.
    *
    *
    * @return array
@@ -94,7 +94,7 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -107,7 +107,7 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
index 2b7e89b77ab960d47f7b0e1db37c6b0d872aacf3..dec747e47182fc388a84cc6db46f10edacd9e4d5 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_UF_Form_Field extends CRM_Core_Form {
 
   /**
-   * The uf group id saved to the session for an update
+   * The uf group id saved to the session for an update.
    *
    * @var int
    */
@@ -81,7 +81,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   protected $_hasLocationTypes;
 
   /**
-   * Is this profile has searchable field
+   * Is this profile has searchable field.
    * or is any field having in selector true.
    *
    * @var boolean.
@@ -89,7 +89,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   protected $_hasSearchableORInSelector;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -178,7 +178,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -499,7 +499,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
@@ -757,7 +757,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index a38c77b76e71b0577e3bb42775f863a17c2cfa5d..4ee4662437aa2fce9608361336362d281b434953 100644 (file)
 class CRM_UF_Form_Group extends CRM_Core_Form {
 
   /**
-   * The form id saved to the session for an update
+   * The form id saved to the session for an update.
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * The title for group
+   * The title for group.
    *
    * @var int
    */
@@ -56,7 +56,7 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
   protected $_allPanes;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @return void
    */
@@ -106,7 +106,7 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -285,7 +285,7 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -317,7 +317,7 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * Process the form
+   * Process the form.
    *
    * @return void
    */
index b27c3d96539a96065b5933a09959ebe959954d26..3e584fa0444e42f507934cfb94b92b9cbb0a0ea7 100644 (file)
@@ -123,7 +123,7 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 5edb2d497917a46489d05f6f47f9a14949582341..c3b59e02c1be55b6e4d486158b4cd272aa698bb5 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_UF_Page_AJAX {
 
   /**
-   * Function the check whether the field belongs
+   * Function the check whether the field belongs.
    * to multi-record custom set
    */
   public function checkIsMultiRecord() {
index a6467ca2b505efef67ff043a8ac0ea13856e944b..0465662c3ad5882ee19d2d03fc46f16d3ee9e965 100644 (file)
@@ -46,14 +46,14 @@ class CRM_UF_Page_Field extends CRM_Core_Page {
   public $useLivePageJS = TRUE;
 
   /**
-   * The group id of the field
+   * The group id of the field.
    *
    * @var int
    */
   protected $_gid;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -275,7 +275,7 @@ class CRM_UF_Page_Field extends CRM_Core_Page {
   }
 
   /**
-   * Preview custom field
+   * Preview custom field.
    *
    * @param int $fieldId
    *   Custom field id.
index bdae6cdd75eb21bd91c6fa0e1881ac6e8b4d95f5..04c1ba21cc6e8131dda7f81255ee651ef100a54b 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_UF_Page_Group extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -265,7 +265,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * Edit uf group
+   * Edit uf group.
    *
    * @param int $id
    *   Uf group id.
@@ -378,7 +378,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * for preview mode for ufoup
+   * for preview mode for ufoup.
    *
    * @param int $id
    *   Uf group id.
index 025fea737e82edf35bbaedc0d1621010e125670f..3a1370570dcf7f4bca05ba884b3f9039269707c2 100644 (file)
@@ -77,7 +77,7 @@ class CRM_UF_Page_ProfileEditor extends CRM_Core_Page {
   }
 
   /**
-   * AJAX callback
+   * AJAX callback.
    */
   public static function getSchemaJSON() {
     $entityTypes = explode(',', $_REQUEST['entityTypes']);
index 891efdaf85554860668f1e6fba727897f6f1b94e..bc94a1c9d5ec51dfb6737b3e737c352c2e3e0fbf 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Upgrade_Controller extends CRM_Core_Controller {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param null $title
    * @param bool|int $action
index 6f40d682b11509b36aee97abb9edc4f3f8c4a56b..e6d27cbe1dc9195f7548086bbf16c67fa833204d 100644 (file)
@@ -45,21 +45,21 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   protected $_config;
 
   /**
-   * Upgrade for multilingual
+   * Upgrade for multilingual.
    *
    * @var boolean
    */
   public $multilingual = FALSE;
 
   /**
-   * Locales available for multilingual upgrade
+   * Locales available for multilingual upgrade.
    *
    * @var array
    */
   public $locales;
 
   /**
-   * Number to string mapper
+   * Number to string mapper.
    *
    * @var array
    */
@@ -77,7 +77,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   );
 
   /**
-   * Constructor for the basic form page
+   * Constructor for the basic form page.
    *
    * We should not use QuickForm directly. This class provides a lot
    * of default convenient functions, rules and buttons
@@ -243,7 +243,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   }
 
   /**
-   * Use the form name to create the tpl file name
+   * Use the form name to create the tpl file name.
    *
    * @return string
    */
@@ -436,7 +436,7 @@ SET    version = '$version'
   }
 
   /**
-   * Determine the start and end version of the upgrade process
+   * Determine the start and end version of the upgrade process.
    *
    * @return array(0=>$currentVer, 1=>$latestVer)
    */
@@ -547,7 +547,7 @@ SET    version = '$version'
   }
 
   /**
-   * Fill the queue with upgrade tasks
+   * Fill the queue with upgrade tasks.
    *
    * @param string $currentVer
    *   the original revision.
@@ -614,7 +614,7 @@ SET    version = '$version'
   }
 
   /**
-   * Perform an incremental version update
+   * Perform an incremental version update.
    *
    * @param CRM_Queue_TaskContext $ctx
    * @param string $rev
@@ -633,7 +633,7 @@ SET    version = '$version'
   }
 
   /**
-   * Perform an incremental version update
+   * Perform an incremental version update.
    *
    * @param CRM_Queue_TaskContext $ctx
    * @param string $rev
@@ -705,7 +705,7 @@ SET    version = '$version'
   }
 
   /**
-   * Perform an incremental version update
+   * Perform an incremental version update.
    *
    * @param CRM_Queue_TaskContext $ctx
    * @param string $rev
index 25c3271553b3d060122419dd0ec2101d6bc3f9b8..602e3c387ed03f7ab195fed1757e4ce64097b589 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Upgrade_Incremental_Legacy {
 
   /**
-   * Compute any messages which should be displayed before upgrade
+   * Compute any messages which should be displayed before upgrade.
    *
    * @param string $preUpgradeMessage
    *   alterable.
@@ -209,7 +209,7 @@ SELECT  id
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
@@ -279,7 +279,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -324,7 +324,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -352,7 +352,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * This function should check if if need to skip current sql file
+   * This function should check if if need to skip current sql file.
    * Name of this function will change according to the latest release
    */
   public static function upgrade_2_2_alpha3($rev) {
@@ -365,7 +365,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -380,7 +380,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -404,7 +404,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -420,7 +420,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -441,7 +441,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -462,7 +462,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -495,7 +495,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -518,7 +518,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -539,7 +539,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -570,7 +570,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
@@ -584,7 +584,7 @@ SELECT  count( id ) as statusCount
   }
 
   /**
-   * Perform an incremental upgrade
+   * Perform an incremental upgrade.
    *
    * @param string $rev
    *   the revision to which we are upgrading (Note: When processing a series of upgrades, this is the immediate upgrade - not the final).
index 8e81e4605bc3ccc459323c60a96b2ddda6755bd4..02f1e531522cf4e8b4a4d302ea9348cac6724acd 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Upgrade_Incremental_php_FourFive {
   }
 
   /**
-   * Compute any messages which should be displayed beforeupgrade
+   * Compute any messages which should be displayed beforeupgrade.
    *
    * Note: This function is called iteratively for each upcoming
    * revision to the database.
@@ -60,7 +60,7 @@ class CRM_Upgrade_Incremental_php_FourFive {
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
index 8b24dc6d673e785b8bef55b92adcb083849c4e91..54bc8157bbf80330391780edc0a9512971e4cb5c 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Upgrade_Incremental_php_FourFour {
   }
 
   /**
-   * Compute any messages which should be displayed beforeupgrade
+   * Compute any messages which should be displayed beforeupgrade.
    *
    * Note: This function is called iteratively for each upcoming
    * revision to the database.
@@ -76,7 +76,7 @@ class CRM_Upgrade_Incremental_php_FourFour {
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
index 79b1741bfa7ea721bc3434c443dbd44dcd34dcf6..f1373ca2240fd80d3198d855ce6ebb341e59d543 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Upgrade_Incremental_php_FourOne {
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
index d7d3222548996eb7fcd60816a385af7f0f73a0ca..f6ae9ac3b15aa0fd741d4ad2f2333fec0300094a 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Upgrade_Incremental_php_FourSix {
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
index 7a726c2ba210d6664d0f3cefc5dbea4f73a99f40..7c6e12757753cc5fb7f35fb4d4de1337ac5f8dda 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Upgrade_Incremental_php_FourThree {
   }
 
   /**
-   * Compute any messages which should be displayed beforeupgrade
+   * Compute any messages which should be displayed beforeupgrade.
    *
    * Note: This function is called iteratively for each upcoming
    * revision to the database.
@@ -115,7 +115,7 @@ WHERE {$key}.id IS NULL";
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
@@ -983,7 +983,7 @@ ALTER TABLE civicrm_financial_account
   }
 
   /**
-   * Change index and add missing constraints for civicrm_contribution_recur
+   * Change index and add missing constraints for civicrm_contribution_recur.
    */
   public function addMissingConstraints(CRM_Queue_TaskContext $ctx) {
     $query = "SHOW KEYS FROM `civicrm_contribution_recur` WHERE key_name = 'UI_contrib_payment_instrument_id'";
@@ -1013,7 +1013,7 @@ ALTER TABLE civicrm_financial_account
   }
 
   /**
-   * Update financial_account_id for bad data in financial_trxn table
+   * Update financial_account_id for bad data in financial_trxn table.
    * CRM-12844
    */
   public function updateFinancialTrxnData(CRM_Queue_TaskContext $ctx) {
@@ -1075,7 +1075,7 @@ id IN (' . implode(',', $val) . ')';
   }
 
   /**
-   * Update financial_account_id for bad data in financial_trxn table
+   * Update financial_account_id for bad data in financial_trxn table.
    * CRM-12844
    */
   public function updateLineItemData(CRM_Queue_TaskContext $ctx) {
@@ -1139,7 +1139,7 @@ AND cli.entity_table = 'civicrm_contribution' AND cli.id IN (" . implode(',', $v
   }
 
   /**
-   * Replace contribution_type to financial_type in table
+   * Replace contribution_type to financial_type in table.
    * civicrm_saved_search and Structure civicrm_report_instance
    */
   public function replaceContributionTypeId(CRM_Queue_TaskContext $ctx, $query, $table) {
@@ -1215,7 +1215,7 @@ AND cli.entity_table = 'civicrm_contribution' AND cli.id IN (" . implode(',', $v
   }
 
   /**
-   * Add ON DELETE options for constraint if not present
+   * Add ON DELETE options for constraint if not present.
    * CRM-13088 && CRM-12156
    *
    * @param CRM_Queue_TaskContext $ctx
index 526796408c4fb6c1314137965d842f2020ecf307..aa8f210060568a179d82c2f0434424eaa5e41495 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Upgrade_Incremental_php_FourTwo {
   }
 
   /**
-   * Compute any messages which should be displayed beforeupgrade
+   * Compute any messages which should be displayed beforeupgrade.
    *
    * Note: This function is called iteratively for each upcoming
    * revision to the database.
@@ -146,7 +146,7 @@ INNER JOIN civicrm_price_set cps ON cps.id = cpf.price_set_id AND cps.name <>'de
   }
 
   /**
-   * Compute any messages which should be displayed after upgrade
+   * Compute any messages which should be displayed after upgrade.
    *
    * @param string $postUpgradeMessage
    *   alterable.
index 6f0b69ae32b456a91337fd086cc9fca63c568531..bc48b0459df882878d2089aa9fca5a4ebc4fa710 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
   protected $_options;
 
   /**
-   * Takes an associative array and creates a price field object
+   * Takes an associative array and creates a price field object.
    *
    * the function extract all the params it needs to initialize the create a
    * price field object. the params array could contain additional unused name/value
@@ -67,7 +67,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
   }
 
   /**
-   * Takes an associative array and creates a price field object
+   * Takes an associative array and creates a price field object.
    *
    * This function is invoked from within the web form layer and also from the api layer
    *
@@ -154,7 +154,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -168,7 +168,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -198,7 +198,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
   }
 
   /**
-   * This function for building custom fields
+   * This function for building custom fields.
    *
    * @param CRM_Core_Form $qf
    *   Form object (reference).
@@ -458,7 +458,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
   }
 
   /**
-   * Retrieve a list of options for the specified field
+   * Retrieve a list of options for the specified field.
    *
    * @param int $fieldId
    *   Price field ID.
@@ -562,7 +562,7 @@ WHERE
   }
 
   /**
-   * Validate the priceset
+   * Validate the priceset.
    *
    * @param int $priceSetId
    * @param array $fields
index 67460368b96b6042a0a2efd3137ef4d3f022999d..23bcb6997e392a9ead2bb49a226d7b210022bd60 100644 (file)
@@ -110,8 +110,9 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array.
@@ -125,7 +126,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
   }
 
   /**
-   * Retrive the all values for given field id
+   * Retrive the all values for given field id.
    *
    * @param int $fieldId
    *   Price_field_id.
@@ -169,7 +170,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -185,7 +186,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
   }
 
   /**
-   * Delete all values of the given field id
+   * Delete all values of the given field id.
    *
    * @param int $fieldId
    *   Price field id.
index c78dfd152d1077a417f0565c29746a88585beea5..bb602471a25f4e68517f39dfe13e53af543a5f85 100644 (file)
@@ -69,10 +69,9 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem extends CRM_Upgrade_Snapshot_
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
-   * retrieves the relevant objects.  Typically, the valid params are only
-   * price_field_id.  This is the inverse function of create.  It also
-   * stores all of the retrieved values in the default array.
+   * Retrieve DB object based on input parameters.
+   *
+   * It also stores all the retrieved values in the default array.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -169,7 +168,7 @@ WHERE     %2.id = %1";
   }
 
   /**
-   * This method will create the lineItem array required for
+   * This method will create the lineItem array required for.
    * processAmount method
    *
    * @param int $fid
index a29a93781f26dcc9c0a36d29ecdacbd286fda225..eb62223c4c1cbe23d78ac67789fbc684c0eb1409 100644 (file)
 class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes an associative array and creates a price set object
+   * Takes an associative array and creates a price set object.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -64,7 +64,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_
   }
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -78,7 +78,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -93,7 +93,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_
   }
 
   /**
-   * Calculate the default price set id
+   * Calculate the default price set id.
    * assigned to the contribution/membership etc
    *
    * @param string $entity
@@ -247,7 +247,7 @@ WHERE     ct.id = cp.contribution_type_id AND
   }
 
   /**
-   * Delete the price set
+   * Delete the price set.
    *
    * @param int $id
    *   Price Set id.
@@ -286,7 +286,7 @@ WHERE     ct.id = cp.contribution_type_id AND
   }
 
   /**
-   * Link the price set with the specified table and id
+   * Link the price set with the specified table and id.
    *
    * @param string $entityTable
    * @param int $entityId
@@ -315,7 +315,7 @@ WHERE     ct.id = cp.contribution_type_id AND
   }
 
   /**
-   * Delete price set for the given entity and id
+   * Delete price set for the given entity and id.
    *
    * @param string $entityTable
    * @param int $entityId
@@ -372,7 +372,7 @@ WHERE     ct.id = cp.contribution_type_id AND
   }
 
   /**
-   * Find a price_set_id associatied with the given option value or  field ID
+   * Find a price_set_id associatied with the given option value or  field ID.
    *
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
@@ -404,7 +404,7 @@ WHERE     ct.id = cp.contribution_type_id AND
   }
 
   /**
-   * Return an associative array of all price sets
+   * Return an associative array of all price sets.
    *
    * @param bool $withInactive
    *   Whether or not to include inactive entries.
@@ -449,7 +449,7 @@ WHERE     ct.id = cp.contribution_type_id AND
   }
 
   /**
-   * Get price set details
+   * Get price set details.
    *
    * An array containing price set details (including price fields) is returned
    *
@@ -899,7 +899,7 @@ WHERE  id = %1";
   }
 
   /**
-   * Get field ids of a price set
+   * Get field ids of a price set.
    *
    * @param int $id Price Set id
    *
@@ -965,7 +965,7 @@ WHERE  id = %1";
   }
 
   /**
-   * check price set permission
+   * check price set permission.
    *
    * @param int $sid
    *   The price set id.
@@ -985,7 +985,7 @@ WHERE  id = %1";
   }
 
   /**
-   * Get the sum of participant count
+   * Get the sum of participant count.
    * for all fields of given price set.
    *
    * @param int $sid
@@ -1047,7 +1047,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Function to check if auto renew option should be shown
+   * Function to check if auto renew option should be shown.
    *
    * @param int $priceSetId
    *   Price set id.
@@ -1096,7 +1096,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Retrieve auto renew frequency and interval
+   * Retrieve auto renew frequency and interval.
    *
    * @param int $priceSetId
    *   Price set id.
@@ -1128,7 +1128,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Update the is_quick_config flag in the db
+   * Update the is_quick_config flag in the db.
    *
    * @param int $id
    *   Id of the database record.
index ed86b1d692d731fb64fbb786a0940911b7bf1413..0a582fd995ac298e54ac26da6e521f7a3d80fd16 100644 (file)
@@ -180,7 +180,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   public $visibility_id;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field
    */
@@ -190,7 +190,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * return foreign links
+   * Return foreign links.
    *
    * @return array
    */
@@ -204,7 +204,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table.
    *
    * @return array
    */
@@ -320,7 +320,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * returns the names of this table
+   * returns the names of this table.
    *
    * @return string
    */
@@ -329,7 +329,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * returns if this table needs to be logged
+   * returns if this table needs to be logged.
    *
    * @return boolean
    */
@@ -338,7 +338,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be imported
+   * returns the list of fields that can be imported.
    *
    * @return array
    */
@@ -361,7 +361,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be exported
+   * returns the list of fields that can be exported.
    *
    * @return array
    */
@@ -384,7 +384,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO {
   }
 
   /**
-   * returns an array containing the enum fields of the civicrm_price_field table
+   * returns an array containing the enum fields of the civicrm_price_field table.
    *
    * @return array
    *   (reference)  the array of enum fields
index 0cd702e29bcdc08e747b0f35d2432d474178d092..d8eecce99b3162a93f813d80876339ee400ae9ce 100644 (file)
@@ -151,7 +151,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   public $is_active;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue
    */
@@ -161,7 +161,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * return foreign links
+   * Return foreign links.
    *
    * @return array
    */
@@ -176,7 +176,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table.
    *
    * @return array
    */
@@ -263,7 +263,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns the names of this table
+   * returns the names of this table.
    *
    * @return string
    */
@@ -272,7 +272,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns if this table needs to be logged
+   * returns if this table needs to be logged.
    *
    * @return boolean
    */
@@ -281,7 +281,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be imported
+   * returns the list of fields that can be imported.
    *
    * @return array
    */
@@ -304,7 +304,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be exported
+   * returns the list of fields that can be exported.
    *
    * @return array
    */
index 7c9d98e9812d991ea67fd5d79b9831c6bb675140..3657a438bc6c3af587810f92c4a1d1e9dd3e072f 100644 (file)
@@ -139,7 +139,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   public $price_field_value_id;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem
    */
@@ -149,7 +149,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   }
 
   /**
-   * return foreign links
+   * Return foreign links.
    *
    * @return array
    */
@@ -164,7 +164,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table.
    *
    * @return array
    */
@@ -239,7 +239,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   }
 
   /**
-   * returns the names of this table
+   * returns the names of this table.
    *
    * @return string
    */
@@ -248,7 +248,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   }
 
   /**
-   * returns if this table needs to be logged
+   * returns if this table needs to be logged.
    *
    * @return boolean
    */
@@ -257,7 +257,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be imported
+   * returns the list of fields that can be imported.
    *
    * @return array
    */
@@ -280,7 +280,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be exported
+   * returns the list of fields that can be exported.
    *
    * @return array
    */
index e828e12c3ab3b3a783ccf59a431d6fac5644b252..8a526d8c5e5587a9e23aa696313f3c71968d5e14 100644 (file)
@@ -151,7 +151,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   public $is_reserved;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set
    */
@@ -161,7 +161,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   }
 
   /**
-   * return foreign links
+   * Return foreign links.
    *
    * @return array
    */
@@ -176,7 +176,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table.
    *
    * @return array
    */
@@ -263,7 +263,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   }
 
   /**
-   * returns the names of this table
+   * returns the names of this table.
    *
    * @return string
    */
@@ -272,7 +272,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   }
 
   /**
-   * returns if this table needs to be logged
+   * returns if this table needs to be logged.
    *
    * @return boolean
    */
@@ -281,7 +281,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be imported
+   * returns the list of fields that can be imported.
    *
    * @return array
    */
@@ -304,7 +304,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be exported
+   * returns the list of fields that can be exported.
    *
    * @return array
    */
index 35de88c00c5477c574238d06e8110dd18f04c2e5..9365951d8bd9daf149c46f34b94a137c6462a2ed 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   public $price_set_id;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity
    */
@@ -113,7 +113,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   }
 
   /**
-   * return foreign links
+   * Return foreign links.
    *
    * @return array
    */
@@ -127,7 +127,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table.
    *
    * @return array
    */
@@ -164,7 +164,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   }
 
   /**
-   * returns the names of this table
+   * returns the names of this table.
    *
    * @return string
    */
@@ -173,7 +173,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   }
 
   /**
-   * returns if this table needs to be logged
+   * returns if this table needs to be logged.
    *
    * @return boolean
    */
@@ -182,7 +182,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be imported
+   * returns the list of fields that can be imported.
    *
    * @return array
    */
@@ -205,7 +205,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO {
   }
 
   /**
-   * returns the list of fields that can be exported
+   * returns the list of fields that can be exported.
    *
    * @return array
    */
index e01714d3939a62fbcfd4e4d06faac3135b718db1..63b6ec4529471261b0d2178f2b6b4af154435bad 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Upgrade_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param object $controller
    * @param const $pages
index 4d2c4916422e57d03f805dcd33cc3d04ffc7a30b..dbb93b79d24fd28d33f5f028dba2891589bf5424 100644 (file)
@@ -116,7 +116,7 @@ class CRM_Utils_API_ReloadOption implements API_Wrapper {
   }
 
   /**
-   * Identify the fields which should be returned
+   * Identify the fields which should be returned.
    *
    * @param $apiRequest
    * @return array
index b4c3a209091e139a95f0738a7a1933c56fb6dbad..82b9c706a557d6da9beda4691664cbd303231d28 100644 (file)
@@ -33,7 +33,7 @@
 class CRM_Utils_Address {
 
   /**
-   * Format an address string from address fields and a format string
+   * Format an address string from address fields and a format string.
    *
    * Format an address basing on the address fields provided.
    * Use Setting's address_format if there's no format specified.
index 3560b4fcb258ac57efe9ab28873e1913db049498..9471cb0fa2f0b86f6e0040fc4a8bcd5397b2e357 100644 (file)
@@ -388,7 +388,7 @@ class CRM_Utils_Array {
   }
 
   /**
-   * convert associative array names to values
+   * convert associative array names to values.
    * and vice-versa.
    *
    * This function is used by both the web form layer and the api. Note that
@@ -781,7 +781,7 @@ class CRM_Utils_Array {
   }
 
   /**
-   * Get the first element of an array
+   * Get the first element of an array.
    *
    * @param array $array
    * @return mixed|NULL
index a6a8fa95218a97eee0b4ab279e0ca83b500d9010..4aadbf1f8d47af459929a06b7ca67b621930461f 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Utils_Cache {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
@@ -59,7 +59,7 @@ class CRM_Utils_Cache {
   }
 
   /**
-   * Singleton function used to manage this object
+   * Singleton function used to manage this object.
    *
    * @return object
    */
@@ -91,7 +91,7 @@ class CRM_Utils_Cache {
   }
 
   /**
-   * Get cache relevant settings
+   * Get cache relevant settings.
    *
    * @param $cachePlugin
    *
index 50b4b2e3bbc06c36af5bed043f3e18148ad690cd..0a10a48b6dd5b1a7740095de7898e46838add7d4 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Utils_Cache_APCcache {
   const DEFAULT_PREFIX = '';
 
   /**
-   * The default timeout to use
+   * The default timeout to use.
    *
    * @var int
    */
@@ -55,7 +55,7 @@ class CRM_Utils_Cache_APCcache {
   protected $_prefix = self::DEFAULT_PREFIX;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index 096ab477b5317f15b6da5f79320d852d326cb9af..408e2ef6497aed74f8111c8ea9b1da99e93532ee 100644 (file)
@@ -11,7 +11,7 @@ class CRM_Utils_Cache_Arraycache implements CRM_Utils_Cache_Interface {
   private $_cache;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index 7d21c11c6f158bbb3ce18ff9d63ad6b9cb09a6df..ac4344c9d83aab4ad4dfee7a9811b34d2c7c2da6 100644 (file)
@@ -35,7 +35,7 @@
 interface CRM_Utils_Cache_Interface {
 
   /**
-   * Set the value in the cache
+   * Set the value in the cache.
    *
    * @param string $key
    * @param mixed $value
@@ -44,7 +44,7 @@ interface CRM_Utils_Cache_Interface {
   public function set($key, &$value);
 
   /**
-   * Get a value from the cache
+   * Get a value from the cache.
    *
    * @param string $key
    * @return mixed
@@ -53,7 +53,7 @@ interface CRM_Utils_Cache_Interface {
   public function get($key);
 
   /**
-   * Delete a value from the cache
+   * Delete a value from the cache.
    *
    * @param string $key
    * @return void
@@ -61,7 +61,7 @@ interface CRM_Utils_Cache_Interface {
   public function delete($key);
 
   /**
-   * Delete all values from the cache
+   * Delete all values from the cache.
    *
    * @return void
    */
index c586b258101f0d356827cf85514d301df5ba7b60..1f1c1ef2cc4d86831a985a217382f45df73be538 100644 (file)
@@ -39,21 +39,21 @@ class CRM_Utils_Cache_Memcache {
   const DEFAULT_PREFIX = '';
 
   /**
-   * The host name of the memcached server
+   * The host name of the memcached server.
    *
    * @var string
    */
   protected $_host = self::DEFAULT_HOST;
 
   /**
-   * The port on which to connect on
+   * The port on which to connect on.
    *
    * @var int
    */
   protected $_port = self::DEFAULT_PORT;
 
   /**
-   * The default timeout to use
+   * The default timeout to use.
    *
    * @var int
    */
@@ -71,14 +71,14 @@ class CRM_Utils_Cache_Memcache {
   protected $_prefix = self::DEFAULT_PREFIX;
 
   /**
-   * The actual memcache object
+   * The actual memcache object.
    *
    * @var resource
    */
   protected $_cache;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index cad43187c2f8ac43404e71e8a4e78dbe558537bc..f14ddeea9838e69cc3dba6b9765f13f8115bd552 100644 (file)
@@ -72,14 +72,14 @@ class CRM_Utils_Cache_Memcached {
   protected $_prefix = self::DEFAULT_PREFIX;
 
   /**
-   * The actual memcache object
+   * The actual memcache object.
    *
    * @var resource
    */
   protected $_cache;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index 5c014ba4295e2f687635c99565ec9baa75517eca..b37df2f594eace1b61733e040faee3f68a314cbe 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
   static private $_singleton = NULL;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index 4ea0fe7bc5c1a6afb010781be8e0824b92ec03b8..4887eee38c88cd38b22b3602b927ee3c76203e21 100644 (file)
@@ -36,7 +36,7 @@ class CRM_Utils_Cache_SerializeCache implements CRM_Utils_Cache_Interface {
   private $_cache;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index 085deda8e0a417ff47de5b5a4a0e2b05e8cf80e4..5d3d5322586e030c4409361672d8a810e2d14fb2 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface {
 
   /**
-   * The host name of the memcached server
+   * The host name of the memcached server.
    *
    * @var string
    */
@@ -58,7 +58,7 @@ class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface {
   protected $frontCache;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param array $config
    *   An array of configuration params.
index 678172bcd09c7391417f3960dad36bbcda071c57..ba102ea82db611025fa33e7588cd5a0e953c3f6f 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Utils_Check {
   }
 
   /**
-   * Execute "checkAll"
+   * Execute "checkAll".
    *
    * @param array|NULL $messages list of CRM_Utils_Check_Message; or NULL if the default list should be fetched
    */
@@ -84,7 +84,7 @@ class CRM_Utils_Check {
   }
 
   /**
-   * Throw an exception if any of the checks fail
+   * Throw an exception if any of the checks fail.
    *
    * @param array|NULL $messages list of CRM_Utils_Check_Message; or NULL if the default list should be fetched
    *
index 1c4dc6e03c260185836ea82494ccb7286d21b955..582a7f6d0e3e66eaf8378d119fc68f16845ad8f8 100644 (file)
@@ -166,7 +166,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Return abbreviated weekday names according to the locale
+   * Return abbreviated weekday names according to the locale.
    *
    * @return array
    *   0-based array with abbreviated weekday names
@@ -187,7 +187,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Return full weekday names according to the locale
+   * Return full weekday names according to the locale.
    *
    * @return array
    *   0-based array with full weekday names
@@ -208,7 +208,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Return abbreviated month names according to the locale
+   * Return abbreviated month names according to the locale.
    *
    * @param bool $month
    *
@@ -233,7 +233,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Return full month names according to the locale
+   * Return full month names according to the locale.
    *
    * @return array
    *   1-based array with full month names
@@ -272,7 +272,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Create a date and time string in a provided format
+   * Create a date and time string in a provided format.
    *
    * %b - abbreviated month name ('Jan'..'Dec')
    * %B - full month name ('January'..'December')
@@ -710,7 +710,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Get customized today
+   * Get customized today.
    *
    * This function is used for getting customized today. To get
    * actuall today pass 'dayParams' as null. or else pass the day,
@@ -803,7 +803,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Calculate Age in Years if greater than one year else in months
+   * Calculate Age in Years if greater than one year else in months.
    *
    * @param date $birthDate
    *   Birth Date.
@@ -958,7 +958,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Resolves the given relative time interval into finite time limits
+   * Resolves the given relative time interval into finite time limits.
    *
    * @param array $relativeTerm
    *   Relative time frame like this, previous, etc.
@@ -1631,7 +1631,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Calculate current fiscal year based on the fiscal month and day
+   * Calculate current fiscal year based on the fiscal month and day.
    *
    * @param int $fyDate
    *   Fiscal start date.
@@ -1691,7 +1691,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   *  Function to convert mysql to date plugin format
+   *  Function to convert mysql to date plugin format.
    *
    * @param string $mysqlDate
    *   Date string.
@@ -1763,7 +1763,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Function get date format
+   * Function get date format.
    *
    * @param string $formatType
    *   Date name e.g. birth.
index 808c43aa0dba533574c15e4f2d5bbb0cd140a550..70adaed6cccf4e6a32cd513a3cec53f0b5b7515f 100644 (file)
@@ -343,7 +343,7 @@ class CRM_Utils_File {
   }
 
   /**
-   * Determine whether a given file is listed in the PHP include path
+   * Determine whether a given file is listed in the PHP include path.
    *
    * @param string $name
    *   Name of file.
@@ -550,7 +550,7 @@ HTACCESS;
   }
 
   /**
-   * Make a file path relative to some base dir
+   * Make a file path relative to some base dir.
    *
    * @param $directory
    * @param $basePath
@@ -567,7 +567,7 @@ HTACCESS;
   }
 
   /**
-   * Create a path to a temporary file which can endure for multiple requests
+   * Create a path to a temporary file which can endure for multiple requests.
    *
    * TODO: Automatic file cleanup using, eg, TTL policy
    *
@@ -585,7 +585,7 @@ HTACCESS;
   }
 
   /**
-   * Create a path to a temporary directory which can endure for multiple requests
+   * Create a path to a temporary directory which can endure for multiple requests.
    *
    * TODO: Automatic file cleanup using, eg, TTL policy
    *
index f224b63ec1777db133d3eea7d7afcccecbea4dc4..1a7b0c557e9ce7aaa40a150149bb9909c36524ad 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Utils_Geocode_Google {
   static protected $_server = 'maps.googleapis.com';
 
   /**
-   * Uri of service
+   * Uri of service.
    *
    * @var string
    */
index e5e634441587d7b3fe6056f25a70e293dd6379cc..39289d2e5d38ab2166e5c103a6e78e5ffc8d1c3c 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Utils_Geocode_Yahoo {
   static protected $_server = 'query.yahooapis.com';
 
   /**
-   * Uri of service
+   * Uri of service.
    *
    * @var string
    */
index b6d4a089ccf105ea2bc06fb27b8118a5205086c2..a03738ea9d18de06e6bfe3c2bc32df57c94745d2 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Utils_GlobalStack {
   private $backups = array();
 
   /**
-   * Get or set the single instance of CRM_Utils_GlobalStack
+   * Get or set the single instance of CRM_Utils_GlobalStack.
    *
    * @return CRM_Utils_GlobalStack
    */
index 1953cfc6200e4f60baf66f5977ab75be489e7cec..da48a2ca1fd50354e6ada587f9194d07f7053af1 100644 (file)
@@ -70,7 +70,7 @@ abstract class CRM_Utils_Hook {
   private $commonCiviModules = array();
 
   /**
-   * Constructor and getter for the singleton instance
+   * Constructor and getter for the singleton instance.
    *
    * @param bool $fresh
    *
@@ -88,7 +88,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
@@ -307,7 +307,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook retrieves links from other modules and injects it into
+   * This hook retrieves links from other modules and injects it into.
    * the view contact tabs
    *
    * @param string $op
@@ -424,7 +424,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called before a db write on a custom table
+   * This hook is called before a db write on a custom table.
    *
    * @param string $op
    *   The type of operation being performed.
@@ -490,7 +490,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called when building the menu table
+   * This hook is called when building the menu table.
    *
    * @param array $files
    *   The current set of files to process.
@@ -578,7 +578,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * Determine how many other records refer to a given record
+   * Determine how many other records refer to a given record.
    *
    * @param CRM_Core_DAO $dao
    *   The item for which we want a reference count.
@@ -597,7 +597,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called when building the amount structure for a Contribution or Event Page
+   * This hook is called when building the amount structure for a Contribution or Event Page.
    *
    * @param int $pageType
    *   Is this a contribution or event page.
@@ -870,7 +870,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called when rendering the contact summary
+   * This hook is called when rendering the contact summary.
    *
    * @param int $contactID
    *   The contactID for whom the summary is being rendered
@@ -967,7 +967,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called when membership status is being calculated
+   * This hook is called when membership status is being calculated.
    *
    * @param array $membershipStatus
    *   Membership status details as determined - alter if required.
@@ -992,7 +992,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called when rendering the Manage Case screen
+   * This hook is called when rendering the Manage Case screen.
    *
    * @param int $caseID
    *   The case ID.
@@ -1051,7 +1051,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hooks allows to change option values
+   * This hooks allows to change option values.
    *
    * @param array $options
    *   Associated array of option values / id
@@ -1118,7 +1118,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called before record is exported as CSV
+   * This hook is called before record is exported as CSV.
    *
    * @param string $exportTempTable
    *   Name of the temporary export table used during export.
@@ -1325,7 +1325,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * Hook definition for altering the generation of Mailing Labels
+   * Hook definition for altering the generation of Mailing Labels.
    *
    * @param array $args
    *   An array of the args in the order defined for the tcpdf multiCell api call.
@@ -1366,7 +1366,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hooks allows alteration of generated page content
+   * This hooks allows alteration of generated page content.
    *
    * @param $content
    *   Previously generated content.
@@ -1409,7 +1409,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook collects the trigger definition from all components
+   * This hook collects the trigger definition from all components.
    *
    * @param $info
    * @param string $tableName
@@ -1541,7 +1541,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called when Settings specifications are loaded
+   * This hook is called when Settings specifications are loaded.
    *
    * @param array $settingsFolders
    *   List of paths from which to derive metadata
@@ -1644,7 +1644,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called for declaring managed entities via API
+   * This hook is called for declaring managed entities via API.
    *
    * @param array[] $entityTypes
    *   List of entity types; each entity-type is an array with keys:
@@ -1662,7 +1662,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called while preparing a profile form
+   * This hook is called while preparing a profile form.
    *
    * @param string $name
    * @return mixed
@@ -1673,7 +1673,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called while validating a profile form submission
+   * This hook is called while validating a profile form submission.
    *
    * @param string $name
    * @return mixed
@@ -1684,7 +1684,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called processing a valid profile form submission
+   * This hook is called processing a valid profile form submission.
    *
    * @param string $name
    * @return mixed
@@ -1738,7 +1738,7 @@ abstract class CRM_Utils_Hook {
 
 
   /**
-   * This hook is called before encoding data in barcode
+   * This hook is called before encoding data in barcode.
    *
    * @param array $data
    *   Associated array of values available for encoding.
@@ -1787,7 +1787,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * This hook is called while viewing contact dashboard
+   * This hook is called while viewing contact dashboard.
    *
    * @param array $availableDashlets
    *   List of dashlets; each is formatted per api/v3/Dashboard
@@ -1899,7 +1899,7 @@ abstract class CRM_Utils_Hook {
   }
 
   /**
-   * Generate a default CRUD URL for an entity
+   * Generate a default CRUD URL for an entity.
    *
    * @param array $spec
    *   With keys:.
index 8e63b71e112807d376da8b4332b13123b1b40a76..42288664db25983108db9856502eeadc9443e7c8 100644 (file)
@@ -34,7 +34,7 @@
  */
 class CRM_Utils_Hook_Joomla extends CRM_Utils_Hook {
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
index 8d359f9163f55f8ae4a254a488a16e0bac55f3ee..d7c8a5377ac00d0d78f9a0cd72236dedd5f2f6cf 100644 (file)
@@ -34,7 +34,7 @@
  */
 class CRM_Utils_Hook_Soap extends CRM_Utils_Hook {
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
index 0fe98057f0a18b430d7a196217e05151b184ff04..2b74010432a4253b08e5c77766cfad7f465e99f7 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Utils_Hook_UnitTests extends CRM_Utils_Hook {
   }
 
   /**
-   * Register a piece of code to run when invoking a hook
+   * Register a piece of code to run when invoking a hook.
    * @param string $hook
    *   Hook name, e.g civicrm_pre.
    * @param array $callable
@@ -72,7 +72,7 @@ class CRM_Utils_Hook_UnitTests extends CRM_Utils_Hook {
   }
 
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
index 49198679a82c56f630b4c0f6213a53a51d8b4b59..b436a8ab6ca4d567932a7ad68eba01cb05b9152f 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook {
   );
 
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
index 921649bc2f263dac5e92eb2914f10c440aea5723..9c22cc4d6aee51aa8f975ecf41b72f7442a1177b 100644 (file)
@@ -114,7 +114,7 @@ class CRM_Utils_HttpClient {
   }
 
   /**
-   * Send an HTTP GET for a remote resource
+   * Send an HTTP GET for a remote resource.
    *
    * @param string $remoteFile
    *   URL of remote file.
@@ -152,7 +152,7 @@ class CRM_Utils_HttpClient {
   }
 
   /**
-   * Send an HTTP POST for a remote resource
+   * Send an HTTP POST for a remote resource.
    *
    * @param string $remoteFile
    *   URL of a .zip file.
index b15171998b3503ec3d9bcedf65b424825c1ff8a0..507e64342327a6def1168f8f156c15b6d983b37f 100644 (file)
@@ -43,7 +43,7 @@
 class CRM_Utils_ICalendar {
 
   /**
-   * Escape text elements for safe ICalendar use
+   * Escape text elements for safe ICalendar use.
    *
    * @param $text
    *   Text to escape.
@@ -63,7 +63,7 @@ class CRM_Utils_ICalendar {
   }
 
   /**
-   * Escape date elements for safe ICalendar use
+   * Escape date elements for safe ICalendar use.
    *
    * @param $date
    *   Date to escape.
index 5b7a3572e0dcdf0a64198ad3e40eb7696cfd4485..d29e3c9c46f45ea848d5bc2128339596b5b733b3 100644 (file)
@@ -35,7 +35,7 @@
  */
 class CRM_Utils_JS {
   /**
-   * Parse a javascript file for translatable strings
+   * Parse a javascript file for translatable strings.
    *
    * @param string $jsCode
    *   Raw Javascript code.
index c756f74351dca35ff14ad86f4bae0d287fac3100..adb349fb900ecbe40bda112f5839d95a0a751fb7 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_JSON {
 
   /**
-   * Output json to the client
+   * Output json to the client.
    * @param mixed $input
    */
   public static function output($input) {
@@ -49,7 +49,7 @@ class CRM_Utils_JSON {
   }
 
   /**
-   * Create JSON object
+   * Create JSON object.
    * @deprecated
    *
    * @param array $params
@@ -121,7 +121,7 @@ class CRM_Utils_JSON {
   }
 
   /**
-   * encode data for dataTable plugin
+   * encode data for dataTable plugin.
    *
    * @param array $params
    *   Associated array of row elements.
index f3363298e271be4696ec7d6ba54f932a5c206107..1ed07377b70c73e975c5c88477026ed6b5ece0ab 100644 (file)
@@ -271,7 +271,7 @@ class CRM_Utils_Mail {
   }
 
   /**
-   * Get the Active outBound email
+   * Get the Active outBound email.
    *
    * @return bool
    *   TRUE if valid outBound email configuration found, false otherwise.
index 28f822f02c1e3ebb876a15aa9d0e15210150aadb..718fbecb43fcb96c8830d8c312564c06a74cb61a 100644 (file)
@@ -117,7 +117,7 @@ class CRM_Utils_Mail_EmailProcessor {
   }
 
   /**
-   * Process the mailbox for all the settings from civicrm_mail_settings
+   * Process the mailbox for all the settings from civicrm_mail_settings.
    *
    * @param bool|string $civiMail if true, processing is done in CiviMail context, or Activities otherwise.
    *
index fe611f03a0c3ae20c4e5c82c2e04aafd58896aaa..0c006bb9ee2b1a0a5e8c1feb4485c1a53eb93b08 100644 (file)
@@ -408,7 +408,7 @@ class CRM_Utils_Mail_Incoming {
   }
 
   /**
-   * Retrieve a contact ID and if not present
+   * Retrieve a contact ID and if not present.
    * create one with this email
    */
   public static function getContactID($email, $name = NULL, $create = TRUE, &$mail) {
index 373de66e548bdbb6ed5f64baf05da927e32e09a2..10ca18cf00c8449b584d22ed56bed87512761cca 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Utils_Migrate_ExportJSON {
   }
 
   /**
-   * Split a large array of contactIDs into more manageable smaller chunks
+   * Split a large array of contactIDs into more manageable smaller chunks.
    */
   public function &splitContactIDs(&$contactIDs) {
     // contactIDs could be a real large array, so we split it up into
@@ -89,7 +89,7 @@ class CRM_Utils_Migrate_ExportJSON {
   }
 
   /**
-   * Given a set of contact IDs get the values
+   * Given a set of contact IDs get the values.
    */
   public function getValues(&$contactIDs, &$additionalContactIDs) {
 
index 9836b2a12f3642ea2558657ae03b10328615f874..22d5551dd78c4d36f810542a661ec67454f0c542 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Utils_Money {
   static $_currencySymbols = NULL;
 
   /**
-   * Format a monetary string
+   * Format a monetary string.
    *
    * Format a monetary string basing on the amount provided,
    * ISO currency code provided and a format string consisting of:
index c197e4b7cc6c55bd003c5e840fc3624e673f22d0..ff9c4d66d0b30bc7a6e29163316aa507162df5d8 100644 (file)
@@ -5,7 +5,7 @@
  */
 class CRM_Utils_Number {
   /**
-   * Create a random number with a given precision
+   * Create a random number with a given precision.
    *
    * @param array $precision
    *   (int $significantDigits, int $postDecimalDigits).
index 824d4d46b7efc8037b1b547d1daff87ae1003746..fe87d410277988fbbf1419dbec7c5b963e8ede65 100644 (file)
@@ -21,7 +21,7 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
   }
 
   /**
-   * Retrieve a value from the bag
+   * Retrieve a value from the bag.
    *
    * @param string $key
    * @param string|null $type
index c6c83eda23443139bd9dcdc0c339fad55d6585e8..aa8b615c02c27f66efa608921b2365ed33d7ec5b 100644 (file)
@@ -91,7 +91,7 @@ class CRM_Utils_PDF_Label extends TCPDF {
   public $countY = 0;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param $format
    *   Either the name of a Label Format in the Option Value table.
@@ -150,7 +150,7 @@ class CRM_Utils_PDF_Label extends TCPDF {
   }
 
   /**
-   * initialize label format settings
+   * initialize label format settings.
    *
    * @param $format
    * @param $unit
@@ -228,7 +228,7 @@ class CRM_Utils_PDF_Label extends TCPDF {
   }
 
   /**
-   * Print a label
+   * Print a label.
    *
    * @param $texte
    */
index cfb4de1f009cec976b1242c24a8e1ccccc96d446..d6ad7bef57a7949ec978dd6f9ca8c54569bfaba4 100644 (file)
@@ -236,7 +236,7 @@ class CRM_Utils_PDF_Utils {
   }
 
   /**
-   * convert value from one metric to another
+   * convert value from one metric to another.
    *
    * @param $value
    * @param $from
index 65b29ac741f08ecf529e5dcd357383fbebc656be..6bfbf0a4379bbc90c2b5c9456da6a13652d71389 100644 (file)
@@ -242,7 +242,7 @@ class CRM_Utils_Pager extends Pager_Sliding {
   }
 
   /**
-   * Use the pager class to get the pageId and Offset
+   * Use the pager class to get the pageId and Offset.
    *
    * @return array
    *   an array of the pageID and offset
@@ -315,7 +315,7 @@ class CRM_Utils_Pager extends Pager_Sliding {
   }
 
   /**
-   * Build a url for pager links
+   * Build a url for pager links.
    */
   public function makeURL($key, $value) {
     $href = CRM_Utils_System::makeURL($key, TRUE);
@@ -327,7 +327,7 @@ class CRM_Utils_Pager extends Pager_Sliding {
   }
 
   /**
-   * Output the html pager link
+   * Output the html pager link.
    * @param string $href
    * @param string $title
    * @param string $image
index 08ce2cf4f5a474614bc56a8164ad7da9c5eda648..655a47ac04146d11c704268a72b1821b23703734 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Utils_PagerAToZ {
 
   /**
-   * Returns the alphabetic array for sorting by character
+   * Returns the alphabetic array for sorting by character.
    *
    * @param array $query
    *   The query object.
@@ -58,7 +58,7 @@ class CRM_Utils_PagerAToZ {
   }
 
   /**
-   * Return the all the static characters
+   * Return the all the static characters.
    *
    * @return array
    *   is a array of static characters
@@ -96,7 +96,7 @@ class CRM_Utils_PagerAToZ {
   }
 
   /**
-   * Return the all the dynamic characters
+   * Return the all the dynamic characters.
    *
    * @param $query
    * @param $isDAO
@@ -123,7 +123,7 @@ class CRM_Utils_PagerAToZ {
   }
 
   /**
-   * Create the links
+   * Create the links.
    *
    * @param array $query
    *   The form values for search.
index e64774edcf1208dd23a6927a07e89fa1c7750beb..2409cdbd2fdc516cb99c7532c80f0346b8bccb00 100644 (file)
@@ -30,7 +30,7 @@
  */
 class CRM_Utils_PseudoConstant {
   /**
-   * CiviCRM pseudoconstant classes for wrapper functions
+   * CiviCRM pseudoconstant classes for wrapper functions.
    */
   private static $constantClasses = array(
     'CRM_Core_PseudoConstant',
@@ -45,7 +45,7 @@ class CRM_Utils_PseudoConstant {
   private static $constants = NULL;
 
   /**
-   * Get constant
+   * Get constant.
    *
    * Wrapper for Pseudoconstant methods. We use this so the calling function
    * doesn't need to know which class the Pseudoconstant is on
@@ -65,7 +65,7 @@ class CRM_Utils_PseudoConstant {
   }
 
   /**
-   * Flush constant
+   * Flush constant.
    *
    * Wrapper for Pseudoconstant methods. We use this so the calling function
    * doesn't need to know which class the Pseudoconstant is on
@@ -90,7 +90,7 @@ class CRM_Utils_PseudoConstant {
   }
 
   /**
-   * Determine where a constant lives
+   * Determine where a constant lives.
    *
    * If there's a full, preloaded map, use it. Otherwise, use search
    * class space.
index 9a66a9febb5a85984c71bbc3c9792374cfcd0635..eed560757635701be7f983a94a241398cdd0edd7 100644 (file)
@@ -73,7 +73,7 @@ class CRM_Utils_REST {
   }
 
   /**
-   * Generates values needed for error messages
+   * Generates values needed for error messages.
    * @param string $message
    *
    * @return array
index c04a181c9dd8901b70dcb7382d906d143802917a..882556e0e4f6190b96fa26d17c749b8a4cacf27a 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Utils_ReCAPTCHA {
   static private $_singleton = NULL;
 
   /**
-   * Singleton function used to manage this object
+   * Singleton function used to manage this object.
    *
    *
    * @return object
@@ -69,7 +69,7 @@ class CRM_Utils_ReCAPTCHA {
   }
 
   /**
-   * Add element to form
+   * Add element to form.
    */
   public static function add(&$form) {
     $error = NULL;
index aa66d55454c8da18e66b9a40969ba8b402a5bdea..d8b45a323ab31e7cb13a19cd15f8824c493f912b 100644 (file)
 class CRM_Utils_Recent {
 
   /**
-   * Max number of items in queue
+   * Max number of items in queue.
    *
    * @int
    */
   const MAX_ITEMS = 10, STORE_NAME = 'CRM_Utils_Recent';
 
   /**
-   * The list of recently viewed items
+   * The list of recently viewed items.
    *
    * @var array
    */
   static private $_recent = NULL;
 
   /**
-   * Initialize this class and set the static variables
+   * Initialize this class and set the static variables.
    *
    * @return void
    */
@@ -68,7 +68,7 @@ class CRM_Utils_Recent {
   }
 
   /**
-   * Return the recently viewed array
+   * Return the recently viewed array.
    *
    * @return array
    *   the recently viewed array
@@ -79,7 +79,7 @@ class CRM_Utils_Recent {
   }
 
   /**
-   * Add an item to the recent stack
+   * Add an item to the recent stack.
    *
    * @param string $title
    *   The title to display.
@@ -144,7 +144,7 @@ class CRM_Utils_Recent {
   }
 
   /**
-   * Delete an item from the recent stack
+   * Delete an item from the recent stack.
    *
    * @param array $recentItem
    *   Array of the recent Item to be removed.
@@ -172,7 +172,7 @@ class CRM_Utils_Recent {
   }
 
   /**
-   * Delete an item from the recent stack
+   * Delete an item from the recent stack.
    *
    * @param string $id
    *   Contact id that had to be removed.
index dec94a40b6bc765eb7162747fa25218bf047cde2..6526da977e10ff289952973b8856f442ba60963b 100644 (file)
@@ -614,7 +614,7 @@ class CRM_Utils_Rule {
   }
 
   /**
-   * Check if there is a record with the same name in the db
+   * Check if there is a record with the same name in the db.
    *
    * @param string $value
    *   The value of the field we are checking.
index 11b005208008e94220cf822d9fd0822afbb323d3..0f9444272965ff670c2af1f5335240d5799d664b 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Utils_SQL_Insert {
   private $columns;
 
   /**
-   * Create a new INSERT query
+   * Create a new INSERT query.
    *
    * @param string $table
    *   Table-name and optional alias.
@@ -51,7 +51,7 @@ class CRM_Utils_SQL_Insert {
   }
 
   /**
-   * Create a new SELECT query
+   * Create a new SELECT query.
    *
    * @param string $table
    *   Table-name and optional alias.
@@ -98,7 +98,7 @@ class CRM_Utils_SQL_Insert {
   }
 
   /**
-   * Use REPLACE INTO instead of INSERT INTO
+   * Use REPLACE INTO instead of INSERT INTO.
    *
    * @param bool $asReplace
    * @return CRM_Utils_SQL_Insert
index cdbb1b926aebdbeb6c1ba2be4f768e53e1933514..79560acb6cb582bec4c5f59bc3ca05daf7a4d6cb 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Utils_SQL_Select {
   private $offset = NULL;
 
   /**
-   * Create a new SELECT query
+   * Create a new SELECT query.
    *
    * @param string $from
    *   Table-name and optional alias.
@@ -56,7 +56,7 @@ class CRM_Utils_SQL_Select {
   }
 
   /**
-   * Create a new SELECT query
+   * Create a new SELECT query.
    *
    * @param string $from
    *   Table-name and optional alias.
@@ -66,7 +66,7 @@ class CRM_Utils_SQL_Select {
   }
 
   /**
-   * Add a new JOIN clause
+   * Add a new JOIN clause.
    *
    * @param string $name
    *   The effective alias of the joined table.
@@ -111,7 +111,7 @@ class CRM_Utils_SQL_Select {
   }
 
   /**
-   * Group results by adding extra items to the GROUP BY clause
+   * Group results by adding extra items to the GROUP BY clause.
    *
    * @param string|array $exprs list of SQL expressions
    * @param null|array $args use NULL to disable interpolation; use an array of variables to enable
@@ -141,7 +141,7 @@ class CRM_Utils_SQL_Select {
   }
 
   /**
-   * Sort results by adding extra items to the ORDER BY clause
+   * Sort results by adding extra items to the ORDER BY clause.
    *
    * @param string|array $exprs list of SQL expressions
    * @param null|array $args use NULL to disable interpolation; use an array of variables to enable
@@ -156,7 +156,7 @@ class CRM_Utils_SQL_Select {
   }
 
   /**
-   * Set a limit on the number of records to return
+   * Set a limit on the number of records to return.
    *
    * @param int $limit
    * @param int $offset
index 6a972beb0551d044c9f45755f9db8a4f7162c91e..9c7a34f2028262b6ffe13433cec4057175a8047e 100644 (file)
@@ -82,7 +82,7 @@ class CRM_Utils_SoapServer {
   }
 
   /**
-   * Verify a SOAP key
+   * Verify a SOAP key.
    *
    * @param string $key
    *   The soap key generated by authenticate().
@@ -112,7 +112,7 @@ class CRM_Utils_SoapServer {
   }
 
   /**
-   * Authentication wrapper to the UF Class
+   * Authentication wrapper to the UF Class.
    *
    * @param string $name
    *   Login name.
@@ -147,7 +147,7 @@ class CRM_Utils_SoapServer {
   }
 
   /**
-   * MAILER API
+   * MAILER API.
    */
   public function mailer_event_bounce($key, $job, $queue, $hash, $body) {
     $this->verify($key);
index 8f4bdd77f9c0d9cebbcbef86e1a98f2fbb81efe2..84a1d29b7f294e710dc6e4600ecbf91a9a055fd3 100644 (file)
@@ -146,7 +146,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * Function returns the string for the order by clause
+   * Function returns the string for the order by clause.
    *
    * @return string
    *   the order by clause
@@ -169,7 +169,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * Create the sortID string to be used in the GET param
+   * Create the sortID string to be used in the GET param.
    *
    * @param int $index
    *   The field index.
@@ -184,7 +184,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * Init the sort ID values in the object
+   * Init the sort ID values in the object.
    *
    * @param string $defaultSortOrder
    *   The sort order to use by default.
@@ -221,7 +221,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * Init the object
+   * Init the object.
    *
    * @param string $defaultSortOrder
    *   The sort order to use by default.
@@ -257,7 +257,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * Getter for currentSortID
+   * Getter for currentSortID.
    *
    * @return int
    *   returns of the current sort id
@@ -268,7 +268,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * Getter for currentSortDirection
+   * Getter for currentSortDirection.
    *
    * @return int
    *   returns of the current sort direction
index ecf80f89352185567867b6f76e5387830eeb41c8..b561cad091520ce2d7915a0d803cabe34aff5ade 100644 (file)
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
- *
  */
 
 require_once 'HTML/QuickForm/Rule/Email.php';
 
 /**
- * This class contains string functions
+ * This class contains string functions.
  *
  */
 class CRM_Utils_String {
@@ -48,8 +47,7 @@ class CRM_Utils_String {
   const ALPHANUMERIC = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890';
 
   /**
-   * Convert a display name into a potential variable
-   * name that we could use in forms/code
+   * Convert a display name into a potential variable name.
    *
    * @param $title title of the string
    * @param int $maxLength
@@ -70,8 +68,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Given a string, replace all non alpha numeric characters and
-   * spaces with the replacement character
+   * Replace all non alpha numeric characters and spaces with the replacement character.
    *
    * @param string $name
    *   The name to be worked on.
@@ -80,12 +77,11 @@ class CRM_Utils_String {
    * @param int $len
    *   Length of valid variables.
    *
-   *
    * @return string
    *   returns the manipulated string
    */
   public static function munge($name, $char = '_', $len = 63) {
-    // replace all white space and non-alpha numeric with $char
+    // Replace all white space and non-alpha numeric with $char
     // we only use the ascii character set since mysql does not create table names / field names otherwise
     // CRM-11744
     $name = preg_replace('/[^a-zA-Z0-9]+/', $char, trim($name));
@@ -120,7 +116,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Takes a variable name and munges it randomly into another variable name
+   * Takes a variable name and munges it randomly into another variable name.
    *
    * @param string $name
    *   Initial Variable Name.
@@ -137,7 +133,8 @@ class CRM_Utils_String {
 
   /**
    * Takes a string and returns the last tuple of the string.
-   * useful while converting file names to class names etc
+   *
+   * Useful while converting file names to class names etc
    *
    * @param string $string
    *   The input string.
@@ -159,7 +156,8 @@ class CRM_Utils_String {
 
   /**
    * Appends a name to a string and separated by delimiter.
-   * does the right thing for an empty string
+   *
+   * Does the right thing for an empty string
    *
    * @param string $str
    *   The string to be appended to.
@@ -167,8 +165,6 @@ class CRM_Utils_String {
    *   The delimiter to use.
    * @param mixed $name
    *   The string (or array of strings) to append.
-   *
-   * @return void
    */
   public static function append(&$str, $delim, $name) {
     if (empty($name)) {
@@ -199,7 +195,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Determine if the string is composed only of ascii characters
+   * Determine if the string is composed only of ascii characters.
    *
    * @param string $str
    *   Input string.
@@ -242,7 +238,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Determine the string replacements for redaction
+   * Determine the string replacements for redaction.
    * on the basis of the regular expressions
    *
    * @param string $str
@@ -358,7 +354,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Extract the civicrm path from the url
+   * Extract the civicrm path from the url.
    *
    * @param string $query
    *   A url string.
@@ -660,7 +656,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Generate a random string
+   * Generate a random string.
    *
    * @param $len
    * @param $alphabet
@@ -725,7 +721,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * This function compares two strings
+   * This function compares two strings.
    *
    * @param string $strOne
    *   String one.
@@ -778,7 +774,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * Formats a string of attributes for insertion in an html tag
+   * Formats a string of attributes for insertion in an html tag.
    *
    * @param array $attributes
    *
index e5c245eeba9434f79b0230232fbaff3cc26f92c4..bde66d9a5e126ad305e1b3fcc7c91e7e208fc3ca 100644 (file)
@@ -286,7 +286,7 @@ class CRM_Utils_System {
   }
 
   /**
-   * this is a very drupal specific function for now
+   * this is a very drupal specific function for now.
    */
   public static function updateCategories() {
     $config = CRM_Core_Config::singleton();
@@ -489,7 +489,7 @@ class CRM_Utils_System {
   }
 
   /**
-   * Determine the post URL for a form
+   * Determine the post URL for a form.
    *
    * @param $action
    *   The default action if one is pre-specified.
@@ -1342,7 +1342,7 @@ class CRM_Utils_System {
   }
 
   /**
-   * Get the locale set in the hosting CMS
+   * Get the locale set in the hosting CMS.
    *
    * @return string
    *   The used locale or null for none.
@@ -1822,7 +1822,7 @@ class CRM_Utils_System {
   }
 
   /**
-   * Determine the standard URL for viewing or editing the specified link
+   * Determine the standard URL for viewing or editing the specified link.
    *
    * This function delegates the decision-making to (a) the hook system and
    * (b) the BAO system.
index 475841d39bdfed3d51dbbf65d8019028a546eac8..7b827f87fe25b10dc3d64f149701c9991c861cc6 100644 (file)
@@ -48,7 +48,7 @@ abstract class CRM_Utils_System_Base {
   var $supports_form_extensions = FALSE;
 
   /**
-   * Append an additional breadcrumb tag to the existing breadcrumb
+   * Append an additional breadcrumb tag to the existing breadcrumb.
    *
    * @param array $breadCrumbs
    */
@@ -56,13 +56,13 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Reset an additional breadcrumb tag to the existing breadcrumb
+   * Reset an additional breadcrumb tag to the existing breadcrumb.
    */
   public function resetBreadCrumb() {
   }
 
   /**
-   * Append a string to the head of the html file
+   * Append a string to the head of the html file.
    *
    * @param string $head
    *   The new string to be appended.
@@ -71,14 +71,14 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Rewrite various system urls to https
+   * Rewrite various system urls to https.
    */
   public function mapConfigToSSL() {
     // dont need to do anything, let CMS handle their own switch to SSL
   }
 
   /**
-   * Figure out the post url for QuickForm
+   * Figure out the post url for QuickForm.
    *
    * @param string $action
    *   The default url if one is pre-specified.
@@ -131,7 +131,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Authenticate the user against the CMS db
+   * Authenticate the user against the CMS db.
    *
    * @param string $name
    *   The user name.
@@ -150,7 +150,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Set a message in the CMS to display to a user
+   * Set a message in the CMS to display to a user.
    *
    * @param string $message
    *   The message to set.
@@ -159,7 +159,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Load user into session
+   * Load user into session.
    *
    * @param $user
    *
@@ -194,7 +194,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Get the locale set in the CMS
+   * Get the locale set in the CMS.
    *
    * @return string|null
    *   Locale or null for none
@@ -282,7 +282,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Get CMS Version
+   * Get CMS Version.
    *
    * @return string
    */
@@ -377,7 +377,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Determine the native ID of the CMS user
+   * Determine the native ID of the CMS user.
    *
    * @param string $username
    *
@@ -389,7 +389,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Set a init session with user object
+   * Set a init session with user object.
    *
    * @param array $data
    *   Array with user specific data
@@ -417,7 +417,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Add a script file
+   * Add a script file.
    *
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
@@ -434,7 +434,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Add an inline script
+   * Add an inline script.
    *
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
@@ -451,7 +451,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Add a css file
+   * Add a css file.
    *
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
@@ -468,7 +468,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Add an inline style
+   * Add an inline style.
    *
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
@@ -485,7 +485,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Sets the title of the page
+   * Sets the title of the page.
    *
    * @param string $title
    *   Title to set in html header
@@ -496,7 +496,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Return default Site Settings
+   * Return default Site Settings.
    *
    * @param string $dir
    *
@@ -524,7 +524,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Set timezone in mysql so that timestamp fields show the correct time
+   * Set timezone in mysql so that timestamp fields show the correct time.
    */
   public function setMySQLTimeZone() {
     $timeZoneOffset = $this->getTimeZoneOffset();
@@ -536,7 +536,7 @@ abstract class CRM_Utils_System_Base {
 
 
   /**
-   * Get timezone from CMS
+   * Get timezone from CMS.
    *
    * @return string|false|null
    */
@@ -562,7 +562,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Get timezone as a string
+   * Get timezone as a string.
    * @return string
    *   Timezone string e.g. 'America/Los_Angeles'
    */
@@ -658,7 +658,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Get Url to view user record
+   * Get Url to view user record.
    * @param int $contactID
    *   Contact ID.
    *
@@ -669,7 +669,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Is the current user permitted to add a user
+   * Is the current user permitted to add a user.
    * @return bool
    */
   public function checkPermissionAddUser() {
@@ -677,7 +677,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Output code from error function
+   * Output code from error function.
    * @param string $content
    */
   public function outputError($content) {
@@ -685,7 +685,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Log error to CMS
+   * Log error to CMS.
    *
    * $param string $message
    */
@@ -693,7 +693,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * Append to coreResourcesList
+   * Append to coreResourcesList.
    *
    * @param array $list
    */
index 5b7c1842be4af45c82b5297a47b0eb33b86f1bc5..b57ad3225590e146894cb8c4a0922b682d5e7c8a 100644 (file)
@@ -105,7 +105,7 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Check if username and email exists in the drupal db
+   * Check if username and email exists in the drupal db.
    *
    * @param array $params
    *   Array of name and mail values.
@@ -413,7 +413,7 @@ AND    u.status = 1
   }
 
   /**
-   * Determine the native ID of the CMS user
+   * Determine the native ID of the CMS user.
    *
    * @param string $username
    * @return int|NULL
@@ -435,7 +435,7 @@ AND    u.status = 1
   }
 
   /**
-   * Get the default location for CiviCRM blocks
+   * Get the default location for CiviCRM blocks.
    *
    * @return string
    */
@@ -444,7 +444,7 @@ AND    u.status = 1
   }
 
   /**
-   * Load drupal bootstrap
+   * Load drupal bootstrap.
    *
    * @param array $params
    *   Either uid, or name & pass.
@@ -713,7 +713,7 @@ AND    u.status = 1
   }
 
   /**
-   * Wrapper for og_membership creation
+   * Wrapper for og_membership creation.
    *
    * @param int $ogID
    *   Organic Group ID.
@@ -736,7 +736,7 @@ AND    u.status = 1
   }
 
   /**
-   * Wrapper for og_membership deletion
+   * Wrapper for og_membership deletion.
    *
    * @param int $ogID
    *   Organic Group ID.
index 00ca7055f7c55af6936c93eaa9e8a2bf380ba7d2..ca5370729d248610eff672a845aeec4029a64d9f 100644 (file)
@@ -129,7 +129,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Check if username and email exists in the drupal db
+   * Check if username and email exists in the drupal db.
    *
    * @param array $params
    *   Array of name and mail values.
@@ -249,7 +249,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Append a string to the head of the html file
+   * Append a string to the head of the html file.
    *
    * @param string $head
    *   The new string to be appended.
@@ -261,7 +261,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Add a css file
+   * Add a css file.
    *
    * @param $url : string, absolute path to file
    * @param string $region
@@ -375,7 +375,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Determine the native ID of the CMS user
+   * Determine the native ID of the CMS user.
    *
    * @param string $username
    * @return int|NULL
@@ -397,7 +397,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Load drupal bootstrap
+   * Load drupal bootstrap.
    *
    * @param array $params
    *   Either uid, or name & pass.
@@ -701,7 +701,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Wrapper for og_membership creation
+   * Wrapper for og_membership creation.
    *
    * @param int $ogID
    *   Organic Group ID.
@@ -713,7 +713,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Wrapper for og_membership deletion
+   * Wrapper for og_membership deletion.
    *
    * @param int $ogID
    *   Organic Group ID.
index d95d91a248573336560936fcc1972350367fe101..ae5c9dc89808fc1b75cbc2ffd4981e71aa98716a 100644 (file)
@@ -120,7 +120,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Check if username and email exists in the drupal db
+   * Check if username and email exists in the drupal db.
    *
    * @param array $params
    *   Array of name and mail values.
@@ -278,7 +278,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Check if a resource url is within the drupal directory and format appropriately
+   * Check if a resource url is within the drupal directory and format appropriately.
    *
    * This seems to be a legacy function. We assume all resources are within the drupal
    * directory and always return TRUE. As well, we clean up the $url.
@@ -377,7 +377,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Determine the native ID of the CMS user
+   * Determine the native ID of the CMS user.
    *
    * @param string $username
    * @return int|NULL
@@ -404,7 +404,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * Load drupal bootstrap
+   * Load drupal bootstrap.
    *
    * @param array $params
    *   Either uid, or name & pass.
index 624866bd9265bc92d533b48e833609d35929aace..b831dc509220a4e11b05b626563d354f86604b36 100644 (file)
@@ -84,7 +84,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   }
 
   /**
-   * Check if a resource url is within the drupal directory and format appropriately
+   * Check if a resource url is within the drupal directory and format appropriately.
    *
    * @param $url (reference)
    *
@@ -281,7 +281,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   }
 
   /**
-   * Append Drupal js to coreResourcesList
+   * Append Drupal js to coreResourcesList.
    */
   public function appendCoreResources(&$list) {
     $list[] = 'js/crm.drupal.js';
index a1272e8dd3537bd7871ae98c166bb185a10ab3e6..51724444968f1291c1948e3e68ab94814714b097 100644 (file)
@@ -109,7 +109,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * Check if username and email exists in the drupal db
+   * Check if username and email exists in the drupal db.
    *
    * @param array $params
    *   Array of name and mail values.
@@ -314,7 +314,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * Set the email address of the user
+   * Set the email address of the user.
    *
    * @param object $user
    *   Handle to the user object.
@@ -421,7 +421,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * Set a init session with user object
+   * Set a init session with user object.
    *
    * @param array $data
    *   Array with user specific data.
@@ -489,7 +489,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * Load joomla bootstrap
+   * Load joomla bootstrap.
    *
    * @param array $params
    *   with uid or name and password.
@@ -703,7 +703,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * Output code from error function
+   * Output code from error function.
    * @param string $content
    */
   public function outputError($content) {
@@ -720,7 +720,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * Append Joomla js to coreResourcesList
+   * Append Joomla js to coreResourcesList.
    */
   public function appendCoreResources(&$list) {
     $list[] = 'js/crm.joomla.js';
index b96ba20d9752460209ba488c7f918f0f0239a2f8..2f66d5d98063c5da2dbeb0f1262973474ce37b4c 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
 
   /**
-   * UF container variables
+   * UF container variables.
    */
   static $uf = NULL;
   static $ufClass = NULL;
@@ -80,7 +80,7 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
   }
 
   /**
-   * Set the email address of the user
+   * Set the email address of the user.
    *
    * @param object $user
    *   Handle to the user object.
@@ -105,7 +105,7 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
   }
 
   /**
-   * Swap the current UF for soap
+   * Swap the current UF for soap.
    */
   public function swapUF() {
     $config = CRM_Core_Config::singleton();
index 2a76d999ad6ef300720794abf8b535308d6507fe..55171a158330ae8c5a07cffe73e1b57a8ba80295 100644 (file)
@@ -125,7 +125,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * WP action callback
+   * WP action callback.
    */
   public static function _showHTMLHead() {
     $region = CRM_Core_Region::instance('wp_head', FALSE);
@@ -326,7 +326,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * Load wordpress bootstrap
+   * Load wordpress bootstrap.
    *
    * @param string $name
    *   optional username for login.
index 50a829d0a47c9d792c4d1af29395fa06e5991eaf..6d1962a523495084280ac7b4a268e2552b75efc6 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Utils_Time {
   static private $_delta = 0;
 
   /**
-   * Get the time
+   * Get the time.
    *
    * @param string $returnFormat
    *   Format in which date is to be retrieved.
@@ -57,7 +57,7 @@ class CRM_Utils_Time {
   }
 
   /**
-   * Get the time
+   * Get the time.
    *
    * @return int, seconds since epoch
    */
@@ -66,7 +66,7 @@ class CRM_Utils_Time {
   }
 
   /**
-   * Set the given time
+   * Set the given time.
    *
    * @param string $newDateTime
    *   A date formatted with strtotime.
@@ -82,7 +82,7 @@ class CRM_Utils_Time {
   }
 
   /**
-   * Remove any time overrides
+   * Remove any time overrides.
    */
   public static function resetTime() {
     self::$_delta = 0;
index ae0b29f170023ab205fe2e604924acdb41a073bd..7434d380d56ce7b1c1273e5f1655ce461aead4ff 100644 (file)
@@ -142,7 +142,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Wrapper for token matching
+   * Wrapper for token matching.
    *
    * @param string $type
    *   The token type (domain,mailing,contact,action).
@@ -160,7 +160,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Wrapper for token replacing
+   * Wrapper for token replacing.
    *
    * @param string $type
    *   The token type.
@@ -201,7 +201,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Escape the string so a malicious user cannot inject smarty code into the template
+   * Escape the string so a malicious user cannot inject smarty code into the template.
    *
    * @param string $string
    *   A string that needs to be escaped from smarty parsing.
@@ -808,7 +808,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Parse html through Smarty resolving any smarty functions
+   * Parse html through Smarty resolving any smarty functions.
    * @param string $tokenHtml
    * @param array $entity
    * @param string $entityType
@@ -869,7 +869,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Replace unsubscribe tokens
+   * Replace unsubscribe tokens.
    *
    * @param string $str
    *   The string with tokens to be replaced.
@@ -915,7 +915,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Replace resubscribe tokens
+   * Replace resubscribe tokens.
    *
    * @param string $str
    *   The string with tokens to be replaced.
@@ -1048,7 +1048,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Find and replace tokens for each component
+   * Find and replace tokens for each component.
    *
    * @param string $str
    *   The string to search.
@@ -1087,7 +1087,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Get array of string tokens
+   * Get array of string tokens.
    *
    * @param string $string
    *   The input string to parse for tokens.
@@ -1390,7 +1390,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Get Membership Token Details
+   * Get Membership Token Details.
    * @param array $membershipIDs
    *   Array of membership IDS.
    */
@@ -1577,7 +1577,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Store membership tokens on the static _tokens array
+   * Store membership tokens on the static _tokens array.
    */
   protected static function _buildMembershipTokens() {
     $key = 'membership';
@@ -1592,7 +1592,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Replace tokens for an entity
+   * Replace tokens for an entity.
    * @param string $entity
    * @param array $entityArray
    *   (e.g. in format from api).
@@ -1620,7 +1620,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * Replace Contribution tokens in html
+   * Replace Contribution tokens in html.
    *
    * @param string $str
    * @param array $contribution
index 19ecf80bf29620a00fffc7a53f8a0a32cb3bb37e..f2fa6a426ad4ad2e7d555466e509a981a79d15e5 100644 (file)
@@ -80,7 +80,7 @@
 class CRM_Utils_Tree {
 
   /**
-   * Store the tree information as a string or array
+   * Store the tree information as a string or array.
    * @var string|array
    */
   private $tree;
@@ -103,7 +103,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Find a node that matches the given string
+   * Find a node that matches the given string.
    *
    * @param string $name
    *   Name of the node we are searching for.
@@ -153,7 +153,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Create a node
+   * Create a node.
    *
    * @param string $name
    *
@@ -169,7 +169,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Add node
+   * Add node.
    *
    * @param string $parentName
    *   Name of the parent ?.
@@ -185,7 +185,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Add Data
+   * Add Data.
    *
    * @param string $parentName Name of the parent ?.
    * @param string $childName - key to be used (optional)
@@ -206,7 +206,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Get Tree
+   * Get Tree.
    *
    * @return tree
    */
@@ -215,7 +215,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Print the tree
+   * Print the tree.
    *
    * @return void
    */
index 62da0e4c3aee280659db8c2d3b4a4eb12ab706ab..76f40c26e128e98765555fb9de1190c5c0709882 100644 (file)
@@ -265,7 +265,7 @@ class CRM_Utils_Type {
   }
 
   /**
-   * Verify that a variable is of a given type
+   * Verify that a variable is of a given type.
    *
    * @param mixed $data
    *   The value to validate.
index afe1a6849cd87a0df44303d355689449ce6eec0b..0e62cbbe054e30cfb40131aca55516918cc13756 100644 (file)
@@ -90,7 +90,7 @@ class CRM_Utils_Verp {
   }
 
   /**
-   * Decode the address and return the sender and recipient as an array
+   * Decode the address and return the sender and recipient as an array.
    *
    * @param string $address
    *   The address to be decoded.
index d1e8fa12e16dce46fc9be9ed63121a18991c4cd0..4f69360970738bd46a53ed449bdf76e9ff23dedb 100644 (file)
@@ -95,7 +95,7 @@ class CRM_Utils_VersionCheck {
   protected $cacheFile;
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     global $civicrm_root;
@@ -130,7 +130,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Static instance provider
+   * Static instance provider.
    *
    * Method providing static instance of CRM_Utils_VersionCheck,
    * as in Singleton pattern
@@ -145,7 +145,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Finds the release info for a minor version
+   * Finds the release info for a minor version.
    * @param string $version
    * @return array|null
    */
@@ -238,7 +238,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Alert the site admin of new versions of CiviCRM
+   * Alert the site admin of new versions of CiviCRM.
    * Show the message once a day
    */
   public function versionAlert() {
@@ -278,7 +278,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Collect info about the site to be sent as pingback data
+   * Collect info about the site to be sent as pingback data.
    */
   private function getSiteStats() {
     $config = CRM_Core_Config::singleton();
@@ -306,7 +306,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Get active payment processor types
+   * Get active payment processor types.
    */
   private function getPayProcStats() {
     $dao = new CRM_Financial_DAO_PaymentProcessor();
@@ -325,7 +325,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Fetch counts from entity tables
+   * Fetch counts from entity tables.
    * Add info to the 'entities' array
    */
   private function getEntityStats() {
@@ -435,7 +435,7 @@ class CRM_Utils_VersionCheck {
   }
 
   /**
-   * Save version info to file
+   * Save version info to file.
    * @param string $contents
    */
   private function writeCacheFile($contents) {
index 3f573db37235a73e6957bd19eba3c2ad73cba488..9e9d5f5087657017637c77031d6fcda601fc7c8f 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Utils_Wrapper {
 
   /**
-   * Simple Controller
+   * Simple Controller.
    *
    * The controller which will handle the display and processing of this page.
    */
index cd60cd3a0e646817b379e2c91a91a3ecb88b212a..1128b75669da12da0634d7e31c776235671a0676 100644 (file)
@@ -119,7 +119,7 @@ class CRM_Utils_XML {
   }
 
   /**
-   * Convert an XML element to an array
+   * Convert an XML element to an array.
    *
    * @param $obj
    *   SimpleXMLElement.
index d81b3ed05c2eb1584950fac223d0369791fb9051..078bab427ecb0cd0cdc5f51da3aedc0127b442c3 100644 (file)
@@ -93,7 +93,7 @@ class CRM_Utils_Zip {
   }
 
   /**
-   * Determine the name of the folder within a zip
+   * Determine the name of the folder within a zip.
    *
    * @param ZipArchive $zip
    * @param $expected
index cc51ff6258d62603be2dc61baefe64311f3f8e07..2e49067194bd89f4dca9af295c1ade77d7c51b9b 100644 (file)
@@ -71,7 +71,7 @@ class Events {
   const RESPOND = 'api.respond';
 
   /**
-   * Handle any exceptions
+   * Handle any exceptions.
    *
    * @see ExceptionEvent
    */
index 601f2f6d2e92f122847d8e0e863c2c47252e0d6a..b1438955d3fe2dfbed6fd2030ad82f023addcbcb 100644 (file)
@@ -163,7 +163,7 @@ class MagicFunctionProvider implements EventSubscriberInterface, ProviderInterfa
   }
 
   /**
-   * Look up the implementation for a given API request
+   * Look up the implementation for a given API request.
    *
    * @param array $apiRequest
    *   Array with keys:
index 3d17bf277addcb4797f2dfc627e6e7879aecea03..0a230cdea1851ed751191e70e82fc3df199e32e2 100644 (file)
@@ -75,7 +75,7 @@ class ChainSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * Call any nested api calls
+   * Call any nested api calls.
    *
    * TODO: We don't really need this to be a separate function.
    * @param $params
index b5e867e81f738da695454b306837211332afd3c4..9ac315be1a461e363e08ecfe5dbdc37acfd60e3d 100644 (file)
@@ -69,7 +69,7 @@ class TransactionSubscriber implements EventSubscriberInterface {
   private $forceRollback = array();
 
   /**
-   * Determine if an API request should be treated as transactional
+   * Determine if an API request should be treated as transactional.
    *
    * @param \Civi\API\Provider\ProviderInterface $apiProvider
    *   The API provider responsible for this request.
@@ -144,7 +144,7 @@ class TransactionSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * Close any pending transactions
+   * Close any pending transactions.
    *
    * @param \Civi\API\Event\RespondEvent $event
    *   API response event.
@@ -160,7 +160,7 @@ class TransactionSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * Rollback the pending transaction
+   * Rollback the pending transaction.
    *
    * @param \Civi\API\Event\ExceptionEvent $event
    *   API exception event.
index 215d7e1a26a336440862755fc80875ded4c7b850..99f8942bfc64161978fe12716a6aac14c06d074e 100644 (file)
@@ -37,7 +37,7 @@ class Manager {
   }
 
   /**
-   * Get a list of AngularJS modules which should be autoloaded
+   * Get a list of AngularJS modules which should be autoloaded.
    *
    * @return array
    *   Each item has some combination of these keys:
index 8a4686ef6445ec0d3b692f45f080e50733ac4362..795120f10e5695c7039d411aa061454eead03080 100644 (file)
@@ -9,7 +9,7 @@ namespace Civi\Angular\Page;
  */
 class Main extends \CRM_Core_Page {
   /**
-   * The weight to assign to any Angular JS module files
+   * The weight to assign to any Angular JS module files.
    */
   const DEFAULT_MODULE_WEIGHT = 200;
 
index 28b9b371ac2d8d37bc95a772d2a9260d24040d60..535e590db5b2c848e44b1d33f7f02ee8b5b95703 100644 (file)
@@ -106,7 +106,7 @@ class Analyzer {
   }
 
   /**
-   * Get a list of all activities in the case
+   * Get a list of all activities in the case.
    *
    * @return array
    *   list of activity records (api/v3 format)
@@ -131,7 +131,7 @@ class Analyzer {
   }
 
   /**
-   * Get a single activity record by type
+   * Get a single activity record by type.
    *
    * @param string $type
    * @throws \Civi\CCase\Exception\MultipleActivityException
@@ -215,7 +215,7 @@ class Analyzer {
   }
 
   /**
-   * Flush any cached information
+   * Flush any cached information.
    *
    * @return void
    */
index db794dbd96b2763199ee67445ee19ab91e9028da..cc03a281217332df4fa2395f98c61b08ba6bcc86 100644 (file)
@@ -94,7 +94,7 @@ class Events {
   }
 
   /**
-   * Find any extra listeners declared in XML and pass the event along to them
+   * Find any extra listeners declared in XML and pass the event along to them.
    *
    * @param \Civi\CCase\Event\CaseChangeEvent $event
    */
index cf7fb75c92ed4028ea6d8aa872bdbc6fe070af1a..a6fe9af8c4734ede0b18359f771aa03f53e3379e 100644 (file)
@@ -158,7 +158,7 @@ class Frame {
   }
 
   /**
-   * Add a transaction callback
+   * Add a transaction callback.
    *
    * Pre-condition: isActive()
    *
index 643906fc3fd2d5ea124adfc540f68fc0a8832089..d7811458eb2bdc95f9dfd623f698c21b2679790e 100644 (file)
@@ -102,7 +102,7 @@ class Requirements {
   }
 
   /**
-   * Check configured php Memory
+   * Check configured php Memory.
    * @return array
    */
   public function checkMemory() {
@@ -133,7 +133,7 @@ class Requirements {
   }
 
   /**
-   * Get Configured PHP memory
+   * Get Configured PHP memory.
    * @return float
    */
   protected function getPHPMemory() {
index b105e051223b137c1980a246f7623a30b452360e..2b675c9507e02d5a44e985599ddcee1188ae9dcb 100644 (file)
@@ -278,7 +278,7 @@ class InstallRequirements {
   const MINIMUM_THREAD_STACK = 192;
 
   /**
-   * Just check that the database configuration is okay
+   * Just check that the database configuration is okay.
    * @param $databaseConfig
    * @param $dbName
    */
@@ -398,7 +398,7 @@ class InstallRequirements {
   }
 
   /**
-   * Check everything except the database
+   * Check everything except the database.
    */
   public function check() {
     global $crmPath, $installType;
index 8d216176e4ab97f6d231a2af67feb6b3cdc1c035..66e29af22cabd1f1c5db3442de9f938c8539b8cc 100644 (file)
@@ -5,6 +5,7 @@
  */
 class test_extension_manager_reporttest extends CRM_Core_Report {
   /**
+   * Class constructor.
    */
   public function __construct() {
     $logging        = new CRM_Logging_Schema();
index 7d37416ed313c75cc008cce3663b206dbdc09fbd..aa3bb907827110f5be897cbca62e720e312df533 100644 (file)
@@ -45,14 +45,14 @@ 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.
    */
   protected function tearDown() {
   }
 
   public function testRetrieveTargetIdsByActivityIdZeroID() {
-    $activity = $this->activityCreate();
-
+    $this->activityCreate();
     $target = CRM_Activity_BAO_ActivityTarget::retrieveTargetIdsByActivityId(0);
     $this->assertSame($target, array(), 'No targets returned');
   }
index 349b52d542cd5b93e1806f60cdcc11b6c9e7b4d3..d35e70c6665a1446c22503f63c99a1cb3a67e83d 100644 (file)
@@ -17,8 +17,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testcases for create() method
-   * create() method Add/Edit activity.
+   * Test case for create() method.
    */
   public function testCreate() {
     $contactId = Contact::createIndividual();
@@ -57,8 +56,9 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testcase for getContactActivity() method.
-   * getContactActivity() method get activities detail for given target contact id
+   * Test case for getContactActivity() method.
+   *
+   * getContactActivity() method get activities detail for given target contact id.
    */
   public function testGetContactActivity() {
     $contactId = Contact::createIndividual();
@@ -92,8 +92,9 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testcase for retrieve() method.
-   * retrieve($params, $defaults) method return activity detail for given params
+   * Test case for retrieve() method.
+   *
+   * Retrieve($params, $defaults) method return activity detail for given params
    *                              and set defaults.
    */
   public function testRetrieve() {
@@ -140,7 +141,8 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testcase for deleteActivity() method.
+   * Test case for deleteActivity() method.
+   *
    * deleteActivity($params) method deletes activity for given params.
    */
   public function testDeleteActivity() {
@@ -187,7 +189,8 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testcase for deleteActivityTarget() method.
+   * Test case for deleteActivityTarget() method.
+   *
    * deleteActivityTarget($activityId) method deletes activity target for given activity id.
    */
   public function testDeleteActivityTarget() {
@@ -228,7 +231,8 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testcase for deleteActivityAssignment() method.
+   * Test case for deleteActivityAssignment() method.
+   *
    * deleteActivityAssignment($activityId) method deletes activity assignment for given activity id.
    */
   public function testDeleteActivityAssignment() {
index cdc252b01f3cd5d958b58e773ad0c7916520416c..f9a7b44c97ba3448630af923da5df25056d2437b 100644 (file)
@@ -35,36 +35,36 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class CRM_Batch_Form_EntryTest extends CiviUnitTestCase {
 
   /**
-   * Membership type name used in test function
+   * Membership type name used in test function.
    * @var String
    */
   protected $_membershipTypeName = NULL;
 
   /**
-   * Membership type id used in test function
+   * Membership type id used in test function.
    * @var String
    */
   protected $_membershipTypeID = NULL;
 
   /**
-   * Contact id used in test function
+   * Contact id used in test function.
    * @var String
    */
   protected $_contactID = NULL;
   /**
-   * Contact id used in test function
+   * Contact id used in test function.
    * @var String
    */
   protected $_contactID2 = NULL;
 
   /**
-   * Contact id used in test function
+   * Contact id used in test function.
    * @var String
    */
   protected $_contactID3 = NULL;
 
   /**
-   * Contact id used in test function
+   * Contact id used in test function.
    * @var String
    */
   protected $_contactID4 = NULL;
index 08254a8c8c2868d95d3bc232f9bc3596343583cc..1502489f64a11969420b6a5728cff14b7c4501d7 100644 (file)
@@ -87,7 +87,8 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
 
   /**
    * Search with only type.
-   * success expected.
+   *
+   * Success expected.
    */
   public function testSearchWithType() {
 
@@ -151,7 +152,8 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
 
   /**
    * Search with only subtype.
-   * success expected.
+   *
+   * Success expected.
    */
   public function testSearchWithSubype() {
 
@@ -198,7 +200,8 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
 
   /**
    * Search with type as well as subtype.
-   * success expected.
+   *
+   * Success expected.
    */
   public function testSearchWithTypeSubype() {
 
index 2c5d8017bd8a1aefeed08f2af731e175436a8978..f50cbf4e2247de32c631078e48e8251363b09adf 100644 (file)
@@ -60,7 +60,8 @@ DELETE FROM civicrm_contact_type
 
   /**
    * Methods create Contact with valid data.
-   * success expected
+   *
+   * Success expected
    */
   public function testCreateContact() {
     //check for Type:Individual
@@ -142,9 +143,10 @@ DELETE FROM civicrm_contact_type
 
   /**
    * Update the contact with no subtype to a valid subtype.
-   * success expected
+   *
+   * Success expected.
    */
-  public function testUpdateContactNosubtypeToValid() {
+  public function testUpdateContactNoSubtypeToValid() {
     $params = array(
       'first_name' => 'Anne',
       'last_name' => 'Grant',
index 5f36ceef306195fbdb8170f739ae9ec4950870c3..917d34a4ab4574933da26ae302c05dd6314e6904 100644 (file)
@@ -71,8 +71,9 @@ class CRM_Contribute_BAO_ContributionRecurTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that an object can be retrieved & saved (per CRM-14986)
-   * this has been causing a DB error so we are checking for absence of error
+   * Test that an object can be retrieved & saved (per CRM-14986).
+   *
+   * This has been causing a DB error so we are checking for absence of error
    */
   public function testFindSave() {
     $contributionRecur = $this->callAPISuccess('contribution_recur', 'create', $this->_params);
@@ -84,8 +85,9 @@ class CRM_Contribute_BAO_ContributionRecurTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test cancellation works per CRM-14986
-   * we are checking for absence of error
+   * Test cancellation works per CRM-14986.
+   *
+   * We are checking for absence of error.
    */
   public function testCancelRecur() {
     $contributionRecur = $this->callAPISuccess('contribution_recur', 'create', $this->_params);
index eda1eebaadb3ab484760f426bbb9dff118d974ff..f811fd8cb3268b90e5de0c5cafe449596aa80134 100644 (file)
@@ -413,7 +413,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check duplicate contribution id
+   * Check duplicate contribution id.
    * during the contribution import
    * checkDuplicateIds();
    */
index de9b5fc0071239fd9330aef7dff3966b2f9ea408..4c46110b26d629c11d0321af0f7f399fb746a8d4 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getTree()
+   * Test getTree().
    */
   public function testGetTree() {
     $params = array();
index 338b966bfd8c51270788687976b3a31d32ccaecd..f28073ea13a608aa94a2ae517a795a67d09adfc3 100644 (file)
@@ -150,6 +150,7 @@ class CRM_Queue_QueueTest extends CiviUnitTestCase {
    * Test that item leases expire at the expected time.
    *
    * @dataProvider getQueueSpecs
+   *
    * @param $queueSpec
    */
   public function testTimeoutRelease($queueSpec) {
index e2c58931d207ebdc45d7a138100299835daeb9dc..543671c6b4752f99419005d47ba7ed1eee12ac69 100644 (file)
@@ -86,11 +86,12 @@ class CRM_Queue_RunnerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Run a series of tasks; one of the tasks will insert more
-   * TODOs at the start of the list
+   * Run a series of tasks.
+   *
+   * One of the tasks will insert more TODOs at the start of the list.
    */
   public function testRunAll_AddMore() {
-    // prepare a list of tasks with an error in the middle
+    // Prepare a list of tasks with an error in the middle.
     $this->queue->createItem(new CRM_Queue_Task(
       array('CRM_Queue_RunnerTest', '_recordValue'),
       array('a'),
index 0548954fca1c9278715cd6c864a38bc0c2093c7a..7c092bbef85ef4cd49896820178a0b05810e7623 100644 (file)
@@ -1,6 +1,4 @@
 <?php
-// vim: set si ai expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-
 /**
  *  File for the CRM_Utils_Cache_AllTests class
  *
  */
 
 /**
- *  Include parent class definition
+ *  Include parent class definition.
  */
 require_once 'CiviTest/CiviTestSuite.php';
 
 /**
- *  Class containing all test suites
+ *  Class containing all test suites.
  *
  * @package   CiviCRM
  */
@@ -44,6 +42,7 @@ class CRM_Utils_Cache_AllTests extends CiviTestSuite {
   private static $instance = NULL;
 
   /**
+   * Get instance.
    */
   private static function getInstance() {
     if (is_null(self::$instance)) {
@@ -53,7 +52,7 @@ class CRM_Utils_Cache_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically.
+   * Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
@@ -61,13 +60,3 @@ class CRM_Utils_Cache_AllTests extends CiviTestSuite {
   }
 
 }
-// class CRM_Utils_Cache_AllTests
-
-// -- set Emacs parameters --
-// Local variables:
-// mode: php;
-// tab-width: 4
-// c-basic-offset: 4
-// c-hanging-comment-ender-p: nil
-// indent-tabs-mode: nil
-// End:
index 12c55ed094a44247954c0d5ebedc60e6471e2496..f1d5e348cdea7451f3b161151d96c196b0bf9eee 100644 (file)
@@ -25,7 +25,7 @@ class CRM_Utils_DeprecatedUtilsTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Test civicrm_contact_check_params with no contact type
+   *  Test civicrm_contact_check_params with no contact type.
    */
   public function testCheckParamsWithNoContactType() {
     $params = array('foo' => 'bar');
@@ -35,7 +35,7 @@ class CRM_Utils_DeprecatedUtilsTest extends CiviUnitTestCase {
 
 
   /**
-   *  Test civicrm_contact_check_params with a duplicate
+   *  Test civicrm_contact_check_params with a duplicate.
    */
   public function testCheckParamsWithDuplicateContact() {
     //  Insert a row in civicrm_contact creating individual contact
@@ -66,7 +66,7 @@ class CRM_Utils_DeprecatedUtilsTest extends CiviUnitTestCase {
 
 
   /**
-   *  Test civicrm_contact_check_params with a duplicate
+   *  Test civicrm_contact_check_params with a duplicate.
    *  and request the error in array format
    */
   public function testCheckParamsWithDuplicateContact2() {
index 1361508dae4706443e55c0312864553c032ccf0a..f16a8fa2ff741f0af63a79c4a43628c46b3e3000 100644 (file)
@@ -131,7 +131,7 @@ class CRM_Utils_ZipTest extends CiviUnitTestCase {
     );
   }
 
-  public function testGuessBaseDir_twodir() {
+  public function testGuessBaseDirTwoDir() {
     $this->_doGuessBaseDir(FALSE,
       array('dir-1', 'dir-2'),
       array('dir-1/README.txt' => 'hello'),
@@ -139,7 +139,7 @@ class CRM_Utils_ZipTest extends CiviUnitTestCase {
     );
   }
 
-  public function testGuessBaseDir_weird() {
+  public function testGuessBaseDirWeird() {
     $this->_doGuessBaseDir(FALSE,
       array('foo/../'),
       array('foo/../README.txt' => 'hello'),
index 7a336f4e401d22d5dae58a76968a9a8d5bae7b10..bffe25a7bed751364376c51ac876ef0a4712b8e1 100755 (executable)
@@ -1194,7 +1194,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Private helper function for calling civicrm_contact_add
+   * Private helper function for calling civicrm_contact_add.
    *
    * @param array $params
    *   For civicrm_contact_add api function call.
index b6faedbc7b984293aaeb6f076e965c1eabcc4ec8..078cb9884ce0e10c0b3a31ee0db7f5aa9f116785 100644 (file)
@@ -184,8 +184,9 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Ensure that an invalid activity type causes failure
-   * oddly enough this test was failing because the creation of the invalid type
+   * Ensure that an invalid activity type causes failure.
+   *
+   * Oddly enough this test was failing because the creation of the invalid type
    * got added to the set up routine. Probably a mis-fix on a test
    */
   public function testActivityCreateWithNonNumericActivityTypeId() {
index ebd4a2331da71c5ea15d4e6d5daddaf48b092c64..b8f1b0babadb867b756f6d226efb4e3fa52639ea 100644 (file)
@@ -98,7 +98,7 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * Is_primary should be set as a default
+   * Is_primary should be set as a default.
    */
   public function testCreateAddressTestDefaults() {
     $params = $this->_params;
@@ -178,9 +178,11 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * Is_primary should be set as a default. ie. create the address, unset the params & recreate.
+   * Is_primary should be set as a default.
+   *
+   * ie. create the address, unset the params & recreate.
    * is_primary should be 0 before & after the update. ie - having no other address
-   * is_primary is invalid
+   * is_primary is invalid.
    */
   public function testCreateAddressTestDefaultWithID() {
     $params = $this->_params;
index 940bef352a7b6b25b274e5842591e7048d577100..cb3bd10471748282b19aa993109c5d201bdc86d6 100644 (file)
@@ -294,7 +294,7 @@ class api_v3_AttachmentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create an attachment using "content" and then "get" the attachment
+   * Create an attachment using "content" and then "get" the attachment.
    *
    * @param string $testEntityClass
    *   E.g. "CRM_Core_DAO_Activity".
index 1b0cb06b441d92ea33fa5a5a1cf4f14c6e250915..1200b3c943d03f6f5468b388f54722573b0eabfd 100644 (file)
@@ -39,6 +39,7 @@ 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.
    */
   protected function setUp() {
index e61969cd783ae539ca47c5562c57094b159a6597..a30028faf0786e735b2cf58fbabd2175404b7bd8 100644 (file)
@@ -35,7 +35,7 @@ class api_v3_CRM11793Test extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_contact_create
+   * Test civicrm_contact_create.
    *
    * Verify that attempt to create individual contact with only
    * first and last names succeeds
index 9e2725eb57e07cf5166357ce0bf60e8f237e5287..85bdf11b4af89aa2346d6dd77ed2eb12d895b6e7 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 /**
- *  File for the TestCase class
+ * @file
+ * File for the TestCase class
  *
  *  (PHP 5)
  *
@@ -45,7 +46,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   protected $followup_activity_type_value;
 
   /**
-   * Test setup for every test
+   * Test setup for every test.
    *
    * Connect to the database, truncate the tables that will be used
    * and redirect stdin to a temporary file
@@ -71,14 +72,14 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testCaseCreateEmpty() {
-    $result = $this->callAPIFailure('case', 'create', array());
+    $this->callAPIFailure('case', 'create', array());
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testCaseCreateWithoutRequired() {
     $params = array(
@@ -90,7 +91,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test create function with valid parameters
+   * Test create function with valid parameters.
    */
   public function testCaseCreate() {
     // Create Case
@@ -133,7 +134,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test delete function with valid parameters
+   * Test delete function with valid parameters.
    */
   public function testCaseDelete() {
     // Create Case
@@ -156,7 +157,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test get function based on activity
+   * Test get function based on activity.
    */
   public function testCaseGetByActivity() {
     // Create Case
@@ -178,7 +179,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test get function based on contact id
+   * Test get function based on contact id.
    */
   public function testCaseGetByContact() {
     // Create Case
@@ -197,7 +198,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test get function based on subject
+   * Test get function based on subject.
    */
   public function testCaseGetBySubject() {
     // Create Case
@@ -216,7 +217,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test get function based on wrong subject
+   * Test get function based on wrong subject.
    */
   public function testCaseGetByWrongSubject() {
     // Create Case
@@ -232,7 +233,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test get function with no criteria
+   * Test get function with no criteria.
    */
   public function testCaseGetNoCriteria() {
     // Create Case
@@ -247,7 +248,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test activity api create for case activities
+   * Test activity api create for case activities.
    */
   public function testCaseActivityCreate() {
     // Create a case first
@@ -285,7 +286,7 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * Test activity api update for case activities
+   * Test activity api update for case activities.
    */
   public function testCaseActivityUpdate() {
     // Need to create the case and activity before we can update it
index f7467ed3c5d1062d545fe251bb31ff6cbba5d76b..0cc0558a1b8c280e0553ab39b630f65349d8bc81 100644 (file)
@@ -99,8 +99,8 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     );
 
     $contact = $this->callAPISuccess('contact', 'create', $params);
-    $this->assertTrue(is_numeric($contact['id']), "In line " . __LINE__);
-    $this->assertTrue($contact['id'] > 0, "In line " . __LINE__);
+    $this->assertTrue(is_numeric($contact['id']));
+    $this->assertTrue($contact['id'] > 0);
     $newCount = CRM_Core_DAO::singleValueQuery('select count(*) from civicrm_contact');
     $this->assertEquals($oldCount + 1, $newCount);
 
@@ -134,7 +134,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
 
     $contact = $this->callAPISuccess('contact', 'get', $params);
 
-    $this->assertEquals(array('Student', 'Staff'), $contact['values'][$cid]['contact_sub_type'], "In line " . __LINE__);
+    $this->assertEquals(array('Student', 'Staff'), $contact['values'][$cid]['contact_sub_type']);
   }
 
   /**
@@ -204,7 +204,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
 
     $contact = $this->callAPISuccess('contact', 'create', $params);
 
-    $this->assertEquals(1, $contact['id'], "In line " . __LINE__);
+    $this->assertEquals(1, $contact['id']);
     $email = $this->callAPISuccess('email', 'get', array('contact_id' => $contact['id']));
     $this->assertEquals(1, $email['count']);
     $this->assertEquals('man3@yahoo.com', $email['values'][$email['id']]['email']);
@@ -291,7 +291,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
       'contact_type' => 'Household',
     );
     $contact = $this->callAPISuccess('contact', 'create', $params);
-    $this->assertEquals(1, $contact['id'], "In line " . __LINE__);
+    $this->assertEquals(1, $contact['id']);
   }
 
   /**
@@ -522,10 +522,10 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     $this->callAPISuccess('contact', 'delete', array('id' => $contact1['id']));
     $this->callAPISuccess('contact', 'delete', array('id' => $contact2['id']));
     $this->assertEquals(1, $countNotDeleted, 'contact_is_deleted => 0 is respected in line ' . __LINE__);
-    $this->assertEquals(1, $countActive, 'in line ' . __LINE__);
-    $this->assertEquals(1, $countTrash, 'in line ' . __LINE__);
-    $this->assertEquals(2, $countAll, 'in line ' . __LINE__);
-    $this->assertEquals(1, $countDeleted, 'in line ' . __LINE__);
+    $this->assertEquals(1, $countActive);
+    $this->assertEquals(1, $countTrash);
+    $this->assertEquals(2, $countAll);
+    $this->assertEquals(1, $countDeleted);
     $this->assertEquals(1, $countDefault, 'Only active by default in line ' . __LINE__);
   }
 
@@ -742,8 +742,8 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     $this->assertEquals(1, $result['id']);
     // checking child function result not covered in callAPIAndDocument
     $this->assertAPISuccess($result['values'][$result['id']]['api.website.create']);
-    $this->assertEquals("http://chained.org", $result['values'][$result['id']]['api.website.create.2']['values'][0]['url'], "In line " . __LINE__);
-    $this->assertEquals("http://civicrm.org", $result['values'][$result['id']]['api.website.create']['values'][0]['url'], "In line " . __LINE__);
+    $this->assertEquals("http://chained.org", $result['values'][$result['id']]['api.website.create.2']['values'][0]['url']);
+    $this->assertEquals("http://civicrm.org", $result['values'][$result['id']]['api.website.create']['values'][0]['url']);
 
     // delete the contact
     $this->callAPISuccess('contact', 'delete', $result);
@@ -788,16 +788,15 @@ class api_v3_ContactTest extends CiviUnitTestCase {
 
     $this->assertEquals(1, $result['id']);
     // the callAndDocument doesn't check the chained call
-    $this->assertEquals(0, $result['values'][$result['id']]['api.website.create'][0]['is_error'], "In line " . __LINE__);
-    $this->assertEquals("http://chained.org", $result['values'][$result['id']]['api.website.create'][1]['values'][0]['url'], "In line " . __LINE__);
-    $this->assertEquals("http://civicrm.org", $result['values'][$result['id']]['api.website.create'][0]['values'][0]['url'], "In line " . __LINE__);
+    $this->assertEquals(0, $result['values'][$result['id']]['api.website.create'][0]['is_error']);
+    $this->assertEquals("http://chained.org", $result['values'][$result['id']]['api.website.create'][1]['values'][0]['url']);
+    $this->assertEquals("http://civicrm.org", $result['values'][$result['id']]['api.website.create'][0]['values'][0]['url']);
 
     $this->callAPISuccess('contact', 'delete', $result);
   }
 
   /**
-   * Verify that attempt to create individual contact with first.
-   * and last names and email succeeds
+   * Verify that attempt to create individual contact with first, and last names and email succeeds.
    */
   public function testCreateIndividualWithNameEmail() {
     $params = array(
@@ -808,9 +807,8 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     );
 
     $contact = $this->callAPISuccess('contact', 'create', $params);
-    $this->assertEquals(1, $contact['id'], "In line " . __LINE__);
+    $this->assertEquals(1, $contact['id']);
 
-    // delete the contact
     $this->callAPISuccess('contact', 'delete', $contact);
   }
 
@@ -825,8 +823,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify that attempt to create individual contact with first.
-   * and last names, email and location type succeeds
+   * Test create individual contact with first &last names, email and location type succeeds.
    */
   public function testCreateIndividualWithNameEmailLocationType() {
     $params = array(
@@ -838,14 +835,13 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     );
     $result = $this->callAPISuccess('contact', 'create', $params);
 
-    $this->assertEquals(1, $result['id'], "In line " . __LINE__);
+    $this->assertEquals(1, $result['id']);
 
     $this->callAPISuccess('contact', 'delete', array('id' => $result['id']));
   }
 
   /**
-   * Verify that when changing employers
-   * the old employer relationship becomes inactive
+   * Verify that when changing employers the old employer relationship becomes inactive.
    */
   public function testCreateIndividualWithEmployer() {
     $employer = $this->organizationCreate();
@@ -891,8 +887,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify that attempt to create household contact with details
-   * succeeds
+   * Verify that attempt to create household contact with details succeeds.
    */
   public function testCreateHouseholdDetails() {
     $params = array(
@@ -904,7 +899,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
 
     $contact = $this->callAPISuccess('contact', 'create', $params);
 
-    $this->assertEquals(1, $contact['id'], "In line " . __LINE__);
+    $this->assertEquals(1, $contact['id']);
 
     $this->callAPISuccess('contact', 'delete', $contact);
   }
@@ -1165,7 +1160,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
    * Test civicrm_contact_getquick() with empty name param.
    */
   public function testContactGetQuick() {
-    //  Insert a row in civicrm_contact creating individual contact
+    // Insert a row in civicrm_contact creating individual contact.
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
     $op->execute($this->_dbconn,
       $this->createXMLDataSet(
@@ -1182,21 +1177,21 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     );
 
     $result = $this->callAPISuccess('contact', 'getquick', $params);
-    $this->assertEquals(17, $result['values'][0]['id'], 'in line ' . __LINE__);
+    $this->assertEquals(17, $result['values'][0]['id']);
   }
 
   /**
-   * Test civicrm_contact_get) with empty params
+   * Test civicrm_contact_get) with empty params.
    */
   public function testContactGetEmptyParams() {
     $this->callAPISuccess('contact', 'get', array());
   }
 
   /**
-   * Test civicrm_contact_get(,true) with no matches
+   * Test civicrm_contact_get(,true) with no matches.
    */
   public function testContactGetOldParamsNoMatches() {
-    //  Insert a row in civicrm_contact creating contact 17
+    // Insert a row in civicrm_contact creating contact 17.
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
     $op->execute($this->_dbconn,
       $this->createXMLDataSet(
@@ -1208,14 +1203,14 @@ class api_v3_ContactTest extends CiviUnitTestCase {
       'first_name' => 'Fred',
     );
     $result = $this->callAPISuccess('contact', 'get', $params);
-    $this->assertEquals(0, $result['count'], 'in line ' . __LINE__);
+    $this->assertEquals(0, $result['count']);
   }
 
   /**
-   * Test civicrm_contact_get(,true) with one match
+   * Test civicrm_contact_get(,true) with one match.
    */
   public function testContactGetOldParamsOneMatch() {
-    //  Insert a row in civicrm_contact creating contact 17
+    // Insert a row in civicrm_contact creating contact 17
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
     $op->execute($this->_dbconn,
       $this->createXMLDataSet(dirname(__FILE__) . '/dataset/contact_17.xml'
@@ -1226,12 +1221,12 @@ class api_v3_ContactTest extends CiviUnitTestCase {
       'first_name' => 'Test',
     );
     $result = $this->callAPISuccess('contact', 'get', $params);
-    $this->assertEquals(17, $result['values'][17]['contact_id'], 'in line ' . __LINE__);
-    $this->assertEquals(17, $result['id'], 'in line ' . __LINE__);
+    $this->assertEquals(17, $result['values'][17]['contact_id']);
+    $this->assertEquals(17, $result['id']);
   }
 
   /**
-   * Test civicrm_contact_search_count()
+   * Test civicrm_contact_search_count().
    */
   public function testContactGetEmail() {
     $params = array(
@@ -1256,8 +1251,10 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test birth date params incl value, array & birth_date_high, birth_date_low
-   * && deceased
+   * Test birth date parameters.
+   *
+   * These include value, array & birth_date_high, birth_date_low
+   * && deceased.
    */
   public function testContactGetBirthDate() {
     $contact1 = $this->callAPISuccess('contact', 'create', array_merge($this->_params, array('birth_date' => 'first day of next month - 2 years')));
@@ -1287,7 +1284,9 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test Deceased date params incl value, array & Deceased_date_high, Deceased date_low
+   * Test Deceased date parameters.
+   *
+   * These include value, array & Deceased_date_high, Deceased date_low
    * && deceased.
    */
   public function testContactGetDeceasedDate() {
@@ -1312,10 +1311,10 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test for Contact.get id=@user:username
+   * Test for Contact.get id=@user:username.
    */
   public function testContactGetByUsername() {
-    // setup - create contact with a uf-match
+    // Setup - create contact with a uf-match.
     $cid = $this->individualCreate(array(
       'contact_type' => 'Individual',
       'first_name' => 'testGetByUsername',
@@ -1394,7 +1393,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test for Contact.get id=@user:username (with an invalid username)
+   * Test for Contact.get id=@user:username (with an invalid username).
    */
   public function testContactGetByUnknownUsername() {
     // setup - mock the calls to CRM_Utils_System_*::getUfId
@@ -1649,7 +1648,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test TrueFalse format - I couldn't come up with an easy way to get an error on Get
+   * Test TrueFalse format - I couldn't come up with an easy way to get an error on Get.
    */
   public function testContactGetFormatIsSuccessTrue() {
     $this->createContactFromXML();
@@ -1663,7 +1662,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test TrueFalse format.
+   * Test TrueFalse format.
    */
   public function testContactCreateFormatIsSuccessFalse() {
 
@@ -1676,9 +1675,9 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test Single Entity format.
+   * Test Single Entity format.
    */
-  public function testContactGetSingle_entity_array() {
+  public function testContactGetSingleEntityArray() {
     $this->createContactFromXML();
     $description = "This demonstrates use of the 'format.single_entity_array' param.
     /* This param causes the only contact to be returned as an array without the other levels.
@@ -1693,7 +1692,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   /**
    * Test Single Entity format.
    */
-  public function testContactGetFormatCount_only() {
+  public function testContactGetFormatCountOnly() {
     $this->createContactFromXML();
     $description = "This demonstrates use of the 'getCount' action.\n"
     . " *\n"
@@ -1709,7 +1708,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   /**
    * Test id only format.
    */
-  public function testContactGetFormatID_only() {
+  public function testContactGetFormatIDOnly() {
     $this->createContactFromXML();
     $description = "This demonstrates use of the 'format.id_only' param.
     /* This param causes the id of the only entity to be returned as an integer.
@@ -1842,7 +1841,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
    *
    * (note that getquick api is required for autocomplete & has ACL permissions applied)
    */
-  public function testGetquickPermission_CRM_13744() {
+  public function testGetquickPermissionCRM13744() {
     CRM_Core_Config::singleton()->userPermissionClass->permissions = array('access CiviEvent');
     $this->callAPIFailure('contact', 'getquick', array('name' => 'b', 'check_permissions' => TRUE));
     CRM_Core_Config::singleton()->userPermissionClass->permissions = array('access CiviCRM');
@@ -1918,7 +1917,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * CRM-14743 - test api respects search operators
+   * CRM-14743 - test api respects search operators.
    */
   public function testGetModifiedDateByOperators() {
     $preExistingContactCount = CRM_Core_DAO::singleValueQuery('select count(*) FROM civicrm_contact');
@@ -1938,7 +1937,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * CRM-14743 - test api respects search operators
+   * CRM-14743 - test api respects search operators.
    */
   public function testGetCreatedDateByOperators() {
     $preExistingContactCount = CRM_Core_DAO::singleValueQuery('select count(*) FROM civicrm_contact');
@@ -1958,7 +1957,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * CRM-14263 check that API is not affected by search profile related bug
+   * CRM-14263 check that API is not affected by search profile related bug.
    */
   public function testReturnCityProfile() {
     $contactID = $this->individualCreate();
@@ -1993,7 +1992,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test contact.getactions
+   * Test contact getactions.
    */
   public function testGetActions() {
     $description = "Getting the available actions for an entity.";
index 892fc234747de3752cbbea0ef5a66f32af93c22e..00caf5d6144287db7105efa98d474f0ed602089d 100644 (file)
@@ -36,7 +36,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class api_v3_ContributionSoftTest extends CiviUnitTestCase {
 
   /**
-   * Assume empty database with just civicrm_data
+   * Assume empty database with just civicrm_data.
    */
   protected $_individualId; //the hard credit contact
   protected $_softIndividual1Id; //the first soft credit contact
@@ -156,7 +156,7 @@ class api_v3_ContributionSoftTest extends CiviUnitTestCase {
 
 
   /**
-   * civicrm_contribution_soft
+   * civicrm_contribution_soft.
    */
   public function testCreateEmptyParamsContributionSoft() {
     $softcontribution = $this->callAPIFailure('contribution_soft', 'create', array(),
@@ -281,7 +281,7 @@ class api_v3_ContributionSoftTest extends CiviUnitTestCase {
   }
 
   /**
-   * civicrm_contribution_soft_delete methods
+   * civicrm_contribution_soft_delete methods.
    *
    */
   public function testDeleteEmptyParamsContributionSoft() {
index 309eaa6946274442754e2aa8f08f320c0149fa1c..0a16cbfa5ed02d366add10a48390e78cad56750c 100644 (file)
@@ -38,7 +38,7 @@ require_once 'CiviTest/CiviMailUtils.php';
 class api_v3_ContributionTest extends CiviUnitTestCase {
 
   /**
-   * Assume empty database with just civicrm_data
+   * Assume empty database with just civicrm_data.
    */
   protected $_individualId;
   protected $_contribution;
index 3015a068e068b3eee1d356ac64954e25622d24b8..32d0a9a77ab976cd6c0d0923927e63b4563d501a 100644 (file)
@@ -46,6 +46,7 @@ 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.
    */
   protected function setUp() {
@@ -90,10 +91,10 @@ class api_v3_DomainTest extends CiviUnitTestCase {
     );
   }
 
-  ///////////////// civicrm_domain_get methods
-
   /**
-   * Test civicrm_domain_get. Takes no params.
+   * Test civicrm_domain_get.
+   *
+   * Takes no params.
    * Testing mainly for format.
    */
   public function testGet() {
@@ -173,10 +174,11 @@ class api_v3_DomainTest extends CiviUnitTestCase {
 
   /**
    * Test civicrm_domain_create with empty params.
+   *
    * Error expected.
    */
   public function testCreateWithEmptyParams() {
-    $result = $this->callAPIFailure('domain', 'create', array());
+    $this->callAPIFailure('domain', 'create', array());
   }
 
 }
index 7f078339d67b3030c38793736126606f8f12c5af..6c4e62e64747572d10c01a83e4d827044ad7597f 100644 (file)
@@ -77,7 +77,7 @@ class api_v3_EmailTest extends CiviUnitTestCase {
   }
 
   /**
-   * If a new email is set to is_primary the prev should no longer be
+   * If a new email is set to is_primary the prev should no longer be.
    *
    * If is_primary is not set then it should become is_primary is no others exist
    */
index f84420ed5a2494c04d7f8e3370d01cbaa707df33..709691bb29a7a2208149a2f87ff372c0dae5ddc9 100644 (file)
@@ -120,7 +120,7 @@ class api_v3_EntityTagTest extends CiviUnitTestCase {
   }
 
   /**
-   * civicrm_entity_tag_get methods
+   * civicrm_entity_tag_get methods.
    */
   public function testGetNoEntityID() {
     $ContactId = $this->_individualID;
@@ -181,7 +181,7 @@ class api_v3_EntityTagTest extends CiviUnitTestCase {
   }
 
   /**
-   * civicrm_entity_tag_Delete methods
+   * civicrm_entity_tag_Delete methods.
    */
   public function testEntityTagDeleteNoTagId() {
     $entityTagParams = array(
@@ -257,7 +257,7 @@ class api_v3_EntityTagTest extends CiviUnitTestCase {
   }
 
   /**
-   * civicrm_tag_entities_get methods
+   * civicrm_tag_entities_get methods.
    */
   public function testCommonContactEntityTagAdd() {
     $params = array(
index c236958968795b225a17703f78a8895a4110b631..2da71c446ce526ccc0e095682f228e2a374f5d52 100644 (file)
@@ -111,7 +111,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * civicrm_event_get methods
+   * civicrm_event_get methods.
    */
   public function testGetEventById() {
     $params = array(
@@ -263,8 +263,9 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Legacy support for Contribution Type ID. We need to ensure this is supported
-   * as an alias for financial_type_id
+   * Legacy support for Contribution Type ID.
+   *
+   * We need to ensure this is supported as an alias for financial_type_id.
    */
   public function testCreateGetEventLegacyContributionTypeID() {
     $contributionTypeArray = array('contribution_type_id' => 3);
@@ -278,13 +279,13 @@ class api_v3_EventTest extends CiviUnitTestCase {
     $this->assertEquals($result['id'], $getresult['id']);
     $this->callAPISuccess('event', 'delete', array('id' => $result['id']));
   }
-  ///////////////// civicrm_event_create methods
 
   /**
-   * Check with complete array + custom field
+   * Check with complete array + custom field.
+   *
    * Note that the test is written on purpose without any
    * variables specific to participant so it can be replicated into other entities
-   * and / or moved to the automated test suite
+   * and / or moved to the automated test suite.
    */
   public function testCreateWithCustom() {
     $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__);
@@ -401,7 +402,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check event_id still supported for delete
+   * Check event_id still supported for delete.
    */
   public function testDeleteWithEventId() {
     $params = array(
@@ -436,7 +437,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   ///////////////// civicrm_event_search methods
 
   /**
-   * Test civicrm_event_search with wrong params type
+   * Test civicrm_event_search with wrong params type.
    */
   public function testSearchWrongParamsType() {
     $params = 'a string';
@@ -476,7 +477,10 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_event_search. Success expected.
+   * Test civicrm_event_search.
+   *
+   * Success expected.
+   *
    * return.offset and return.max_results test (CRM-5266)
    */
   public function testSearchWithOffsetAndMaxResults() {
@@ -516,7 +520,11 @@ class api_v3_EventTest extends CiviUnitTestCase {
     $result = $this->callAPIFailure('event', 'create', $params);
     $this->assertEquals('API permission check failed for event/create call; insufficient permission: require access CiviCRM and access CiviEvent and edit all events', $result['error_message'], 'lacking permissions should not be enough to create an event');
 
-    $config->userPermissionClass->permissions = array('access CiviEvent', 'edit all events', 'access CiviCRM');
+    $config->userPermissionClass->permissions = array(
+      'access CiviEvent',
+      'edit all events',
+      'access CiviCRM',
+    );
     $result = $this->callAPISuccess('event', 'create', $params);
   }
 
@@ -528,7 +536,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test api_action param also works
+   * Test api_action param also works.
    */
   public function testgetfieldsRest() {
     $description = "demonstrate use of getfields to interrogate api";
index aa61908e5fc6a0be2afd42c1561bb91eb31bf0a0..84267928ea0bf4fd051d6ac07569aec43603f567 100644 (file)
@@ -75,6 +75,7 @@ class api_v3_GrantTest extends CiviUnitTestCase {
 
   /**
    * Check checkbox type custom fields are created correctly.
+   *
    * We want to ensure they are saved with separators as appropriate
    */
   public function testCreateCustomCheckboxGrant() {
@@ -159,6 +160,7 @@ class api_v3_GrantTest extends CiviUnitTestCase {
 
   /**
    * This is a test to check if setting fields one at a time alters other fields.
+   *
    * Issues Hit so far =
    * 1) Currency keeps getting reset to USD -  BUT this may be the only enabled currency
    *  - in which case it is valid
index b153d8108ac9cac2f2b5dd19a5caddc98bea9051..7c5e759bc629204141733bbe7d3958908fa7228c 100644 (file)
@@ -75,7 +75,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create job with an invalid "run_frequency" value
+   * Create job with an invalid "run_frequency" value.
    */
   public function testCreateWithInvalidFrequency() {
     $params = array(
@@ -181,7 +181,8 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the call reminder success sends more than 25 reminders & is not incorrectly limited
+   * Test the call reminder success sends more than 25 reminders & is not incorrectly limited.
+   *
    * Note that this particular test sends the reminders to the additional recipients only
    * as no real reminder person is configured
    *
@@ -220,7 +221,8 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test scheduled reminders respect limit to (since above identified addition_to handling issue)
+   * Test scheduled reminders respect limit to (since above identified addition_to handling issue).
+   *
    * We create 3 contacts - 1 is in our group, 1 has our membership & the chosen one has both
    * & check that only the chosen one got the reminder
    */
index f4da26506a5ef0a44fe19207e322ff6fe330babd..b7602f2750fb87fc50c6ebdc073e46dd54b5534e 100755 (executable)
@@ -60,7 +60,7 @@ class api_v3_MailingABTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_mailing_create
+   * Test civicrm_mailing_create.
    */
   public function testMailingABCreateSuccess() {
     $result = $this->callAPIAndDocument($this->_entity, 'create', $this->_params, __FUNCTION__, __FILE__);
@@ -69,7 +69,7 @@ class api_v3_MailingABTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_mailing_delete
+   * Test civicrm_mailing_delete.
    */
   public function testMailerDeleteSuccess() {
     $result = $this->callAPISuccess($this->_entity, 'create', $this->_params);
index c908fbd93435fcc35e017de8ab1ced2b93f8cb35..c01ab57af2d3093ff6316662086be3fd61d420e9 100755 (executable)
@@ -61,7 +61,7 @@ class api_v3_MailingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_mailing_create
+   * Test civicrm_mailing_create.
    */
   public function testMailerCreateSuccess() {
     $result = $this->callAPIAndDocument('mailing', 'create', $this->_params, __FUNCTION__, __FILE__);
@@ -434,7 +434,7 @@ SELECT event_queue_id, time_stamp FROM mail_{$type}_temp";
   }
 
   /**
-   * Test civicrm_mailing_delete
+   * Test civicrm_mailing_delete.
    */
   public function testMailerDeleteSuccess() {
     $result = $this->callAPISuccess($this->_entity, 'create', $this->_params);
index 10d9115f037f3b343971f1e86101bb928546f2fc..5a23f0390c4d28a1840eac56291d59eec6559d04 100644 (file)
@@ -59,7 +59,7 @@ class api_v3_MembershipStatusTest extends CiviUnitTestCase {
 
 
   /**
-   * Test civicrm_membership_status_get with empty params
+   * Test civicrm_membership_status_get with empty params.
    */
   public function testGetEmptyParams() {
     $result = $this->callAPISuccess('membership_status', 'get', array());
index 973ba40962f9b2db93065091795c1d226fccb27b..e3aadd43ea359eb688b64d1985a618d11c84a434 100644 (file)
@@ -586,7 +586,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * If is_overide is passed in status must also be passed in
+   * If is_overide is passed in status must also be passed in.
    */
   public function testCreateOverrideNoStatus() {
     $params = $this->_params;
@@ -864,7 +864,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_contact_memberships_create Invalid membership data
+   * Test civicrm_contact_memberships_create Invalid membership data.
    * Error expected.
    */
   public function testMembershipCreateInvalidMemData() {
@@ -973,7 +973,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that if membership start date is not set it defaults to correct end date
+   * Test that if membership start date is not set it defaults to correct end date.
    *  - fixed
    */
   public function testEmptyStartDateFixed() {
index c1f2ebbd7c898a8d96535c882c877b3ce42c426d..94b1c4f23eb38f8d2a33a8362f6ef17fb586cb81 100644 (file)
@@ -34,7 +34,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
  */
 class api_v3_MessageTemplateTest extends CiviUnitTestCase {
   /**
-   * Assume empty database with just civicrm_data
+   * Assume empty database with just civicrm_data.
    */
   protected $entity = 'MessageTemplate';
   protected $params;
@@ -65,8 +65,11 @@ class api_v3_MessageTemplateTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test get function succeeds (this is actually largely tested in the get
-   * action on create. Add extra checks for any 'special' return values or
+   * Test get function succeeds.
+   *
+   * This is actually largely tested in the get action on create.
+   *
+   * Add extra checks for any 'special' return values or
    * behaviours
    */
   public function testGet() {
index 8a1e0adbed144e7b677b97960e3a837624effb4a..c94512e28264a3083a2d3a46ffef35ca2dcb28e0 100644 (file)
@@ -154,7 +154,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that domain_id is honoured
+   * Check that domain_id is honoured.
    */
   public function testCreateOptionSpecifyDomain() {
     $result = $this->callAPISuccess('option_group', 'get', array(
@@ -172,7 +172,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that component_id is honoured
+   * Check that component_id is honoured.
    */
   public function testCreateOptionSpecifyComponentID() {
     $result = $this->callAPISuccess('option_group', 'get', array(
@@ -234,7 +234,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that domain_id is honoured
+   * Check that domain_id is honoured.
    */
   public function testCRM12133CreateOptionWeightNoValue() {
     $optionGroup = $this->callAPISuccess(
@@ -263,7 +263,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that domain_id is honoured
+   * Check that domain_id is honoured.
    */
   public function testCreateOptionNoName() {
     $optionGroup = $this->callAPISuccess('option_group', 'get', array(
@@ -278,8 +278,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that pseudoconstant reflects new value added
-   * and deleted
+   * Check that pseudoconstant reflects new value added.
    */
   public function testCRM11876CreateOptionPseudoConstantUpdated() {
     $optionGroupID = $this->callAPISuccess('option_group', 'getvalue', array(
index 3694d274272045ecbaea4fbb54ba6ee676d32910..f78c39b5981d6806347a4db48a1ddb7f8dd587eb 100644 (file)
@@ -77,7 +77,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_payment_create methods
 
   /**
-   * Test civicrm_participant_payment_create with wrong params type
+   * Test civicrm_participant_payment_create with wrong params type.
    */
   public function testPaymentCreateWrongParamsType() {
     $params = 'a string';
@@ -85,7 +85,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_participant_payment_create with empty params
+   * Test civicrm_participant_payment_create with empty params.
    */
   public function testPaymentCreateEmptyParams() {
     $params = array();
@@ -93,7 +93,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without contribution_id
+   * Check without contribution_id.
    */
   public function testPaymentCreateMissingContributionId() {
     //Without Payment EntityID
@@ -128,7 +128,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_payment_create methods
 
   /**
-   * Test civicrm_participant_payment_create with wrong params type
+   * Test civicrm_participant payment create with wrong params type.
    */
   public function testPaymentUpdateWrongParamsType() {
     $params = 'a string';
@@ -140,24 +140,21 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
    * Check with empty array.
    */
   public function testPaymentUpdateEmpty() {
-    $params = array();
-    $participantPayment = $this->callAPIFailure('participant_payment', 'create', $params);
+    $this->callAPIFailure('participant_payment', 'create', array());
   }
 
   /**
-   * Check with missing participant_id
+   * Check with missing participant_id.
    */
   public function testPaymentUpdateMissingParticipantId() {
-    //WithoutParticipantId
     $params = array(
       'contribution_id' => '3',
     );
-
-    $participantPayment = $this->callAPIFailure('participant_payment', 'create', $params);
+    $this->callAPIFailure('participant_payment', 'create', $params);
   }
 
   /**
-   * Check with missing contribution_id
+   * Check with missing contribution_id.
    */
   public function testPaymentUpdateMissingContributionId() {
     $params = array(
@@ -263,14 +260,13 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
     $deletePayment = $this->callAPISuccess('participant_payment', 'delete', $params);
   }
 
-  ///////////////// civicrm_participant_payment_delete methods
 
   /**
-   * Test civicrm_participant_payment_delete with wrong params type
+   * Test civicrm_participant_payment_delete with wrong params type.
    */
   public function testPaymentDeleteWrongParamsType() {
     $params = 'a string';
-    $result = $this->callAPIFailure('participant_payment', 'delete', $params);
+    $this->callAPIFailure('participant_payment', 'delete', $params);
   }
 
   /**
index c7f84bdf80a89df6993128709df26550e82998ac..370c3bf27dce27605d5ff8948d5449c7c63ed814 100644 (file)
@@ -133,14 +133,14 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_participant_get with empty params
+   * Test civicrm_participant_get with empty params.
    */
   public function testGetEmptyParams() {
     $this->callAPISuccess('participant', 'get', array());
   }
 
   /**
-   * Check with participant_id
+   * Check with participant_id.
    */
   public function testGetParticipantIdOnly() {
     $params = array(
@@ -221,7 +221,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with contact_id
+   * Check with contact_id.
    */
   public function testGetContactIdOnly() {
     $params = array(
@@ -247,7 +247,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with event_id
+   * Check with event_id.
    * fetch first record
    */
   public function testGetMultiMatchReturnFirst() {
@@ -261,7 +261,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with event_id
+   * Check with event_id.
    * in v3 this should return all participants
    */
   public function testGetMultiMatchNoReturnFirst() {
@@ -275,7 +275,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_get methods
 
   /**
-   * Test civicrm_participant_get with empty params
+   * Test civicrm_participant_get with empty params.
    * In this case all the participant records are returned.
    */
   public function testSearchEmptyParams() {
@@ -285,7 +285,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with participant_id
+   * Check with participant_id.
    */
   public function testSearchParticipantIdOnly() {
     $params = array(
@@ -298,7 +298,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with contact_id
+   * Check with contact_id.
    */
   public function testSearchContactIdOnly() {
     // Should get 2 participant records for this contact.
@@ -311,7 +311,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with event_id
+   * Check with event_id.
    */
   public function testSearchByEvent() {
     // Should get >= 3 participant records for this event. Also testing that last_name and event_title are returned.
@@ -330,7 +330,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with event_id
+   * Check with event_id.
    * fetch with limit
    */
   public function testSearchByEventWithLimit() {
@@ -347,7 +347,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_create methods
 
   /**
-   * Test civicrm_participant_create with empty params
+   * Test civicrm_participant_create with empty params.
    */
   public function testCreateEmptyParams() {
     $params = array();
@@ -355,7 +355,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with event_id
+   * Check with event_id.
    */
   public function testCreateMissingContactID() {
     $params = array(
@@ -365,7 +365,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with contact_id
+   * Check with contact_id.
    * without event_id
    */
   public function testCreateMissingEventID() {
@@ -569,7 +569,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_update methods
 
   /**
-   * Test civicrm_participant_update with wrong params type
+   * Test civicrm_participant_update with wrong params type.
    */
   public function testUpdateWrongParamsType() {
     $params = 'a string';
@@ -587,7 +587,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without event_id
+   * Check without event_id.
    */
   public function testUpdateWithoutEventId() {
     $participantId = $this->participantCreate(array('contactID' => $this->_individualId, 'eventID' => $this->_eventID));
@@ -644,7 +644,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_delete methods
 
   /**
-   * Test civicrm_participant_delete with wrong params type
+   * Test civicrm_participant_delete with wrong params type.
    */
   public function testDeleteWrongParamsType() {
     $params = 'a string';
@@ -652,7 +652,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_participant_delete with empty params
+   * Test civicrm_participant_delete with empty params.
    */
   public function testDeleteEmptyParams() {
     $params = array();
@@ -660,7 +660,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with participant_id
+   * Check with participant_id.
    */
   public function testParticipantDelete() {
     $params = array(
@@ -672,7 +672,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without participant_id
+   * Check without participant_id.
    * and with event_id
    * This should return an error because required param is missing..
    */
index 5bb8aff2aac5ae6adbdefbcf5864e76c283033f7..a9d0db171e2703626854c09f425f014002b91417 100644 (file)
@@ -128,7 +128,7 @@ class api_v3_PhoneTest extends CiviUnitTestCase {
   }
 
   /**
-   * If a new phone is set to is_primary the prev should no longer be
+   * If a new phone is set to is_primary the prev should no longer be.
    *
    * If is_primary is not set then it should become is_primary is no others exist
    */
index 9ab2f4dd2fbd2c6f99ea4dcf6749d032f32567e4..253c1b962cead1becc12a8c037b6cab1e15da0bc 100644 (file)
@@ -35,7 +35,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class api_v3_PledgePaymentTest extends CiviUnitTestCase {
 
   /**
-   * Assume empty database with just civicrm_data
+   * Assume empty database with just civicrm_data.
    */
   protected $_individualId;
   protected $_pledgeID;
@@ -195,8 +195,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that creating a payment will add the contribution ID where only one pledge payment.
-   * in schedule
+   * Test that creating a payment adds the contribution ID where only one pledge payment is in schedule.
    */
   public function testCreatePledgePaymentWhereOnlyOnePayment() {
     $pledgeParams = array(
index 42fd34687465056748b30dca04c14fe3359fa468..e40bf6c7e11d1b47f0f0423cc841df0d410ba16c 100644 (file)
@@ -35,7 +35,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class api_v3_PledgeTest extends CiviUnitTestCase {
 
   /**
-   * Assume empty database with just civicrm_data
+   * Assume empty database with just civicrm_data.
    */
   protected $_individualId;
   protected $_pledge;
@@ -75,10 +75,9 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $this->contactDelete($this->_individualId);
   }
 
-  ///////////////// civicrm_pledge_get methods
-
   /**
-   * Check with complete array + custom field
+   * Check with complete array + custom field.
+   *
    * Note that the test is written on purpose without any
    * variables specific to participant so it can be replicated into other entities
    * and / or moved to the automated test suite
@@ -91,21 +90,27 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
 
     $result = $this->callAPISuccess($this->_entity, 'create', $params);
     $this->assertAPISuccess($result, " testCreateWithCustom ");
-    $this->assertAPISuccess($result, ' in line ' . __LINE__);
-    $getparams = array('id' => $result['id'], 'return.custom_' . $ids['custom_field_id'] => 1);
-    $check = $this->callAPISuccess($this->_entity, 'get', $getparams);
+    $this->assertAPISuccess($result);
+    $getParams = array('id' => $result['id'], 'return.custom_' . $ids['custom_field_id'] => 1);
+    $check = $this->callAPISuccess($this->_entity, 'get', $getParams);
     $this->callAPISuccess('pledge', 'delete', array('id' => $check['id']));
-    $this->assertEquals("custom string", $check['values'][$check['id']]['custom_' . $ids['custom_field_id']], ' in line ' . __LINE__);
+    $this->assertEquals("custom string", $check['values'][$check['id']]['custom_' . $ids['custom_field_id']]);
 
     $this->customFieldDelete($ids['custom_field_id']);
     $this->customGroupDelete($ids['custom_group_id']);
   }
 
-  public function testgetfieldspledge() {
+  /**
+   * Test getfields function for pledge.
+   */
+  public function testGetfieldsPledge() {
     $result = $this->callAPISuccess('pledge', 'getfields', array('action' => 'get'));
     $this->assertEquals(1, $result['values']['next_pay_date']['api.return']);
   }
 
+  /**
+   * Test get pledge api.
+   */
   public function testGetPledge() {
 
     $this->_pledge = $this->callAPISuccess('pledge', 'create', $this->_params);
@@ -114,15 +119,15 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     );
     $result = $this->callAPIAndDocument('pledge', 'get', $params, __FUNCTION__, __FILE__);
     $pledge = $result['values'][$this->_pledge['id']];
-    $this->assertEquals($this->_individualId, $pledge['contact_id'], 'in line' . __LINE__);
-    $this->assertEquals($this->_pledge['id'], $pledge['pledge_id'], 'in line' . __LINE__);
-    $this->assertEquals(date('Y-m-d') . ' 00:00:00', $pledge['pledge_create_date'], 'in line' . __LINE__);
-    $this->assertEquals(100.00, $pledge['pledge_amount'], 'in line' . __LINE__);
-    $this->assertEquals('Pending', $pledge['pledge_status'], 'in line' . __LINE__);
-    $this->assertEquals(5, $pledge['pledge_frequency_interval'], 'in line' . __LINE__);
-    $this->assertEquals('year', $pledge['pledge_frequency_unit'], 'in line' . __LINE__);
-    $this->assertEquals(date('Y-m-d', strtotime($this->scheduled_date)) . ' 00:00:00', $pledge['pledge_next_pay_date'], 'in line' . __LINE__);
-    $this->assertEquals($pledge['pledge_next_pay_amount'], 20.00, 'in line' . __LINE__);
+    $this->assertEquals($this->_individualId, $pledge['contact_id']);
+    $this->assertEquals($this->_pledge['id'], $pledge['pledge_id']);
+    $this->assertEquals(date('Y-m-d') . ' 00:00:00', $pledge['pledge_create_date']);
+    $this->assertEquals(100.00, $pledge['pledge_amount']);
+    $this->assertEquals('Pending', $pledge['pledge_status']);
+    $this->assertEquals(5, $pledge['pledge_frequency_interval']);
+    $this->assertEquals('year', $pledge['pledge_frequency_unit']);
+    $this->assertEquals(date('Y-m-d', strtotime($this->scheduled_date)) . ' 00:00:00', $pledge['pledge_next_pay_date']);
+    $this->assertEquals($pledge['pledge_next_pay_amount'], 20.00);
 
     $params2 = array(
       'pledge_id' => $this->_pledge['id'],
@@ -131,9 +136,9 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test  'return.pledge_financial_type' => 1 works
+   * Test 'return.pledge_financial_type' => 1 works.
    */
-  public function testGetPledgewithReturn() {
+  public function testGetPledgeWithReturn() {
 
     $this->_pledge = $this->callAPISuccess('pledge', 'create', $this->_params);
     $params = array(
@@ -147,10 +152,11 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test  'return.pledge_contribution_type' => 1 works
+   * Test 'return.pledge_contribution_type' => 1 works.
+   *
    * This is for legacy compatibility
    */
-  public function testGetPledgewithReturnLegacy() {
+  public function testGetPledgeWithReturnLegacy() {
 
     $this->_pledge = $this->callAPISuccess('pledge', 'create', $this->_params);
     $params = array(
@@ -163,8 +169,11 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $this->assertEquals('Donation', $pledge['pledge_financial_type']);
   }
 
+  /**
+   * Test date legacy date filters like pledge_start_date_high.
+   */
   public function testPledgeGetReturnFilters() {
-    $oldPledge = $this->callAPISuccess('pledge', 'create', $this->_params);
+    $this->callAPISuccess('pledge', 'create', $this->_params);
 
     $overdueParams = array(
       'scheduled_date' => 'first saturday of march last year',
@@ -183,7 +192,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * create 2 pledges - see if we can get by status id
+   * Create 2 pledges - see if we can get by status id.
    */
   public function testGetOverduePledge() {
     $overdueParams = array(
@@ -206,7 +215,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
 
 
   /**
-   * create 2 pledges - see if we can get by status id
+   * Create 2 pledges - see if we can get by status id.
    */
   public function testSortParamPledge() {
     $pledge1 = $this->callAPISuccess('pledge', 'create', $this->_params);
@@ -241,22 +250,21 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   public function testCreatePledge() {
 
     $result = $this->callAPIAndDocument('pledge', 'create', $this->_params, __FUNCTION__, __FILE__);
-    $this->assertEquals($result['values'][0]['amount'], 100.00, 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['installments'], 5, 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['frequency_unit'], 'year', 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['frequency_interval'], 5, 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['frequency_day'], 15, 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['original_installment_amount'], 20, 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['status_id'], 2, 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['create_date'], date('Ymd') . '000000', 'In line ' . __LINE__);
-    $this->assertEquals($result['values'][0]['start_date'], date('Ymd') . '000000', 'In line ' . __LINE__);
-    $this->assertAPISuccess($result, 'In line ' . __LINE__);
+    $this->assertEquals($result['values'][0]['amount'], 100.00);
+    $this->assertEquals($result['values'][0]['installments'], 5);
+    $this->assertEquals($result['values'][0]['frequency_unit'], 'year');
+    $this->assertEquals($result['values'][0]['frequency_interval'], 5);
+    $this->assertEquals($result['values'][0]['frequency_day'], 15);
+    $this->assertEquals($result['values'][0]['original_installment_amount'], 20);
+    $this->assertEquals($result['values'][0]['status_id'], 2);
+    $this->assertEquals($result['values'][0]['create_date'], date('Ymd') . '000000');
+    $this->assertEquals($result['values'][0]['start_date'], date('Ymd') . '000000');
+    $this->assertAPISuccess($result);
     $payments = $this->callAPISuccess('PledgePayment', 'Get', array('pledge_id' => $result['id'], 'sequential' => 1));
-    $this->assertAPISuccess($payments, 'In line ' . __LINE__);
-    $this->assertEquals($payments['count'], 5, 'In line ' . __LINE__);
-    require_once 'CRM/Utils/Date.php';
+    $this->assertAPISuccess($payments);
+    $this->assertEquals($payments['count'], 5);
     $shouldBeDate = CRM_Utils_Date::format(CRM_Utils_Date::intervalAdd('year', 5 * 4, $this->scheduled_date), "-");
-    $this->assertEquals(substr($shouldBeDate, 0, 10), substr($payments['values'][4]['scheduled_date'], 0, 10), 'In line ' . __LINE__);
+    $this->assertEquals(substr($shouldBeDate, 0, 10), substr($payments['values'][4]['scheduled_date'], 0, 10));
 
     $pledgeID = array('id' => $result['id']);
     $pledge = $this->callAPISuccess('pledge', 'delete', $pledgeID);
@@ -279,8 +287,8 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
       'pledge_id' => $pledge['id'],
       'sequential' => 1,
     ));
-    $this->assertEquals($payments['count'], 5, 'In line ' . __LINE__);
-    $this->assertEquals('2011-07-06 00:00:00', $payments['values'][4]['scheduled_date'], 'In line ' . __LINE__);
+    $this->assertEquals($payments['count'], 5);
+    $this->assertEquals('2011-07-06 00:00:00', $payments['values'][4]['scheduled_date']);
 
     $this->callAPISuccess('pledge', 'delete', array('pledge_id' => $pledge['id']));
   }
@@ -323,15 +331,16 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
       'pledge_id' => $pledge['id'],
       'sequential' => 1,
     ));
-    $this->assertEquals(1, $payments['count'], 'In line ' . __LINE__);
-    $this->assertEquals(2, $payments['values'][0]['status_id'], 'In line ' . __LINE__);
+    $this->assertEquals(1, $payments['count']);
+    $this->assertEquals(2, $payments['values'][0]['status_id']);
     $pledgeID = array('id' => $pledge['id']);
     $pledge = $this->callAPISuccess('pledge', 'delete', $pledgeID);
   }
 
   /**
-   * test that using original_installment_amount rather than pledge_original_installment_amount works
-   * Pledge field behaviour is a bit random & so pledge has come to try to handle both unique & non -unique fields
+   * Test that using original_installment_amount rather than pledge_original_installment_amount works.
+   *
+   * Pledge field behaviour is a bit random & so pledge has come to try to handle both unique & non -unique fields.
    */
   public function testCreatePledgeWithNonUnique() {
     $params = $this->_params;
@@ -341,24 +350,31 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $result = $this->callAPISuccess('pledge', 'create', $params);
     $pledgeDetails = $this->callAPISuccess('Pledge', 'Get', array('id' => $result['id'], 'sequential' => 1));
     $pledge = $pledgeDetails['values'][0];
-    $this->assertEquals(100.00, $pledge['pledge_amount'], 'In line ' . __LINE__);
-    $this->assertEquals('year', $pledge['pledge_frequency_unit'], 'In line ' . __LINE__);
-    $this->assertEquals(5, $pledge['pledge_frequency_interval'], 'In line ' . __LINE__);
-    $this->assertEquals(20, $pledge['pledge_next_pay_amount'], 'In line ' . __LINE__);
+    $this->assertEquals(100.00, $pledge['pledge_amount']);
+    $this->assertEquals('year', $pledge['pledge_frequency_unit']);
+    $this->assertEquals(5, $pledge['pledge_frequency_interval']);
+    $this->assertEquals(20, $pledge['pledge_next_pay_amount']);
 
     $pledgeID = array('id' => $result['id']);
     $pledge = $this->callAPISuccess('pledge', 'delete', $pledgeID);
   }
 
+  /**
+   * Test cancelling a pledge.
+   */
   public function testCreateCancelPledge() {
 
     $result = $this->callAPISuccess('pledge', 'create', $this->_params);
-    $this->assertEquals(2, $result['values'][0]['status_id'], "in line " . __LINE__);
-    $cancelparams = array('sequential' => 1, 'id' => $result['id'], 'pledge_status_id' => 3);
-    $result = $this->callAPISuccess('pledge', 'create', $cancelparams);
-    $this->assertEquals(3, $result['values'][0]['status_id'], "in line " . __LINE__);
+    $this->assertEquals(2, $result['values'][0]['status_id']);
+    $cancelParams = array(
+      'sequential' => 1,
+      'id' => $result['id'],
+      'pledge_status_id' => 3,
+    );
+    $result = $this->callAPISuccess('pledge', 'create', $cancelParams);
+    $this->assertEquals(3, $result['values'][0]['status_id']);
     $pledgeID = array('id' => $result['id']);
-    $pledge = $this->callAPISuccess('pledge', 'delete', $pledgeID);
+    $this->callAPISuccess('pledge', 'delete', $pledgeID);
   }
 
   /**
@@ -370,8 +386,8 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     unset($params['status_id']);
     unset($params['pledge_status_id']);
     $result = $this->callAPISuccess('pledge', 'create', $params);
-    $this->assertAPISuccess($result, "in line " . __LINE__);
-    $this->assertEquals(2, $result['values'][0]['status_id'], "in line " . __LINE__);
+    $this->assertAPISuccess($result);
+    $this->assertEquals(2, $result['values'][0]['status_id']);
     $pledgeID = array('pledge_id' => $result['id']);
     $pledge = $this->callAPISuccess('pledge', 'delete', $pledgeID);
   }
@@ -388,7 +404,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     );
     $original = $this->callAPISuccess('pledge', 'get', $old_params);
     //Make sure it came back
-    $this->assertEquals($original['values'][0]['pledge_id'], $pledgeID, 'In line ' . __LINE__);
+    $this->assertEquals($original['values'][0]['pledge_id'], $pledgeID);
     //set up list of old params, verify
     $old_contact_id = $original['values'][0]['contact_id'];
     $old_frequency_unit = $original['values'][0]['pledge_frequency_unit'];
@@ -396,10 +412,10 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $old_status_id = $original['values'][0]['pledge_status'];
 
     //check against values in CiviUnitTestCase::createPledge()
-    $this->assertEquals($old_contact_id, $this->_individualId, 'In line ' . __LINE__);
-    $this->assertEquals($old_frequency_unit, 'year', 'In line ' . __LINE__);
-    $this->assertEquals($old_frequency_interval, 5, 'In line ' . __LINE__);
-    $this->assertEquals($old_status_id, 'Pending', 'In line ' . __LINE__);
+    $this->assertEquals($old_contact_id, $this->_individualId);
+    $this->assertEquals($old_frequency_unit, 'year');
+    $this->assertEquals($old_frequency_interval, 5);
+    $this->assertEquals($old_status_id, 'Pending');
     $params = array(
       'id' => $pledgeID,
       'contact_id' => $this->_individualId,
@@ -415,37 +431,38 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
       'id' => $pledge['id'],
     );
     $pledge = $this->callAPISuccess('pledge', 'get', $new_params);
-    $this->assertEquals($pledge['values'][$pledgeID]['contact_id'], $this->_individualId, 'In line ' . __LINE__);
-    $this->assertEquals($pledge['values'][$pledgeID]['pledge_status'], 'Cancelled', 'In line ' . __LINE__);
+    $this->assertEquals($pledge['values'][$pledgeID]['contact_id'], $this->_individualId);
+    $this->assertEquals($pledge['values'][$pledgeID]['pledge_status'], 'Cancelled');
     $pledge = $this->callAPISuccess('pledge', 'delete', $new_params);
   }
 
   /**
-   * Here we ensure we are maintaining our 'contract' & supporting previously working syntax
-   * ie contribution_type_id
+   * Here we ensure we are maintaining our 'contract' & supporting previously working syntax.
+   *
+   * ie contribution_type_id.
+   *
+   * We test 'sequential' param here too.
    */
   public function testCreateUpdatePledgeLegacy() {
-
-    // we test 'sequential' param here too
     $pledgeID = $this->pledgeCreate($this->_individualId);
     $old_params = array(
       'id' => $pledgeID,
       'sequential' => 1,
     );
     $original = $this->callAPISuccess('pledge', 'get', $old_params);
-    //Make sure it came back
-    $this->assertEquals($original['values'][0]['pledge_id'], $pledgeID, 'In line ' . __LINE__);
-    //set up list of old params, verify
+    // Make sure it came back.
+    $this->assertEquals($original['values'][0]['pledge_id'], $pledgeID);
+    // Set up list of old params, verify.
     $old_contact_id = $original['values'][0]['contact_id'];
     $old_frequency_unit = $original['values'][0]['pledge_frequency_unit'];
     $old_frequency_interval = $original['values'][0]['pledge_frequency_interval'];
     $old_status_id = $original['values'][0]['pledge_status'];
 
-    //check against values in CiviUnitTestCase::createPledge()
-    $this->assertEquals($old_contact_id, $this->_individualId, 'In line ' . __LINE__);
-    $this->assertEquals($old_frequency_unit, 'year', 'In line ' . __LINE__);
-    $this->assertEquals($old_frequency_interval, 5, 'In line ' . __LINE__);
-    $this->assertEquals($old_status_id, 'Pending', 'In line ' . __LINE__);
+    // Check against values in CiviUnitTestCase::createPledge().
+    $this->assertEquals($old_contact_id, $this->_individualId);
+    $this->assertEquals($old_frequency_unit, 'year');
+    $this->assertEquals($old_frequency_interval, 5);
+    $this->assertEquals($old_status_id, 'Pending');
     $params = array(
       'id' => $pledgeID,
       'contact_id' => $this->_individualId,
@@ -461,25 +478,31 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
       'id' => $pledge['id'],
     );
     $pledge = $this->callAPISuccess('pledge', 'get', $new_params);
-    $this->assertEquals($pledge['values'][$pledgeID]['contact_id'], $this->_individualId, 'In line ' . __LINE__);
-    $this->assertEquals($pledge['values'][$pledgeID]['pledge_status'], 'Cancelled', 'In line ' . __LINE__);
-    $pledge = $this->callAPISuccess('pledge', 'delete', $new_params);
+    $this->assertEquals($pledge['values'][$pledgeID]['contact_id'], $this->_individualId);
+    $this->assertEquals($pledge['values'][$pledgeID]['pledge_status'], 'Cancelled');
+    $this->callAPISuccess('pledge', 'delete', $new_params);
   }
 
+  /**
+   * Failure test for delete without id.
+   */
   public function testDeleteEmptyParamsPledge() {
-    $pledge = $this->callAPIFailure('pledge', 'delete', array(), 'Mandatory key(s) missing from params array: id');
+    $this->callAPIFailure('pledge', 'delete', array(), 'Mandatory key(s) missing from params array: id');
   }
 
 
+  /**
+   * Failure test for invalid pledge id.
+   */
   public function testDeleteWrongParamPledge() {
     $params = array(
       'pledge_source' => 'SSF',
     );
-    $pledge = $this->callAPIFailure('pledge', 'delete', $params, 'Mandatory key(s) missing from params array: id');
+    $this->callAPIFailure('pledge', 'delete', $params, 'Mandatory key(s) missing from params array: id');
   }
 
   /**
-   * Legacy support for pledge_id
+   * Legacy support for pledge_id.
    */
   public function testDeletePledge() {
 
@@ -491,7 +514,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Std is to accept id.
+   * Standard is to accept id.
    */
   public function testDeletePledgeUseID() {
 
@@ -499,21 +522,22 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $params = array(
       'id' => $pledgeID,
     );
-    $result = $this->callAPIAndDocument('pledge', 'delete', $params, __FUNCTION__, __FILE__);
+    $this->callAPIAndDocument('pledge', 'delete', $params, __FUNCTION__, __FILE__);
   }
 
   /**
    * Test to make sure empty get returns nothing.
+   *
    * Note that the function gives incorrect results if no pledges exist as it does a
    * contact search instead - test only checks that the get finds the one existing
    */
   public function testGetEmpty() {
-    $result = $this->callAPISuccess('pledge', 'create', $this->_params);
+    $this->callAPISuccess('pledge', 'create', $this->_params);
     $result = $this->callAPISuccess('pledge', 'get', array());
     $this->assertAPISuccess($result, "This test is failing because it's acting like a contact get when no params set. Not sure the fix");
     $this->assertEquals(1, $result['count'], 'in line ' . __LINE__);
     $pledgeID = array('id' => $result['id']);
-    $pledge = $this->callAPISuccess('pledge', 'delete', $pledgeID);
+    $this->callAPISuccess('pledge', 'delete', $pledgeID);
   }
 
 }
index 804235483c7a566070317569eae3866083f4e2af..a1bde71fcf572c17ff9355965551c4071d5e76b8 100644 (file)
@@ -39,10 +39,12 @@ class api_v3_PriceSetTest extends CiviUnitTestCase {
 
   public $DBResetRequired = TRUE;
 
+  /**
+   * Set up for class.
+   */
   public function setUp() {
     parent::setUp();
     $this->_params = array(
-      #     [domain_id] =>
       'name' => 'default_goat_priceset',
       'title' => 'Goat accessories',
       'is_active' => 1,
@@ -59,6 +61,7 @@ class api_v3_PriceSetTest extends CiviUnitTestCase {
   }
 
   /**
+   * Test create price set.
    */
   public function testCreatePriceSet() {
     $result = $this->callAPIAndDocument($this->_entity, 'create', $this->_params, __FUNCTION__, __FILE__);
@@ -91,12 +94,12 @@ class api_v3_PriceSetTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that no name doesn't cause failure
+   * Check that no name doesn't cause failure.
    */
   public function testCreatePriceSetNoName() {
     $params = $this->_params;
     unset($params['name']);
-    $result = $this->callAPISuccess($this->_entity, 'create', $params);
+    $this->callAPISuccess($this->_entity, 'create', $params);
   }
 
   /**
index 5208fd16fc3aeac45e126e9e79833426a2b03842..b35878ceae66fc2976d908ad43a53e97e498c4be 100644 (file)
@@ -817,7 +817,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid data with contact_b
+   * Check with valid data with contact_b.
    */
   public function testGetRelationshipWithContactB() {
     $relParams = array(
@@ -1000,6 +1000,8 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
+   * Test relationship get by membership type.
+   *
    * Checks that passing in 'contact_id_b' + a relationship type
    * will filter by relationship type for contact b
    *
index 6108fa53ed83a6f84d29f5c11411ad6343e03825..973900ca411d1cb80eb9b2d2e71964adc99a825a 100644 (file)
@@ -112,6 +112,7 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase {
   }
 
   /**
+   * Test getrows on contact summary report.
    */
   public function testReportTemplateGetRowsContactSummary() {
     $description = "Retrieve rows from a report template (optionally providing the instance_id)";
@@ -135,22 +136,30 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase {
   }
 
   /**
+   * Tet api to get rows from reports.
+   *
    * @dataProvider getReportTemplates
+   *
    * @param $reportID
+   *
    * @throws \PHPUnit_Framework_IncompleteTestError
    */
   public function testReportTemplateGetRowsAllReports($reportID) {
     if (stristr($reportID, 'has existing issues')) {
       $this->markTestIncomplete($reportID);
     }
-    $result = $this->callAPISuccess('report_template', 'getrows', array(
+    $this->callAPISuccess('report_template', 'getrows', array(
       'report_id' => $reportID,
     ));
   }
 
   /**
+   * Test get statistics.
+   *
    * @dataProvider getReportTemplates
+   *
    * @param $reportID
+   *
    * @throws \PHPUnit_Framework_IncompleteTestError
    */
   public function testReportTemplateGetStatisticsAllReports($reportID) {
@@ -167,7 +176,9 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase {
   }
 
   /**
-   * Data provider function for getting all templates, note that the function needs to
+   * Data provider function for getting all templates.
+   *
+   * Note that the function needs to
    * be static so cannot use $this->callAPISuccess
    */
   public static function getReportTemplates() {
index 2da0ca6c354f750719a75c43e5ded5abba15f744..5235bd05d40dff05da70cef250342e94852ff875 100644 (file)
@@ -79,7 +79,9 @@ class api_v3_SurveyTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test get function succeeds (this is actually largely tested in the get
+   * Test get function succeeds.
+   *
+   * This is actually largely tested in the get
    * action on create. Add extra checks for any 'special' return values or
    * behaviours
    */
@@ -101,9 +103,11 @@ class api_v3_SurveyTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test & document chained delete pattern. Note that explanation of the pattern
+   * Test & document chained delete pattern.
+   *
+   * Note that explanation of the pattern
    * is best put in the $description variable as it will then be displayed in the
-   * test generated examples. (these are to be found in the api/examples folder)
+   * test generated examples. (these are to be found in the api/examples folder).
    */
   public function testGetSurveyChainDelete() {
     $description = "demonstrates get + delete in the same call";
index 7ad04d9dd12436f8cc2359d2e3dbf4171299ab4d..8d01a2a0c50604865c9a7f2fcdca7a39d8f642e7 100644 (file)
@@ -1422,7 +1422,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
 
 
   /**
-   * Verify that HTML metacharacters provided as inputs appear consistently
+   * Verify that HTML metacharacters provided as inputs appear consistently.
    * as outputs.
    *
    * At time of writing, the encoding scheme requires (for example) that an
index ed007f94e8c4914ddc674b30acb47292d63d3b27..3dd8419dedd97abcee266e4df2a6f2a28302cd20 100644 (file)
@@ -39,6 +39,7 @@ 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.
    */
   protected function setUp() {
@@ -46,8 +47,6 @@ class api_v3_SystemTest extends CiviUnitTestCase {
     $this->useTransaction(TRUE);
   }
 
-  ///////////////// civicrm_domain_get methods
-
   /**
    * Test system flush.
    */
index fd26f3d7b554b94344a94c97e09380cc4eafd139..1f9e7b7ac6c62a62e016255dc8e999a2b07b0375 100644 (file)
@@ -105,7 +105,7 @@ class api_v3_TagTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_tag_create
+   * Test civicrm_tag_create.
    */
   public function testCreatePasstagInParams() {
     $params = array(
@@ -132,8 +132,9 @@ class api_v3_TagTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test civicrm_tag_create activity tag- success expected. Test checks that used_for is set
-   * and not over-written by default on update
+   * Test civicrm_tag_create activity tag- success expected.
+   *
+   * Test checks that used_for is set and not over-written by default on update.
    */
   public function testCreateEntitySpecificTag() {
     $params = array(
index 09eb88741f75a17c958cde947eb48071df867ad9..46d2caf419da199d0c0fa579b707310bb0049876 100644 (file)
@@ -41,6 +41,7 @@ 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.
    */
   protected function setUp() {
index 614d4b25f2b41367be87a46ad46f7eccafd489fb..e532f4b63651c72b299f7da3e5b6fd9dae303b61 100644 (file)
@@ -16,7 +16,7 @@
   /* ------------ Assertions ------------ */
 
   /**
-   * Assert "result" contains an API error
+   * Assert "result" contains an API error.
    * @param result
    */
   function assertApiError(result) {