Cleanup phpdoc comments
authorColeman Watts <coleman@civicrm.org>
Mon, 1 Dec 2014 22:00:35 +0000 (17:00 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 1 Dec 2014 23:30:45 +0000 (18:30 -0500)
960 files changed:
CRM/ACL/API.php
CRM/ACL/BAO/ACL.php
CRM/ACL/BAO/Cache.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/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/Controller.php
CRM/Activity/Import/Field.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/Admin/Form/ContactType.php
CRM/Admin/Form/Extensions.php
CRM/Admin/Form/MailSettings.php
CRM/Admin/Form/Options.php
CRM/Admin/Form/PaymentProcessor.php
CRM/Admin/Form/Preferences/Contribute.php
CRM/Admin/Form/PreferencesDate.php
CRM/Admin/Form/ScheduleReminders.php
CRM/Admin/Form/Setting/Component.php
CRM/Admin/Form/Setting/Mapping.php
CRM/Admin/Form/Setting/Miscellaneous.php
CRM/Admin/Form/Setting/Smtp.php
CRM/Admin/Form/WordReplacements.php
CRM/Admin/Page/AJAX.php
CRM/Admin/Page/Extensions.php
CRM/Admin/Page/MessageTemplates.php
CRM/Admin/Page/Tag.php
CRM/Badge/BAO/Badge.php
CRM/Badge/BAO/Layout.php
CRM/Batch/BAO/Batch.php
CRM/Batch/Form/Entry.php
CRM/Batch/Page/Batch.php
CRM/Bridge/OG/CiviCRM.php
CRM/Bridge/OG/Drupal.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/Campaign.php
CRM/Campaign/Form/Gotv.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/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/Page/Petition/Confirm.php
CRM/Campaign/Page/SurveyType.php
CRM/Campaign/Selector/Search.php
CRM/Campaign/StateMachine/Search.php
CRM/Campaign/Task.php
CRM/Case/Audit/Audit.php
CRM/Case/Audit/AuditConfig.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.php
CRM/Case/Form/Activity/ChangeCaseStartDate.php
CRM/Case/Form/Activity/ChangeCaseStatus.php
CRM/Case/Form/Activity/ChangeCaseType.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/Page/AJAX.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/GroupNestingCache.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/Query/Interface.php
CRM/Contact/BAO/Relationship.php
CRM/Contact/BAO/RelationshipType.php
CRM/Contact/BAO/SavedSearch.php
CRM/Contact/BAO/SearchCustom.php
CRM/Contact/BAO/SubscriptionHistory.php
CRM/Contact/Controller/Search.php
CRM/Contact/DAO/Factory.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/Household.php
CRM/Contact/Form/Edit/Individual.php
CRM/Contact/Form/Edit/Lock.php
CRM/Contact/Form/Edit/Organization.php
CRM/Contact/Form/Edit/TagsAndGroups.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/Criteria.php
CRM/Contact/Form/Search/Custom/Basic.php
CRM/Contact/Form/Search/Custom/FullText/Contribution.php
CRM/Contact/Form/Search/Custom/FullText/Membership.php
CRM/Contact/Form/Search/Custom/FullText/Participant.php
CRM/Contact/Form/Search/Custom/PriceSet.php
CRM/Contact/Form/Task.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/Field.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/ImportJob.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/DedupeRules.php
CRM/Contact/Page/SavedSearch.php
CRM/Contact/Page/Task.php
CRM/Contact/Page/View.php
CRM/Contact/Page/View/CustomData.php
CRM/Contact/Page/View/GroupContact.php
CRM/Contact/Page/View/Note.php
CRM/Contact/Page/View/Relationship.php
CRM/Contact/Page/View/UserDashBoard.php
CRM/Contact/Selector.php
CRM/Contact/Selector/Controller.php
CRM/Contact/Selector/Custom.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/Controller/Contribution.php
CRM/Contribute/Controller/ContributionPage.php
CRM/Contribute/Controller/Search.php
CRM/Contribute/Form/AbstractEditPayment.php
CRM/Contribute/Form/AdditionalInfo.php
CRM/Contribute/Form/AdditionalPayment.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/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/Field.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/Page/ContributionPage.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/Contribute/Task.php
CRM/Core/Action.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/CustomQuery.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/File.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/SchemaHandler.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/Specification.php
CRM/Core/Component.php
CRM/Core/Config.php
CRM/Core/Config/Defaults.php
CRM/Core/Config/Variables.php
CRM/Core/Controller.php
CRM/Core/Controller/Simple.php
CRM/Core/DAO.php
CRM/Core/DAO/Factory.php
CRM/Core/Error.php
CRM/Core/Form.php
CRM/Core/Form/Date.php
CRM/Core/Form/RecurringEntity.php
CRM/Core/Form/Renderer.php
CRM/Core/Form/Search.php
CRM/Core/Form/Tag.php
CRM/Core/IDS.php
CRM/Core/JobManager.php
CRM/Core/Menu.php
CRM/Core/Module.php
CRM/Core/OptionGroup.php
CRM/Core/OptionValue.php
CRM/Core/Page.php
CRM/Core/Page/AJAX.php
CRM/Core/Page/Basic.php
CRM/Core/Payment.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/PaymentExpressUtils.php
CRM/Core/Payment/Realex.php
CRM/Core/Payment/eWAY.php
CRM/Core/Permission.php
CRM/Core/Permission/Base.php
CRM/Core/Permission/Drupal.php
CRM/Core/Permission/Drupal6.php
CRM/Core/Permission/DrupalBase.php
CRM/Core/Permission/Joomla.php
CRM/Core/Permission/Soap.php
CRM/Core/Permission/UnitTests.php
CRM/Core/Permission/WordPress.php
CRM/Core/PseudoConstant.php
CRM/Core/QuickForm/Action.php
CRM/Core/QuickForm/Action/Back.php
CRM/Core/QuickForm/Action/Cancel.php
CRM/Core/QuickForm/Action/Display.php
CRM/Core/QuickForm/Action/Done.php
CRM/Core/QuickForm/Action/Jump.php
CRM/Core/QuickForm/Action/Next.php
CRM/Core/QuickForm/Action/Process.php
CRM/Core/QuickForm/Action/Refresh.php
CRM/Core/QuickForm/Action/Reload.php
CRM/Core/QuickForm/Action/Submit.php
CRM/Core/QuickForm/Action/Upload.php
CRM/Core/Region.php
CRM/Core/Report/Excel.php
CRM/Core/SelectValues.php
CRM/Core/Selector/API.php
CRM/Core/Selector/Base.php
CRM/Core/Selector/Controller.php
CRM/Core/Session.php
CRM/Core/ShowHideBlocks.php
CRM/Core/Smarty.php
CRM/Core/Smarty/resources/String.php
CRM/Core/State.php
CRM/Core/StateMachine.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/Controller.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/Custom/Page/Option.php
CRM/Dedupe/BAO/Rule.php
CRM/Dedupe/BAO/RuleGroup.php
CRM/Dedupe/Merger.php
CRM/Event/BAO/Event.php
CRM/Event/BAO/Participant.php
CRM/Event/BAO/ParticipantStatusType.php
CRM/Event/BAO/Query.php
CRM/Event/Badge.php
CRM/Event/Cart/BAO/Cart.php
CRM/Event/Cart/BAO/Conference.php
CRM/Event/Cart/BAO/EventInCart.php
CRM/Event/Cart/BAO/MerParticipant.php
CRM/Event/Cart/Form/Cart.php
CRM/Event/Cart/Form/MerParticipant.php
CRM/Event/Controller/Registration.php
CRM/Event/Controller/Search.php
CRM/Event/Form/EventFees.php
CRM/Event/Form/ManageEvent.php
CRM/Event/Form/ManageEvent/Delete.php
CRM/Event/Form/ManageEvent/EventInfo.php
CRM/Event/Form/ManageEvent/Fee.php
CRM/Event/Form/ManageEvent/Location.php
CRM/Event/Form/ManageEvent/Registration.php
CRM/Event/Form/ManageEvent/ScheduleReminders.php
CRM/Event/Form/Participant.php
CRM/Event/Form/ParticipantView.php
CRM/Event/Form/Registration.php
CRM/Event/Form/Registration/AdditionalParticipant.php
CRM/Event/Form/Registration/Confirm.php
CRM/Event/Form/Registration/ParticipantConfirm.php
CRM/Event/Form/Registration/Register.php
CRM/Event/Form/Registration/ThankYou.php
CRM/Event/Form/Search.php
CRM/Event/Form/Task.php
CRM/Event/Form/Task/AddToGroup.php
CRM/Event/Form/Task/Badge.php
CRM/Event/Form/Task/Batch.php
CRM/Event/Form/Task/Cancel.php
CRM/Event/Form/Task/Delete.php
CRM/Event/Form/Task/Email.php
CRM/Event/Form/Task/PickProfile.php
CRM/Event/Form/Task/Print.php
CRM/Event/Form/Task/Result.php
CRM/Event/Form/Task/SaveSearch.php
CRM/Event/Form/Task/SaveSearch/Update.php
CRM/Event/Form/Task/SearchTaskHookSample.php
CRM/Event/Import/Controller.php
CRM/Event/Import/Field.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/Page/AJAX.php
CRM/Event/Page/ManageEvent.php
CRM/Event/Page/ParticipantListing/NameStatusAndDate.php
CRM/Event/Page/ParticipantListing/Simple.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/Manager/Module.php
CRM/Extension/Manager/Payment.php
CRM/Extension/Mapper.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/Export.php
CRM/Financial/Form/FinancialAccount.php
CRM/Financial/Form/FinancialBatch.php
CRM/Financial/Form/FinancialTypeAccount.php
CRM/Financial/Page/Batch.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/Page/Tab.php
CRM/Grant/Selector/Search.php
CRM/Grant/StateMachine/Search.php
CRM/Grant/Task.php
CRM/Group/Controller.php
CRM/Group/Form/Edit.php
CRM/Group/Page/Group.php
CRM/Group/StateMachine.php
CRM/Import/DataSource.php
CRM/Import/DataSource/CSV.php
CRM/Import/DataSource/SQL.php
CRM/Import/Form/MapField.php
CRM/Import/Parser.php
CRM/Logging/Differ.php
CRM/Logging/ReportSummary.php
CRM/Logging/Reverter.php
CRM/Mailing/BAO/BouncePattern.php
CRM/Mailing/BAO/Component.php
CRM/Mailing/BAO/Mailing.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/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/Component.php
CRM/Mailing/Form/Group.php
CRM/Mailing/Form/Schedule.php
CRM/Mailing/Form/Settings.php
CRM/Mailing/Form/Task.php
CRM/Mailing/Form/Task/Print.php
CRM/Mailing/Form/Test.php
CRM/Mailing/Form/Upload.php
CRM/Mailing/Page/AJAX.php
CRM/Mailing/Page/Browse.php
CRM/Mailing/Page/Event.php
CRM/Mailing/Page/Preview.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/BAO/Query.php
CRM/Member/Controller/Search.php
CRM/Member/Form.php
CRM/Member/Form/Membership.php
CRM/Member/Form/MembershipBlock.php
CRM/Member/Form/MembershipRenewal.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/Controller.php
CRM/Member/Import/Field.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/Page/AJAX.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/Member/Task.php
CRM/PCP/BAO/PCP.php
CRM/PCP/Controller/PCP.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/Page/AJAX.php
CRM/Pledge/Selector/Search.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/View.php
CRM/Profile/Selector/Listings.php
CRM/Report/BAO/Hook.php
CRM/Report/BAO/ReportInstance.php
CRM/Report/Form.php
CRM/Report/Form/Activity.php
CRM/Report/Form/Case/Demographics.php
CRM/Report/Form/Contribute/TopDonor.php
CRM/Report/Form/Event/ParticipantListing.php
CRM/Report/Form/Extended.php
CRM/Report/Form/Pledge/Detail.php
CRM/Report/Page/Instance.php
CRM/Report/Page/InstanceList.php
CRM/Report/Page/List.php
CRM/Report/Page/Options.php
CRM/Report/Page/Report.php
CRM/Report/Page/TemplateList.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/Provider.php
CRM/SMS/StateMachine/Send.php
CRM/UF/Form/AbstractPreview.php
CRM/UF/Form/Field.php
CRM/UF/Form/Group.php
CRM/UF/Form/Inline/Preview.php
CRM/UF/Form/Inline/PreviewById.php
CRM/UF/Form/Preview.php
CRM/UF/Page/Field.php
CRM/UF/Page/Group.php
CRM/Upgrade/Controller.php
CRM/Upgrade/Form.php
CRM/Upgrade/Incremental/php/FourFour.php
CRM/Upgrade/Incremental/php/FourThree.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/Address.php
CRM/Utils/Cache.php
CRM/Utils/Check/Message.php
CRM/Utils/Date.php
CRM/Utils/DeprecatedUtils.php
CRM/Utils/FakeObject.php
CRM/Utils/File.php
CRM/Utils/Geocode/Google.php
CRM/Utils/Geocode/Yahoo.php
CRM/Utils/Hook.php
CRM/Utils/JSON.php
CRM/Utils/Mail.php
CRM/Utils/Mail/Incoming.php
CRM/Utils/Migrate/Export.php
CRM/Utils/Migrate/ExportJSON.php
CRM/Utils/Migrate/ImportJSON.php
CRM/Utils/Money.php
CRM/Utils/OpenFlashChart.php
CRM/Utils/PDF/Label.php
CRM/Utils/PDF/Utils.php
CRM/Utils/Pager.php
CRM/Utils/PagerAToZ.php
CRM/Utils/ReCAPTCHA.php
CRM/Utils/Recent.php
CRM/Utils/Request.php
CRM/Utils/Rule.php
CRM/Utils/SQL/Insert.php
CRM/Utils/Sort.php
CRM/Utils/String.php
CRM/Utils/Sunlight.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/UnitTests.php
CRM/Utils/System/WordPress.php
CRM/Utils/Time.php
CRM/Utils/Token.php
CRM/Utils/Tree.php
CRM/Utils/Weight.php
api/class.api.php
api/v3/Address.php
api/v3/Contact.php
api/v3/Event.php
api/v3/MailingContact.php
api/v3/Membership.php
api/v3/MembershipStatus.php
api/v3/PledgePayment.php
api/v3/Profile.php
api/v3/utils.php
install/civicrm.php
install/index.php
tests/extensions/test.extension.manager.paymenttest/main.php
tests/phpunit/CRM/Activity/BAO/ActivityTest.php
tests/phpunit/CRM/Batch/Form/EntryTest.php
tests/phpunit/CRM/Contact/BAO/ContactTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php
tests/phpunit/CRM/Contact/BAO/GroupContactTest.php
tests/phpunit/CRM/Contact/BAO/GroupTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionRecurTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php
tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php
tests/phpunit/CRM/Core/BAO/AddressTest.php
tests/phpunit/CRM/Core/BAO/CustomGroupTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php
tests/phpunit/CRM/Core/BAO/EmailTest.php
tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php
tests/phpunit/CRM/Core/BAO/IMTest.php
tests/phpunit/CRM/Core/BAO/LocationTest.php
tests/phpunit/CRM/Core/BAO/OpenIDTest.php
tests/phpunit/CRM/Core/BAO/PhoneTest.php
tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php
tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php
tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php
tests/phpunit/CRM/Core/PaymentTest.php
tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php
tests/phpunit/CRM/Event/BAO/ParticipantTest.php
tests/phpunit/CRM/Extension/Manager/ModuleTest.php
tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php
tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php
tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php
tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php
tests/phpunit/CRM/Financial/BAO/PaymentProcessorTypeTest.php
tests/phpunit/CRM/Group/Page/AjaxTest.php
tests/phpunit/CRM/Member/BAO/MembershipTest.php
tests/phpunit/CRM/PCP/BAO/PCPTest.php
tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php
tests/phpunit/CRM/Utils/API/ReloadOptionTest.php
tests/phpunit/CRM/Utils/MailTest.php
tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php
tests/phpunit/CRM/Utils/ZipTest.php
tests/phpunit/Civi/API/RequestTest.php
tests/phpunit/CiviTest/CiviReportTestCase.php
tests/phpunit/CiviTest/CiviSeleniumTestCase.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/CiviTest/Contact.php
tests/phpunit/CiviTest/ContributionPage.php
tests/phpunit/CiviTest/Event.php
tests/phpunit/CiviTest/Participant.php
tests/phpunit/WebTest/Admin/MoveCustomDataTest.php
tests/phpunit/WebTest/Campaign/ActivityTest.php
tests/phpunit/WebTest/Campaign/MailingTest.php
tests/phpunit/WebTest/Campaign/MembershipTest.php
tests/phpunit/WebTest/Campaign/OfflineContributionTest.php
tests/phpunit/WebTest/Campaign/OfflineEventRegistrationTest.php
tests/phpunit/WebTest/Campaign/OnlineContributionTest.php
tests/phpunit/WebTest/Campaign/OnlineEventRegistrationTest.php
tests/phpunit/WebTest/Campaign/PledgeTest.php
tests/phpunit/WebTest/Case/ActivityToCaseTest.php
tests/phpunit/WebTest/Case/AddCaseTest.php
tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php
tests/phpunit/WebTest/Contact/AdvanceSearchPrivacyOptionsTest.php
tests/phpunit/WebTest/Contact/AdvancedSearchTest.php
tests/phpunit/WebTest/Contact/AdvancedSearchedRelatedContactTest.php
tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php
tests/phpunit/WebTest/Contact/DeceasedContactsAdvancedSearchTest.php
tests/phpunit/WebTest/Contact/GroupAddTest.php
tests/phpunit/WebTest/Contact/MergeContactsTest.php
tests/phpunit/WebTest/Contact/ProfileChecksumTest.php
tests/phpunit/WebTest/Contact/SearchBuilderTest.php
tests/phpunit/WebTest/Contribute/AddPricesetTest.php
tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php
tests/phpunit/WebTest/Contribute/OfflineContributionTest.php
tests/phpunit/WebTest/Contribute/OnBehalfOfOrganization.php
tests/phpunit/WebTest/Contribute/OnlineContributionTest.php
tests/phpunit/WebTest/Contribute/UpdateBatchPendingContributionTest.php
tests/phpunit/WebTest/Contribute/UpdateContributionTest.php
tests/phpunit/WebTest/Contribute/VerifySSLContributionTest.php
tests/phpunit/WebTest/Event/AddEventTest.php
tests/phpunit/WebTest/Event/AddParticipationTest.php
tests/phpunit/WebTest/Event/AddPricesetTest.php
tests/phpunit/WebTest/Event/AdditionalPaymentTest.php
tests/phpunit/WebTest/Event/ChangeParticipantStatus.php
tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php
tests/phpunit/WebTest/Event/MultiprofileEventTest.php
tests/phpunit/WebTest/Event/PCPAddTest.php
tests/phpunit/WebTest/Event/ParticipantCountTest.php
tests/phpunit/WebTest/Export/ContactTest.php
tests/phpunit/WebTest/Export/ExportCiviSeleniumTestCase.php
tests/phpunit/WebTest/Financial/FinancialBatchExport.php
tests/phpunit/WebTest/Generic/CheckDashboardTest.php
tests/phpunit/WebTest/Import/AddressImportTest.php
tests/phpunit/WebTest/Import/AddressParsingTest.php
tests/phpunit/WebTest/Import/ContactCustomDataTest.php
tests/phpunit/WebTest/Import/CustomDataTest.php
tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php
tests/phpunit/WebTest/Import/MatchExternalIdTest.php
tests/phpunit/WebTest/Import/SavedMappingTest.php
tests/phpunit/WebTest/Member/BatchUpdateViaProfileTest.php
tests/phpunit/WebTest/Member/DefaultMembershipPricesetTest.php
tests/phpunit/WebTest/Member/OfflineMembershipAddPricesetTest.php
tests/phpunit/WebTest/Member/OnlineMembershipAddPricesetTest.php
tests/phpunit/WebTest/Member/OnlineMembershipCreateTest.php
tests/phpunit/WebTest/Member/SeperateMembershipPaymentTest.php
tests/phpunit/WebTest/Profile/MultiRecordProfileAddTest.php
tests/phpunit/WebTest/Report/RolePermissionReportTest.php
tests/phpunit/api/v3/ACLPermissionTest.php
tests/phpunit/api/v3/APIStandardsTest.php
tests/phpunit/api/v3/APITest.php
tests/phpunit/api/v3/ActionScheduleTest.php
tests/phpunit/api/v3/ActivityTest.php
tests/phpunit/api/v3/AddressTest.php
tests/phpunit/api/v3/CaseTest.php
tests/phpunit/api/v3/CaseTypeTest.php
tests/phpunit/api/v3/ContactTest.php
tests/phpunit/api/v3/ContactTypeTest.php
tests/phpunit/api/v3/ContributionPageTest.php
tests/phpunit/api/v3/ContributionSoftTest.php
tests/phpunit/api/v3/ContributionTest.php
tests/phpunit/api/v3/CustomFieldTest.php
tests/phpunit/api/v3/CustomGroupTest.php
tests/phpunit/api/v3/DashboardTest.php
tests/phpunit/api/v3/EventTest.php
tests/phpunit/api/v3/GroupOrganizationTest.php
tests/phpunit/api/v3/JobTest.php
tests/phpunit/api/v3/MembershipTest.php
tests/phpunit/api/v3/MessageTemplateTest.php
tests/phpunit/api/v3/NoteTest.php
tests/phpunit/api/v3/OptionGroupTest.php
tests/phpunit/api/v3/OptionValueTest.php
tests/phpunit/api/v3/ParticipantPaymentTest.php
tests/phpunit/api/v3/ParticipantTest.php
tests/phpunit/api/v3/PaymentProcessorTest.php
tests/phpunit/api/v3/PaymentProcessorTypeTest.php
tests/phpunit/api/v3/PledgePaymentTest.php
tests/phpunit/api/v3/PledgeTest.php
tests/phpunit/api/v3/ProfileTest.php
tests/phpunit/api/v3/RelationshipTest.php
tests/phpunit/api/v3/RelationshipTypeTest.php
tests/phpunit/api/v3/SettingTest.php
tests/phpunit/api/v3/SurveyTest.php
tests/phpunit/api/v3/SyntaxConformanceTest.php
tests/phpunit/api/v3/TagTest.php
tests/phpunit/api/v3/TaxContributionPageTest.php
tests/phpunit/api/v3/UFFieldTest.php
tests/phpunit/api/v3/UFGroupTest.php
tests/phpunit/api/v3/UFJoinTest.php
tests/phpunit/api/v3/UFMatchTest.php

index bd3e6574f84464b88bd714cb4a05a46e28dd60e9..3c01be48c60aac6ef0e030316c9b5c135f3b8e00 100644 (file)
@@ -47,7 +47,7 @@ class CRM_ACL_API {
   CONST ALL = 6;
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str       the permission to check
    * @param int    $contactID the contactID for whom the check is made
@@ -135,7 +135,7 @@ class CRM_ACL_API {
   }
 
   /**
-   * get all the groups the user has access to for the given operation
+   * Get all the groups the user has access to for the given operation
    *
    * @param int $type the type of permission needed
    * @param int $contactID the contactID for whom the check is made
@@ -168,10 +168,10 @@ class CRM_ACL_API {
   }
 
   /**
-   * check if the user has access to this group for operation $type
+   * Check if the user has access to this group for operation $type
    *
    * @param int $type the type of permission needed
-   * @param $groupID
+   * @param int $groupID
    * @param int $contactID the contactID for whom the check is made
    *
    * @param string $tableName
index 78c044c93e45022579d832733192a329d5fbd325..0512b1aee075cb19785b7d6f6c6b9c4f7ae55726 100644 (file)
@@ -674,7 +674,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -691,7 +691,7 @@ SELECT $acl.*
 
   /**
    * @param $str
-   * @param $contactID
+   * @param int $contactID
    *
    * @return bool
    */
@@ -725,7 +725,7 @@ SELECT count( a.id )
    * @param $type
    * @param $tables
    * @param $whereTables
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return null|string
    */
@@ -847,7 +847,7 @@ SELECT g.*
 
   /**
    * @param int $type
-   * @param null $contactID
+   * @param int $contactID
    * @param string $tableName
    * @param null $allGroups
    * @param null $includedGroups
@@ -963,7 +963,7 @@ ORDER BY a.object_id
   }
 
   /**
-   * delete ACL records
+   * Delete ACL records
    *
    * @param  int  $aclId     ID of the ACL record to be deleted.
    *
index e34265969bb48b3c4f13472fa544567217e1ceab..c3ba69de93c6e76da17a7cd1a1820076e7ea9450 100644 (file)
@@ -41,7 +41,7 @@ class CRM_ACL_BAO_Cache extends CRM_ACL_DAO_Cache {
   static $_cache = NULL;
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return mixed
    */
@@ -67,7 +67,7 @@ class CRM_ACL_BAO_Cache extends CRM_ACL_DAO_Cache {
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return array
    */
@@ -93,8 +93,8 @@ SELECT acl_id
   }
 
   /**
-   * @param $id
-   * @param $cache
+   * @param int $id
+   * @param array $cache
    */
   static function store($id, &$cache) {
     foreach ($cache as $aclID => $data) {
@@ -111,7 +111,7 @@ SELECT acl_id
   }
 
   /**
-   * @param $id
+   * @param int $id
    */
   static function deleteEntry($id) {
     if (self::$_cache &&
@@ -129,7 +129,7 @@ WHERE contact_id = %1
   }
 
   /**
-   * @param $id
+   * @param int $id
    */
   static function updateEntry($id) {
     // rebuilds civicrm_acl_cache
index 261c65b7dcb80a6de88be5fb716eb1dc0f2cfce5..af823a1a918cacb219adedff186ce97538c07abf 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
    * @param boolean  $is_active value we want to set the is_active field
@@ -86,7 +86,7 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
   }
 
   /**
-   * delete Entity Role records
+   * Delete Entity Role records
    *
    * @param  int  $entityRoleId ID of the EntityRole record to be deleted.
    *
index c22465c295bac25eba552bfde4f43f33d0cac496..ae1629f98bca67cc8a3c49dcd8108105ac8057b5 100644 (file)
@@ -40,7 +40,7 @@
 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
@@ -48,7 +48,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
   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
    * @static
@@ -76,7 +76,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
    * @param array $params (reference ) an assoc array of name/value pairs
    * @param array $defaults (reference ) an assoc array to hold the flattened values
    *
-   * @return CRM_Core_BAO_Meeting object
+   * @return CRM_Activity_DAO_Activity object
    * @access public
    */
   public static function retrieve(&$params, &$defaults) {
@@ -140,7 +140,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
   }
 
   /**
-   * delete the activity
+   * Delete the activity
    *
    * @param array $params associated array
    * @param bool $moveToTrash
@@ -250,7 +250,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
    * Delete activity assignment record
    *
    * @param int $activityId
-   * @param null $recordTypeID
+   * @param int $recordTypeID
    *
    * @return null
    * @access public
@@ -265,7 +265,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
   }
 
   /**
-   * process the activities
+   * Process the activities
    *
    * @param array $params associated array of the submitted values
    *
@@ -643,7 +643,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
   }
 
   /**
-   * get the list Activities
+   * Get the list Activities
    *
    * @param array   $input            array of parameters
    *    Keys include
@@ -935,7 +935,7 @@ ORDER BY    fixed_sort_order
   }
 
   /**
-   * get the activity Count
+   * Get the activity Count
    *
    * @param array   $input            array of parameters
    *    Keys include
@@ -971,7 +971,7 @@ LEFT JOIN   civicrm_case_activity ON ( civicrm_case_activity.activity_id = tbl.a
   }
 
   /**
-   * function to get the activity sql clause to pick activities
+   * Get the activity sql clause to pick activities
    *
    * @param array   $input            array of parameters
    *    Keys include
@@ -1151,7 +1151,7 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
   }
 
   /**
-   * send the message to all the contacts and also insert a
+   * Send the message to all the contacts and also insert a
    * contact activity in each contacts record
    *
    * @param array $contactDetails the array of contact details to send the email
@@ -1355,11 +1355,11 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
   }
 
   /**
-   * @param $contactDetails
-   * @param $activityParams
+   * @param array $contactDetails
+   * @param array $activityParams
    * @param array $smsParams
    * @param $contactIds
-   * @param null $userID
+   * @param int $userID
    *
    * @return array
    * @throws CRM_Core_Exception
@@ -1498,14 +1498,14 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
   }
 
   /**
-   * send the sms message to a specific contact
+   * Send the sms message to a specific contact
    *
    * @param int $toID the contact id of the recipient
    * @param $tokenText
    * @param $tokenHtml
    * @param array $smsParams the params used for sending sms
    * @param int $activityID the activity ID that tracks the message
-   * @param null $userID
+   * @param int $userID
    *
    * @return mixed                    true on success or PEAR_Error object
    * @access public
@@ -1573,10 +1573,10 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
   }
 
   /**
-   * send the message to a specific contact
+   * Send the message to a specific contact
    *
    * @param string $from the name and email of the sender
-   * @param $fromID
+   * @param int $fromID
    * @param int $toID the contact id of the recipient
    * @param string $subject the subject of the message
    * @param $text_message
@@ -1651,7 +1651,7 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
   }
 
   /**
-   * 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
@@ -1782,7 +1782,7 @@ WHERE      activity.id IN ($activityIds)";
   }
 
   /**
-   * Function to add activity for Membership/Event/Contribution
+   * Add activity for Membership/Event/Contribution
    *
    * @param object $activity (reference) particular component object
    * @param string $activityType for Membership Signup or Renewal
@@ -2014,11 +2014,11 @@ AND cl.modified_id  = c.id
   }
 
   /**
-   * Function to find the latest revision of a given activity
+   * Find the latest revision of a given activity
    *
-   * @param $activityID  prior activity id
+   * @param int $activityID  prior activity id
    *
-   * @return int $params  current activity id.
+   * @return int current activity id.
    * @access public
    */
   static function getLatestActivityId($activityID) {
@@ -2046,7 +2046,7 @@ AND cl.modified_id  = c.id
   }
 
   /**
-   * Function to create a follow up a given activity
+   * Create a follow up a given activity
    *
    * @param $activityId int activity id of parent activity
    * @param array $params
@@ -2086,7 +2086,7 @@ AND cl.modified_id  = c.id
   }
 
   /**
-   * Function to get Activity specific File according activity type Id.
+   * Get Activity specific File according activity type Id.
    *
    * @param int $activityTypeId activity id
    * @param string $crmDir
@@ -2120,7 +2120,7 @@ AND cl.modified_id  = c.id
   }
 
   /**
-   * Function to restore the activity
+   * Restore the activity
    *
    * @param array  $params  associated array
    *
@@ -2620,8 +2620,8 @@ INNER JOIN  civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n
   }
 
   /**
-   * @param $activityId
-   * @param null $recordTypeID
+   * @param int $activityId
+   * @param int $recordTypeID
    * @param string $column
    *
    * @return null
@@ -2639,7 +2639,7 @@ INNER JOIN  civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n
   }
 
   /**
-   * @param $activityId
+   * @param int $activityId
    *
    * @return null
    */
index 47dc534d1ed0ace760d4c0454cc13940da134fde..2b596029361069eb852ffb23e45f23f1c5d6372d 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityContact {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index 95e86985bb4edbfbd785e474f05d2b458e163cfd..752f442c7aae3412f2f710b0f136ca29c2e0eeef 100644 (file)
 class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * funtion to add activity contact
+   * Funtion to add activity contact
    *
    * @param array  $params      the values for this table: activity id, contact id, record type
    *
@@ -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
@@ -107,10 +107,10 @@ AND        contact_a.is_deleted = 0
   }
 
   /**
-   * retrieve id of target contact by activity_id
+   * Retrieve id of target contact by activity_id
    *
-   * @param $activityID
-   * @param $recordTypeID
+   * @param int $activityID
+   * @param int $recordTypeID
    *
    * @return mixed
    *
index 3b3650848c27d626dd48944a89c2e92b8404c786..756f557b5d033f922b22bd8cde832508cbc9ac3a 100644 (file)
 class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
    *
@@ -98,7 +98,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 2fde084f5524d6dfa1001b1d3a3ba1ba1a66887d..299f79bcbf1f9e5edfbba214509ca87b864d8ccc 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Activity_BAO_Query {
 
   /**
-   * build select for Case
+   * Build select for Case
    *
    * @param $query
    *
@@ -183,7 +183,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * where clause for a single field
+   * Where clause for a single field
    *
    * @param $values
    * @param $query
@@ -395,7 +395,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -452,7 +452,7 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * getter for the qill object
+   * Getter for the qill object
    *
    * @return string
    * @access public
@@ -462,11 +462,11 @@ class CRM_Activity_BAO_Query {
   }
 
   /**
-   * add all the elements shared between case activity search  and advanaced search
+   * Add all the elements shared between case activity search and advanced search
    *
    * @access public
    *
-   * @param $form CRM_Core_Form
+   * @param CRM_Core_Form $form
    * @return void
    * @static
    */
index d0a91296613b2fe2f66bbfbf76a132eb5f4d1032..4750de66dc7b9f2279a0687fafba0daa49bc5e57 100644 (file)
@@ -46,7 +46,7 @@
 class CRM_Activity_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $modal = TRUE, $action = CRM_Core_Action::NONE) {
 
index bb4df1c47b67eca95d172d0ff9ddb5b9b5dd7e39..d54db9a19989fbe671f43811d7351630ea6c420c 100644 (file)
@@ -47,7 +47,7 @@ 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
    */
@@ -816,7 +816,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
@@ -867,8 +867,8 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
    *
    * @access public
    *
-   * @param null $params
-   * @return void
+   * @param array $params
+   * @return array|null
    */
   public function postProcess($params = NULL) {
     if ($this->_action & CRM_Core_Action::DELETE) {
@@ -1165,9 +1165,10 @@ 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
    */
   function beginPostProcess(&$params) {
     if ($this->_activityTypeFile) {
@@ -1177,14 +1178,16 @@ 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, after the activity has been added/updated
    *
+   * @param array $params
+   * @param $activity
    */
   function endPostProcess(&$params, &$activity) {
     if ($this->_activityTypeFile) {
       $className = "CRM_{$this->_crmDir}_Form_Activity_{$this->_activityTypeFile}";
-      $className::endPostProcess($this, $params, $activity );
+      $className::endPostProcess($this, $params, $activity);
     }
   }
 }
index ccbc7f3ff38d0381304d137b3233e778ce7da80b..9e61ed624363498ae82d88b28dfaab13fcc0c144 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
    * @access public
index bbbb39b903addceca5309b61a3e977a7339457a1..ee667b27dc34929c25f5045f8c2870a3aaa96943 100644 (file)
@@ -42,7 +42,7 @@
 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
    * @access protected
@@ -50,7 +50,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -58,7 +58,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -66,7 +66,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
   protected $_limit = NULL;
 
   /**
-   * prefix for the controller
+   * Prefix for the controller
    *
    */
   protected $_prefix = "activity_";
@@ -74,7 +74,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * the saved search ID retrieved from the GET vars
+   * The saved search ID retrieved from the GET vars
    *
    * @var int
    * @access protected
@@ -82,7 +82,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
   protected $_ssID;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index 8b7ac12628b4bfcacd6ea6304533c120b334ba98..4f9205cea20a2a65500b86380b29e7429f234339 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -75,7 +75,7 @@ class CRM_Activity_Form_Task extends CRM_Core_Form {
   public $_activityHolderIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -172,7 +172,7 @@ WHERE  activity_id IN ( $IDs ) AND
   }
 
   /**
-   * 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 title of the main button
index a4bf17e540c0a620282a5431415a04816fa10e1e..20d8ef7b7df88e29563edda13547b6d8c05a43e8 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
    */
@@ -95,7 +95,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
    *
    * @access public
    *
index e40ef97405b5bfb07f3ca9b9d7f6b76e49f7b1c7..9fa3a93d0ed823adc962c06296e7239c7e7e7596 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
    * @access public
@@ -224,7 +224,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
    *
    * @access public
    *
index a7f476c9f38fa432531f9662609ae5b11ab0e650..bbd4d6540b9b065ee713d3e546c588c120d4512e 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
    * @access public
@@ -70,7 +70,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
    *
    * @access public
    *
index 8a435c6185d6340dccba8faaa27bf9d061c5579c..feaecd63fe56c9bdc374861ff50598d1053b2428 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
    * @access public
@@ -86,7 +86,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
    *
    * @access public
    *
index e0eb1902206cb62266167f2ab8363217e9d61780..c20206b9e71eb19f45dd8db065bf19e27df1da99 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
    * @access public
@@ -93,7 +93,7 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
   function addRules() {}
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index ca57ef925898b09adf33c4efe0f7eedaa07981dc..fbda819257ed24596e4b00fc195090ad5b684f79 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
    * @access public
@@ -119,7 +119,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
    *
@@ -138,7 +138,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
    *
    * @access public
    *
index 45c3ac054a0234534a635ae377786b1f8f596e1a..ac6a2070193567d13a4a3b30dc750c51bac97750 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
    * @access public
@@ -147,7 +147,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
    *
@@ -160,7 +160,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
    *
    * @access public
    *
index 77e241e7fd7f95c192c799a4759baf1fb8443f69..846f99987619f271e0cef82b6ac474c0b3ac7a7e 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Activity_Form_Task_Print 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
    * @access public
@@ -95,7 +95,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
    *
    * @access public
    *
index 8375c7213f77aed8e64dc7605de11d76860a28c5..746984c2b3e162148d3309122a117027d5144bba 100644 (file)
 class CRM_Activity_Form_Task_RemoveFromTag 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
    */
@@ -91,7 +91,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
    *
    * @access public
    *
index 1d80011dbb644469fc115af16c09e68e26f3f7aa..f8b32a2a0b2f62c10f028bec9426c064dbbb4e37 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
    * @access public
@@ -72,7 +72,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
    *
    * @access public
    *
index c70a91f8a05118facfd3e8a057a61788b13736ba..51e049bdad0200f1da3050b5336bfc0f1792e150 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
    * @access public
index ff8030c1ec567af1ed051fd37b95b6419041c9ef..748d815f132aef7d9b407e2cddae6a46eef9f2ea 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Activity_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index 6ee8a03e8343d1c7ded5636d474eada0d99fba84..0808396e4e0b2f07682f76794c27c16f0bf0de76 100644 (file)
@@ -40,53 +40,53 @@ class CRM_Activity_Import_Field {
    */
 
   /**
-   * name of the field
+   * Name of the field
    */
   public $_name;
 
   /**
-   * title of the field to be used in display
+   * Title of the field to be used in display
    */
   public $_title;
 
   /**
-   * type of field
+   * Type of field
    * @var enum
    */
   public $_type;
 
   /**
-   * is this field required
+   * Is this field required
    * @var boolean
    */
   public $_required;
 
   /**
-   * data to be carried for use by a derived class
+   * Data to be carried for use by a derived class
    * @var object
    */
   public $_payload;
 
   /**
-   * regexp to match the CSV header of this column/field
+   * Regexp to match the CSV header of this column/field
    * @var string
    */
   public $_headerPattern;
 
   /**
-   * regexp to match the pattern of data from various column/fields
+   * Regexp to match the pattern of data from various column/fields
    * @var string
    */
   public $_dataPattern;
 
   /**
-   * value of this field
+   * Value of this field
    * @var object
    */
   public $_value;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
@@ -107,7 +107,7 @@ class CRM_Activity_Import_Field {
   }
 
   /**
-   * the value is in string format. convert the value to the type of this field
+   * The value is in string format. convert the value to the type of this field
    * and set the field value with the appropriate type
    */
   function setValue($value) {
index 6c2f6589441826e6183234551c237f01223b58b8..692887f5712233278a80df3ff59b2f46354026a5 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
    * @access public
index a25ce49ddc0f181132416e925be1926a7a1deab2..70bdfa3e6e86a8008bd671f11595b2e799968324 100644 (file)
@@ -42,7 +42,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
    * @access public
@@ -267,7 +267,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
    *
index 7679e599b08e7831c61c492f1ff96fe666d792fc..5f09d29ac36de1d644cc0c68b147f9a31274495f 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
    * @access public
index 7ed863af97fea2850ae4766a97a6edd1d51f5dca..f1aac6585a13a857cefe6be266a28f25f0609bc5 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
    * @access public
index 5143b2fa1816280959e0d81ed378330968bf5962..e2f8311fc02061c24c8aa24dc63bd3473a34de10 100644 (file)
@@ -44,29 +44,29 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
    */
 
   /**
-   * imported file size
+   * Imported file size
    */
   protected $_fileSize;
 
   /**
-   * seperator being used
+   * Seperator being used
    */
   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
    */
   protected $_haveColumnHeader;
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param string $seperator
    * @param $mapper
    * @param bool $skipColumnHeader
@@ -296,7 +296,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
    * @access public
@@ -316,7 +316,7 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
index bca07b0f93b3c4b8bad7b2abe04cbfdd9b1abcac..25aa4ab0e7116535548f50f63977d64a0a02d338 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   protected $_newActivity;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
     parent::__construct();
@@ -63,7 +63,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -128,7 +128,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
    *
@@ -140,7 +140,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
    *
@@ -152,7 +152,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
    *
@@ -234,7 +234,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
    * @param array $values the array of values belonging to this line
@@ -393,7 +393,7 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
index 555d1b7e86c01409073d10e053eddfea756616d2..576dfe91976a08ef7be52aa8974d30ec64a233f2 100644 (file)
@@ -162,7 +162,7 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page {
   }
 
   /**
-   * perform actions and display for activities.
+   * Perform actions and display for activities.
    *
    * @return void
    *
index 9429313c2d2022a8ab7930090d3e2f3f33becea4..ce5c691eb31990efc20a17f878be0ad08b9d6204 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 null
    * @access public
index d1d85bcd59983c52412eab23e76b444468502cc3..2df5ddbc62408817dff5f139ac1c3c4d535c04dc 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements CRM_Core_Selector_API {
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -48,7 +48,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   static $_columnHeaders;
 
   /**
-   * contactId - contact id of contact whose activies are displayed
+   * ContactId - contact id of contact whose activies are displayed
    *
    * @var int
    * @access protected
@@ -100,9 +100,9 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    * - View
    *
    * @param int $activityTypeId
-   * @param null $sourceRecordId
+   * @param int $sourceRecordId
    * @param bool $accessMailingReport
-   * @param null $activityId
+   * @param int $activityId
    * @param null $key
    * @param null $compContext
    *
@@ -272,7 +272,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -289,7 +289,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -338,7 +338,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 enum $action the action being performed
    * @param int $offset the row number to start from
@@ -464,7 +464,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
@@ -475,7 +475,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 $_columnHeaders
index a3aa100bc4499800ddfc8dac7d6ed8915f9449da..25afecc8be1afac782b25c1e4ab9614e75ae3a27 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -82,7 +82,7 @@ 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
    *
    * @access protected
    * @var boolean
@@ -90,7 +90,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -98,7 +98,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -106,7 +106,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   protected $_context = NULL;
 
   /**
-   * what component context are we being invoked from
+   * What component context are we being invoked from
    *
    * @access protected
    * @var string
@@ -114,7 +114,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   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
@@ -123,7 +123,7 @@ 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
    * @access protected
@@ -191,7 +191,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -224,7 +224,7 @@ class CRM_Activity_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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -366,7 +366,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -428,7 +428,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index ad14391ecdb9a711316851283d19fa8360c15d0d..d0ad88ad91a15b48120826b6c74a20b75e1d7f86 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
@@ -88,7 +88,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
    * @access public
index 032f6a92f8d382433b1e6e1de5aae69c7bbdf374..f5e6c80e6b3ecad77fd49bc5427e2d590616f4b0 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Activity_Task {
     EMAIL_SMS = 6;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -55,7 +55,7 @@ class CRM_Activity_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -164,7 +164,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
index 3862ee0ca2618bbaddd716fb90efedbb37c36e6e..cc57e8dae69dce02f65f4b361d742a738fdf8276 100644 (file)
@@ -83,7 +83,7 @@ class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    *
index 45ef29169469f64ba7855f9d91633b7c0cefb740..ffc48be1563b8df39a5d913a1be5966229513d40 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_Extensions extends CRM_Admin_Form {
 
   /**
-   * for pre-processing
+   * For pre-processing
    *
    * @return void
    * @access public
@@ -152,7 +152,7 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    * @param array $files   the uploaded files if any
index 2b4998eaadc90880af34d088a7a4044b62d4e2b3..35f7a5337edc2c1d1484261fe5ef34ec05d3c1e4 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $fields posted values of the form
    *
index 55a1a57ccae6f53ea31e67bad9b4be7088af40c0..c7085e8a160976a8b8ba67bc5c530313430b1306 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
   protected $_gLabel;
 
   /**
-   * pre-process
+   * Pre-process
    *
    * @return void
    * @access public
@@ -321,7 +321,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files  the uploaded files if any
index 9136f1c2dce88ba59641d343df15f29ae72341e5..3a67d0c9a3c6b917f11b2c2d670f0af86e5134f1 100644 (file)
@@ -367,7 +367,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
    * Save a payment processor
    *
    * @param $values
-   * @param $domainID
+   * @param int $domainID
    * @param $test
    *
    * @return Void
index b4e119c42ea536a384a3195d309d6e75250c074e..8e5eea9a507815598dd27f26d92708100a303e16 100644 (file)
@@ -114,7 +114,7 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index ad9d833b63df617afaf34e446ba460f9691d776b..3943daf0b290997855428141c57131302af73e11 100644 (file)
@@ -89,7 +89,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array  $fields posted values of the form
    *
index 56948182bd0d8ff7e6b1c72b639854227597ccff..06451c563d6fd8d717e94b0674179c5629871563 100644 (file)
@@ -235,7 +235,7 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
     $this->setPageTitle(ts('Scheduled Reminder'));
   }
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    *
index 557c0ffbf30dd54b9124a10ef58e7c07284601b8..f97da5b36d0c1518de4e5654e340987efed6f9bc 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    * @param array $files   the uploaded files if any
@@ -120,7 +120,7 @@ class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting {
 
   /**
    * @param $dsn
-   * @param $fileName
+   * @param string $fileName
    * @param bool $lineMode
    */
   public static function loadCaseSampleData($dsn, $fileName, $lineMode = FALSE) {
index c535b7c23601327d404cb5b2552c837e2109a927..ec8b6159681663e5686d00ca403a6a428b5c71ad 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    *
index b122554fb3048588902a082d28332723eec3949f..51e70f280a037d3a89cc65f85b30459ff6e13eaf 100644 (file)
@@ -117,7 +117,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    * @param array $files   the uploaded files if any
index f91079753ce6fd260723c0b6e17ed217c9dccb3c..dca16eb6cca954882467aca96b3569bd37100c77 100644 (file)
@@ -201,7 +201,7 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param   array  $fields   posted values of the form
    *
index b712c964cf3e1d73d887245a1760e64cba151ca5..518e19afdd17c5369d01a66ef4f40809b89021ed 100644 (file)
@@ -175,7 +175,7 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values posted values of the form
    *
index df315468d1e967f7c9ffcad9e047c0d5be629e64..01df5eb4491cdeb2c078741c3f35c2913a17df5d 100644 (file)
@@ -62,14 +62,14 @@ class CRM_Admin_Page_AJAX {
   }
 
   /**
-   * process drag/move action for menu tree
+   * Process drag/move action for menu tree
    */
   static function menuTree() {
     CRM_Core_BAO_Navigation::processNavigation($_GET);
   }
 
   /**
-   * build status message while
+   * Build status message while
    * enabling/ disabling various objects
    */
   static function getStatusMsg() {
index a0d74498100447483af579d26b9d5e16cdfce097..b43cc0bb0b5110a4b803e49175589e0e9304e57d 100644 (file)
@@ -268,7 +268,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * get userContext params
+   * Get userContext params
    *
    * @param int $mode mode that we are in
    *
index be4b80ca2785bfbc03b63c2664c9000be0669667..bf1935a1c2d3c761c69fb6c039f2b11d10f899ee 100644 (file)
@@ -236,7 +236,7 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   }
 
   /**
-   * browse all entities.
+   * Browse all entities.
    *
    * @return void
    * @access public
index 0214b9e5c11e00cde3d2a8a759c060f19ce3a93e..b8b3a6490d089ca9fe2055c875b3e7c3fd8846ce 100644 (file)
@@ -135,7 +135,10 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   }
 
   /**
-   * override function browse()
+   * Override function browse()
+   * 
+   * @param null $action
+   * @param null $sort
    */
   function browse($action = NULL, $sort = NULL) {
     $adminTagSet = FALSE;
index a157a7623e21131ececeda2ae8b71521df7b0793..cf0f1f97abd511ce2d461549dc14ca609d077737 100644 (file)
@@ -394,7 +394,7 @@ class CRM_Badge_BAO_Badge {
   }
 
   /**
-   * build badges parameters before actually creating badges.
+   * Build badges parameters before actually creating badges.
    *
    * @param  array $params associated array of submitted values
    * @param CRM_Core_Form $form
index 96568a01cc95d35884e184c4c0208813654edc6b..1cb5d6744c36bae9d56f6cfd520988be59354383 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -64,7 +64,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
    * @param boolean $is_active value we want to set the is_active field
@@ -79,7 +79,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * add a name label
+   * Add a name label
    *
    * @param array $params reference array contains the values submitted by the form
    *
@@ -121,7 +121,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * delete name labels
+   * Delete name labels
    *
    * @param  int $printLabelId ID of the name label to be deleted.
    *
@@ -153,7 +153,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * build layout structure
+   * Build layout structure
    *
    * @param array $params associated array of submitted values
    *
@@ -171,7 +171,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * decode encoded data and return as an array
+   * Decode encoded data and return as an array
    *
    * @param json $jsonData json object
    *
index fd91a72b3cccd25765bb9d9b55d1f3042c77f679..690eb515bcff1d85d95a745df89f4c6df738e309 100644 (file)
@@ -120,7 +120,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * generate batch name
+   * Generate batch name
    *
    * @return batch name
    * @static
@@ -132,7 +132,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * create entity batch entry
+   * Create entity batch entry
    * @param array $params associated array
    * @return batch array
    * @access public
@@ -157,7 +157,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * delete batch entry
+   * Delete batch entry
    *
    * @param int $batchId batch id
    *
@@ -410,7 +410,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * define action links
+   * Define action links
    *
    * @param null $context
    *
@@ -490,7 +490,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * get batch list
+   * Get batch list
    *
    * @return array array of all batches
    * excluding batches with data entry in progress
@@ -625,12 +625,12 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Function to retrieve financial items assigned for a batch
+   * Retrieve financial items assigned for a batch
    *
    * @param int $entityID
    * @param array $returnValues
    * @param null $notPresent
-   * @param null $params
+   * @param array $params
    * @param bool $getCount
    *
    * @return Object
@@ -763,7 +763,7 @@ WHERE  {$where}
   }
 
   /**
-   * function to get batch names
+   * Get batch names
    * @param string $batchIds
    *
    * @return array array of batches
index fd7ce29790f38d31223183c1444f7cb230147332..cb28ba4857370623bff91672d11fd1e35a8b4816 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Batch_Form_Entry extends CRM_Core_Form {
 
   /**
-   * maximum profile fields that will be displayed
+   * Maximum profile fields that will be displayed
    *
    */
   protected $_rowCount = 1;
@@ -55,7 +55,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   protected $_batchInfo = array();
 
   /**
-   * store the profile id associated with the batch type
+   * Store the profile id associated with the batch type
    */
   protected $_profileId;
 
@@ -67,7 +67,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;
 
@@ -86,7 +86,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
    */
   public $_fields = array();
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -234,7 +234,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * form validations
+   * Form validations
    *
    * @param array $params   posted values of the form
    * @param array $files    list of errors to be posted back to the form
@@ -336,7 +336,7 @@ class CRM_Batch_Form_Entry 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
    *
    * @access public
    *
@@ -372,7 +372,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * process contribution records
+   * Process contribution records
    *
    * @param array $params associated array of submitted values
    *
@@ -516,7 +516,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * process membership records
+   * Process membership records
    *
    * @param array $params associated array of submitted values
    *
@@ -758,7 +758,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * update contact information
+   * Update contact information
    *
    * @param array $value associated array of submitted values
    *
index 745ee6786a724e9706a3298f06eafccfdc5a321f..175e1e4f75bb6b59b2e71cfbefd0b5c7d48e6ce7 100644 (file)
@@ -92,7 +92,7 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * browse all entities.
+   * Browse all entities.
    *
    * @return void
    * @access public
index 384780bd938f8500d9cb39634f887b9f8da0ead5..663d27993ee894c2fdafd3b62b941acba1965e3c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Bridge_OG_CiviCRM {
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param $group
    * @param $op
    */
@@ -49,7 +49,7 @@ class CRM_Bridge_OG_CiviCRM {
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param $group
    */
   static function groupAdd($groupID, $group) {
@@ -83,7 +83,7 @@ class CRM_Bridge_OG_CiviCRM {
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param $group
    */
   static function groupDelete($groupID, $group) {
@@ -96,7 +96,7 @@ class CRM_Bridge_OG_CiviCRM {
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param $contactIDs
    * @param $op
    */
index e93358e7f41935162d7d9ec585363a1b5683ff7a..87ee7cd87533a2750c6abf20b551b0843d204f6c 100644 (file)
@@ -98,7 +98,7 @@ class CRM_Bridge_OG_Drupal {
   }
 
   /**
-   * @param $aclParams
+   * @param array $aclParams
    * @param $op
    */
   static function updateCiviACLTables($aclParams, $op) {
index 724dddb754c80fa349ed91c48c38b43b28b0cc9f..fc7b6636a29c29e3db7bc0be258cc7a089565c5a 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Bridge_OG_Utils {
   }
 
   /**
-   * @param $ogID
+   * @param int $ogID
    *
    * @return string
    */
@@ -64,7 +64,7 @@ class CRM_Bridge_OG_Utils {
   }
 
   /**
-   * @param $ogID
+   * @param int $ogID
    *
    * @return string
    */
@@ -73,7 +73,7 @@ class CRM_Bridge_OG_Utils {
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param bool $abort
    *
    * @return int|null|string
@@ -98,7 +98,7 @@ class CRM_Bridge_OG_Utils {
   }
 
   /**
-   * @param $ufID
+   * @param int $ufID
    *
    * @return int
    * @throws Exception
index de723c7f163a5db16073c5007ede7b7b1ef761cb..0cc2def09451ec71bb656b082e930b21e09998c1 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
@@ -99,7 +99,7 @@ Class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign {
   }
 
   /**
-   * delete the campaign
+   * Delete the campaign
    *
    * @param  int $id id of the campaign
    *
@@ -308,7 +308,7 @@ Order By  camp.title";
   }
 
   /**
-   * retrieve campaigns for dashboard.
+   * Retrieve campaigns for dashboard.
    *
    * @static
    */
@@ -465,7 +465,7 @@ SELECT  campaign.id               as id,
   }
 
   /**
-   * get Campaigns groups
+   * Get Campaigns groups
    *
    * @param int $campaignId campaign id
    *
@@ -499,7 +499,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -536,7 +536,7 @@ INNER JOIN  civicrm_group grp ON ( grp.id = campgrp.entity_id )
    */
   /**
    * @param CRM_Core_Form $form
-   * @param null $connectedCampaignId
+   * @param int $connectedCampaignId
    */
   public static function addCampaign(&$form, $connectedCampaignId = NULL) {
     //some forms do set default and freeze.
index e39de126c7fe7eb0e58191e399e56b5875f2e83b..3f6a46ec48e9ddb50ef51b1b3ef2a1d1757d8012 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Campaign_BAO_Petition extends CRM_Campaign_BAO_Survey {
   }
 
   /**
-   * get Petition Details for dashboard.
+   * Get Petition Details for dashboard.
    *
    * @static
    */
@@ -171,7 +171,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
    *
@@ -229,9 +229,9 @@ SELECT  petition.id                         as id,
   }
 
   /**
-   * @param $activity_id
-   * @param $contact_id
-   * @param $petition_id
+   * @param int $activity_id
+   * @param int $contact_id
+   * @param int $petition_id
    *
    * @return bool
    */
@@ -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
    *
@@ -322,7 +322,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * get Petition Signature Total
+   * Get Petition Signature Total
    *
    * @param int $surveyId
    *
@@ -352,7 +352,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
 
 
   /**
-   * @param null $surveyId
+   * @param int $surveyId
    *
    * @return array
    */
@@ -383,7 +383,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Function to get Petition Signature Details
+   * Get Petition Signature Details
    *
    * @param int $surveyId
    * @param int $status_id
@@ -481,7 +481,7 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
   }
 
   /**
-   * Function to check if contact has signed this petition
+   * Check if contact has signed this petition
    *
    * @param int $surveyId
    * @param int $contactId
@@ -534,7 +534,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 52b749221ea502af435ed4de282922a33f690c7c..e9e6c9f5e767c2446f0fb8c46daeb2ffb56344e7 100755 (executable)
@@ -41,7 +41,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
    * @static
@@ -65,7 +65,7 @@ class CRM_Campaign_BAO_Query {
   }
 
   /**
-   * if survey, campaign are involved, add the specific fields.
+   * If survey, campaign are involved, add the specific fields.
    *
    * @param $query
    *
@@ -215,7 +215,7 @@ class CRM_Campaign_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -312,7 +312,7 @@ civicrm_activity_assignment.record_type_id = $assigneeID ) ";
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 
@@ -335,7 +335,7 @@ civicrm_activity_assignment.record_type_id = $assigneeID ) ";
   }
 
   /**
-   * add all the elements shared between,
+   * Add all the elements shared between,
    * normal voter search and voter listing (GOTV form)
    *
    * @access public
index d02814d09dd4c9134cf28f8ad0e73cb6a7622008..4fb907220f2b48142b4fa94f2808ea16065d77c7 100644 (file)
@@ -71,7 +71,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.
@@ -117,7 +117,7 @@ class CRM_Campaign_BAO_Survey extends CRM_Campaign_DAO_Survey {
   }
 
   /**
-   * retrieve surveys for dashboard.
+   * Retrieve surveys for dashboard.
    *
    * @static
    */
@@ -242,7 +242,7 @@ SELECT  survey.id                         as id,
   }
 
   /**
-   * get Surveys
+   * Get Surveys
    *
    * @param boolean $onlyActive  retrieve only active surveys.
    * @param boolean $onlyDefault retrieve only default survey.
@@ -299,7 +299,7 @@ SELECT  survey.id    as id,
   }
 
   /**
-   * get Surveys activity types
+   * Get Surveys activity types
    *
    *
    * @static
@@ -334,7 +334,7 @@ SELECT  survey.id    as id,
   }
 
   /**
-   * Function to get Surveys custom groups
+   * Get Surveys custom groups
    *
    * @param $surveyTypes array an array of survey type id.
    *
@@ -374,7 +374,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -387,7 +387,7 @@ SELECT  survey.id    as id,
   }
 
   /**
-   * Function to delete the survey
+   * Delete the survey
    *
    * @param int $id survey id
    *
@@ -505,7 +505,7 @@ Group By  contact.id";
    * @param int $surveyId survey id.
    * @param array $voterIds voterIds.
    *
-   * @param null $interviewerId
+   * @param int $interviewerId
    * @param array $statusIds
    *
    * @return array $activityDetails array of survey activity.@static
@@ -565,7 +565,7 @@ INNER JOIN  civicrm_activity_contact activityAssignment
    *
    * @param int $surveyId survey id.
    *
-   * @param null $interviewerId
+   * @param int $interviewerId
    * @param null $statusIds
    * @param null $voterIds
    * @param bool $onlyCount
@@ -768,7 +768,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   /**
    * This function return all voter links with respecting permissions
    *
-   * @param $surveyId
+   * @param int $surveyId
    * @param bool $enclosedInUL
    * @param string $extraULName
    * @return array|string $url array of permissioned links@static
@@ -854,7 +854,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * Function to retrieve survey associated profile id.
+   * Retrieve survey associated profile id.
    *
    */
   public static function getSurveyProfileId($surveyId) {
@@ -885,7 +885,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * @param $surveyId
+   * @param int $surveyId
    *
    * @return mixed
    */
@@ -901,7 +901,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * Function to decides the contact type for given survey.
+   * Decides the contact type for given survey.
    *
    */
   public static function getSurveyContactType($surveyId) {
@@ -920,7 +920,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   }
 
   /**
-   * Function to get survey supportable profile types
+   * Get survey supportable profile types
    *
    */
   public static function surveyProfileTypes() {
index 56e6221b46aba78beb517a2cc6ddd8e8cb631768..88cbf160761602f429c7aa42700e890d23b5ca9d 100755 (executable)
@@ -47,7 +47,7 @@
 class CRM_Campaign_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 55127b05b9079d7a5d5b8feb717a0732798dd951..601be13326b50fe281b8c06cc88abf7e6c75e2ab 100644 (file)
 class CRM_Campaign_Form_Campaign extends CRM_Core_Form {
 
   /**
-   * action
+   * Action
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * context
+   * Context
    *
    * @var string
    */
   protected $_context;
 
   /**
-   * object values.
+   * Object values.
    *
    * @var array
    */
   protected $_values;
 
   /**
-   * the id of the campaign we are proceessing
+   * The id of the campaign we are proceessing
    *
    * @var int
    * @protected
index 01efe23174a936aaa33b57e2f59494a330b7f4ce..5198c9dad150469223a99deafed7c29f3ca61699 100755 (executable)
@@ -51,7 +51,7 @@ class CRM_Campaign_Form_Gotv extends CRM_Core_Form {
   protected $_searchVoterFor;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index 4850ae9f5e899debd9bda1b397ce4f619c05c604..d6512134966a6c93b7636014b17b02ddd4f043cf 100644 (file)
@@ -253,7 +253,7 @@ class CRM_Campaign_Form_Petition extends CRM_Core_Form {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    */
   static function formRule($fields, $files, $form) {
index 1a31f7993fe795927eba2bee7275c19372e32145..8936905edec1489a7237e4ea9fc3465f949e7333 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   protected $_mode;
 
   /**
-   * the id of the contact associated with this signature
+   * The id of the contact associated with this signature
    *
    * @var int
    * @public
@@ -72,7 +72,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   protected $_contactProfileId;
 
   /**
-   * the contact profile fields used for this petition
+   * The contact profile fields used for this petition
    *
    * @var array
    */
@@ -86,14 +86,14 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   protected $_activityProfileId;
 
   /**
-   * the activity profile fields used for this petition
+   * The activity profile fields used for this petition
    *
    * @var array
    */
   public $_activityProfileFields;
 
   /**
-   * the id of the survey (petition) we are proceessing
+   * The id of the survey (petition) we are proceessing
    *
    * @var int
    * @protected
@@ -108,7 +108,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   protected $_tagId;
 
   /**
-   * values to use for custom profiles
+   * Values to use for custom profiles
    *
    * @var array
    * @protected
@@ -124,7 +124,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   protected $_params;
 
   /**
-   * which email send mode do we use
+   * Which email send mode do we use
    *
    * @var int
    * EMAIL_THANK = 1,
@@ -589,10 +589,10 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
   }
 
   /**
-   * build the petition profile form
+   * Build the petition profile form
    *
-   * @param $id
-   * @param $name
+   * @param int $id
+   * @param string $name
    * @param bool $viewOnly
    *
    * @return void
index 4ad3914d633e3326ba24016e24e0fe55d661ed33..db43e970ebe3197fa1b129e0734c5155586794cf 100755 (executable)
@@ -39,7 +39,7 @@
 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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -55,7 +55,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -65,7 +65,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * prefix for the controller
+   * Prefix for the controller
    *
    */
   protected $_prefix = "survey_";
@@ -74,7 +74,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
    * @access public
index b667937248e577ce87b16095577013f38488717a..b86df5830b12fdde068bcee61863866d3d9a4e56 100755 (executable)
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form {
   protected $_force;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index a9e906d6df87c5e866c768220eb9a993ba32cba1..abbeafdc5ebc866d4b903cb51893a5d7352c057f 100755 (executable)
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form {
   protected $_force;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index 6a9e0549f542ff0a296641ac567d5435c9a30793..6e9c90d932d8a3421f2dc0d4ed32b8f96fa73c3d 100755 (executable)
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form {
   protected $_force;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index f9c5b3f7ed834d677b51fce82e9393c450af7b42..d1ea1387f9cb5b0923e7c1065dca56b537505fe3 100644 (file)
@@ -47,14 +47,14 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form {
   protected $_surveyId;
 
   /**
-   * action
+   * Action
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * surveyTitle
+   * SurveyTitle
    *
    * @var string
    */
index 308d3207b2b85250f27a01ed9a8ada934115cef2..afd99c5f97a21512a6ccb2b39809a22501436950 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Campaign_Form_Survey_Delete extends CRM_Core_Form {
   protected $_surveyId;
 
   /**
-   * surveyTitle
+   * SurveyTitle
    *
    * @var string
    */
@@ -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
    * @access public
index 2b3b2aac1347bbe3f90578f4b2d26b621b8c1727..dbb17bbae22083e3983ce5b6e513862456a60f61 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey {
   public $_values;
 
   /**
-   * context
+   * Context
    *
    * @var string
    */
index 9498a2c1501c14fd79c7c90804c3e5f1c8c15b4e..0980ddf94ebfc82d00fb95807ac4c64e77582f55 100644 (file)
@@ -201,7 +201,7 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    */
   static function formRule($fields, $files, $form) {
index d3f7d7fe8bf5b3fe9e797cc9714a0620d58b5ecb..f24c6d646a6cb5be46b4855c8f3431c784d0079e 100644 (file)
@@ -49,21 +49,21 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form {
   protected $_gName;
 
   /**
-   * id
+   * Id
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * action
+   * Action
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @param null
    *
index fabfb659f0dfd7937d983ddf11a1d9f9a50977a2..6178eecc776cb10915d7f57fa4e216bd27440717 100755 (executable)
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
   protected $_componentClause = NULL;
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -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 title of the main button
index cb3aab81c6621454cb879c2974b6fec02d81eb6f..b0721677dfb81bcbba5eb9757facc7eb22ab4832 100755 (executable)
 class CRM_Campaign_Form_Task_Interview extends CRM_Campaign_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
    *
    */
   private $_userContext;
@@ -70,7 +70,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
    * @access public
@@ -444,7 +444,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
    *
    * @access public
    *
index bfac70043c829f217849181ec4389566afbd713f..e7a55ed4dfaf625c7f807e7be4178308baffac1a 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
    * @access public
@@ -104,7 +104,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
    *
    * @access public
    *
index 1d946f479b3ad77db8201aa0298f71acb0ef8e32..30564faac6c8d49b53774f966d887c18aa5a316c 100644 (file)
 class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
 
   /**
-   * survet id
+   * Survet id
    *
    * @var int
    */
   protected $_surveyId;
 
   /**
-   * number of voters
+   * Number of voters
    *
    * @var int
    */
   protected $_interviewerId;
 
   /**
-   * survey details
+   * Survey details
    *
    * @var object
    */
@@ -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
    * @access public
index f56416c21ee862cdc0201b2bc206c2ff90510fb6..983fcce8a2379f697ffad686ae1e112dab2c32ad 100644 (file)
 class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
 
   /**
-   * survet id`
+   * Survet id`
    *
    * @var int
    */
   protected $_surveyId;
 
   /**
-   * interviewer id
+   * Interviewer id
    *
    * @var int
    */
   protected $_interviewerId;
 
   /**
-   * survey details
+   * Survey details
    *
    * @var object
    */
   protected $_surveyDetails;
 
   /**
-   * number of voters
+   * Number of voters
    *
    * @var int
    */
   protected $_numVoters;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -201,7 +201,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
    *
    * @access public
    *
index 9422aad75e4f596ef243779ea95b2400c48cb064..554240cf4f64b6ab82b38bd48f4bfc7f680cfb63 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
    * @access public
index dd4c5cf7857260120f44228dc5b27cbd16753d75..0e13d6c1524550714d992f2cd4069d4c57333b26 100644 (file)
@@ -94,8 +94,8 @@ class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page {
    * @param int $subscribe_id The id of the subscription event
    * @param string $hash The hash
    *
-   * @param $activity_id
-   * @param $petition_id
+   * @param int $activity_id
+   * @param int $petition_id
    *
    * @return boolean              True on success
    * @access public
index f5fdd4e21837c6faf072b848950a9382249422c4..40ef22465968129ab80753ed74f6e940e08d877e 100644 (file)
@@ -207,7 +207,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 6bbab7eb3e2d83b2653f4c13ffbf748ce9a307c6..c10baf845a1a9250b64933eb42a2f7bfe72fd4c1 100755 (executable)
@@ -50,7 +50,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -82,7 +82,7 @@ class CRM_Campaign_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
    *
    * @access protected
    * @var boolean
@@ -90,7 +90,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -98,7 +98,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -106,7 +106,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   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
@@ -115,7 +115,7 @@ 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
    * @access protected
@@ -195,7 +195,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -229,7 +229,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -316,7 +316,7 @@ FROM {$from}
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -368,7 +368,7 @@ FROM {$from}
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index 180f984151bff8d4686521c5b55293a674909732..e3ad4e5e32e6b06f0d6790ac0a99194a738e2d69 100755 (executable)
@@ -43,7 +43,7 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -91,7 +91,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
    * @access public
index 77eab97b3ac2e2acb1b5f726f1d407402aeeab7c..592721de50a475ae32d10a61c2bb664aa09c3691 100755 (executable)
@@ -43,7 +43,7 @@ class CRM_Campaign_Task {
   CONST INTERVIEW = 1, RESERVE = 2, RELEASE = 3, PRINT_VOTERS = 4;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -51,7 +51,7 @@ class CRM_Campaign_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -124,7 +124,7 @@ class CRM_Campaign_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index e2b6685a8e9abed8b1a4cc792bae509511d47d44..37c4becffcf483620d529708ff5faddd81620ab6 100644 (file)
@@ -9,7 +9,7 @@ class CRM_Case_Audit_Audit {
 
   /**
    * @param $xmlString
-   * @param $confFilename
+   * @param string $confFilename
    */
   public function __construct($xmlString, $confFilename) {
     $this->xmlString = $xmlString;
@@ -211,8 +211,8 @@ class CRM_Case_Audit_Audit {
 
   /**
    * @param $xmlString
-   * @param $clientID
-   * @param $caseID
+   * @param int $clientID
+   * @param int $caseID
    * @param bool $printReport
    *
    * @return mixed
index 57b791e18ca498a3d9eac8422471d63f3007ed7f..f611e8a205012ace5131276e396353cd94e85156 100644 (file)
@@ -14,7 +14,7 @@ class CRM_Case_Audit_AuditConfig {
   private $ifBlanks;
 
   /**
-   * @param $filename
+   * @param string $filename
    */
   public function __construct($filename) {
     $this->filename = $filename;
index 8ffb08a019fe5b4cf8e61b80c820661d2966c52c..d146cffc3c59d2278aff4a5a1d4e6aaced18ec8d 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
 
   /**
-   * static field for all the case information that we can potentially export
+   * Static field for all the case information that we can potentially export
    *
    * @var array
    * @static
@@ -55,7 +55,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
   }
 
   /**
-   * takes an associative array and creates a case object
+   * Takes an associative array and creates a case object
    *
    * the function extract all the params it needs to initialize the create a
    * case object. the params array could contain additional unused name/value
@@ -99,7 +99,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
   }
 
   /**
-   * takes an associative array and creates a case object
+   * Takes an associative array and creates a case object
    *
    * @param array $params (reference ) an assoc array of name/value pairs
    *
@@ -257,7 +257,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
   }
 
   /**
-   * process case activity add/delete
+   * Process case activity add/delete
    * takes an associative array and
    *
    * @param array $params (reference ) an assoc array of name/value pairs
@@ -275,7 +275,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
   }
 
   /**
-   * get the case subject for Activity
+   * Get the case subject for Activity
    *
    * @param int $activityId  activity id
    *
@@ -293,7 +293,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
   }
 
   /**
-   * get the case type.
+   * Get the case type.
    *
    * @param int $caseId
    *
@@ -371,7 +371,7 @@ WHERE civicrm_case.id = %1";
   }
 
   /**
-   * Function to enable disable case related relationships
+   * Enable disable case related relationships
    *
    * @param int $caseId case id
    * @param boolean $enable action
@@ -416,7 +416,7 @@ WHERE civicrm_case.id = %1";
    *
    * @param int $caseId ID of the case
    *
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return array
    * @access public
@@ -440,7 +440,7 @@ WHERE civicrm_case.id = %1";
   /**
    * Look up a case using an activity ID
    *
-   * @param $activityId
+   * @param int $activityId
    *
    * @return int, case ID
    */
@@ -507,7 +507,7 @@ WHERE civicrm_case.id = %1";
   /**
    * Retrieve case_id by contact_id
    *
-   * @param $contactID
+   * @param int $contactID
    * @param boolean $includeDeleted include the deleted cases in result
    * @param null $caseType
    *
@@ -547,7 +547,7 @@ WHERE cc.contact_id = %1 AND civicrm_case_type.name = '{$caseType}'";
 
   /**
    * @param string $type
-   * @param null $userID
+   * @param int $userID
    * @param null $condition
    * @param int $isDeleted
    *
@@ -879,7 +879,11 @@ AND civicrm_case.status_id != $closedId";
   }
 
   /**
-   * Function to get the summary of cases counts by type and status.
+   * Get the summary of cases counts by type and status.
+   *
+   * @param bool $allCases
+   * @param int $userID
+   * @return array
    */
   static function getCasesSummary($allCases = TRUE, $userID) {
     $caseSummary = array();
@@ -954,13 +958,13 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to get Case roles
+   * Get Case roles
    *
    * @param int $contactID contact id
    * @param int $caseID case id
-   * @param null $relationshipID
+   * @param int $relationshipID
    *
-   * @return returns case role / relationships
+   * @return array case role / relationships
    *
    * @static
    */
@@ -1011,17 +1015,17 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to get Case Activities
+   * Get Case Activities
    *
    * @param int $caseID case id
    * @param array $params posted params
    * @param int $contactID contact id
    *
    * @param null $context
-   * @param null $userID
+   * @param int $userID
    * @param null $type
    *
-   * @return returns case activities
+   * @return array of case activities
    *
    * @static
    */
@@ -1356,7 +1360,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to get Case Related Contacts
+   * Get Case Related Contacts
    *
    * @param int $caseID case id
    * @param boolean $skipDetails if true include details of contacts
@@ -1403,14 +1407,14 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function that sends e-mail copy of activity
+   * Send e-mail copy of activity
    *
-   * @param $clientId
+   * @param int $clientId
    * @param int $activityId activity Id
    * @param array $contacts array of related contact
    *
    * @param null $attachments
-   * @param $caseId
+   * @param int $caseId
    *
    * @return void
    * @access public
@@ -1665,7 +1669,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to retrieve the scheduled activity type and date
+   * Retrieve the scheduled activity type and date
    *
    * @param  array $cases Array of contact and case id
    *
@@ -1709,7 +1713,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * combine all the exportable fields from the lower levels object
+   * Combine all the exportable fields from the lower levels object
    *
    * @return array array of exportable Fields
    * @access public
@@ -1808,11 +1812,9 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
     return $globalContacts;
   }
 
-  /*
-   * Convenience function to get both case contacts and global in one array
-   */
   /**
-   * @param $caseId
+   * Convenience function to get both case contacts and global in one array
+   * @param int $caseId
    *
    * @return array
    */
@@ -1836,7 +1838,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to get Case ActivitiesDueDates with given criteria.
+   * Get Case ActivitiesDueDates with given criteria.
    *
    * @param int $caseID case id
    * @param array $criteriaParams given criteria
@@ -1887,12 +1889,12 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to create activities when Case or Other roles assigned/modified/deleted.
+   * Create activities when Case or Other roles assigned/modified/deleted.
    *
-   * @param $caseId
+   * @param int $caseId
    * @param int $relationshipId relationship id
    * @param int $relContactId case role assignee contactId.
-   * @param null $contactId
+   * @param int $contactId
    *
    * @return void on success creates activity and case activity
    *
@@ -1980,7 +1982,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Function to get case manger
+   * Get case manger
    * contact which is assigned a case role of case manager.
    *
    * @param int $caseType case type
@@ -2111,7 +2113,7 @@ SELECT civicrm_contact.id as casemanager_id,
   }
 
   /**
-   * @param null $contactId
+   * @param int $contactId
    * @param bool $excludeDeleted
    *
    * @return null|string
@@ -3029,7 +3031,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * since we drop 'access CiviCase', allow access
+   * Since we drop 'access CiviCase', allow access
    * if user has 'access my cases and activities'
    * or 'access all cases and activities'
    */
@@ -3056,7 +3058,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to check whether activity is a case Activity
+   * Check whether activity is a case Activity
    *
    * @param  int $activityID   activity id
    *
@@ -3076,7 +3078,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to get all the case type ids currently in use
+   * Get all the case type ids currently in use
    *
    *
    * @return array $caseTypeIds
@@ -3101,7 +3103,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to get all the case status ids currently in use
+   * Get all the case status ids currently in use
    *
    *
    * @return array $caseStatusIds
@@ -3123,7 +3125,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to get all the encounter medium ids currently in use
+   * Get all the encounter medium ids currently in use
    * @return array
    */
   static function getUsedEncounterMediums() {
@@ -3143,9 +3145,9 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to check case configuration.
+   * Check case configuration.
    *
-   * @param null $contactId
+   * @param int $contactId
    *
    * @return array $configured
    */
@@ -3227,7 +3229,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * helper function, also used by the upgrade in case of error
+   * Helper function, also used by the upgrade in case of error
    */
   static function createCaseViewsQuery($section = 'upcoming') {
     $sql = "";
@@ -3256,7 +3258,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to add/copy relationships, when new client is added for a case
+   * Add/copy relationships, when new client is added for a case
    *
    * @param int $caseId case id
    * @param int $contactId contact id / new client id
@@ -3296,7 +3298,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Function to get the list of clients for a case
+   * Get the list of clients for a case
    *
    * @param int $caseId
    *
index d5bf0e1c94659c5f7b3ccc7271a6becd4873a3c1..8b1078ee2e5053656e59581745cb15503a2b8e75 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
 
   /**
-   * static field for all the case information that we can potentially export
+   * Static field for all the case information that we can potentially export
    *
    * @var array
    * @static
@@ -98,7 +98,7 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
 
 
   /**
-   * format / convert submitted array to xml for case type definition
+   * Format / convert submitted array to xml for case type definition
    *
    * @param string $name
    * @param array $definition the case-type defintion expressed as an array-tree
@@ -179,7 +179,7 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
   }
 
   /**
-   * get the case definition either from db or read from xml file
+   * Get the case definition either from db or read from xml file
    *
    * @param SimpleXmlElement $xml a single case-type record
    *
@@ -262,7 +262,7 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
   }
 
   /**
-   * takes an associative array and creates a case type object
+   * Takes an associative array and creates a case type object
    *
    * @param array $params (reference ) an assoc array of name/value pairs
    *
@@ -319,7 +319,7 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
   }
 
   /**
-   * @param $caseTypeId
+   * @param int $caseTypeId
    *
    * @throws CRM_Core_Exception
    * @return mixed
index 882121d0ba2442117a37dc3610af02171aca1e93..65bbb9bc53e12c47811c0885724de53145e3edbe 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Case_BAO_Query {
   }
 
   /**
-   * build select for Case
+   * Build select for Case
    *
    * @param $query
    *
@@ -244,7 +244,7 @@ class CRM_Case_BAO_Query {
   }
 
   /**
-   * where clause for a single field
+   * Where clause for a single field
    *
    * @param $values
    * @param $query
@@ -530,7 +530,7 @@ class CRM_Case_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -604,7 +604,7 @@ case_relation_type.id = case_relationship.relationship_type_id )";
   }
 
   /**
-   * getter for the qill object
+   * Getter for the qill object
    *
    * @return string
    * @access public
@@ -696,7 +696,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
    *
    * @access public
    *
@@ -773,7 +773,7 @@ case_relation_type.id = case_relationship.relationship_type_id )";
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 }
index b30893487d5ec9f9f907846afd7cff0fa0baca3c..00bb01b2f7365dc8ae7cbbc8dca3e377db9be899 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Case_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 8f2a4f5006fbf08ef5cf38326e12d85fd41aeaa6..2d27ce8112de30ccd8e8c6fc4ebc0f72b164c503 100644 (file)
@@ -355,7 +355,7 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
@@ -379,7 +379,7 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
    *
    * @access public
    *
-   * @param null $params
+   * @param array $params
    *
    * @return void
    */
index dcf01b33d4d81b8869ed04127308f626e975aaa8..70a62711e7ccce6d70a654972dbfac97a6a1ebb5 100644 (file)
@@ -102,7 +102,7 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values posted values of the form
    *
index e82eced06ec6afbb8997ecc82e41605c114c7b0e..d762b5f3f5b75cd8d28261fb55e351725187400c 100644 (file)
@@ -102,7 +102,7 @@ class CRM_Case_Form_Activity_ChangeCaseStatus {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values posted values of the form
    *
index ff41a8d3430d9a96163548d747e6502a15c4c6fa..3eed2d1536dd889ad05686b7c574ed11ba7db771 100644 (file)
@@ -99,7 +99,7 @@ class CRM_Case_Form_Activity_ChangeCaseType {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values posted values of the form
    *
index e86c14df18f34c4c96dd912e4781c8afde505e00..f2ca19f72588748c519d49e65e71ca0729002fe8 100644 (file)
@@ -91,7 +91,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
    *
index f7347a177dec09794956e01ea6c9e4b1c0595720..f5e225e56cee57290355ce60d2000c8cd550364b 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
    * @public
@@ -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
index 66672c9da788dba600962ebb2b336efdb27bc2d2..2a5a04056ff1aa239605919632c9aa06754a989c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_ActivityToCase 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
    * @access public
index 850a055947041a605c4fed3ba43627f6e98cdaa8..f858849fcab89aa51b674130d3594ed5bfce01ed 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_ActivityView extends CRM_Core_Form {
 
   /**
-   * process the view
+   * Process the view
    *
    * @access public
    *
index c9a8f4f9db89ab80b9eb9269e102e636ddbc0d58..f0bd2534718b51dcc189b382fb6b66d44d275267 100644 (file)
@@ -62,27 +62,27 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
   public $_activityTypeFile = NULL;
 
   /**
-   * logged in contact Id
+   * Logged in contact Id
    */
   public $_currentUserId = NULL;
 
   /**
-   * activity type Id
+   * Activity type Id
    */
   public $_activityTypeId = NULL;
 
   /**
-   * activity type Id
+   * Activity type Id
    */
   public $_activityId = NULL;
 
   /**
-   * action
+   * Action
    */
   public $_action;
 
   /**
-   * case type id
+   * Case type id
    */
   public $_caseTypeId = NULL;
 
@@ -312,7 +312,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
    *
index 187d4576cfe57d420aa187c9a2a86de906b4ead9..7a2ca49d0bfc8afbfd51d5b6d67d1f516ff20a05 100644 (file)
  */
 class CRM_Case_Form_CaseView extends CRM_Core_Form {
   /**
-   * check for merge cases.
+   * Check for merge cases.
    * @var bool
    */
   private $_mergeCases = FALSE;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 8187bf5b1d88aacc7886a559bf68e3fefd31098a..3b9252175ae7fda5b4e85b8e71f8e74a95edf664 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form {
   protected $_cdType;
 
   /**
-   * entity sub type of the table id
+   * Entity sub type of the table id
    *
    * @var string
    * @access protected
@@ -66,7 +66,7 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form {
   protected $_subTypeID;
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for table name, id of entity in table, type of entity and stores them.
    *
index c517a7f61a1bd2e0bf55bb662e4f5cfe053bc699..6e63140d2aac39c1a5234cd539c34c4aa14266e3 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
    * @access public
index 09f518b76696ae55b8b4bb79dd3678969941c8db..2ef4de50bf1dbe37f526a30663e0a0046cb6fa70 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Case_Form_Report extends CRM_Core_Form {
   public $_clientID = NULL;
 
   /**
-   * activity set name
+   * Activity set name
    */
   public $_activitySetName = NULL;
 
index a19c5622288a53b80b48d4cbceacdfa3e0f41501..0ce694bdb6db6582d6aa134c55c183469ef1b42c 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Case_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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -55,7 +55,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -63,7 +63,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
   protected $_limit = NULL;
 
   /**
-   * prefix for the controller
+   * Prefix for the controller
    *
    */
   protected $_prefix = 'case_';
@@ -71,7 +71,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
    * @access public
@@ -330,7 +330,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
    *
index 8c65d7d966c6fe165c326729da69333a6ae7276a..9ec52b37922ae761c09a03b46e962a5fb578e5eb 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Case_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -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
    *
@@ -150,7 +150,7 @@ class CRM_Case_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 title of the main button
index aab4919a671279d5827bf4279331b149c55f3bbf..343b4d97239b167a11e201563588e7b29acbf42b 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task {
   public $_moveToTrash = TRUE;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -80,7 +80,7 @@ class CRM_Case_Form_Task_Delete 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
    *
    * @access public
    *
index dfdbfff309813dd757ba982758c3eadfcc7e3b43..c197e786c046047f0c9d5cc71fd0efe3470e653e 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
    * @access public
@@ -96,7 +96,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
    *
    * @access public
    *
index cdf161ab28a33e9968a456e9f26affba6c5c2e75..c370d9959baf9c89d8105a9c211b7b8b179e880d 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
    * @access public
@@ -69,7 +69,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
    *
    * @access public
    *
index aea40165a270840dead353c05c654c8282cfe958..1ca203cd8e7884bc4a91317985ef2b23f5d574aa 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
    * @access public
index 5b11e1132f52a37f1bd619ff9aa28b368cbae996..15062647059c3fa37742f218978afb037059783f 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
    * @access public
index b7f3b97710331627cf3a336f35cf1aadd68b8abe..30b5f08232045b216a1f6ab8a3eccf96e3dd0716 100644 (file)
@@ -185,7 +185,7 @@ class CRM_Case_Page_AJAX {
   }
 
   /**
-   * delete relationships specific to case and relationship type
+   * Delete relationships specific to case and relationship type
    */
   static function deleteCaseRoles() {
     $caseId  = CRM_Utils_Type::escape($_POST['case_id'], 'Integer');
index 1ee036bacf6218f29b7b76a048e3a83e1dd83911..904d43708f2475712a9f4937e156a58171aa37a0 100644 (file)
 class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
 
   /**
-   * case statues
+   * Case statues
    * @var array
    * @static
    */
   static $caseStatus = array();
 
   /**
-   * redaction rules
+   * Redaction rules
    * @var array
    * @static
    */
   static $redactionRule;
 
   /**
-   * case type
+   * Case type
    * @var array
    * @static
    */
@@ -68,7 +68,7 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
   static $encounterMedium = array();
 
   /**
-   * activity type
+   * Activity type
    * @var array
    * @static
    */
index 724ae99f05e1c4097c4413bfdd9b1ca76cf1c936..60d5494a109c886b65b63c0a3378685ad36a63a0 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -78,7 +78,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   );
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -86,7 +86,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -94,7 +94,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -102,7 +102,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   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
@@ -111,7 +111,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   public $_queryParams;
 
   /**
-   * represent the type of selector
+   * Represent the type of selector
    *
    * @var int
    * @access protected
@@ -247,7 +247,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -286,7 +286,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -421,7 +421,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -499,7 +499,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index f8a7bc10a5ddcf313fb2685a4ad93bc45488f866..9fc035e333fe54d6b068714139210733c4b84cd2 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -93,7 +93,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
    * @access public
index 919d827f8d08a80ceb3222773c2b0f45cfaeddce..bb4aae3f46b3b90d393131474cefdfd5701e20a2 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Case_Task {
   CONST DELETE_CASES = 1, PRINT_CASES = 2, EXPORT_CASES = 3, RESTORE_CASES = 4;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -50,7 +50,7 @@ class CRM_Case_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -132,7 +132,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
index 8c7b5fb10c6f48385a6dac9131d6636f71de4810..2588e21c2a7363e7712b8f7e9f3a694454c82db7 100644 (file)
@@ -202,7 +202,7 @@ class CRM_Case_XMLProcessor_Process extends CRM_Case_XMLProcessor {
   }
 
   /**
-   * @param $relationshipTypeName
+   * @param string $relationshipTypeName
    * @param array $params
    *
    * @return bool
index 872dbf6914278b7da26130a7d32c1cc08ca1484d..2105db507275af6d7442410e3fde532472490757 100644 (file)
@@ -47,9 +47,9 @@ class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor {
   public function __construct() {}
 
   /**
-   * @param $clientID
-   * @param $caseID
-   * @param $activitySetName
+   * @param int $clientID
+   * @param int $caseID
+   * @param string $activitySetName
    * @param array $params
    *
    * @return mixed
@@ -89,8 +89,8 @@ class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor {
   }
 
   /**
-   * @param $clientID
-   * @param $caseID
+   * @param int $clientID
+   * @param int $caseID
    *
    * @return array
    */
@@ -148,7 +148,7 @@ class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor {
 
   /**
    * @param $xml
-   * @param $activitySetName
+   * @param string $activitySetName
    *
    * @return array|bool
    */
@@ -176,7 +176,7 @@ class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor {
 
   /**
    * @param $xml
-   * @param $activitySetName
+   * @param string $activitySetName
    *
    * @return null|string
    */
@@ -192,8 +192,8 @@ class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor {
   }
 
   /**
-   * @param $clientID
-   * @param $caseID
+   * @param int $clientID
+   * @param int $caseID
    * @param $activityTypes
    * @param $activities
    */
@@ -236,8 +236,8 @@ AND    ac.case_id = %1
   }
 
   /**
-   * @param $clientID
-   * @param $activityID
+   * @param int $clientID
+   * @param int $activityID
    * @param bool $anyActivity
    * @param int $redact
    *
@@ -305,7 +305,7 @@ WHERE      a.id = %1
   }
 
   /**
-   * @param $clientID
+   * @param int $clientID
    * @param $activityDAO
    * @param $activityTypeInfo
    *
@@ -534,7 +534,7 @@ WHERE      a.id = %1
   }
 
   /**
-   * @param $clientID
+   * @param int $clientID
    * @param $activityDAO
    * @param $activityTypeInfo
    *
@@ -594,7 +594,7 @@ WHERE      a.id = %1
   }
 
   /**
-   * @param $activityTypeID
+   * @param int $activityTypeID
    * @param null $dateFormat
    *
    * @return mixed
@@ -696,7 +696,7 @@ WHERE  entity_id = %1
   }
 
   /**
-   * @param $activityID
+   * @param int $activityID
    *
    * @return null|string
    */
@@ -734,9 +734,9 @@ LIMIT  1
   }
 
   /**
-   * @param $clientID
-   * @param $caseID
-   * @param $activitySetName
+   * @param int $clientID
+   * @param int $caseID
+   * @param string $activitySetName
    * @param array $params
    * @param CRM_Core_Form $form
    *
index 998a9ab1b8e9229aee4d8f750a0bc86c6fbcbca4..0ced7cfa7274d87b718cba03677467ad138c61ca 100644 (file)
@@ -60,21 +60,21 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
     END";
 
   /**
-   * the types of communication preferences
+   * The types of communication preferences
    *
    * @var array
    */
   static $_commPrefs = array('do_not_phone', 'do_not_email', 'do_not_mail', 'do_not_sms', 'do_not_trade');
 
   /**
-   * types of greetings
+   * Types of greetings
    *
    * @var array
    */
   static $_greetingTypes = array('addressee', 'email_greeting', 'postal_greeting');
 
   /**
-   * 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
@@ -82,7 +82,7 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
   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
    * @static
@@ -90,7 +90,7 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
   static $_exportableFields = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Contact_DAO_Contact
@@ -103,7 +103,7 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * 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
@@ -261,7 +261,7 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * create contact
+   * Create contact
    * takes an associative array and creates a contact object and all the associated
    * derived objects (i.e. individual, location, email, phone etc)
    *
@@ -730,7 +730,7 @@ WHERE     civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer');
   }
 
   /**
-   * get the display name of a contact
+   * Get the display name of a contact
    *
    * @param  int    $id id of the contact
    *
@@ -878,7 +878,7 @@ WHERE     civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer');
   }
 
   /**
-   * delete the image of a contact
+   * Delete the image of a contact
    *
    * @param  int $id id of the contact
    *
@@ -934,7 +934,7 @@ WHERE id={$id}; ";
   }
 
   /**
-   * function to return proportional height and width of the image
+   * Return proportional height and width of the image
    *
    * @param  Integer $imageWidth  width of image
    *
@@ -1006,7 +1006,7 @@ WHERE id={$id}; ";
   }
 
   /**
-   * function to extract contact id from url for deleting contact image
+   * Extract contact id from url for deleting contact image
    */
   public static function processImage() {
 
@@ -1135,7 +1135,7 @@ WHERE id={$id}; ";
   }
 
   /**
-   * 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
@@ -1330,7 +1330,7 @@ WHERE id={$id}; ";
   }
 
   /**
-   * combine all the exportable fields from the lower levels object
+   * Combine all the exportable fields from the lower levels object
    *
    * currentlty we are using importable fields as exportable fields
    *
@@ -1569,7 +1569,7 @@ WHERE id={$id}; ";
   }
 
   /**
-   * Function to get the all contact details(Hierarchical)
+   * Get the all contact details(Hierarchical)
    *
    * @param int   $contactId contact id
    * @param array $fields fields array
@@ -1595,7 +1595,7 @@ WHERE id={$id}; ";
   }
 
   /**
-   * given a set of flat profile style field names, create a hierarchy
+   * Given a set of flat profile style field names, create a hierarchy
    * for query to use and crete the right sql
    *
    * @param $fields
@@ -1662,13 +1662,13 @@ WHERE id={$id}; ";
   }
 
   /**
-   * Function to return the primary location type of a contact
+   * Return the primary location type of a contact
    *
    * $params int     $contactId contact_id
    * $params boolean $isPrimaryExist if true, return primary contact location type otherwise null
    * $params boolean $skipDefaultPriamry if true, return primary contact location type otherwise null
    *
-   * @param $contactId
+   * @param int $contactId
    * @param bool $skipDefaultPriamry
    * @param null $block
    *
@@ -1731,7 +1731,7 @@ WHERE  civicrm_contact.id = %1 ";
   }
 
   /**
-   * function to get the display name, primary email and location type of a contact
+   * Get the display name, primary email and location type of a contact
    *
    * @param  int    $id id of the contact
    *
@@ -1775,7 +1775,7 @@ ORDER BY civicrm_email.is_primary DESC";
   }
 
   /**
-   * function to add/edit/register contacts through profile.
+   * Add/edit/register contacts through profile.
    *
    * @param array $params Array of profile fields to be edited/added.
    * @param array $fields Array of fields from UFGroup
@@ -1884,8 +1884,8 @@ ORDER BY civicrm_email.is_primary DESC";
   /**
    * @param array $params
    * @param $fields
-   * @param null $contactID
-   * @param null $ufGroupId
+   * @param int $contactID
+   * @param int $ufGroupId
    * @param null $ctype
    * @param bool $skipCustom
    *
@@ -2248,7 +2248,7 @@ ORDER BY civicrm_email.is_primary DESC";
   }
 
   /**
-   * Function to find the get contact details
+   * Find the get contact details
    * does not respect ACLs for now, which might need to be rectified at some
    * stage based on how its used
    *
@@ -2302,7 +2302,7 @@ WHERE      civicrm_email.email = %1 AND civicrm_contact.is_deleted=0";
   }
 
   /**
-   * Function to find the contact details associated with an OpenID
+   * Find the contact details associated with an OpenID
    *
    * @param string $openId openId of the contact
    * @param string $ctype  contact type
@@ -2558,7 +2558,7 @@ AND       civicrm_openid.is_primary = 1";
   }
 
   /**
-   * Function to process greetings and cache
+   * Process greetings and cache
    *
    * @param object  $contact contact object after save
    * @param boolean $useDefaults use default greeting values
@@ -2709,7 +2709,7 @@ AND       civicrm_openid.is_primary = 1";
   }
 
   /**
-   * Function to retrieve loc block ids w/ given condition.
+   * Retrieve loc block ids w/ given condition.
    *
    * @param  int    $contactId    contact id.
    * @param  array  $criteria     key => value pair which should be
@@ -2761,9 +2761,9 @@ AND       civicrm_openid.is_primary = 1";
   }
 
   /**
-   * Function to build context menu items.
+   * Build context menu items.
    *
-   * @param null $contactId
+   * @param int $contactId
    *
    * @return array of context menu for logged in user.
    * @static
@@ -3021,7 +3021,7 @@ AND       civicrm_openid.is_primary = 1";
   }
 
   /**
-   * Function to retrieve display name of contact that address is shared
+   * Retrieve display name of contact that address is shared
    * based on $masterAddressId or $contactId .
    *
    * @param  int    $masterAddressId    master id.
@@ -3058,7 +3058,7 @@ LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id )
   /**
    * Get the creation/modification times for a contact
    *
-   * @param $contactId
+   * @param int $contactId
    *
    * @return array('created_date' => $, 'modified_date' => $)
    */
@@ -3193,7 +3193,7 @@ LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id )
   }
 
   /**
-   * Function to check if contact is being used in civicrm_domain
+   * Check if contact is being used in civicrm_domain
    * based on $contactId
    *
    * @param  int     $contactId   contact id.
index e7e6d38bff81a7173fdeba00c5e691485c38a673..41f8b27c3a6b49c07575390982732fe028207b1d 100644 (file)
 class CRM_Contact_BAO_Contact_Location {
 
   /**
-   * get the display name, primary email, location type and location id of a contact
+   * Get the display name, primary email, location type and location id of a contact
    *
    * @param  int $id id of the contact
    *
    * @param bool $isPrimary
-   * @param null $locationTypeID
+   * @param int $locationTypeID
    *
    * @return array  of display_name, email, location type and location id if found, or (null,null,null, null)
    * @static
@@ -76,7 +76,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
    *
@@ -114,12 +114,12 @@ 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
    * $param  int    $locationTypeID
    *
-   * @param null $locationTypeID
+   * @param int $locationTypeID
    * @param bool $imageUrlOnly
    *
    * @return null|string     display name of the contact if found
index fa36c3fe7a84c21896e7346cc0f49f928e65cd95..b014b19ddbbac5fe17b24c1ddcc289e6e483c68a 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
    * @param int|string $type the type of operation (view|edit)
@@ -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)
@@ -149,7 +149,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 contact id
@@ -190,7 +190,7 @@ AND    $operationClause LIMIT 1";
 
   /**
    * @param string $contactAlias
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return array
    */
@@ -240,7 +240,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
    * @param int $contactID contact id of the current contact
@@ -331,7 +331,7 @@ WHERE  (( contact_id_a = %1 AND contact_id_b = %2 AND is_permission_a_b = 1 ) OR
 
 
   /**
-   * @param $contactID
+   * @param int $contactID
    * @param CRM_Core_Form $form
    * @param bool $redirect
    *
@@ -385,7 +385,7 @@ WHERE  (( contact_id_a = %1 AND contact_id_b = %2 AND is_permission_a_b = 1 ) OR
   }
 
   /**
-   * @param $contactID
+   * @param int $contactID
    * @param CRM_Core_Form $form
    * @param bool $redirect
    *
index 13c649ff486265ddfb066c3965b512d5cfa12e42..93b69aebdfa20c3668252387d9bbc7a5356b843d 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_BAO_Contact_Utils {
 
   /**
-   * given a contact type, get the contact image
+   * Given a contact type, get the contact image
    *
    * @param string  $contactType contact type
    * @param boolean $urlOnly  if we need to return only image url
@@ -112,7 +112,7 @@ class CRM_Contact_BAO_Contact_Utils {
   }
 
   /**
-   * function check for mix contact ids(individual+household etc...)
+   * Function check for mix contact ids(individual+household etc...)
    *
    * @param array $contactIds array of contact ids
    *
@@ -246,7 +246,7 @@ WHERE  id IN ( $idString )
   }
 
   /**
-   * get the count of  contact loctions
+   * Get the count of  contact loctions
    *
    * @param int $contactId contact id
    *
@@ -350,14 +350,14 @@ UNION
   }
 
   /**
-   * create related memberships for current employer
+   * Create related memberships for current employer
    *
    * @param int $contactID contact id of the individual
    * @param int $employerID contact id of the organization.
    * @param array $relationshipParams relationship params.
    * @param boolean $duplicate are we triggered existing relationship.
    *
-   * @param null $previousEmpID
+   * @param int $previousEmpID
    *
    * @throws CiviCRM_API3_Exception
    * @access public
@@ -390,7 +390,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
    *
@@ -408,7 +408,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
    *
@@ -422,7 +422,7 @@ WHERE contact_a.employer_id=contact_b.id AND contact_b.id={$organizationId}; ";
   }
 
   /**
-   * Function to clear cached current employer name
+   * Clear cached current employer name
    *
    * @param int $contactId contact id ( mostly individual contact id)
    * @param int $employerId contact id ( mostly organization contact id)
@@ -468,12 +468,12 @@ WHERE id={$contactId}; ";
   }
 
   /**
-   * Function to build form for related contacts / on behalf of organization.
+   * Build form for related contacts / on behalf of organization.
    *
    * @param CRM_Core_Form $form
    * @param $contactType       string  contact type
-   * @param $countryID
-   * @param $stateID
+   * @param int $countryID
+   * @param int $stateID
    * @param $title             string  fieldset title
    *
    * @static
@@ -543,7 +543,7 @@ WHERE id={$contactId}; ";
   }
 
   /**
-   * Function to clear cache employer name and employer id
+   * Clear cache employer name and employer id
    * of all employee when employer get deleted.
    *
    * @param int $employerId contact id of employer ( organization id )
@@ -669,7 +669,7 @@ LEFT JOIN  civicrm_email ce ON ( ce.contact_id=c.id AND ce.is_primary = 1 )
    * This function retrieve component related contact information.
    *
    * @param array $componentIds array of component Ids.
-   * @param $componentName
+   * @param string $componentName
    * @param array $returnProperties array of return elements.
    *
    * @return array $contactDetails array of contact info.@static
@@ -844,7 +844,7 @@ Group By  componentId";
   }
 
   /**
-   * Function to 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
    *
@@ -1094,8 +1094,8 @@ WHERE id IN (" . implode(',', $contactIds) . ")";
    * @param string $templateString the greeting template string with contact tokens + Smarty syntax
    *
    * @param $contactDetails
-   * @param $contactID
-   * @param $className
+   * @param int $contactID
+   * @param string $className
    *
    * @return void
    * @static
index 124fa0b65e2a958ddd585dd16d99892022799177..02cf1165df5a318891a523546a2a85c841bbfcbd 100644 (file)
@@ -440,7 +440,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.
    * @param bool $ignoreCache
@@ -453,7 +453,7 @@ AND   ( p.is_active = 1 OR p.id IS NULL )
   }
 
   /**
-   * retrieve the basic contact type associated with given subType.
+   * Retrieve the basic contact type associated with given subType.
    *
    *@param array/string $subType contact subType.
    *@return array/string of basicTypes.
@@ -508,7 +508,7 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
   }
 
   /**
-   * verify if a given subtype is associated with a given basic contact type.
+   * Verify if a given subtype is associated with a given basic contact type.
    *
    * @param  string $subType contact subType
    * @param  string $contactType contact Type
@@ -528,7 +528,7 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
   }
 
   /**
-   * create shortcuts menu for contactTypes
+   * Create shortcuts menu for contactTypes
    *
    * @return array  of contactTypes
    * @static
@@ -565,7 +565,7 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
   }
 
   /**
-   * delete Contact SubTypes
+   * Delete Contact SubTypes
    *
    * @param  int $contactTypeId ID of the Contact Subtype to be deleted.
    *
@@ -618,7 +618,7 @@ WHERE name = %1";
   }
 
   /**
-   * Function to add or update Contact SubTypes
+   * Add or update Contact SubTypes
    *
    * @param  array $params  an assoc array of name/value pairs
    *
@@ -684,7 +684,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -705,7 +705,7 @@ WHERE name = %1";
   }
 
   /**
-   * @param $typeName
+   * @param string $typeName
    *
    * @return mixed
    */
@@ -719,7 +719,7 @@ WHERE name = %1";
   }
 
   /**
-   * Function to check whether allow to change any contact's subtype
+   * Check whether allow to change any contact's subtype
    * on the basis of custom data and relationship of specific subtype
    * currently used in contact/edit form amd in import validation
    *
@@ -751,7 +751,7 @@ WHERE name = %1";
 
   /**
    * @param $contactType
-   * @param null $contactId
+   * @param int $contactId
    *
    * @return bool
    */
@@ -787,7 +787,7 @@ WHERE name = %1";
 
   /**
    * @todo what does this function do?
-   * @param $contactId
+   * @param int $contactId
    * @param $contactType
    *
    * @return bool
@@ -853,7 +853,7 @@ WHERE extends = %1 AND " . implode(" OR ", $subTypeClause);
    * Function that does something
    * @todo what does this function do?
    *
-   * @param $contactID
+   * @param int $contactID
    * @param $contactType
    * @param array $oldSubtypeSet
    * @param array $newSubtypeSet
index 3207a651535a4eef93215efc1c170ff71a665de8..49f89714dee14fffd3442b6d7001435dff3e177b 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -67,7 +67,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * delete the group and all the object that connect to
+   * Delete the group and all the object that connect to
    * this group. Incredibly destructive
    *
    * @param int $id group id
@@ -201,7 +201,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   /**
    * Get the list of member for a group id
    *
-   * @param $groupID
+   * @param int $groupID
    * @param bool $useCache
    *
    * @return array $aMembers this array contains the list of members for this group id
@@ -303,7 +303,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
    *
@@ -503,7 +503,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * given a saved search compute the clause and the tables
+   * Given a saved search compute the clause and the tables
    * and store it for future use
    */
   function buildClause() {
@@ -552,7 +552,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
    * @param boolean  $isActive  value we want to set the is_active field
@@ -565,7 +565,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * build the condition to retrieve groups.
+   * Build the condition to retrieve groups.
    *
    * @param string $groupType type of group(Access/Mailing) OR the key of the group
    * @param bool|\boolen $excludeHidden exclude hidden groups.
@@ -604,7 +604,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
   }
 
   /**
-   * get permission relevant clauses
+   * Get permission relevant clauses
    * CRM-12209
    *
    * @param bool $force
@@ -1226,7 +1226,7 @@ WHERE {$whereClause}";
   }
 
   /**
-   * define action links
+   * Define action links
    *
    * @return array $links array of action links
    * @access public
@@ -1268,7 +1268,7 @@ WHERE {$whereClause}";
 
   /**
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    *
    * @return string
    */
index bcfdb2d8d6144e72045785b1869ea30c3026e258..0c1425ca060e353c580e69c09007cafd67373216 100644 (file)
 class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
@@ -266,7 +266,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
    *
@@ -309,7 +309,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
    * @param string $status state of membership
@@ -494,7 +494,7 @@ SELECT    *
   }
 
   /**
-   * takes an associative array and creates / removes
+   * Takes an associative array and creates / removes
    * contacts from the groups
    *
    *
@@ -557,8 +557,8 @@ SELECT    *
   }
 
   /**
-   * @param $contactID
-   * @param $groupID
+   * @param int $contactID
+   * @param int $groupID
    *
    * @return bool
    */
index 4205fcddee31d8f5bac03a005772b47c2a27c590..acda3a755da8734156da24c0611193e78ac998a8 100644 (file)
@@ -198,7 +198,7 @@ AND    g.refresh_date IS NULL
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    */
   static function add($groupID) {
     // first delete the current cache
@@ -216,7 +216,7 @@ AND    g.refresh_date IS NULL
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param $values
    */
   static function store(&$groupID, &$values) {
@@ -385,7 +385,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
    * @param boolean $force - should we force a search through
index 6842abe134380e6afc5386747df0d1e16673a4f5..d6bb5c2f6317e45abb7a7d4b04b0e9e0f3e5c8a1 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen
   private $_alreadyStyled = FALSE;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($styleLabels = FALSE, $styleIndent = "&nbsp;--&nbsp;") {
     parent::__construct();
@@ -695,8 +695,8 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen
   }
 
   /**
-   * @param $contactId
-   * @param $parentGroupId
+   * @param int $contactId
+   * @param int $parentGroupId
    *
    * @return array
    */
index 6fa5bc88b00b06627ee0b4da6ce5be54bc5e457d..80a2cfcaf55a2a2f6328f26d884c2f1430ae869d 100644 (file)
@@ -118,7 +118,7 @@ WHERE  id = $id
 
   /**
    * @param $tree
-   * @param $id
+   * @param int $id
    *
    * @return bool
    */
@@ -141,7 +141,7 @@ WHERE  id = $id
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $groups
    *
    * @return array
@@ -168,7 +168,7 @@ WHERE  id = $id
   /**
    * @param $potential
    * @param $tree
-   * @param $id
+   * @param int $id
    * @param $token
    */
   static function invalidate(&$potential, &$tree, $id, $token) {
@@ -188,7 +188,7 @@ WHERE  id = $id
   /**
    * @param $all
    * @param $tree
-   * @param $id
+   * @param int $id
    * @param $token
    */
   static function getAll(&$all, &$tree, $id, $token) {
index 4f02128b04fbe1c0695183bf1e280bc44cf63ad6..160fa60ca21caf958b18f1d70bba8b303984e9fd 100644 (file)
 class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganization {
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
    *
@@ -108,7 +108,7 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    * @param $defaults
    */
   static function retrieve($groupID, &$defaults) {
@@ -140,7 +140,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 3fac04ba158f5fec4af146bf13722ef8233a476f..20805ab7adac7f2852a4e8bf39d391d2100b1bae 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 integer $primaryContactId     null if deleting primary contact
    * @param integer $contactId            contact id
index 341781d20b69be5038d6ad3741b40a36320d83ef..35e49068472b2faf0562eba829ee63b3cebb53f7 100644 (file)
@@ -333,7 +333,7 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * regenerates display_name for contacts with given prefixes/suffixes
+   * Regenerates display_name for contacts with given prefixes/suffixes
    *
    * @param array $ids     the array with the prefix/suffix id governing which contacts to regenerate
    * @param int   $action  the action describing whether prefix/suffix was UPDATED or DELETED
@@ -380,7 +380,7 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact {
   }
 
   /**
-   * creates display name
+   * Creates display name
    *
    * @return string  the constructed display name
    */
index 118d36d88a39df579d435fe66aea03615aa30787..21dfd712d8702ade8f87cddaf31c39ef75d407b5 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Contact_BAO_Query {
     MODE_MAILING = 16384;
 
   /**
-   * the default set of return properties
+   * The default set of return properties
    *
    * @var array
    * @static
@@ -66,7 +66,7 @@ class CRM_Contact_BAO_Query {
   static $_defaultReturnProperties = NULL;
 
   /**
-   * the default set of hier return properties
+   * The default set of hier return properties
    *
    * @var array
    * @static
@@ -74,7 +74,7 @@ class CRM_Contact_BAO_Query {
   static $_defaultHierReturnProperties;
 
   /**
-   * the set of input params
+   * The set of input params
    *
    * @var array
    */
@@ -86,21 +86,21 @@ class CRM_Contact_BAO_Query {
 
   public $_sort;
   /**
-   * the set of output params
+   * The set of output params
    *
    * @var array
    */
   public $_returnProperties;
 
   /**
-   * the select clause
+   * The select clause
    *
    * @var array
    */
   public $_select;
 
   /**
-   * the name of the elements that are in the select clause
+   * The name of the elements that are in the select clause
    * used to extract the values
    *
    * @var array
@@ -108,28 +108,28 @@ class CRM_Contact_BAO_Query {
   public $_element;
 
   /**
-   * the tables involved in the query
+   * The tables involved in the query
    *
    * @var array
    */
   public $_tables;
 
   /**
-   * the table involved in the where clause
+   * The table involved in the where clause
    *
    * @var array
    */
   public $_whereTables;
 
   /**
-   * the where clause
+   * The where clause
    *
    * @var array
    */
   public $_where;
 
   /**
-   * the where string
+   * The where string
    *
    * @var string
    *
@@ -137,7 +137,7 @@ class CRM_Contact_BAO_Query {
   public $_whereClause;
 
   /**
-   * additional permission Where Clause
+   * Additional permission Where Clause
    *
    * @var string
    *
@@ -145,7 +145,7 @@ class CRM_Contact_BAO_Query {
   public $_permissionWhereClause;
 
   /**
-   * the from string
+   * The from string
    *
    * @var string
    *
@@ -153,7 +153,7 @@ class CRM_Contact_BAO_Query {
   public $_fromClause;
 
   /**
-   * additional permission from clause
+   * Additional permission from clause
    *
    * @var string
    *
@@ -161,7 +161,7 @@ class CRM_Contact_BAO_Query {
   public $_permissionFromClause;
 
   /**
-   * the from clause for the simple select and alphabetical
+   * The from clause for the simple select and alphabetical
    * select
    *
    * @var string
@@ -169,7 +169,7 @@ class CRM_Contact_BAO_Query {
   public $_simpleFromClause;
 
   /**
-   * the having values
+   * The having values
    *
    * @var string
    *
@@ -199,28 +199,28 @@ class CRM_Contact_BAO_Query {
   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
    */
   public $_skipDeleteClause = FALSE;
 
   /**
-   * are we in strict mode (use equality over LIKE)
+   * Are we in strict mode (use equality over LIKE)
    *
    * @var boolean
    */
@@ -243,7 +243,7 @@ class CRM_Contact_BAO_Query {
   public $_primaryLocation = TRUE;
 
   /**
-   * are contact ids part of the query
+   * Are contact ids part of the query
    *
    * @var boolean
    */
@@ -264,14 +264,14 @@ class CRM_Contact_BAO_Query {
   public $_displayRelationshipType = NULL;
 
   /**
-   * reference to the query object for custom values
+   * Reference to the query object for custom values
    *
    * @var Object
    */
   public $_customQuery;
 
   /**
-   * should we enable the distinct clause, used if we are including
+   * Should we enable the distinct clause, used if we are including
    * more than one group
    *
    * @var boolean
@@ -284,7 +284,7 @@ class CRM_Contact_BAO_Query {
   public $_useGroupBy = FALSE;
 
   /**
-   * the relationship type direction
+   * The relationship type direction
    *
    * @var array
    * @static
@@ -292,7 +292,7 @@ class CRM_Contact_BAO_Query {
   static $_relType;
 
   /**
-   * the activity role
+   * The activity role
    *
    * @var array
    * @static
@@ -318,7 +318,7 @@ class CRM_Contact_BAO_Query {
   static $_withContactActivitiesOnly;
 
   /**
-   * use distinct component clause for component searches
+   * Use distinct component clause for component searches
    *
    * @var string
    */
@@ -327,7 +327,7 @@ class CRM_Contact_BAO_Query {
   public $_rowCountClause;
 
   /**
-   * use groupBy component clause for component searches
+   * Use groupBy component clause for component searches
    *
    * @var string
    */
@@ -405,7 +405,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
@@ -476,7 +476,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
    * @access private
@@ -1264,7 +1264,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 boolean $count
    * @param boolean $sortByChar
@@ -1383,7 +1383,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $grouping
    *
    * @return null
@@ -1480,7 +1480,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $values
    * @param int $wildcard
    * @param bool $useEquals
@@ -2308,7 +2308,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * getter for tables array
+   * Getter for tables array
    *
    * @return array
    * @access public
@@ -2328,7 +2328,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * generate the where clause (used in match contacts and permissions)
+   * Generate the where clause (used in match contacts and permissions)
    *
    * @param array $params
    * @param array $fields
@@ -2352,7 +2352,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
    *                      if null, return mimimal from clause (i.e. civicrm_contact)
@@ -2620,7 +2620,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * where / qill clause for contact_type
+   * Where / qill clause for contact_type
    *
    * @param $values
    *
@@ -2688,7 +2688,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * where / qill clause for contact_sub_type
+   * Where / qill clause for contact_sub_type
    *
    * @param $values
    *
@@ -2727,7 +2727,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * where / qill clause for groups
+   * Where / qill clause for groups
    *
    * @param $values
    *
@@ -2841,7 +2841,7 @@ class CRM_Contact_BAO_Query {
   }
 
   /**
-   * where / qill clause for smart groups
+   * Where / qill clause for smart groups
    *
    * @param $values
    *
@@ -2907,7 +2907,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for cms users
+   * Where / qill clause for cms users
    *
    * @param $values
    *
@@ -2931,7 +2931,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * all tag search specific
+   * All tag search specific
    *
    * @param $values
    *
@@ -2999,7 +2999,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for tag
+   * Where / qill clause for tag
    *
    * @param $values
    *
@@ -3086,7 +3086,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where/qill clause for notes
+   * Where/qill clause for notes
    *
    * @param $values
    *
@@ -3134,7 +3134,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $op
    * @param $grouping
    *
@@ -3164,7 +3164,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for sort_name
+   * Where / qill clause for sort_name
    *
    * @param $values
    *
@@ -3323,7 +3323,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for email
+   * Where / qill clause for email
    *
    * @param $values
    *
@@ -3366,7 +3366,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for phone number
+   * Where / qill clause for phone number
    *
    * @param $values
    *
@@ -3389,7 +3389,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for phone type/location
+   * Where / qill clause for phone type/location
    *
    * @param $values
    *
@@ -3407,7 +3407,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for street_address
+   * Where / qill clause for street_address
    *
    * @param $values
    *
@@ -3442,7 +3442,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for street_unit
+   * Where / qill clause for street_unit
    *
    * @param $values
    *
@@ -3477,7 +3477,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for sorting by character
+   * Where / qill clause for sorting by character
    *
    * @param $values
    *
@@ -3494,7 +3494,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for including contact ids
+   * Where / qill clause for including contact ids
    *
    * @return void
    * @access public
@@ -3516,7 +3516,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for postal code
+   * Where / qill clause for postal code
    *
    * @param $values
    *
@@ -3558,7 +3558,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for location type
+   * Where / qill clause for location type
    *
    * @param $values
    * @param null $status
@@ -3678,7 +3678,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for county (if present)
+   * Where / qill clause for county (if present)
    *
    * @param $values
    * @param null $status
@@ -3747,7 +3747,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for state/province AND country (if present)
+   * Where / qill clause for state/province AND country (if present)
    *
    * @param $values
    * @param null $status
@@ -3842,7 +3842,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for change log
+   * Where / qill clause for change log
    *
    * @param $values
    *
@@ -4023,7 +4023,7 @@ WHERE  id IN ( $groupIDs )
   }
 
   /**
-   * where / qill clause for relationship
+   * Where / qill clause for relationship
    *
    * @param $values
    *
@@ -4237,7 +4237,7 @@ civicrm_relationship.is_permission_a_b = 0
   }
 
   /**
-   * default set of return properties
+   * Default set of return properties
    *
    * @param int $mode
    *
@@ -4319,7 +4319,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
    *
@@ -4335,7 +4335,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
@@ -4452,7 +4452,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
    * @param int $rowCount the number of rows to return
@@ -4865,7 +4865,7 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
   }
 
   /**
-   * getter for the qill object
+   * Getter for the qill object
    *
    * @return string
    * @access public
@@ -4875,7 +4875,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
    * @access public
@@ -4960,9 +4960,9 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
 
   /**
    * @param $values
-   * @param $tableName
-   * @param $fieldName
-   * @param $dbFieldName
+   * @param string $tableName
+   * @param string $fieldName
+   * @param string $dbFieldName
    * @param $fieldTitle
    * @param bool $appendTimeStamp
    */
@@ -5073,9 +5073,9 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
 
   /**
    * @param $values
-   * @param $tableName
-   * @param $fieldName
-   * @param $dbFieldName
+   * @param string $tableName
+   * @param string $fieldName
+   * @param string $dbFieldName
    * @param $fieldTitle
    * @param null $options
    */
@@ -5463,7 +5463,7 @@ AND   displayRelType.is_active = 1
   }
 
   /**
-   * check and explode a user defined numeric string into an array
+   * Check and explode a user defined numeric string into an array
    * this was the protocol used by search builder in the old old days before we had
    * super nice js widgets to do the hard work
    *
@@ -5505,7 +5505,7 @@ AND   displayRelType.is_active = 1
   }
 
   /**
-   * convert the pseudo constants id's to their names
+   * Convert the pseudo constants id's to their names
    *
    * @param CRM_Core_DAO dao
    * @param bool $return
@@ -5581,7 +5581,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
index 33d9b0eacdb7300b78b79c74181dc92e34585b1c..c64e39e70211e9d38e269ccb0f4ed716e766be5a 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
    * @static
@@ -95,7 +95,7 @@ class CRM_Contact_BAO_Query_Hook {
 
   /**
    * @param $query
-   * @param $fnName
+   * @param string $fnName
    */
   public function alterSearchQuery(&$query, $fnName) {
     foreach (self::getSearchQueryObjects() as $obj) {
@@ -104,7 +104,7 @@ class CRM_Contact_BAO_Query_Hook {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $mode
    * @param $side
    *
index 36a072fb3519afd5929dcbffb114e92da04cc494..46dcba987e529d1302746656fb3eef0a564e5c76 100644 (file)
@@ -41,7 +41,7 @@ abstract class CRM_Contact_BAO_Query_Interface {
   abstract public function &getFields();
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $mode
    * @param $side
    *
index 839941d17c82f2340b9d7fac0d20256a0e3ae583..33f1e9c4e6c4606e6ba19749a65d0cf29e0f3ae9 100644 (file)
 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
    */
   CONST PAST = 1, DISABLED = 2, CURRENT = 4, INACTIVE = 8;
 
   /**
-   * takes an associative array and creates a relationship object
+   * Takes an associative array and creates a relationship object
    *
    *
    * @param array $params (reference ) an assoc array of name/value pairs
@@ -303,7 +303,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * get get list of relationship type based on the contact type.
+   * Get get list of relationship type based on the contact type.
    *
    * @param int $contactId this is the contact id of the current contact.
    * @param null $contactSuffix
@@ -422,7 +422,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $action
    *
    * @return CRM_Contact_DAO_Relationship
@@ -451,7 +451,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * delete the relationship
+   * Delete the relationship
    *
    * @param int $id relationship id
    *
@@ -500,7 +500,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * disable/enable the relationship
+   * Disable/enable the relationship
    *
    * @param int $id relationship id
    *
@@ -565,7 +565,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Function to get the other contact in a relationship
+   * Get the other contact in a relationship
    *
    * @param int $id relationship id
    *
@@ -587,7 +587,7 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   }
 
   /**
-   * Function to 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
    * @param int $contact_b 2nd contact id
@@ -628,7 +628,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
    * @param array $ids the array that holds all the db ids
@@ -655,7 +655,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
    * @param integer $id this the id of the contact whom we are adding relationship
@@ -732,7 +732,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
    * @param boolean $is_active value we want to set the is_active field
@@ -799,14 +799,14 @@ 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
    * @param int $status (check const at top of file)
    * @param int $numRelationship no of relationships to display (limit)
    * @param int $count get the no of relationships
    * $param int $relationshipId relationship id
-   * @param $relationshipId
+   * @param int $relationshipId
    * @param string $direction the direction we are interested in a_b or b_a
    * @param array $params array of extra values including relationship_type_id per api spec
    *
@@ -1151,7 +1151,7 @@ LEFT JOIN  civicrm_country ON (civicrm_address.country_id = civicrm_country.id)
   }
 
   /**
-   * Function to get get list of relationship type based on the target contact type.
+   * Get get list of relationship type based on the target contact type.
    *
    * @param string $targetContactType it's valid contact tpye(may be Individual , Organization , Household)
    *
@@ -1172,7 +1172,7 @@ LEFT JOIN  civicrm_country ON (civicrm_address.country_id = civicrm_country.id)
   }
 
   /**
-   * Function to create / update / delete membership for related contacts.
+   * Create / update / delete membership for related contacts.
    *
    * This function will create/update/delete membership for related
    * contact based on 1) contact have active membership 2) that
@@ -1434,7 +1434,7 @@ SELECT count(*)
   }
 
   /**
-   * Function to get Current Employer for Contact
+   * Get Current Employer for Contact
    *
    * @param $contactIds       Contact Ids
    *
@@ -1460,7 +1460,7 @@ WHERE id IN ( {$contacts} )
   }
 
   /**
-   * Function to return list of permissioned employer for a given contact.
+   * Return list of permissioned employer for a given contact.
    *
    * @param $contactID   int     contact id whose employers
    * are to be found.
index f20b58f1cb4d71ea02549a269ff790b8129ff462..6711f5c99601e499f7ee0358a158f92cab4f75c5 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
@@ -76,7 +76,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
    * @param array $ids    the array that holds all the db ids
@@ -131,7 +131,7 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType
   }
 
   /**
-   * delete Relationship Types
+   * Delete Relationship Types
    *
    * @param int $relationshipTypeId
    *
index 29ce54c14bd1d5198ef20601cd33633f1048984a..2581794f36f6809f00d9b141d23e8c540fc15325 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
    */
@@ -49,7 +49,7 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   }
 
   /**
-   * query the db for all saved searches.
+   * Query the db for all saved searches.
    *
    * @return array $aSavedSearch - contains the search name as value and and id as key
    *
@@ -88,7 +88,7 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   }
 
   /**
-   * given an id, extract the formValues of the saved search
+   * Given an id, extract the formValues of the saved search
    *
    * @param int $id the id of the saved search
    *
@@ -131,7 +131,7 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return array
    */
@@ -150,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
    * @param  array $tables (reference ) add the tables that are needed for the select clause
@@ -173,7 +173,7 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return string
    */
@@ -197,7 +197,7 @@ WHERE  $where";
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return array
    */
@@ -229,7 +229,7 @@ LEFT JOIN civicrm_email ON (contact_a.id = civicrm_email.contact_id AND civicrm_
   }
 
   /**
-   * given a saved search compute the clause and the tables
+   * Given a saved search compute the clause and the tables
    * and store it for future use
    */
   function buildClause() {
@@ -264,7 +264,7 @@ LEFT JOIN civicrm_email ON (contact_a.id = civicrm_email.contact_id AND civicrm_
   }
 
   /**
-   * given an id, get the name of the saved search
+   * Given an id, get the name of the saved search
    *
    * @param int $id the id of the saved search
    *
index 7d720f3a2a334ab3f3010173980d69c51f756e0f..13a9050d75935e9da049fdcad0a2f04a73a03920 100644 (file)
@@ -35,9 +35,9 @@
 class CRM_Contact_BAO_SearchCustom {
 
   /**
-   * @param $csID
-   * @param null $ssID
-   * @param null $gID
+   * @param int $csID
+   * @param int $ssID
+   * @param int $gID
    *
    * @return array
    * @throws Exception
@@ -100,8 +100,8 @@ class CRM_Contact_BAO_SearchCustom {
   }
 
   /**
-   * @param $csID
-   * @param $ssID
+   * @param int $csID
+   * @param int $ssID
    *
    * @return mixed
    * @throws Exception
@@ -120,8 +120,8 @@ class CRM_Contact_BAO_SearchCustom {
   }
 
   /**
-   * @param $csID
-   * @param $ssID
+   * @param int $csID
+   * @param int $ssID
    *
    * @return mixed
    */
@@ -150,8 +150,8 @@ class CRM_Contact_BAO_SearchCustom {
   }
 
   /**
-   * @param $csID
-   * @param $ssID
+   * @param int $csID
+   * @param int $ssID
    *
    * @return array
    */
index 09fe3ec06cf8c6205c481e373f79df5666e4b7b9..f97a899081629b86d416faa3ac3f98f020d4a7a6 100644 (file)
@@ -38,7 +38,7 @@
  */
 class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHistory {
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Contact_DAO_SubscriptionHistory
index a56bbbb788cd01ac533f9ea7bf213e69c6b64b0f..3b61d31edc0bb3d67ba2dc8a49e58f81fbd68cf9 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Contact_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $modal = TRUE, $action = CRM_Core_Action::NONE) {
     parent::__construct($title, $modal);
index 27d264fb2edab6e81b83762b02a7c0618e9ca93c..e26ad410e8865bad6c1a6ab7ea6b471db55dae06 100644 (file)
@@ -27,7 +27,7 @@ class CRM_Contact_DAO_Factory {
   static $_suffix = '.php';
 
   /**
-   * @param $className
+   * @param string $className
    *
    * @return mixed
    */
index 0f05b389601a1b687f05a4e82cc517faab8b6392..ac0ba7ec18dfbd686fe130657093c76728995ca7 100644 (file)
@@ -65,21 +65,21 @@ 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
    */
   public $_tid;
 
   /**
-   * name of de-dupe button
+   * Name of de-dupe button
    *
    * @var string
    * @access protected
@@ -87,7 +87,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
    * @access protected
@@ -118,7 +118,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;
 
@@ -130,7 +130,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
    * @access public
@@ -454,7 +454,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * do the set default related to location type id,
+   * Do the set default related to location type id,
    * primary location,  default country
    *
    */
@@ -584,7 +584,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
    * @param array $errors list of errors to be posted back to the form
@@ -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
    *
@@ -1104,7 +1104,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
    * @param $errors
@@ -1277,7 +1277,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
   }
 
   /**
-   * check parse result and if some address block fails then this
+   * Check parse result and if some address block fails then this
    * function return the status message for all address blocks.
    *
    * @param  $parseResult an array of address blk instance and its status.
index 9e9a6425aaf1d70f7c0febdada3557fec52144d3..8d9d3641cd007229aaf2d1488881f496b622174b 100644 (file)
@@ -51,14 +51,14 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
   protected $_tableId;
 
   /**
-   * entity type of the table id
+   * Entity type of the table id
    *
    * @var string
    */
   protected $_entityType;
 
   /**
-   * entity sub type of the table id
+   * Entity sub type of the table id
    *
    * @var string
    * @access protected
@@ -66,7 +66,7 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
   protected $_entitySubType;
 
   /**
-   * the group tree data
+   * The group tree data
    *
    * @var array
    */
@@ -94,7 +94,7 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
   protected $_groupCollapseDisplay;
 
   /**
-   * custom group id
+   * Custom group id
    *
    * @int
    * @access public
@@ -105,7 +105,7 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
 
   public $_copyValueId;
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for table name, id of entity in table, type of entity and stores them.
    *
index 5fcb98e83bc70823e4c89b98f7814eadeffbc852..3a17396beb332d214772a19a2cc2efd3e2cc2fbe 100644 (file)
 class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form {
 
   /**
-   * defined defaults
+   * Defined defaults
    *
    */
   public $_defaults;
 
   /**
-   * pre processing
+   * Pre processing
    *
    * @return void
    * @access public
index 2b125e8f5808e82f1f163e67d00a08aaa259804c..67353e372f5145fb0a111b8d3afcc566ac452eef 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
   protected $_rgid;
 
   /**
-   * pre processing
+   * Pre processing
    *
    * @return void
    * @access public
@@ -142,7 +142,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
    *
index 2ae812ce7ca2f707c949fa8252a1c2429b9203bb..af7d6a2de0714a5296d4a61540b6a2e0490f9134 100644 (file)
 class CRM_Contact_Form_Domain extends CRM_Core_Form {
 
   /**
-   * the group id, used when editing a group
+   * The group id, used when editing a group
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * the contact_id of domain
+   * The contact_id of domain
    *
    * @var int
    */
   protected $_contactId;
 
   /**
-   * default from email address option value id.
+   * Default from email address option value id.
    *
    * @var int
    */
   protected $_fromEmailId = NULL;
 
   /**
-   * default location type fields
+   * Default location type fields
    *
    * @var array
    */
   protected $_locationDefaults = array();
 
   /**
-   * how many locationBlocks should we display?
+   * How many locationBlocks should we display?
    *
    * @var int
    * @const
@@ -199,7 +199,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
    *
index 654ec493b7acb349740feb6103fd874aa5dd1be4..8778707995c373edc8224ad7ecb31fffbc6d09d0 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 - the index of the address array (if multiple addresses on a page)
@@ -253,7 +253,7 @@ class CRM_Contact_Form_Edit_Address {
   }
 
   /**
-   * check for correct state / country mapping.
+   * Check for correct state / country mapping.
    *
    * @param $fields
    * @param $files
@@ -312,7 +312,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
    * @param CRM_Core_Form $form     form object
index 1261ab57fb5f2ad631492f1db86408cc0b614a1d..3ad492998516572a95be8d249a8f063d595574ef 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Edit_CommunicationPreferences {
 
   /**
-   * greetings
+   * Greetings
    * @var array
    * @static
    */
@@ -131,7 +131,7 @@ class CRM_Contact_Form_Edit_CommunicationPreferences {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index a1a8e694177861be1f2054b4ce599f700c4851f2..7cedc2e76f490537d90e37dbe18f6928742b21af 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
    *
index 94395a252b235d2dfe3f41ea8032e9a9e1ef0966..839dfce3b900be7bf6f25e4ca352cf84d6d99932 100644 (file)
@@ -78,7 +78,7 @@ class CRM_Contact_Form_Edit_Household {
   }
 
   /**
-   * add rule for household
+   * Add rule for household
    *
    * @param array $fields array of form values
    * @param array $files - unused
index aeb44b4c98f34c6385a26a0c645f64eb92f2c1b1..d31b66e261256ce0876a3787cd6e7700931b0c75 100644 (file)
@@ -143,11 +143,11 @@ class CRM_Contact_Form_Edit_Individual {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return true if no errors, else array of errors
    * @access public
index 83dfa867637a902efb381e013407c3f0dcc85d17..52b9d3b39ffe8e2745663eb546338b314fd46a56 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contact_Form_Edit_Lock {
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return true if no errors, else array of errors
    * @access public
index 21fb3759d3de6f92778c553947050b10d20b968a..cdc05ddd625814e32a8823236185712a9affeeff 100644 (file)
@@ -89,7 +89,7 @@ class CRM_Contact_Form_Edit_Organization {
   /**
    * @param $fields
    * @param $files
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return array|bool
    */
index 4745134eea762c50d84a9ca49856379be46617a8..b29fa733dfc0c180a8ffa0dadbf930c3350abaaa 100644 (file)
@@ -35,7 +35,7 @@
 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
    */
@@ -195,7 +195,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
    * @param array $defaults the defaults array to store the values in
index cc1a1b9109a9c79ccd8b71ca0f4484e3e9ade98b..0bc959330cf39e25b8b7827ce847e17c9ad2005d 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
 
   /**
-   * location block no
+   * Location block no
    */
   private $_locBlockNo;
 
@@ -49,17 +49,17 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   public $_parseStreetAddress;
 
   /**
-   * store address values
+   * Store address values
    */
   public $_values;
 
   /**
-   * form action
+   * Form action
    */
   public $_action;
 
   /**
-   * address id
+   * Address id
    */
   public $_addressId;
 
@@ -76,7 +76,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * call preprocess
+   * Call preprocess
    */
   public function preProcess() {
     parent::preProcess();
@@ -131,7 +131,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * set defaults for the form
+   * Set defaults for the form
    *
    * @return array
    * @access public
@@ -161,7 +161,7 @@ class CRM_Contact_Form_Inline_Address extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 5008ab2e666fa23ebb418d9b3c92cba5ba6a6225..058de1f4a25c191e477b9bc3166bf2246844b7c6 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_
   }
 
   /**
-   * set defaults for the form
+   * Set defaults for the form
    *
    * @return array
    * @access public
@@ -82,7 +82,7 @@ class CRM_Contact_Form_Inline_CommunicationPreferences extends CRM_Contact_Form_
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index f2a25ad6403497a09a15ed684e62f4457da8fc4c..b06ed185f0a6c7daa3fea6f6c7e343125df453b8 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * set defaults for the form
+   * Set defaults for the form
    *
    * @return array
    * @access public
@@ -63,7 +63,7 @@ class CRM_Contact_Form_Inline_ContactInfo extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 19f493f3145f3d25696631a763d3eca02d88d560..1e4749866d604bce7e467fd81baf74f140faf204 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contact_Form_Inline_ContactName extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 02e57e169851f2db3ea0ea0ff9c85e3d4813bce1..a587e4244f52b8c781e38afba9591be7ccf1f94c 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
 
   /**
-   * custom group id
+   * Custom group id
    *
    * @int
    * @access public
@@ -47,14 +47,14 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
   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();
@@ -80,7 +80,7 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * set defaults for the form
+   * Set defaults for the form
    *
    * @return array
    * @access public
@@ -90,7 +90,7 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 8a7495caf6cbbed64ce9fb714e41626ed4a36157..fba13c30abbc20737c3cfe7335794baf01052480 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Contact_Form_Inline_Demographics extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 4e2ea860aa257c23ea219553f7ca41b2631819ac..f3d5bec3c0831198c83b468d5f0960407d1d7cbc 100644 (file)
@@ -39,7 +39,7 @@
 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();
 
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   private $_blockCount = 6;
 
   /**
-   * call preprocess
+   * Call preprocess
    */
   public function preProcess() {
     parent::preProcess();
@@ -97,7 +97,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
    * @param array $errors list of errors to be posted back to the form
@@ -132,7 +132,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * set defaults for the form
+   * Set defaults for the form
    *
    * @return array
    * @access public
@@ -154,7 +154,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 101ca7208f2ab3a4de1b8c5dceee34c41304d2d3..90f4a846e00631d36d83a8cf7f2e71161c63c524 100644 (file)
@@ -39,7 +39,7 @@
 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();
 
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   private $_blockCount = 6;
 
   /**
-   * call preprocess
+   * Call preprocess
    */
   public function preProcess() {
     parent::preProcess();
@@ -97,7 +97,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
    * @param array $errors list of errors to be posted back to 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
    * @access public
@@ -155,7 +155,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 6587732a15579ee587b6e23e75d16ab5a8828452..b9a8ac94d68289d0479971c978363a02fc6d0b92 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Contact_Form_Inline_Lock {
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return true if no errors, else array of errors
    * @access public
@@ -90,7 +90,7 @@ class CRM_Contact_Form_Inline_Lock {
   /**
    * Return any post-save data
    *
-   * @param $contactID
+   * @param int $contactID
    *
    * @return array extra options to return in JSON
    */
index 49920d8ccaac038b16988b3e944a598b5982749c..137d1703376c7bd44f4576ccb40905f8d4012c10 100644 (file)
@@ -39,7 +39,7 @@
 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();
 
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   private $_blockCount = 6;
 
   /**
-   * call preprocess
+   * Call preprocess
    */
   public function preProcess() {
     parent::preProcess();
@@ -97,7 +97,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
    * @param array $errors list of errors to be posted back to 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
    * @access public
@@ -155,7 +155,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 42e0ae27a3bdcace79a9a16da4d6e6fbf29ed69c..6d940f6544c017573f5b525f8b70e245a479062d 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
 
   /**
-   * phones of the contact that is been viewed
+   * Phones of the contact that is been viewed
    */
   private $_phones = array();
 
@@ -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();
@@ -97,7 +97,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
    * @param array $errors list of errors to be posted back to 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
    * @access public
@@ -156,7 +156,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index af51305a69a5ee1678364156bbaf9d73b7f17b9b..4900202ad1eb56a6155be8a4c6962e5bbdd56870 100644 (file)
@@ -39,7 +39,7 @@
 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();
 
@@ -49,7 +49,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
   private $_blockCount = 6;
 
   /**
-   * call preprocess
+   * Call preprocess
    */
   public function preProcess() {
     parent::preProcess();
@@ -95,7 +95,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * set defaults for the form
+   * Set defaults for the form
    *
    * @return array
    * @access public
@@ -117,7 +117,7 @@ class CRM_Contact_Form_Inline_Website extends CRM_Contact_Form_Inline {
   }
 
   /**
-   * process the form
+   * Process the form
    *
    * @return void
    * @access public
index 5e49549418615d0c79356e5d52d5cea57e9edbd6..4086579e6f6452045c781e8eda0ebf53e611ba2e 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
    *
index e8276c8fff53fc74cfc300960370c10f52b0f5ce..b2d3e75da06d9a71c08a2fbfc2d197ee0d4c8bb4 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
    *
@@ -75,7 +75,7 @@ class CRM_Contact_Form_ProfileContact {
   }
 
   /**
-   * build form for honoree contact / on behalf of organization.
+   * Build form for honoree contact / on behalf of organization.
    *
    * @param CRM_Core_Form $form
    *
index e950ed69c3fe789576c12db171f9606bfe586f91..ec8a205936a4c01becae6ceb4d847c807326ba48 100644 (file)
@@ -58,14 +58,14 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form {
   public $_contactId;
 
   /**
-   * form defaults
+   * Form defaults
    *
    * @var array
    */
   protected $_defaults = array();
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
index d35d643c6fd056f99906e7c0889aed3a8d2f2c29..45ff98c3f9538180cbe0d42975965b1f938c1b34 100644 (file)
@@ -85,7 +85,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form {
   public $_relationshipTypeId;
 
   /**
-   * an array of all relationship names
+   * An array of all relationship names
    *
    * @var array
    */
@@ -112,7 +112,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form {
   public $_values;
 
   /**
-   * casid if it called from case context
+   * Casid if it called from case context
    */
   public $_caseId;
 
@@ -541,7 +541,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 077acf7c8a2be318980e36966e8331d1e197880a..a76a84914ca0050459d5d655499be8d5f308f784 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   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
@@ -68,7 +68,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   protected $_contextMenu;
 
   /**
-   * the groupId retrieved from the GET vars
+   * The groupId retrieved from the GET vars
    *
    * @var int
    * @access public
@@ -76,7 +76,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   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
@@ -85,7 +85,7 @@ 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
    * @access protected
@@ -93,7 +93,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   protected $_ssID;
 
   /**
-   * the group elements
+   * The group elements
    *
    * @var array
    * @access public
@@ -103,7 +103,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   public $_groupIterator;
 
   /**
-   * the tag elements
+   * The tag elements
    *
    * @var array
    * @access protected
@@ -144,7 +144,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   protected $_ufGroupID;
 
   /**
-   * csv - common search values
+   * Csv - common search values
    *
    * @var array
    * @access protected
@@ -166,7 +166,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;
@@ -175,7 +175,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
    * @access protected
@@ -478,7 +478,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
    * @access public
index 77e9d5389e8c8147053f85c3e96b86310dafea20..5a8e7e1a41ad8fa380f625957365809e833a328e 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
    * @access public
@@ -329,7 +329,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
   }
 
   /**
-   * normalize the form values to make it look similar to the advanced form values
+   * Normalize the form values to make it look similar to the advanced form values
    * this prevents a ton of work downstream and allows us to use the same code for
    * multiple purposes (queries, save/edit etc)
    *
@@ -392,7 +392,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 $defaults array
    * @return array
index 0ed93d30166a273696435b6d9b2d9f0a3acf6379..5eb4ff2d8bbcf345151df525190f169b7bf2044f 100644 (file)
@@ -147,7 +147,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
    * @access public
@@ -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
    * @access public
@@ -217,7 +217,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
   }
 
   /**
-   * normalize the form values to make it look similar to the advanced form values
+   * Normalize the form values to make it look similar to the advanced form values
    * this prevents a ton of work downstream and allows us to use the same code for
    * multiple purposes (queries, save/edit etc)
    *
index 53c2146bf1e783a2067c2f7457f175e75cfef5c0..614ee325d89e8d2e4c7881784ee2c6b3c914c0d5 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
 
   /**
-   * number of columns in where
+   * Number of columns in where
    *
    * @var int
    * @access public
@@ -47,7 +47,7 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
   public $_columnCount;
 
   /**
-   * number of blocks to be shown
+   * Number of blocks to be shown
    *
    * @var int
    * @access public
@@ -137,7 +137,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
index fa16c44afa6f5b91faa7bf50318bd6fadacdb0f6..94f709d8cfc16c2c5a2ca15d0305b6685b750aef 100644 (file)
@@ -34,7 +34,7 @@
  */
 class CRM_Contact_Form_Search_Criteria {
   /**
-   * @param $form CRM_Core_Form
+   * @param CRM_Core_Form $form
    */
   static function basic(&$form) {
     $form->addElement('hidden', 'hidden_basic', 1);
index 7c8ec8dd49350b80cd98b123ccfbf8c4a17ea979..b8a13f027a5a79590afd24b312919f0d5b7c22dd 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Contact_Form_Search_Custom_Basic extends CRM_Contact_Form_Search_Custo
   }
 
   /**
-   * normalize the form values to make it look similar to the advanced form values
+   * Normalize the form values to make it look similar to the advanced form values
    * this prevents a ton of work downstream and allows us to use the same code for
    * multiple purposes (queries, save/edit etc)
    *
index b2be2c995c90465ea17a17dca2bbec6c0e49c2c0..a50ca5a50db1cdba41e77d1035104f1036768d8c 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Contact_Form_Search_Custom_FullText_Contribution extends CRM_Contact_F
   }
 
   /**
-   * get contribution ids in entity tables.
+   * Get contribution ids in entity tables.
    *
    * @param string $queryText
    * @param string $entityIDTableName
index 6c30c3698e707f75bf176341cde180740ec7f280..138dd2667ecf9baf8e600a6de79cc3c9eae10402 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Contact_Form_Search_Custom_FullText_Membership extends CRM_Contact_For
   }
 
   /**
-   * get membership ids in entity tables.
+   * Get membership ids in entity tables.
    *
    * @param string $queryText
    * @param string $entityIDTableName
index 2312c214d42f6f84d5bdc539f238de8259f6917b..4847189477bb8707dfd7b8a324ee73d716ab82b4 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Contact_Form_Search_Custom_FullText_Participant extends CRM_Contact_Fo
   }
 
   /**
-   * get participant ids in entity tables.
+   * Get participant ids in entity tables.
    *
    * @param string $queryText
    * @param string $entityIDTableName
index 9f361bd4641cc3b5dcca71422f7e9fc63d5f1d27..196834af1f3cb270c76b584bb0e8ab3adc564aea 100644 (file)
@@ -155,7 +155,7 @@ WHERE participant_id = $participantID;
   }
 
   /**
-   * @param null $eventID
+   * @param int $eventID
    *
    * @return Object
    */
index 9101fdd608c5a29d6f7dc5c9be75e345b9b541c1..c905d054f2826ff77d3dff41ae1ad13272579c3c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -87,7 +87,7 @@ class CRM_Contact_Form_Task extends CRM_Core_Form {
   static protected $_searchFormValues;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -278,7 +278,7 @@ class CRM_Contact_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * get the contact id for custom search
+   * Get the contact id for custom search
    * we are not using prev/next table incase of custom search
    */
   public function getContactIds() {
@@ -359,7 +359,7 @@ class CRM_Contact_Form_Task 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
    *
    * @access public
    *
@@ -369,7 +369,7 @@ class CRM_Contact_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 title of the main button
@@ -396,7 +396,7 @@ class CRM_Contact_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * replace ids of household members in $this->_contactIds with the id of their household.
+   * Replace ids of household members in $this->_contactIds with the id of their household.
    * CRM-8338
    *
    * @access public
index 310d8a3e10196e89ceda531c6d7b10efc845d282..86a7a38bec0e44aca244354e118ce336194e03a1 100644 (file)
@@ -48,21 +48,21 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   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
    * @access public
@@ -180,7 +180,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
    *
@@ -202,7 +202,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
    *
    * @access public
    *
index 75589dab4b7d2452be6af4f82ff1e995d350df0b..01caf40f1f2bd672281682285be7004367b6f0a6 100644 (file)
@@ -110,7 +110,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
    *
    * @access public
    *
index 8248d00e421c3a78cb736449b3cb49bd6f46c9cc..68c26ae719ec3fd3002676276c93bd4f35d9a660 100644 (file)
@@ -112,7 +112,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
    *
    * @access public
    *
index 4b756b9d85e8a5e5dd7a26a79988098e4c6c8d4c..d17a9bdff1027f886640b62a61e7a1d9f4d80a7b 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
    */
@@ -94,7 +94,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
    *
    * @access public
    *
index 3801062236eaed7930c613e2325c06885b986f37..9950d1c02dd06e69cb691751d7698a3a826f9789 100644 (file)
@@ -95,7 +95,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
    *
    * @access public
    *
index 465a6708bf59b3ac6c2df467a674ab4fc6c55a1e..0b994af973a6ba11e62a30fbad99b9cb529358fa 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
    * @access public
@@ -196,7 +196,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
    *
@@ -224,7 +224,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
    *
    * @access public
    *
@@ -266,7 +266,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 form object
    */
index 661650b28f685b4a5b71b1a4d0737b328b515de6..002950e64572e2a865f80354d391e0767d4ce7eb 100644 (file)
@@ -49,12 +49,12 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * cache shared address message so we don't query twice
+   * Cache shared address message so we don't query twice
    */
   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
    * @access public
@@ -174,7 +174,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
    * @param array $files   the uploaded files if any
@@ -194,7 +194,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
    *
    * @access public
    *
index 21baaadbeb9af865e17aeebdb29e777f6cc153eb..4ed14e81cf8f04d9a47a33183e967540bafd9609 100644 (file)
@@ -56,44 +56,44 @@ 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();
 
   /**
-   * store all selected contact id's, that includes to, cc and bcc contacts
+   * Store all selected contact id's, that includes to, cc and bcc contacts
    * @var array
    */
   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
    * @access public
@@ -164,7 +164,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
    *
    * @access public
    *
index 24585fea951143f17260f3643c52dfba5ccef4bc..a3d112a165adcbd3cb053dc07f40ee1a87cd0422 100644 (file)
@@ -317,7 +317,7 @@ class CRM_Contact_Form_Task_EmailCommon {
   }
 
   /**
-   * form rule
+   * Form rule
    *
    * @param array $fields    the input form values
    * @param array $dontCare
@@ -346,7 +346,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
    *
    * @access public
    *
index aefca7fc7e5ec01d767babdd96d1c3f050f8eb49..013c108ad411624565ea88fac93fa80bd60bf7ab 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
    * @access public
@@ -85,7 +85,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
    *
    * @access public
    *
index ccbe82505a2cf15dc49d9603518f91774e0f3cbc..e3711ee5d01f9522fc0a83c750224c71f7a1d3d8 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
    * @access public
@@ -109,7 +109,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
    *
    * @access public
    *
@@ -374,7 +374,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
     return FALSE;
   }
   /**
-   * create labels (pdf)
+   * Create labels (pdf)
    *
    * @param   array    $contactRows   assciated array of contact data
    * @param   string   $format   format in which labels needs to be printed
@@ -402,7 +402,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
   }
 
   /**
-   * create the array of returnProperties
+   * Create the array of returnProperties
    *
    * @param   string   $format   format for which return properties build
    *
index 8af30fb3d36e2200b2ae06340b2737af090b60a0..cd08d54c95d40ab0864bf358a8c2df7614ae909f 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Contact_Form_Task_LabelCommon {
     return FALSE;
   }
   /**
-   * create labels (pdf)
+   * Create labels (pdf)
    *
    * @param   array    $contactRows   assciated array of contact data
    * @param   string   $format   format in which labels needs to be printed
@@ -87,7 +87,7 @@ class CRM_Contact_Form_Task_LabelCommon {
 
 
   /**
-   * get the rows for the labels
+   * Get the rows for the labels
    *
    * @param $contactIDs
    * @param integer $locationTypeID
@@ -258,7 +258,7 @@ class CRM_Contact_Form_Task_LabelCommon {
   }
 
   /**
-   * extract the return properties from the mailing format
+   * Extract the return properties from the mailing format
    * @todo I'm placing bets this is a duplicate of code elsewhere - find & merge
    * @param unknown_type $format
    * @return multitype:number
index 10416281724fc8c7516846d42c2313770eaf77fd..cccfb10373d3c6f1edcae3f47b0dc4d0794e2d36 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
    * @access public
@@ -133,7 +133,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
    *
    * @access public
    *
@@ -142,7 +142,7 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   public function postProcess() {}
 
   /**
-   * 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 location_id
index bca9f0bb754d0817d517062f04f88763a2af02f5..46595968a165acfb674d84c332656171a6bb06d1 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
    * @access public
index 6df9c7412710561d4170a9042e801492137c187b..0ed24c257ccd64c75bbe42b20dc0167df0d33729 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
    * @access public
index f2e52cdad0af55aad1eab80815fe7b2a664baa53..1104b66a2429eb9bf1cfd3ef73c20a2cd461e8d9 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
    * @access public
@@ -123,7 +123,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
    *
    * @access public
    *
index e42cb9edcd14eaeac2301c549efb79d20f6b3914..ea36fb09d5b8a5af671df926b9f5f66b4355b117 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
    *
@@ -65,7 +65,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
 
   /**
    * @param CRM_Core_Form $form
-   * @param $cid
+   * @param int $cid
    */
   static function preProcessSingle(&$form, $cid) {
     $form->_contactIds = array($cid);
@@ -202,7 +202,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   }
 
   /**
-   * form rule
+   * Form rule
    *
    * @param array $fields    the input form values
    * @param array $dontCare
@@ -236,7 +236,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
    *
    * @access protected
    *
@@ -311,7 +311,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
    *
    * @access public
    *
index aa2fb1f060dcd814823b38e31f1b48bc694cf890..0154f6b9d763ce242c035dee4d36a7b267c5a60f 100644 (file)
 class CRM_Contact_Form_Task_PickProfile 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;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -137,7 +137,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
    *
@@ -158,7 +158,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
    *
    * @access public
    *
index fc798c302ef5b8cda19621a18f74765a0add31ea..e165cc34a62b2239e42e3a31b250cc35f3d197a5 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
    * @access public
@@ -133,7 +133,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
    *
    * @access public
    *
index 43a08a867c33f738b862e1091502cd4fadca560d..350536f658ea750eb3881df3f8404e8293823c22 100644 (file)
@@ -46,21 +46,21 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
   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
    * @access public
@@ -108,7 +108,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
    * @param array $files the uploaded files if any
index 696b19f61132a9b23b198ea83e79d1a91c3d082d..eef3849b066639119a5b856dd057bc7352e62048 100644 (file)
@@ -73,7 +73,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
    *
    * @access public
    *
index 1ba3101701730aa747170738eafd3cb10a5f25ac..062d5740bcd4d9c3ba3d228d907081aa13604781 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
    */
@@ -91,7 +91,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
    *
    * @access public
    *
index 4fb1b0e6456e058f870b918dcf6c65ec426fdfd1..b3be6fe45eb5d825f4456f4204d4736f303f8fc8 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
    * @access public
index d2f826a351b46a451d0d23440edf480ba9949687..79c80114d0b78a0bbd4a0ef38fd5247f002addaf 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
    */
@@ -87,7 +87,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
    *
    * @access public
    *
index 8ca6676f50056cd363f986615dd5b920c2d8a7e1..2814852094bfc2fc38360bf69d48b8a25ca7c079 100644 (file)
@@ -300,7 +300,7 @@ class CRM_Contact_Form_Task_SMSCommon {
   }
 
   /**
-   * form rule
+   * Form rule
    *
    * @param array $fields    the input form values
    * @param array $dontCare
@@ -337,7 +337,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
    *
    * @access public
    *
index bedb4169486c489b48c620a6fa2a58c6b6ecde53..b8ec55715835ee9f6e873a87e49653b05aae30ce 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
    * @access public
@@ -144,7 +144,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
    *
    * @access public
    *
index 2e1624a6817ea90aa6219ef9af271126001f2894..16466128cb829f509ba46a2deeb3550598ecd565 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
    * @access public
index fafecf278d52885013e0d8440b95a654ae96bdbc..16a7b25ac18ac348003f20504dbc04cf2aa83b1b 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
    * @access public
index 018e1c86d40b1a23675d22ccf5d0d112237ba95f..124a1c8b2cc203e784404a4a57da46cddf1cf068 100755 (executable)
@@ -39,7 +39,7 @@ class CRM_Contact_Form_Task_Useradd extends CRM_Core_Form {
   protected $_contactId;
 
   /**
-   * contact.display_name of contact for whom we are adding user
+   * Contact.display_name of contact for whom we are adding user
    *
    * @var int
    * @public
@@ -47,7 +47,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
    * @public
index d5536b2505f9015a65c3fcf7eb41ada6d7dd574e..73e80c4b53bac8b87ba04f37e3e481fc5f321633 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contact_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index 247ad9863384e3b6c4d9034d1711b9a4330146ec..0391865bb01aff36987f43fb43ca9903fc93bec5 100644 (file)
@@ -36,101 +36,101 @@ class CRM_Contact_Import_Field {
    */
 
   /**
-   * name of the field
+   * Name of the field
    */
   public $_name;
 
   /**
-   * title of the field to be used in display
+   * Title of the field to be used in display
    */
   public $_title;
 
   /**
-   * type of field
+   * Type of field
    * @var enum
    */
   public $_type;
 
   /**
-   * is this field required
+   * Is this field required
    * @var boolean
    */
   public $_required;
 
   /**
-   * data to be carried for use by a derived class
+   * Data to be carried for use by a derived class
    * @var object
    */
   public $_payload;
 
   /**
-   * regexp to match the CSV header of this column/field
+   * Regexp to match the CSV header of this column/field
    * @var string
    */
   public $_columnPattern;
 
   /**
-   * regexp to match the pattern of data from various column/fields
+   * Regexp to match the pattern of data from various column/fields
    * @var string
    */
   public $_dataPattern;
 
   /**
-   * regexp to match the pattern of header from various column/fields
+   * Regexp to match the pattern of header from various column/fields
    * @var string
    */
   public $_headerPattern;
 
   /**
-   * location type
+   * Location type
    * @var int
    */
   public $_hasLocationType;
 
   /**
-   * does this field have a phone type
+   * Does this field have a phone type
    * @var string
    */
   public $_phoneType;
 
   /**
-   * value of this field
+   * Value of this field
    * @var object
    */
   public $_value;
 
   /**
-   * does this field have a relationship info
+   * Does this field have a relationship info
    * @var string
    */
   public $_related;
 
   /**
-   * does this field have a relationship Contact Type
+   * Does this field have a relationship Contact Type
    * @var string
    */
   public $_relatedContactType;
 
   /**
-   * does this field have a relationship Contact Details
+   * Does this field have a relationship Contact Details
    * @var string
    */
   public $_relatedContactDetails;
 
   /**
-   * does this field have a related Contact info of Location Type
+   * Does this field have a related Contact info of Location Type
    * @var int
    */
   public $_relatedContactLocType;
 
   /**
-   * does this field have a related Contact info of Phone Type
+   * Does this field have a related Contact info of Phone Type
    * @var string
    */
   public $_relatedContactPhoneType;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $columnPattern
@@ -165,7 +165,7 @@ class CRM_Contact_Import_Field {
   }
 
   /**
-   * the value is in string format. convert the value to the type of this field
+   * The value is in string format. convert the value to the type of this field
    * and set the field value with the appropriate type
    */
   function setValue($value) {
index 90cc1ac0cd2c9bbdc2c9f5b80c142458c403e46f..61c2ea2ec51273156fbb1e519b6e437b379d0366 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
    * @access public
@@ -374,7 +374,7 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
    * Returns the name of the primary key and status columns
    *
    * @param $db
-   * @param $importTableName
+   * @param string $importTableName
    *
    * @return array
    * @access private
index 3694f77c59437bdb5a0a10d55a679c931eadc9a2..5699e2b90e83e40ecf7e76631b4af4e544f61acb 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * an array of all contact fields with
+   * An array of all contact fields with
    * formatted custom field names.
    *
    * @var array
@@ -49,7 +49,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   protected $_formattedFieldNames;
 
   /**
-   * on duplicate
+   * On duplicate
    *
    * @var int
    */
@@ -93,7 +93,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
    * @access public
@@ -622,7 +622,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
    *
@@ -977,7 +977,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
   }
 
   /**
-   * format custom field name.
+   * Format custom field name.
    * combine group and field name to avoid conflict.
    *
    * @param $fields
index d8f3fd5a14fe03215374f2a5cbaab8793f023089..687d22a35830c3b06f3fa8d2f84954071abdb50a 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
    * @access public
@@ -188,7 +188,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 9084ba82e2b43272e6b1adb8b07ac10fe0959ce2..b943d2a13713c90345ab63dfc1c75e7fa678ef70 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
    * @access public
index 797c6d23f69518e1c7a29467a4cb19f9e5b0ca85..ffb58217c4a7434baab34d8279e499e131042a20 100644 (file)
@@ -339,7 +339,7 @@ class CRM_Contact_Import_ImportJob {
 
   /**
    * @param $contactIds
-   * @param $newGroupName
+   * @param string $newGroupName
    * @param $newGroupDesc
    *
    * @return array|bool
@@ -392,7 +392,7 @@ class CRM_Contact_Import_ImportJob {
 
   /**
    * @param $contactIds
-   * @param $newTagName
+   * @param string $newTagName
    * @param $newTagDesc
    *
    * @return array|bool
index b40fd776b0e3fcd08fbb441cec6b73c5c2023fd6..bfd3f8c387419c49e6e762088e590e653690b0f2 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contact_Import_Page_AJAX {
 
   /**
-   * show import status
+   * Show import status
    */
   static function status() {
     // make sure we get an id
index 9d400fab964f88d78c1108a0efe5abe22c3b6a98..7014de7c69fa1d308f1f916a3c6017d11e974499 100644 (file)
@@ -44,27 +44,27 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
    */
 
   /**
-   * total number of lines in file
+   * Total number of lines in file
    */
   protected $_rowCount;
 
   /**
-   * running total number of un matched Conact
+   * Running total number of un matched Conact
    */
   protected $_unMatchCount;
 
   /**
-   * array of unmatched lines
+   * Array of unmatched lines
    */
   protected $_unMatch;
 
   /**
-   * total number of contacts with unparsed addresses
+   * Total number of contacts with unparsed addresses
    */
   protected $_unparsedAddressCount;
 
   /**
-   * filename of mismatch data
+   * Filename of mismatch data
    *
    * @var string
    */
@@ -74,33 +74,33 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   protected $_statusFieldName;
 
   /**
-   * on duplicate
+   * On duplicate
    *
    * @var int
    */
   public $_onDuplicate;
 
   /**
-   * dedupe rule group id to use if set
+   * Dedupe rule group id to use if set
    *
    * @var int
    */
   public $_dedupeRuleGroupID = NULL;
 
   /**
-   * @param $tableName
+   * @param string $tableName
    * @param $mapper
    * @param int $mode
    * @param int $contactType
    * @param string $primaryKeyName
    * @param string $statusFieldName
    * @param int $onDuplicate
-   * @param null $statusID
+   * @param int $statusID
    * @param null $totalRowCount
    * @param bool $doGeocodeAddress
    * @param int $timeout
    * @param null $contactSubType
-   * @param null $dedupeRuleGroupID
+   * @param int $dedupeRuleGroupID
    *
    * @return mixed
    */
@@ -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
    * @access public
@@ -644,7 +644,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
@@ -729,7 +729,7 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   /**
    * Export data to a CSV file
    *
-   * @param $fileName
+   * @param string $fileName
    * @param array $header
    * @param array $data
    *
index 2b47f9dea0deadbcb9eb177b717167ffb45a935d..b15f5c212e53f543da2169169596888b46542793 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
    */
   function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL, $mapperImProvider = NULL, $mapperRelated = NULL, $mapperRelatedContactType = NULL, $mapperRelatedContactDetails = NULL, $mapperRelatedContactLocType = NULL, $mapperRelatedContactPhoneType = NULL, $mapperRelatedContactImProvider = NULL,
     $mapperWebsiteType = NULL, $mapperRelatedContactWebsiteType = NULL
@@ -123,7 +123,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -244,7 +244,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
    *
@@ -256,7 +256,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
    *
@@ -268,7 +268,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
    *
@@ -437,7 +437,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
    * @param array $values the array of values belonging to this line
@@ -1088,7 +1088,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -1096,7 +1096,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   function fini() {}
 
   /**
-   * check if an error in custom data
+   * Check if an error in custom data
    *
    * @param array $params
    * @param String $errorMessage A string containing all the error-fields.
@@ -1317,7 +1317,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * check if an error in Core( non-custom fields ) field
+   * Check if an error in Core( non-custom fields ) field
    *
    * @param array $params
    * @param String $errorMessage A string containing all the error-fields.
@@ -1588,7 +1588,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
@@ -1608,7 +1608,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * function to build error-message containing error-fields
+   * Build error-message containing error-fields
    *
    * @param String   $errorName      A string containing error-field name.
    * @param String   $errorMessage   A string containing all the error-fields, where the new errorName is concatenated.
@@ -1626,7 +1626,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * method for creating contact
+   * Method for creating contact
    *
    *
    */
@@ -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 $params       array  reference to an array containing all the
    * values for import
@@ -1796,7 +1796,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * convert any given date string to default date array.
+   * Convert any given date string to default date array.
    *
    * @param array  $params     has given date-format
    * @param array  $formatted  store formatted date in this array
@@ -1811,7 +1811,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * format common params data to proper format to store.
+   * Format common params data to proper format to store.
    *
    * @param array  $params        contain record values.
    * @param array  $formatted     array of formatted data.
@@ -2034,7 +2034,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
   }
 
   /**
-   * Function to generate status and error message for unparsed street address records.
+   * Generate status and error message for unparsed street address records.
    *
    * @param array $values the array of values belonging to each row
    * @param array $statusFieldName store formatted date in this array
index 73c242f11d31d7c816747a535072a198321d0254..6c98c8d7a530995504a28edc93cfff5b2984d496 100644 (file)
@@ -196,7 +196,7 @@ class CRM_Contact_Page_AJAX {
   }
 
   /**
-   * fetch PCP ID by PCP Supporter sort_name, also displays PCP title and associated Contribution Page title
+   * Fetch PCP ID by PCP Supporter sort_name, also displays PCP title and associated Contribution Page title
    */
   static function getPCPList() {
     $name  = CRM_Utils_Array::value('s', $_GET);
@@ -317,7 +317,7 @@ class CRM_Contact_Page_AJAX {
   }
 
   /**
-   * fetch the custom field help
+   * Fetch the custom field help
    */
   static function customField() {
     $fieldId          = CRM_Utils_Type::escape($_REQUEST['id'], 'Integer');
@@ -518,7 +518,7 @@ ORDER BY sort_name ";
   }
 
   /**
-   * delete custom value
+   * Delete custom value
    *
    */
   static function deleteCustomValue() {
@@ -537,7 +537,7 @@ ORDER BY sort_name ";
   }
 
   /**
-   * Function to perform enable / disable actions on record.
+   * Perform enable / disable actions on record.
    *
    */
   static function enableDisable() {
@@ -877,7 +877,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Function to retrieve signature based on email id
+   * Retrieve signature based on email id
    */
   static function getSignature() {
     $emailID = CRM_Utils_Type::escape($_REQUEST['emailID'], 'Positive');
@@ -896,7 +896,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Function to process dupes.
+   * Process dupes.
    *
    */
   static function processDupes() {
@@ -980,7 +980,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Function to retrieve a PDF Page Format for the PDF Letter form
+   * Retrieve a PDF Page Format for the PDF Letter form
    */
   function pdfFormat() {
     $formatId = CRM_Utils_Type::escape($_REQUEST['formatId'], 'Integer');
@@ -991,7 +991,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Function to retrieve Paper Size dimensions
+   * Retrieve Paper Size dimensions
    */
   static function paperSize() {
     $paperSizeName = CRM_Utils_Type::escape($_REQUEST['paperSizeName'], 'String');
@@ -1036,7 +1036,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * @param $name
+   * @param string $name
    *
    * @return string
    */
@@ -1065,7 +1065,7 @@ LIMIT {$offset}, {$rowCount}
   }
 
   /**
-   * Function to retrieve contact relationships
+   * Retrieve contact relationships
    */
   public static function getContactRelationships() {
     $contactID = CRM_Utils_Type::escape($_GET['cid'], 'Integer');
index 814cc0d8e8aefb112fc1ee2e803cb64b9812cfbc..916cc2d10a9c23e4ff4fbb644ccd4091e39f3c90 100644 (file)
@@ -89,7 +89,7 @@ ORDER By  v.weight
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index 13e38c458b87128dbd0d1e101bbb20bb4bea6f01..f46bcbd800f8b1a2d9330f5b926516a64be7382b 100644 (file)
@@ -211,7 +211,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   }
 
   /**
-   * @param $id
+   * @param int $id
    */
   function delete($id) {
     $ruleDao = new CRM_Dedupe_DAO_Rule();
index 0eb1cd07c1fb88daf1fd59b902e14b59c005ec77..fe703f7ba4b6263b2c17dbe294325251d8daddaa 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
   static $_links = NULL;
 
   /**
-   * delete a saved search.
+   * Delete a saved search.
    *
    * @param int $id - id of saved search
    *
@@ -125,7 +125,7 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index 1fe039b7ad7ab53e58f6de70b4ec4033824810ed..c1917d4e6e45473957989895af2a52d3521c4456 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
    * @access public
index 2ebe283cb0edbed40f8c6790b0369a6a334c6f9a..65619f6bb2cd21b38f00b071f2c8cd704cd7bdd1 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Page_View extends CRM_Core_Page {
 
   /**
-   * the id of the object being viewed (note/relationship etc)
+   * The id of the object being viewed (note/relationship etc)
    *
    * @int
    * @access protected
@@ -48,7 +48,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
   protected $_id;
 
   /**
-   * the contact id of the contact being viewed
+   * The contact id of the contact being viewed
    *
    * @int
    * @access protected
@@ -259,7 +259,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
   /**
    * Get meta details of the contact.
    *
-   * @param $contactId
+   * @param int $contactId
    *
    * @return array contact fields in fixed order
    * @access public
@@ -278,7 +278,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
 
   /**
    * @param $page
-   * @param null $contactID
+   * @param int $contactID
    */
   static function checkUserPermission($page, $contactID = NULL) {
     // check for permissions
@@ -316,7 +316,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
   }
 
   /**
-   * @param $contactId
+   * @param int $contactId
    * @param bool $isDeleted
    *
    * @return string
index 5b32014e8c574281069c475f8956e4a339444168..a23c6509d562e74f31e7dbfa964610fd208e7c51 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
 
   /**
-   * the id of the object being viewed (note/relationship etc)
+   * The id of the object being viewed (note/relationship etc)
    *
    * @int
    * @access protected
@@ -48,7 +48,7 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
   public $_groupId;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @return CRM_Contact_Page_View_CustomData
    */
@@ -57,7 +57,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
    * @access public
index a085c3e8b01b346f73d5628a4161e093ee8462e7..6c6b03c0c6ab7899843b1b5278daa4523362e1b5 100644 (file)
@@ -146,13 +146,13 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page {
   }
 
   /**
-   * remove/ rejoin the group
+   * Remove/ rejoin the group
    *
    * @param int $groupContactId id of crm_group_contact
    * @param string $status this is the status that should be updated.
    *
    * $access public
-   * @param $contactID
+   * @param int $contactID
    *
    * @return bool
    */
index 8a9e8ca44f026cd36c6b993e6442c14ac18953e1..d71c72aca900c15a217a59209de7c6447052ecfd 100644 (file)
@@ -241,7 +241,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
    * @access public
index 944a373f1332cacb7d9d297e3ca9c9a9048a1171..1ddb583b08edd1d31174b96db79869da004fc501 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   static $_links = NULL;
 
   /**
-   * casid set if called from case context
+   * Casid set if called from case context
    *
    * @var int
    */
index f1a07abcb5bac72d3962371b6f4d1547f290e15d..4dc88e4f435cc1f4f0440d04a6bae79debfe01a4 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;
@@ -110,7 +110,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   }
 
   /**
-   * build user dashboard
+   * Build user dashboard
    *
    * @return void
    * @access public
@@ -201,7 +201,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
    *
index 5c0a67de3bc550529732dbbd5360d77a2360692a..b0190e3d4718831559e4ddb9be7d9779c4533de9 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -72,7 +72,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   );
 
   /**
-   * formValues is the array returned by exportValues called on
+   * FormValues is the array returned by exportValues called on
    * the HTML_QuickForm_Controller for that page.
    *
    * @var array
@@ -89,7 +89,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   protected $_contextMenu;
 
   /**
-   * params is the array in a value used by the search query creator
+   * Params is the array in a value used by the search query creator
    *
    * @var array
    * @access protected
@@ -105,7 +105,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   protected $_returnProperties;
 
   /**
-   * represent the type of selector
+   * Represent the type of selector
    *
    * @var int
    * @access protected
@@ -117,14 +117,14 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   protected $_query;
 
   /**
-   * group id
+   * Group id
    *
    * @var int
    */
   protected $_ufGroupID;
 
   /**
-   * the public visible fields to be shown to the user
+   * The public visible fields to be shown to the user
    *
    * @var array
    * @access protected
@@ -300,7 +300,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -329,7 +329,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -503,7 +503,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -1092,7 +1092,7 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
@@ -1103,7 +1103,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 $_columnHeaders
@@ -1182,7 +1182,7 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont
   /**
    * @param array $params
    * @param $action
-   * @param $sortID
+   * @param int $sortID
    * @param null $displayRelationshipType
    * @param string $queryOperator
    *
index 9e078655e803231214a06959fb9651e943c4647d..0d2aefa779add1894ec3eed6d42dac07c5a993fc 100644 (file)
@@ -34,7 +34,7 @@
  */
 class CRM_Contact_Selector_Controller extends CRM_Core_Selector_Controller {
   /**
-   * default function for qill, if needed to be implemented, we
+   * Default function for qill, if needed to be implemented, we
    * expect the subclass to do it
    *
    * @return string the status message
index bd4118d53fcbdf0335e41f83baedaa24cb225303..afaa3f82e9e8bdc7406fc0447b13a88f2e0a82de 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -65,7 +65,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   static $_properties = array('contact_id', 'contact_type', 'display_name');
 
   /**
-   * formValues is the array returned by exportValues called on
+   * FormValues is the array returned by exportValues called on
    * the HTML_QuickForm_Controller for that page.
    *
    * @var array
@@ -74,7 +74,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   public $_formValues;
 
   /**
-   * params is the array in a value used by the search query creator
+   * Params is the array in a value used by the search query creator
    *
    * @var array
    * @access protected
@@ -82,7 +82,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   public $_params;
 
   /**
-   * represent the type of selector
+   * Represent the type of selector
    *
    * @var int
    * @access protected
@@ -92,7 +92,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   protected $_query;
 
   /**
-   * the public visible fields to be shown to the user
+   * The public visible fields to be shown to the user
    *
    * @var array
    * @access protected
@@ -207,7 +207,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -224,7 +224,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -269,7 +269,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   }
 
   /**
-   * returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount
    *
    * @param enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -394,7 +394,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
@@ -414,7 +414,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   /**
    * @param array $params
    * @param $action
-   * @param $sortID
+   * @param int $sortID
    * @param null $displayRelationshipType
    * @param string $queryOperator
    *
index 835d4a8553b6755d32d92561dfe51ddf5644630c..5b004e5eeb9bea5cccf7d2a233bd5cb00013074b 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -113,7 +113,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
    * @access public
index 85b387e440155c7c48c6db923a1a5758ebfbb774..9d1b8672016ab654b655db602e4b71dc00c867c0 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Contact_Task {
     COMMUNICATION_PREFS = 25;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -75,7 +75,7 @@ class CRM_Contact_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -310,7 +310,7 @@ class CRM_Contact_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index 41e51d27689bc6a3bac639325662115bda4eefe0..eb5099e629a6080add820bf0bf058b3d44a845d2 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
 
   /**
-   * static field for all the contribution information that we can potentially import
+   * Static field for all the contribution information that we can potentially import
    *
    * @var array
    * @static
@@ -43,7 +43,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   static $_importableFields = NULL;
 
   /**
-   * static field for all the contribution information that we can potentially export
+   * Static field for all the contribution information that we can potentially export
    *
    * @var array
    * @static
@@ -51,13 +51,13 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
   static $_exportableFields = NULL;
 
   /**
-   * field for all the objects related to this contribution
+   * Field for all the objects related to this contribution
    * @var array of objects (e.g membership object, participant object)
    */
   public $_relatedObjects = array();
 
   /**
-   * field for the component - either 'event' (participant) or 'contribute'
+   * Field for the component - either 'event' (participant) or 'contribute'
    * (any item related to a contribution page e.g. membership, pledge, contribution)
    * This is used for composing messages because they have dependency on the
    * contribution_page or event page - although over time we may eliminate that
@@ -70,7 +70,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
    * construct method
    */
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Contribute_DAO_Contribution
@@ -83,7 +83,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
@@ -289,7 +289,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
    * @param array $ids    the array that holds all the db ids
@@ -544,7 +544,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
@@ -762,7 +762,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   /**
    * Delete the indirect records associated with this contribution first
    *
-   * @param $id
+   * @param int $id
    *
    * @return mixed|null $results no of deleted Contribution on success, false otherwise@access public
    * @static
@@ -837,7 +837,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
    * @param array $input an assoc array of name/value pairs
    * @param array $duplicates (reference ) store ids of duplicate contribs
    *
-   * @param null $id
+   * @param int $id
    *
    * @return boolean true if duplicate, false otherwise
    * @access public
@@ -884,7 +884,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
@@ -903,7 +903,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
    *
@@ -938,7 +938,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   }
 
   /**
-   * add extra fields specific to contribtion
+   * Add extra fields specific to contribtion
    *
    * @static
    */
@@ -974,7 +974,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
   }
 
   /**
-   * @param $pageID
+   * @param int $pageID
    *
    * @return array
    */
@@ -1002,7 +1002,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
    *
@@ -1040,7 +1040,7 @@ GROUP BY p.id
   }
 
   /**
-   * function to 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
    *
@@ -1061,7 +1061,7 @@ WHERE  civicrm_contribution.contact_id = civicrm_contact.id
   }
 
   /**
-   * @param $contactID
+   * @param int $contactID
    *
    * @return array
    */
@@ -1170,7 +1170,7 @@ WHERE  civicrm_contribution.contact_id = civicrm_contact.id
   }
 
   /**
-   * Function to get the contribution details for component export
+   * Get the contribution details for component export
    *
    * @param int     $exportMode export mode
    * @param string  $componentIds  component ids
@@ -1762,7 +1762,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
   }
 
   /**
-   * @param $contactId
+   * @param int $contactId
    * @param bool $includeSoftCredit
    *
    * @return null|string
@@ -1796,7 +1796,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
   }
 
   /**
-   * Function to get individual id for onbehalf contribution
+   * Get individual id for onbehalf contribution
    *
    * @param int $contributionId contribution id
    * @param int $contributorId  contributor id
@@ -2535,7 +2535,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to check whether payment processor supports
+   * Check whether payment processor supports
    * cancellation of contribution subscription
    *
    * @param int $contributionId contribution id
@@ -2569,7 +2569,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to check whether subscription is already cancelled
+   * Check whether subscription is already cancelled
    *
    * @param int $contributionId contribution id
    *
@@ -2593,7 +2593,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to create all financial accounts entry
+   * Create all financial accounts entry
    *
    * @param array $params contribution object, line item array and params for trxn
    *
@@ -2880,7 +2880,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to update all financial accounts entry
+   * Update all financial accounts entry
    *
    * @param array $params contribution object, line item array and params for trxn
    *
@@ -3047,7 +3047,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to check status validation on update of a contribution
+   * Check status validation on update of a contribution
    *
    * @param array $values previous form values before submit
    *
@@ -3081,7 +3081,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to delete contribution of contact
+   * Delete contribution of contact
    *
    * CRM-12155
    *
@@ -3137,7 +3137,7 @@ WHERE  contribution_id = %1 ";
   }
 
   /**
-   * Function to validate financial type
+   * Validate financial type
    *
    * CRM-13231
    *
@@ -3168,10 +3168,10 @@ WHERE  contribution_id = %1 ";
    * @param string $paymentType 'owed' for purpose of recording partial payments, 'refund' for purpose of recording refund payments
    */
   /**
-   * @param $contributionId
+   * @param int $contributionId
    * @param $trxnsData
    * @param string $paymentType
-   * @param null $participantId
+   * @param int $participantId
    *
    * @return null|object
    */
@@ -3338,7 +3338,7 @@ WHERE eft.financial_trxn_id IN ({$trxnId}, {$baseTrxnId['financialTrxnId']})
    * @param $trxnObj
    * @param $activityType
    * @param $component
-   * @param $contributionId
+   * @param int $contributionId
    *
    * @throws CRM_Core_Exception
    */
@@ -3381,9 +3381,9 @@ WHERE eft.financial_trxn_id IN ({$trxnId}, {$baseTrxnId['financialTrxnId']})
   }
 
   /**
-   * function to get list of payments displayed by Contribute_Page_PaymentInfo
+   * Get list of payments displayed by Contribute_Page_PaymentInfo
    *
-   * @param $id
+   * @param int $id
    * @param $component
    * @param bool $getTrxnInfo
    * @param bool $usingLineTotal
@@ -3494,10 +3494,10 @@ WHERE con.id = {$contributionId}
   }
 
   /**
-   * Function to get financial account id has 'Sales Tax Account is'
+   * Get financial account id has 'Sales Tax Account is'
    * account relationship with financial type
    *
-   * @param $financialTypeId
+   * @param int $financialTypeId
    *
    * @return FinancialAccountId
    */
index 5da726f46e9666e63f585c8df0e6b715dbe1e3ed..05f46693ab3bad3e3d4d847d4fab5506557db1f0 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_BAO_Contribution_Utils {
 
   /**
-   * process payment after confirmation
+   * Process payment after confirmation
    *
    * @param CRM_Core_Form $form form object
    * @param array $paymentParams array with payment related key
@@ -369,7 +369,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
 
   }
   /**
-   * get the contribution details by month
+   * Get the contribution details by month
    * of the year
    *
    * @param int     $param year
@@ -413,7 +413,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
    *
@@ -457,7 +457,7 @@ INNER JOIN   civicrm_contact contact ON ( contact.id = contrib.contact_id )
 
   /**
    * @param array $params
-   * @param $contactID
+   * @param int $contactID
    * @param $mail
    */
   static function createCMSUser(&$params, $contactID, $mail) {
@@ -548,7 +548,7 @@ INNER JOIN   civicrm_contact contact ON ( contact.id = contrib.contact_id )
   }
 
   /**
-   * @param $apiParams
+   * @param array $apiParams
    * @param $mapper
    * @param string $type
    * @param bool $category
@@ -832,7 +832,7 @@ INNER JOIN   civicrm_contact contact ON ( contact.id = contrib.contact_id )
   }
 
   /**
-   * @param $contactID
+   * @param int $contactID
    *
    * @return mixed
    */
index 4218045fb7cf89cd4ab56f3c8698e548553e98d5..594b7f645afba3c3b21f94404c4664f61d30eaae 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
    *
@@ -62,7 +62,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -75,7 +75,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $values
    */
   static function setValues($id, &$values) {
@@ -106,7 +106,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
     }
 
   /**
-   * send the emails
+   * Send the emails
    *
    * @param int $contactID contact id
    * @param array $values associated array of fields
@@ -426,8 +426,8 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   /**
    * Construct the message to be sent by the send function
    *
-   * @param $tplParams
-   * @param $contactID
+   * @param array $tplParams
+   * @param int $contactID
    * @param $isTest
    *
    * @return array
@@ -453,7 +453,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
    * @param int $contactID contact id for contributor
@@ -551,7 +551,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * add the custom fields for contribution page (ie profile)
+   * Add the custom fields for contribution page (ie profile)
    *
    * @param int $gid uf group id
    * @param string $name
@@ -698,7 +698,7 @@ WHERE entity_table = 'civicrm_contribution_page'
   }
 
   /**
-   * Function to check if contribution page contains payment
+   * Check if contribution page contains payment
    * processor that supports recurring payment
    *
    * @param int $contributionPageId Contribution Page Id
@@ -726,7 +726,7 @@ WHERE entity_table = 'civicrm_contribution_page'
   }
 
   /**
-   * Function to get info for all sections enable/disable.
+   * Get info for all sections enable/disable.
    *
    * @param array $contribPageIds
    * @return array $info info regarding all sections.
@@ -913,7 +913,7 @@ LEFT JOIN  civicrm_premiums            ON ( civicrm_premiums.entity_id = civicrm
   }
 
   /**
-   * helper to determine if the page supports separate membership payments
+   * Helper to determine if the page supports separate membership payments
    * @param integer id form id
    *
    * @return bool isSeparateMembershipPayment
index 1eeb9553f5bb491b9ad802addc6704d8ce1990e9..bda40a75571286c75efb44bf6f5f3e6d0a87bc63 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
    *
@@ -153,7 +153,7 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $mode
    *
    * @return array|null
@@ -176,7 +176,7 @@ SELECT r.payment_processor_id
   }
 
   /**
-   * get the number of installment done/completed for each recurring contribution
+   * Get the number of installment done/completed for each recurring contribution
    *
    * @param array  $ids (reference ) an array of recurring contribution ids
    *
@@ -205,7 +205,7 @@ SELECT r.payment_processor_id
   /**
    * Delete Recurring contribution.
    *
-   * @param $recurId
+   * @param int $recurId
    *
    * @return bool
    * @access public
@@ -323,7 +323,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
    *
@@ -360,7 +360,7 @@ SELECT r.payment_processor_id
   }
 
   /**
-   * @param $entityID
+   * @param int $entityID
    * @param string $entity
    *
    * @return null|Object
index d47d49272143b5d80098e3a3de0c146708798ab2..c0a7ac8a107ee054d12e0596a284f89ff418ad64 100644 (file)
 class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_ContributionSoft {
 
   /**
-   * construct method
+   * Construct method
    */
   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
    *
@@ -83,7 +83,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * delete soft credits
+   * Delete soft credits
    *
    * @param array $params
    *
@@ -99,7 +99,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * @param $contact_id
+   * @param int $contact_id
    * @param int $isTest
    *
    * @return array
@@ -140,9 +140,9 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * retrieve soft contributions for contribution record.
+   * Retrieve soft contributions for contribution record.
    *
-   * @param $contributionID
+   * @param int $contributionID
    * @param boolean $all include PCP data
    *
    * @return array of soft contribution ids, amounts, and associated contact ids
@@ -198,7 +198,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   }
 
   /**
-   * @param $contributionID
+   * @param int $contributionID
    * @param bool $isPCP
    *
    * @return array
@@ -315,8 +315,8 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   /**
    * @param CRM_Core_Form $form
    * @param array $params
-   * @param $honoreeprofileId
-   * @param null $honorId
+   * @param int $honoreeprofileId
+   * @param int $honorId
    */
   static function formatHonoreeProfileFields($form, $params, $honoreeprofileId, $honorId = NULL) {
     $profileContactType = CRM_Core_BAO_UFGroup::getContactType($honoreeprofileId);
index 3a565a5e31772732322d47e6a5ee213badc6d4ce..71f094a5e4d8c00407357c0eaf667360ef378cae 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
    */
   function __construct() {
     parent::__construct();
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
@@ -127,7 +127,7 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product {
   }
 
   /**
-   * delete premium Types
+   * Delete premium Types
    *
    * @param int $productID
    * @static
index cc530da0db08f6e3f392044e139e78020a137b1b..6570d69dd5d04ba0e41e52110e82c1ac3217e606 100644 (file)
 class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
 
   /**
-   * product information
+   * Product information
    * @var array
    * @static
    */
   private static $productInfo;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -69,7 +69,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -82,9 +82,9 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * delete financial Types
+   * Delete financial Types
    *
-   * @param $premiumID
+   * @param int $premiumID
    *
    * @static
    */
@@ -98,12 +98,12 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * build Premium Block im Contribution Pages
+   * Build Premium Block im Contribution Pages
    *
-   * @param $form CRM_Core_Form
-   * @param $pageID
+   * @param CRM_Core_Form $form
+   * @param int $pageID
    * @param bool $formItems
-   * @param null $selectedProductID
+   * @param int $selectedProductID
    * @param null $selectedOption
    *
    * @static
@@ -167,7 +167,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
@@ -208,9 +208,9 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Function to delete premium associated w/ contribution page.
+   * Delete premium associated w/ contribution page.
    *
-   * @param $contributionPageID
+   * @param int $contributionPageID
    *
    * @static
    */
@@ -242,7 +242,7 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   }
 
   /**
-   * Function to retrieve premium product and their options
+   * Retrieve premium product and their options
    *
    * @return array product and option arrays
    * @static
index ac555373039197f89598d7ed77774713bde7ebef..75a50b47e28c6aa9808b6751873518d924ddb7f0 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_BAO_Query {
 
   /**
-   * static field for all the export/import contribution fields
+   * Static field for all the export/import contribution fields
    *
    * @var array
    * @static
@@ -64,7 +64,7 @@ class CRM_Contribute_BAO_Query {
   }
 
   /**
-   * if contributions are involved, add the specific contribute fields
+   * If contributions are involved, add the specific contribute fields
    *
    * @param $query
    *
@@ -684,7 +684,7 @@ class CRM_Contribute_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -954,7 +954,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
    *
    * @access public
    *
@@ -1109,7 +1109,7 @@ class CRM_Contribute_BAO_Query {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {
   }
index e2eb836d2f598aaef1e04b19522a0212c9329dce..591d09bda92c27376a151f3e5cfd7347e0b2176b 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Contribute_Controller_Contribution extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index e9b3704e667edb992b674e9007b5ab75d8849216..0c64db8ab7bc5f81a51b8728182a3bf51f0a3721 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Contribute_Controller_ContributionPage extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index a1e6874a853fdca14be8333b71b5c7ba513bc0c7..7d38a5ff3477694ecccf7cddd7c36f0ea68541b2 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Contribute_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 60df3ced40fae5e72c3ca44a5dce49b31aef9e19..6cb1ee5a641b305f70ead786053eec00bddbfd0d 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_recurPaymentProcessors;
 
   /**
-   * array of processor options in the format id => array($id => $label)
+   * Array of processor options in the format id => array($id => $label)
    * WARNING it appears that the format used to differ to this and there are places in the code that
    * expect the old format. $this->_paymentProcessors provides the additional data which this
    * array seems to have provided in the past
@@ -62,12 +62,12 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_processors;
 
   /**
-   * available payment processors with full details including the key 'object' indexed by their id
+   * Available payment processors with full details including the key 'object' indexed by their id
    * @var array
    */
   protected $_paymentProcessors = array();
   /**
-   * the id of the contribution that we are processing
+   * The id of the contribution that we are processing
    *
    * @var int
    * @public
@@ -75,7 +75,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_id;
 
   /**
-   * the id of the premium that we are proceessing
+   * The id of the premium that we are proceessing
    *
    * @var int
    * @public
@@ -88,7 +88,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_productDAO = NULL;
 
   /**
-   * the id of the note
+   * The id of the note
    *
    * @var int
    * @public
@@ -96,7 +96,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_noteID;
 
   /**
-   * the id of the contact associated with this contribution
+   * The id of the contact associated with this contribution
    *
    * @var int
    * @public
@@ -104,7 +104,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   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
@@ -112,7 +112,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_ppID;
 
   /**
-   * the id of the pledge that we are processing
+   * The id of the pledge that we are processing
    *
    * @var int
    * @public
@@ -120,7 +120,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_pledgeID;
 
   /**
-   * is this contribution associated with an online
+   * Is this contribution associated with an online
    * financial transaction
    *
    * @var boolean
@@ -137,7 +137,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $_options;
 
   /**
-   * stores the honor id
+   * Stores the honor id
    *
    * @var int
    * @public
@@ -187,7 +187,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   protected $_cdType;
 
   /**
-   * array of fields to display on billingBlock.tpl - this is not fully implemented but basically intent is the panes/fieldsets on this page should
+   * Array of fields to display on billingBlock.tpl - this is not fully implemented but basically intent is the panes/fieldsets on this page should
    * be all in this array in order like
    *  'credit_card' => array('credit_card_number' ...
    *  'billing_details' => array('first_name' ...
@@ -198,7 +198,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   public $billingFieldSets = array();
 
   /**
-   * @param $id
+   * @param int $id
    */
   public function showRecordLinkMesssage($id) {
     $statusId = CRM_Core_DAO::getFieldValue('CRM_Contribute_BAO_Contribution', $id, 'contribution_status_id');
@@ -213,7 +213,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $values
    */
   public function buildValuesAndAssignOnline_Note_Type($id, &$values) {
@@ -262,7 +262,7 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @todo - this function is a long way, non standard of saying $dao = new CRM_Contribute_DAO_ContributionProduct(); $dao->id = $id; $dao->find();
    */
   public function assignPremiumProduct($id) { //to get Premium id
@@ -464,7 +464,7 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
   }
 
   /**
-   * @param $financialTypeId
+   * @param int $financialTypeId
    *
    * @return array
    */
@@ -480,8 +480,8 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
   }
 
   /**
-   * @param $financialTypeId
-   * @param $relationTypeId
+   * @param int $financialTypeId
+   * @param int $relationTypeId
    *
    * @return mixed
    */
@@ -600,7 +600,7 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
   }
 
   /**
-   * common block for setting up the parts of a form that relate to credit / debit card
+   * Common block for setting up the parts of a form that relate to credit / debit card
    * @throws Exception
    */
   protected function assignPaymentRelatedVariables() {
index 0965885c783462b4a484fd80f2c5d6d5bf37b35c..2fc41c886e022f500b9e71002cf8802d586ce387 100644 (file)
@@ -194,13 +194,13 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * process the Premium Information
+   * Process the Premium Information
    *
    * @access public
    *
    * @param array $params
-   * @param $contributionID
-   * @param null $premiumID
+   * @param int $contributionID
+   * @param int $premiumID
    * @param null $options
    * @return void
    */
@@ -254,14 +254,14 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * process the Note
+   * Process the Note
    *
    * @access public
    *
    * @param array $params
-   * @param $contactID
-   * @param $contributionID
-   * @param null $contributionNoteID
+   * @param int $contactID
+   * @param int $contributionID
+   * @param int $contributionNoteID
    *
    * @return void
    */
@@ -282,7 +282,7 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * process the Common data
+   * Process the Common data
    *
    * @access public
    *
@@ -334,7 +334,7 @@ class CRM_Contribute_Form_AdditionalInfo {
   }
 
   /**
-   * Function to send email receipt.
+   * Send email receipt.
    *
    * @form object  of Contribution form.
    *
index 664118c44728c0bd7e514af8cbf8a2e3cf51ea47..76b467bb1e76c55da847a8b81fad534630d5fe15 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract
   public $_contributeMode = 'direct';
 
   /**
-   * related component whose financial payment is being processed
+   * Related component whose financial payment is being processed
    *
    * @var string
    * @public
@@ -50,7 +50,7 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract
   protected $_component = NULL;
 
   /**
-   * id of the component entity
+   * Id of the component entity
    */
   public $_id = NULL;
 
index 3927f0294b8ac8ea690baf6c2843f854f205bcd0..e12de626ccfe66001366568dca42f12b31f0e558 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
    * @access public
index 793b755cb10c827457822f500d43c812dfe74ff3..bff0b3979244688a0b2d978d55f5a9b7ac6c33da 100644 (file)
@@ -39,7 +39,7 @@
  */
 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
@@ -47,7 +47,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_id;
 
   /**
-   * the id of the premium that we are processing
+   * The id of the premium that we are processing
    *
    * @var int
    * @public
@@ -60,7 +60,7 @@ 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
@@ -68,7 +68,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_noteID;
 
   /**
-   * the id of the contact associated with this contribution
+   * The id of the contact associated with this contribution
    *
    * @var int
    * @public
@@ -76,7 +76,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   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
@@ -84,7 +84,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_ppID;
 
   /**
-   * the id of the pledge that we are processing
+   * The id of the pledge that we are processing
    *
    * @var int
    * @public
@@ -92,7 +92,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_pledgeID;
 
   /**
-   * is this contribution associated with an online
+   * Is this contribution associated with an online
    * financial transaction
    *
    * @var boolean
@@ -163,7 +163,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_lineItems;
 
   /**
-   * line item
+   * Line item
    * @todo explain why we use lineItem & lineItems
    * @var array
    */
@@ -184,7 +184,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_honoreeProfileType;
 
   /**
-   * array of billing panes to be displayed by billingBlock.tpl - currently this is likely to look like
+   * Array of billing panes to be displayed by billingBlock.tpl - currently this is likely to look like
    * array('Credit Card' => ts('Credit Card') or array('Direct Debit => ts('Direct Debit')
    * @todo billing details (address stuff) to be added when we stop hard coding the panes in billingBlock.tpl
    *
@@ -193,14 +193,14 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $billingPane = array();
 
   /**
-   * array of the payment fields to be displayed in the payment fieldset (pane) in billingBlock.tpl
+   * Array of the payment fields to be displayed in the payment fieldset (pane) in billingBlock.tpl
    * this contains all the information to describe these fields from quickform. See CRM_Core_Form_Payment getPaymentFormFieldsMetadata
    *
    * @var array
    */
    public $_paymentFields = array();
   /**
-   * logged in user's email
+   * Logged in user's email
    * @var string
    */
   public $userEmail;
@@ -219,7 +219,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   public $_priceSet;
 
   /**
-   * form defaults
+   * Form defaults
    * @todo can we define this a as protected? can we define higher up the chain
    * @var array
    */
@@ -232,7 +232,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
    */
   public $userDisplayName;
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -936,7 +936,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
@@ -1818,7 +1818,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
   }
 
   /**
-   * @param $paymentParams
+   * @param array $paymentParams
    *
    * @return array
    */
index 7978e02a0dadaa265bcb706e00a7bff8dd9e5f53..d0bbd3991e91a3c612631b40de687eb8ed79aae6 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
    * @public
@@ -60,20 +60,20 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
    *
    * @param array $params
    * @param integer $contactID
-   * @param $financialTypeID
+   * @param int $financialTypeID
    * @param $online
-   * @param $contributionPageId
+   * @param int $contributionPageId
    * @param $nonDeductibleAmount
-   * @param $campaignId
+   * @param int $campaignId
    * @param $isMonetary
    * @param $pending
    * @param $paymentProcessorOutcome
    * @param $receiptDate
-   * @param $recurringContributionID
+   * @param int $recurringContributionID
    * @param $isTest
-   * @param $addressID
-   * @param $softCreditToID
-   * @param $lineItems
+   * @param int $addressID
+   * @param int $softCreditToID
+   * @param array $lineItems
    *
    * @return array
    */
@@ -159,7 +159,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
    * @access public
@@ -634,7 +634,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
   }
 
   /**
-   * overwrite action, since we are only showing elements in frozen mode
+   * Overwrite action, since we are only showing elements in frozen mode
    * no help display needed
    *
    * @return int
@@ -1044,7 +1044,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
    * Pledges are not relevant to the membership code so that portion will not go onto the membership form.
    *
    * Comments from previous refactor indicate doubt as to what was going on
-   * @param $contributionTypeId
+   * @param int $contributionTypeId
    *
    * @return null|string
    */
@@ -1064,7 +1064,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
   /**
    * Process the form
    *
-   * @param $premiumParams
+   * @param array $premiumParams
    * @param $contribution
    *
    * @return void
@@ -1600,7 +1600,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
   }
 
   /**
-   * add on behalf of organization and it's location
+   * Add on behalf of organization and it's location
    *
    * @param $behalfOrganization array  array of organization info
    * @param $contactID          int    individual contact id. One
@@ -1849,7 +1849,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
    * And under certain circumstances sets
    * $this->_params['amount'] = null;
    *
-   * @param $priceSetID
+   * @param int $priceSetID
    *
    */
   public function setFormAmountFields($priceSetID) {
@@ -1949,7 +1949,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
 
   /**
    * Helper function for static submit function - set relevant params - help us to build up an array that we can pass in
-   * @param $id
+   * @param int $id
    * @param array $params
    *
    * @return array
index 077b592f47223a8d60cd085d6b2d05f4d12a0779..58563676316f1c5f1bf13cf4a0a86410cc3c19dd 100644 (file)
@@ -57,7 +57,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   public $_useForMember;
 
   /**
-   * array of payment related fields to potentially display on this form (generally credit card or debit card fields). This is rendered via billingBlock.tpl
+   * Array of payment related fields to potentially display on this form (generally credit card or debit card fields). This is rendered via billingBlock.tpl
    * @var array
    */
   public $_paymentFields = array();
@@ -66,7 +66,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
    * @access public
@@ -185,7 +185,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * set the default values
+   * Set the default values
    *
    * @return void
    * @access public
@@ -628,7 +628,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
   }
 
   /**
-   * build elements to enable pay on behalf of an organization.
+   * Build elements to enable pay on behalf of an organization.
    *
    * @access public
    */
@@ -650,7 +650,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
    *
    * @access public
    *
@@ -723,7 +723,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
    * @param array $files the uploaded files if any
index 057ed671c636a33e2865209f5f768cf7ffd7d826..de77fe55f075eccab615fbfa4f299284c766e3a5 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
    *
@@ -123,7 +123,7 @@ class CRM_Contribute_Form_Contribution_OnBehalfOf {
   }
 
   /**
-   * build form for related contacts / on behalf of organization.
+   * Build form for related contacts / on behalf of organization.
    *
    * @param CRM_Core_Form $form
    *
index 8386c5749ec2b6c1f10eb1d413a25d5a4d2b49e9..0a107366ea72f74bf850bfa8b2ea48400c7cde17 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
    * @access public
@@ -75,7 +75,7 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont
   }
 
   /**
-   * overwrite action, since we are only showing elements in frozen mode
+   * Overwrite action, since we are only showing elements in frozen mode
    * no help display needed
    *
    * @return int
index 2863ddce4a8332c7d74aea229c1e0896f7a0a854..fc582b1f86ca98bc771aa2f1cfa812a44d1baa54 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
 
   /**
-   * the id of the contribution page that we are processsing
+   * The id of the contribution page that we are processsing
    *
    * @var int
    * @public
@@ -48,7 +48,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_id;
 
   /**
-   * the mode that we are in
+   * The mode that we are in
    *
    * @var string
    * @protect
@@ -56,7 +56,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_mode;
 
   /**
-   * the contact id related to a membership
+   * The contact id related to a membership
    *
    * @var int
    * @public
@@ -64,7 +64,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_membershipContactID;
 
   /**
-   * the values for the contribution db object
+   * The values for the contribution db object
    *
    * @var array
    * @protected
@@ -72,7 +72,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_values;
 
   /**
-   * the paymentProcessor attributes for this page
+   * The paymentProcessor attributes for this page
    *
    * @var array
    * @protected
@@ -94,7 +94,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
    */
   protected $_separateMembershipPayment;
   /**
-   * the default values for the form
+   * The default values for the form
    *
    * @var array
    * @protected
@@ -134,7 +134,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_amount;
 
   /**
-   * pcp id
+   * Pcp id
    *
    * @var integer
    * @public
@@ -142,7 +142,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_pcpId;
 
   /**
-   * pcp block
+   * Pcp block
    *
    * @var array
    * @public
@@ -150,7 +150,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_pcpBlock;
 
   /**
-   * pcp info
+   * Pcp info
    *
    * @var array
    * @public
@@ -167,7 +167,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   protected $_userID;
 
   /**
-   * the Membership ID for membership renewal
+   * The Membership ID for membership renewal
    *
    * @var int
    * @public
@@ -207,14 +207,14 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   public $_contributeMode;
 
   /**
-   * contribution page supports memberships
+   * Contribution page supports memberships
    * @var boolean
    */
   public $_useForMember;
 
   public $_isBillingAddressRequiredForPayLater;
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -537,7 +537,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * set the default values
+   * Set the default values
    *
    * @return void
    * @access public
@@ -547,7 +547,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
    * @access public
@@ -674,10 +674,10 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * add the custom fields
+   * Add the custom fields
    *
-   * @param $id
-   * @param $name
+   * @param int $id
+   * @param string $name
    * @param bool $viewOnly
    * @param null $profileContactType
    * @param null $fieldTypes
@@ -840,7 +840,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
   }
 
   /**
-   * authenticate pledge user during online payment.
+   * Authenticate pledge user during online payment.
    *
    * @access public
    *
index 7b99768c087ad0077d4bf2d95bb82ac90e0c0072..b9ccac4f3ad6105aebcde031cfab9246a3495967 100644 (file)
@@ -99,7 +99,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
    *
    * @access public
    *
index f8de7b74f43585055a4a1d8384266403acde8c3f..759bfd30f03dea00ffe0ba612ed120b292fec186 100644 (file)
@@ -39,7 +39,7 @@
 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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * the pledgeBlock id saved to the session for an update
+   * The pledgeBlock id saved to the session for an update
    *
    * @var int
    * @access protected
@@ -55,7 +55,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   protected $_pledgeBlockID;
 
   /**
-   * are we in single form mode or wizard mode?
+   * Are we in single form mode or wizard mode?
    *
    * @var boolean
    * @access protected
@@ -63,7 +63,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   protected $_single;
 
   /**
-   * is this the first page?
+   * Is this the first page?
    *
    * @var boolean
    * @access protected
@@ -71,7 +71,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
   protected $_first = FALSE;
 
   /**
-   * store price set id.
+   * Store price set id.
    *
    * @var int
    * @access protected
@@ -81,7 +81,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
    * @access public
index 23cb27457195d5377dbb8ce0d370a9316b4a15f8..ab5febcbe1a89cca1bb4b74e795ccf17a389d1fc 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
    *
    * @access public
    *
index f5a31d90c3f02c65e38da7e2131c4aa88f84f6b5..c433e493447a884066def8be03831a8979da1ecf 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * contribution amount block.
+   * Contribution amount block.
    *
    * @var array
    * @access protected
@@ -272,7 +272,7 @@ SELECT id
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index d4badeb181c5554e6bc003645c5f7357d3ef28c7..317f474095520a50325f690258248269c32f7872 100644 (file)
@@ -162,12 +162,12 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    *
    * @param $files
-   * @param $contributionPageId
+   * @param int $contributionPageId
    *
    * @return true if no errors, else array of errors
    * @access public
index af5f82515333d174332cb001fb5eecb003f22f5c..dd2968d340424c76054cbad382b2dbfe757e9dfe 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * page title
+   * Page title
    *
    * @var string
    * @protected
@@ -53,7 +53,7 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co
   protected $_relatedContributions;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 1292ad13a605790cf0237a0844b4793c02528e76..5953f5613bcc0978305467a2cb3114985c5a7f6c 100644 (file)
@@ -111,7 +111,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
    *
index 23b64eb604a21835062a00e84517314f9f719d90..a880c93629ca383bcc32c60460071c3bd01f8471 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
    * @access public
@@ -214,7 +214,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
    *
index 6cb44fb5cac9e2e51a3d33282b3373dc83d411c1..f65978fcfd4eadbc74fb090145b2b1691a328ef7 100644 (file)
@@ -82,7 +82,7 @@ class CRM_Contribute_Form_ContributionPage_ThankYou extends CRM_Contribute_Form_
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    * @param array $files   the uploaded files if any
index 0eeba213a2a54b8ed143e1c7408040ba83fd9cc8..81e3801dad8073afd8e9ffe46ca96af03648ffc4 100644 (file)
@@ -206,7 +206,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 c1dd5d4e71a00996ef71c785dc68f4c7852b709c..48daba20252f7e5557115358f4be0cfcf8d5cdc5 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
    * @access public
index 3d9159993366cc061d3b206732a96382a64fa5f2..55053c70b4e614b68868175231807d19044dcde3 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
 
   /**
-   * pre  process the form
+   * Pre  process the form
    *
    * @access public
    *
@@ -355,8 +355,8 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
    *
    * @access private
    *
-   * @param $filename
-   * @param $resizedName
+   * @param string $filename
+   * @param string $resizedName
    * @param $width
    * @param $height
    *
index f51c6426d0ed42613c3c4fa2a005538c55d1a023..8134f8c18ca996dc8d08ac05ec4f60b6343e79d0 100644 (file)
@@ -43,7 +43,7 @@
 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
    * @access protected
@@ -51,7 +51,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -59,7 +59,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -69,13 +69,13 @@ 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
    * @access public
index 17d480cd9f3d06378228abc4103362f58206ca13..6ffbf0e2e7f9fb19f3617bad687220daf6553be6 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
    *
@@ -192,7 +192,7 @@ class CRM_Contribute_Form_SoftCredit {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    *
index c40165afd6202d86408ce9bcc1122831b2a415fb..6e69531fb19996d712006c9dc3c727aeafb44cee 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -89,7 +89,7 @@ class CRM_Contribute_Form_Task extends CRM_Core_Form {
   public $_includesSoftCredits = FALSE;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -197,7 +197,7 @@ class CRM_Contribute_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 title of the main button
index 0157e1812726f620e6f457df38907d7902ddd6d8..a9ff7bcdaf2796eea376bc32d1d43b95d013f738 100644 (file)
 class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_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
    * @access public
@@ -212,7 +212,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
    *
    * @access public
    *
index 553b778bc11979a5ad27455a333d477644785ca2..94147894fa3b525283caf593abcb83188576e809 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
    * @access public
@@ -73,7 +73,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
    *
    * @access public
    *
index 971d634b6d7f9483563d76e8efc53c2c610e4e3a..4e9b4de737040a2f777a2b3e6c2761d6fb624fda 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
    * @access public
@@ -86,7 +86,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
    *
    * @access public
    *
index 2e47f00053a28fb777d69607450edbff682b80ab..ab3954d8037642eab165a699ead48ae8f619b05c 100644 (file)
@@ -46,14 +46,14 @@ 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
    *
    * @access public
    */
   public $_contributionStatusId;
 
   /**
-   * gives the HTML template of PDF Invoice
+   * Gives the HTML template of PDF Invoice
    *
    * @access public
    */
@@ -67,12 +67,12 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   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
    * @access public
@@ -227,7 +227,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
    *
@@ -246,7 +246,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
    *
    * @access public
    *
index 13e42ab5229df306e76e90acb88e0710cbabbc3a..02807557328c856a615fb1cc27c2802fb0d8b56c 100644 (file)
@@ -49,7 +49,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
    * @access public
@@ -143,7 +143,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
    *
    * @access public
    *
@@ -229,7 +229,7 @@ AND    {$this->_componentClause}";
   }
 
   /**
-   * declaration of common variables for Invoice and PDF
+   * Declaration of common variables for Invoice and PDF
    *
    * @access public
    *
index cbd70b25f0000077d497e2ddf5369c54aabefdbd..18e4ea30205960a78d2ef7502129342bd3c73757 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
    * @access public
@@ -163,7 +163,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
    *
    * @access public
    *
index 04550ae7cd870811fe118e22d6739ec0653731f0..32f389473321a0bec4e516edf3ba226d667ba6b5 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
    *
    * @access public
    *
@@ -154,7 +154,7 @@ class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDF
   }
 
   /**
-   * check that the token only appears in a table cell. The '</td><td>' separator cannot otherwise work
+   * Check that the token only appears in a table cell. The '</td><td>' separator cannot otherwise work
    * Calculate the number of times it appears IN the cell & the number of times it appears - should be the same!
    *
    * @param $token
@@ -296,7 +296,7 @@ class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDF
    * @param array $contact
    * @param array $contributions
    * @param $groupBy
-   * @param $groupByID
+   * @param int $groupByID
    */
   static function assignCombinedContributionValues($contact, $contributions, $groupBy, $groupByID) {
     if (!defined('CIVICRM_MAIL_SMARTY') || !CIVICRM_MAIL_SMARTY) {
index 4663fb2f387d7fb7c7a508a1a3bc441fef698eb4..247df5c68b0716340e9d74b3f4e51112371e887a 100644 (file)
 class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
 
   /**
-   * the title of the group
+   * The title of the group
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * maximum contributions that should be allowed to update
+   * Maximum contributions that should be allowed to update
    *
    */
   protected $_maxContributions = 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
    * @access public
@@ -122,7 +122,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
    *
@@ -135,7 +135,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
    *
    * @access public
    *
index 31f058faf05c8978f4b88141a7f18fee79a04e34..4671e979e23a3325c54f93824d934827398696f1 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
    * @access public
@@ -95,7 +95,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
    *
    * @access public
    *
index 52e85e5f11f3203c80659dd3dfcb2cb4a4b80231..01fc7912f30fcc00c398fd0e28e1da84e0d404e5 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
    * @access public
index 6f046054cd736853c9c440c7090835072c88f0cc..5bab6721438376597c5ad3da474c18de159562b5 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
    * @access public
index f31c046b7783c83f4142c329345592b33292155d..4c4b3938b66069232f53c1970bf229a660802d5f 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
    * @access public
@@ -183,7 +183,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
    *
@@ -215,7 +215,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
    *
    * @access public
    *
index 96c0f0aa4245a885735b98bb5bf6f68adbd7c39c..46986518c6cfcf66ce6999fa9097e08846a3a5b1 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
    * @access public
@@ -214,7 +214,7 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index d257c3df1381ec3b6f0c8192e431dffc0b9139dd..fbf565788303a1770cf75ad2fff8d8453b400f5b 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
    * @public
@@ -143,7 +143,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
    * @access public
index b46fde8e124551fd84fb288e7cea575d8c374996..a28f43fa45fe7996c0d822c14a9872af31fb6283 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Contribute_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index 718cc60745350d3549e86929dce65f519b0b3e34..4f6cd8aeaf87c0a72b77cf4a7cf64b0365bbdc8d 100644 (file)
@@ -40,59 +40,59 @@ class CRM_Contribute_Import_Field {
    */
 
   /**
-   * name of the field
+   * Name of the field
    */
   public $_name;
 
   /**
-   * title of the field to be used in display
+   * Title of the field to be used in display
    */
   public $_title;
 
   /**
-   * type of field
+   * Type of field
    * @var enum
    */
   public $_type;
 
   /**
-   * is this field required
+   * Is this field required
    * @var boolean
    */
   public $_required;
 
   /**
-   * data to be carried for use by a derived class
+   * Data to be carried for use by a derived class
    * @var object
    */
   public $_payload;
 
   /**
-   * regexp to match the CSV header of this column/field
+   * Regexp to match the CSV header of this column/field
    * @var string
    */
   public $_headerPattern;
 
   /**
-   * regexp to match the pattern of data from various column/fields
+   * Regexp to match the pattern of data from various column/fields
    * @var string
    */
   public $_dataPattern;
 
   /**
-   * value of this field
+   * Value of this field
    * @var object
    */
   public $_value;
 
   /**
-   * this is soft credit field
+   * This is soft credit field
    * @var string
    */
   public $_softCreditField;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
@@ -114,7 +114,7 @@ class CRM_Contribute_Import_Field {
   }
 
   /**
-   * the value is in string format. convert the value to the type of this field
+   * The value is in string format. convert the value to the type of this field
    * and set the field value with the appropriate type
    */
   function setValue($value) {
index fa7b216b0cee9ab4d7b268d47816e06b92e2f462..e35bfedb0a67a206d0a354470a6fac4ba48df3e0 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
    * @access public
index 603ced032edefc42108352ff4c93c5122b928767..af4e2954d00943e84d5442b35c27d03650b8c803 100644 (file)
@@ -42,7 +42,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
    * @access public
@@ -337,7 +337,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 c039280087ed499d351092c564ddff773baf5a0d..ddd8c2554d94d3e39e0c775d0e6334569e69ea56 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
    * @access public
index dc12f899292b881f02c342d11f2921249ee112d6..206dfcd432aaeb6abaa6791c42cf9375b0937937 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
    * @access public
index 309fad1fd3fd0b0558cd3a7c887374643b6bf44c..4472039bb47966b494b0b5e9a22718450d425c13 100644 (file)
@@ -44,73 +44,73 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   protected $_fileName;
 
   /**
-   * imported file size
+   * Imported file size
    */
   protected $_fileSize;
 
   /**
-   * seperator being used
+   * Seperator being used
    */
   protected $_seperator;
 
   /**
-   * total number of lines in file
+   * Total number of lines in file
    */
   protected $_lineCount;
 
   /**
-   * running total number of valid soft credit rows
+   * Running total number of valid soft credit rows
    */
   protected $_validSoftCreditRowCount;
 
   /**
-   * running total number of invalid soft credit rows
+   * Running total number of invalid soft credit rows
    */
   protected $_invalidSoftCreditRowCount;
 
   /**
-   * running total number of valid pledge payment rows
+   * Running total number of valid pledge payment rows
    */
   protected $_validPledgePaymentRowCount;
 
   /**
-   * running total number of invalid pledge payment rows
+   * Running total number of invalid pledge payment rows
    */
   protected $_invalidPledgePaymentRowCount;
 
   /**
-   * array of pledge payment error lines, bounded by MAX_ERROR
+   * Array of pledge payment error lines, bounded by MAX_ERROR
    */
   protected $_pledgePaymentErrors;
 
   /**
-   * array of pledge payment error lines, bounded by MAX_ERROR
+   * Array of pledge payment error lines, bounded by MAX_ERROR
    */
   protected $_softCreditErrors;
 
   /**
-   * filename of pledge payment error data
+   * Filename of pledge payment error data
    *
    * @var string
    */
   protected $_pledgePaymentErrorsFileName;
 
   /**
-   * filename of soft credit error data
+   * Filename of soft credit error data
    *
    * @var string
    */
   protected $_softCreditErrorsFileName;
 
   /**
-   * whether the file has a column header or not
+   * Whether the file has a column header or not
    *
    * @var boolean
    */
   protected $_haveColumnHeader;
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param string $seperator
    * @param $mapper
    * @param bool $skipColumnHeader
@@ -438,7 +438,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
    * @access public
@@ -468,7 +468,7 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
index ad579f29e2364493b44f624c4a6cb4b1b5599321..28670eadfac8ed74da4f48dd96d08580e98172e0 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   protected $_newContributions;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct(&$mapperKeys, $mapperSoftCredit = NULL, $mapperPhoneType = NULL, $mapperSoftCreditType = NULL) {
     parent::__construct();
@@ -65,7 +65,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -136,7 +136,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
    *
@@ -148,7 +148,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
    *
@@ -160,7 +160,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
    *
@@ -236,7 +236,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
    * @param array $values the array of values belonging to this line
@@ -565,7 +565,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * process pledge payments
+   * Process pledge payments
    */
   function processPledgePayments(&$formatted) {
     if (!empty($formatted['pledge_payment_id']) && !empty($formatted['pledge_id'])) {
@@ -599,7 +599,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
index c958e280b70a3c5963389e596383e8c432b9b24b..98fcf165cfec88b4cb568624531d861edda78c67 100644 (file)
@@ -622,7 +622,7 @@ ORDER BY title asc
 
   /**
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pager($whereClause, $whereParams) {
 
@@ -648,7 +648,7 @@ SELECT count(id)
 
   /**
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pagerAtoZ($whereClause, $whereParams) {
 
index e650b3a0565e97a1036d9317fb22a89dd9da43fd..53454a706909666a8a45e91d678cd0eff6de0720 100644 (file)
 class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
 
   /**
-   * financial types
+   * Financial types
    * @var array
    * @static
    */
   private static $financialType;
 
   /**
-   * financial types
+   * Financial types
    * @var array
    * @static
    */
@@ -55,28 +55,28 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
 
 
   /**
-   * financial types
+   * Financial types
    * @var array
    * @static
    */
   private static $financialAccount;
 
     /**
-   * contribution pages
+   * Contribution pages
    * @var array
    * @static
    */
   private static $contributionPageActive = NULL;
 
   /**
-   * contribution pages
+   * Contribution pages
    * @var array
    * @static
    */
   private static $contributionPageAll = NULL;
 
   /**
-   * payment instruments
+   * Payment instruments
    *
    * @var array
    * @static
@@ -84,7 +84,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   private static $paymentInstrument;
 
   /**
-   * contribution status
+   * Contribution status
    *
    * @var array
    * @static
@@ -99,14 +99,14 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
   private static $pcPage;
 
   /**
-   * status of personal campaign page
+   * Status of personal campaign page
    * @var array
    * @static
    */
   private static $pcpStatus;
 
   /**
-   * contribution / financial batches
+   * Contribution / financial batches
    * @var array
    * @static
    */
@@ -119,7 +119,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    *
    * @return array - array reference of all financial types if any
    * @static
@@ -151,8 +151,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
-   * @param null $financialAccountTypeId
+   * @param int $id
+   * @param int $financialAccountTypeId
    * @param string $retrieveColumn
    * @param string $key
    *
@@ -273,7 +273,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $pageID
+   * @param int $pageID
    * @return array - array of all Premiums if any
    * @static
    */
@@ -321,7 +321,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @param string $columnName
    * @return array - array reference of all contribution statuses
    * @static
@@ -347,7 +347,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    *
    * @param null $pageType
-   * @param null $id
+   * @param int $id
    *
    * @return array - array reference of all pcp if any
    * @static
@@ -406,8 +406,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    * @static
    *
-   * @param $financialTypeId
-   * @param null $relationTypeId
+   * @param int $financialTypeId
+   * @param int $relationTypeId
    * @return array - array reference of all financial accounts for a Financial type
    */
   public static function financialAccountType($financialTypeId, $relationTypeId = NULL) {
@@ -437,7 +437,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @return array - array reference of all batches if any
    * @static
    */
index 91307e36e01786ed66d0440af05ccdc5957e3c09..1572ea38218e76f6759f9d04c85add34da337f16 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -90,7 +90,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   );
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -98,7 +98,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -106,7 +106,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -114,7 +114,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   protected $_context = NULL;
 
   /**
-   * what component context are we being invoked from
+   * What component context are we being invoked from
    *
    * @access protected
    * @var string
@@ -122,7 +122,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   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
@@ -131,7 +131,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   public $_queryParams;
 
   /**
-   * represent the type of selector
+   * Represent the type of selector
    *
    * @var int
    * @access protected
@@ -217,7 +217,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    * - View
    * - Edit
    *
-   * @param null $componentId
+   * @param int $componentId
    * @param null $componentAction
    * @param null $key
    * @param null $compContext
@@ -263,7 +263,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -301,7 +301,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -436,7 +436,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -555,7 +555,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index f2ebf583909d83995be6a370bdadff6781bef236..af8c0a60dcb73d8caeba6206c86c4f9c00b3f768 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Contribute_StateMachine_Contribution extends CRM_Core_StateMachine {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param CRM_Contact_Import_Controller $controller
    * @param \const|int $action
index a80348b113ac201d874980de1445ab9303bc78ca..16cfba1773bd6a4840f97aecedd6516a68651b8d 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 d3c323ee77d64c6fa77dd928a85f14f4aaa8ea7e..74165d31076608fec570a448440d1da575c45eb3 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -90,7 +90,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
    * @access public
index ff022de9a13620b877f520ca2c5d8f4f87452487..7b7b708f71f1d9c09ff78e496d3b9ea74e746d99 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contribute_Task {
   CONST DELETE_CONTRIBUTIONS = 1, PRINT_CONTRIBUTIONS = 2, EXPORT_CONTRIBUTIONS = 3, BATCH_CONTRIBUTIONS = 4, EMAIL_CONTACTS = 5, UPDATE_STATUS = 6, PDF_RECEIPT = 7;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -50,7 +50,7 @@ class CRM_Contribute_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -161,7 +161,7 @@ class CRM_Contribute_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index dbda3a7860750c673657265ff19aef63e9db49b5..857f593f558952308efffc03a7c983d86d782bd8 100644 (file)
@@ -72,7 +72,7 @@ class CRM_Core_Action {
   //make sure MAX_ACTION = 2^n - 1 ( n = total number of actions )
 
   /**
-   * map the action names to the relevant constant. We perform
+   * Map the action names to the relevant constant. We perform
    * bit manipulation operations so we can perform multiple
    * actions on the same object if needed
    *
@@ -103,7 +103,7 @@ class CRM_Core_Action {
   );
 
   /**
-   * the flipped version of the names array, initialized when used
+   * The flipped version of the names array, initialized when used
    *
    * @var array
    * @static
@@ -111,7 +111,7 @@ class CRM_Core_Action {
   static $_description;
 
   /**
-   * called by the request object to translate a string into a mask
+   * Called by the request object to translate a string into a mask
    *
    * @param string $str the action to be resolved
    *
@@ -188,7 +188,7 @@ class CRM_Core_Action {
   }
 
   /**
-   * given a set of links and a mask, return the html action string for
+   * Given a set of links and a mask, return the html action string for
    * the links associated with the mask
    *
    * @param array $links the set of link items
@@ -199,7 +199,7 @@ class CRM_Core_Action {
    *
    * @param null $op
    * @param null $objectName
-   * @param null $objectId
+   * @param int $objectId
    *
    * @return string       the html string
    * @access public
@@ -305,7 +305,7 @@ class CRM_Core_Action {
   }
 
   /**
-   * given a string and an array of values, substitute the real values
+   * Given a string and an array of values, substitute the real values
    * in the placeholder in the str in the CiviCRM format
    *
    * @param string $str    the string to be replaced
@@ -323,7 +323,7 @@ class CRM_Core_Action {
   }
 
   /**
-   * get the mask for a permission (view, edit or null)
+   * Get the mask for a permission (view, edit or null)
    *
    * @param string the permission
    *
index 0e6340ad4962f4aac067287b84f2cd32fd15a158..e6fd447e8b8e7e656b3b3cfe9aea6477d7d40110 100755 (executable)
@@ -40,7 +40,7 @@
 class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
 
   /**
-   * @param null $id
+   * @param int $id
    *
    * @return array
    */
@@ -262,7 +262,7 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
   }
 
   /**
-   * @param null $id
+   * @param int $id
    *
    * @return array
    */
@@ -319,7 +319,7 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
    * @param bool $namesOnly return simple list of names
    *
    * @param null $entityValue
-   * @param null $id
+   * @param int $id
    *
    * @return array  (reference)   reminder list
    * @static
@@ -414,11 +414,11 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * @param $contactId
+   * @param int $contactId
    * @param $to
-   * @param $scheduleID
+   * @param int $scheduleID
    * @param $from
-   * @param $tokenParams
+   * @param array $tokenParams
    *
    * @return bool|null
    * @throws CRM_Core_Exception
@@ -579,7 +579,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
    * @param array $ids    the array that holds all the db ids
@@ -627,7 +627,7 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * delete a Reminder
+   * Delete a Reminder
    *
    * @param  int  $id     ID of the Reminder to be deleted.
    *
@@ -647,7 +647,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -660,7 +660,7 @@ AND   cas.entity_value = $id AND
   }
 
   /**
-   * @param $mappingID
+   * @param int $mappingID
    * @param $now
    *
    * @throws CRM_Core_Exception
@@ -895,7 +895,7 @@ WHERE reminder.action_schedule_id = %1 AND reminder.action_date_time IS NULL
   }
 
   /**
-   * @param $mappingID
+   * @param int $mappingID
    * @param $now
    * @param array $params
    *
@@ -1397,8 +1397,8 @@ WHERE     m.owner_membership_id IS NOT NULL AND
   }
 
   /**
-   * @param $id
-   * @param $mappingID
+   * @param int $id
+   * @param int $mappingID
    *
    * @return null|string
    */
@@ -1415,7 +1415,7 @@ WHERE     m.owner_membership_id IS NOT NULL AND
   }
 
   /**
-   * @param $mappingID
+   * @param int $mappingID
    * @param $recipientType
    *
    * @return array
index 799b60c1233a7285273c1e0e585a1b58688f3d49..6987f96635c07757ea525d90213c5d46e3035dfc 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
    * @param boolean $fixAddress true if you need to fix (format) address values
@@ -132,7 +132,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
    * @param boolean  $fixAddress   true if you need to fix (format) address values
@@ -196,7 +196,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
    *
@@ -653,7 +653,7 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
   }
 
   /**
-   * get address sequence
+   * Get address sequence
    *
    * @return  array of address sequence.
    */
@@ -872,7 +872,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
    * @param int      $contactId contact id
@@ -943,7 +943,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
    * @param array  $params    associated array of address params
@@ -972,7 +972,7 @@ SELECT is_primary,
   }
 
   /**
-   * Function to 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
@@ -1046,7 +1046,7 @@ SELECT is_primary,
   }
 
   /**
-   * Function to check and set the status for shared address delete
+   * Check and set the status for shared address delete
    *
    * @param int     $addressId address id
    * @param int     $contactId contact id
index c05cdd204fe6db0bd2fec03a25f9bef204d50dd2..8aeb8063ae1de30bb356674105ad6e922e4a6b16 100644 (file)
@@ -124,7 +124,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
    * @param array  $params        associated array of submitted fields
@@ -143,7 +143,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * check if the current block exits
+   * Check if the current block exits
    *
    * @param string  $blockName   bloack name
    * @param array   $params      associated array of submitted fields
@@ -162,7 +162,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
    * @param int $contactId contact id
@@ -205,12 +205,12 @@ 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
    * @param array $params (reference ) an assoc array of name/value pairs
    * @param null $entity
-   * @param null $contactId
+   * @param int $contactId
    *
    * @return object       CRM_Core_BAO_Block object on success, null otherwise
    * @access public
@@ -386,7 +386,7 @@ class CRM_Core_BAO_Block {
   }
 
   /**
-   * delete block
+   * Delete block
    *
    * @param  string $blockName       block name
    * @param  int    $params          associates array
index 72c6152b00a5e524c5ca051b0b76a467ce91a958..6b9a9147be60f5de8a7a66d55f525f50cd94de79 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
    *   This behavior is misplaced in the BAO layer, but we'll preserve it to avoid
@@ -221,7 +221,7 @@ class CRM_Core_BAO_CMSUser {
   }
 
   /**
-   * create CMS user using Profile
+   * Create CMS user using Profile
    *
    * @param array  $params associated array
    * @param string $mail email id for cms user
@@ -255,7 +255,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 integer $gid id of group of profile
@@ -418,7 +418,7 @@ class CRM_Core_BAO_CMSUser {
   }
 
   /**
-   * Function to check if a cms user already exists.
+   * Check if a cms user already exists.
    *
    * @param  Array $contact array of contact-details
    *
index 7b13b49d37d01aad6c0928700c5739f742f9d437..60b9860eca857337edf58d2531c8ce5e27fbec4b 100644 (file)
@@ -279,7 +279,7 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
      */
 
   /**
-   * @param $names
+   * @param string $names
    */
   static function restoreSessionFromCache($names) {
     foreach ($names as $key => $sessionName) {
index 279a2fb8607eef750adce83154c2b5802d763027..7925db8b09f39131f2d7dfa33e742e0221797515 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Core_BAO_ConfigSetting {
 
   /**
-   * create civicrm settings. This is the same as add but it clears the cache and
+   * Create civicrm settings. This is the same as add but it clears the cache and
    * reloads the config object
    *
    * @param array $params associated array of civicrm variables
@@ -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 {
   }
 
   /**
-   * Function to 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)
    * @param  array $values associated array of civicrm variables stored in db
@@ -196,7 +196,7 @@ class CRM_Core_BAO_ConfigSetting {
   }
 
   /**
-   * Function to retrieve the settings values from db
+   * Retrieve the settings values from db
    *
    * @param $defaults
    *
@@ -653,7 +653,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 name of the component to be enabled, needs to be valid
index f541e52388c8cf4f487a0c187d20ebcf69d5ee99..dcdd91add8cbb69c4a667d165f873e1a6f240560 100644 (file)
@@ -122,7 +122,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
    *
@@ -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
    * @param boolean  $is_active  Value we want to set the is_active field
@@ -718,7 +718,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    *
    * @param CRM_Core_Form $qf form object (reference)
    * @param string $elementName name of the custom field
-   * @param $fieldId
+   * @param int $fieldId
    * @param boolean $inactiveNeeded -deprecated
    * @param bool $useRequired true if required else false
    * @param boolean $search true if used for search else false
@@ -1079,8 +1079,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param int $id the custom field id
    * @param int $options the assoc array of option name/value pairs
    *
-   * @param null $contactID
-   * @param null $fieldID
+   * @param int $contactID
+   * @param int $fieldID
    *
    * @return  string   the display value
    *
@@ -1110,8 +1110,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param $html_type
    * @param $data_type
    * @param null $format
-   * @param null $contactID
-   * @param null $fieldID
+   * @param int $contactID
+   * @param int $fieldID
    *
    * @return array|mixed|null|string
    */
@@ -1310,7 +1310,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
    * @param string $elementName   custom field name
@@ -1423,17 +1423,17 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
   }
 
   /**
-   * @param $contactID
-   * @param $cfID
-   * @param null $fileID
+   * @param int $contactID
+   * @param int $cfID
+   * @param int $fileID
    * @param bool $absolute
    *
    * @return array
    */
   /**
-   * @param $contactID
-   * @param $cfID
-   * @param null $fileID
+   * @param int $contactID
+   * @param int $cfID
+   * @param int $fileID
    * @param bool $absolute
    *
    * @return array
@@ -2026,7 +2026,7 @@ AND    cf.id = %1";
   }
 
   /**
-   * get custom option groups
+   * Get custom option groups
    *
    * @param array $includeFieldIds ids of custom fields for which
    * option groups must be included.
@@ -2073,7 +2073,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
    * @param int $optionGroupId option group id
@@ -2100,7 +2100,7 @@ INNER JOIN  civicrm_custom_field f ON ( g.id = f.option_group_id )
   }
 
   /**
-   * Function to check if option group is related to more than one
+   * Check if option group is related to more than one
    * custom field
    *
    * @param int $optionGroupId option group id
@@ -2123,7 +2123,7 @@ WHERE  option_group_id = {$optionGroupId}";
   }
 
   /**
-   * @param $optionGroupId
+   * @param int $optionGroupId
    * @param $htmlType
    *
    * @return null|string
@@ -2172,7 +2172,7 @@ ORDER BY html_type";
   /**
    * @param array $params
    * @param $customFields
-   * @param $entityID
+   * @param int $entityID
    * @param $customFieldExtends
    * @param bool $inline
    *
@@ -2438,7 +2438,7 @@ WHERE      f.id IN ($ids)";
   }
 
   /**
-   * @param $customId
+   * @param int $customId
    *
    * @return bool
    */
index 72bd04a613a22b6c2160808344e150571b68bdf8..0a4de2ac9fc0fe3b3ea08d554ddf35572c0350f6 100644 (file)
 class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
    *
@@ -226,7 +226,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
    * @param  boolean  $is_active  value we want to set the is_active field
@@ -1480,7 +1480,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
    * @param array     $groupTree        the group tree object
@@ -1516,7 +1516,7 @@ ORDER BY civicrm_custom_group.weight,
   }
 
   /**
-   * extract the get params from the url, validate
+   * Extract the get params from the url, validate
    * and store it in session
    *
    * @param CRM_Core_Form $form the form object
@@ -1611,7 +1611,7 @@ ORDER BY civicrm_custom_group.weight,
   }
 
   /**
-   * check the type of custom field type (eg: Used for Individual, Contribution, etc)
+   * Check the type of custom field type (eg: Used for Individual, Contribution, etc)
    * this function is used to get the custom fields of a type (eg: Used for Individual, Contribution, etc )
    *
    * @param  int     $customFieldId          custom field id
@@ -1794,9 +1794,9 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1,
    * @param CRM_Core_Form $form page object
    * @param array $groupTree associated array
    * @param boolean $returnCount true if customValue count needs to be returned
-   * @param null $gID
+   * @param int $gID
    * @param null $prefix
-   * @param null $customValueId
+   * @param int $customValueId
    *
    * @return array|int
    */
@@ -2222,8 +2222,8 @@ SELECT  civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT
   }
 
   /**
-   * @param $customGroupId
-   * @param $entityId
+   * @param int $customGroupId
+   * @param int $entityId
    *
    * @return bool
    */
index 0c7c0fb29b77d0cc91e858ffed56fcf7763be6a0..07f3172a511c75568a85f30ff6c4c1d571f55b4f 100644 (file)
@@ -161,7 +161,7 @@ WHERE  id = %1
   }
 
   /**
-   * delete Option
+   * Delete Option
    *
    * param $optionId integer option id
    *
@@ -280,8 +280,8 @@ SET    {$dao->columnName} = REPLACE( {$dao->columnName}, %1, %2 )";
   }
 
   /**
-   * @param $customFieldID
-   * @param null $optionGroupID
+   * @param int $customFieldID
+   * @param int $optionGroupID
    *
    * @return array
    */
index 8ca162022e06eefdfc34576835a797f4a35be9db..849c571ca265606292da767e1e08f37b08d4d0fd 100644 (file)
@@ -38,21 +38,21 @@ class CRM_Core_BAO_CustomQuery {
   CONST PREFIX = 'custom_value_';
 
   /**
-   * the set of custom field ids
+   * The set of custom field ids
    *
    * @var array
    */
   protected $_ids;
 
   /**
-   * the select clause
+   * The select clause
    *
    * @var array
    */
   public $_select;
 
   /**
-   * the name of the elements that are in the select clause
+   * The name of the elements that are in the select clause
    * used to extract the values
    *
    * @var array
@@ -60,7 +60,7 @@ class CRM_Core_BAO_CustomQuery {
   public $_element;
 
   /**
-   * the tables involved in the query
+   * The tables involved in the query
    *
    * @var array
    */
@@ -68,7 +68,7 @@ class CRM_Core_BAO_CustomQuery {
   public $_whereTables;
 
   /**
-   * the where clause
+   * The where clause
    *
    * @var array
    */
@@ -130,7 +130,7 @@ class CRM_Core_BAO_CustomQuery {
   );
 
   /**
-   * class constructor
+   * Class constructor
    *
    * Takes in a set of custom field ids andsets up the data structures to
    * generate a query
@@ -255,7 +255,7 @@ SELECT label, value
   }
 
   /**
-   * generate the select clause and the associated tables
+   * Generate the select clause and the associated tables
    * for the from clause
    *
    * @param  NULL
@@ -323,7 +323,7 @@ SELECT label, value
   }
 
   /**
-   * generate the where clause and also the english language
+   * Generate the where clause and also the english language
    * equivalent
    *
    * @param NULL
@@ -553,7 +553,7 @@ SELECT label, value
   }
 
   /**
-   * function that does the actual query generation
+   * Function that does the actual query generation
    * basically ties all the above functions together
    *
    * @param NULL
@@ -586,10 +586,10 @@ SELECT label, value
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $label
    * @param $type
-   * @param $fieldName
+   * @param string $fieldName
    * @param $value
    * @param $grouping
    */
index 597d0056a0a99d1482abac7c429fdc97d809c833..92cb6ae2a67b15c9cbdb83f8b8bc69f6dfd05c01 100644 (file)
@@ -118,7 +118,7 @@ class CRM_Core_BAO_CustomValue extends CRM_Core_DAO {
   }
 
   /**
-   * given a 'civicrm' type string, return the mysql data store area
+   * Given a 'civicrm' type string, return the mysql data store area
    *
    * @param string $type the civicrm type string
    *
@@ -190,7 +190,7 @@ class CRM_Core_BAO_CustomValue extends CRM_Core_DAO {
   }
 
   /**
-   * delet option value give an option value and custom group id
+   * Delet option value give an option value and custom group id
    *
    * @param int $customValueID custom value ID
    * @param int $customGroupID custom group ID
index f836c13f09e6e19aa6644d7b99a5e20c9019a32a..d0ca3f6bfc08711783e542b03e636973e8685e0d 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_CustomValueTable {
 
   /**
-   * @param $customParams
+   * @param array $customParams
    *
    * @throws Exception
    */
@@ -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 the civicrm type string
    *
@@ -308,7 +308,7 @@ class CRM_Core_BAO_CustomValueTable {
   /**
    * @param array $params
    * @param $entityTable
-   * @param $entityID
+   * @param int $entityID
    */
   static function store(&$params, $entityTable, $entityID) {
     $cvParams = array();
@@ -355,7 +355,7 @@ class CRM_Core_BAO_CustomValueTable {
    * @param array $params
    * @param $customFields
    * @param $entityTable
-   * @param $entityID
+   * @param int $entityID
    * @param $customFieldExtends
    */
   static function postProcess(&$params, &$customFields, $entityTable, $entityID, $customFieldExtends) {
@@ -484,7 +484,7 @@ AND    $cond
   }
 
   /**
-   * take in an array of entityID, custom_XXX => value
+   * Take in an array of entityID, custom_XXX => value
    * and set the value in the appropriate table. Should also be able
    * to set the value to null. Follows api parameter/return conventions
    *
@@ -623,7 +623,7 @@ AND    cf.id IN ( $fieldIDList )
   }
 
   /**
-   * take in an array of entityID, custom_ID
+   * Take in an array of entityID, custom_ID
    * and gets the value from the appropriate table.
    *
    * To get the values of custom fields with IDs 13 and 43 for contact ID 1327, use:
index f00a8421ab0844808866ad784f06d3104e90402a..15499fa83ec7e26b7a49cb2370e7339235006a26 100644 (file)
@@ -38,7 +38,7 @@
  */
 class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   /**
-   * add Dashboard
+   * Add Dashboard
    *
    * @param array $params values
    *
@@ -186,7 +186,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
    * @param string $operator
@@ -260,7 +260,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
    *
@@ -329,11 +329,11 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Function to save changes made by use to the Dashlet
+   * Save changes made by use to the Dashlet
    *
    * @param array $columns associated array
    *
-   * @param null $contactID
+   * @param int $contactID
    *
    * @throws RuntimeException
    * @return void
@@ -398,7 +398,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Function to add dashlets
+   * Add dashlets
    *
    * @param array $params associated array
    *
@@ -533,7 +533,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   }
 
   /**
-   * Function to reset dashlet cache
+   * Reset dashlet cache
    *
    * @param int $contactID reset cache only for specific contact
    *
@@ -554,7 +554,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   /**
    * Delete Dashlet
    *
-   * @param $dashletID
+   * @param int $dashletID
    *
    * @return void
    * @static
index c7da07bfb9c17bd1d170ed6acebcf12757eee7f4..c68b1e7477db218b6b6bf5262ebe2c6c7395bd12 100644 (file)
 class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * delete the discount
+   * Delete the discount
    *
    * @param int $entityId
    * @param string $entityTable
index 72bf9c15732d955bd0e8047b3b6f18df9221daff..736784d294558603dbb2b6a1172c8c9fdaa57af8 100644 (file)
@@ -156,7 +156,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
    * Save the values of a domain
    *
    * @param array $params
-   * @param $id
+   * @param int $id
    *
    * @return array domain
    * @access public
@@ -229,7 +229,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * @param $contactID
+   * @param int $contactID
    *
    * @return bool|null|object|string
    */
@@ -287,7 +287,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * @param $groupId
+   * @param int $groupId
    *
    * @return bool
    */
@@ -311,7 +311,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   }
 
   /**
-   * retrieve a list of contact-ids that belongs to current domain/site.
+   * Retrieve a list of contact-ids that belongs to current domain/site.
    *
    * @return array
    */
index bd64e5f67d1e30079acf3aa44df5656f10a0960a..b2a8e61045e5676d26783b1e1f1da2529709f059 100644 (file)
@@ -58,7 +58,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
    *
@@ -232,7 +232,7 @@ ORDER BY e.is_primary DESC, email_id ASC ";
   }
 
   /**
-   * set / reset hold status for an email
+   * Set / reset hold status for an email
    *
    * @param object $email  email object
    *
index 5c955b696c6c774386ae2742e3c55cdcfe39210a..0d6e8b256c9c2ed63c9357014d6f5689f49fd5bf 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
@@ -112,7 +112,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
    *
@@ -218,11 +218,11 @@ 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
    * @param $entityTable
-   * @param $entityID
+   * @param int $entityID
    *
    * @return void
    * @access public
@@ -282,7 +282,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * get contact tags
+   * Get contact tags
    */
   static function getContactTags($contactID, $count = FALSE) {
     $contactTags = array();
@@ -315,7 +315,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * get child contact tags given parentId
+   * Get child contact tags given parentId
    */
   static function getChildEntityTags($parentId, $entityId, $entityTable = 'civicrm_contact') {
     $entityTags = array();
@@ -337,7 +337,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   }
 
   /**
-   * Function to merge two tags: tag B into tag A.
+   * Merge two tags: tag B into tag A.
    */
   function mergeTags($tagAId, $tagBId) {
     $queryParams = array(1 => array($tagBId, 'Integer'),
index 61bd52f8ba3c13544cb0faa6b2152c101f7c2288..2e3ddc0203d7dd601419478fa1b61ab2c3c7e98c 100644 (file)
@@ -60,7 +60,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.
    *
index 1178630047164e0f47e5164803e97c903fda7cf4..e888505821be16912434663044fb6d8e713f5749 100644 (file)
@@ -41,8 +41,8 @@ class CRM_Core_BAO_File extends CRM_Core_DAO_File {
   static $_signableFields = array('entityTable', 'entityID', 'fileID');
 
   /**
-   * @param $fileID
-   * @param $entityID
+   * @param int $fileID
+   * @param int $entityID
    * @param null $entityTable
    *
    * @return array
@@ -74,9 +74,9 @@ class CRM_Core_BAO_File extends CRM_Core_DAO_File {
 
   /**
    * @param $data
-   * @param $fileTypeID
+   * @param int $fileTypeID
    * @param $entityTable
-   * @param $entityID
+   * @param int $entityID
    * @param $entitySubtype
    * @param bool $overwrite
    * @param null|array $fileParams
@@ -218,7 +218,7 @@ class CRM_Core_BAO_File extends CRM_Core_DAO_File {
   } */
 
   /**
-   * delete all the files and associated object associated with this
+   * Delete all the files and associated object associated with this
    * combination
    */
   static function deleteEntityFile($entityTable, $entityID, $fileTypeID = NULL, $fileID = NULL) {
@@ -271,7 +271,7 @@ class CRM_Core_BAO_File extends CRM_Core_DAO_File {
   }
 
   /**
-   * get all the files and associated object associated with this
+   * Get all the files and associated object associated with this
    * combination
    */
   static function getEntityFile($entityTable, $entityID, $addDeleteArgs = FALSE) {
@@ -325,8 +325,8 @@ class CRM_Core_BAO_File extends CRM_Core_DAO_File {
   /**
    * @param string $entityTable table-name or "*" (to reference files directly by file-id)
    * @param int $entityID
-   * @param null $fileTypeID
-   * @param null $fileID
+   * @param int $fileTypeID
+   * @param int $fileID
    *
    * @return array
    */
@@ -381,7 +381,7 @@ AND       CEF.entity_id    = %2";
   /**
    * @param CRM_Core_Form $form
    * @param string $entityTable
-   * @param null $entityID
+   * @param int $entityID
    * @param null $numAttachments
    * @param bool $ajaxDelete
    */
@@ -457,7 +457,7 @@ AND       CEF.entity_id    = %2";
   }
 
   /**
-   * return a clean url string and the number of attachment for a
+   * Return a clean url string and the number of attachment for a
    * given entityTable, entityID
    *
    * @param $entityTable string The entityTable to which the file is attached
@@ -487,7 +487,7 @@ AND       CEF.entity_id    = %2";
    * @param $formValues
    * @param array $params
    * @param $entityTable
-   * @param null $entityID
+   * @param int $entityID
    */
   static function formatAttachment(
     &$formValues,
@@ -540,7 +540,7 @@ AND       CEF.entity_id    = %2";
   /**
    * @param array $params
    * @param $entityTable
-   * @param $entityID
+   * @param int $entityID
    */
   static function processAttachment(&$params, $entityTable, $entityID) {
     $numAttachments = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'max_attachments');
@@ -585,9 +585,9 @@ AND       CEF.entity_id    = %2";
    */
   /**
    * @param $oldEntityTable
-   * @param $oldEntityId
+   * @param int $oldEntityId
    * @param $newEntityTable
-   * @param $newEntityId
+   * @param int $newEntityId
    */
   static function copyEntityFile($oldEntityTable, $oldEntityId, $newEntityTable, $newEntityId) {
     $oldEntityFile = new CRM_Core_DAO_EntityFile();
@@ -606,8 +606,8 @@ AND       CEF.entity_id    = %2";
 
   /**
    * @param $entityTable
-   * @param $entityID
-   * @param $fileID
+   * @param int $entityID
+   * @param int $fileID
    *
    * @return string
    */
@@ -622,7 +622,7 @@ AND       CEF.entity_id    = %2";
   }
 
   /**
-   * delete a file attachment from an entity table / entity ID
+   * Delete a file attachment from an entity table / entity ID
    *
    * @static
    * @access public
@@ -645,7 +645,7 @@ AND       CEF.entity_id    = %2";
 
 
   /**
-   * function to display paper icon for a file attachment -- CRM-13624
+   * Display paper icon for a file attachment -- CRM-13624
    *
    * @param $entityTable string  The entityTable to which the file is attached. eg "civicrm_contact", "civicrm_note", "civicrm_activity"
    *                             If you have the ID of a specific row in civicrm_file, use $entityTable='*'
index c6daefa77e900395ae4862baaaa15247b2a3d48a..c58c06eaddcff2b90c762a3938e348d617269492 100644 (file)
@@ -35,7 +35,7 @@
 
 class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Financial_DAO_FinancialTrxn
@@ -48,7 +48,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
    *
@@ -93,8 +93,8 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
   }
 
   /**
-   * @param $contributionId
-   * @param null $contributionFinancialTypeId
+   * @param int $contributionId
+   * @param int $contributionFinancialTypeId
    *
    * @return array
    */
@@ -292,7 +292,7 @@ WHERE lt.entity_id = %1 ";
   /**
    * Delete financial transaction
    *
-   * @param $entity_id
+   * @param int $entity_id
    * @return true on success, false otherwise
    * @access public
    * @static
@@ -311,7 +311,7 @@ WHERE ceft.entity_id = %1";
   }
 
   /**
-   * create financial transaction for premium
+   * Create financial transaction for premium
    *
    * @access public
    * @static
@@ -359,7 +359,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
    *
@@ -421,7 +421,7 @@ WHERE ceft.entity_id = %1";
    * payment type  : 'amount_owed' or 'refund_due'
    */
   /**
-   * @param $entityId
+   * @param int $entityId
    * @param string $entityName
    * @param bool $returnType
    * @param null $lineItemTotal
index e37eec8cdd671f9f715cb058a1f9a24313e15803..37552edab7889334af0e9e23a4d5dbcc78b90f09 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
    *
index 928d090f523f483ceb64a31108041d84160d7673..bfdc8dc728eb69da0f036567961512171ec98ad1 100644 (file)
 class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * add the payment-processor type in the db
+   * Add the payment-processor type in the db
    *
    * @param array $params 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
    * @param boolean  $is_active value we want to set the is_active field
index ce43759aa6aa43ce1a389cf3f45e5c66a64636c4..63ed8a678fa7543d34eda3895c89ea76b154aab2 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;
 
@@ -319,7 +319,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
    *
@@ -539,7 +539,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.
    * @param  string $groupName group name
index caf11dc2c19b17fe90803a29a5ad4f629c3b4ca5..de56bd6ce96b2f945972bf70f5265d200c4b0102 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO {
   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
    * @param boolean $fixAddress true if you need to fix (format) address values
@@ -130,7 +130,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
    * @access public
    * @static
    */
@@ -151,7 +151,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
    *
index 687c6844cadca33712a45bd5ccaea67ef09b67c6..bb84bbf380eca5953b08870760e85283d034e6ed 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
    */
   function __construct() {
     parent::__construct();
@@ -68,7 +68,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -83,7 +83,7 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
   }
 
   /**
-   * retrieve the default location_type
+   * Retrieve the default location_type
    *
    * @param NULL
    *
@@ -117,7 +117,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
    *
@@ -145,7 +145,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 54ca8a133e9f5632086a83a240c78a87b5e783b5..1ce2d7175ad55b6a192100d9ff0e6c42508042e0 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Core_BAO_Log extends CRM_Core_DAO_Log {
   static $_processed = NULL;
 
   /**
-   * @param $id
+   * @param int $id
    * @param string $table
    *
    * @return array|null
@@ -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.
    *
@@ -81,10 +81,10 @@ class CRM_Core_BAO_Log extends CRM_Core_DAO_Log {
   }
 
   /**
-   * @param $contactID
-   * @param $tableName
-   * @param $tableID
-   * @param null $userID
+   * @param int $contactID
+   * @param string $tableName
+   * @param int $tableID
+   * @param int $userID
    */
   static function register($contactID,
     $tableName,
@@ -151,7 +151,7 @@ UPDATE civicrm_log
   }
 
   /**
-   * get log record count for a Contact
+   * Get log record count for a Contact
    *
    * @param int $contactID
    *
index 1e373c9d4ca054bf5f9c6e08880fb672d2763fe3..b0e895b613e86c544459ae6539223e78182554fb 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -129,7 +129,7 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * add new mail Settings.
+   * Add new mail Settings.
    *
    * @param array $params reference array contains the values submitted by the form
    *
@@ -164,7 +164,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
    *
@@ -187,7 +187,7 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   }
 
   /**
-   * delete the mail settings.
+   * Delete the mail settings.
    *
    * @param int $id mail settings id
    *
index af69c07c0856ffe8a078f0ab2f7fc00119d364d0..1940041d3e9f193b74bfd6599c67e3b3ea49744c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -62,7 +62,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * delete the mapping
+   * Delete the mapping
    *
    * @param int $id   mapping id
    *
@@ -90,7 +90,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
@@ -111,7 +111,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
    *
@@ -133,7 +133,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * get the mapping fields
+   * Get the mapping fields
    *
    * @param int $mappingId  mapping id
    *
@@ -236,7 +236,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * Function to build the mapping form
+   * Build the mapping form
    *
    * @param CRM_Core_Form $form
    * @param string $mappingType (Export/Import/Search Builder)
@@ -1142,7 +1142,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
   }
 
   /**
-   * save the mapping field info for search builder / export given the formvalues
+   * Save the mapping field info for search builder / export given the formvalues
    *
    * @param array $params       asscociated array of formvalues
    * @param int   $mappingId    mapping id
index d788f2c8339fe733829a1aec4a8d1b3716e81295..13b8360c16798b5a83f8ee583abd187962d183d6 100644 (file)
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
@@ -74,7 +74,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
    *
@@ -96,12 +96,12 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * delete the Message Templates
+   * Delete the Message Templates
    *
    * @access public
    * @static
    *
-   * @param $messageTemplatesID
+   * @param int $messageTemplatesID
    *
    * @return object
    */
@@ -126,7 +126,7 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * get the Message Templates
+   * Get the Message Templates
    *
    * @access public
    * @static
@@ -154,9 +154,9 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
   }
 
   /**
-   * @param $contactId
+   * @param int $contactId
    * @param $email
-   * @param $messageTemplateID
+   * @param int $messageTemplateID
    * @param $from
    *
    * @return bool|null
index 66c874ad992a0dc2792aa155d4d71a37dfdaadeb..3add358f1cabc7c1ab3b58fa1d0efbc735f8754a 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
    */
   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
    * @param boolean  $is_active value we want to set the is_active field
@@ -60,7 +60,7 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   }
 
   /**
-   * get existing / build navigation for CiviCRM Admin Menu
+   * Get existing / build navigation for CiviCRM Admin Menu
    *
    * @static
    * @return array associated array
@@ -81,7 +81,7 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   }
 
   /**
-   * add/update navigation record
+   * Add/update navigation record
    *
    * @param array associated array of submitted values
    *
@@ -211,7 +211,7 @@ FROM civicrm_navigation WHERE domain_id = $domainID {$whereClause} ORDER BY pare
   }
 
   /**
-   * helper function for getNavigationList( )
+   * Helper function for getNavigationList( )
    *
    * @param array $list menu info
    * @param array $navigations navigation menus
@@ -232,7 +232,7 @@ FROM civicrm_navigation WHERE domain_id = $domainID {$whereClause} ORDER BY pare
   }
 
   /**
-   * helper function for getNavigationList( )
+   * Helper function for getNavigationList( )
    *
    * @param string $val menu name
    * @param array $pidGroups parent menus
@@ -253,7 +253,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
    * @param int     $parentID       parent id
@@ -306,7 +306,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to build menu
+   * Build menu
    *
    * @param boolean $json by default output is html
    * @param boolean $navigationMenu true when called for building top navigation menu
@@ -450,7 +450,7 @@ ORDER BY parent_id, weight";
    * Get Menu name
    *
    * @param $value
-   * @param $skipMenuItems
+   * @param array $skipMenuItems
    * @return bool|string
    */
   static function getMenuName(&$value, &$skipMenuItems) {
@@ -559,7 +559,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to create navigation for CiviCRM Admin Menu
+   * Create navigation for CiviCRM Admin Menu
    *
    * @param int $contactID contact id
    *
@@ -659,7 +659,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to process navigation
+   * Process navigation
    *
    * @param array $params associated array, $_GET
    *
@@ -693,7 +693,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to process move action
+   * Process move action
    *
    * @param $nodeID node that is being moved
    * @param $referenceID parent id where node is moved. 0 mean no parent
@@ -758,7 +758,7 @@ ORDER BY parent_id, weight";
   /**
    *  Function to process rename action for tree
    *
-   * @param $nodeID
+   * @param int $nodeID
    * @param $label
    */
   static function processRename($nodeID, $label) {
@@ -766,9 +766,9 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to process delete action for tree
+   * Process delete action for tree
    *
-   * @param $nodeID
+   * @param int $nodeID
    */
   static function processDelete($nodeID) {
     $query = "DELETE FROM civicrm_navigation WHERE id = {$nodeID}";
@@ -776,7 +776,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to get the info on navigation item
+   * Get the info on navigation item
    *
    * @param int $navigationID  navigation id
    *
@@ -795,7 +795,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * Function to update menu
+   * Update menu
    *
    * @param array  $params
    * @param array  $newParams new value of params
@@ -811,7 +811,7 @@ ORDER BY parent_id, weight";
   }
 
   /**
-   * @param $cid
+   * @param int $cid
    *
    * @return object|string
    */
index be5af9e245e6d440d9689a707eea30cd52d97f47..c7e38201426e1c677e97e2f4ee498210de723ad9 100644 (file)
 class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
 
   /**
-   * const the max number of notes we display at any given time
+   * Const the max number of notes we display at any given time
    * @var int
    */
   CONST MAX_NOTES = 3;
 
   /**
-   * given a note id, retrieve the note text
+   * Given a note id, retrieve the note text
    *
    * @param int  $id   id of the note to retrieve
    *
@@ -59,7 +59,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * given a note id, retrieve the note subject
+   * Given a note id, retrieve the note subject
    *
    * @param int  $id   id of the note to retrieve
    *
@@ -73,7 +73,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * given a note id, decide if the note should be displayed based on privacy setting
+   * Given a note id, decide if the note should be displayed based on privacy setting
    *
    * @param object  $note Either the id of the note to retrieve, or the CRM_Core_DAO_Note object itself
    *
@@ -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
@@ -279,7 +279,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * delete the notes
+   * Delete the notes
    *
    * @param int $id note id
    * @param boolean $showStatus do we need to set status or not
@@ -328,7 +328,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.
    *
@@ -351,7 +351,7 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   }
 
   /**
-   * retrieve all records for this entity-id
+   * Retrieve all records for this entity-id
    *
    * @param int $id ID of the relationship for which records needs to be retrieved.
    *
@@ -385,7 +385,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * get log record count for a Contact
+   * Get log record count for a Contact
    *
    * @param int $contactID
    *
@@ -409,7 +409,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
    * @param int $maxDepth Maximum number of levels to descend into the tree; if not given, will include all descendents.
@@ -514,7 +514,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * given a note id, get a list of the ids of all notes that are descendents of that note
+   * Given a note id, get a list of the ids of all notes that are descendents of that note
    *
    * @param int $parentId Id of the given note
    * @param array $ids (reference) one-dimensional array to store found descendent ids
@@ -536,7 +536,7 @@ ORDER BY  modified_date desc";
   }
 
   /**
-   * function to 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 2f43ae48d06fcefafae84d90930c84c3780441dd..bb0c0447c7f708c2e7b543e12c2b9634eb02443b 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
    *
index e3faeb246dc9ecc122683e376a821e7bef7e10fc..4cfa09f9452f7a040a40ab088285a196d385231c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
@@ -75,7 +75,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
    * @param array $ids    reference array contains the id
@@ -107,7 +107,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.
    *
@@ -128,7 +128,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 96c529a9b575259c494364de319a7192ebb98091..71b3975df8687064328c8ff6019a129c5fe0221c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -142,7 +142,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -155,7 +155,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
    * @param array $ids    reference array contains the id
@@ -222,7 +222,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * delete Option Value
+   * Delete Option Value
    *
    * @param int $optionValueId
    *
@@ -242,7 +242,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
    *
@@ -280,7 +280,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * updates contacts affected by the option value passed.
+   * Updates contacts affected by the option value passed.
    *
    * @param Integer $optionValueId     the option value id.
    * @param int     $action            the action describing whether prefix/suffix was UPDATED or DELETED
@@ -409,7 +409,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * updates options values weights.
+   * Updates options values weights.
    *
    * @param int $opGroupId
    * @param array $opWeights options value , weight pair
index 9b61c28581befc2aa6809c238ff1ace3db7e71cd..f19d1496dd7c8678167749b988c87001b1338fd8 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;
 
@@ -131,7 +131,7 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   }
 
   /**
-   * retrieve the default Paper Size values
+   * Retrieve the default Paper Size values
    *
    * @param NULL
    *
@@ -327,7 +327,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 d6e0c436c279b7dc5bb33e4b61ad526af93b34d7..0593ce7b1e1da61c481d82d911358ba7bfa84059 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;
 
@@ -385,7 +385,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 c1972f08b9ef1d2bf4236235b2350c7705989622..ab786b14f4bced4a805930334f3e55ba043ae324 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
    * @param array $ids    reference array contains the id
index 7f26b7307ab722bd21e4f9f196f38e55b6d7211b..57712aeb1b3d6df71def7aca1307c7090696fc87 100644 (file)
@@ -66,7 +66,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
    *
index eae4fd7f59fb7475030baeeb0a062162334088c6..bdf26a4a53fb2308eec71ceaa2597ac526b283cf 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
    */
   function __construct() {
     parent::__construct();
@@ -67,7 +67,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -82,7 +82,7 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate {
   }
 
   /**
-   * delete preference dates
+   * Delete preference dates
    *
    * @param  int  $id
    *
index f27dad252dbb1792338b2a702f99a450cde951c4..52e36e57a471eaaa25213240f4ec9fc68ea85bb2 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Core_BAO_PrevNextCache extends CRM_Core_DAO_PrevNextCache {
    * @param $cacheKey
    * @param $id1
    * @param $id2
-   * @param null $mergeId
+   * @param int $mergeId
    * @param null $join
    * @param null $where
    * @param bool $flip
@@ -112,7 +112,7 @@ WHERE  cacheKey     = %3 AND
   }
 
   /**
-   * @param null $id
+   * @param int $id
    * @param null $cacheKey
    * @param string $entityTable
    */
@@ -248,8 +248,8 @@ WHERE cacheKey $op %1
   }
 
   /**
-   * @param null $rgid
-   * @param null $gid
+   * @param int $rgid
+   * @param int $gid
    * @param null $cacheKeyString
    */
   static function refillCache($rgid = NULL, $gid = NULL, $cacheKeyString = NULL) {
@@ -395,7 +395,7 @@ WHERE  cacheKey LIKE %1 AND is_selected = 1
   }
 
   /**
-   * get the selections
+   * Get the selections
    *
    * @param string $cacheKey cache key
    * @param string $action action
index b5b145488caed2adea70c13ea8a1dd2ab9ae9537..30df9808d999169b01e5a4b6be8a63b3834d0820 100644 (file)
@@ -133,7 +133,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
     self::$status = $status;\r
   }\r
   /**\r
-   * save records in civicrm_recujrring_entity table\r
+   * Save records in civicrm_recujrring_entity table\r
    *\r
    * @param array $params reference array contains the values submitted by the form\r
    *\r
index 3ec0ff6efced15c128da638c72908b4164ec1d3a..9dcae8fcdabe02c14b66aab0ebe4d81f7bdeb4e8 100644 (file)
@@ -245,8 +245,8 @@ class CRM_Core_BAO_SchemaHandler {
   }
 
   /**
-   * @param $tableName
-   * @param $fkTableName
+   * @param string $tableName
+   * @param string $fkTableName
    *
    * @return bool
    */
@@ -276,7 +276,7 @@ ALTER TABLE {$tableName}
    * @param array $params
    * @param $separator
    * @param $prefix
-   * @param $tableName
+   * @param string $tableName
    *
    * @return null|string
    */
@@ -362,7 +362,7 @@ ALTER TABLE {$tableName}
   }
 
   /**
-   * delete a civiCRM-table
+   * Delete a civiCRM-table
    *
    * @param  String  $tableName   name of the table to be created.
    *
@@ -377,8 +377,8 @@ ALTER TABLE {$tableName}
   }
 
   /**
-   * @param $tableName
-   * @param $columnName
+   * @param string $tableName
+   * @param string $columnName
    */
   static function dropColumn($tableName, $columnName) {
     $sql = "ALTER TABLE $tableName DROP COLUMN $columnName";
@@ -386,7 +386,7 @@ ALTER TABLE {$tableName}
   }
 
   /**
-   * @param $tableName
+   * @param string $tableName
    * @param bool $dropUnique
    */
   static function changeUniqueToIndex($tableName, $dropUnique = TRUE) {
@@ -468,9 +468,9 @@ ADD UNIQUE INDEX `unique_entity_id` ( `entity_id` )";
   }
 
   /**
-   * @param $customFieldID
-   * @param $tableName
-   * @param $columnName
+   * @param int $customFieldID
+   * @param string $tableName
+   * @param string $columnName
    * @param $length
    *
    * @throws Exception
index 2b1202c49080f2fd8b1f5eb49e35deac194bc7a2..e15812b769b4fa0d29609b25661c22733bc36f3e 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',
@@ -72,7 +72,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param int $contactID If set, this is a contactID specific setting, else its a global setting
    * @param bool|int $load if true, load from local cache (typically memcache)
    *
-   * @param null $domainID
+   * @param int $domainID
    * @param bool $force
    *
    * @return boolean true if item is already in cache
@@ -123,9 +123,9 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   /**
    * @param $values
    * @param $group
-   * @param null $componentID
-   * @param null $contactID
-   * @param null $domainID
+   * @param int $componentID
+   * @param int $contactID
+   * @param int $domainID
    *
    * @return string
    */
@@ -152,9 +152,9 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   /**
    * @param $group
    * @param null $name
-   * @param null $componentID
-   * @param null $contactID
-   * @param null $domainID
+   * @param int $componentID
+   * @param int $contactID
+   * @param int $domainID
    *
    * @return CRM_Core_DAO_Domain|CRM_Core_DAO_Setting
    */
@@ -203,7 +203,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param string $defaultValue The default value to return for this setting if not present in DB
    * @param int $contactID If set, this is a contactID specific setting, else its a global setting
    *
-   * @param null $domainID
+   * @param int $domainID
    *
    * @return mixed The data if present in the setting table, else null
    * @static
@@ -324,10 +324,10 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param string $group (required) The group name of the item
    * @param string $name (required) The name of the setting
    * @param int $componentID The optional component ID (so componenets can share the same name space)
-   * @param null $contactID
+   * @param int $contactID
    * @param int $createdID An optional ID to assign the creator to. If not set, retrieved from session
    *
-   * @param null $domainID
+   * @param int $domainID
    *
    * @return void
    * @static
@@ -360,11 +360,11 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param array $metadata metadata describing this field
    * @param $value
    * @param $group
-   * @param $name
-   * @param null $componentID
-   * @param null $contactID
-   * @param null $createdID
-   * @param null $domainID
+   * @param string $name
+   * @param int $componentID
+   * @param int $contactID
+   * @param int $createdID
+   * @param int $domainID
    */
   static function _setItem(
     $metadata,
@@ -504,7 +504,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * gets metadata about the settings fields (from getfields) based on the fields being passed in
+   * Gets metadata about the settings fields (from getfields) based on the fields being passed in
    *
    * This function filters on the fields like 'version' & 'debug' that are not settings
    *
@@ -757,7 +757,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
   }
 
   /**
-   * move an item from being in the config array to being stored as a setting
+   * Move an item from being in the config array to being stored as a setting
    * remove from config - as appropriate based on metadata
    *
    * Note that where the key name is being changed the 'legacy_key' will give us the old name
@@ -799,9 +799,9 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
 
   /**
    * @param $group
-   * @param $name
+   * @param string $name
    * @param bool $system
-   * @param null $userID
+   * @param int $userID
    * @param bool $localize
    * @param string $returnField
    * @param bool $returnNameANDLabels
@@ -861,10 +861,10 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
 
   /**
    * @param $group
-   * @param $name
+   * @param string $name
    * @param $value
    * @param bool $system
-   * @param null $userID
+   * @param int $userID
    * @param string $keyField
    */
   static function setValueOption($group,
@@ -905,7 +905,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
 
   /**
    * @param array $params
-   * @param null $domainID
+   * @param int $domainID
    */
   static function fixAndStoreDirAndURL(&$params, $domainID = NULL) {
     if (self::isUpgradeFromPreFourOneAlpha1()) {
@@ -1067,7 +1067,7 @@ AND domain_id = %3
    * for a setting.
    *
    * @param $group
-   * @param $name
+   * @param string $name
    * @param $default
    *
    * @return mixed, NULL or an overriden value
@@ -1083,7 +1083,7 @@ AND domain_id = %3
   }
 
   /**
-   * civicrm_setting didn't exist before 4.1.alpha1 and this function helps taking decisions during upgrade
+   * Civicrm_setting didn't exist before 4.1.alpha1 and this function helps taking decisions during upgrade
    *
    * @return boolean
    */
index df2980d47391e66ccef499c93e98cdef251ed80f..0983b663ebc4283034840ab0fedb2dbe4f790ffd 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -121,7 +121,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
    * @param array $usedFor
    * @param bool $buildSelect
    * @param bool $all
-   * @param null $parentId
+   * @param int $parentId
    *
    * @return array
    */
@@ -181,7 +181,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   /**
    * @param string $usedFor
    * @param array $tags
-   * @param null $parentId
+   * @param int $parentId
    * @param string $separator
    *
    * @return array
@@ -263,7 +263,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * delete the tag
+   * Delete the tag
    *
    * @param int $id   tag id
    *
@@ -296,7 +296,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
@@ -371,7 +371,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
    *
@@ -392,7 +392,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   }
 
   /**
-   * get the tags that are not children of a tagset.
+   * Get the tags that are not children of a tagset.
    *
    * @return array $tags associated array of tag name and id@access public
    * @static
index 40cd04f80870dcedc42f2c9d02da4d48f808f464..c7398cde47b88d4fa2f48199820555a43a7836ec 100644 (file)
@@ -76,7 +76,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
    * @param boolean  $is_active  value we want to set the is_active field
@@ -120,7 +120,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
    * @param $ids
@@ -194,7 +194,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
    * @param array $ids array containing the id
@@ -268,7 +268,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * enable/disable profile field given a custom field id
+   * Enable/disable profile field given a custom field id
    *
    * @param int      $customFieldId     custom field id
    * @param boolean  $is_active         set the is_active field
@@ -290,7 +290,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Function to copy existing profile fields to
+   * Copy existing profile fields to
    * new profile from the already built profile
    *
    * @param int      $old_id  from which we need to copy
@@ -313,7 +313,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Function to 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
    *
@@ -335,7 +335,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Function to enable/disable profile field given a custom group id
+   * Enable/disable profile field given a custom group id
    *
    * @param int      $customGroupId custom group id
    * @param boolean  $is_active value we want to set the is_active field
@@ -360,7 +360,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Function to check the status of custom field used in uf fields
+   * Check the status of custom field used in uf fields
    *
    * @param int $UFFieldId
    *
@@ -389,7 +389,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Function to find out whether given profile group using Activity
+   * Find out whether given profile group using Activity
    * Profile fields with contact fields
    */
   static function checkContactActivityProfileType($ufGroupId) {
@@ -445,7 +445,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * Function to find out whether given profile group uses $required
+   * Find out whether given profile group uses $required
    * and/or $optional profile types
    *
    * @param integer $ufGroupId  profile id
@@ -559,7 +559,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * function to get the profile type (eg: individual/organization/household)
+   * Get the profile type (eg: individual/organization/household)
    *
    * @param int $ufGroupId     uf group id
    * @param boolean $returnMixType this is true, then field type of  mix profile field is returned
@@ -583,7 +583,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * function to get the profile type (eg: individual/organization/household)
+   * Get the profile type (eg: individual/organization/household)
    *
    * @param string $ufGroupType
    * @param boolean $returnMixType this is true, then field type of  mix profile field is returned
@@ -690,7 +690,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
   }
 
   /**
-   * function to check for mix profiles groups (eg: individual + other contact types)
+   * Check for mix profiles groups (eg: individual + other contact types)
    *
    * @param $ctype
    *
index 6446d1d57555438b00a01c57ef4e02b69497650c..bb96a3985ebb1a536327784a219baf5e5bee0a69 100644 (file)
@@ -42,7 +42,7 @@ 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
    */
@@ -108,7 +108,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
    * @param boolean  $is_active    value we want to set the is_active field
@@ -122,7 +122,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
    * @param int $mode mode
@@ -177,7 +177,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
    * @param int $visibility visibility of fields we are interested in
@@ -682,7 +682,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
    * @param string $title the title of the group we are interested in
@@ -724,7 +724,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
    * @param string $title the title of the group we are interested in
@@ -876,7 +876,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
    * @param int $id the current contact id (hence excluded from matching)
@@ -902,7 +902,7 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * Given a contact id and a field set, return the values from the db
    * for this contact
    *
-   * @param $cid
+   * @param int $cid
    * @param array $fields the profile fields of interest
    * @param array $values the values for the above fields
    * @param boolean $searchable searchable or not
@@ -1375,7 +1375,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
    * @param array $ids    reference array contains the id
@@ -1418,7 +1418,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
    * @param int   $ufGroupId    ufgroup id
@@ -1488,7 +1488,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
    * @param int $displayName if set return display name in array
@@ -1552,7 +1552,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to 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
    *
@@ -1567,7 +1567,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to get the weight for ufjoin record
+   * Get the weight for ufjoin record
    *
    * @param int $ufGroupId     if $ufGroupId get update weight or add weight
    *
@@ -1597,7 +1597,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to get the uf group for a module
+   * Get the uf group for a module
    *
    * @param string $moduleName module name
    * @param int $count no to increment the weight
@@ -1673,7 +1673,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to 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)
    * @param int $contactID
@@ -1715,7 +1715,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to add profile field to a form
+   * Add profile field to a form
    *
    * @param CRM_Core_Form $form
    * @param array $field properties
@@ -2220,7 +2220,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to set profile defaults
+   * Set profile defaults
    *
    * @param int     $contactId      contact id
    * @param array   $fields         associative array of fields
@@ -2474,7 +2474,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to get profiles by type  eg: pure Individual etc
+   * Get profiles by type  eg: pure Individual etc
    *
    * @param array   $types      associative array of types eg: types('Individual')
    * @param boolean $onlyPure   true if only pure profiles are required
@@ -2502,7 +2502,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to check whether a profile is valid combination of
+   * Check whether a profile is valid combination of
    * required and/or optional profile types
    *
    * @param array   $required   array of types those are required
@@ -2533,7 +2533,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to check whether a profile is valid combination of
+   * Check whether a profile is valid combination of
    * required profile fields
    *
    * @param array   $ufId       integer id of the profile
@@ -2576,7 +2576,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to get default value for Register.
+   * Get default value for Register.
    *
    * @param $fields
    * @param $defaults
@@ -2754,7 +2754,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to assign uf fields to template
+   * Assign uf fields to template
    *
    * @param int $gid group id
    * @param array $values
@@ -2776,7 +2776,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    *
    * @param array $params associated array
    *
-   * @param null $contactId
+   * @param int $contactId
    *
    * @return array $data assoicated formatted array
    * @access public
@@ -2907,7 +2907,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * calculate the profile type 'group_type' as per profile fields.
+   * Calculate the profile type 'group_type' as per profile fields.
    *
    * @param int $gId profile id
    * @param bool $includeTypeValues
@@ -2922,7 +2922,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * calculate the profile type 'group_type' as per profile fields.
+   * Calculate the profile type 'group_type' as per profile fields.
    *
    * @param $ufFields
    * @param bool $includeTypeValues
@@ -3263,7 +3263,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to retrieve groups of  profiles
+   * Retrieve groups of  profiles
    *
    * @param integer $profileID id of the profile
    *
@@ -3281,7 +3281,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
   }
 
   /**
-   * Function to alter contact params by filtering existing subscribed groups and returns
+   * Alter contact params by filtering existing subscribed groups and returns
    * unsubscribed groups array for subscription.
    *
    * @param  array  $params             contact params
@@ -3355,7 +3355,7 @@ SELECT  group_id
   }
 
   /**
-   * Function to check if we are rendering mixed profiles
+   * Check if we are rendering mixed profiles
    *
    * @param array $profileIds associated array of profile ids
    *
@@ -3408,7 +3408,7 @@ SELECT  group_id
   }
 
   /**
-   * Function to determine of we show overlay profile or not
+   * Determine of we show overlay profile or not
    *
    * @return boolean true if profile should be shown else false
    * @static
@@ -3433,7 +3433,7 @@ SELECT  group_id
   }
 
   /**
-   * function to get group type values of the profile
+   * Get group type values of the profile
    *
    * @param int $profileId
    * @param string $groupType
@@ -3510,7 +3510,7 @@ SELECT  group_id
   }
 
   /**
-   * get profiles used for batch entry
+   * Get profiles used for batch entry
    *
    * @return array profileIds profile ids
    * @static
index 93df59978f37c5423bc3d7f17f56421152193542..ee347199b91cfd6b2eb298ea5e521e620ec836bb 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 8210c208fbaf91bf0fd8c22f2bc6e55b29c4be8e..36a0dcdb938c6f4e3933cf3968175c9bdade809f 100644 (file)
@@ -357,7 +357,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
    *
@@ -484,7 +484,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
    *
@@ -508,7 +508,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
    *
@@ -540,7 +540,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * get the list of contact_id
+   * Get the list of contact_id
    *
    *
    * @return int    contact_id on success, null otherwise
@@ -558,10 +558,10 @@ AND    domain_id    = %4
   }
 
   /**
-   * see if this user exists, and if so, if they're allowed to login
+   * See if this user exists, and if so, if they're allowed to login
    *
    *
-   * @param $openId
+   * @param int $openId
    *
    * @return bool     true if allowed to login, false otherwise
    * @access public
@@ -578,7 +578,7 @@ AND    domain_id    = %4
   }
 
   /**
-   * get the next unused uf_id value, since the standalone UF doesn't
+   * Get the next unused uf_id value, since the standalone UF doesn't
    * have id's (it uses OpenIDs, which go in a different field)
    *
    *
index f30131bf1a93d5e81787752f196f83cf60f9567b..0b2d83f27db454cb5b0d2e2048b5ca117e25e7b6 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 associated array
    * @param int $contactID contact id
index d2543260ba7998d3d8369c9b749a91a93b808497..1d933ec2eb4c6d5ad79cf344274d596f5734e371 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Core_DAO_WordReplacement
@@ -92,7 +92,7 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement {
    * Save the values of a WordReplacement
    *
    * @param array $params
-   * @param $id
+   * @param int $id
    *
    * @return WordReplacement array
    * @access public
index ba103f8527ccbefd0fe082f94edb81d05ff3e5b9..a09ec56892553b57213e82977f12f9070f26247a 100644 (file)
@@ -44,7 +44,7 @@ require_once 'CRM/Core/I18n.php';
 class CRM_Core_Base {
 
   /**
-   * constructor
+   * Constructor
    */
   function __construct() {}
 }
index 92c81a32888fcc248b58a7cc9d9541b20f181258..a865fda6df03f763005dd68ed54fe4fbf7d424c6 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Core_Block {
 
   /**
-   * the following blocks are supported
+   * The following blocks are supported
    *
    * @var int
    */
@@ -55,18 +55,18 @@ 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
    *
    */
   function __construct() {}
 
   /**
-   * initialises the $_properties array
+   * Initialises the $_properties array
    *
    * @return void
    */
@@ -180,7 +180,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * returns the desired property from the $_properties array
+   * Returns the desired property from the $_properties array
    *
    * @param int $id one of the class constants (ADD, SEARCH, etc.)
    * @param string $property the desired property
@@ -195,7 +195,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * sets the desired property in the $_properties array
+   * Sets the desired property in the $_properties array
    *
    * @param int    $id        one of the class constants (ADD, SEARCH, etc.)
    * @param string $property  the desired property
@@ -211,7 +211,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * returns the whole $_properties array
+   * Returns the whole $_properties array
    *
    * @return array  the $_properties array
    */
@@ -275,12 +275,12 @@ class CRM_Core_Block {
   }
 
   /**
-   * set the post action values for the block.
+   * Set the post action values for the block.
    *
    * php is lame and u cannot call functions from static initializers
    * hence this hack
    *
-   * @param $id
+   * @param int $id
    *
    * @return void
    * @access private
@@ -332,7 +332,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
    * @access private
@@ -449,7 +449,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * create the list of dashboard links
+   * Create the list of dashboard links
    *
    * @return void
    * @access private
@@ -485,7 +485,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
    * @access private
@@ -518,7 +518,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
    * @access private
@@ -534,7 +534,7 @@ class CRM_Core_Block {
   }
 
   /**
-   * create the event blocks for upcoming events
+   * Create the event blocks for upcoming events
    *
    * @return void
    * @access private
index 1818d3c52d32de247dd309e708a1ed7823e7509e..97453d18030724de34ef9dd7a96eb20af6e89bda 100644 (file)
@@ -105,7 +105,7 @@ class CRM_Core_CodeGen_Specification {
 
   /**
    * @param $tables
-   * @param $classNames
+   * @param string $classNames
    */
   function resolveForeignKeys(&$tables, &$classNames) {
     foreach (array_keys($tables) as $name) {
@@ -115,8 +115,8 @@ class CRM_Core_CodeGen_Specification {
 
   /**
    * @param $tables
-   * @param $classNames
-   * @param $name
+   * @param string $classNames
+   * @param string $name
    */
   function resolveForeignKey(&$tables, &$classNames, $name) {
     if (!array_key_exists('foreignKey', $tables[$name])) {
@@ -156,8 +156,8 @@ class CRM_Core_CodeGen_Specification {
 
   /**
    * @param $tables
-   * @param $valid
-   * @param $name
+   * @param int $valid
+   * @param string $name
    *
    * @return bool
    */
@@ -415,7 +415,7 @@ class CRM_Core_CodeGen_Specification {
   }
 
   /**
-   * @param $name
+   * @param string $name
    *
    * @return string
    */
@@ -534,7 +534,7 @@ class CRM_Core_CodeGen_Specification {
    * @param $foreignXML
    * @param $fields
    * @param $foreignKeys
-   * @param $currentTableName
+   * @param string $currentTableName
    */
   function getForeignKey(&$foreignXML, &$fields, &$foreignKeys, &$currentTableName) {
     $name = trim((string ) $foreignXML->name);
@@ -591,7 +591,7 @@ class CRM_Core_CodeGen_Specification {
   /**
    * @param $attributes
    * @param $object
-   * @param $name
+   * @param string $name
    * @param null $pre
    * @param null $post
    */
index f643e847bb58df740e2540cd99f42e05001cfa95..e6dbbf8b0d3bce367c782d1284b6a2143a2a8a69 100644 (file)
@@ -70,7 +70,7 @@ class CRM_Core_Component {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param null $attribute
    *
    * @return mixed
@@ -234,7 +234,7 @@ class CRM_Core_Component {
   }
 
   /**
-   * @param $componentName
+   * @param string $componentName
    *
    * @return mixed
    */
@@ -249,7 +249,7 @@ class CRM_Core_Component {
   }
 
   /**
-   * @param $componentID
+   * @param int $componentID
    *
    * @return int|null|string
    */
@@ -285,7 +285,7 @@ class CRM_Core_Component {
 
   /**
    * @param $query
-   * @param $fnName
+   * @param string $fnName
    */
   static function alterQuery(&$query, $fnName) {
     $info = self::_info();
@@ -299,7 +299,7 @@ class CRM_Core_Component {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $mode
    * @param $side
    *
@@ -361,7 +361,7 @@ class CRM_Core_Component {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {
     $info = self::_info();
@@ -417,7 +417,7 @@ class CRM_Core_Component {
   }
 
   /**
-   * handle table dependencies of components
+   * Handle table dependencies of components
    *
    * @param array $tables  array of tables
    *
@@ -437,7 +437,7 @@ class CRM_Core_Component {
   }
 
   /**
-   * get components info from info file
+   * Get components info from info file
    *
    */
   static function getComponentsFromFile($crmFolderDir) {
index d4505be76081077600db5c899093f2ad60dc0a14..ffc6a9abd1c186cd7d8d3a1f3720c6f818f4d31e 100644 (file)
@@ -50,28 +50,28 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   ///
 
   /**
-   * the dsn of the database connection
+   * The dsn of the database connection
    *
    * @var string
    */
   public $dsn;
 
   /**
-   * the name of user framework
+   * The name of user framework
    *
    * @var string
    */
   public $userFramework = 'Drupal';
 
   /**
-   * the name of user framework url variable name
+   * The name of user framework url variable name
    *
    * @var string
    */
   public $userFrameworkURLVar = 'q';
 
   /**
-   * the dsn of the database connection for user framework
+   * The dsn of the database connection for user framework
    *
    * @var string
    */
@@ -109,7 +109,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   ///
 
   /**
-   * are we initialized and in a proper state
+   * Are we initialized and in a proper state
    *
    * @var string
    */
@@ -121,7 +121,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   public $customPHPPathDir;
 
   /**
-   * the factory class used to instantiate our DB objects
+   * The factory class used to instantiate our DB objects
    *
    * @var string
    */
@@ -134,7 +134,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   private static $_log = NULL;
 
   /**
-   * the handle on the mail handler that we are using
+   * The handle on the mail handler that we are using
    *
    * @var object
    */
@@ -401,7 +401,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * initialize the DataObject framework
+   * Initialize the DataObject framework
    *
    * @return void
    * @access private
@@ -418,7 +418,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * returns the singleton logger for the application
+   * Returns the singleton logger for the application
    *
    * @param
    * @access private
@@ -434,7 +434,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * initialize the config variables
+   * Initialize the config variables
    *
    * @return void
    * @access private
@@ -662,7 +662,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * verify that the needed parameters are not null in the config
+   * Verify that the needed parameters are not null in the config
    *
    * @param CRM_Core_Config (reference ) the system config object
    * @param array           (reference ) the parameters that need a value
@@ -681,7 +681,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * reset the serialized array and recompute
+   * Reset the serialized array and recompute
    * use with care
    */
   function reset() {
@@ -701,7 +701,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * one function to get domain ID
+   * One function to get domain ID
    */
   static function domainID($domainID = NULL, $reset = FALSE) {
     static $domain;
@@ -716,7 +716,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * do general cleanup of caches, temp directories and temp tables
+   * Do general cleanup of caches, temp directories and temp tables
    * CRM-8739
    */
   function cleanupCaches($sessionReset = TRUE) {
@@ -772,7 +772,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * clear db cache
+   * Clear db cache
    */
   public static function clearDBCache() {
     $queries = array(
@@ -796,7 +796,7 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
   }
 
   /**
-   * clear leftover temporary tables
+   * Clear leftover temporary tables
    */
   public static function clearTempTables() {
     // CRM-5645
@@ -827,7 +827,7 @@ AND
   }
 
   /**
-   * check if running in upgrade mode
+   * Check if running in upgrade mode
    */
   static function isUpgradeMode($path = NULL) {
     if (defined('CIVICRM_UPGRADE_ACTIVE')) {
index c690bcc82b336d66bf88d4b49d7947f83f749aa3..f04a1256f00ae60a0a0d458247ea920e2b32ea8f 100644 (file)
@@ -75,7 +75,7 @@ class CRM_Core_Config_Defaults {
   }
 
   /**
-   * format size
+   * Format size
    *
    * @access public
    * @static
@@ -106,7 +106,7 @@ class CRM_Core_Config_Defaults {
   }
 
   /**
-   * set the default values
+   * Set the default values
    *
    * @param array $defaults associated array of form elements
    * @param bool|\boolena $formMode this funtion is called to set default
index 7afd1b42b8f2be09cd1a304daaab5a0527765307..2f826600b9a34c61d5dd699f1b47934fc9b11437 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;
@@ -262,7 +262,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   public $userFrameworkLogging = FALSE;
 
   /**
-   * the handle for import file size
+   * The handle for import file size
    * @var int
    */
   public $maxImportFileSize = 1048576;
@@ -357,49 +357,49 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   public $enableSSL = FALSE;
 
   /**
-   * error template to use for fatal errors
+   * Error template to use for fatal errors
    *
    * @var string
    */
   public $fatalErrorTemplate = 'CRM/common/fatal.tpl';
 
   /**
-   * fatal error handler
+   * Fatal error handler
    *
    * @var string
    */
   public $fatalErrorHandler = NULL;
 
   /**
-   * legacy encoding for file encoding conversion
+   * Legacy encoding for file encoding conversion
    *
    * @var string
    */
   public $legacyEncoding = 'Windows-1252';
 
   /**
-   * field separator for import/export csv file
+   * Field separator for import/export csv file
    *
    * @var string
    */
   public $fieldSeparator = ',';
 
   /**
-   * max location blocks in address
+   * Max location blocks in address
    *
    * @var integer
    */
   public $maxLocationBlocks = 2;
 
   /**
-   * the font path where captcha fonts are stored
+   * The font path where captcha fonts are stored
    *
    * @var string
    */
   public $captchaFontPath = '/usr/X11R6/lib/X11/fonts/';
 
   /**
-   * the font to use for captcha
+   * The font to use for captcha
    *
    * @var string
    */
@@ -422,7 +422,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   public $dashboardCacheTimeout = 1440;
 
   /**
-   * flag to indicate if acl cache is NOT to be reset
+   * Flag to indicate if acl cache is NOT to be reset
    */
   public $doNotResetCache = 0;
 
@@ -434,19 +434,19 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
   public $oldInputStyle = 1;
 
   /**
-   * should we disable key generation for forms
+   * Should we disable key generation for forms
    *
    * @var boolean
    */
   public $formKeyDisable = FALSE;
 
   /**
-   * to determine whether the call is from cms or civicrm
+   * To determine whether the call is from cms or civicrm
    */
   public $inCiviCRM = FALSE;
 
   /**
-   * component registry object (of CRM_Core_Component type)
+   * Component registry object (of CRM_Core_Component type)
    */
   public $componentRegistry = NULL;
 
index ddf95f60e7b6e01f32c7ca6177c8d8e24be79529..d9715e457fc1757e4ec311cab118f1e2960747b3 100644 (file)
@@ -52,7 +52,7 @@ require_once 'HTML/QuickForm/Action/Direct.php';
 class CRM_Core_Controller extends HTML_QuickForm_Controller {
 
   /**
-   * the title associated with this controller
+   * The title associated with this controller
    *
    * @var string
    */
@@ -66,14 +66,14 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   public $_key;
 
   /**
-   * the name of the session scope where values are stored
+   * The name of the session scope where values are stored
    *
    * @var object
    */
   protected $_scope;
 
   /**
-   * the state machine associated with this controller
+   * The state machine associated with this controller
    *
    * @var object
    */
@@ -121,14 +121,14 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   public $_QFResponseType = 'html';
 
   /**
-   * cache the smarty template for efficiency reasons
+   * Cache the smarty template for efficiency reasons
    *
    * @var CRM_Core_Smarty
    */
   static protected $_template;
 
   /**
-   * cache the session for efficiency reasons
+   * Cache the session for efficiency reasons
    *
    * @var CRM_Core_Session
    */
@@ -284,7 +284,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param bool $addSequence
    * @param bool $ignoreKey
    *
@@ -407,7 +407,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * getter method for stateMachine
+   * Getter method for stateMachine
    *
    * @return CRM_Core_StateMachine
    * @access public
@@ -417,7 +417,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * setter method for stateMachine
+   * Setter method for stateMachine
    *
    * @param CRM_Core_StateMachine $stateMachine
    *
@@ -429,7 +429,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * add pages to the controller. Note that the controller does not really care
+   * Add pages to the controller. Note that the controller does not really care
    * the order in which the pages are added
    *
    * @param CRM_Core_StateMachine $stateMachine
@@ -494,7 +494,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * destroy all the session state of the controller.
+   * Destroy all the session state of the controller.
    *
    * @access public
    *
@@ -506,7 +506,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * virtual function to do any processing of data.
+   * Virtual function to do any processing of data.
    * Sometimes it is useful for the controller to actually process data.
    * This is typically used when we need the controller to figure out
    * what pages are potentially involved in this wizard. (this is dynamic
@@ -605,7 +605,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * assign value to name in template
+   * Assign value to name in template
    *
    * @param string $var
    * @param mixed $value value of varaible
@@ -618,7 +618,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * assign value to name in template by reference
+   * Assign value to name in template by reference
    *
    * @param string $var
    * @param mixed $value (reference) value of varaible
@@ -631,7 +631,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * appends values to template variables
+   * Appends values to template variables
    *
    * @param array|string $tpl_var the template variable name(s)
    * @param mixed $value the value to append
@@ -653,7 +653,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * setter for embedded
+   * Setter for embedded
    *
    * @param boolean $embedded
    *
@@ -665,7 +665,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * getter for embedded
+   * Getter for embedded
    *
    * @return boolean return the embedded value
    * @access public
@@ -675,7 +675,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * setter for skipRedirection
+   * Setter for skipRedirection
    *
    * @param boolean $skipRedirection
    *
@@ -687,7 +687,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * getter for skipRedirection
+   * Getter for skipRedirection
    *
    * @return boolean return the skipRedirection value
    * @access public
@@ -726,7 +726,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * setter for print
+   * Setter for print
    *
    * @param boolean $print
    *
@@ -744,7 +744,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   }
 
   /**
-   * getter for print
+   * Getter for print
    *
    * @return boolean return the print value
    * @access public
index 2536aa324f2b06e13434cab988a50915cc5c2c17..f3319021e827c96c03c0f19d4d478e619b90dcac 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Controller_Simple extends CRM_Core_Controller {
 
   /**
-   * constructor
+   * Constructor
    *
    * @param null $path
    * @param bool $title
index d413b5fa4f9bc2fd6db0923429f3711bc20b21d2..57259e16b83054fbc19bf456709116285751b609 100644 (file)
@@ -45,7 +45,7 @@ require_once 'CRM/Core/I18n.php';
 class CRM_Core_DAO extends DB_DataObject {
 
   /**
-   * a null object so we can pass it as reference if / when needed
+   * A null object so we can pass it as reference if / when needed
    */
   static $_nullObject = NULL;
   static $_nullArray = array();
@@ -69,7 +69,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;
@@ -88,14 +88,14 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * empty definition for virtual function
+   * Empty definition for virtual function
    */
   static function getTableName() {
     return NULL;
   }
 
   /**
-   * initialize the DAO object
+   * Initialize the DAO object
    *
    * @param string $dsn   the database connection string
    *
@@ -112,7 +112,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $fieldDef
    * @param array $params
    *
@@ -268,7 +268,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * reset the DAO object. DAO is kinda crappy in that there is an unwritten
+   * Reset the DAO object. DAO is kinda crappy in that there is an unwritten
    * rule of one query per DAO. We attempt to get around this crappy restricrion
    * by resetting some of DAO's internal fields. Use this with caution
    *
@@ -292,7 +292,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * @param $tableName
+   * @param string $tableName
    *
    * @return string
    */
@@ -398,7 +398,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * returns list of FK relationships
+   * Returns list of FK relationships
    *
    * @static
    * @access public
@@ -410,7 +410,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * returns all the column names of this table
+   * Returns all the column names of this table
    *
    * @access public
    *
@@ -422,7 +422,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * get/set an associative array of table columns
+   * Get/set an associative array of table columns
    *
    * @access public
    * @param  array key=>type array
@@ -570,7 +570,7 @@ class CRM_Core_DAO extends DB_DataObject {
   }
 
   /**
-   * create an attribute for this specific field. We only do this for strings and text
+   * Create an attribute for this specific field. We only do this for strings and text
    *
    * @param array $field the field under task
    *
@@ -1085,7 +1085,7 @@ FROM   civicrm_domain
   }
 
   /**
-   * execute a query
+   * Execute a query
    *
    * @param string $query query to be executed
    *
@@ -1139,7 +1139,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
    * @param array $params
@@ -1388,7 +1388,7 @@ FROM   civicrm_domain
    * since its used for things like send email
    *
    * @param $componentIDs
-   * @param $tableName
+   * @param string $tableName
    *
    * @return array
    */
@@ -1418,7 +1418,7 @@ SELECT contact_id
    *
    * @param string $daoName name of the dao object
    * @param string $fieldIdName
-   * @param $fieldId
+   * @param int $fieldId
    * @param $details
    * @param array $returnProperities an assoc array of fields that need to be returned, eg array( 'first_name', 'last_name')
    *
@@ -1600,7 +1600,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
@@ -2105,7 +2105,7 @@ SELECT contact_id
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @return bool|array
    */
   function getFieldSpec($fieldName) {
index b389988335fd08c08063222159a0170ef23516eb..a40b31d0342fbf5354465de3b9462025570564f7 100644 (file)
@@ -23,7 +23,7 @@ class CRM_Core_DAO_Factory {
   static $_suffix = '.php';
 
   /**
-   * @param $className
+   * @param string $className
    *
    * @return mixed
    * @throws Exception
index a5e14815330240b12a24f801b577d55d0d1e0906..380f9e17ef49c360747e45f94601b6cecef2089b 100644 (file)
@@ -73,7 +73,7 @@ class CRM_Exception extends PEAR_Exception {
 class CRM_Core_Error extends PEAR_ErrorStack {
 
   /**
-   * status code of various types of errors
+   * Status code of various types of errors
    * @var const
    */
   CONST FATAL_ERROR = 2;
@@ -103,7 +103,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   public static $modeException = NULL;
 
   /**
-   * singleton function used to manage this object.
+   * Singleton function used to manage this object.
    *
    * @param null $package
    * @param bool $msgCallback
@@ -122,7 +122,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * constructor
+   * Constructor
    */
   function __construct() {
     parent::__construct('CiviCRM');
@@ -168,7 +168,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * create the main callback method. this method centralizes error processing.
+   * Create the main callback method. this method centralizes error processing.
    *
    * the errors we expect are from the pear modules DB, DB_DataObject
    * which currently use PEAR::raiseError to notify of error messages.
@@ -298,7 +298,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * display an error page with an error message describing what happened
+   * Display an error page with an error message describing what happened
    *
    * @param string $message the error message
    * @param string $code the error code if any
@@ -385,7 +385,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * display an error page with an error message describing what happened
+   * Display an error page with an error message describing what happened
    *
    * This function is evil -- it largely replicates fatal(). Hopefully the
    * entire CRM_Core_Error system can be hollowed out and replaced with
@@ -458,7 +458,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * outputs pre-formatted debug information. Flushes the buffers
+   * Outputs pre-formatted debug information. Flushes the buffers
    * so we can interrupt a potential POST/redirect
    *
    * @param  string name of debug section
@@ -557,7 +557,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * display the error message on terminal
+   * Display the error message on terminal
    *
    * @param $message
    * @param bool $out should we log or return the output
@@ -798,7 +798,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    * @param $message
    * @param int $code
    * @param string $level
-   * @param null $params
+   * @param array $params
    *
    * @return object
    */
@@ -835,7 +835,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * reset the error stack
+   * Reset the error stack
    *
    * @access public
    * @static
index d2944122eb6432b484abbb8a6e63b1503c263c7e..2617c25793d935f6f598ee51eb6e61f83a01e0bf 100644 (file)
@@ -74,7 +74,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   protected $_action;
 
   /**
-   * the renderer used for this form
+   * The renderer used for this form
    *
    * @var object
    */
@@ -96,7 +96,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   protected $_dateFields = array();
 
   /**
-   * cache the smarty template for efficiency reasons
+   * Cache the smarty template for efficiency reasons
    *
    * @var CRM_Core_Smarty
    */
@@ -127,7 +127,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   public $controller;
 
   /**
-   * constants for attributes for various form elements
+   * Constants for attributes for various form elements
    * attempt to standardize on the number of variations that we
    * use of the below form elements
    *
@@ -205,7 +205,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
 
   /**
    * Add one or more css classes to the form
-   * @param $className
+   * @param string $className
    */
   public function addClass($className) {
     $classes = $this->getAttribute('class');
@@ -213,7 +213,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
    * @access private
@@ -547,7 +547,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for Name
+   * Getter function for Name
    *
    * @return string
    * @access public
@@ -557,7 +557,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for State
+   * Getter function for State
    *
    * @return object
    * @access public
@@ -567,7 +567,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for StateType
+   * Getter function for StateType
    *
    * @return int
    * @access public
@@ -577,7 +577,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for title. Should be over-ridden by derived class
+   * Getter function for title. Should be over-ridden by derived class
    *
    * @return string
    * @access public
@@ -587,7 +587,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * setter function for title.
+   * Setter function for title.
    *
    * @param string $title the title of the form
    *
@@ -611,7 +611,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for link.
+   * Getter function for link.
    *
    * @return string
    * @access public
@@ -624,7 +624,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 boolean
    * @access public
@@ -634,7 +634,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for Form Action
+   * Getter function for Form Action
    *
    * @return string
    * @access public
@@ -644,7 +644,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * setter function for Form Action
+   * Setter function for Form Action
    *
    * @param string
    *
@@ -656,7 +656,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * render form and return contents
+   * Render form and return contents
    *
    * @return string
    * @access public
@@ -673,7 +673,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter function for renderer. If renderer is not set
+   * Getter function for renderer. If renderer is not set
    * create one and initialize it
    *
    * @return object
@@ -778,7 +778,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * getter for action
+   * Getter for action
    *
    * @return int
    * @access public
@@ -788,7 +788,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
    *
@@ -800,7 +800,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
    * @param mixed $value value of variable
@@ -813,7 +813,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
    * @param mixed $value value of varaible
@@ -826,7 +826,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 the value to append
@@ -848,7 +848,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param $values
    * @param array $attributes
@@ -877,7 +877,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $title
    * @param bool $allowClear
    * @param null $required
@@ -899,7 +899,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $title
    * @param $values
    * @param null $other
@@ -957,7 +957,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * 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 title of the main button
@@ -991,7 +991,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param string $from
    * @param string $to
    * @param string $label
@@ -1097,7 +1097,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $label
    * @param $attributes
    * @param bool $forceTextarea
@@ -1141,7 +1141,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $title
    * @param null $required
    * @param null $extra
@@ -1157,7 +1157,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $label
    * @param $options
    * @param $attributes
@@ -1357,7 +1357,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
    */
   function addMoney($name,
     $label,
@@ -1379,7 +1379,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * add currency element to the form
+   * Add currency element to the form
    */
   function addCurrency($name = 'currency',
     $label           = NULL,
@@ -1591,7 +1591,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   }
 
   /**
-   * add autoselector field -if user has permission to view contacts
+   * Add autoselector field -if user has permission to view contacts
    * If adding this to a form you also need to add to the tpl e.g
    *
    * {if !empty($selectable)}
index 58da214144db3dc2c93e907aad9c582866ddd02c..d6c08e1fea8883048b426a135e2eec4de88ca9c1 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;
 
index 896ac6fdb7b0e461a5208478df09f1c18ebf7c7f..d9e5b6e58485c70a194c95ec19c529679b15ab21 100644 (file)
@@ -226,7 +226,7 @@ class CRM_Core_Form_RecurringEntity {
   }\r
 \r
   /**\r
-   * global validation rules for the form\r
+   * Global validation rules for the form\r
    *\r
    * @param array $fields posted values of the form\r
    *\r
index 7eee0a3a42220dadd7c91f3686d7d51db599ff52..820780d415ef0b032e40ba1d9f2ad6707d75b3dc 100644 (file)
@@ -50,7 +50,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
    * @static
index 9b9cbc0f7eea6948d29c3e2238c25e342d634455..677cb979ed6d340520b18557157bdc06ea629e00 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Core_Form_Search extends CRM_Core_Form {
   protected $_force;
 
   /**
-   * name of search button
+   * Name of search button
    *
    * @var string
    * @access protected
@@ -46,7 +46,7 @@ class CRM_Core_Form_Search extends CRM_Core_Form {
   protected $_searchButtonName;
 
   /**
-   * name of action button
+   * Name of action button
    *
    * @var string
    * @access protected
@@ -54,7 +54,7 @@ class CRM_Core_Form_Search extends CRM_Core_Form {
   protected $_actionButtonName;
 
   /**
-   * form values that we will be using
+   * Form values that we will be using
    *
    * @var array
    * @access public
@@ -62,7 +62,7 @@ class CRM_Core_Form_Search extends CRM_Core_Form {
   public $_formValues;
 
   /**
-   * have we already done this search
+   * Have we already done this search
    *
    * @access protected
    * @var boolean
@@ -70,7 +70,7 @@ class CRM_Core_Form_Search extends CRM_Core_Form {
   protected $_done;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
index bcb1dab5b52955abdd6964370aeac0e9c0e467ac..9f71a354bae98f57dee11e997b419bc57383c4a5 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Core_Form_Tag {
   public $_entityTagValues;
 
   /**
-   * build tag widget if correct parent is passed
+   * Build tag widget if correct parent is passed
    *
    * @param CRM_Core_Form $form form object
    * @param string $parentNames parent name ( tag name)
@@ -116,7 +116,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      associated array
    * @param int     $entityId    entity id, eg: contact id, activity id, case id, file id
index 89095af0a752c415c942d01880f6d60a861e7f12..dde1c2e39dbc147f0e8119c043f606c897e41a67 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,
@@ -44,7 +44,7 @@ class CRM_Core_IDS {
   );
 
   /**
-   * the init object
+   * The init object
    */
   private $init = NULL;
 
index c1473b41da671dae20b28cfbbcc7dd38bc5425e5..b7dcb40afa0d0057290d656b47a2d222386d59df 100644 (file)
@@ -117,7 +117,7 @@ class CRM_Core_JobManager {
   }
 
   /**
-   * @param $id
+   * @param int $id
    */
   public function executeJobById($id) {
     $job = $this->_getJob($id);
@@ -186,7 +186,7 @@ class CRM_Core_JobManager {
    *
    */
   /**
-   * @param null $id
+   * @param int $id
    * @param null $entity
    * @param null $action
    *
index 38cc1042d1f9e460a353c05e7d904953169094cc..ffbdb2a21334804fbc219fb832dfd44b97f60169 100644 (file)
@@ -42,7 +42,7 @@ require_once 'CRM/Core/I18n.php';
 class CRM_Core_Menu {
 
   /**
-   * the list of menu items
+   * The list of menu items
    *
    * @var array
    * @static
@@ -50,7 +50,7 @@ class CRM_Core_Menu {
   static $_items = NULL;
 
   /**
-   * the list of permissioned menu items
+   * The list of permissioned menu items
    *
    * @var array
    * @static
@@ -103,7 +103,7 @@ class CRM_Core_Menu {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $menu
    *
    * @throws Exception
index 29d5bab43174437af9a7b9424a319407fdfc54b3..cbc6daacfa79c846e9ab2374727dec685f5dd4cf 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Core_Module {
   public $is_active;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $is_active
    */
   public function __construct($name, $is_active) {
index 424885b90d930198cc821c7aada5f372b68636b2..715629a9d695fefee6a787afedf5d8a710a47043 100644 (file)
@@ -165,12 +165,12 @@ WHERE  v.option_group_id = g.id
   /**
    * Counterpart to values() which removes the item from the cache
    *
-   * @param $name
+   * @param string $name
    * @param $flip
    * @param $grouping
    * @param $localize
    * @param $condition
-   * @param $labelColumnName
+   * @param string $labelColumnName
    * @param $onlyActive
    * @param string $keyColumnName
    */
@@ -242,7 +242,7 @@ WHERE  v.option_group_id = g.id
   }
 
   /**
-   * lookup titles OR ids for a set of option_value populated fields. The retrieved value
+   * Lookup titles OR ids for a set of option_value populated fields. The retrieved value
    * is assigned a new fieldname by id or id's by title
    * (each within a specificied option_group)
    *
@@ -318,7 +318,7 @@ WHERE  v.option_group_id = g.id
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param $value
    * @param bool $onlyActiveValue
    *
@@ -354,7 +354,7 @@ WHERE  v.option_group_id = g.id
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param $label
    * @param string $labelField
    * @param string $labelType
@@ -485,7 +485,7 @@ WHERE  v.option_group_id = g.id
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param $values
    * @param bool $flip
    * @param string $field
@@ -531,7 +531,7 @@ ORDER BY v.weight
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param string $operator
    */
   static function deleteAssoc($groupName, $operator = "=") {
@@ -548,7 +548,7 @@ DELETE g, v
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param $value
    *
    * @return null|string
@@ -568,7 +568,7 @@ SELECT v.label
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param $fieldValue
    * @param string $field
    * @param string $fieldType
index a93862915ae4dea104dce6041d94d4b1d1dbc3bb..3a886d74acf23d58c1215ff10be1a80966a02826 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_OptionValue {
 
   /**
-   * static field for all the option value information that we can potentially export
+   * Static field for all the option value information that we can potentially export
    *
    * @var array
    * @static
@@ -43,7 +43,7 @@ class CRM_Core_OptionValue {
   static $_exportableFields = NULL;
 
   /**
-   * static field for all the option value information that we can potentially export
+   * Static field for all the option value information that we can potentially export
    *
    * @var array
    * @static
@@ -51,7 +51,7 @@ class CRM_Core_OptionValue {
   static $_importableFields = NULL;
 
   /**
-   * static field for all the option value information that we can potentially export
+   * Static field for all the option value information that we can potentially export
    *
    * @var array
    * @static
@@ -59,7 +59,7 @@ class CRM_Core_OptionValue {
   static $_fields = NULL;
 
   /**
-   * return option-values of a particular group
+   * Return option-values of a particular group
    *
    * @param  array     $groupParams   Array containing group fields whose option-values is to retrieved.
    * @param  string    $orderBy       for orderBy clause
@@ -170,7 +170,7 @@ class CRM_Core_OptionValue {
   }
 
   /**
-   * add/edit option-value of a particular group
+   * Add/edit option-value of a particular group
    *
    * @param  array $params Array containing exported values from the invoking form.
    * @param  array $groupParams Array containing group fields whose option-values is to retrieved/saved.
@@ -243,7 +243,7 @@ class CRM_Core_OptionValue {
    * @param string $daoName the dao object name
    * @param string $daoID the id of the object being updated. u can change your name
    *                          as long as there is no conflict
-   * @param $optionGroupID
+   * @param int $optionGroupID
    * @param string $fieldName the name of the field in the DAO
    *
    * @return boolean     true if object exists
@@ -338,7 +338,7 @@ class CRM_Core_OptionValue {
   }
 
   /**
-   * build select query in case of option-values
+   * Build select query in case of option-values
    *
    * @param $query
    *
@@ -365,7 +365,7 @@ class CRM_Core_OptionValue {
   }
 
   /**
-   * return option-values of a particular group
+   * Return option-values of a particular group
    *
    * @param  array     $groupParams   Array containing group fields
    *                                  whose option-values is to retrieved.
index 6e1da70b00a4e9efa1fc38a4bbfd3a3e02b9e239..1f6f844e935db8e76f8f150930737d67a51b4604 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Core_Page {
   protected $_name;
 
   /**
-   * the title associated with this page
+   * The title associated with this page
    *
    * @var object
    * @access protected
@@ -87,7 +87,7 @@ class CRM_Core_Page {
   protected $_print = FALSE;
 
   /**
-   * cache the smarty template for efficiency reasons
+   * Cache the smarty template for efficiency reasons
    *
    * @var CRM_Core_Smarty
    * @access protected
@@ -96,7 +96,7 @@ class CRM_Core_Page {
   static protected $_template;
 
   /**
-   * cache the session for efficiency reasons
+   * Cache the session for efficiency reasons
    *
    * @var CRM_Core_Session
    * @access protected
@@ -125,7 +125,7 @@ class CRM_Core_Page {
   public $useLivePageJS;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param string $title title of the page
    * @param int    $mode  mode of the page
@@ -277,7 +277,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * assign value to name in template
+   * Assign value to name in template
    *
    * @param string $var
    * @param mixed $value value of varaible
@@ -290,7 +290,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 (reference) value of varaible
@@ -303,7 +303,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 the value to append
@@ -325,7 +325,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * destroy all the session state of this page.
+   * Destroy all the session state of this page.
    *
    * @access public
    *
@@ -370,7 +370,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * setter for embedded
+   * Setter for embedded
    *
    * @param boolean $embedded
    *
@@ -382,7 +382,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * getter for embedded
+   * Getter for embedded
    *
    * @return boolean return the embedded value
    * @access public
@@ -392,7 +392,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * setter for print
+   * Setter for print
    *
    * @param boolean $print
    *
@@ -404,7 +404,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * getter for print
+   * Getter for print
    *
    * @return boolean return the print value
    * @access public
@@ -421,7 +421,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * @param $name
+   * @param string $name
    *
    * @return null
    */
@@ -430,7 +430,7 @@ class CRM_Core_Page {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $value
    */
   function setVar($name, $value) {
index aab1f2fed1646a269fabcd3d4e52ac5bd357d59b..4b3fc14b00326114615223ddba06ec38a5a9317a 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Page_AJAX {
 
   /**
-   * call generic ajax forms
+   * Call generic ajax forms
    *
    * @static
    * @access public
@@ -90,7 +90,7 @@ class CRM_Core_Page_AJAX {
   }
 
   /**
-   * change is_quick_config priceSet to complex
+   * Change is_quick_config priceSet to complex
    *
    * @static
    * @access public
index f495abdbfb69d5ad4fec87c51bcae662e3803301..d861cc5b1d8e5c04ce676a3eb0807161ad2b8fa2 100644 (file)
@@ -41,11 +41,11 @@ 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
    * @access public
@@ -54,7 +54,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract function getBAOName();
 
   /**
-   * an array of action links
+   * An array of action links
    *
    * @return array (reference)
    * @access public
@@ -62,7 +62,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract function &links();
 
   /**
-   * name of the edit form class
+   * Name of the edit form class
    *
    * @return string
    * @access public
@@ -70,7 +70,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract function editForm();
 
   /**
-   * name of the form
+   * Name of the form
    *
    * @return string
    * @access public
@@ -78,7 +78,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract function editName();
 
   /**
-   * userContext to pop back to
+   * UserContext to pop back to
    *
    * @param int $mode mode that we are in
    *
@@ -88,7 +88,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   abstract function userContext($mode = NULL);
 
   /**
-   * get userContext params
+   * Get userContext params
    *
    * @param int $mode mode that we are in
    *
@@ -100,7 +100,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
    * @param int $name the name or title of the object
@@ -113,7 +113,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   }
 
   /**
-   * allows the derived class to add some more state variables to
+   * Allows the derived class to add some more state variables to
    * the controller. By default does nothing, and hence is abstract
    *
    * @param CRM_Core_Controller $controller the controller object
@@ -124,7 +124,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   function addValues($controller) {}
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param string $title title of the page
    * @param int $mode mode of the page
@@ -193,7 +193,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   }
 
   /**
-   * browse all entities.
+   * Browse all entities.
    *
    * @return void
    * @access public
index 7e8a91ea3d2a4f00f1c662268d27e3dc11196baf..c964ce2a9ea0717489b0298623fe5edc8c04c0a3 100644 (file)
@@ -36,7 +36,7 @@
 abstract class CRM_Core_Payment {
 
   /**
-   * how are we getting billing information?
+   * How are we getting billing information?
    *
    * FORM   - we collect it on the same page
    * BUTTON - the processor collects it and sends it back to us via some protocol
@@ -47,7 +47,7 @@ abstract class CRM_Core_Payment {
     BILLING_MODE_NOTIFY = 4;
 
   /**
-   * which payment type(s) are we using?
+   * Which payment type(s) are we using?
    *
    * credit card
    * direct debit
@@ -84,7 +84,7 @@ abstract class CRM_Core_Payment {
   protected $_paymentForm = NULL;
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string  $mode the mode of operation: live or test
    * @param array  $paymentProcessor the details of the payment processor being invoked
@@ -150,7 +150,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * check if capability is supported
+   * Check if capability is supported
    * @param string $capability e.g BackOffice, LiveMode, FutureRecurStartDate
    *
    * @return bool
@@ -164,7 +164,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
+   * Are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
    * The intention is to support off-site (other than paypal) & direct debit but that is not all working yet so to reach a 'stable' point we disable
    * @return bool
    */
@@ -178,7 +178,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
+   * Are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
    * @return bool
    */
   protected function supportsLiveMode() {
@@ -186,7 +186,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * should the first payment date be configurable when setting up back office recurring payments
+   * Should the first payment date be configurable when setting up back office recurring payments
    * We set this to false for historical consistency but in fact most new processors use tokens for recurring and can support this
    * @return bool
    */
@@ -216,7 +216,7 @@ abstract class CRM_Core_Payment {
   /**
    * Getter for accessing member vars
    *
-   * @param $name
+   * @param string $name
    *
    * @return null
    */
@@ -225,7 +225,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * get name for the payment information type
+   * Get name for the payment information type
    *
    * @return string
    */
@@ -234,7 +234,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * get label for the payment information type
+   * Get label for the payment information type
    *
    * @return string
    */
@@ -243,7 +243,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * get array of fields that should be displayed on the payment form
+   * Get array of fields that should be displayed on the payment form
    * @todo make payment type an option value & use it in the function name - currently on debit & credit card work
    * @return array
    * @throws CiviCRM_API3_Exception
@@ -256,7 +256,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * get array of fields that should be displayed on the payment form for credit cards
+   * Get array of fields that should be displayed on the payment form for credit cards
    *
    * @return array
    */
@@ -270,7 +270,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * get array of fields that should be displayed on the payment form for direct debits
+   * Get array of fields that should be displayed on the payment form for direct debits
    *
    * @return array
    */
@@ -284,7 +284,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * return an array of all the details about the fields potentially required for payment fields
+   * Return an array of all the details about the fields potentially required for payment fields
    * Only those determined by getPaymentFormFields will actually be assigned to the form
    *
    * @return array field metadata
@@ -427,7 +427,7 @@ abstract class CRM_Core_Payment {
   abstract function doDirectPayment(&$params);
 
   /**
-   * process payment - this function wraps around both doTransferPayment and doDirectPayment
+   * Process payment - this function wraps around both doTransferPayment and doDirectPayment
    * it ensures an exception is thrown & moves some of this logic out of the form layer and makes the forms more agnostic
    *
    * @param array $params
@@ -594,7 +594,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * check whether a method is present ( & supported ) by the payment processor object.
+   * Check whether a method is present ( & supported ) by the payment processor object.
    *
    * @param  string $method method to check for.
    *
@@ -606,7 +606,7 @@ abstract class CRM_Core_Payment {
   }
 
   /**
-   * @param null $entityID
+   * @param int $entityID
    * @param null $entity
    * @param string $action
    *
index 38dc70043a62776656d9c80eb1ddd1c1488ac847..a9ae1f8a92ea8580da938f6ec7a1cf11fb7ccde6 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    * @param object  $paymentProcessor the details of the payment processor being invoked
@@ -84,7 +84,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   }
 
   /**
-   * should the first payment date be configurable when setting up back office recurring payments
+   * Should the first payment date be configurable when setting up back office recurring payments
    * In the case of Authorize.net this is an option
    * @return bool
    */
index 0679b33efff533aa89f8bb0db3c17bec340a59b5..daefd8ea5c9c1a37869317c12c350bf820c85fc8 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN {
 
   /**
-   * constructor function
+   * Constructor function
    *
    * @param $inputData array contents of HTTP REQUEST
    *
index 746bc2dc4080648ebb9d076a19b68a145edcbe29..9a6ee12522a22817bac65f51412e91a4cec57e7d 100644 (file)
@@ -965,8 +965,8 @@ LIMIT 1;";
   // function to copy custom data of the
   // initial contribution into its recurring contributions
   /**
-   * @param $recurId
-   * @param $targetContributionId
+   * @param int $recurId
+   * @param int $targetContributionId
    */
   function copyCustomValues($recurId, $targetContributionId) {
     if ($recurId && $targetContributionId) {
@@ -1010,8 +1010,8 @@ LIMIT 1;";
   // function to copy soft credit record of first recurring contribution
   // and add new soft credit against $targetContributionId
   /**
-   * @param $recurId
-   * @param $targetContributionId
+   * @param int $recurId
+   * @param int $targetContributionId
    */
   function addrecurSoftCredit($recurId, $targetContributionId) {
     $contriID = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution', $recurId, 'id', 'contribution_recur_id');
index 1d25494977fc55fcbf6d5076915c9bf08e2eef32..94afa4ce7261322da646078d15cc9f68a2c1a726 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
@@ -123,7 +123,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
   }
 
   /**
-   * are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
+   * Are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
    * @return bool
    */
   protected function supportsLiveMode() {
index 72e041207b56b69d4f94fab9542128f746d19c19..8dd4e6a4dbb55bb0895ed8d442173e97bca893d1 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index 87ce7263c4d2e1c4d0766ea6231da903091a33eb..9f08c12a5b9cd880acd1045bd3926aa79380ca78 100644 (file)
@@ -78,7 +78,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index 144910ebf8636dc6c64141abb51dee49aa3332ed..72f863446a54ab2414059a461a1baa0bf84efa35 100644 (file)
@@ -79,7 +79,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
@@ -292,7 +292,7 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * billing mode button is basically synonymous with paypal express  - this is probably a good example of 'odds & sods' code we
+   * Billing mode button is basically synonymous with paypal express  - this is probably a good example of 'odds & sods' code we
    * need to find a way for the payment processor to assign. A tricky aspect is that the payment processor may need to set the order
    *
    * @param $form
@@ -353,9 +353,9 @@ class CRM_Core_Payment_Form {
   }
 
   /**
-   * map address fields
+   * Map address fields
    *
-   * @param $id
+   * @param int $id
    * @param $src
    * @param $dst
    * @param bool $reverse
@@ -395,7 +395,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
    *
@@ -413,7 +413,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 a542e1214523b57d8d2267cc760ae1bcf6d15474..1d368d1d729dd4ee63e2004a85a40e666e8455b9 100644 (file)
@@ -44,7 +44,7 @@ require_once 'Google/library/googlerequest.php';
 class CRM_Core_Payment_Google extends CRM_Core_Payment {
 
   /**
-   * mode of operation: live or test
+   * Mode of operation: live or test
    *
    * @var object
    */
@@ -75,7 +75,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
@@ -299,7 +299,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   }
 
   /**
-   * hash_call: Function to perform the API call to PayPal using API signature
+   * Hash_call: Function to perform the API call to PayPal using API signature
    * @paymentProcessor is the array of payment processor settings value.
    * @searchParamsnvpStr is the array of search params.
    * returns an associtive array containing the response from the server.
@@ -354,7 +354,7 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   }
 
   /**
-   * @param $searchParams
+   * @param array $searchParams
    *
    * @return string
    */
index 276c302b2c43f52b7e4c314bdbfa5cabc67205fb..c0679d1874179960a686ddeddc8394f9b9a4b315 100644 (file)
@@ -51,14 +51,14 @@ class CRM_Core_Payment_GoogleIPN extends CRM_Core_Payment_BaseIPN {
   static private $_singleton = NULL;
 
   /**
-   * mode of operation: live or test
+   * Mode of operation: live or test
    *
    * @var object
    */
   protected $_mode = NULL;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $type
    * @param $object
    * @param bool $abort
@@ -392,7 +392,7 @@ WHERE  contribution_recur_id = {$ids['contributionRecur']}
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index a6e8d4595f8ca3e10f60a5c8eea6b204dfd2ae8f..e019ed58b2aa8011c0a4dc881bdb9597df4d37f4 100644 (file)
@@ -293,7 +293,7 @@ class CRM_Core_Payment_IATS extends CRM_Core_Payment {
   }
 
   /**
-   * @param $error_id
+   * @param int $error_id
    *
    * @return string
    */
index ee2980916489d68f10423ec819f25f122a89b023..15fa172263563543daae4d1e79f1a656a4a3db38 100644 (file)
@@ -79,7 +79,7 @@ class CRM_Core_Payment_Moneris extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index 68dcb814226b22ff045658a6342f180974a7d39a..eb8aee5ce3aac394d652ae92124443e5f4323962 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index a4035e789ed22b1d7e3615c325fb1940fa3b1a2d..9fb8e45781ca1dee9ecfac220918a32f8f55c3ba 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $type
    * @param string $location
    * @param bool $abort
index 3c6ca69b5fa04018591890b657c13ccb566221e0..34e0262a7f7095d50f76d2e24037b9acb5ebe922 100644 (file)
@@ -75,7 +75,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
@@ -95,7 +95,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
+   * Are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
    * @return bool
    */
   protected function supportsBackOffice() {
@@ -105,7 +105,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
     return FALSE;
   }
   /**
-   * express checkout code. Check PayPal documentation for more information
+   * Express checkout code. Check PayPal documentation for more information
    *
    * @param  array $params assoc array of input parameters for this transaction
    *
@@ -149,7 +149,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * get details from paypal. Check PayPal documentation for more information
+   * Get details from paypal. Check PayPal documentation for more information
    *
    * @param  string $token the key associated with this transaction
    *
@@ -190,7 +190,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * do the express checkout at paypal. Check PayPal documentation for more information
+   * Do the express checkout at paypal. Check PayPal documentation for more information
    *
    * @param array $params
    *
@@ -437,7 +437,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * check whether a method is present ( & supported ) by the payment processor object.
+   * Check whether a method is present ( & supported ) by the payment processor object.
    *
    * @param  string $method method to check for.
    *
@@ -716,7 +716,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   }
 
   /**
-   * hash_call: Function to perform the API call to PayPal using API signature
+   * Hash_call: Function to perform the API call to PayPal using API signature
    * @methodName is name of API  method.
    * @nvpStr is nvp string.
    * returns an associtive array containing the response from the server.
index d52e00e0a47f2296db8345e80010cfb815b96203..7d28b7718b9057fc5e2e5012b0cdf40e9a3bc0b0 100644 (file)
@@ -44,7 +44,7 @@ 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();
@@ -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
    *
@@ -74,7 +74,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * function exists to get the values from the rp_invoice_id string
+   * Function exists to get the values from the rp_invoice_id string
    *
    * @param string $name e.g. i, values are stored in the string with letter codes
    * @param boolean $abort fatal if not found?
index ca1d5f4cabc7ae3787bfbb720a0a27ef7f076e06..ed3f6e20095f9603c3acacea11499e775d785e90 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
@@ -626,8 +626,8 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment {
   //end submit_transaction
 
   /**
-   * @param $recurringProfileID
-   * @param $processorID
+   * @param int $recurringProfileID
+   * @param int $processorID
    *
    * @throws Exception
    */
index fe3f5d5f35e5026976ed6da801994aa3d6e2d5aa..802382545de49976475fbb06ecf393c6080b2e22 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index 2402515d91cc19fc21bbc55eb0208e783512737e..4910cd31cd4dae9b7ff9605d5b221d6abaf465b7 100644 (file)
@@ -48,14 +48,14 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
   static private $_singleton = NULL;
 
   /**
-   * mode of operation: live or test
+   * Mode of operation: live or test
    *
    * @var object
    */
   protected $_mode = NULL;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $type
    * @param $object
    * @param bool $abort
@@ -98,7 +98,7 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index 8b513af1435740cf8f3415df3f270ab9843b4a23..d0031655ef33b87c86b8effe539450b68d6d5f61 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Core_Payment_PaymentExpressUtils {
 
   /**
    * @param $xml
-   * @param $name
+   * @param string $name
    *
    * @return mixed
    */
@@ -70,7 +70,7 @@ class CRM_Core_Payment_PaymentExpressUtils {
 
   /**
    * @param $xml
-   * @param $name
+   * @param string $name
    *
    * @return mixed|null
    */
index caef3e21eb4d67b162dd4d2c8c6d6915a9b0c0e6..62f3e63ac8e0f0feb4c1936be58444a8e540f36d 100644 (file)
@@ -78,7 +78,7 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index f8ecb80018a2e60f7f4a282577581eda261ffa4f..cb13970b148e04872ad11a4c50c11bfc4a277f20 100644 (file)
@@ -124,7 +124,7 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string $mode the mode of operation: live or test
    *
index 42f6c2cba13136135471b965d378c07b9f135a57..5f9caad165418558e0e94f934fd2cd893ffb923f 100644 (file)
@@ -71,7 +71,7 @@ class CRM_Core_Permission {
   CONST AUTH_SRC_UNKNOWN = 0, AUTH_SRC_CHECKSUM = 1, AUTH_SRC_SITEKEY = 2, AUTH_SRC_LOGIN = 4;
 
   /**
-   * get the current permission of this user
+   * Get the current permission of this user
    *
    * @return string the permission of the user (edit or view or null)
    */
@@ -81,7 +81,7 @@ class CRM_Core_Permission {
   }
 
   /**
-   * given a permission string or array, check for access requirements
+   * Given a permission string or array, check for access requirements
    * @param mixed $permissions the permission to check as an array or string -see examples
    *  arrays
    *
@@ -269,7 +269,7 @@ class CRM_Core_Permission {
   }
 
   /**
-   * @param $gid
+   * @param int $gid
    * @param int $type
    *
    * @return bool
@@ -349,7 +349,7 @@ class CRM_Core_Permission {
 
   /**
    * @param int $type
-   * @param null $eventID
+   * @param int $eventID
    * @param string $context
    *
    * @return array|null
@@ -426,7 +426,7 @@ class CRM_Core_Permission {
   }
 
   /**
-   * check permissions for delete and edit actions
+   * Check permissions for delete and edit actions
    *
    * @param string $module component name.
    * @param integer $action action to be check across component
@@ -701,7 +701,7 @@ class CRM_Core_Permission {
   }
 
   /**
-   * get component name from given permission.
+   * Get component name from given permission.
    *
    * @param string $permission
    *
index d8b0c1f9db3406636b3c46518d54815e0a136ee2..ad77e6afb87bf34c8a052c565d6a98e714e86c19 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Core_Permission_Base {
   }
 
   /**
-   * get the current permission of this user
+   * Get the current permission of this user
    *
    * @return string the permission of the user (edit or view or null)
    */
@@ -132,7 +132,7 @@ class CRM_Core_Permission_Base {
   }
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
index da1ab4b3431602744ac60339f01aa7f822ca5a0c..e6b0eb02b7e058400c1caf2fd5603d2fddec212e 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase{
 
   /**
-   * is this user someone with access for the entire system
+   * Is this user someone with access for the entire system
    *
    * @var boolean
    */
@@ -47,14 +47,14 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase{
   protected $_editAdminUser = FALSE;
 
   /**
-   * am in in view permission or edit permission?
+   * Am in in view permission or edit permission?
    * @var boolean
    */
   protected $_viewPermission = FALSE;
   protected $_editPermission = FALSE;
 
   /**
-   * the current set of permissioned groups for the user
+   * The current set of permissioned groups for the user
    *
    * @var array
    */
@@ -63,11 +63,11 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase{
 
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return boolean true if yes, else false
    * @access public
index 2b14cb61cc2c7cbbe055df563d78bc3a43fa1a50..f23ca272ee2247fe2397facacea1aa537e1cd574 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
 
   /**
-   * is this user someone with access for the entire system
+   * Is this user someone with access for the entire system
    *
    * @var boolean
    */
@@ -47,14 +47,14 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
   protected $_editAdminUser = FALSE;
 
   /**
-   * am in in view permission or edit permission?
+   * Am in in view permission or edit permission?
    * @var boolean
    */
   protected $_viewPermission = FALSE;
   protected $_editPermission = FALSE;
 
   /**
-   * the current set of permissioned groups for the user
+   * The current set of permissioned groups for the user
    *
    * @var array
    */
@@ -62,11 +62,11 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
   protected $_editPermissionedGroups;
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return boolean true if yes, else false
    * @access public
index 50dc86ffce8c60e59b5ef90c3dcd0cdd376ca784..cd0ff6deeef1d3e3239b902e34e9324ede4f6ffd 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
 
   /**
-   * is this user someone with access for the entire system
+   * Is this user someone with access for the entire system
    *
    * @var boolean
    */
@@ -47,14 +47,14 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
   protected $_editAdminUser = FALSE;
 
   /**
-   * am in in view permission or edit permission?
+   * Am in in view permission or edit permission?
    * @var boolean
    */
   protected $_viewPermission = FALSE;
   protected $_editPermission = FALSE;
 
   /**
-   * the current set of permissioned groups for the user
+   * The current set of permissioned groups for the user
    *
    * @var array
    */
@@ -202,7 +202,7 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
   }
 
   /**
-   * get the current permission of this user
+   * Get the current permission of this user
    *
    * @return string the permission of the user (edit or view or null)
    */
index db2a31eff796f310e421440c3016fa880bf4f605..b7adb85a40225aba3f7663bea2b78fdefc223136 100644 (file)
@@ -38,7 +38,7 @@
  */
 class CRM_Core_Permission_Joomla extends CRM_Core_Permission_Base {
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
index 40e709827a1aac7c04275035ade53ea3ee87fc30..eab0be39e96ed5ca2ac906b7fc32628fcfe1e863 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base {
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
index c083e73ec680c544d6ba75e6033312069c469c01..b64c1e51f9e5f8eac16828955d6f211669e6c862 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Core_Permission_UnitTests extends CRM_Core_Permission_Base {
   public $permissions = NULL;
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
index fbe9dbf7f6203bdeb554cd82ab37e3a1f489e22e..aea00bfd040be895dd24bb805e43e2abb8107a2b 100644 (file)
@@ -38,7 +38,7 @@
  */
 class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base {
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
index d590618895d6a545200a32a0b3c364648d1198d8..2045fd1c9e2aedb2643d69dd3638aacde7c4536c 100644 (file)
@@ -50,7 +50,7 @@
 class CRM_Core_PseudoConstant {
 
   /**
-   * static cache for pseudoconstant arrays
+   * Static cache for pseudoconstant arrays
    * @var array
    * @static
    */
@@ -66,35 +66,35 @@ class CRM_Core_PseudoConstant {
   private static $activityType;
 
   /**
-   * states, provinces
+   * States, provinces
    * @var array
    * @static
    */
   private static $stateProvince;
 
   /**
-   * counties
+   * Counties
    * @var array
    * @static
    */
   private static $county;
 
   /**
-   * states/provinces abbreviations
+   * States/provinces abbreviations
    * @var array
    * @static
    */
   private static $stateProvinceAbbreviation;
 
   /**
-   * country
+   * Country
    * @var array
    * @static
    */
   private static $country;
 
   /**
-   * countryIsoCode
+   * CountryIsoCode
    * @var array
    * @static
    */
@@ -110,42 +110,42 @@ class CRM_Core_PseudoConstant {
   private static $group;
 
   /**
-   * groupIterator
+   * GroupIterator
    * @var mixed
    * @static
    */
   private static $groupIterator;
 
   /**
-   * relationshipType
+   * RelationshipType
    * @var array
    * @static
    */
   private static $relationshipType;
 
   /**
-   * civicrm groups that are not smart groups
+   * Civicrm groups that are not smart groups
    * @var array
    * @static
    */
   private static $staticGroup;
 
   /**
-   * currency codes
+   * Currency codes
    * @var array
    * @static
    */
   private static $currencyCode;
 
   /**
-   * payment processor
+   * Payment processor
    * @var array
    * @static
    */
   private static $paymentProcessor;
 
   /**
-   * payment processor types
+   * Payment processor types
    * @var array
    * @static
    */
@@ -1104,7 +1104,7 @@ WHERE  id = %1";
   }
 
   /**
-   * get all the ISO 4217 currency codes
+   * Get all the ISO 4217 currency codes
    *
    * so far, we use this for validation only, so there's no point of putting this into the database
    *
@@ -1468,7 +1468,7 @@ WHERE  id = %1";
    *
    * @param boolean $all - get payment processors     - default is to get only active ones.
    *
-   * @param null $id
+   * @param int $id
    * @param string $return
    *
    * @return array - array of all payment processor types
@@ -1565,7 +1565,7 @@ WHERE  id = %1";
   }
 
   /**
-   * @param $countryID
+   * @param int $countryID
    * @param string $field
    *
    * @return array
@@ -1620,7 +1620,7 @@ ORDER BY name";
   }
 
   /**
-   * @param $stateID
+   * @param int $stateID
    *
    * @return array
    */
@@ -1824,7 +1824,7 @@ WHERE  id = %1
    *
    * @param boolean $optionGroupName - get All  Option Group values- default is to get only active ones.
    *
-   * @param null $id
+   * @param int $id
    * @param null $condition
    *
    * @return array - array reference of all Option Group Name
index 5ba26e44160fa0ee0315cb13fa8df8b4ce3aae90..6349e7757bb64b7acc415fd6457012da3470eda2 100644 (file)
@@ -42,13 +42,13 @@ require_once 'HTML/QuickForm/Action.php';
 class CRM_Core_QuickForm_Action extends HTML_QuickForm_Action {
 
   /**
-   * reference to the state machine i belong to
+   * Reference to the state machine i belong to
    * @var object
    */
   protected $_stateMachine;
 
   /**
-   * constructor
+   * Constructor
    *
    * @param object $stateMachine reference to state machine object
    *
@@ -60,7 +60,7 @@ class CRM_Core_QuickForm_Action extends HTML_QuickForm_Action {
   }
 
   /**
-   * returns the user to the top of the user context stack.
+   * Returns the user to the top of the user context stack.
    *
    * @return void
    * @access public
index 669c42c8a269ecb7635aca51ed7ea260e40a7469..e100f36f8815feedc17a175ee2346283b5881c4e 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Back extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 5724aceddb275506373fcba47011b189f2114e2e..60ea7f66357af23767e65a61aa0525f879404566 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Cancel extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 28b8446d5c2119a7f8c045a5c8db670db1e8ff04..42d1a4df2e500a0962b3cd63840f5256974cfd67 100644 (file)
 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;
 
   /**
-   * the template to display error messages inline with the form element
+   * The template to display error messages inline with the form element
    * @var string
    */
   static $_errorTemplate = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
@@ -186,7 +186,7 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action {
   }
 
   /**
-   * set the various rendering templates
+   * Set the various rendering templates
    *
    * @param CRM_Core_Form  $page the CRM_Core_Form page
    *
@@ -205,7 +205,7 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action {
   }
 
   /**
-   * initialize the various templates
+   * Initialize the various templates
    *
    * @return void
    * @access public
index 34682b818b978e4f5db44ea979ddf14bf1269e61..7cf2c2e9d7e187acebfe28f0394a407a7a78761a 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Done extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 15791a97b9666be4970d2d07d11ab0b434c2a6ca..16b26e64a3c98e99b330554e13429750bbd45888 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Jump extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 876d71e161fd29979f38c3a083e702f0c7678b51..a3156c6f42b4c7f4fcba6b7cc977d83c2138d3ff 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Next extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index f25469065ab3adef78e41616bed2e7724237dbca..c17a3ae90bbfb6175ba27bd478664702199ccc2c 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Process extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 564edfa6e1db96a175cbdc88992528461a484718..0df1ad2b44a50a072b6be2faa624445715cc9e32 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Refresh extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 22296f70fdd014f80779ba03cbe3914be58ede88..80b5a5a2a39745ea2831305934cf9f717b942767 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_QuickForm_Action_Reload extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 8e97f1fe819d04cf53d5163987b2501894764f71..e1b102b0f674289d0bbc9f73cf618fc283671a00 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Submit extends CRM_Core_QuickForm_Action {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    *
index 1ac79b2858cc93d71e77111678f1f5ebf14b2812..f7e07159f284a4cd57e0210b127d853b601c89fe 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action {
 
   /**
-   * the array of uploaded file names
+   * The array of uploaded file names
    * @var array
    */
   protected $_uploadNames;
@@ -48,7 +48,7 @@ class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action {
   protected $_uploadDir;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $stateMachine reference to state machine object
    * @param string $uploadDir directory to store the uploaded files
@@ -65,7 +65,7 @@ class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action {
   }
 
   /**
-   * upload and move the file if valid to the uploaded directory
+   * Upload and move the file if valid to the uploaded directory
    *
    * @param CRM_Core_Form $page       the CRM_Core_Form object
    * @param object $data       the QFC data container
@@ -131,7 +131,7 @@ class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action {
 
   /**
    * @param CRM_Core_Form $page
-   * @param $actionName
+   * @param string $actionName
    *
    * @return mixed
    */
index 63953d104b95b1ce7b86f5f2e58c275475e1316d..1dcca501ef6105983268703e49576dc68a8bedf5 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Core_Region {
   var $_isSorted;
 
   /**
-   * @param $name
+   * @param string $name
    */
   public function __construct($name) {
     // Templates injected into regions should normally be file names, but sometimes inline notation is handy.
@@ -126,7 +126,7 @@ class CRM_Core_Region {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $snippet
    */
   public function update($name, $snippet) {
@@ -135,7 +135,7 @@ class CRM_Core_Region {
   }
 
   /**
-   * @param $name
+   * @param string $name
    *
    * @return mixed
    */
index 13718cbe0c2514b04592d076cbdd3b87f7a3b3d1..023f1ff3c4d5265d51f390c8e54c2ff2635d1097 100644 (file)
@@ -152,7 +152,7 @@ class CRM_Core_Report_Excel {
   }
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param $header
    * @param $rows
    * @param null $titleHeader
index 5592c5151e1eadf33f32e6adce8f1d6f42de72bd..35e7b0a05477acafb3df43b2399faf9d4109287d 100644 (file)
@@ -38,7 +38,7 @@
 class CRM_Core_SelectValues {
 
   /**
-   * preferred mail format
+   * Preferred mail format
    * @static
    */
   static function pmf() {
@@ -50,7 +50,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * privacy options
+   * Privacy options
    * @static
    */
   static function privacy() {
@@ -65,7 +65,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined contact super types
+   * Various pre defined contact super types
    * @static
    */
   static function contactType() {
@@ -77,7 +77,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined unit list
+   * Various pre defined unit list
    * @static
    */
   static function unitList($unitType = NULL) {
@@ -93,7 +93,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * membership type unit
+   * Membership type unit
    * @static
    */
   static function membershipTypeUnitList( ) {
@@ -101,7 +101,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined period types
+   * Various pre defined period types
    * @static
    */
   static function periodType() {
@@ -112,7 +112,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined email selection methods
+   * Various pre defined email selection methods
    * @static
    */
   static function emailSelectMethods() {
@@ -125,7 +125,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined member visibility options
+   * Various pre defined member visibility options
    * @static
    */
   static function memberVisibility() {
@@ -136,7 +136,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined event dates
+   * Various pre defined event dates
    * @static
    */
   static function eventDate() {
@@ -174,7 +174,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * various pre defined extensions for dynamic properties and groups
+   * Various pre defined extensions for dynamic properties and groups
    *
    * @static
    */
@@ -203,7 +203,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * styles for displaying the custom data group
+   * Styles for displaying the custom data group
    *
    * @static
    */
@@ -216,7 +216,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * for displaying the uf group types
+   * For displaying the uf group types
    *
    * @static
    */
@@ -236,7 +236,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * the status of a contact within a group
+   * The status of a contact within a group
    *
    * @static
    */
@@ -249,7 +249,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * list of Group Types
+   * List of Group Types
    * @static
    */
   static function groupType() {
@@ -260,7 +260,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * compose the parameters for a date select object
+   * Compose the parameters for a date select object
    *
    * @param  string|NULL $type the type of date
    * @param  string|NULL $format date format ( QF format)
@@ -312,7 +312,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * values for UF form visibility options
+   * Values for UF form visibility options
    *
    * @static
    */
@@ -325,7 +325,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * values for group form visibility options
+   * Values for group form visibility options
    *
    * @static
    */
@@ -337,7 +337,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Mailing Components
+   * Different type of Mailing Components
    *
    * @static
    * return array
@@ -355,7 +355,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * get hours
+   * Get hours
    *
    *
    * @static
@@ -369,7 +369,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * get minutes
+   * Get minutes
    *
    *
    * @static
@@ -383,7 +383,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * get the Map Provider
+   * Get the Map Provider
    *
    * @return array $map array of map providers
    * @static
@@ -397,7 +397,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * Function to get the Geocoding Providers from available plugins
+   * Get the Geocoding Providers from available plugins
    *
    * @return array $geo array of geocoder providers
    * @static
@@ -411,7 +411,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * Function to get the Address Standardization Providers from available
+   * Get the Address Standardization Providers from available
    * plugins
    *
    * @return array $addr array of address standardization providers
@@ -426,7 +426,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Mailing Tokens
+   * Different type of Mailing Tokens
    *
    * @static
    * return array
@@ -453,7 +453,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Activity Tokens
+   * Different type of Activity Tokens
    *
    * @static
    * return array
@@ -468,7 +468,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Membership Tokens
+   * Different type of Membership Tokens
    *
    * @static
    * return array
@@ -486,7 +486,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Event Tokens
+   * Different type of Event Tokens
    *
    * @static
    * return array
@@ -511,7 +511,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Event Tokens
+   * Different type of Event Tokens
    *
    * @static
    * return array
@@ -545,7 +545,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Contact Tokens
+   * Different type of Contact Tokens
    *
    * @static
    * return array
@@ -612,7 +612,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * different type of Participant Tokens
+   * Different type of Participant Tokens
    *
    * @static
    * return array
@@ -723,7 +723,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * Function to get numeric options
+   * Get numeric options
    *
    *
    * @static
@@ -737,7 +737,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * barcode types
+   * Barcode types
    * @static
    */
   static function getBarcodeTypes() {
@@ -748,7 +748,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * dedupe rule types
+   * Dedupe rule types
    */
   static function getDedupeRuleTypes() {
     return array(
@@ -759,7 +759,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * campaign group types
+   * Campaign group types
    */
   static function getCampaignGroupTypes() {
     return array(
@@ -769,7 +769,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * subscription history method
+   * Subscription history method
    */
   static function getSubscriptionHistoryMethods() {
     return array(
@@ -781,7 +781,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * premium units
+   * Premium units
    */
   static function getPremiumUnits() {
     return array(
@@ -793,7 +793,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * extension types
+   * Extension types
    */
   static function getExtensionTypes() {
     return  array(
@@ -806,7 +806,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * job frequency
+   * Job frequency
    */
   static function getJobFrequency() {
     return array(
@@ -838,7 +838,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * profile group types
+   * Profile group types
    *
    * @static
    */
@@ -858,7 +858,7 @@ class CRM_Core_SelectValues {
 
 
   /**
-   * word replacement match type
+   * Word replacement match type
    */
   static function getWordReplacementMatchType() {
     return array(
@@ -868,7 +868,7 @@ class CRM_Core_SelectValues {
   }
 
   /**
-   * mailing group types
+   * Mailing group types
    */
   static function getMailingGroupTypes() {
     return array(
index ff4e89774d0bac9d7447f1a84ae0e9e12b6532d4..ce85b4b405cbf42ae30f163f2b67305f90cab404 100644 (file)
@@ -62,7 +62,7 @@ interface CRM_Core_Selector_API {
   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
    *
@@ -73,7 +73,7 @@ interface CRM_Core_Selector_API {
   function &getSortOrder($action);
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -85,7 +85,7 @@ interface CRM_Core_Selector_API {
   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 {
   function getTotalCount($action);
 
   /**
-   * returns all the rows in the given offset and rowCount
+   * Returns all the rows in the given offset and rowCount
    *
    * @param enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -111,7 +111,7 @@ interface CRM_Core_Selector_API {
   function &getRows($action, $offset, $rowCount, $sort, $type = NULL);
 
   /**
-   * return the template (.tpl) filename
+   * Return the template (.tpl) filename
    *
    * @param string $action the action being performed
    *
@@ -122,7 +122,7 @@ interface CRM_Core_Selector_API {
   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 212b0867e9d5a3e30440cdb808f857832036d9bc..cf3abff95bd71aacd7c4553387778411a57619ad 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Core_Selector_Base {
 
   /**
-   * the sort order which is computed from the columnHeaders
+   * The sort order which is computed from the columnHeaders
    *
    * @var array
    */
@@ -99,7 +99,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
    *
@@ -111,7 +111,7 @@ class CRM_Core_Selector_Base {
   }
 
   /**
-   * getter for the sorting direction for the fields which will be displayed on the form.
+   * Getter for the sorting direction for the fields which will be displayed on the form.
    *
    * @param string action the action being performed
    *
@@ -148,7 +148,7 @@ class CRM_Core_Selector_Base {
   }
 
   /**
-   * setter for permission
+   * Setter for permission
    *
    * @var string
    * @access public
@@ -158,7 +158,7 @@ class CRM_Core_Selector_Base {
   }
 
   /**
-   * get the display text in plain language for the search
+   * Get the display text in plain language for the search
    * to display on the results page
    *
    * @return string
index 5737af87911d00ea719ad55febb75e05b902390b..aa86c2271a0b4b89481a0db1359679d6657b5b91 100644 (file)
@@ -42,7 +42,7 @@
 class CRM_Core_Selector_Controller {
 
   /**
-   * constants to determine if we should store
+   * Constants to determine if we should store
    * the output in the session or template
    * @var int
    */
@@ -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;
@@ -62,13 +62,13 @@ class CRM_Core_Selector_Controller {
   protected $_sort;
 
   /**
-   * the current column to sort on
+   * The current column to sort on
    * @var int
    */
   protected $_sortID;
 
   /**
-   * the sortOrder array
+   * The sortOrder array
    * @var array
    */
   protected $_sortOrder;
@@ -79,31 +79,31 @@ class CRM_Core_Selector_Controller {
   protected $_pager;
 
   /**
-   * the pageID
+   * The pageID
    * @var int
    */
   protected $_pageID;
 
   /**
-   * offset
+   * Offset
    * @var int
    */
   protected $_pagerOffset;
 
   /**
-   * number of rows to return
+   * Number of rows to return
    * @var int
    */
   protected $_pagerRowCount;
 
   /**
-   * total number of rows
+   * Total number of rows
    * @var int
    */
   protected $_total;
 
   /**
-   * the objectAction for the WebObject
+   * The objectAction for the WebObject
    */
   protected $_action;
 
@@ -153,7 +153,7 @@ class CRM_Core_Selector_Controller {
   protected $_prefix;
 
   /**
-   * cache the smarty template for efficiency reasons
+   * Cache the smarty template for efficiency reasons
    *
    * @var CRM_Core_Smarty
    */
@@ -250,7 +250,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * have the GET vars changed, i.e. pageId or sortId that forces us to recompute the search values
+   * Have the GET vars changed, i.e. pageId or sortId that forces us to recompute the search values
    *
    * @param int $reset are we being reset
    *
@@ -383,7 +383,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * retrieve rows.
+   * Retrieve rows.
    *
    * @param CRM_Core_Form $form
    *
@@ -403,7 +403,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * default function for qill, if needed to be implemented, we
+   * Default function for qill, if needed to be implemented, we
    * expect the subclass to do it
    *
    * @return string the status message
@@ -421,7 +421,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * getter for pager
+   * Getter for pager
    *
    * @return CRM_Utils_Pager
    * @access public
@@ -431,7 +431,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * getter for sort
+   * Getter for sort
    *
    * @return CRM_Utils_Sort
    * @access public
@@ -484,7 +484,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * setter for embedded
+   * Setter for embedded
    *
    * @param boolean $embedded
    *
@@ -496,7 +496,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * getter for embedded
+   * Getter for embedded
    *
    * @return boolean return the embedded value
    * @access public
@@ -506,7 +506,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * setter for print
+   * Setter for print
    *
    * @param boolean $print
    *
@@ -518,7 +518,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * getter for print
+   * Getter for print
    *
    * @return boolean return the print value
    * @access public
index 24f53be63f093c779df17d17550c100963b7a090..3ef9a7436a5d316dae77d270f8a450dbebd490e9 100644 (file)
@@ -39,7 +39,7 @@ class CRM_Core_Session {
   static $_managedNames = NULL;
 
   /**
-   * key is used to allow the application to have multiple top
+   * Key is used to allow the application to have multiple top
    * level scopes rather than a single scope. (avoids naming
    * conflicts). We also extend this idea further and have local
    * scopes within a global scope. Allows us to do cool things
@@ -90,7 +90,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @return CRM_Core_Session
    * @static
@@ -173,7 +173,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * creates a session local scope
+   * Creates a session local scope
    *
    * @param string  prefix local scope name
    * @param boolean isRead is this a read operation, in this case, the session will not be touched
@@ -195,7 +195,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * resets the session local scope
+   * Resets the session local scope
    *
    * @param string local scope name
    * @access public
@@ -341,7 +341,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * adds a userContext to the stack
+   * Adds a userContext to the stack
    *
    * @param string  $userContext the url to return to when done
    * @param boolean $check       should we do a dupe checking with the top element
@@ -381,7 +381,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * replace the userContext of the stack with the passed one
+   * Replace the userContext of the stack with the passed one
    *
    * @param string the url to return to when done
    *
@@ -402,7 +402,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * pops the top userContext stack
+   * Pops the top userContext stack
    *
    * @param void
    *
@@ -416,7 +416,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * reads the top userContext stack
+   * Reads the top userContext stack
    *
    * @param void
    *
@@ -432,7 +432,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * dumps the session to the log
+   * Dumps the session to the log
    */
   function debug($all = 1) {
     $this->initialize();
@@ -525,7 +525,7 @@ class CRM_Core_Session {
   }
 
   /**
-   * @param $names
+   * @param string $names
    */
   static function registerAndRetrieveSessionObjects($names) {
     if (!is_array($names)) {
index c66b119ed4962fdb024c0e90f30787ab0c8e9e73..3da48f4844254529d37c1f11d3012689fc57db36 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Core_ShowHideBlocks {
   protected $_hide;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param array $show initial value of show array
    * @param array $hide initial value of hide array
@@ -80,7 +80,7 @@ class CRM_Core_ShowHideBlocks {
   }
 
   /**
-   * load icon vars used in hide and show links
+   * Load icon vars used in hide and show links
    *
    * @return void
    * @access public
@@ -95,7 +95,7 @@ class CRM_Core_ShowHideBlocks {
   }
 
   /**
-   * add the values from this class to the template
+   * Add the values from this class to the template
    *
    * @return void
    * @access public
@@ -157,7 +157,7 @@ class CRM_Core_ShowHideBlocks {
   }
 
   /**
-   * create a well formatted html link from the smaller pieces
+   * Create a well formatted html link from the smaller pieces
    *
    * @param string $name name of the link
    * @param string $href
index f683c56574a3767edbe1dc3839825e18767ecf2c..eb39ff0ad6de93125e1dbe734565f1cbc6aa9b32 100644 (file)
@@ -79,7 +79,7 @@ class CRM_Core_Smarty extends Smarty {
   private $backupFrames = array();
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @return CRM_Core_Smarty
    * @access private
@@ -188,7 +188,7 @@ class CRM_Core_Smarty extends Smarty {
   }
 
   /**
-   * executes & returns or displays the template results
+   * Executes & returns or displays the template results
    *
    * @param string $resource_name
    * @param string $cache_id
@@ -231,7 +231,7 @@ class CRM_Core_Smarty extends Smarty {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $value
    */
   function appendValue($name, $value) {
index a11f9215211c8e028068dba0971654de96877378..e4c40edadbeb283b08f8067eaee93c606ae8658f 100644 (file)
@@ -38,7 +38,7 @@ function civicrm_smarty_resource_string_get_template($tpl_name, &$tpl_source, &$
 }
 
 /**
- * @param $tpl_name
+ * @param string $tpl_name
  * @param $tpl_timestamp
  * @param $smarty_obj
  *
@@ -50,7 +50,7 @@ function civicrm_smarty_resource_string_get_timestamp($tpl_name, &$tpl_timestamp
 }
 
 /**
- * @param $tpl_name
+ * @param string $tpl_name
  * @param $smarty_obj
  *
  * @return bool
@@ -60,7 +60,7 @@ function civicrm_smarty_resource_string_get_secure($tpl_name, &$smarty_obj) {
 }
 
 /**
- * @param $tpl_name
+ * @param string $tpl_name
  * @param $smarty_obj
  */
 function civicrm_smarty_resource_string_get_trusted($tpl_name, &$smarty_obj) {}
index 30a1373f5062b295c3af214fbf7daddeab44ba4e..fbd30317143a7407b49651a4cbdb3796ed006fe4 100644 (file)
 class CRM_Core_State {
 
   /**
-   * state name
+   * State name
    * @var string
    */
   protected $_name;
 
   /**
-   * this is a combination "OR" of the STATE_* constants defined below
+   * This is a combination "OR" of the STATE_* constants defined below
    * @var int
    */
   protected $_type;
 
   /**
-   * the state that precedes this state
+   * The state that precedes this state
    * @var CRM_Core_State
    */
   protected $_back;
 
   /**
-   * the state that succeeds this state
+   * The state that succeeds this state
    * @var CRM_Core_State
    */
   protected $_next;
@@ -77,7 +77,7 @@ class CRM_Core_State {
   CONST START = 1, FINISH = 2, SIMPLE = 4;
 
   /**
-   * constructor
+   * Constructor
    *
    * @param string $name internal name of the state
    * @param int $type state type
@@ -181,7 +181,7 @@ class CRM_Core_State {
   }
 
   /**
-   * getter for name
+   * Getter for name
    *
    * @return string
    * @access public
@@ -191,7 +191,7 @@ class CRM_Core_State {
   }
 
   /**
-   * setter for name
+   * Setter for name
    *
    * @param string
    *
@@ -203,7 +203,7 @@ class CRM_Core_State {
   }
 
   /**
-   * getter for type
+   * Getter for type
    *
    * @return int
    * @access public
index 1a8dd26b657c35c4a84b0cae01aeedd1c6c7d303..b97c978901b9f9d1be13e8f71350c76e4f602d87 100644 (file)
 class CRM_Core_StateMachine {
 
   /**
-   * the controller of this state machine
+   * The controller of this state machine
    * @var object
    */
   protected $_controller;
 
   /**
-   * the list of states that belong to this state machine
+   * The list of states that belong to this state machine
    * @var array
    */
   protected $_states;
 
   /**
-   * the list of pages that belong to this state machine. Note
+   * The list of pages that belong to this state machine. Note
    * that a state and a form have a 1 <-> 1 relationship. so u
    * can always derive one from the other
    * @var array
@@ -71,7 +71,7 @@ class CRM_Core_StateMachine {
   protected $_pageNames;
 
   /**
-   * the mode that the state machine is operating in
+   * The mode that the state machine is operating in
    * @var int
    */
   protected $_action = NULL;
@@ -83,7 +83,7 @@ class CRM_Core_StateMachine {
   protected $_name = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param object $controller the controller for this state machine
    *
@@ -100,7 +100,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * getter for name
+   * Getter for name
    *
    * @return string
    * @access public
@@ -110,7 +110,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * setter for name
+   * Setter for name
    *
    * @param string
    *
@@ -122,7 +122,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * do a state transition jump. Currently only supported types are
+   * Do a state transition jump. Currently only supported types are
    * Next and Back. The other actions (Cancel, Done, Submit etc) do
    * not need the state machine to figure out where to go
    *
@@ -171,7 +171,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * helper function to add a State to the state machine
+   * Helper function to add a State to the state machine
    *
    * @param string $name  the internal name
    * @param int    $type  the type of state (START|FINISH|SIMPLE)
@@ -203,7 +203,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * return the list of state objects
+   * Return the list of state objects
    *
    * @return array array of states in the state machine
    * @access public
@@ -213,7 +213,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * return the state object corresponding to the name
+   * Return the state object corresponding to the name
    *
    * @param string $name name of page
    *
@@ -240,7 +240,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * return the list of form objects
+   * Return the list of form objects
    *
    * @return array array of pages in the state machine
    * @access public
@@ -250,7 +250,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * addSequentialStates: meta level function to create a simple
+   * AddSequentialStates: meta level function to create a simple
    * wizard for a state machine that is completely sequential.
    *
    * @access public
@@ -316,7 +316,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * reset the state machine
+   * Reset the state machine
    *
    * @return void
    * @access public
@@ -326,7 +326,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * getter for action
+   * Getter for action
    *
    * @return int
    * @access public
@@ -336,7 +336,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * setter for content
+   * Setter for content
    *
    * @param string $content the content generated by this state machine
    *
@@ -348,7 +348,7 @@ class CRM_Core_StateMachine {
   }
 
   /**
-   * getter for content
+   * Getter for content
    *
    * @return string
    * @access public
index 67d2530cb83d05a6b7ed2a57e61ecfc47809077c..08eb50c2bd42689a98576a28501c2a440def3dd6 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
 
   /**
-   * the field id
+   * The field id
    *
    * @var int
    * @access protected
@@ -47,17 +47,17 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * array of custom field values
+   * Array of custom field values
    */
   protected $_values;
 
   /**
-   * mapper array of valid field type
+   * Mapper array of valid field type
    */
   protected $_htmlTypeTransitions;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @return void
    * @acess protected
index 34597d1a566b6b676e3e9aa4d95fe654ccae026a..28be34ae68d12f7a9f53c917c37f5b1833287fb8 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Custom_Form_DeleteField extends CRM_Core_Form {
 
   /**
-   * the group id
+   * The group id
    *
    * @var int
    */
@@ -53,7 +53,7 @@ class CRM_Custom_Form_DeleteField extends CRM_Core_Form {
   protected $_title;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @param null
    *
index 3664193a975c43d59be5cd0006854904dced25d6..7f4cde49dcd9bd92453c192147a24022ed86dce4 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
 
   /**
-   * the group id
+   * The group id
    *
    * @var int
    */
@@ -53,7 +53,7 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
   protected $_title;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @return void
    * @acess protected
index 1c7981cd9b8b1363a6430197324ab551eb9b6679..9ffa242f9ed3bc5e1797914993ea94649fd4d4c1 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
    * @access protected
@@ -68,7 +68,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;
 
@@ -86,7 +86,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
    *
    * @param null
    *
@@ -559,7 +559,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
    *
index 3874fc606d47c44531eb43896b73916f25b41e73..e958eee177a327e1752f4f4cbf10fe36626ee598 100644 (file)
@@ -39,7 +39,7 @@
 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
    * @access protected
@@ -55,7 +55,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   protected $_isGroupEmpty = TRUE;
 
   /**
-   * array of existing subtypes set for a custom set
+   * Array of existing subtypes set for a custom set
    *
    * @var array
    * @access protected
@@ -63,7 +63,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   protected $_subtypes = array();
 
   /**
-   * array of default params
+   * Array of default params
    *
    * @var array
    * @access protected
@@ -71,7 +71,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   protected $_defaults = array();
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @param null
    *
@@ -110,7 +110,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index 644bb7b30acada5a295732bac103a3cb47dec65c..67c41be61211b727105c2e71147b4c09e374992e 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
    */
@@ -74,7 +74,7 @@ class CRM_Custom_Form_MoveField extends CRM_Core_Form {
   protected $_srcFieldLabel;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @return void
    * @acess protected
index 7a30143be19c1f4bfc38f097378674178e99908e..f2987638359e0493d54c29deaab37600ee8bc429 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Custom_Form_Option extends CRM_Core_Form {
 
   /**
-   * the custom field id saved to the session for an update
+   * The custom field id saved to the session for an update
    *
    * @var int
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
   protected $_fid;
 
   /**
-   * the custom group id saved to the session for an update
+   * The custom group id saved to the session for an update
    *
    * @var int
    * @access protected
@@ -68,7 +68,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
    *
    * @param null
    *
@@ -243,7 +243,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
    *
index 37f7262c612182d47084923cd2bae811332ae7f7..2c29a28fd0bded4eb1f18fa7ee33f3d43e1f14e2 100644 (file)
 class CRM_Custom_Form_Preview extends CRM_Core_Form {
 
   /**
-   * the group tree data
+   * The group tree data
    *
    * @var array
    */
   protected $_groupTree;
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for group or field id
    *
index 2194f107756af1d44d3e445990535a88a406344c..5212ea1848398cb6d33634eb6b8eff6713b326f9 100644 (file)
@@ -5,7 +5,7 @@
  */
 class CRM_Custom_Import_Controller extends CRM_Core_Controller {
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index fe2ed4b38c85543c77ba1b72a1bbce171629f73a..07b4c0a9b4c49be531bd1231515a6f2b30fda32e 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
    * @access public
index 81e69fc8d6bd7588911a37bc3e7a1efce10bbe5b..56f2a2568f44384d0f4e188b6996c61ebf1c23ef 100644 (file)
@@ -8,12 +8,12 @@ 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
    * @access public
@@ -57,7 +57,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
    *
index 3087863b91f71ef39b7c4d9efa672bb5a1534f0b..d8abc960450629b6cb2ff4e958cab27ffb864f11 100644 (file)
@@ -7,7 +7,7 @@ class CRM_Custom_Import_Form_Preview extends CRM_Import_Form_Preview {
   public $_parser = 'CRM_Custom_Import_Parser_Api';
   protected $_importParserUrl = '&parser=CRM_Custom_Import_Parser';
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 30ce83b653b4761358e9617a4c48dcba3014cdef..4491c02f3111d254cf1214ba8af6037cc8e5a4a6 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
    * @access public
index 5aad0cf638c7eec80cfc2c1f1aa8622cddfd27e2..0b73ed91d28494530e804b5d6c1c51d4babbaf3a 100644 (file)
@@ -44,29 +44,29 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser {
    */
 
   /**
-   * imported file size
+   * Imported file size
    */
   protected $_fileSize;
 
   /**
-   * separator being used
+   * Separator being used
    */
   protected $_separator;
 
   /**
-   * 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
    */
   protected $_haveColumnHeader;
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param string $separator
    * @param int $mapper
    * @param bool $skipColumnHeader
@@ -309,7 +309,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
    * @access public
index 12d64530a1347ed66eabc1f957f4e6e7225c5275..e1781077255a59d9c397dca213a2f4ed9a854c2a 100644 (file)
@@ -17,7 +17,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
    */
   protected $_params = array();
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
     parent::__construct();
@@ -30,7 +30,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -50,7 +50,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
    *
@@ -62,7 +62,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
    *
@@ -122,7 +122,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
    * @param array $values the array of values belonging to this line
@@ -198,7 +198,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
index 25a42d0accf1ceda4f552c5df5077235e19095ed..f8db73611ae1b448142e128a25a84b32543d6b8c 100644 (file)
@@ -200,7 +200,7 @@ class CRM_Custom_Page_Field extends CRM_Core_Page {
   }
 
   /**
-   * edit custom data.
+   * Edit custom data.
    *
    * editing would involved modifying existing fields + adding data to new fields.
    *
index 3633f2629139454216cd4b11527d58f48b874202..b1483a5eb1060683be982416a45ad6f668bd2163 100644 (file)
@@ -155,7 +155,7 @@ class CRM_Custom_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * edit custom group
+   * Edit custom group
    *
    * @param int    $id       custom group id
    * @param string $action   the action to be invoked
index 0c7592413950fb4f7afccaf63dc2173014038080..62c1aad8ce0a847af79695d3b760ae98d30095d1 100644 (file)
@@ -238,7 +238,7 @@ ORDER BY weight, label
   }
 
   /**
-   * edit custom Option.
+   * Edit custom Option.
    *
    * editing would involved modifying existing fields + adding data to new fields.
    *
index e8bfb88d2e7bc4e69b82bda105d2d81224243f65..825b515fb06ab75f23827f7e085a77aa5d7e9054 100644 (file)
 class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_DAO_Rule {
 
   /**
-   * ids of the contacts to limit the SQL queries (whole-database queries otherwise)
+   * Ids of the contacts to limit the SQL queries (whole-database queries otherwise)
    */
   var $contactIds = array();
 
   /**
-   * params to dedupe against (queries against the whole contact set otherwise)
+   * Params to dedupe against (queries against the whole contact set otherwise)
    */
   var $params = array();
 
@@ -209,8 +209,8 @@ class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_DAO_Rule {
   }
 
   /**
-   * @param $cid
-   * @param $oid
+   * @param int $cid
+   * @param int $oid
    *
    * @return bool
    */
index 2adab49e4f6c42f54d1f3220882e27193469feed..6f3b26e9aaf60f18de3ee1621cce9e9d0ed4961a 100644 (file)
 class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
 
   /**
-   * ids of the contacts to limit the SQL queries (whole-database queries otherwise)
+   * Ids of the contacts to limit the SQL queries (whole-database queries otherwise)
    */
   var $contactIds = array();
 
   /**
-   * params to dedupe against (queries against the whole contact set otherwise)
+   * Params to dedupe against (queries against the whole contact set otherwise)
    */
   var $params = array();
 
   /**
-   * if there are no rules in rule group
+   * If there are no rules in rule group
    */
   var $noRules = FALSE;
 
index d8dd6421ec1f2000c038364a84f80701ce4254c2..4c273c795c258ea0a4842c95680808808979ef59 100644 (file)
@@ -291,7 +291,7 @@ WHERE
   }
 
   /**
-   * return payment related table.
+   * Return payment related table.
    */
   static function paymentTables() {
     static $tables;
@@ -303,7 +303,7 @@ WHERE
   }
 
   /**
-   * return payment update Query.
+   * Return payment update Query.
    */
   static function paymentSql($tableName, $mainContactId, $otherContactId) {
     $sqls = array();
@@ -349,9 +349,9 @@ INNER JOIN  civicrm_participant participant ON ( participant.id = payment.partic
   }
 
   /**
-   * @param $mainId
-   * @param $otherId
-   * @param $tableName
+   * @param int $mainId
+   * @param int $otherId
+   * @param string $tableName
    * @param array $tableOperations
    * @param string $mode
    *
@@ -537,7 +537,7 @@ INNER JOIN  civicrm_membership membership2 ON membership1.membership_type_id = m
   }
 
   /**
-   * batch merge a set of contacts based on rule-group and group.
+   * Batch merge a set of contacts based on rule-group and group.
    *
    * @param  int $rgid rule group id
    * @param  int $gid group id
@@ -579,7 +579,7 @@ INNER JOIN  civicrm_membership membership2 ON membership1.membership_type_id = m
   }
 
   /**
-   * merge given set of contacts. Performs core operation.
+   * Merge given set of contacts. Performs core operation.
    *
    * @param  array $dupePairs set of pair of contacts for whom merge is to be done.
    * @param  array $cacheParams prev-next-cache params based on which next pair of contacts are computed.
index 87f890f26cd6402e3922c8a51374be1d878a8d3b..98d76401b21a0f0d2c4f376681430ed75c7393a2 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
@@ -75,7 +75,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
   }
 
   /**
-   * add the event
+   * Add the event
    *
    * @param array $params reference array contains the values submitted by the form
    *
@@ -115,7 +115,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
   }
 
   /**
-   * create the event
+   * Create the event
    *
    * @param array $params reference array contains the values submitted by the form
    *
@@ -174,7 +174,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
   }
 
   /**
-   * delete the event
+   * Delete the event
    *
    * @param int $id event id
    *
@@ -224,7 +224,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
   }
 
   /**
-   * Function to delete the location block associated with an event,
+   * Delete the location block associated with an event,
    * if not being used by any other event.
    *
    * @param $locBlockId location block id to be deleted
@@ -248,7 +248,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
   }
 
   /**
-   * Function to get current/future Events
+   * Get current/future Events
    *
    * @param $all              int     0 returns current and future events
    *                                  1 if events all are required
@@ -310,7 +310,7 @@ WHERE  ( civicrm_event.is_template IS NULL OR civicrm_event.is_template = 0 )";
   }
 
   /**
-   * Function to get events Summary
+   * Get events Summary
    *
    * @static
    *
@@ -574,9 +574,9 @@ $event_summary_limit
   }
 
   /**
-   * Function to get participant count
+   * Get participant count
    *
-   * @param $eventId
+   * @param int $eventId
    * @param  boolean $considerStatus consider status for participant count.
    * @param  boolean $status consider counted participant.
    * @param  boolean $considerRole consider role for participant count.
@@ -635,7 +635,7 @@ $event_summary_limit
   }
 
   /**
-   * function to get the information to map a event
+   * Get the information to map a event
    *
    * @param int $id for which we want map info
    *
@@ -699,7 +699,7 @@ WHERE civicrm_address.geo_code_1 IS NOT NULL
   }
 
   /**
-   * function to get the complete information for one or more events
+   * Get the complete information for one or more events
    *
    * @param  date    $start      get events with start date >= this date
    * @param  integer $type       get events on the a specific event type (by event_type_id)
@@ -1039,9 +1039,9 @@ WHERE civicrm_event.is_active = 1
   /**
    * Process that send e-mails
    *
-   * @param $contactID
+   * @param int $contactID
    * @param $values
-   * @param $participantId
+   * @param int $participantId
    * @param bool $isTest
    * @param bool $returnMessageText
    *
@@ -1224,14 +1224,14 @@ WHERE civicrm_event.is_active = 1
   }
 
   /**
-   * Function to add the custom fields OR array of participant's
+   * Add the custom fields OR array of participant's
    * profile info
    *
-   * @param $id
-   * @param $name
-   * @param $cid
+   * @param int $id
+   * @param string $name
+   * @param int $cid
    * @param $template
-   * @param $participantId
+   * @param int $participantId
    * @param $isTest
    * @param bool $isCustomProfile
    * @param array $participantParams
@@ -1409,7 +1409,7 @@ WHERE civicrm_event.is_active = 1
   }
 
   /**
-   * Function to build the array for display the profile fields
+   * Build the array for display the profile fields
    *
    * @param array $params key value.
    * @param int $gid profile Id
@@ -1673,7 +1673,7 @@ WHERE  id = $cfID
   }
 
   /**
-   * Function to build the array for Additional participant's information  array of priamry and additional Ids
+   * Build the array for Additional participant's information  array of priamry and additional Ids
    *
    * @param int $participantId id of Primary participant
    * @param array $values key/value event info
@@ -1822,7 +1822,7 @@ ORDER BY sp.name, ca.city, ca.street_address ASC
   }
 
   /**
-   * @param $locBlockId
+   * @param int $locBlockId
    *
    * @return int|null|string
    */
@@ -1951,7 +1951,7 @@ WHERE  ce.loc_block_id = $locBlockId";
   }
 
   /**
-   * make sure that the user has permission to access this event
+   * Make sure that the user has permission to access this event
    *
    * @param int $eventId
    * @param int $type
@@ -2049,7 +2049,7 @@ WHERE  ce.loc_block_id = $locBlockId";
   }
 
   /**
-   * Function to calculate event total seats occupied.
+   * Calculate event total seats occupied.
    *
    * @param int    $eventId          event id.
    * @param sting  $extraWhereClause extra filter on participants.
@@ -2124,7 +2124,7 @@ LEFT  JOIN  civicrm_price_field_value value ON ( value.id = lineItem.price_field
   }
 
   /**
-   * @param $event_id
+   * @param int $event_id
    *
    * @return object
    */
index c52c4ff33faa34e57586ba480d35ae17b7cdf9ba..55f45b43ad8d0623fd3a0e6186ae3852c92235fe 100644 (file)
@@ -37,7 +37,7 @@
 class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
 
   /**
-   * static field for all the participant information that we can potentially import
+   * Static field for all the participant information that we can potentially import
    *
    * @var array
    * @static
@@ -45,7 +45,7 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
   static $_importableFields = NULL;
 
   /**
-   * static field for all the participant information that we can potentially export
+   * Static field for all the participant information that we can potentially export
    *
    * @var array
    * @static
@@ -53,7 +53,7 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
   static $_exportableFields = NULL;
 
   /**
-   * static array for valid status transitions rules
+   * Static array for valid status transitions rules
    *
    * @var array
    * @static
@@ -75,7 +75,7 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
   }
 
   /**
-   * takes an associative array and creates a participant object
+   * Takes an associative array and creates a participant object
    *
    * the function extract all the params it needs to initialize the create a
    * participant object. the params array could contain additional unused name/value
@@ -184,7 +184,7 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
   }
 
   /**
-   * takes an associative array and creates a participant object
+   * Takes an associative array and creates a participant object
    *
    * @param array $params (reference ) an assoc array of name/value pairs
    *
@@ -610,7 +610,7 @@ GROUP BY  participant.event_id
   }
 
   /**
-   * combine all the importable fields from the lower levels object
+   * Combine all the importable fields from the lower levels object
    *
    * @param string $contactType
    * @param bool $status
@@ -723,7 +723,7 @@ GROUP BY  participant.event_id
   }
 
   /**
-   * 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
    * @access public
@@ -776,7 +776,7 @@ GROUP BY  participant.event_id
   }
 
   /**
-   * get the event name/sort name for a particular participation / participant
+   * Get the event name/sort name for a particular participation / participant
    *
    * @param  int    $participantId  id of the participant
 
@@ -956,7 +956,7 @@ WHERE  civicrm_participant.id = {$participantId}
   }
 
   /**
-   * fix the event level
+   * Fix the event level
    *
    * When price sets are used as event fee, fee_level is set as ^A
    * separated string. We need to change that string to comma
@@ -991,12 +991,12 @@ WHERE  civicrm_participant.id = {$participantId}
   }
 
   /**
-   * get the additional participant ids.
+   * Get the additional participant ids.
    *
    * @param int $primaryParticipantId primary partycipant Id
    * @param boolean $excludeCancel do not include participant those are cancelled.
    *
-   * @param null $oldStatusId
+   * @param int $oldStatusId
    *
    * @return array $additionalParticipantIds
    * @static
@@ -1129,8 +1129,8 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_
    * Function for update primary and additional participant status
    *
    * @param  int $participantID primary participant's id
-   * @param $oldStatusID
-   * @param null $newStatusID
+   * @param int $oldStatusID
+   * @param int $newStatusID
    * @param bool $updatePrimaryStatus
    *
    * @return bool|void
@@ -1429,7 +1429,7 @@ UPDATE  civicrm_participant
   }
 
   /**
-   * send mail and create activity
+   * Send mail and create activity
    * when participant status changed.
    *
    * @param  int $participantId participant id.
@@ -1539,11 +1539,11 @@ UPDATE  civicrm_participant
   }
 
   /**
-   * get participant status change message.
+   * Get participant status change message.
    *
-   * @param $participantId
+   * @param int $participantId
    * @param $statusChangeTo
-   * @param $fromStatusId
+   * @param int $fromStatusId
    *
    * @return string
    * @access public
@@ -1577,10 +1577,10 @@ UPDATE  civicrm_participant
   }
 
   /**
-   * get event full and waiting list message.
+   * Get event full and waiting list message.
    *
-   * @param $eventId
-   * @param null $participantId
+   * @param int $eventId
+   * @param int $participantId
    *
    * @return string
    * @access public
@@ -1639,9 +1639,9 @@ UPDATE  civicrm_participant
   }
 
   /**
-   * check for whether participant is primary or not
+   * Check for whether participant is primary or not
    *
-   * @param $participantId
+   * @param int $participantId
    *
    * @return true if participant is primary
    * @access public
@@ -1658,7 +1658,7 @@ UPDATE  civicrm_participant
   }
 
   /**
-   * get additional participant Ids for cascading with primary participant status
+   * Get additional participant Ids for cascading with primary participant status
    *
    * @param  int  $participantId   participant id.
    * @param  int  $oldStatusId     previous status
@@ -1687,7 +1687,7 @@ UPDATE  civicrm_participant
   }
 
   /**
-   * get participant record count for a Contact
+   * Get participant record count for a Contact
    *
    * @param int $contactID
    *
@@ -1704,7 +1704,7 @@ WHERE    civicrm_participant.contact_id = {$contactID} AND
   }
 
   /**
-   * Function to get participant ids by contribution id
+   * Get participant ids by contribution id
    *
    * @param int  $contributionId     Contribution Id
    * @param bool $excludeCancelled   Exclude cancelled additional participant
@@ -1736,7 +1736,7 @@ WHERE    civicrm_participant.contact_id = {$contactID} AND
   }
 
   /**
-   * Function to get additional Participant edit & view url .
+   * Get additional Participant edit & view url .
    *
    * @param array $participantIds an array of additional participant ids.
    *
@@ -1761,7 +1761,7 @@ WHERE    civicrm_participant.contact_id = {$contactID} AND
   }
 
   /**
-   * to create trxn entry if an event has discount.
+   * To create trxn entry if an event has discount.
    *
    * @param int $eventID event id
    * @param array $contributionParams contribution params.
@@ -1798,7 +1798,7 @@ WHERE cpf.price_set_id = %1 AND cpfv.label LIKE %2";
   }
 
   /**
-   * Function to delete participants of contact
+   * Delete participants of contact
    *
    * CRM-12155
    *
@@ -1818,12 +1818,12 @@ WHERE cpf.price_set_id = %1 AND cpfv.label LIKE %2";
 
   /**
    * @param array $params
-   * @param $participantId
-   * @param $contributionId
+   * @param int $participantId
+   * @param int $contributionId
    * @param $feeBlock
-   * @param $lineItems
+   * @param array $lineItems
    * @param $paidAmount
-   * @param $priceSetId
+   * @param int $priceSetId
    */
   static function changeFeeSelections($params, $participantId, $contributionId, $feeBlock, $lineItems, $paidAmount, $priceSetId) {
     $contributionStatuses = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name');
@@ -2004,7 +2004,7 @@ WHERE (li.entity_table = 'civicrm_participant' AND li.entity_id = {$participantI
   /**
    * @param $updatedAmount
    * @param $paidAmount
-   * @param $contributionId
+   * @param int $contributionId
    */
   static function recordAdjustedAmt($updatedAmount, $paidAmount, $contributionId, $taxAmount = NULL) {
     $balanceAmt = $updatedAmount - $paidAmount;
@@ -2068,7 +2068,7 @@ WHERE (li.entity_table = 'civicrm_participant' AND li.entity_id = {$participantI
   }
 
   /**
-   * @param $participantId
+   * @param int $participantId
    * @param $activityType
    *
    * @throws CRM_Core_Exception
index 344eadbf939afca196eec07e3f8daf30f38eba2a..4c6e2123fcdc21ffb394b969994f3b19f7c7f836 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Event_BAO_ParticipantStatusType extends CRM_Event_DAO_ParticipantStatu
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return bool
    */
@@ -105,7 +105,7 @@ class CRM_Event_BAO_ParticipantStatusType extends CRM_Event_DAO_ParticipantStatu
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $isActive
    *
    * @return bool
index 2e97bd9187ef455b3543b4db51c47793ff239fb2..376d3062e0cd8217903ffe1315093911beabe916 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Event_BAO_Query {
   }
 
   /**
-   * build select for CiviEvent
+   * Build select for CiviEvent
    *
    * @param $query
    *
@@ -500,7 +500,7 @@ class CRM_Event_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -546,7 +546,7 @@ class CRM_Event_BAO_Query {
   }
 
   /**
-   * getter for the qill object
+   * Getter for the qill object
    *
    * @return string
    * @access public
@@ -679,7 +679,7 @@ class CRM_Event_BAO_Query {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 
index 84e929a2bbeccc554611420d58e8a4741e912153..d09abfb9f3fe02acb981affa9066509b5c7e3b38 100644 (file)
@@ -70,7 +70,7 @@ class CRM_Event_Badge {
   }
 
   /**
-   * create the labels (pdf)
+   * Create the labels (pdf)
    * It assumes the participants are from the same event
    *
    * @param   array    $participants
@@ -89,7 +89,7 @@ class CRM_Event_Badge {
   }
 
   /**
-   * @param $eventID
+   * @param int $eventID
    *
    * @return CRM_Event_BAO_Event|null
    */
@@ -102,7 +102,7 @@ class CRM_Event_Badge {
   }
 
   /**
-   * @param $eventID
+   * @param int $eventID
    * @param bool $img
    *
    * @return string
@@ -158,7 +158,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']}
@@ -171,7 +171,7 @@ class CRM_Event_Badge {
   function pdfExtraFormat() {}
 
   /**
-   * create labels (pdf)
+   * Create labels (pdf)
    *
    * @param array $participants
    *
index 1fb5a076c7145e40c39daedfb9488395d755384c..4e75e7e39b621eec130dc7288ca2aee30c71ef30 100644 (file)
@@ -22,7 +22,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $event_id
+   * @param int $event_id
    *
    * @return mixed
    */
@@ -77,7 +77,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return bool|CRM_Event_Cart_BAO_Cart
    */
@@ -142,7 +142,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return bool|CRM_Event_Cart_BAO_Cart
    */
@@ -151,7 +151,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $user_id
+   * @param int $user_id
    *
    * @return bool|CRM_Event_Cart_BAO_Cart
    */
@@ -174,7 +174,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $main_conference_event_id
+   * @param int $main_conference_event_id
    *
    * @return array
    */
@@ -231,7 +231,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $event_id
+   * @param int $event_id
    *
    * @return mixed
    */
@@ -240,7 +240,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $event_in_cart_id
+   * @param int $event_in_cart_id
    *
    * @return null
    */
@@ -277,7 +277,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $event_in_cart_id
+   * @param int $event_in_cart_id
    *
    * @return bool|CRM_Event_Cart_BAO_EventInCart
    */
@@ -295,7 +295,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
   }
 
   /**
-   * @param $participant_id
+   * @param int $participant_id
    *
    * @return int
    */
@@ -330,7 +330,7 @@ class CRM_Event_Cart_BAO_Cart extends CRM_Event_Cart_DAO_Cart {
 
 
   /**
-   * @param $from_cart_id
+   * @param int $from_cart_id
    */
   public function adopt_participants($from_cart_id) {
     $params = array(
index 6b4f7a44b8ff11552e9cc442730f5cb9f22556af..f2e23f49272bf959cddf7686aebe82af4958bd65 100644 (file)
@@ -7,7 +7,7 @@ class CRM_Event_Cart_BAO_Conference {
   //XXX assumes we don't allow a contact to register for the same conference more than once
   //XXX flattens the object tree for convenient templating
   /**
-   * @param $main_event_participant_id
+   * @param int $main_event_participant_id
    *
    * @return array|null
    */
index b14baf50cd12200c79674f652cb063f48eabb55e..20651dadbb303c7d904ceb27b7001b687c573c72 100644 (file)
@@ -70,7 +70,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param $event_cart_id
+   * @param int $event_cart_id
    *
    * @return array
    */
@@ -96,7 +96,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return bool|CRM_Event_Cart_BAO_EventInCart
    */
@@ -121,7 +121,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param $contact_id
+   * @param int $contact_id
    */
   public function remove_participant_by_contact_id($contact_id) {
     $to_remove = array();
@@ -135,7 +135,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param $participant_id
+   * @param int $participant_id
    *
    * @return mixed
    */
@@ -144,7 +144,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param $participant_id
+   * @param int $participant_id
    */
   public function remove_participant_by_id($participant_id) {
     $this->get_participant_by_id($participant_id)->delete();
@@ -275,7 +275,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param $event_id
+   * @param int $event_id
    *
    * @return array
    */
@@ -308,7 +308,7 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
   }
 
   /**
-   * @param null $parent_event_id
+   * @param int $parent_event_id
    *
    * @return bool
    */
index f042668c61e4572672638cafae685ce2311658ac..8c035b0c5eefff19b7bde86ff3e43d24125ea455 100644 (file)
@@ -94,7 +94,7 @@ class CRM_Event_Cart_BAO_MerParticipant extends CRM_Event_BAO_Participant {
   }
 
   /**
-   * @param $event_cart_id
+   * @param int $event_cart_id
    *
    * @return array|null
    */
@@ -106,8 +106,8 @@ class CRM_Event_Cart_BAO_MerParticipant extends CRM_Event_BAO_Participant {
   }
 
   /**
-   * @param $event_id
-   * @param $event_cart_id
+   * @param int $event_id
+   * @param int $event_cart_id
    *
    * @return array|null
    */
@@ -136,7 +136,7 @@ class CRM_Event_Cart_BAO_MerParticipant extends CRM_Event_BAO_Participant {
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @return mixed
    */
index e45e136843e063eaff157ecab26bb54bd9b42ef3..831a45f8ec91d1bdab101d7d484a3bfa42bf5b40 100644 (file)
@@ -77,7 +77,7 @@ class CRM_Event_Cart_Form_Cart extends CRM_Core_Form {
   }
 
   /**
-   * @param $event_id
+   * @param int $event_id
    *
    * @return bool|int|null|string
    */
@@ -140,7 +140,7 @@ class CRM_Event_Cart_Form_Cart extends CRM_Core_Form {
   }
 
   /**
-   * @param null $registeringContactID
+   * @param int $registeringContactID
    * @param array $fields
    *
    * @return int|mixed|null
@@ -166,7 +166,7 @@ class CRM_Event_Cart_Form_Cart extends CRM_Core_Form {
   }
 
   /**
-   * @param $page_name
+   * @param string $page_name
    *
    * @return mixed
    */
index cf66852784c3c72e976b57c0fa2ddaa9abba9639..432b163e1f69b1e01287fdda61fc036496603951 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Event_Cart_Form_MerParticipant extends CRM_Core_Form {
   }
 
   /**
-   * @param $event_id
+   * @param int $event_id
    *
    * @return array
    */
@@ -81,9 +81,9 @@ class CRM_Event_Cart_Form_MerParticipant extends CRM_Core_Form {
   }
 
   /**
-   * @param $event_id
-   * @param $participant_id
-   * @param $field_name
+   * @param int $event_id
+   * @param int $participant_id
+   * @param string $field_name
    *
    * @return string
    */
@@ -92,7 +92,7 @@ class CRM_Event_Cart_Form_MerParticipant extends CRM_Core_Form {
   }
 
   /**
-   * @param $field_name
+   * @param string $field_name
    *
    * @return string
    */
index eee6e2fd62455b050db1ea34613a281e727d2fdf..bc913c80b273622928c490f8a3ed4862c4a6b31f 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Event_Controller_Registration extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index 2fdd7bcf00bc43131e7659657f99f429fde5ac12..ee6a0a0163100c39bae45074314f93e2fe47f3d6 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Event_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 4a12c47e5ef41278ffc90fa003f6a376aefcdce6..11397a36906cf98457d30db294950121dc039359 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Event_Form_EventFees {
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @param CRM_Core_Form $form
    *
@@ -255,8 +255,8 @@ class CRM_Event_Form_EventFees {
    *
    * @access public
    *
-   * @param $participantID
-   * @param null $eventID
+   * @param int $participantID
+   * @param int $eventID
    * @param bool $includeQtyZero
    *
    * @return void
index eb40f4f14b33d6781b87dc821e2e91b66cdee201..70330d551f9512080972bdc3f6ef9673806afb96 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
 
   /**
-   * the id of the event we are proceessing
+   * The id of the event we are proceessing
    *
    * @var int
    * @protected
@@ -48,7 +48,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
   public $_id;
 
   /**
-   * is this the first page?
+   * Is this the first page?
    *
    * @var boolean
    * @access protected
@@ -56,7 +56,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
   protected $_first = FALSE;
 
   /**
-   * are we in single form mode or wizard mode?
+   * Are we in single form mode or wizard mode?
    *
    * @var boolean
    * @access protected
@@ -66,13 +66,13 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
   protected $_action;
 
   /**
-   * are we actually managing an event template?
+   * Are we actually managing an event template?
    * @var boolean
    */
   protected $_isTemplate = FALSE;
 
   /**
-   * pre-populate fields based on this template event_id
+   * Pre-populate fields based on this template event_id
    * @var integer
    */
   protected $_templateId;
@@ -91,7 +91,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
   protected $_isRepeatingEvent;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 2333050ed29c14eabd2fd8ab86bc28d222bb60ea..e0d941cb77b780bf7cff1849873f311da10fd345 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Form_ManageEvent_Delete extends CRM_Event_Form_ManageEvent {
 
   /**
-   * page title
+   * Page title
    *
    * @var string
    * @protected
@@ -47,7 +47,7 @@ class CRM_Event_Form_ManageEvent_Delete extends CRM_Event_Form_ManageEvent {
   protected $_title;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 2a74a81ce11fb3339b041636eac98e306a21fd64..e216936d685ce4a7b10d78ce0148bee8474a3e89 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent {
   protected $_eventType = NULL;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -239,7 +239,7 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values
    *
index e4891bedba5611740e42e1f94ec35509f2803c13..0ec6fd1f101a1d5893ec05177fa53afe0e011a04 100644 (file)
@@ -55,12 +55,12 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent {
   public $_action;
 
   /**
-   * in Date
+   * In Date
    */
   private $_inDate;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -406,7 +406,7 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values posted values of the form
    *
index 96e2ed05cf16001fdad35a338102b6d96f15860e..3def1e47792917fc53544e43e5ae2bcac08f058c 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent {
 
   /**
-   * how many locationBlocks should we display?
+   * How many locationBlocks should we display?
    *
    * @var int
    * @const
@@ -49,27 +49,27 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent {
   CONST LOCATION_BLOCKS = 1;
 
   /**
-   * the variable, for storing the location array
+   * The variable, for storing the location array
    *
    * @var array
    */
   protected $_locationIds = array();
 
   /**
-   * the variable, for storing location block id with event
+   * The variable, for storing location block id with event
    *
    * @var int
    */
   protected $_oldLocBlockId = 0;
 
   /**
-   * get the db values for this form
+   * Get the db values for this form
    *
    */
   public $_values = array();
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -139,7 +139,7 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $fields posted values of the form
    *
index 8276aaed8eb2ebfbf7da18baf96c41a85ad26db0..70072348307f44fa2e10fb1702a97c3ef7e422d4 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent {
 
   /**
-   * what blocks should we show and hide.
+   * What blocks should we show and hide.
    *
    * @var CRM_Core_ShowHideBlocks
    */
@@ -51,7 +51,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
   protected $_profilePostMultipleAdd = array();
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -316,7 +316,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
   }
 
   /**
-   * build Registration Block
+   * Build Registration Block
    *
    * @param CRM_Core_Form $form
    *
@@ -391,7 +391,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
   }
 
   /**
-   * build Confirmation Block
+   * Build Confirmation Block
    *
    * @param CRM_Core_Form $form
    *
@@ -419,7 +419,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
   }
 
   /**
-   * Function to build Email Block
+   * Build Email Block
    *
    * @param CRM_Core_Form $form
    *
@@ -472,7 +472,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values
    * @param $files
index 3097025aa8724322b066c62a163f51539b2ed9b6..763edabb6e938c4fc213ef0b0866e2eabe8c0a93 100755 (executable)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_ManageEvent_ScheduleReminders extends CRM_Event_Form_ManageEvent {
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -215,7 +215,7 @@ class CRM_Event_Form_ManageEvent_ScheduleReminders extends CRM_Event_Form_Manage
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $fields posted values of the form
    *
index e5029dba4791ca535542b7ebd7d896fd1876c3b2..a57d376bea6703b5ec4df23428025d748c1ce471 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $useLivePageJS = TRUE;
 
   /**
-   * the values for the contribution db object
+   * The values for the contribution db object
    *
    * @var array
    * @protected
@@ -51,7 +51,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $_values;
 
   /**
-   * the values for the quickconfig for priceset
+   * The values for the quickconfig for priceset
    *
    * @var boolean
    * @protected
@@ -75,7 +75,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $_priceSet;
 
   /**
-   * the id of the participation that we are proceessing
+   * The id of the participation that we are proceessing
    *
    * @var int
    * @protected
@@ -83,7 +83,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $_id;
 
   /**
-   * the id of the note
+   * The id of the note
    *
    * @var int
    * @protected
@@ -91,7 +91,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   protected $_noteId = NULL;
 
   /**
-   * the id of the contact associated with this participation
+   * The id of the contact associated with this participation
    *
    * @var int
    * @protected
@@ -99,7 +99,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $_contactId;
 
   /**
-   * array of event values
+   * Array of event values
    *
    * @var array
    * @protected
@@ -135,22 +135,22 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   protected $_eventTypeId = NULL;
 
   /**
-   * participant status Id
+   * Participant status Id
    */
   protected $_statusId = NULL;
 
   /**
-   * cache all the participant statuses
+   * Cache all the participant statuses
    */
   protected $_participantStatuses;
 
   /**
-   * participant mode
+   * Participant mode
    */
   public $_mode = NULL;
 
   /**
-   * event ID preselect
+   * Event ID preselect
    */
   public $_eID = NULL;
 
@@ -167,27 +167,27 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $_online;
 
   /**
-   * store id of role custom data type ( option value )
+   * Store id of role custom data type ( option value )
    */
   protected $_roleCustomDataTypeID;
 
   /**
-   * store id of event Name custom data type ( option value)
+   * Store id of event Name custom data type ( option value)
    */
   protected $_eventNameCustomDataTypeID;
 
   /**
-   * selected discount id
+   * Selected discount id
    */
   public $_originalDiscountId = NULL;
 
   /**
-   * event id
+   * Event id
    */
   public $_eventId = NULL;
 
   /**
-   * id of payment, if any
+   * Id of payment, if any
    */
   public $_paymentId = NULL;
 
@@ -198,7 +198,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   public $_onlinePendingContributionId = NULL;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -796,7 +796,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $values posted values of the form
    * @param $files
index c9e4ecfb9b79e6329bbade7cd967797f96ddac8e..91b864a52450cde2f21325104f8a9746d342df8f 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
    * @access public
index 4dc2c87b66fbae967119a493fad6c91f5927a3c1..721b3549d2176b52a65059edab26c6b21949b9d1 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_Registration extends CRM_Core_Form {
 
   /**
-   * how many locationBlocks should we display?
+   * How many locationBlocks should we display?
    *
    * @var int
    * @const
@@ -49,7 +49,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   CONST LOCATION_BLOCKS = 1;
 
   /**
-   * the id of the event we are proceessing
+   * The id of the event we are proceessing
    *
    * @var int
    * @protected
@@ -57,7 +57,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_eventId;
 
   /**
-   * the array of ids of all the participant we are proceessing
+   * The array of ids of all the participant we are proceessing
    *
    * @var int
    * @protected
@@ -65,7 +65,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   protected $_participantIDS = NULL;
 
   /**
-   * the id of the participant we are proceessing
+   * The id of the participant we are proceessing
    *
    * @var int
    * @protected
@@ -73,7 +73,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   protected $_participantId;
 
   /**
-   * is participant able to walk registration wizard.
+   * Is participant able to walk registration wizard.
    *
    * @var Boolean
    * @protected
@@ -81,7 +81,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_allowConfirmation;
 
   /**
-   * is participant requires approval
+   * Is participant requires approval
    *
    * @var Boolean
    * @public
@@ -89,7 +89,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_requireApproval;
 
   /**
-   * is event configured for waitlist.
+   * Is event configured for waitlist.
    *
    * @var Boolean
    * @public
@@ -97,7 +97,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_allowWaitlist;
 
   /**
-   * store additional participant ids
+   * Store additional participant ids
    * when there are pre-registered.
    *
    * @var array
@@ -106,7 +106,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_additionalParticipantIds;
 
   /**
-   * the mode that we are in
+   * The mode that we are in
    *
    * @var string
    * @protect
@@ -114,7 +114,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_mode;
 
   /**
-   * the values for the contribution db object
+   * The values for the contribution db object
    *
    * @var array
    * @protected
@@ -122,7 +122,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_values;
 
   /**
-   * the paymentProcessor attributes for this page
+   * The paymentProcessor attributes for this page
    *
    * @var array
    * @protected
@@ -190,7 +190,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   public $_isBillingAddressRequiredForPayLater;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -475,7 +475,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   }
 
   /**
-   * assign the minimal set of variables to the template
+   * Assign the minimal set of variables to the template
    *
    * @return void
    * @access public
@@ -571,10 +571,10 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   }
 
   /**
-   * add the custom fields
+   * Add the custom fields
    *
-   * @param $id
-   * @param $name
+   * @param int $id
+   * @param string $name
    * @param bool $viewOnly
    *
    * @return void
@@ -676,7 +676,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
 
   /**
    * @param CRM_Core_Form $form
-   * @param $eventID
+   * @param int $eventID
    *
    * @throws Exception
    */
@@ -733,9 +733,9 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   }
 
   /**
-   * handle process after the confirmation of payment by User
+   * Handle process after the confirmation of payment by User
    *
-   * @param null $contactID
+   * @param int $contactID
    * @param null $contribution
    * @param null $payment
    *
@@ -839,7 +839,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
    * Process the participant
    *
    * @param array $params
-   * @param $contactID
+   * @param int $contactID
    *
    * @return void
    * @access public
@@ -1346,7 +1346,7 @@ WHERE  v.option_group_id = g.id
 
   // set the first participant ID if not set, CRM-10032
   /**
-   * @param $participantID
+   * @param int $participantID
    */
   function processFirstParticipant($participantID) {
     $this->_participantId = $participantID;
index fc324c09887c13772b4300c652ad8ab03d4c0f2d..40eb6fd667c785d11a56b6dc01f337b7a4e8140e 100644 (file)
@@ -47,13 +47,13 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R
   public $_defaults = array();
 
   /**
-   * pre-registered additional participant id.
+   * Pre-registered additional participant id.
    *
    */
   public $additionalParticipantId = NULL;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -364,7 +364,7 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
@@ -746,7 +746,7 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R
   }
 
   /**
-   * check whether call current participant is last one
+   * Check whether call current participant is last one
    *
    * @param bool $isButtonJs
    *
@@ -821,7 +821,7 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R
   }
 
   /**
-   * @param $elementName
+   * @param string $elementName
    * @param array $optionIds
    */
   function resetSubmittedValue($elementName, $optionIds = array()) {
index 97d65e52c785b933c73a6ca688a7ca667f1995c2..41be90095125eb6c0cdd320de8fed6de424547dd 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
 
   /**
-   * the values for the contribution db object
+   * The values for the contribution db object
    *
    * @var array
    * @protected
@@ -49,7 +49,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   public $_values;
 
   /**
-   * the total amount
+   * The total amount
    *
    * @var float
    * @public
@@ -57,7 +57,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   public $_totalAmount;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -203,7 +203,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   }
 
   /**
-   * overwrite action, since we are only showing elements in frozen mode
+   * Overwrite action, since we are only showing elements in frozen mode
    * no help display needed
    *
    * @return int
@@ -868,7 +868,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
    * @param CRM_Core_Form $form
    * @param array $params
    * @param $result
-   * @param $contactID
+   * @param int $contactID
    * @param bool $pending
    * @param bool $isAdditionalAmount
    *
@@ -1032,9 +1032,9 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   }
 
   /**
-   * update contact fields
+   * Update contact fields
    *
-   * @param $contactID
+   * @param int $contactID
    * @param array $params
    * @param $fields
    * @param CRM_Core_Form $form
index 588168a1c0504025f3939c0d731124896fcd4c70..9f3a48e215d132c1b819b6af17761e76c4f30a38 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Event_Form_Registration_ParticipantConfirm extends CRM_Event_Form_Regi
   protected $_cc = NULL;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 9c1b581ddbb443658fc4624bf8198f032833215f..aa68f9b115c982c02c1cf7868f0ca70fc34b6c76 100644 (file)
@@ -77,13 +77,13 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
   public $_noFees;
 
   /**
-   * array of payment related fields to potentially display on this form (generally credit card or debit card fields). This is rendered via billingBlock.tpl
+   * Array of payment related fields to potentially display on this form (generally credit card or debit card fields). This is rendered via billingBlock.tpl
    * @var array
    */
   public $_paymentFields = array();
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -543,7 +543,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
   }
 
   /**
-   * build the radio/text form elements for the amount field
+   * Build the radio/text form elements for the amount field
    *
    * @param CRM_Core_Form   $form form object
    * @param boolean  $required  true if you want to add formRule
@@ -800,7 +800,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
@@ -1220,7 +1220,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
    */
   /**
    * @param array $params
-   * @param null $contactID
+   * @param int $contactID
    */
   public function processRegistration($params, $contactID = NULL) {
     $session = CRM_Core_Session::singleton();
index f49560493e890ab4abf5529704cb4ce80f800cb4..f2d316c4df153d1f9e1733f497b85d97919fdb1e 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration {
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -68,7 +68,7 @@ class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration {
   }
 
   /**
-   * overwrite action, since we are only showing elements in frozen mode
+   * Overwrite action, since we are only showing elements in frozen mode
    * no help display needed
    *
    * @return int
index a29a67b69717ad04b0b9341918b3026bcaa3b4d8..1fb279ee12b5ba97b35522d15654b65b352bab14 100644 (file)
@@ -43,7 +43,7 @@
 class CRM_Event_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
    * @access protected
@@ -51,7 +51,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -59,7 +59,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -67,7 +67,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
   protected $_limit = NULL;
 
   /**
-   * prefix for the controller
+   * Prefix for the controller
    *
    */
   protected $_prefix = "event_";
@@ -75,7 +75,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * the saved search ID retrieved from the GET vars
+   * The saved search ID retrieved from the GET vars
    *
    * @var int
    * @access protected
@@ -83,7 +83,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
   protected $_ssID;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index 572bc45ad4344a680b4684d591ed780240618991..da1b3ae2eb8aa5d6e96fa9a17005e739668d18fb 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Event_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -68,7 +68,7 @@ class CRM_Event_Form_Task extends CRM_Core_Form {
   protected $_participantIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -156,7 +156,7 @@ class CRM_Event_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 title of the main button
index 4519c6a79664c9e0f89be10d5e2a31018f5da991..9a8e74fb524aa69f17bae41d4ab8f9acc9aaefc3 100644 (file)
@@ -48,21 +48,21 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task {
   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
    * @access public
@@ -179,7 +179,7 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $fields posted values of the form
    *
@@ -201,7 +201,7 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index 2da878a54d764af0fcb3fd3f2079d62a1b8b152c..16ee03cdcc88814cdaa1fe4bb0bc52bc567a7427 100644 (file)
@@ -48,12 +48,12 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task {
   public $_single = FALSE;
 
   /**
-   * component clause
+   * Component clause
    */
   public $_componentClause;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -108,7 +108,7 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index 62651c003c8343bff9f2ba5855037856c20d8b46..a02352ba19f3ac8aad4db8c69114e1fd9571f0e1 100644 (file)
 class CRM_Event_Form_Task_Batch extends CRM_Event_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;
 
   /**
-   * variable to store previous status id.
+   * Variable to store previous status id.
    *
    */
   protected $_fromStatusIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -272,7 +272,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
@@ -350,8 +350,8 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
   }
 
   /**
-   * @param $participantId
-   * @param $statusId
+   * @param int $participantId
+   * @param int $statusId
    *
    * @return Ambigous|void
    */
index 88f9a173e7687f5ce0cdc02512cfb996cd9e7a15..a7dd0aaf6a462a1841270a6f67e67dd6a3b1cf7d 100644 (file)
 class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task {
 
   /**
-   * 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
    * @access public
@@ -72,7 +72,7 @@ class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index 5a329588734a95b7ba7ca3ab23d5a8a45ae4ffae..a9714d6ca60a2502ad13f26bd2a26db00df8c4be 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_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
    * @access public
@@ -88,7 +88,7 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index 9fff4804c9a89a58509224a628e102d43fd8d890..2ef474b055c2cb261401bd2d7b9e65a1594da839 100644 (file)
@@ -56,14 +56,14 @@ class CRM_Event_Form_Task_Email extends CRM_Event_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
    * @access public
@@ -92,7 +92,7 @@ class CRM_Event_Form_Task_Email extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index 45c9e4d719a22468483412fdc1fee8238321892d..caa0801e123d2d397e86556db8974ed3d92b8155 100644 (file)
 class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task {
 
   /**
-   * the title of the group
+   * The title of the group
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * maximum event participations that should be allowed to update
+   * Maximum event participations that should be allowed to update
    *
    */
   protected $_maxParticipations = 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
    * @access public
@@ -120,7 +120,7 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param array $fields posted values of the form
    *
@@ -133,7 +133,7 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index 0d97db74eb825941bb08400bc14bc8e77bc874f9..711b1221bbcfadbead3f8c749900fccd03e37506 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Form_Task_Print extends CRM_Event_Form_Task {
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -95,7 +95,7 @@ class CRM_Event_Form_Task_Print extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index bf04fc9055d2ffbb10cfbd6171a25b71ba62ba54..aa1e8845ef3ee2ae80ffd760327a1d799eceb527 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Event_Form_Task_Result extends CRM_Event_Form_Task {
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
index 3577815cc4fbbdcdd8fe0412693ce18d35fd9b50..c1e0392024f587cc276bdf48a596d99085a48c4a 100644 (file)
 class CRM_Event_Form_Task_SaveSearch extends CRM_Event_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
    * @access public
@@ -103,7 +103,7 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
    * @access public
    *
index fe3352c97936ed44c55df715b1105a49aa62eee8..e5fe41afc3d11412939a35e7693e4f86c5c5333c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Event_Form_Task_SaveSearch_Update extends CRM_Event_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
    * @access public
index d9e7ecc09a4e1abcb767c2abb0309ba8e96e2f36..d4f52bdfcfdd8b16e28a9b6dfe8cc89ce5937886 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Event_Form_Task_SearchTaskHookSample extends CRM_Event_Form_Task {
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
index 7f61d67f5bac6ab817eb4ab94184b14768fe59e7..08c31a92f3b8ce70ebcd8a7a2bc75b81dea2af8a 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Event_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index d3195467bb7333e5ec3c7feb0cb657a55cbf0334..e6a59724e2a069d052b0f5c56574ae0ab1be6b68 100644 (file)
@@ -36,41 +36,41 @@ class CRM_Event_Import_Field {
    */
 
   /**
-   * name of the field
+   * Name of the field
    */
   public $_name;
 
   /**
-   * title of the field to be used in display
+   * Title of the field to be used in display
    */
   public $_title;
 
   /**
-   * type of field
+   * Type of field
    * @var enum
    */
   public $_type;
 
   /**
-   * regexp to match the CSV header of this column/field
+   * Regexp to match the CSV header of this column/field
    * @var string
    */
   public $_headerPattern;
 
   /**
-   * regexp to match the pattern of data from various column/fields
+   * Regexp to match the pattern of data from various column/fields
    * @var string
    */
   public $_dataPattern;
 
   /**
-   * value of this field
+   * Value of this field
    * @var object
    */
   public $_value;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
@@ -91,7 +91,7 @@ class CRM_Event_Import_Field {
   }
 
   /**
-   * the value is in string format. convert the value to the type of this field
+   * The value is in string format. convert the value to the type of this field
    * and set the field value with the appropriate type
    */
   function setValue($value) {
index 02375587205f0174e4aef0d9895688224367bd49..9e94eafc0066ced65e228587a3ff11328e9d9e7f 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
    * @access public
index 5f9546143fa71bb20e0d1a615bfa71fb01827431..62eee462d4e4ebd74e1fddfb14983cb809faa242 100644 (file)
@@ -42,7 +42,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
    * @access public
@@ -280,7 +280,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 e535257fa53ce9f22f078432dfbd4ccfdafb49bd..bdfee42636b3178465ad9bb30d567fac7e31869d 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
    * @access public
index 209af3ad5dd71743df87486d6b9e2a1154cc83e2..0020145af90076733e46802d28e55c41cf00642e 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
    * @access public
index 87a227ff40464a47a22e2116ea7f12f9425218bb..2055f8646e1fb946eee759248cca2876c7b28d4c 100644 (file)
@@ -44,29 +44,29 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
    */
 
   /**
-   * imported file size
+   * Imported file size
    */
   protected $_fileSize;
 
   /**
-   * seperator being used
+   * Seperator being used
    */
   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
    */
   protected $_haveColumnHeader;
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param string $seperator
    * @param $mapper
    * @param bool $skipColumnHeader
@@ -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
    * @access public
@@ -330,7 +330,7 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
index 168d738af692428636f8c7f08521a7849ca1e9d8..f097124aa5586adb778f2fe10340563294c18c1b 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   protected $_newParticipants;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
     parent::__construct();
@@ -66,7 +66,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -124,7 +124,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
    *
@@ -136,7 +136,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
    *
@@ -264,7 +264,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
    * @param array $values the array of values belonging to this line
@@ -500,7 +500,7 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
index c3217c6a42d9e028d66f621f052c8fc3d6b1a666..a0ddc764e094b26a60bf23751ab7457b1718f4f5 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
    */
   function eventFee() {
index e218713a3c8a4f906bf003dc034771e2d6151883..32ed626be9f08babf6b65d28cfa0ef77a42a2f51 100644 (file)
@@ -241,7 +241,7 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
   }
 
   /**
-   * browse all events
+   * Browse all events
    *
    * @return void
    */
@@ -530,7 +530,7 @@ ORDER BY start_date desc
 
   /**
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pager($whereClause, $whereParams) {
 
@@ -556,7 +556,7 @@ SELECT count(id)
 
   /**
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pagerAtoZ($whereClause, $whereParams) {
 
index eb498070c80461cdb4dea4aeb7c07e095ee1a353..e5970eedb4381e4c9087966be37559716fbb592c 100644 (file)
@@ -123,7 +123,7 @@ LIMIT    $offset, $rowCount";
   /**
    * @param $fromClause
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pager($fromClause, $whereClause, $whereParams) {
 
index 67a0aefa5f5462130373c7c9b1c5818d72c0fbef..d89cba98fbefefbd2405ca51c7aeca56db4e46e3 100644 (file)
@@ -110,7 +110,7 @@ LIMIT    $offset, $rowCount";
   /**
    * @param $fromClause
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pager($fromClause, $whereClause, $whereParams) {
 
index fef1afdda9188d20b698b2678d2176173297c9c4..2938a87d3af587e1fd4879bce95a8e5b7c054465 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
    *
    * return null
    * @access public
index dc1472b76228dc8798c0b64662500957b40858c7..ff4824d3cc1fe0973280b334587eb3051263e613 100644 (file)
@@ -80,7 +80,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   private static $eventType;
 
   /**
-   * event template titles
+   * Event template titles
    * @var array
    */
   private static $eventTemplates;
@@ -97,7 +97,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @param bool $all
    * @param null $condition
    *
@@ -134,7 +134,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @param null $cond
    * @param string $retColumn tells populate() whether to return 'name' (default) or 'label' values
    *
@@ -183,7 +183,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @param null $cond
    *
    * @return array - array reference of all participant roles if any
@@ -216,7 +216,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    *
    * @return array - array reference of all participant listings if any
    * @static
@@ -239,7 +239,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @return array - array reference of all event types.
    * @static
    */
@@ -257,9 +257,9 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   }
 
   /**
-   * get event template titles
+   * Get event template titles
    *
-   * @param null $id
+   * @param int $id
    *
    * @return array  of event id â†’ template title pairs
    */
@@ -299,7 +299,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @return array - array reference of all pcp if any
    * @static
    */
index 33cd7540159ccc6b3cf2aa0c293395969d80a007..cee0830553916a3add22c09623212b15656ccca8 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -86,7 +86,7 @@ class CRM_Event_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
    *
    * @access protected
    * @var boolean
@@ -94,7 +94,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -102,7 +102,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -110,7 +110,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   protected $_context = NULL;
 
   /**
-   * what component context are we being invoked from
+   * What component context are we being invoked from
    *
    * @access protected
    * @var string
@@ -118,7 +118,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   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
@@ -127,7 +127,7 @@ 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
    * @access protected
@@ -260,7 +260,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -299,7 +299,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -441,7 +441,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -520,7 +520,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index afb17dd8fec3d826e33cfcb465312401635e697b..e07db2e6e00970043fc7e43f91757cdc9d723d61 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 512beaa0c8bd22a74474da866bd48893e65105bb..5f0f3a36e9f452b548f46e053a05cc1bb6ab49a5 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
@@ -93,7 +93,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
    * @access public
index 3b886ddea77c2d58984302474142ca61abff0fe4..ee91e2d42b4b1e2fd1118edb651bd837a50460d6 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Event_Task {
   LABEL_CONTACTS = 16, GROUP_CONTACTS = 20;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -54,7 +54,7 @@ class CRM_Event_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -184,7 +184,7 @@ class CRM_Event_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index 54060a5657394fd95d1ea9aac326eed05d96c333..fe08bda4ba1d0ec3f32d770c48050eae7067ae4b 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
    * @param array $ids contact ids
@@ -1171,7 +1171,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
    * @param int     $mode export mode
@@ -1207,7 +1207,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
   }
 
   /**
-   * handle import error file creation.
+   * Handle import error file creation.
    *
    */
   static function invoke() {
@@ -1423,7 +1423,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
   }
 
   /**
-   * @param $tableName
+   * @param string $tableName
    * @param $details
    * @param $sqlColumns
    */
@@ -1516,10 +1516,10 @@ CREATE TABLE {$exportTempTable} (
   }
 
   /**
-   * @param $tableName
+   * @param string $tableName
    * @param $headerRows
    * @param $sqlColumns
-   * @param $exportParams
+   * @param array $exportParams
    */
   static function mergeSameAddress($tableName, &$headerRows, &$sqlColumns, $exportParams) {
     // check if any records are present based on if they have used shared address feature,
@@ -1624,8 +1624,8 @@ WHERE  id IN ( $deleteIDString )
   }
 
   /**
-   * @param $contactId
-   * @param $exportParams
+   * @param int $contactId
+   * @param array $exportParams
    *
    * @return array
    */
@@ -1687,7 +1687,7 @@ WHERE  id IN ( $deleteIDString )
 
   /**
    * @param $sql
-   * @param $exportParams
+   * @param array $exportParams
    * @param bool $sharedAddress
    *
    * @return array
@@ -1789,7 +1789,7 @@ WHERE  id IN ( $deleteIDString )
   }
 
   /**
-   * merge household record into the individual record
+   * Merge household record into the individual record
    * if exists
    *
    * @param string $exportTempTable temporary temp table that stores the records
@@ -1927,7 +1927,7 @@ LIMIT $offset, $limit
   }
 
   /**
-   * Function to manipulate header rows for relationship fields
+   * Manipulate header rows for relationship fields
    *
    */
   public static function manipulateHeaderRows(&$headerRows, $contactRelationshipTypes) {
@@ -1941,7 +1941,7 @@ LIMIT $offset, $limit
   }
 
   /**
-   * Function to exclude contacts who are deceased, have "Do not mail" privacy setting,
+   * Exclude contacts who are deceased, have "Do not mail" privacy setting,
    * or have no street address
    *
    */
index 261b54786990ad592cc09e6c60e854cd0f422c7a..66544bf10d7da47bb9fc653a4716658187d5a0f2 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Export_Form_Map extends CRM_Core_Form {
 
   /**
-   * mapper fields
+   * Mapper fields
    *
    * @var array
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
   protected $_mapperFields;
 
   /**
-   * number of columns in import file
+   * Number of columns in import file
    *
    * @var int
    * @access protected
@@ -55,7 +55,7 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
   protected $_exportColumnCount;
 
   /**
-   * loaded mapping ID
+   * Loaded mapping ID
    *
    * @var int
    * @access protected
@@ -108,12 +108,12 @@ 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
    *
    * @param $values
-   * @param $mappingTypeId
+   * @param int $mappingTypeId
    *
    * @return array list of errors to be posted back to the form
    * @static
index e8e8e97bedab537506fb8fa279fc782f1c81713d..8f1e1d2fa879b35e844cc10a0f6f1c4d03a0e611 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
    *
@@ -332,7 +332,7 @@ FROM   {$this->_componentTable}
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
@@ -445,7 +445,7 @@ FROM   {$this->_componentTable}
   }
 
   /**
-   * build mapping form element
+   * Build mapping form element
    *
    */
   function buildMapping() {
index c0e9c05c03340e0526cd853276e1f4afc3c6d837..30142f0e8a3bd8d59c3a930ba0b5f0e3f1231fb0 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Extension_Manager_Module extends CRM_Extension_Manager_Base {
 
   /**
    * @param CRM_Extension_Info $info
-   * @param $hookName
+   * @param string $hookName
    */
   private function callHook(CRM_Extension_Info $info, $hookName) {
     try {
index a56a24db3258697846b900157478e726c90bb184..dc7433cdcd9ff1ef1a09a2689321e21d469f2b8e 100644 (file)
@@ -176,7 +176,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 8c26443cd0b03c30d4bee919011e1c1518bf3037..658715d04e8a59482ebf74aa2a046e1ae6f272a0 100755 (executable)
@@ -329,7 +329,7 @@ class CRM_Extension_Mapper {
   }
 
   /**
-   * @param $name
+   * @param string $name
    *
    * @return bool
    */
index 2ced603bf80235edee407986c62f86564912a2a2..d804265e4fa59ef3080100edb1b04b8c41cff151 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Financial_BAO_ExportFormat {
   static protected $_template;
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
   /**
-   * @param $exportParams
+   * @param array $exportParams
    *
    * @return mixed
    */
@@ -177,7 +177,7 @@ class CRM_Financial_BAO_ExportFormat {
 
   /**
    * @param $batchIds
-   * @param $fileName
+   * @param string $fileName
    *
    * @throws CRM_Core_Exception
    */
index 3c871ba52beda566400acf4558fe08e29998666e..20a79979f6d2ff0e56d38d99dacf48337f277362 100644 (file)
@@ -48,14 +48,14 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
   );
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * @param $exportParams
+   * @param array $exportParams
    */
   function export($exportParams) {
     $export = parent::export($exportParams);
@@ -75,7 +75,7 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
   }
 
   /**
-   * @param $batchId
+   * @param int $batchId
    *
    * @return Object
    */
index cb9003a6aec89a23c842741d57910c4533a84a0d..1ec4d0a24b49398f4b8c7d7c9881f1afbfdc68e4 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Financial_BAO_ExportFormat_IIF extends CRM_Financial_BAO_ExportFormat
   );
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -59,7 +59,7 @@ class CRM_Financial_BAO_ExportFormat_IIF extends CRM_Financial_BAO_ExportFormat
   }
 
   /**
-   * @param $exportParams
+   * @param array $exportParams
    */
   function export( $exportParams ) {
     parent::export( $exportParams );
@@ -91,7 +91,7 @@ class CRM_Financial_BAO_ExportFormat_IIF extends CRM_Financial_BAO_ExportFormat
   }
 
   /**
-   * @param $batchId
+   * @param int $batchId
    *
    * @return Object
    */
index 85f29a15d547b0a5d2cf4bffdfbdcbc2c1d4a15f..70aa0596169f830616a8988c8cc05357b158dc70 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
    */
   function __construct() {
     parent::__construct();
@@ -69,7 +69,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -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
    * @param array $ids    reference array contains the id
@@ -116,7 +116,7 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
   }
 
   /**
-   * delete financial Types
+   * Delete financial Types
    *
    * @param int $financialAccountId
    * @static
@@ -152,11 +152,11 @@ 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
    *
    * @financialTypeId int      Financial Type Id
    *
-   * @param $financialTypeId
+   * @param int $financialTypeId
    *
    * @return accounting code
    * @static
@@ -177,7 +177,7 @@ WHERE cft.id = %1
   }
 
   /**
-   * get AR account
+   * Get AR account
    *
    * @param $financialAccountId financial account id
    *
index e3d6c5684f2e01c5e7b844601381b201de7bbf0a..49f207b8518f51e0d4ab3124805db7deff09fc7d 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct( ) {
     parent::__construct( );
@@ -63,7 +63,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
    * @param object $contribution contribution object
@@ -127,7 +127,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
    * @param array $ids financial item ids
@@ -164,7 +164,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
    *
@@ -180,7 +180,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
    * @param bool $maxId to retrive max id
@@ -216,7 +216,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 9b99f007ec56f14aefd0d4c59da9fdf3feba6feb..eb4685bb49c9a0fd743101eb86038a60cd47c7d7 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
    */
   function __construct( ) {
     parent::__construct( );
@@ -69,7 +69,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -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
    * @param array $ids    reference array contains the id
@@ -114,7 +114,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
   }
 
   /**
-   * delete financial Types
+   * Delete financial Types
    *
    * @param int $financialTypeId
    *
@@ -161,7 +161,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
   }
 
   /**
-   * to fetch financial type having relationship as Income Account is
+   * To fetch financial type having relationship as Income Account is
    *
    *
    * @return array  all financial type with income account is relationship
index 2bb670fcecbbf496022c14e8d3f829cb4a473fe8..6538e520d1ac7d3f17d5ddbae16d1bc9f2c49a7a 100644 (file)
 class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFinancialAccount {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct( ) {
     parent::__construct( );
   }
 
   /**
-   * financial account
+   * Financial account
    * @var array
    * @static
    */
@@ -73,7 +73,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
    * @param array $ids    reference array contains the id
@@ -102,7 +102,7 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin
   }
 
   /**
-   * delete financial Types
+   * Delete financial Types
    *
    * @param int $financialTypeAccountId
    * @param int $accountId
@@ -158,7 +158,7 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin
   }
 
   /**
-   * get Financial Account Name
+   * Get Financial Account Name
    *
    * @param int $entityId
    *
@@ -186,7 +186,7 @@ AND entity_id = %2";
   }
 
   /**
-   * Function to financial Account for payment instrument
+   * Financial Account for payment instrument
    *
    * @param int $paymentInstrumentValue payment instrument value
    *
@@ -218,7 +218,7 @@ WHERE cog.name = 'payment_instrument' ";
   }
 
   /**
-   * Function to create default entity financial accounts
+   * Create default entity financial accounts
    * for financial type
    * CRM-12470
    *
index 017c373ac4d81a53791570db1f211e1f09cff6a9..6032409d5ef9edb48b9b13c614342583754bdf67 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProcessor
 {
   /**
-   * static holder for the default payment processor
+   * Static holder for the default payment processor
    */
   static $_defaultPaymentProcessor = NULL;
 
@@ -85,7 +85,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -114,7 +114,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -129,7 +129,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * retrieve the default payment processor
+   * Retrieve the default payment processor
    *
    * @param NULL
    *
@@ -176,7 +176,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
    * @param  string $mode               payment mode ie test or live
@@ -235,7 +235,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * compare 2 payment processors to see which should go first based on is_default
+   * Compare 2 payment processors to see which should go first based on is_default
    * (sort function for sortDefaultFirst)
    * @param array $processor1
    * @param array_type $processor2
@@ -251,7 +251,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
    * @param  string $mode payment mode ie test or live
@@ -279,7 +279,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * get all payment processors as an array of objects.
+   * Get all payment processors as an array of objects.
    *
    * @param $isExcludeTest
    * @param bool $reset
@@ -313,7 +313,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * get Payment processors with specified capabilities.
+   * Get Payment processors with specified capabilities.
    * Note that both the singleton & the pseudoconstant function have caching so we don't add
    * arguably this could go on the pseudoconstant class
    *
@@ -359,9 +359,9 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   }
 
   /**
-   * retrieve payment processor id / info/ object based on component-id.
+   * Retrieve payment processor id / info/ object based on component-id.
    *
-   * @param $entityID
+   * @param int $entityID
    * @param string $component component
    * @param string $type type of payment information to be retrieved
    *
index 52d371e7ecb814eef1e516ac3e19a73f867efbf0..bda9cd5521ce0e04e0359fbeae3b1c4d7330750c 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
    */
   function __construct() {
     parent::__construct();
@@ -67,7 +67,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
    * @param boolean  $is_active value we want to set the is_active field
@@ -82,7 +82,7 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
   }
 
   /**
-   * retrieve the default payment processor
+   * Retrieve the default payment processor
    *
    * @param NULL
    *
@@ -101,7 +101,7 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
   }
 
   /**
-   * add the payment-processor type in the db
+   * Add the payment-processor type in the db
    *
    * @param array $params (reference ) an assoc array of name/value pairs
    *
@@ -170,7 +170,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 e40815db29493aec2707ddd5ff3732a51129cd30..e185156184a0161754005033c9cc86f98b7ed81a 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Financial_Form_Export extends CRM_Core_Form {
   protected $_exportFormat;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
    * @access public
@@ -153,7 +153,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
    *
    * @access public
    * @return void
index 628bee7ae5f0a31bb6c182770eff948fc47de05f..b72daebf3d622586fb75217e652214c95a2fdbce 100644 (file)
@@ -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
    * @access public
@@ -128,7 +128,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param $values
    * @param $files
index f153c5fdcfb39e85e115f259ce6bad25ea79a14b..66ec7ce3bf5d25b70af89dc37d721abbc55b03f7 100644 (file)
@@ -48,7 +48,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
    * @access public
@@ -173,7 +173,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
@@ -291,13 +291,13 @@ 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
-   * @param $createdID
-   * @param $userContactID
-   * @param $actionName
+   * @param int $createdID
+   * @param int $userContactID
+   * @param string $actionName
    *
    * @return array list of errors to be posted back to the form
    * @static
index ef0545b45e2352cf540848f39acebe4a404401c6..5d89b9a2e439d65f94493d5c0afa2b6d77a743c4 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
    * @access protected
@@ -70,7 +70,7 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
   protected $_isARFlag = FALSE;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -232,7 +232,7 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
   }
 
   /**
-   * global validation rules for the form
+   * Global validation rules for the form
    *
    * @param $values
    * @param $files
index 26cfe7195a032abb5fce8bc9af27c4a4c8519d17..39851a92ebd199732e7b93277b523f3ecb21317d 100644 (file)
@@ -92,7 +92,7 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * browse all entities.
+   * Browse all entities.
    *
    * @return void
    * @access public
index 000afe8cefb78a73fd82b8165bed5616165006a5..9f6d441b2dc5196a3c946c9fa8741393e1d4b6cb 100644 (file)
@@ -197,7 +197,7 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
   }
 
   /**
-   * edit CiviCRM Financial Type Account data.
+   * Edit CiviCRM Financial Type Account data.
    *
    * editing would involved modifying existing financial Account Type + adding data
    * to new financial Account Type.
index 058ae754b7e1f50b42ea07bd5feb5d1ebbda1236..8acbf425fe0496db3c1aa82ef10787d468cb3184 100644 (file)
@@ -46,7 +46,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
@@ -87,7 +87,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
    *
@@ -333,7 +333,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 22d6b6947ffce88b49fd34793aa91ac300c7dc3f..ed2b59f257c9c2780ac1e6859ad592cf85f9197f 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   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
@@ -53,7 +53,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   protected $_entityId;
 
   /**
-   * the table name of the entity that we are proceessing
+   * The table name of the entity that we are proceessing
    *
    * @var string
    * @protected
@@ -63,7 +63,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   protected $_campaignId;
 
   /**
-   * the contact ID
+   * The contact ID
    *
    * @var int
    * @protected
@@ -229,7 +229,7 @@ class CRM_Friend_Form extends CRM_Core_Form {
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $fields
    *
index 2257127b120948da3ca95b769edbdc89ea2ba2ef..cf47fad5789d110b62ce3c87a5b79750d0503ad9 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
    */
index 1ec298b99561d252f46e339e7e09ddbbc75311c8..d7da13322fbe23a844d8400cd953737911885ff8 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
    */
index 17e5362bf56088e1d3f8fa637f1fb975999cf167..937a70435548872a5ce445d43487eb133890aa37 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
    */
   static $_exportableFields = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * get events Summary
+   * Get events Summary
    *
    * @static
    *
@@ -89,7 +89,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * get events Summary
+   * Get events Summary
    *
    * @static
    *
@@ -111,7 +111,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * retrieve statistics for grants.
+   * Retrieve statistics for grants.
    *
    * @static
    *
@@ -144,7 +144,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * function to add grant
+   * Add grant
    *
    * @param array $params reference array contains the values submitted by the form
    * @param array $ids    reference array contains the id
@@ -245,7 +245,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * function to create the event
+   * Create the event
    *
    * @param array $params reference array contains the values submitted by the form
    * @param array $ids reference array contains the id
@@ -308,7 +308,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Function to delete the Contact
+   * Delete the Contact
    *
    * @param int $id contact id
    *
@@ -325,7 +325,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Function to delete the grant
+   * Delete the grant
    *
    * @param int $id grant id
    *
@@ -358,7 +358,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
    * @access public
@@ -413,7 +413,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   }
 
   /**
-   * Function to get grant record count for a Contact
+   * Get grant record count for a Contact
    *
    * @param int $contactID
    *
index 9c960b2ed17dc612f2cdc7a43e2163bc4bc9314d..59e49649bbba36854b44b8483eb157f931bdc461 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * build select for CiviGrant
+   * Build select for CiviGrant
    *
    * @param $query
    *
@@ -277,7 +277,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -314,7 +314,7 @@ class CRM_Grant_BAO_Query {
   }
 
   /**
-   * getter for the qill object
+   * Getter for the qill object
    *
    * @return string
    * @access public
@@ -353,7 +353,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
    *
    * @access public
    *
@@ -425,7 +425,7 @@ class CRM_Grant_BAO_Query {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 
index df428e3db7c18552a8401a4edde9f47e45fd520e..676959b3261bfed62462a12e45ce18064cd2fc83 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Grant_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index a32dbadfe5c5b8ca1214710a158e9af0706ccb83..9ef1e291bb521bbf5fa4981938ee979e2c11e9a3 100644 (file)
@@ -40,7 +40,7 @@
 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
@@ -48,7 +48,7 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * the id of the contact associated with this contribution
+   * The id of the contact associated with this contribution
    *
    * @var int
    * @protected
@@ -58,7 +58,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
    * @access public
index 83264294d13d7dea62c2a4c1f42604b6859a7325..5e2299950b642001ed7853542a9c7f066e42df31 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
    * @access public
index 916d558171d88761587f55e10a9862a311947755..b3c45e63c044f600d518639a5ba35a3f5767e813 100644 (file)
@@ -43,7 +43,7 @@
 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
    * @access protected
@@ -51,7 +51,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -59,7 +59,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -67,7 +67,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
   protected $_limit = NULL;
 
   /**
-   * prefix for the controller
+   * Prefix for the controller
    *
    */
   protected $_prefix = "grant_";
@@ -75,7 +75,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
index 9d05b50835222b352f006b6763b5850309490a4c..ade61be9fa00c79ffd83f3ddf138e121fcf98dd5 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Grant_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -68,7 +68,7 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
   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 title of the main button
index d3a4ad78d5f5b9fcdcabe42c791d2e4b96f3619e..a80f499100b59321f2834b352a5a18adf30ab91e 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
    * @access public
@@ -74,7 +74,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
    *
    * @access public
    *
index 75783e00db078dd11a634cb1ca19d55860666d33..a217d8615b6070ab5c481a3e7a969ef43f221bc8 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
    * @access public
@@ -95,7 +95,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
    *
    * @access public
    *
index b9b331e6f33d73ec35e3117ebf1a0e9f67088d31..032ad7849e6838bb472a7d985b86ed9c6ba06f16 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
    * @access public
index 556fd2da3ecbc21ca1062d1591e397afbfbc2112..e17e4634c818d891ddbddf5fe5ebbabf023c1c19 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
    * @access public
index 1bc0ccaa6daffd4d0ce895853b1ea5cc20579959..be86de27cffc2fe6f72708016c873e1f4776b5f7 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
    * @access public
@@ -78,7 +78,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
    *
    * @access public
    *
index 0094dcdc170eedd5e7eb13df39049138e090d3b7..55d1e80e010aa84c155b127d619a1b4265c528b5 100644 (file)
@@ -101,7 +101,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
    * @access public
index 9b9e678e16a5625093cd36e400a79a5eaf3de95c..9bb64c984bae829011b3bcd6351014ac070c5fd8 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -80,7 +80,7 @@ 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
    *
    * @access protected
    * @var boolean
@@ -88,7 +88,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -96,7 +96,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -104,7 +104,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   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
@@ -113,7 +113,7 @@ 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
    * @access protected
@@ -222,7 +222,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -261,7 +261,7 @@ class CRM_Grant_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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -341,7 +341,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -413,7 +413,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index 689aec8852fc4caaf7a59658acc357b1e5f27b11..66a32e9a8bd7649a19b1df866e1cc66403a35620 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -93,7 +93,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
    * @access public
index d5012f2a987695d9620d19e69a790479d6b1b75b..75da7937626dd72c10c6cf3c83719a783609084b 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Grant_Task {
   CONST DELETE_GRANTS = 1, PRINT_GRANTS = 2, EXPORT_GRANTS = 3, UPDATE_GRANTS = 4;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -50,7 +50,7 @@ class CRM_Grant_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -117,7 +117,7 @@ class CRM_Grant_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index a62c48b4228c5524b4fbdb771e18cfd5faeb894f..6a1ede88100c5903a7ab1600e673d00b1359f2ef 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Group_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index 43a80699472391ff9c9de8b2f44b15073f842be1..14dbd84bddfe62ab7a202970197c6dd4bc4ea1f3 100644 (file)
 class CRM_Group_Form_Edit extends CRM_Core_Form {
 
   /**
-   * the group id, used when editing a group
+   * The group id, used when editing a group
    *
    * @var int
    */
   protected $_id;
 
   /**
-   * the group object, if an id is present
+   * The group object, if an id is present
    *
    * @var object
    */
@@ -67,21 +67,21 @@ class CRM_Group_Form_Edit extends CRM_Core_Form {
   protected $_groupValues;
 
   /**
-   * what blocks should we show and hide.
+   * What blocks should we show and hide.
    *
    * @var CRM_Core_ShowHideBlocks
    */
   protected $_showHide;
 
   /**
-   * the civicrm_group_organization table id
+   * The civicrm_group_organization table id
    *
    * @var int
    */
   protected $_groupOrganizationID;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @return void
    * @acess protected
@@ -308,10 +308,10 @@ 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
-   * @param $fileParams
+   * @param array $fileParams
    * @param $options
    *
    * @return array list of errors to be posted back to the form
index dd491577ab811fdce647e5a4f37822f48584ae8c..ed37d36c66f9f79fc42af8551822d0c9d1882199 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * define action links
+   * Define action links
    *
    * @return array self::$_links array of action links
    * @access public
@@ -51,7 +51,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   function &links() {}
 
   /**
-   * return class name of edit form
+   * Return class name of edit form
    *
    * @return string
    * @access public
@@ -61,7 +61,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * return name of edit form
+   * Return name of edit form
    *
    * @return string
    * @access public
@@ -71,7 +71,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * return name of delete form
+   * Return name of delete form
    *
    * @return string
    * @access public
@@ -81,7 +81,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
    *
@@ -93,7 +93,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   /**
-   * return user context uri params
+   * Return user context uri params
    *
    * @param null $mode
    *
@@ -105,7 +105,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
    * @param int $title name or title of the object
index 12db034fe027ea7fcccc2992001ddaf7582defd5..d32b159107a845070c3f49b33cd5f87a37b588cf 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Group_StateMachine extends CRM_Core_StateMachine {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
@@ -51,7 +51,7 @@ class CRM_Group_StateMachine extends CRM_Core_StateMachine {
   }
 
   /**
-   * return the form name of the task. This is
+   * Return the form name of the task. This is
    *
    * @return string
    * @access public
index 2722a1130768839e54e1afea784a07ee8d53b00a..2dfc0ae7548bbf7e181e06b77c1c9b263b16c83e 100644 (file)
@@ -50,7 +50,7 @@ abstract class CRM_Import_DataSource {
   abstract public function getInfo();
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @access public
    */
index 0670fc8b672c0586b53934f389d73891bc961a27..12026b7f43696222178427bba254b8d75b9ee775 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
   }
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @access public
    */
index 1f179171891982960ddf0b5e677ef99e92bfa40f..43d47c138f49083257e24c8e9fc3f36f763166bb 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource {
   }
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @access public
    */
index ec2291ae58b9e1f85053f6cb8fb1f0f854d082fe..c3bdecf297fa6091ef153a153322489bd7c1d4d3 100644 (file)
@@ -40,7 +40,7 @@
 abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
 
   /**
-   * cache of preview data values
+   * Cache of preview data values
    *
    * @var array
    * @access protected
@@ -48,7 +48,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   protected $_dataValues;
 
   /**
-   * mapper fields
+   * Mapper fields
    *
    * @var array
    * @access protected
@@ -56,7 +56,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   protected $_mapperFields;
 
   /**
-   * loaded mapping ID
+   * Loaded mapping ID
    *
    * @var int
    * @access protected
@@ -64,7 +64,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   protected $_loadedMappingId;
 
   /**
-   * number of columns in import file
+   * Number of columns in import file
    *
    * @var int
    * @access protected
@@ -72,7 +72,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   protected $_columnCount;
 
   /**
-   * column headers, if we have them
+   * Column headers, if we have them
    *
    * @var array
    * @access protected
@@ -80,7 +80,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form {
   protected $_columnHeaders;
 
   /**
-   * an array of booleans to keep track of whether a field has been used in
+   * An array of booleans to keep track of whether a field has been used in
    * form building already.
    *
    * @var array
index 3115239ed4dcddb779b576483c83be44d1a5fc8b..d506c725b7a0288e5cf6d66e62ef333cf57e3a17 100644 (file)
@@ -62,81 +62,81 @@ abstract class CRM_Import_Parser {
 
 
   /**
-   * total number of non empty lines
+   * Total number of non empty lines
    */
   protected $_totalCount;
 
   /**
-   * running total number of valid lines
+   * Running total number of valid lines
    */
   protected $_validCount;
 
   /**
-   * running total number of invalid rows
+   * Running total number of invalid rows
    */
   protected $_invalidRowCount;
 
   /**
-   * maximum number of non-empty/comment lines to process
+   * Maximum number of non-empty/comment lines to process
    *
    * @var int
    */
   protected $_maxLinesToProcess;
 
   /**
-   * maximum number of invalid rows to store
+   * Maximum number of invalid rows to store
    */
   protected $_maxErrorCount;
 
   /**
-   * array of error lines, bounded by MAX_ERROR
+   * Array of error lines, bounded by MAX_ERROR
    */
   protected $_errors;
 
   /**
-   * total number of conflict lines
+   * Total number of conflict lines
    */
   protected $_conflictCount;
 
   /**
-   * array of conflict lines
+   * Array of conflict lines
    */
   protected $_conflicts;
 
   /**
-   * total number of duplicate (from database) lines
+   * Total number of duplicate (from database) lines
    */
   protected $_duplicateCount;
 
   /**
-   * array of duplicate lines
+   * Array of duplicate lines
    */
   protected $_duplicates;
 
   /**
-   * running total number of warnings
+   * Running total number of warnings
    */
   protected $_warningCount;
 
   /**
-   * maximum number of warnings to store
+   * Maximum number of warnings to store
    */
   protected $_maxWarningCount = self::MAX_WARNINGS;
 
   /**
-   * array of warning lines, bounded by MAX_WARNING
+   * Array of warning lines, bounded by MAX_WARNING
    */
   protected $_warnings;
 
   /**
-   * array of all the fields that could potentially be part
+   * Array of all the fields that could potentially be part
    * of this import process
    * @var array
    */
   protected $_fields;
 
   /**
-   * array of the fields that are actually part of the import process
+   * Array of the fields that are actually part of the import process
    * the position in the array also dictates their position in the import
    * file
    * @var array
@@ -144,42 +144,42 @@ abstract class CRM_Import_Parser {
   protected $_activeFields;
 
   /**
-   * cache the count of active fields
+   * Cache the count of active fields
    *
    * @var int
    */
   protected $_activeFieldCount;
 
   /**
-   * cache of preview rows
+   * Cache of preview rows
    *
    * @var array
    */
   protected $_rows;
 
   /**
-   * filename of error data
+   * Filename of error data
    *
    * @var string
    */
   protected $_errorFileName;
 
   /**
-   * filename of conflict data
+   * Filename of conflict data
    *
    * @var string
    */
   protected $_conflictFileName;
 
   /**
-   * filename of duplicate data
+   * Filename of duplicate data
    *
    * @var string
    */
   protected $_duplicateFileName;
 
   /**
-   * contact type
+   * Contact type
    *
    * @var int
    */
@@ -353,7 +353,7 @@ abstract class CRM_Import_Parser {
   }
 
   /**
-   * setter function
+   * Setter function
    *
    * @param int $max
    *
index ced2440823e5479976a5cd9454b1e3be23dd84f4..75ba4388255471adbe1c4558be29bead71f6d816 100644 (file)
@@ -39,7 +39,7 @@ class CRM_Logging_Differ {
   private $interval;
 
   /**
-   * @param $log_conn_id
+   * @param int $log_conn_id
    * @param $log_date
    * @param string $interval
    */
@@ -69,7 +69,7 @@ class CRM_Logging_Differ {
 
   /**
    * @param $table
-   * @param null $contactID
+   * @param int $contactID
    *
    * @return array
    */
@@ -152,7 +152,7 @@ WHERE lt.log_conn_id = %1 AND
 
   /**
    * @param $table
-   * @param $id
+   * @param int $id
    *
    * @return array
    */
index 0e1a38125432b3560b019ffdd9b4063d204ece41..e29071a9e148b8ccec1bc000db1652d2a6dd83ef 100644 (file)
@@ -355,7 +355,7 @@ ORDER BY log_civicrm_entity_log_date DESC {$this->_limit}";
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $entity
    * @param $logDate
    *
@@ -402,8 +402,8 @@ WHERE  log_date <= %1 AND id = %2 ORDER BY log_date DESC LIMIT 1";
   }
 
   /**
-   * @param $id
-   * @param $connId
+   * @param int $id
+   * @param int $connId
    * @param $entity
    * @param $oldAction
    *
index 409dabcbb4867a65b75de93d6a79f8aace53d24d..ed62765d6d8b7846935ca23d13c64e4b5e044da9 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Logging_Reverter {
   private $log_date;
 
   /**
-   * @param $log_conn_id
+   * @param int $log_conn_id
    * @param $log_date
    */
   function __construct($log_conn_id, $log_date) {
index cdf64941afe8ca38a78af5e72e44dcc339c2ddfe..462d948dd2f11b1c224bb938c87c7635d8598bcc 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Mailing_BAO_BouncePattern extends CRM_Mailing_DAO_BouncePattern {
   static $_patterns = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index ca4f1019e86dd220b54c9a9e66ce74b5b74d9104..88c869cb22ed938ec6c96bda9b5aac1a40625bb8 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
index 8fb997358a46d114dff544a77691061e46d0a272..f381ac3d07b575182aaf98c4aeebbd34a61d4e06 100644 (file)
@@ -89,15 +89,15 @@ class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing {
   private $_domain = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * @param $job_id
-   * @param null $mailing_id
+   * @param int $job_id
+   * @param int $mailing_id
    * @param null $mode
    *
    * @return int
@@ -112,8 +112,8 @@ class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing {
   // note that $job_id is used only as a variable in the temp table construction
   // and does not play a role in the queries generated
   /**
-   * @param $job_id
-   * @param null $mailing_id
+   * @param int $job_id
+   * @param int $mailing_id
    * @param null $offset
    * @param null $limit
    * @param bool $storeRecipients
@@ -1021,7 +1021,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
    * @param int $event_queue_id ID of the EventQueue
@@ -1043,7 +1043,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * get verp, urls and headers
+   * Get verp, urls and headers
    *
    * @param int $job_id ID of the Job associated with this message
    * @param int $event_queue_id ID of the EventQueue
@@ -1505,7 +1505,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
    * @param array $ids    reference array contains the id
@@ -1705,7 +1705,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * get hash value of the mailing
+   * Get hash value of the mailing
    *
    */
   public static function getMailingHash($id) {
@@ -2214,7 +2214,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * @param $id
+   * @param int $id
    *
    * @throws Exception
    */
@@ -2256,7 +2256,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
   }
 
   /**
-   * returns all the mailings that this user can access. This is dependent on
+   * Returns all the mailings that this user can access. This is dependent on
    * all the groups that the user has access to.
    * However since most civi installs dont use ACL's we special case the condition
    * where the user has access to ALL groups, and hence ALL mailings and return a
@@ -2311,7 +2311,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
    * @param string $sort The sql string that describes the sort order
    *
    * @param null $additionalClause
-   * @param null $additionalParams
+   * @param array $additionalParams
    *
    * @return array            The rows
    * @access public
@@ -2398,7 +2398,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * show detail Mailing report
+   * Show detail Mailing report
    *
    * @param int $id
    *
@@ -2496,7 +2496,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
    *
@@ -2589,7 +2589,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   }
 
   /**
-   * Function to build the  compose PDF letter form
+   * Build the  compose PDF letter form
    *
    * @param CRM_Core_Form $form
    *
@@ -2729,7 +2729,7 @@ SELECT  $mailing.id as mailing_id
   }
 
   /**
-   * @param $jobID
+   * @param int $jobID
    *
    * @return mixed
    */
@@ -2807,7 +2807,7 @@ WHERE  civicrm_mailing_job.id = %1
   }
 
   /**
-   * @param $mailingID
+   * @param int $mailingID
    */
   private static function addMultipleEmails($mailingID) {
     $sql = "
@@ -2857,7 +2857,7 @@ ORDER BY civicrm_mailing.name";
   }
 
   /**
-   * @param $mid
+   * @param int $mid
    *
    * @return null|string
    */
@@ -2962,7 +2962,7 @@ AND        m.id = %1
   }
 
   /**
-   * Function to retrieve contact mailing
+   * Retrieve contact mailing
    *
    * @param array $params associated array
    *
@@ -2982,7 +2982,7 @@ AND        m.id = %1
   }
 
   /**
-   * Function to retrieve contact mailing count
+   * Retrieve contact mailing count
    *
    * @param array $params associated array
    *
index 8d0410783029e595ea2009754d8cd5c2705ea388..e7b6865e4666fe9f1da3a312c2dd8672f98d1db0 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob {
   CONST MAX_CONTACTS_TO_PROCESS = 1000;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -68,7 +68,7 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob {
   /**
    * Initiate all pending/ready jobs
    *
-   * @param null $testParams
+   * @param array $testParams
    * @param null $mode
    *
    * @return void
@@ -421,7 +421,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7)
   }
 
   /**
-   * @param null $testParams
+   * @param array $testParams
    */
   public function queue($testParams = NULL) {
     $mailing = new CRM_Mailing_BAO_Mailing();
@@ -473,7 +473,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7)
    *
    * @param object $mailer A Mail object to send the messages
    *
-   * @param null $testParams
+   * @param array $testParams
    *
    * @return void
    * @access public
@@ -800,7 +800,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
    * @static
@@ -893,8 +893,8 @@ AND    status IN ( 'Scheduled', 'Running', 'Paused' )
   }
 
   /**
-   * @param $deliveredParams
-   * @param $targetParams
+   * @param array $deliveredParams
+   * @param array $targetParams
    * @param $mailing
    * @param $job_date
    *
index ab966d346b1785129b6087d8ca7c267542a12dcc..dcea6d6050beabdbc3eb4f63e7f43d4ebbfe0bd6 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Mailing_BAO_Query {
   }
 
   /**
-   * if mailings are involved, add the specific Mailing fields
+   * If mailings are involved, add the specific Mailing fields
    *
    * @param $query
    *
@@ -145,7 +145,7 @@ class CRM_Mailing_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -375,11 +375,11 @@ 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
    *
    * @access public
    *
-   * @param $form CRM_Core_Form
+   * @param CRM_Core_Form $form
    * @return void
    * @static
    */
@@ -427,7 +427,7 @@ class CRM_Mailing_BAO_Query {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 
@@ -442,8 +442,8 @@ class CRM_Mailing_BAO_Query {
    *
    * @param $query
    * @param $values
-   * @param $tableName
-   * @param $fieldName
+   * @param string $tableName
+   * @param string $fieldName
    * @param $fieldTitle
    *
    * @param $valueTitles
index 841b71852e8bd15ac9edf07dd520865ff149fc26..b46f384101cd3c4b22f0ee401e2e1fe46d4faf76 100644 (file)
 class CRM_Mailing_BAO_Recipients extends CRM_Mailing_DAO_Recipients {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * @param $mailingID
+   * @param int $mailingID
    *
    * @return null|string
    */
@@ -57,7 +57,7 @@ WHERE  mailing_id = %1
   }
 
   /**
-   * @param $mailingID
+   * @param int $mailingID
    * @param null $offset
    * @param null $limit
    *
index 2d45073702b16b6b9ac77436e7439cabf2a54722..a9aed38f9ba1cae64f2f9a3be256f7dda5adc2fe 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -50,7 +50,7 @@ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool {
    * @param string $body The full text of the message body, including any
    *               Mime parts, etc.
    *
-   * @param null $job_id
+   * @param int $job_id
    *
    * @internal param mixed $recipients Either a comma-seperated list of recipients
    *              (RFC822 compliant), or an array of recipients,
index 0f74237440fcb13eba60ab8aeab2c4eb8a822264..f00780e1e83b88fc2de77c314798543f142eba98 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_BAO_TrackableURL extends CRM_Mailing_DAO_TrackableURL {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -106,8 +106,8 @@ class CRM_Mailing_BAO_TrackableURL extends CRM_Mailing_DAO_TrackableURL {
 
   /**
    * @param $msg
-   * @param $mailing_id
-   * @param $queue_id
+   * @param int $mailing_id
+   * @param int $queue_id
    * @param bool $onlyHrefs
    */
   public static function scan_and_replace(&$msg, $mailing_id, $queue_id, $onlyHrefs = FALSE) {
index 9ccf52cc086eeade48da111b50555fcaba6d83c7..7dbf98c88ecea18d0e17a4b15e6c2d7130214293 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Controller_Send extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal, NULL, FALSE, TRUE);
index c6f38080afef28c9e5c7687f9cf95fde15af5db0..50b5b12781d87648ecb6b565b3ba39c307ed46a6 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index f29ec3c2b797f6b5523bbd7c834f63f24f89b176..f786cbd452c3212adeb09b257106f1bd9aca0ade 100644 (file)
@@ -41,7 +41,7 @@ require_once 'Mail/mime.php';
 class CRM_Mailing_Event_BAO_Confirm extends CRM_Mailing_Event_DAO_Confirm {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index 2bfac17ebaee96dd19996cdea559aad7ec0a4e92..f695a94844718e75e54fa03dcdb4016eb5092436 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index d9a5686649f36ceb5d879166054cd4d88c7f84c6..44dfc3f10e5c96f364401ba604abf9e65b4b273a 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index 97ea5004b3e832406085e2e6c194feb48d5701cc..6e356448cdbbd47a69cdb40c77d0dd31d4bdaa39 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -210,7 +210,7 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
    * @param int $rowCount Number of rows
    * @param array $sort sort array
    *
-   * @param null $contact_id
+   * @param int $contact_id
    *
    * @return array                Result set
    * @access public
index 7e9f98f0b5a964c2ece3b32525ba7db973e28dc5..b565ee3eeb06f5a57fbf5eb73d603ed8964e9509 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -270,7 +270,7 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
   }
 
   /**
-   * @param $queueID
+   * @param int $queueID
    *
    * @return array
    */
index cac6deb61a7f8d7fdb8ef3e21b9b50ab99c834e6..ef3c4aa5d7e1a18f697da332e267e008c27c7ca6 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
    */
   function __construct() {
     parent::__construct();
index ff95059a92158e99a5de1a7ff04dde4e5382b780..09ef2ffe627c5797135837df4608f60fbd74c957 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
    */
   function __construct() {
     parent::__construct();
@@ -359,7 +359,7 @@ SELECT     civicrm_email.id as email_id
   }
 
   /**
-   * send subscribe mail
+   * Send subscribe mail
    *
    * @param  array  $groups the list of group ids for subscribe
    * @param  array  $params the list of email
index 774defeb8ac9f25718cd11e88a8608c21c29cb79..93b06573ebbfdb753ed128f56af9cad3360096a1 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_TrackableURLOpen {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
index 75724efbc2871432e988f8025d3693ac3c83f58e..e6ca19d5a7746bf06f03c91bb4b807bdeb672bb2 100644 (file)
@@ -41,7 +41,7 @@ require_once 'Mail/mime.php';
 class CRM_Mailing_Event_BAO_Unsubscribe extends CRM_Mailing_Event_DAO_Unsubscribe {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -567,7 +567,7 @@ WHERE  email = %2
   }
 
   /**
-   * @param $queueID
+   * @param int $queueID
    *
    * @return array
    */
index c47560999b82a3a5adb037961a73c7eaccc3f376..cd0fe402ddf2a3d4b50d1ef4ba33d0c1c089128b 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
    * @access public
index 2ed18fe41536647350ee9edf1c2d4661e92daf6c..653950d18d6ca4fc82cb097e2be68d1317fa76ae 100644 (file)
@@ -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 415c73f19f175553cfb7694fdf72961975060004..de4749df23d9b8a50626697ebbeec383bae78fec 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
    * @access public
@@ -541,7 +541,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 e70dca722ecb9889db520c90ef71801105fd9008..e814fef894eafd8f2ebba1a11d853fbb8835a058 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
    * @access public
index 82b5bd73bb1885b2c03ad35f1635ad7040379545..f9d5df16b38f902865d8d307f291ad8d6aeff03c 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
    * @access public
index f63ac9dcfef69f18a86d538d4af462202d535aa3..95c2385f33b2fe149a625b4fc66cfb61aaff149f 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Mailing_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -61,7 +61,7 @@ class CRM_Mailing_Form_Task extends CRM_Core_Form {
   protected $_componentIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -134,7 +134,7 @@ class CRM_Mailing_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 title of the main button
index 8a7ddfaaf2dd13fe50ec76baceea9e807cfccabe..4c9620afc566190a3a65c1288340a50c489b84d8 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
    * @access public
@@ -95,7 +95,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
    *
    * @access public
    *
index 944d6057fa08305dd3bc1e0f8527e4916b3c61f6..620d6b9c54b333012a5c0f8d93c0a644512e9474 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
    * @access public
index 8f03b9c0d44977a54e12e282df333412ac9856f4..017837db9166e3f310843ef54eade0b8e0f35a29 100644 (file)
@@ -501,7 +501,7 @@ class CRM_Mailing_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
index e4416dbeaea77852c153a45f002ecf257dff105e..64b20f2fb395da3e746f3408ed1d83a5720cef54 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Page_AJAX {
 
   /**
-   * fetch the template text/html messages
+   * Fetch the template text/html messages
    */
   public static function template() {
     $templateId = CRM_Utils_Type::escape($_POST['tid'], 'Integer');
@@ -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 0c6d2f908f7cae4f7b5277125762a79c8e72f1db..c80ca1e998e53af43c818064eb79677362ba46f4 100644 (file)
@@ -42,7 +42,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
    * @access protected
@@ -50,7 +50,7 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
   protected $_fields;
 
   /**
-   * the mailing id of the mailing we're operating on
+   * The mailing id of the mailing we're operating on
    *
    * @int
    * @access protected
@@ -58,7 +58,7 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
   protected $_mailingId;
 
   /**
-   * the action that we are performing (in CRM_Core_Action terms)
+   * The action that we are performing (in CRM_Core_Action terms)
    *
    * @int
    * @access protected
@@ -71,7 +71,7 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
   public $_archived;
 
   /**
-   * scheduled mailing
+   * Scheduled mailing
    *
    * @boolean
    * @access public
@@ -120,7 +120,7 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index dd5a4b3e564219cfae5cd5e7205155fb207bc032..746778e660143dfc9b638bb6685cb9aa662eca83 100644 (file)
@@ -42,7 +42,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
    * @access protected
@@ -50,7 +50,7 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page {
   protected $_fields;
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index c12ff6305bfc55827e3d565a0995213ba7382d01..3403c2a1c8f40ef50ed502fcf1991d896f2122b4 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Page_Preview extends CRM_Core_Page {
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index 3eea11ebd0c9dd1ad3696442857d96e4673d6fd4..30ff85c7360320a0949fc2a33d26b5831dfa7cf3 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Mailing_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
    * @access public
index 2a2813ecfc22a3d895db528191f0fc2a9b602611..bcedf988dd5299caeac933cc99849fd1ee2fd495 100644 (file)
@@ -71,10 +71,10 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
-   * @param null $id
-   * @param null $contactID
+   * @param int $id
+   * @param int $contactID
    * @param bool $print
    * @param bool $allowID
    *
index 5e92f7f63907b4f07524228c051905347c58f812..18502ccfdd92183494eba9582f2cf35731c01026 100644 (file)
 class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
 
   /**
-   * mailing templates
+   * Mailing templates
    * @var array
    * @static
    */
   private static $template;
 
   /**
-   * completed mailings
+   * Completed mailings
    * @var array
    * @static
    */
   private static $completed;
 
   /**
-   * mailing components
+   * Mailing components
    * @var array
    * @static
    */
   private static $component;
 
   /**
-   * default component id's, indexed by component type
+   * Default component id's, indexed by component type
    */
   private static $defaultComponent;
 
index a55777fd6d5cea2cb5fdf56dff15050aadd6ec40..3f40ff0e5a8c6282f032a28d06fc35720bf46d30 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_Core_Selector_API {
 
   /**
-   * array of supported links, currenly null
+   * Array of supported links, currenly null
    *
    * @var array
    * @static
@@ -47,7 +47,7 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -78,7 +78,7 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -94,7 +94,7 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -210,7 +210,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -415,7 +415,7 @@ LEFT JOIN  civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index f4f94b65d0e94976bb04b38d97187e6810debeea..fe09cbff07e53dd4427a0c45ee498dd0bcd5900a 100644 (file)
@@ -42,7 +42,7 @@
 class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_Core_Selector_API {
 
   /**
-   * array of supported links, currenly null
+   * Array of supported links, currenly null
    *
    * @var array
    * @static
@@ -50,32 +50,32 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   static $_links = NULL;
 
   /**
-   * what event type are we browsing?
+   * What event type are we browsing?
    */
   private $_event;
 
   /**
-   * should we only count distinct contacts?
+   * Should we only count distinct contacts?
    */
   private $_is_distinct;
 
   /**
-   * which mailing are we browsing events from?
+   * Which mailing are we browsing events from?
    */
   private $_mailing_id;
 
   /**
-   * do we want events tied to a specific job?
+   * Do we want events tied to a specific job?
    */
   private $_job_id;
 
   /**
-   * for click-through events, do we only want those from a specific url?
+   * For click-through events, do we only want those from a specific url?
    */
   private $_url_id;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    */
@@ -113,7 +113,7 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -129,7 +129,7 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -337,7 +337,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -417,7 +417,7 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index 5c3354e3f774e614422f0b62b7f94eec1c073d36..7ec2ff94d9fcd6bc6d7be2c19afc35caf80e76d3 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -76,7 +76,7 @@ class CRM_Mailing_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
    *
    * @access protected
    * @var boolean
@@ -84,7 +84,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -92,7 +92,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -100,7 +100,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   protected $_context = NULL;
 
   /**
-   * what component context are we being invoked from
+   * What component context are we being invoked from
    *
    * @access protected
    * @var string
@@ -108,7 +108,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   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
@@ -117,7 +117,7 @@ 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
    * @access protected
@@ -226,7 +226,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -265,7 +265,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -339,7 +339,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -403,7 +403,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index 84f42f2e760ef3aef5b9192b9e5163337e7bd315..ec1237a351517b12136428771cbfcaf11496af61 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 adf23d005d81046c9b3fbb75cd1668526528ee7d..d48267554ae6e71a6e0bb576e3b32c45a096a27d 100644 (file)
@@ -40,7 +40,7 @@
  */
 class CRM_Mailing_Task {
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -48,7 +48,7 @@ class CRM_Mailing_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -93,7 +93,7 @@ class CRM_Mailing_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index 4ec103ed98e330f3600e6decf3ea41e7d0bb2b5f..f6ed4adec83f8cb3b3fa9852077cf0e0b1be5c9c 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
    * @static
@@ -47,7 +47,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
   static $_signupActType = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Member_DAO_Membership
@@ -60,7 +60,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
@@ -222,7 +222,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
    * @param array $ids the array that holds all the db ids
@@ -430,7 +430,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
    * @param int $contactId contact id
@@ -571,7 +571,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * delete membership.
+   * Delete membership.
    * Wrapper for most delete calls. Use this unless you JUST want to delete related memberships w/o deleting the parent.
    *
    * @param int $membershipId membership id that needs to be deleted
@@ -588,7 +588,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * delete membership.
+   * Delete membership.
    *
    * @param int $membershipId membership id that needs to be deleted
    *
@@ -651,7 +651,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Function to delete related memberships
+   * Delete related memberships
    *
    * @param int $ownerMembershipId
    * @param int $contactId
@@ -681,7 +681,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Function to obtain active/inactive memberships from the list of memberships passed to it.
+   * Obtain active/inactive memberships from the list of memberships passed to it.
    *
    * @param array  $memberships membership records
    * @param string $status      active or inactive
@@ -712,7 +712,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Function to build Membership  Block in Contribution Pages
+   * Build Membership  Block in Contribution Pages
    *
    * @param CRM_Core_Form $form form object
    * @param int $pageID - unused?
@@ -911,7 +911,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Function to return Membership Block info in Contribution Pages
+   * Return Membership Block info in Contribution Pages
    *
    * @param int $pageID contribution page id
    *
@@ -949,7 +949,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Function to 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 contact id
@@ -1110,7 +1110,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * function to get all exportable fields
+   * Get all exportable fields
    *
    * @retun array return array of all exportable fields
    * @static
@@ -1133,7 +1133,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
   }
 
   /**
-   * Function to get membership joins/renewals for a specified membership
+   * Get membership joins/renewals for a specified membership
    * type.  Specifically, retrieves a count of memberships whose "Membership
    * Signup" or "Membership Renewal" activity falls in the given date range.
    * Dates match the pattern "yyyy-mm-dd".
@@ -1186,7 +1186,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Function to get a count of membership for a specified membership type,
+   * Get a count of membership for a specified membership type,
    * optionally for a specified date.  The date must have the form yyyy-mm-dd.
    *
    * If $date is omitted, this function counts as a member anyone whose
@@ -1251,7 +1251,7 @@ AND civicrm_membership.is_test = %2";
    * @param int $contactID contact id
    * @param CRM_Contribute_Form_Contribution_Confirm $form Confirmation form object
    *
-   * @param $premiumParams
+   * @param array $premiumParams
    * @param null $customFieldsFormatted
    * @param null $includeFieldTypes
    *
@@ -1264,7 +1264,7 @@ AND civicrm_membership.is_test = %2";
    *
    * @param $isProcessSeparateMembershipTransaction
    *
-   * @param $defaultContributionTypeID
+   * @param int $defaultContributionTypeID
    * @param array $membershipLineItems Line items specific to membership payment that is separate to contribution
    * @throws CRM_Core_Exception
    *
@@ -1610,7 +1610,7 @@ AND civicrm_membership.is_test = %2";
   }
 
   /**
-   * Function to get the contribution page id from the membership record
+   * Get the contribution page id from the membership record
    *
    * @param int membershipId membership id
    *
@@ -1633,7 +1633,7 @@ SELECT c.contribution_page_id as pageID
   }
 
   /**
-   * Function to updated related memberships
+   * Updated related memberships
    *
    * @param int   $ownerMembershipId owner Membership Id
    * @param array $params            formatted array of key => value..
@@ -1656,7 +1656,7 @@ SELECT c.contribution_page_id as pageID
   }
 
   /**
-   * Function to 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
    *
@@ -1682,7 +1682,7 @@ SELECT c.contribution_page_id as pageID
   }
 
   /**
-   * function to 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
    *
@@ -1703,7 +1703,7 @@ WHERE  civicrm_membership.contact_id = civicrm_contact.id
   }
 
   /**
-   * function to create memberships for related contacts
+   * Create memberships for related contacts
    * takes into account the maximum related memberships
    *
    * @param array $params array of key - value pairs
@@ -1895,7 +1895,7 @@ WHERE  civicrm_membership.contact_id = civicrm_contact.id
 
   /**
    * @param CRM_Core_Form $form
-   * @param null $membershipTypeID
+   * @param int $membershipTypeID
    *
    * @return array
    */
@@ -1947,7 +1947,7 @@ FROM   civicrm_membership_type
   }
 
   /**
-   * Function to get membership record count for a Contact
+   * Get membership record count for a Contact
    *
    * @param int $contactID
    * @param boolean $activeOnly
@@ -1971,7 +1971,7 @@ FROM   civicrm_membership_type
   }
 
   /**
-   * Function to check whether payment processor supports
+   * Check whether payment processor supports
    * cancellation of membership subscription
    *
    * @param int $mid membership id
@@ -2005,7 +2005,7 @@ FROM   civicrm_membership_type
   }
 
   /**
-   * Function to check whether subscription is already cancelled
+   * Check whether subscription is already cancelled
    *
    * @param int $mid membership id
    *
@@ -2029,7 +2029,7 @@ LEFT JOIN civicrm_membership mem ON ( cr.id = mem.contribution_recur_id )
   }
 
   /**
-   * Function to get membership joins for a specified membership
+   * Get membership joins for a specified membership
    * type.  Specifically, retrieves a count of still current memberships whose
    * join_date and start_date are within a specified date range.  Dates match
    * the pattern "yyyy-mm-dd".
@@ -2077,7 +2077,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Function to get membership renewals for a specified membership
+   * Get membership renewals for a specified membership
    * type.  Specifically, retrieves a count of still current memberships
    * whose join_date is before and start_date is within a specified date
    * range.  Dates match the pattern "yyyy-mm-dd".
@@ -2126,13 +2126,13 @@ 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
    *
-   * @param $contactID
+   * @param int $contactID
    * @param CRM_Contribute_Form_Contribution_Confirm $form
-   * @param $tempParams
+   * @param array $tempParams
    * @param $isTest
-   * @param $lineItems
+   * @param array $lineItems
    * @param $minimumFee
-   * @param $financialTypeID
+   * @param int $financialTypeID
    *
    * @throws CRM_Core_Exception
    * @throws Exception
@@ -2215,10 +2215,10 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * @param $membershipParams
-   * @param $contactID
+   * @param array $membershipParams
+   * @param int $contactID
    * @param $customFieldsFormatted
-   * @param $membershipID
+   * @param int $membershipID
    * @param $memType
    * @param $isTest
    * @param $numTerms
@@ -2322,13 +2322,13 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
 
   /**
    * @param integer $contactID
-   * @param $membershipTypeID
+   * @param int $membershipTypeID
    * @param bool $is_test
    * @param $changeToday
    * @param integer $modifiedID
    * @param $customFieldsFormatted
    * @param $numRenewTerms
-   * @param $membershipID
+   * @param int $membershipID
    * @param $pending
    * @param $allStatus
    * @param array $membershipTypeDetails
@@ -2572,11 +2572,11 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
   }
 
   /**
-   * Function to process price set and line items.
+   * Process price set and line items.
    *
    * @access public
    *
-   * @param $membershipId
+   * @param int $membershipId
    * @param $lineItem
    *
    * @return void
@@ -2602,7 +2602,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  membership id.
@@ -2790,7 +2790,7 @@ WHERE      civicrm_membership.is_test = 0";
    * The function returns the membershiptypes for a particular contact
    * who has lifetime membership without end date.
    *
-   * @param $contactID
+   * @param int $contactID
    * @param bool $isTest
    * @param bool $onlyLifeTime
    *
@@ -2828,7 +2828,7 @@ WHERE      civicrm_membership.is_test = 0";
   }
 
   /**
-   * Function to record contribution record associated with membership
+   * Record contribution record associated with membership
    *
    * @param array  $params array of submitted params
    * @param array  $ids (param in process of being removed - try to use params)   array of ids
@@ -2903,7 +2903,7 @@ WHERE      civicrm_membership.is_test = 0";
   }
 
   /**
-   * Function to record line items for default membership
+   * Record line items for default membership
    *
    * @param CRM_Core_Form $qf
    * @param array $membershipType array with membership type and organization
index 70a584a239037e1238ddffe083922c97db0de129..24eb65ce0b832ba4a386fb1c42a0ae6f76ac9d7c 100644 (file)
  */
 class CRM_Member_BAO_MembershipBlock extends CRM_Member_DAO_MembershipBlock {
   /**
-   * class constructor
+   * Class constructor
    */
   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 1ec59f9baa4441341029a7d8fde9c780715b8883..8d35da23c453fb52f6675503e8da3490419b65f5 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
    * @param array $ids    reference array contains the id
@@ -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
    *
@@ -71,7 +71,7 @@ class CRM_Member_BAO_MembershipLog extends CRM_Member_DAO_MembershipLog {
   }
 
   /**
-   * @param $contactID
+   * @param int $contactID
    */
   static function resetModifiedID($contactID) {
     $query = "
index 0f0766ca0e3c20e3afc2a820c65e8f2771eeb0dc..ec04cacc55bb6825b436d7c6faf76a9f81525f4a 100644 (file)
@@ -36,13 +36,13 @@ class CRM_Member_BAO_MembershipPayment extends CRM_Member_DAO_MembershipPayment
 
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
   /**
-   * add the membership Payments
+   * Add the membership Payments
    *
    * @param array $params reference array contains the values submitted by the form
    *
@@ -78,7 +78,7 @@ class CRM_Member_BAO_MembershipPayment extends CRM_Member_DAO_MembershipPayment
   }
 
   /**
-   * delete membership Payments
+   * Delete membership Payments
    *
    * @param int $id
    *
index 4c02bdcb63dfff36f23d0ad1a1b23c3f1d03b982..277483f47c5988d16e14ae72c119be649cc3687f 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
    */
   function __construct() {
     parent::__construct();
@@ -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
    * @param boolean  $is_active value we want to set the is_active field
@@ -107,7 +107,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
     return $membershipStatusBAO;
   }
   /**
-   * add the membership types
+   * Add the membership types
    *
    * @param array $params reference array contains the values submitted by the form
    * @param array $ids array contains the id - this param is deprecated
@@ -165,7 +165,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * get  membership status
+   * Get  membership status
    *
    * @param int $membershipStatusId
    *
@@ -183,7 +183,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * delete membership Types
+   * Delete membership Types
    *
    * @param int $membershipStatusId
    *
@@ -213,7 +213,7 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   }
 
   /**
-   * Function to find the membership status based on start date, end date, join date & status date.
+   * Find the membership status based on start date, end date, join date & status date.
    *
    * @param  string $startDate start date of the member whose membership status is to be calculated.
    * @param  string $endDate end date of the member whose membership status is to be calculated.
index e3c492cb9b289d531004b19db20835c5e6dd67d0..688369b213962a5b2007a0b9deccaaae25177044 100644 (file)
 class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
 
   /**
-   * static holder for the default LT
+   * Static holder for the default LT
    */
   static $_defaultMembershipType = NULL;
 
   static $_membershipTypeInfo = array();
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -69,7 +69,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * update the is_active flag in the db
+   * Update the is_active flag in the db
    *
    * @param int      $id        id of the database record
    * @param boolean  $is_active value we want to set the is_active field
@@ -82,7 +82,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * add the membership types
+   * Add the membership types
    *
    * @param array $params reference array contains the values submitted by the form
    * @param array $ids array contains the id (deprecated)
@@ -131,7 +131,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * delete membership Types
+   * Delete membership Types
    *
    * @param int $membershipTypeId
    *
@@ -188,7 +188,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * convert membership Type's 'start day' & 'rollover day' to human readable formats.
+   * Convert membership Type's 'start day' & 'rollover day' to human readable formats.
    *
    * @param array $membershipType an array of membershipType-details.
    * @static
@@ -229,7 +229,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Function to get membership Types
+   * Get membership Types
    *
    * @param bool $public
    *
@@ -253,7 +253,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Function to get membership Type Details
+   * Get membership Type Details
    *
    * @param int $membershipTypeId
    *
@@ -277,7 +277,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Function to calculate start date and end date for new membership
+   * Calculate start date and end date for new membership
    *
    * @param int $membershipTypeId membership type id
    * @param date $joinDate member since ( in mysql date format )
@@ -454,7 +454,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Function to calculate start date and end date for renewal membership
+   * Calculate start date and end date for renewal membership
    *
    * @param int $membershipId
    * @param $changeToday
@@ -563,7 +563,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Function to retrieve all Membership Types associated
+   * Retrieve all Membership Types associated
    * with an Organization
    *
    * @param int $orgID  Id of Organization
@@ -584,7 +584,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   }
 
   /**
-   * Function to retrieve all Membership Types with Member of Contact id
+   * Retrieve all Membership Types with Member of Contact id
    *
    * @param array membership types
    *
@@ -658,8 +658,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
 
   /**
    * @param array $params
-   * @param $previousID
-   * @param $membershipTypeId
+   * @param int $previousID
+   * @param int $membershipTypeId
    */
   public static function createMembershipPriceField($params, $previousID, $membershipTypeId) {
 
index 52689ebe2e1812348d508474e5c363eb01b9f2fa..60eee28c9c0c6099621ac44f6949741e307e9ff0 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Member_BAO_Query {
   }
 
   /**
-   * if membership are involved, add the specific membership fields
+   * If membership are involved, add the specific membership fields
    *
    * @param $query
    *
@@ -348,7 +348,7 @@ class CRM_Member_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -484,7 +484,7 @@ class CRM_Member_BAO_Query {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 
index 8aec7e48b70883422285c6314a8c19f7d481aa5a..023aa01122f75554d1257018062f2a946614bc8f 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Member_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index dbcb6f3290869a67ade1a309324ddb3c8b519891..8acd4b29c059c18926413ea114c1ff689305cc7c 100644 (file)
@@ -182,7 +182,7 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
   }
 
   /**
-   * extract values from the contact create boxes on the form and assign appropriately  to
+   * Extract values from the contact create boxes on the form and assign appropriately  to
    *
    *  - $this->_contributorEmail,
    *  - $this->_memberEmail &
index f7b7d150c6bcae517aa94e419fd7e837acb94c36..57ea44a997f80df36c9d5dcbb3a7e7a0faf93b95 100644 (file)
@@ -732,7 +732,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
@@ -1693,7 +1693,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * send email receipt
+   * Send email receipt
    *
    * @param CRM_Core_Form $form form object
    * @param array $formValues
index a4119601a5e779c86ea3b9398a3d77d4507b10b7..4df41a19fb6078e5b17cf8a4bf576ce9578ccb11 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * store membership price set id
+   * Store membership price set id
    */
   protected $_memPriceSetId = NULL;
 
@@ -210,12 +210,12 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
    * @param $files
-   * @param null $contributionPageId
+   * @param int $contributionPageId
    *
    * @return mixed true or array of errors
    * @access public
index dc71acaf504458c52c69e0b507565afe67ad4746..a14888fc8a32d5ef2de0822f97cdd1a2b5245568 100644 (file)
@@ -452,7 +452,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
     }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
@@ -486,7 +486,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
   }
 
   /**
-   * process the renewal form
+   * Process the renewal form
    *
    * @access public
    *
index b9f2f1ea1eb8ea6bd6bef06a17c56f0ed087d857..a5d73b6bf6bbcbe8c1f9f17f044c9adfe9da6d77 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
 
   /**
-   * max number of contacts we will display for membership-organisation
+   * Max number of contacts we will display for membership-organisation
    */
   CONST MAX_CONTACTS = 50;
 
@@ -212,7 +212,7 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
@@ -415,9 +415,9 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
   }
 
   /**
-   * @param $previousID
-   * @param $priceSetId
-   * @param $membershipTypeId
+   * @param int $previousID
+   * @param int $priceSetId
+   * @param int $membershipTypeId
    * @param $optionsIds
    */
   public static function checkPreviousPriceField($previousID, $priceSetId, $membershipTypeId, &$optionsIds) {
index 971a870b0b38b2ef45f759e162e8450f9fee873d..011e7e20e01d55bae78be022623376cb436d5505 100644 (file)
@@ -139,7 +139,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
    * @access public
index 94d0bc118b77a024ce6488a5beacb8697b99a070..4117645868e8e262f758445aa29fd36f613633f9 100644 (file)
@@ -43,7 +43,7 @@
 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
    * @access protected
@@ -51,7 +51,7 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -59,7 +59,7 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -69,13 +69,13 @@ 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
    * @access public
index f4eae47d7ce2c37c7ed33680ff0277da11bbe5ad..72848015afddb501a2cff528f143f1cf3e05a392 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Member_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -75,7 +75,7 @@ class CRM_Member_Form_Task extends CRM_Core_Form {
   protected $_memberIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -163,7 +163,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 title of the main button
index 63d359a9b9901971ed2d190128ace13922344e4a..6f223ec1fb6d38570f22650a913d929edd3f1ebe 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
    * @access public
@@ -211,7 +211,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
    *
    * @access public
    *
index 2c6efa9b52310cf8b89e691033d12514777eed32..7c4f0a959af06234570ebda3acb403f5bc791659 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
    * @access public
@@ -74,7 +74,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
    *
    * @access public
    *
index 83d2f667362646805f8760ed6cb52bb7c4b445e6..e8f17674aa86da79f9214ec7fa3bb7345107bbfe 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
    * @access public
@@ -93,7 +93,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
    *
    * @access public
    *
index 80a06c4ba395912affaabe19d137c81ac0efddd7..16e32ace605a3263a788b1e47923c64c51b37cde 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
    * @access public
@@ -82,7 +82,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
    *
    * @access public
    *
index c72d203368a55018c8080fb86d389583d683ff9a..46c766c5dd9fada7e05c4f26e73388314d00738f 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
    * @access public
@@ -86,7 +86,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
    *
    * @access public
    *
@@ -103,7 +103,7 @@ class CRM_Member_Form_Task_PDFLetter extends CRM_Member_Form_Task {
   }
 
   /**
-   * list available tokens, at time of writing these were
+   * List available tokens, at time of writing these were
    * {membership.id} => Membership ID
    * {membership.status} => Membership Status
    * {membership.type} => Membership Type
index 0307350921a4c91ac5b7562d35fe585f83be3352..710ad6486ff2e7499d026f9dd656d9d589560779 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
    * @access public
@@ -45,7 +45,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 0784859ceac76f7ff957aeecc893aa82debd6586..29f43690f7d04a3b4753ec274b67512c19c33f42 100644 (file)
 class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
 
   /**
-   * the title of the group
+   * The title of the group
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * maximum members that should be allowed to update
+   * Maximum members that should be allowed to update
    *
    */
   protected $_maxMembers = 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
    * @access public
@@ -119,7 +119,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
    *
@@ -132,7 +132,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
    *
    * @access public
    *
index 90fbf78da1f12a5a9f7775923809976e299a0e87..ef40cf2b955471615d13539b1b5b1e91cc8a0371 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
    * @access public
@@ -95,7 +95,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
    *
    * @access public
    *
index 142eb242c3724eaa8d0f1cd02eec82c4ae678c03..464656da172812c71248b220ade02b731fe13186 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
    * @access public
index b67d1aaef518ff0830eaf88969d18f0fa0a2fc5b..d426d068a8f3bf345513a36fd06a6f94bebe63f8 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
    * @access public
index 61bb9ea49c8d0f118d4a75214ac9cbed6daee991..f93e3e46a012cd912aa8547f1fdce5930369edc4 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Member_Import_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
index adfad40ac0b24c920bcd337f3ac8d90d93b7210c..4dcbd0ec6d1d5ce3f3b3ad8059d81f172e8e2384 100644 (file)
@@ -40,53 +40,53 @@ class CRM_Member_Import_Field {
    */
 
   /**
-   * name of the field
+   * Name of the field
    */
   public $_name;
 
   /**
-   * title of the field to be used in display
+   * Title of the field to be used in display
    */
   public $_title;
 
   /**
-   * type of field
+   * Type of field
    * @var enum
    */
   public $_type;
 
   /**
-   * is this field required
+   * Is this field required
    * @var boolean
    */
   public $_required;
 
   /**
-   * data to be carried for use by a derived class
+   * Data to be carried for use by a derived class
    * @var object
    */
   public $_payload;
 
   /**
-   * regexp to match the CSV header of this column/field
+   * Regexp to match the CSV header of this column/field
    * @var string
    */
   public $_headerPattern;
 
   /**
-   * regexp to match the pattern of data from various column/fields
+   * Regexp to match the pattern of data from various column/fields
    * @var string
    */
   public $_dataPattern;
 
   /**
-   * value of this field
+   * Value of this field
    * @var object
    */
   public $_value;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
@@ -107,7 +107,7 @@ class CRM_Member_Import_Field {
   }
 
   /**
-   * the value is in string format. convert the value to the type of this field
+   * The value is in string format. convert the value to the type of this field
    * and set the field value with the appropriate type
    */
   function setValue($value) {
index 8c7d383f89250207d4c1408746044b7b2e7b86c9..e3586260891e77bc790098a58e18778adf216dd7 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
    * @access public
index 49d0705ae7d4ea75dbc6ab7bbdb3d02d05a6bca3..c295ed782d5539b3edc2292c44d521d4ff8f124a 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
 
 
   /**
-   * to store contactType
+   * To store contactType
    *
    * @var int
    * @static
@@ -50,7 +50,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
    * @access public
@@ -298,7 +298,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 33597f8c49280e18197fa4d1daacb410476b00f0..159619eb041628d99ac1308f3cc8335c5732bd6d 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
    * @access public
index 5ce1208605abe3e6e3540afe35a2be3c2c817207..de4de5c50e6b37ac15a6cd9730e83463e533ecf4 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
    * @access public
index e61e56d79dc38f04b0fb492e7678ca6cc8d39031..5d865c1b3fdc24ae484925ecad196fc811ed400e 100644 (file)
@@ -44,29 +44,29 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
    */
 
   /**
-   * imported file size
+   * Imported file size
    */
   protected $_fileSize;
 
   /**
-   * seperator being used
+   * Seperator being used
    */
   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
    */
   protected $_haveColumnHeader;
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param string $seperator
    * @param $mapper
    * @param bool $skipColumnHeader
@@ -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
    * @access public
@@ -320,7 +320,7 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $title
    * @param int $type
    * @param string $headerPattern
index c0811d1ac7185cf549555f824396e7403184781a..dfc312169fa977a05aa4b86a83352c4999ae9a23 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   protected $_newMemberships;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
     parent::__construct();
@@ -64,7 +64,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
@@ -108,7 +108,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
    *
@@ -120,7 +120,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
    *
@@ -246,7 +246,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
    * @param array $values the array of values belonging to this line
@@ -576,7 +576,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
   }
 
   /**
-   * the initializer code, called before the processing
+   * The initializer code, called before the processing
    *
    * @return void
    * @access public
index fa1493732aaf31524c2b81bcd20567ce7f5542f3..1cab218291946b8e1a96a435a9a7c85a92417b56 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Member_Page_AJAX {
 
   /**
-   * setDefaults according to membership type
+   * SetDefaults according to membership type
    */
   static function getMemberTypeDefaults() {
     if (!$_POST['mtype']) {
index e0c67e237f13d6a17062e7eb5ec0e2c300288ebc..42a43735cae5d5f98a00c2e10aff6815eb1ee2af 100644 (file)
@@ -369,7 +369,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
 
   /**
    * @param CRM_Core_Form $form
-   * @param null $contactId
+   * @param int $contactId
    */
   public static function setContext(&$form, $contactId = NULL) {
     $context = CRM_Utils_Request::retrieve('context', 'String', $form, FALSE, 'search' );
@@ -552,7 +552,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
    * @access public
index 85862cb2935b630c20dc9c1152736a3b08403235..683fbfbcd53c03777eef1ca04b3f32a3cf8d9930 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
    *
    * return null
    * @access public
index fbcdaa9a00d4bb29ac2fb165cb1bca8bb2680598..9003803fd6af2b448592f392a6c203c647420634 100644 (file)
 class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
 
   /**
-   * membership types
+   * Membership types
    * @var array
    * @static
    */
   private static $membershipType;
 
   /**
-   * membership types
+   * Membership types
    * @var array
    * @static
    */
@@ -58,7 +58,7 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @param bool $force
    *
    * @return array - array reference of all membership types if any
@@ -88,7 +88,7 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
-   * @param null $id
+   * @param int $id
    * @param null $cond
    * @param string $column
    * @param bool $force
index f1b1f3349f2bab0b010302482b9b7b9221d94d3a..819f802dcbad74ef254fe46bee8b1de4c5f56720 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -80,7 +80,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   );
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -88,7 +88,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -96,7 +96,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -104,7 +104,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   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
@@ -113,7 +113,7 @@ 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
    * @access protected
@@ -273,7 +273,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -311,7 +311,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -458,7 +458,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -535,7 +535,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index 22460d863d7daae63c62c6ac97aeb370114d8cfd..b942964dd647ab1d7cd9a5d7d4c526c99ecb4cd7 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -90,7 +90,7 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * return the form name of the task
+   * Return the form name of the task
    *
    * @return string
    * @access public
index c5e15a252ab12076e20df79d5c3ddc312862347f..587c05abdfc9cbb4ac2792ee5ad09108cf253331 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Member_Task {
   CONST DELETE_MEMBERS = 1, PRINT_MEMBERS = 2, EXPORT_MEMBERS = 3, EMAIL_CONTACTS = 4, BATCH_MEMBERS = 5;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -51,7 +51,7 @@ class CRM_Member_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -146,7 +146,7 @@ class CRM_Member_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index 90a9e410bae54decab1e74bf4234b9e83778b8d1..777a5395a3e53f42d8036460195f058996107905 100644 (file)
@@ -50,7 +50,7 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP {
   }
 
   /**
-   * add or update either a Personal Campaign Page OR a PCP Block
+   * Add or update either a Personal Campaign Page OR a PCP Block
    *
    * @param array $params reference array contains the values submitted by the form
    * @param bool $pcpBlock if true, create or update PCPBlock, else PCP
@@ -89,7 +89,7 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP {
   }
 
   /**
-   * get the Display  name of a contact for a PCP
+   * Get the Display  name of a contact for a PCP
    *
    * @param  int $id      id for the PCP
    *
@@ -110,9 +110,9 @@ WHERE  civicrm_pcp.contact_id = civicrm_contact.id
   }
 
   /**
-   * return PCP  Block info for dashboard
+   * Return PCP  Block info for dashboard
    *
-   * @param $contactId
+   * @param int $contactId
    *
    * @return array     array of Pcp if found
    * @access public
@@ -228,7 +228,7 @@ ORDER BY target_entity_type, target_entity_id
   }
 
   /**
-   * function to show the total amount for Personal Campaign Page on thermometer
+   * Show the total amount for Personal Campaign Page on thermometer
    *
    * @param array $pcpId  contains the pcp ID
    *
@@ -250,7 +250,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * function to show the amount, nickname on honor roll
+   * Show the amount, nickname on honor roll
    *
    * @param array $pcpId contains the pcp ID
    *
@@ -348,7 +348,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to Delete the campaign page
+   * Delete the campaign page
    *
    * @param int $id campaign page id
    *
@@ -482,7 +482,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
    * Process a PCP contribution/
    */
   /**
-   * @param $pcpId
+   * @param int $pcpId
    * @param $component
    * @param $entity
    *
@@ -582,7 +582,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to Approve / Reject the campaign page
+   * Approve / Reject the campaign page
    *
    * @param int $id campaign page id
    *
@@ -625,7 +625,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to send notfication email to supporter
+   * Send notfication email to supporter
    * 1. when their PCP status is changed by site admin.
    * 2. when supporter initially creates a Personal Campaign Page ($isInitial set to true).
    *
@@ -724,7 +724,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to Enable / Disable the campaign page
+   * Enable / Disable the campaign page
    *
    * @param int $id campaign page id
    *
@@ -738,7 +738,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to get pcp block is active
+   * Get pcp block is active
    *
    * @param int $pcpId
    * @param $component
@@ -762,7 +762,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to get pcp block is enabled for component page
+   * Get pcp block is enabled for component page
    *
    * @param int $pageId
    * @param $component
@@ -786,7 +786,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to find out if the PCP block is in use by one or more PCP page
+   * Find out if the PCP block is in use by one or more PCP page
    *
    * @param int $id pcp block id
    *
@@ -807,7 +807,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Function to get email is enabled for supporter's profile
+   * Get email is enabled for supporter's profile
    *
    * @param int $profileId supporter's profile id
    *
@@ -830,7 +830,7 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1";
   }
 
   /**
-   * Function to obtain the title of page associated with a pcp
+   * Obtain the title of page associated with a pcp
    *
    * @param int $pcpId
    * @param $component
@@ -860,7 +860,7 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1";
   }
 
   /**
-   * Function to get pcp block & entity id given pcp id
+   * Get pcp block & entity id given pcp id
    *
    * @param int $pcpId
    * @param $component
@@ -888,7 +888,7 @@ WHERE pcp.id = %1";
   }
 
   /**
-   * Function to get pcp entity table given a component.
+   * Get pcp entity table given a component.
    *
    * @param $component
    *
@@ -907,7 +907,7 @@ WHERE pcp.id = %1";
   }
 
   /**
-   * Function to get supporter profile id
+   * Get supporter profile id
    *
    * @param int $component_id
    * @param string $component
index 369fba195f526a4c4dc24886f561215f8b01e279..64359b2bfdec1c3ce2537f6592d745a2d1ffbd11 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_PCP_Controller_PCP extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 2c95477bf8064971b579bbf49dd6a8dd76b6ff31..65d191bed1bf41afb5c1c3f7435da22cf39f4498 100644 (file)
@@ -147,7 +147,7 @@ class CRM_PCP_Form_Campaign extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index afa98322dfe88c44704df9ac661b13951f371caa..0df50d4ffd1e5f3919147879a1f27fb829fde86c 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
 
   /**
-   * the type of pcp component.
+   * The type of pcp component.
    *
    * @var int
    * @protected
@@ -100,7 +100,7 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
index f7c816b51bb7161ca7fe2512f75bc38afc95c504..a3c4368c7371bf26b5eec8326ac844cea8638ea8 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent {
 
   /**
-   * the type of pcp component.
+   * The type of pcp component.
    *
    * @var int
    * @protected
@@ -131,7 +131,7 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent {
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
index a5a2a7197b273ec283bd597aa617c9ade6ca1446..0d95ed09a489a3fae1a60e22586b7d1cf24904d3 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
    *
    * @param null
    *
@@ -190,7 +190,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
    *
index 5b0f7c6d66a3f0c9429173c84b6edbe7e9ba034f..4d05185bb8ac85c1e3b4592eee4e10d440b1a8db 100644 (file)
@@ -49,7 +49,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
   public $_component = NULL;
 
   /**
-   * are we in single form mode or wizard mode?
+   * Are we in single form mode or wizard mode?
    *
    * @var boolean
    * @access protected
@@ -57,7 +57,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
    * @protected
@@ -223,7 +223,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index 90441a9d618c3d5eabf332f8479814d525af45e6..b0f52d1011a449bd5f903ad9a08cd8b029e587fb 100644 (file)
@@ -388,7 +388,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   //@TODO this function changed, debug this at runtime
   /**
    * @param $whereClause
-   * @param $whereParams
+   * @param array $whereParams
    */
   function pagerAtoZ($whereClause, $whereParams) {
     $where = '';
index a414441a848c91f749948139eef24b50387aebc7..18b5cc37ce1e3f30608cdbd8d28f13557ccc5139 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 73cf278062a37e138258b98b6d053d8f18459db4..4d027ee8b7bbf2ee0221457218f2d304b3dea45f 100644 (file)
@@ -35,7 +35,7 @@
 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
@@ -43,7 +43,7 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
   static $_exportableFields = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -74,7 +74,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 +139,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
    *
@@ -253,7 +253,7 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
   }
 
   /**
-   * delete the pledge
+   * Delete the pledge
    *
    * @param int $id pledge id
    *
@@ -299,7 +299,7 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
   }
 
   /**
-   * get the amount details date wise.
+   * Get the amount details date wise.
    *
    * @param string $status
    * @param string $startDate
@@ -442,7 +442,7 @@ GROUP BY  currency
   }
 
   /**
-   * Function to 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
    *
@@ -487,7 +487,7 @@ GROUP BY  currency
   }
 
   /**
-   * Function to send Acknowledgment and create activity.
+   * Send Acknowledgment and create activity.
    *
    * @param CRM_Core_Form $form form object.
    * @param array $params an assoc array of name/value pairs.
@@ -682,7 +682,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
    * @access public
@@ -745,7 +745,7 @@ GROUP BY  currency
   }
 
   /**
-   * Function to get pending or in progress pledges
+   * Get pending or in progress pledges
    *
    * @param int $contactID contact id
    *
@@ -789,9 +789,9 @@ GROUP BY  currency
   }
 
   /**
-   * Function to get pledge record count for a Contact
+   * Get pledge record count for a Contact
    *
-   * @param $contactID
+   * @param int $contactID
    *
    * @return int count of pledge records
    * @access public
index 0596b91db8954b43845cbb293e54338f06f74119..5d42f5c2beff3bda4b43891d081d3a8d8086e6ae 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
@@ -66,7 +66,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
    *
@@ -91,7 +91,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
    *
@@ -147,7 +147,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * delete the pledgeBlock
+   * Delete the pledgeBlock
    *
    * @param int $id pledgeBlock id
    *
@@ -174,7 +174,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
    *
@@ -195,7 +195,7 @@ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock {
   }
 
   /**
-   * Function to build Pledge Block in Contribution Pages
+   * Build Pledge Block in Contribution Pages
    *
    * @param CRM_Core_Form $form
    * @static
index 9b8b9e8f1ecc024b2d4e507c857c6c9e2fdb5dcc..0c521db4270a7f47c97043fe4589524c06490cb5 100644 (file)
 class CRM_Pledge_BAO_PledgePayment extends CRM_Pledge_DAO_PledgePayment {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {
     parent::__construct();
   }
 
   /**
-   * get pledge payment details
+   * Get pledge payment details
    *
    * @param int $pledgeId pledge id
    *
@@ -225,7 +225,7 @@ WHERE     pledge_id = %1
   /**
    * Delete pledge payment
    *
-   * @param $id
+   * @param int $id
    *
    * @return int pledge payment id
    * @static
@@ -250,7 +250,7 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * delete all pledge payments
+   * Delete all pledge payments
    *
    * @param int $id pledge id
    *
@@ -323,7 +323,7 @@ WHERE     pledge_id = %1
   }
 
   /**
-   * update Pledge Payment Status
+   * Update Pledge Payment Status
    *
    * @param int $pledgeID , id of pledge
    * @param array $paymentIDs , ids of pledge payment(s) to update
@@ -608,7 +608,7 @@ WHERE  civicrm_pledge.id = %2
   }
 
   /**
-   * update pledge payment table
+   * Update pledge payment table
    *
    * @param int $pledgeId pledge id
    * @param int $paymentStatusId payment status id to set
@@ -654,7 +654,7 @@ WHERE  civicrm_pledge_payment.pledge_id = %1
   }
 
   /**
-   * Function to update pledge payment table when reminder is sent
+   * Update pledge payment table when reminder is sent
    *
    * @param int $paymentId payment id
    *
@@ -671,7 +671,7 @@ WHERE  civicrm_pledge_payment.id = {$paymentId}
   }
 
   /**
-   * Function to get oldest pending or in progress pledge payments
+   * Get oldest pending or in progress pledge payments
    *
    * @param int $pledgeID pledge id
    *
@@ -718,12 +718,12 @@ LIMIT 0, %2
   }
 
   /**
-   * @param $pledgeID
+   * @param int $pledgeID
    * @param $actualAmount
    * @param $pledgeScheduledAmount
-   * @param null $paymentContributionId
-   * @param null $pPaymentId
-   * @param null $paymentStatusID
+   * @param int $paymentContributionId
+   * @param int $pPaymentId
+   * @param int $paymentStatusID
    */
   static function adjustPledgePayment($pledgeID, $actualAmount, $pledgeScheduledAmount, $paymentContributionId = NULL, $pPaymentId = NULL, $paymentStatusID = NULL) {
     $allStatus = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name');
index 9fd9f2be7cf62bac352764016054b9a09d5920ad..45817bcda5d25df3856f47fb462ca8b411b7238d 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * build select for Pledge
+   * Build select for Pledge
    *
    * @param $query
    *
@@ -421,7 +421,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $mode
    * @param $side
    *
@@ -462,7 +462,7 @@ class CRM_Pledge_BAO_Query {
   }
 
   /**
-   * getter for the qill object
+   * Getter for the qill object
    *
    * @return string
    * @access public
@@ -626,7 +626,7 @@ class CRM_Pledge_BAO_Query {
 
   /**
    * @param $row
-   * @param $id
+   * @param int $id
    */
   static function searchAction(&$row, $id) {}
 
index 84b2bebcfe268de638cf22dcb1020bed1c2af83c..0a5f63a2aa5ab619be6d54d1c2da0d20e139f3e4 100644 (file)
@@ -47,7 +47,7 @@
 class CRM_Pledge_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
index 5eda5b0bdcdeb7098c9fe9fd1a45358f8dc99229..679d8b2d4dc8f0f982a0b84380fd7dbea8e674ff 100644 (file)
@@ -40,7 +40,7 @@
 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
@@ -48,7 +48,7 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
   public $_id;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
index 12715b7522a7abbb4074befc2ea897c5212a241f..6223154247cecf2932a6c4d9212c6e62bd43932c 100644 (file)
@@ -41,7 +41,7 @@ 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
@@ -49,7 +49,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   public $_id;
 
   /**
-   * the id of the contact associated with this pledge
+   * The id of the contact associated with this pledge
    *
    * @var int
    * @public
@@ -69,13 +69,13 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   public $_freqUnits;
 
   /**
-   * is current pledge pending.
+   * Is current pledge pending.
    * @public
    */
   public $_isPending = FALSE;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @return void
    * @access public
@@ -446,7 +446,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index 5cdd45a33ea6746b2f99f5af0677b1f204964756..4e255599f67541f7a457db5c770ba292148662ce 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
    * @access public
index f859aa950afe0948945868fd10fda1d6bb427b07..b5ec46f10c3bdbe6597489d59f3db1012f285cbb 100644 (file)
@@ -39,7 +39,7 @@
 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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   protected $_queryParams;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -55,7 +55,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -63,7 +63,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   protected $_limit = NULL;
 
   /**
-   * prefix for the controller
+   * Prefix for the controller
    *
    */
   protected $_prefix = "pledge_";
@@ -71,7 +71,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
   protected $_defaults;
 
   /**
-   * processing needed for buildForm and later
+   * Processing needed for buildForm and later
    *
    * @return void
    * @access public
@@ -300,7 +300,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
    *
index 2d01f0934e35f645682fdab6c63293256643751e..24ac400847bef4946527391e4aacc3cbcb53ae19 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Pledge_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -68,7 +68,7 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
   protected $_pledgeIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
@@ -147,7 +147,7 @@ class CRM_Pledge_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 title of the main button
index 5eb69746ec3620ec6c580f47a5cdddfb07cffbe0..b14dfe515f6263b82556bb744f9087f093bc795c 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
    *
    * @return void
    * @access public
@@ -73,7 +73,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
    *
    * @access public
    *
index d431a5a3cb2a25ba8fa8c30c2694cb2f2105f9e6..c65781377f48b05034ecebf7cf8e930aaa478c5b 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
    * @access public
@@ -96,7 +96,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
    *
    * @access public
    *
index d80e14ac07ca4e9840cbac43ab77b4292c420b3b..7d22138759efd01f82f66121b3d7df8dc71f988c 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
    * @access public
index b6568966c29b7c9b2203b7553b0a9c26a31e4f07..f3deed9f3552dbd32d4f180199a66da484fe4a4a 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
    * @access public
index b912e35b68a65e397ef85ca56d8b900f3e238d20..9373a194fe3ebedefcc778d2df63c07362354936 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Pledge_Page_AJAX {
 
   /**
-   * building Pledge Name combo box
+   * Building Pledge Name combo box
    */
   static function pledgeName() {
 
index e6755b2afe912d71e4632fe76ded7444ca1b6f2b..8090756d942f28e36943bb517e5123a00018f11a 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -83,7 +83,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   );
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -91,7 +91,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   protected $_single = FALSE;
 
   /**
-   * are we restricting ourselves to a single contact
+   * Are we restricting ourselves to a single contact
    *
    * @access protected
    * @var boolean
@@ -99,7 +99,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   protected $_limit = NULL;
 
   /**
-   * what context are we being invoked from
+   * What context are we being invoked from
    *
    * @access protected
    * @var string
@@ -107,7 +107,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   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
@@ -116,7 +116,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   public $_queryParams;
 
   /**
-   * represent the type of selector
+   * Represent the type of selector
    *
    * @var int
    * @access protected
@@ -234,7 +234,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -273,7 +273,7 @@ class CRM_Pledge_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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -378,7 +378,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -455,7 +455,7 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index c24073e67c0941f918495bfa6f1c0a9539a7399a..1c307bda3dfbdabee2f28a327f5d06e7f16b7241 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * class constructor
+   * Class constructor
    */ function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
@@ -92,7 +92,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
    * @access public
index c01b3134f6322bcf210a2ce7967b632b7726d649..e7d95adafbe23aa8f9ded6b111575a2e4b6e8cff 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Pledge_Task {
   CONST DELETE_PLEDGES = 1, PRINT_PLEDGES = 2, EXPORT_PLEDGES = 3;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -50,7 +50,7 @@ class CRM_Pledge_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -126,7 +126,7 @@ class CRM_Pledge_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
index 79e2a3a9f17f8c722ae3c33c3673068ac9fd9f46..f399343cef1e4dd29981530dfafa2e2771edf8fe 100644 (file)
@@ -108,7 +108,7 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem {
   }
 
   /**
-   * @param $entityId
+   * @param int $entityId
    * @param $entityTable
    *
    * @return null|string
@@ -124,8 +124,8 @@ AND li.entity_id = {$entityId}
   }
 
   /**
-   * wrapper for line item retrieval when contribution ID is known
-   * @param $contributionID
+   * Wrapper for line item retrieval when contribution ID is known
+   * @param int $contributionID
    *
    * @return array
    */
@@ -350,9 +350,9 @@ AND li.entity_id = {$entityId}
   }
 
   /**
-   * process price set and line items.
+   * Process price set and line items.
    *
-   * @param $entityId
+   * @param int $entityId
    * @param array $lineItem line item array
    * @param object $contributionDetails
    * @param string $entityTable entity table
@@ -407,10 +407,10 @@ AND li.entity_id = {$entityId}
   }
 
   /**
-   * @param $entityId
+   * @param int $entityId
    * @param string $entityTable
    * @param $amount
-   * @param null $otherParams
+   * @param array $otherParams
    */
   public static function syncLineItems($entityId, $entityTable = 'civicrm_contribution', $amount, $otherParams = NULL) {
     if (!$entityId || CRM_Utils_System::isNull($amount))
@@ -461,7 +461,7 @@ AND li.entity_id = {$entityId}
   }
 
    /**
-   * build line items array.
+   * Build line items array.
    * @param array $params form values
    *
    * @param string $entityId entity id
index 57c8d52c21b277753a98b7348ca15a902e711235..78ea203788dd69904eecf19b84153c4dab4468be 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
@@ -68,7 +68,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
    *
@@ -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
    * @param boolean  $is_active  Value we want to set the is_active field
@@ -216,7 +216,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
    *
    * @param CRM_Core_Form $qf form object (reference)
    * @param string $elementName name of the custom field
-   * @param $fieldId
+   * @param int $fieldId
    * @param boolean $inactiveNeeded
    * @param boolean $useRequired true if required else false
    * @param string $label label for custom field
@@ -560,7 +560,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
 
   /**
    * @param $optionLabel
-   * @param $fid
+   * @param int $fid
    *
    * @return mixed
    */
index 3a4ccc7c7f74b9fed62631e07dfd928c025f0682..ebc8d3035f0e006407f7da6202e3e201ff334510 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
 
   /**
-   * insert/update a new entry in the database.
+   * Insert/update a new entry in the database.
    *
    * @param array $params (reference), array $ids
    *
@@ -182,7 +182,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
    * @param boolean  $is_active  Value we want to set the is_active field
@@ -197,7 +197,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 1a98ae5568d4e50a31f4613da8cb92b5b55e8528..8f642c9dd4012c476595701adfe8d08ac3127571 100644 (file)
@@ -40,7 +40,7 @@
 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
@@ -48,14 +48,14 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
   static $_defaultPriceSet = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
    *
@@ -90,7 +90,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
    * @param $isActive
@@ -476,7 +476,7 @@ WHERE     ct.id = cp.financial_type_id AND
    *
    * An array containing price set details (including price fields) is returned
    *
-   * @param $setID
+   * @param int $setID
    * @param bool $required
    * @param bool $validOnly
    *
@@ -605,10 +605,10 @@ WHERE  id = %1";
 
   /**
    * @param CRM_Core_Form $form
-   * @param $id
+   * @param int $id
    * @param string $entityTable
    * @param bool $validOnly
-   * @param null $priceSetId
+   * @param int $priceSetId
    *
    * @return bool|false|int|null
    */
@@ -882,7 +882,7 @@ WHERE  id = %1";
   }
 
   /**
-   * build the price set form.
+   * Build the price set form.
    *
    * @param CRM_Core_Form $form
    *
@@ -969,7 +969,7 @@ WHERE  id = %1";
   }
 
   /**
-   * check the current Membership
+   * Check the current Membership
    * having end date null.
    */
   static function checkCurrentMembership(&$options, $userid) {
@@ -999,7 +999,7 @@ WHERE  id = %1";
   }
 
   /**
-   * set daefult the price set fields.
+   * Set daefult the price set fields.
    *
    * @param CRM_Core_Form $form
    * @param $defaults
@@ -1217,7 +1217,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Function to check if auto renew option should be shown
+   * Check if auto renew option should be shown
    *
    * @param int $priceSetId price set id
    *
@@ -1264,7 +1264,7 @@ GROUP BY     mt.member_of_contact_id";
   }
 
   /**
-   * Function to retrieve auto renew frequency and interval
+   * Retrieve auto renew frequency and interval
    *
    * @param int $priceSetId price set id
    *
@@ -1296,7 +1296,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
    * @param  boolean  $isQuickConfig  value we want to set the is_quick_config field
index 89413a46ccce628d76770c0f8469cc92015ba41e..14818c36bdef30c65550c6da09764c676ed74f9a 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Price_Form_DeleteField extends CRM_Core_Form {
 
   /**
-   * the field id
+   * The field id
    *
    * @var int
    */
@@ -53,7 +53,7 @@ class CRM_Price_Form_DeleteField extends CRM_Core_Form {
   protected $_title;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @param null
    *
index a55bd08361690fe95f468db3cffe604c5809a0e3..12ab825b0bd515de4e00110ec0687d732a6bbcda 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Price_Form_DeleteSet extends CRM_Core_Form {
 
   /**
-   * the set id
+   * The set id
    *
    * @var int
    */
@@ -53,7 +53,7 @@ class CRM_Price_Form_DeleteSet extends CRM_Core_Form {
   protected $_title;
 
   /**
-   * set up variables to build the form
+   * Set up variables to build the form
    *
    * @return void
    * @acess protected
index 2be5586f0a7de9a6dc86cd227efab7e06413935d..7146644ac23c77868d7a6b33996fbf4306220c52 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
    * @access protected
@@ -68,13 +68,13 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
   protected $_extendComponentId;
 
   /**
-   * variable is set if price set is used for membership
+   * Variable is set if price set is used for membership
    * @access protected
    */
   protected $_useForMember;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @param null
    *
@@ -389,7 +389,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
    *
index 4f65a42eea2a728431a579c3b36c9fd55143ea32..64c20a6e0af2f9c22e6571fe2726afbf544be046 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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
   protected $_fid;
 
   /**
-   * option value  id, used when editing the Option
+   * Option value  id, used when editing the Option
    *
    * @var int
    * @access protected
@@ -55,7 +55,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
    *
    * @param null
    *
@@ -269,7 +269,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
    *
index 21bba9e89fd3d43975bc959baecf4c334113ceee..5cd7dcb03b6d44459cc78bdec86d95d344e0f873 100644 (file)
 class CRM_Price_Form_Preview extends CRM_Core_Form {
 
   /**
-   * the group tree data
+   * The group tree data
    *
    * @var array
    */
   protected $_groupTree;
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for group or field id
    *
index cf65892768f8dd037e505d0e377ba0c376081560..e97de315ec4c783d826d9f517f6c7e4294a02216 100644 (file)
@@ -39,7 +39,7 @@
 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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
   protected $_sid;
 
   /**
-   * set variables up before form is built
+   * Set variables up before form is built
    *
    * @param null
    *
@@ -79,7 +79,7 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    * @param array $files   the uploaded files if any
index 3afee6085d0358daf4b9dc65eb38aa26ddea647e..8bcc368dcb005aef5f3b5432643e7d19e2754f53 100644 (file)
@@ -215,7 +215,7 @@ class CRM_Price_Page_Field extends CRM_Core_Page {
   }
 
   /**
-   * edit price data.
+   * Edit price data.
    *
    * editing would involved modifying existing fields + adding data to new fields.
    *
@@ -338,7 +338,7 @@ class CRM_Price_Page_Field extends CRM_Core_Page {
   /**
    * Preview price field
    *
-   * @param $fid
+   * @param int $fid
    *
    * @internal param int $id price field id
    *
index f9432ed9b61ba3f5b8402835026e0730842734ea..aa5eab60a090cf30d6f538052fe3b0d66965faac 100644 (file)
@@ -199,7 +199,7 @@ class CRM_Price_Page_Option extends CRM_Core_Page {
   }
 
   /**
-   * edit custom Option.
+   * Edit custom Option.
    *
    * editing would involved modifying existing fields + adding data to new fields.
    *
index 889060ef043d8fe4c0c4dca209b5e1b6d48892b0..04eba478987fe0d87fbb1895fc89ce5f13ec11d8 100644 (file)
@@ -199,7 +199,7 @@ class CRM_Price_Page_Set extends CRM_Core_Page {
   }
 
   /**
-   * edit price set
+   * Edit price set
    *
    * @param int $sid price set id
    * @param string $action the action to be invoked
index 3c98c3b2e62d886f1d91bdce76acf9190bd4b687..1646ba39564fede50a5e5154940660ba641551aa 100644 (file)
@@ -91,14 +91,14 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_title;
 
   /**
-   * the fields needed to build this form
+   * The fields needed to build this form
    *
    * @var array
    */
   public $_fields;
 
   /**
-   * to store contact details
+   * To store contact details
    *
    * @var array
    */
@@ -157,7 +157,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_recordId = NULL;
 
   /**
-   * action for multi record profile (create/edit/delete)
+   * Action for multi record profile (create/edit/delete)
    *
    * @var string
    */
@@ -177,7 +177,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   protected $_session       = NULL;
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for table name, id of entity in table, type of entity and stores them.
    *
@@ -867,7 +867,7 @@ class CRM_Profile_Form extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array  $fields the input form values
    * @param array  $files  the uploaded files if any
index bb26b21bd1afe1dc9cf37018e08aeb35f110d3ae..4cb361ff179dbee6f091ddfd0cabf66592bcf083 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_Profile_Form_Dynamic extends CRM_Profile_Form {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * @param
    *
@@ -95,7 +95,7 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields the input form values
    * @param array $files the uploaded files if any
index 72aca4c4863c7b977332b0d8404624599480d411..e8f3d9d9fd4232f18c022ab2bdafa78f3374415b 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Profile_Form_Edit extends CRM_Profile_Form {
   protected $_prefix;
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * @param
    *
@@ -307,7 +307,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 79126f0e11a16efaa63f7c0c23efd314e6295cff..5741e255ce1a9f893c99c89d2d62e49b604f63df 100644 (file)
@@ -44,7 +44,7 @@
 class CRM_Profile_Form_Search extends CRM_Profile_Form {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * @param
    *
index 08b3bcb24645e40525a8092ec559dba15c48549c..844e8f14130efeb2d586f85ef95d8992a6dbdd95 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
   protected $_id;
 
   /**
-   * the profile group are are interested in
+   * The profile group are are interested in
    *
    * @var int
    * @access protected
@@ -105,7 +105,7 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
   protected $_allFields = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @param int $id the contact id
    * @param int $gid the group id
index 22e527943d8bd60977f511c947c07c1d2f9c4b74..905f567474d9f45df4da31de96e2be897876c9b9 100644 (file)
@@ -42,7 +42,7 @@
 class CRM_Profile_Page_Listings extends CRM_Core_Page {
 
   /**
-   * all the fields that are listings related
+   * All the fields that are listings related
    *
    * @var array
    * @access protected
@@ -50,7 +50,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
   protected $_fields;
 
   /**
-   * the custom fields for this domain
+   * The custom fields for this domain
    *
    * @var array
    * @access protected
@@ -73,7 +73,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
   protected $_gid;
 
   /**
-   * state whether to display search form or not
+   * State whether to display search form or not
    *
    * @var int
    */
@@ -93,7 +93,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
   protected $_profileIds = array();
 
   /**
-   * extracts the parameters from the request and constructs information for
+   * Extracts the parameters from the request and constructs information for
    * the selector object to do a query
    *
    * @return void
@@ -275,7 +275,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
@@ -398,9 +398,9 @@ 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 $gid
+   * @param int $gid
    *
    * @return array
    * @access public
index 6762cc0df4500f8d4f44893019c34fb057841333..c787ef5e4e0e419b4842f5d32d2dfc27082a68cc 100644 (file)
@@ -164,7 +164,7 @@ class CRM_Profile_Page_View extends CRM_Core_Page {
   }
 
   /**
-   * build the outcome basing on the CRM_Profile_Page_Dynamic's HTML
+   * Build the outcome basing on the CRM_Profile_Page_Dynamic's HTML
    *
    * @return void
    * @access public
index afc0564b19fbfdb08d277c3b257e130d53a079f1..5f366043c0243ef88176884bd14ee49bd6bd218c 100644 (file)
@@ -42,7 +42,7 @@
 class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CRM_Core_Selector_API {
 
   /**
-   * array of supported links, currenly view and edit
+   * Array of supported links, currenly view and edit
    *
    * @var array
    * @static
@@ -50,7 +50,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   static $_links = NULL;
 
   /**
-   * we use desc to remind us what that column is, name is used in the tpl
+   * We use desc to remind us what that column is, name is used in the tpl
    *
    * @var array
    * @static
@@ -66,7 +66,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   protected $_params;
 
   /**
-   * the public visible fields to be shown to the user
+   * The public visible fields to be shown to the user
    *
    * @var array
    * @access protected
@@ -74,7 +74,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   protected $_fields;
 
   /**
-   * the custom fields for this domain
+   * The custom fields for this domain
    *
    * @var array
    * @access protected
@@ -82,7 +82,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   protected $_customFields;
 
   /**
-   * cache the query object
+   * Cache the query object
    *
    * @var object
    * @access protected
@@ -90,7 +90,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   protected $_query;
 
   /**
-   * cache the expanded options list if any
+   * Cache the expanded options list if any
    *
    * @var object
    * @access protected
@@ -277,7 +277,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   * getter for array of the parameters required for creating pager.
+   * Getter for array of the parameters required for creating pager.
    *
    * @param $action
    * @param array $params
@@ -296,7 +296,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   * returns the column headers as an array of tuples:
+   * Returns the column headers as an array of tuples:
    * (name, sortName (key to the sort array))
    *
    * @param string $action the action being performed
@@ -432,7 +432,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 enum   $action   the action being performed
    * @param int    $offset   the row number to start from
@@ -725,7 +725,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
   }
 
   /**
-   * name of export file.
+   * Name of export file.
    *
    * @param string $output type of output
    *
index 068e9c973cfbf2bb2940df539f807ee389c90c19..dbca273fb59804d2ae82e4fb429baa3312424de7 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
    * @static
index 92f40dd059af556e1fb4adcef137eb7f7f985931..0e72586be3a60e5efe278a7fee858ab194ed34bf 100644 (file)
@@ -36,7 +36,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
@@ -227,7 +227,7 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
   /**
    * Delete the instance of the Report
    *
-   * @param null $id
+   * @param int $id
    *
    * @return mixed $results no of deleted Instance on success, false otherwise@access public
    */
index cec9d6c217fb8c1c0156cc9e68dd73d670fc1cf0..5a672f4f158b918d051520d5a355747eb9f3601d 100644 (file)
@@ -142,13 +142,13 @@ class CRM_Report_Form extends CRM_Core_Form {
   protected $_customGroupJoin    = 'LEFT JOIN';
 
   /**
-   * build tags filter
+   * Build tags filter
    *
    */
   protected $_tagFilter = FALSE;
 
   /**
-   * build groups filter
+   * Build groups filter
    *
    */
   protected $_groupFilter = FALSE;
@@ -261,7 +261,7 @@ class CRM_Report_Form extends CRM_Core_Form {
   protected $_selectedTables;
 
   /**
-   * outputmode e.g 'print', 'csv', 'pdf'
+   * Outputmode e.g 'print', 'csv', 'pdf'
    * @var string
    */
   protected $_outputMode;
@@ -278,7 +278,7 @@ class CRM_Report_Form extends CRM_Core_Form {
   public $_havingClauses = array();
 
   /**
-   * dashBoardRowCount Dashboard row count
+   * DashBoardRowCount Dashboard row count
    * @var Integer
    */
   public $_dashBoardRowCount;
@@ -773,7 +773,7 @@ class CRM_Report_Form extends CRM_Core_Form {
 
   /**
    * @param $group
-   * @param $grpFieldName
+   * @param string $grpFieldName
    *
    * @return bool
    */
@@ -798,7 +798,7 @@ class CRM_Report_Form extends CRM_Core_Form {
   /**
    * Setter for $_id
    *
-   * @param $instanceid
+   * @param int $instanceid
    */
   function setID($instanceid) {
     $this->_id = $instanceid;
@@ -1520,7 +1520,7 @@ class CRM_Report_Form extends CRM_Core_Form {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $relative
    * @param $from
    * @param $to
@@ -2097,9 +2097,9 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
   }
 
   /**
-   * @param $tableName
+   * @param string $tableName
    * @param $tableKey
-   * @param $fieldName
+   * @param string $fieldName
    * @param $field
    *
    * @return bool
@@ -2284,7 +2284,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
   }
 
   /**
-   * beginPostProcess function run in both report mode and non-report mode (api)
+   * BeginPostProcess function run in both report mode and non-report mode (api)
    */
   function beginPostProcessCommon() {
 
@@ -3660,7 +3660,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
    *  Adjusts dates passed in to YEAR() for fiscal year.
    */
   /**
-   * @param $fieldName
+   * @param string $fieldName
    *
    * @return string
    */
@@ -3760,7 +3760,7 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    */
   function add2group($groupID) {
     if (is_numeric($groupID) && isset($this->_aliases['civicrm_contact'])) {
index f46b8639efef7946981613f7726f7e14a88d734d..ef575eadb9992d630a47cefb44c08e9bfc5ef53c 100644 (file)
@@ -566,7 +566,7 @@ class CRM_Report_Form_Activity extends CRM_Report_Form {
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    *
    * @throws Exception
    */
index 3994e417d2abe901c6e7a0e312d9487c6449eea4..6ad964019ee3da6c3da100e115095e2eeb3bd23e 100644 (file)
@@ -445,7 +445,7 @@ where (cg.extends='Contact' OR cg.extends='Individual' OR cg.extends_entity_colu
   }
 
   /**
-   * @param $fname
+   * @param string $fname
    * @param $val
    *
    * @return null|string
index f423b8e31045ccc9c8905ea56f5a9cb0cc611126..c8c72e4e1960e04f3711475c378c92204883f2e3 100644 (file)
@@ -373,7 +373,7 @@ class CRM_Report_Form_Contribute_TopDonor extends CRM_Report_Form {
   }
 
   /**
-   * @param $groupID
+   * @param int $groupID
    */
   function add2group($groupID) {
     if (is_numeric($groupID)) {
index db21cd93351a30335e3bc5154c2976958ecc9a13..79bcc9178df74d1694db64351b436ad64ab046eb 100644 (file)
@@ -609,7 +609,7 @@ GROUP BY  cv.label
    * @param $rows
    * @param $entryFound
    * @param $row
-   * @param $rowId
+   * @param int $rowId
    * @param $rowNum
    * @param $types
    */
index 27f553b44283f8ff6fe6f0d635f638a166a5804c..8954f2f318a2c8eb98bfb6c092e58b9bf5fc97de 100644 (file)
@@ -1323,7 +1323,7 @@ WHERE   line_item_civireport.id IS NOT NULL
    * @param $value
    * @param $row
    * @param $selectedfield
-   * @param $criteriaFieldName
+   * @param string $criteriaFieldName
    *
    * @return array
    */
@@ -1341,7 +1341,7 @@ WHERE   line_item_civireport.id IS NOT NULL
    * @param $value
    * @param $row
    * @param $selectedfield
-   * @param $criteriaFieldName
+   * @param string $criteriaFieldName
    *
    * @return array
    */
@@ -1359,7 +1359,7 @@ WHERE   line_item_civireport.id IS NOT NULL
    * @param $value
    * @param $row
    * @param $selectedfield
-   * @param $criteriaFieldName
+   * @param string $criteriaFieldName
    *
    * @return array
    */
@@ -1377,7 +1377,7 @@ WHERE   line_item_civireport.id IS NOT NULL
   /**
    * @param $value
    * @param $row
-   * @param $fieldname
+   * @param string $fieldname
    *
    * @return mixed
    */
index ae4107a463be50591fc137a8a5d69df1ee95cc6a..1c622ee20e09e33b443b3f6b378b38a9f1d594fe 100644 (file)
@@ -230,9 +230,9 @@ 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
    */
   /**
-   * @param $tableName
+   * @param string $tableName
    * @param $tableKey
-   * @param $fieldName
+   * @param string $fieldName
    * @param $field
    *
    * @return bool|string
index d68a48d2a53dbed19e299c0f3ad129a211a64003..625c3b5d13424cd389f4401dc8bd58e46c064b07 100644 (file)
@@ -39,7 +39,7 @@
  */
 class CRM_Report_Page_Instance extends CRM_Core_Page {
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index 468670fc54497ce4adcc319323444a680ca6df81..1387d4233bc5aa7ae140a999a629cc96a31011d0 100644 (file)
@@ -176,7 +176,7 @@ class CRM_Report_Page_InstanceList extends CRM_Core_Page {
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index 734cc54188a110b02cd5a14d52499e2494c43a02..854fa50644310b74423a31dae4437247ae90dbc0 100644 (file)
@@ -74,7 +74,7 @@ ORDER BY  v.weight";
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index e769e1fc4a4b1edde6185c288501ccebf85958a4..bd6a1752e42123e3a4d0293f2517055ce54a4aee 100644 (file)
@@ -213,7 +213,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 d0c1fbaec0597afb56ad9a5c19c42664fdee0160..a02b0c97562a3cd43c8793b0f9e5767a2c3ed944 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Report_Page_Report extends CRM_Core_Page {
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index 2eac142299809878cec3567b534633dc8425817c..e133662c15c77269dab30453a522dece091fdba0 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Report_Page_TemplateList extends CRM_Core_Page {
 
   /**
-   * @param null $compID
+   * @param int $compID
    * @param null $grouping
    *
    * @return array
@@ -107,7 +107,7 @@ LEFT  JOIN civicrm_component comp
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
index cad6f333e7563cf5abb489d508ef9a2e96a76b2d..6d55e625b5ff458e783fadad57d3e2d6d85ee7cb 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Report_Utils_Get {
 
   /**
-   * @param $name
+   * @param string $name
    * @param $type
    *
    * @return mixed|null
@@ -53,7 +53,7 @@ class CRM_Report_Utils_Get {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $field
    * @param $defaults
    */
@@ -96,7 +96,7 @@ class CRM_Report_Utils_Get {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $field
    * @param $defaults
    */
@@ -134,7 +134,7 @@ class CRM_Report_Utils_Get {
   }
 
   /**
-   * @param $fieldName
+   * @param string $fieldName
    * @param $field
    * @param $defaults
    */
index b69e75df694b4edc5e26ffe994f72e4a00b14c5e..42ad6bde97794b3766701f255878f85ac55e13f9 100644 (file)
@@ -36,7 +36,7 @@
 class CRM_Report_Utils_Report {
 
   /**
-   * @param null $instanceID
+   * @param int $instanceID
    *
    * @return null|string
    */
@@ -63,7 +63,7 @@ class CRM_Report_Utils_Report {
   }
 
   /**
-   * @param null $instanceID
+   * @param int $instanceID
    *
    * @return array|bool
    */
@@ -123,7 +123,7 @@ WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = %1";
    * @param $urlValue
    * @param string $query
    * @param bool $absolute
-   * @param null $instanceID
+   * @param int $instanceID
    * @param array $drilldownReport
    *
    * @return bool|string
@@ -174,7 +174,7 @@ WHERE  inst.report_id = %1";
 
   /**
    * @param $fileContent
-   * @param null $instanceID
+   * @param int $instanceID
    * @param string $outputMode
    * @param array $attachments
    *
@@ -325,7 +325,7 @@ WHERE  inst.report_id = %1";
   }
 
   /**
-   * @param $instanceId
+   * @param int $instanceId
    *
    * @return bool
    */
@@ -357,7 +357,7 @@ WHERE  inst.report_id = %1";
    *
    * @instanceId string $str the report instance to check
    *
-   * @param $instanceId
+   * @param int $instanceId
    *
    * @return boolean true if yes, else false
    * @static
index 3202f197b23d609982bf236ee84b376b57a9a163..4cafb4d7be80dbdeace49db9374e6c8c53516817 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_SMS_DAO_Provider
@@ -107,7 +107,7 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
 
   /**
    * @param $values
-   * @param $providerId
+   * @param int $providerId
    */
   static function updateRecord($values, $providerId) {
     $dao = new CRM_SMS_DAO_Provider();
@@ -119,7 +119,7 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $is_active
    *
    * @return bool
@@ -129,7 +129,7 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
   }
 
   /**
-   * @param $providerID
+   * @param int $providerID
    *
    * @return null
    * @throws Exception
@@ -148,7 +148,7 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider {
   }
 
   /**
-   * @param $providerID
+   * @param int $providerID
    * @param null $returnParam
    * @param null $returnDefaultString
    *
index 32467633c2e5101bdb7f92f2cbca1a380dcd9a34..344d11d7218bee267f046f4e3bd691f89c29608c 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_SMS_Controller_Send extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal, NULL, FALSE, TRUE);
index 4e2fd845e140e2d9039e9707fd6531d1a3e1ab14..5e2d1bce59065a6fdf83db38c23ee897953a61b8 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
    * @access public
@@ -308,7 +308,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 c7ff2822346852e1cb1798b11dbde0ee25e0a009..66fe82f1f5eb1453b85fb381f7220470f7c563e9 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
    * @access public
index 5e97c12b04b61be76c888a00b65338e80ca9b630..a531d0357413b3934c0017dfaa3fcc862b9cdb64 100644 (file)
@@ -290,7 +290,7 @@ class CRM_SMS_Form_Upload extends CRM_Core_Form {
   }
 
   /**
-   * validation
+   * Validation
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
index 8420a3d09a7653cbc6877d320256919c89766b87..5fa2f04788708337437104df8b07115c5cbaa09b 100644 (file)
@@ -46,7 +46,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
@@ -96,7 +96,7 @@ abstract class CRM_SMS_Provider {
   abstract function send($recipients, $header, $message, $dncID = NULL);
 
   /**
-   * return message text. Child class could override this function to have better control over the message being sent.
+   * Return message text. Child class could override this function to have better control over the message being sent.
    *
    * @access public
    */
@@ -120,11 +120,11 @@ abstract class CRM_SMS_Provider {
   }
 
   /**
-   * @param $apiMsgID
+   * @param int $apiMsgID
    * @param $message
    * @param array $headers
-   * @param null $jobID
-   * @param null $userID
+   * @param int $jobID
+   * @param int $userID
    *
    * @return $this|null|object
    * @throws CRM_Core_Exception
@@ -165,7 +165,7 @@ INNER JOIN civicrm_mailing_job mj ON mj.mailing_id = m.id AND mj.id = %1";
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $type
    * @param bool $abort
    * @param null $default
@@ -190,7 +190,7 @@ INNER JOIN civicrm_mailing_job mj ON mj.mailing_id = m.id AND mj.id = %1";
    * @param $from
    * @param $body
    * @param null $to
-   * @param null $trackID
+   * @param int $trackID
    *
    * @return $this|null|object
    * @throws CRM_Core_Exception
index 8a982c2a758321a74485459454efd8a378a1c8f1..3cf62c6117c0f2e7c685168d7e47c75e20cfaa36 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 8372987b62faae97a3ee3cceb8a5250c894edb51..0fe1964a8c3585876103c7784cf8a852d33bf528 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
    */
index b3d2d967012f78d682c7110a7fa7d0972a83f008..e0471efbb095bd55ce2d156435f72c0c1106c09b 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
    * @access protected
@@ -63,7 +63,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   protected $_fields;
 
   /**
-   * the title for field
+   * The title for field
    *
    * @var int
    * @access protected
@@ -79,7 +79,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   protected $_selectFields;
 
   /**
-   * to store fields with if locationtype exits status
+   * To store fields with if locationtype exits status
    *
    * @var array
    * @access protected
@@ -87,7 +87,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.
@@ -96,7 +96,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
    * @access public
@@ -617,7 +617,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * validation rule for subtype.
+   * Validation rule for subtype.
    *
    * @param array $groupType contains all groupTypes.
    *
@@ -661,7 +661,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
   }
 
   /**
-   * validation rule for custom data extends entity column values.
+   * Validation rule for custom data extends entity column values.
    *
    * @param Object  $customField Custom field
    * @param Integer $gid         Group Id.
@@ -746,7 +746,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 ae301b49f3a52f57d2f7147f14e280b884cbf3fc..26cf0f715a6174578d13d6a9a70c8e9c54769f22 100644 (file)
@@ -39,7 +39,7 @@
 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
    * @access protected
@@ -47,7 +47,7 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * the title for group
+   * The title for group
    *
    * @var int
    * @access protected
@@ -58,7 +58,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
    * @access public
@@ -284,7 +284,7 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
   }
 
   /**
-   * global form rule
+   * Global form rule
    *
    * @param array $fields  the input form values
    * @param array $files   the uploaded files if any
index fea1f950c51a5f9942da63b44d6b572cfcd0218b..53ac26103d479bae51920ff568a1034631e17578 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_UF_Form_Inline_Preview extends CRM_UF_Form_AbstractPreview {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for group or field id
    *
index cd1008f5f91c911a99b786880a6f5ea685c87f46..b8276f08c0d8e25db34b5e252cc434df710f9175 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_UF_Form_Inline_PreviewById extends CRM_UF_Form_AbstractPreview {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for group or field id
    *
index 6d813e3d2e1ea868ff1b0d86c56ef94b46a91490..b3409bfcbb9c3f89d45e7efc157b6b0a342fad05 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for group or field id
    *
index a684abbcbf5a9048859ce62cf633616853e3c0dc..32a549dedba23d2446d564ea6786082c27b0b25d 100644 (file)
@@ -204,7 +204,7 @@ class CRM_UF_Page_Field extends CRM_Core_Page {
   }
 
   /**
-   * edit CiviCRM Profile data.
+   * Edit CiviCRM Profile data.
    *
    * editing would involved modifying existing fields + adding data to new fields.
    *
index 184a07a08a1b86fff459b16f9ee784f4f1e93a8d..0842b66c18f0e54756380c111d51ea3a7d5d3a25 100644 (file)
@@ -269,7 +269,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * edit uf group
+   * Edit uf group
    *
    * @param int $id uf group id
    * @param string $action the action to be invoked
@@ -383,7 +383,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * this function is for preview mode for ufoup
+   * This function is for preview mode for ufoup
    *
    * @param int $id uf group id
    *
@@ -401,7 +401,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $action
    */
   function setContext($id, $action) {
index ad80fde88872285dedf86caae2c02e4be83ed996..1d993a7d6f65351897629a140007290908e4785a 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_Upgrade_Controller extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct($title = NULL,
     $action = CRM_Core_Action::NONE,
index b8571df122f69886082e185b0d09f09f33f60c5b..6f9dda2573e2e69cca9c966611d8d2dba6d9d12e 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   public $multilingual = FALSE;
 
   /**
-   * locales available for multilingual upgrade
+   * Locales available for multilingual upgrade
    *
    * @var array
    * @public
@@ -61,7 +61,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   public $locales;
 
   /**
-   * number to string mapper
+   * Number to string mapper
    *
    * @var array
    * @public
@@ -187,7 +187,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   }
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param bool $isQueryString
    */
   function source($fileName, $isQueryString = FALSE) {
@@ -217,7 +217,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form {
   }
 
   /**
-   * getter function for title. Should be over-ridden by derived class
+   * Getter function for title. Should be over-ridden by derived class
    *
    * @return string
    * @access public
index 1ec576181632ac6338db16a31e20ccb7eab12bb0..a62a64bdfc90cb1354a5dfbf28b6d70ff23d7520 100644 (file)
@@ -353,8 +353,8 @@ ALTER TABLE civicrm_dashboard
 
   /**
    * @param CRM_Queue_TaskContext $ctx
-   * @param $startId
-   * @param $endId
+   * @param int $startId
+   * @param int $endId
    *
    * @return bool
    */
@@ -455,8 +455,8 @@ ALTER TABLE civicrm_dashboard
    * (e.g. "http://example.com/?page=CiviCRM&amp;q=civicrm/contact/imagefile&amp;photo=123.jpg").
    *
    * @param CRM_Queue_TaskContext $ctx
-   * @param $startId
-   * @param $endId
+   * @param int $startId
+   * @param int $endId
    * @return bool
    */
   static function cleanupBackendImageUrls(CRM_Queue_TaskContext $ctx, $startId, $endId) {
index 45fa0073d0dc3496480536fd3723a72e78874056..30daff27d2011d51fec20fee885f3dbe724d39f5 100644 (file)
@@ -965,7 +965,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
    */
   function addMissingConstraints(CRM_Queue_TaskContext $ctx) {
     $query = "SHOW KEYS FROM `civicrm_contribution_recur` WHERE key_name = 'UI_contrib_payment_instrument_id'";
@@ -1122,7 +1122,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
    */
   function replaceContributionTypeId(CRM_Queue_TaskContext $ctx, $query, $table) {
index 572c6f98b83599fa503bdc52b4db2c2615676e68..dce798023d206083327c85095ea545154443d88a 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
@@ -68,7 +68,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
    *
@@ -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
    * @param boolean  $is_active  Value we want to set the is_active field
@@ -202,7 +202,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
    *
    * @param CRM_Core_Form $qf form object (reference)
    * @param string $elementName name of the custom field
-   * @param $fieldId
+   * @param int $fieldId
    * @param boolean $inactiveNeeded
    * @param boolean $useRequired true if required else false
    * @param string $label label for custom field
@@ -469,7 +469,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
 
   /**
    * @param $optionLabel
-   * @param $fid
+   * @param int $fid
    *
    * @return mixed
    */
index 48ba55bd008737f9fbdc6c69db6ea77fa7d412d2..c423450ea2191f5df4425beee8e18e79482beb33 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue {
 
   /**
-   * insert/update a new entry in the database.
+   * Insert/update a new entry in the database.
    *
    * @param array $params (reference), array $ids
    *
@@ -169,7 +169,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
    * @param boolean  $is_active  Value we want to set the is_active field
@@ -184,7 +184,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 34139a6d1bb262ee83e765065262baa9855d0ff4..40ef521b2dd5e2588894937c747ea60cf59c347e 100644 (file)
@@ -255,10 +255,10 @@ WHERE     %2.id = %1";
   }
 
   /**
-   * @param $entityId
+   * @param int $entityId
    * @param string $entityTable
    * @param $amount
-   * @param null $otherParams
+   * @param array $otherParams
    */
   public static function syncLineItems($entityId, $entityTable = 'civicrm_contribution', $amount, $otherParams = NULL) {
     if (!$entityId || CRM_Utils_System::isNull($amount))
index 0315dacffb797e08cc0c653f35e6a1fcc377c8f6..c7b4d26bfe92113006968422784c57877724b7fc 100644 (file)
 class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set {
 
   /**
-   * class constructor
+   * Class constructor
    */
   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
    *
@@ -79,7 +79,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
    * @param bool $isActive value we want to set the is_active field
@@ -547,10 +547,10 @@ WHERE  id = %1";
 
   /**
    * @param CRM_Core_Form $form
-   * @param $id
+   * @param int $id
    * @param string $entityTable
    * @param bool $validOnly
-   * @param null $priceSetId
+   * @param int $priceSetId
    *
    * @return bool|false|int|null
    */
@@ -756,7 +756,7 @@ WHERE  id = %1";
   }
 
   /**
-   * build the price set form.
+   * Build the price set form.
    *
    * @param CRM_Core_Form $form
    *
@@ -865,7 +865,7 @@ return FALSE;
 }
 
   /**
-   * set daefult the price set fields.
+   * Set daefult the price set fields.
    *
    * @param CRM_Core_Form $form
    * @param $defaults
@@ -1090,7 +1090,7 @@ return 0;
 }
 
   /**
-   * Function to retrieve auto renew frequency and interval
+   * Retrieve auto renew frequency and interval
    *
    * @param int $priceSetId price set id
    *
@@ -1122,7 +1122,7 @@ return 0;
   }
 
   /**
-   * 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
    * @param  boolean  $isQuickConfig  value we want to set the is_quick_config field
index 52709e4e53412e8558a3b2559dab993b52e4afaf..6670d3bf9cb0257635359ad82433b4b9d3b4b01f 100644 (file)
@@ -187,7 +187,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO
     public $visibility_id;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field
index 895d9a2b88c2bdae5628923115350fc80b566abe..66b22f06494f4873aa389ab0e5191fb7ae1f47ac 100644 (file)
@@ -158,7 +158,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO
     public $is_active;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue
index d990cdb0de82c6011516f1fa1855c64ddb6ea4f0..d7fb79f006023c43230cdb89c0cb827944a0300f 100644 (file)
@@ -146,7 +146,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO
     public $price_field_value_id;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem
index 5645ae17b30c049dddb5ac431cd4b08539a0bd09..9f2b761dd66b0c055106efe45ab7333aefe7cda8 100644 (file)
@@ -158,7 +158,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO
     public $is_reserved;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set
index aa019413725414d7b1862b3c4147847d4cfe432c..de4a74c3d19eb5b11870c66f3de05000c6fdff82 100644 (file)
@@ -110,7 +110,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO
     public $price_set_id;
 
   /**
-   * class constructor
+   * Class constructor
    *
    * @access public
    * @return \CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity
index 815dbbc9c92f5b6094084e1816d689592baa3535..3d5b782924f1ccec299a2399726be1c50acb7141 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 c024acc78d9e4a697039c8c4cf0d7bdc5665f723..4e2416716dca42dcb4649600fd56da6160f0d428 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 e2cdd2d52c8cce0fed51614674d05dc556a43f32..21ae89399be576fd063626b0cebb87ec55cb9328 100644 (file)
@@ -59,7 +59,7 @@ class CRM_Utils_Cache {
   }
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @return object
    * @static
index 1dfb818ce74eac3ca3b65118480c7db451d9c59e..934671d15b46b3a5dbad0239718544ddbf50e326 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Utils_Check_Message {
   private $title;
 
   /**
-   * @param $name
+   * @param string $name
    * @param $message
    * @param $title
    */
index 34e5569969dae5a4460b8df24d8c8f821125e2e2..76598219a032b635b79c091b5936a500342fe9fc 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_Date {
 
   /**
-   * format a date by padding it with leading '0'.
+   * Format a date by padding it with leading '0'.
    *
    * @param array $date ('Y', 'M', 'd')
    * @param string $separator the seperator to use when formatting the date
@@ -164,7 +164,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
    *
@@ -185,7 +185,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
    *
@@ -206,7 +206,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * return abbreviated month names according to the locale
+   * Return abbreviated month names according to the locale
    *
    * @param bool $month
    *
@@ -231,7 +231,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
    *
@@ -270,7 +270,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')
@@ -421,7 +421,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * converts the date/datetime from MySQL format to ISO format
+   * Converts the date/datetime from MySQL format to ISO format
    *
    * @param string $mysql  date/datetime in MySQL format
    *
@@ -460,7 +460,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * converts the date/datetime from ISO format to MySQL format
+   * Converts the date/datetime from ISO format to MySQL format
    * Note that until CRM-14986/ 4.4.7 this was required whenever the pattern $dao->find(TRUE): $dao->save(); was
    * used to update an object with a date field was used. The DAO now checks for a '-' in date field strings
    * & runs this function if the - appears - meaning it is likely redundant in the form & BAO layers
@@ -476,7 +476,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * converts the any given date to default date format.
+   * Converts the any given date to default date format.
    *
    * @param array $params has given date-format
    * @param int $dateType type of date
@@ -702,7 +702,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,
@@ -735,7 +735,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * find whether today's date lies in
+   * Find whether today's date lies in
    * the given range
    *
    * @param  date  $startDate  start date for the range
@@ -763,7 +763,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * get start date and end from
+   * Get start date and end from
    * the given relative term and unit
    *
    * @param  date $relative eg: term.unit
@@ -790,7 +790,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Function to 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
    *
@@ -846,7 +846,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Function to calculate next payment date according to provided  unit & interval
+   * Calculate next payment date according to provided  unit & interval
    *
    * @param string $unit frequency unit like year,month, week etc..
    *
@@ -910,7 +910,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * function to check given format is valid for bith date.
+   * Check given format is valid for bith date.
    * and retrun supportable birth date format w/ qf mapping.
    *
    * @param $format given format ( eg 'M Y', 'Y M' )
@@ -941,7 +941,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
    * @param  int   $unit         frequency unit like year, month, week etc..
@@ -1610,7 +1610,7 @@ class CRM_Utils_Date {
   }
 
   /**
-   * Function to 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
    *
index 85effe9287b184f17a9fc54602b14904483470b3..ea991fdd84645913b17eaa79077bf6d9c6c02a03 100644 (file)
@@ -1331,7 +1331,7 @@ function _civicrm_api3_deprecated_contact_check_custom_params($params, $csType =
  * @param bool $dupeCheck
  * @param bool $dupeErrorArray
  * @param bool $requiredCheck
- * @param null $dedupeRuleGroupID
+ * @param int $dedupeRuleGroupID
  *
  * @return array|null
  */
@@ -1465,7 +1465,7 @@ function _civicrm_api3_deprecated_contact_check_params(
 /**
  *
  * @param $result
- * @param $activityTypeID
+ * @param int $activityTypeID
  *
  * @return array <type> $params
  */
index 0f87c043f81de366556f69c604153d0b22deaff3..a7b71b8a9f4b913e3c35a6de9a9ff0f7019827cd 100644 (file)
@@ -20,7 +20,7 @@ class CRM_Utils_FakeObject {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $arguments
    *
    * @throws Exception
index f169fb0273126ce98100375fabb5b1f29be809e9..2d298239064a50c9eace989c80a5ab7a0f0528a5 100644 (file)
@@ -95,7 +95,7 @@ class CRM_Utils_File {
   }
 
   /**
-   * create a directory given a path name, creates parent directories
+   * Create a directory given a path name, creates parent directories
    * if needed
    *
    * @param string $path  the path name
@@ -126,7 +126,7 @@ class CRM_Utils_File {
   }
 
   /**
-   * delete a directory given a path name, delete children directories
+   * Delete a directory given a path name, delete children directories
    * and files if needed
    *
    * @param string $target the path name
@@ -265,7 +265,7 @@ class CRM_Utils_File {
 
   /**
    * @param $dsn
-   * @param $fileName
+   * @param string $fileName
    * @param null $prefix
    * @param bool $isQueryString
    * @param bool $dieOnErrors
@@ -359,7 +359,7 @@ class CRM_Utils_File {
   }
 
   /**
-   * remove the 32 bit md5 we add to the fileName
+   * Remove the 32 bit md5 we add to the fileName
    * also remove the unknown tag if we added it
    */
   static function cleanFileName($name) {
@@ -369,7 +369,7 @@ class CRM_Utils_File {
   }
 
   /**
-   * @param $name
+   * @param string $name
    *
    * @return string
    */
index 5034d9b96c83b85eb01917c6e95b0337ccf31ee9..7e315dc15dff2838b880bf2b331905fe1970f95b 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_Geocode_Google {
 
   /**
-   * server to retrieve the lat/long
+   * Server to retrieve the lat/long
    *
    * @var string
    * @static
@@ -47,7 +47,7 @@ class CRM_Utils_Geocode_Google {
   static protected $_server = 'maps.googleapis.com';
 
   /**
-   * uri of service
+   * Uri of service
    *
    * @var string
    * @static
@@ -55,7 +55,7 @@ class CRM_Utils_Geocode_Google {
   static protected $_uri = '/maps/api/geocode/xml?sensor=false&address=';
 
   /**
-   * function that takes an address object and gets the latitude / longitude for this
+   * Function that takes an address object and gets the latitude / longitude for this
    * address. Note that at a later stage, we could make this function also clean up
    * the address into a more valid format
    *
index efe2b49c40bdd70e5f974b2d011054f83ae1a41f..fc9f64c4974ade95792475e0473043dc8868e1aa 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Utils_Geocode_Yahoo {
 
   /**
-   * server to retrieve the lat/long
+   * Server to retrieve the lat/long
    *
    * @var string
    * @static
@@ -48,7 +48,7 @@ class CRM_Utils_Geocode_Yahoo {
   static protected $_server = 'query.yahooapis.com';
 
   /**
-   * uri of service
+   * Uri of service
    *
    * @var string
    * @static
@@ -56,7 +56,7 @@ class CRM_Utils_Geocode_Yahoo {
   static protected $_uri = '/v1/public/yql';
 
   /**
-   * function that takes an address array and gets the latitude / longitude
+   * Function that takes an address array and gets the latitude / longitude
    * and postal code for this address. Note that at a later stage, we could
    * make this function also clean up the address into a more valid format
    *
index 21406e6f24b5fec7b6ed8263fcdf4871bf538dfa..fa8b6be2d3114f3ac0df47b2f6884a0d4496cbaa 100644 (file)
@@ -109,7 +109,7 @@ abstract class CRM_Utils_Hook {
   );
 
   /**
-   * @param $numParams
+   * @param array $numParams
    * @param $arg1
    * @param $arg2
    * @param $arg3
@@ -161,7 +161,7 @@ abstract class CRM_Utils_Hook {
   /**
    * @param $civiModules
    * @param $fnSuffix
-   * @param $numParams
+   * @param array $numParams
    * @param $arg1
    * @param $arg2
    * @param $arg3
@@ -921,7 +921,7 @@ abstract class CRM_Utils_Hook {
 
   /**
    * @param $recordBAO
-   * @param $recordID
+   * @param int $recordID
    * @param $isActive
    *
    * @return mixed
index 0a3d9f50f608e812732f7464833c0e5df5e0ef2b..b4b278955b2f9dae91a24f6e13e0c0d3eba40fe2 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Utils_JSON {
   }
 
   /**
-   * create JSON object
+   * Create JSON object
    * @deprecated
    *
    * @param  array  $params     associated array, that needs to be
@@ -72,7 +72,7 @@ class CRM_Utils_JSON {
   }
 
   /**
-   * encode json format for flexigrid, NOTE: "id" should be present in $params for each row
+   * Encode json format for flexigrid, NOTE: "id" should be present in $params for each row
    *
    * @param array $params associated array of values rows
    * @param int $page page no for selector
index 9a80593b2d8bf10c5115096332ad5c3cb0cf2643..86cdf330a3386f65d1865c4ca0ac93387cac8f86 100644 (file)
@@ -305,7 +305,7 @@ class CRM_Utils_Mail {
 
   /**
    * @param $message
-   * @param null $params
+   * @param array $params
    *
    * @return mixed
    */
@@ -327,7 +327,7 @@ class CRM_Utils_Mail {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $email
    * @param bool $useQuote
    *
index d8bae19d90868a6dd74d2385d2bf841a83b60dd8..5567541539a604d5d28ed38c3e16a72af39755a1 100644 (file)
@@ -409,7 +409,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 de8ace27afb7e7c682d6aee44e49dbdf96514300..05be0bfc6bab006eb54c2b23c0b471a9e08821e3 100644 (file)
@@ -396,7 +396,7 @@ class CRM_Utils_Migrate_Export {
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param string $daoName
    * @param null $sql
    */
index adeff2efb3d91329c8d4b513e11de98f68d827f8..f0e074cc89e29318a7964ddc793f16aaa81983de 100644 (file)
@@ -180,7 +180,7 @@ WHERE      g.name IN ( $nameString )
 
   /**
    * @param $ids
-   * @param $tableName
+   * @param string $tableName
    * @param $fields
    * @param $whereField
    * @param null $additionalWhereCond
@@ -212,7 +212,7 @@ SELECT *
 
   /**
    * @param $sql
-   * @param $tableName
+   * @param string $tableName
    * @param $fields
    */
   function sql($sql, $tableName, &$fields) {
@@ -495,8 +495,8 @@ WHERE ac.contact_id IN ( $ids )
   }
 
   /**
-   * @param $id
-   * @param $name
+   * @param int $id
+   * @param string $name
    * @param $value
    */
   function appendValue($id, $name, $value) {
@@ -585,7 +585,7 @@ WHERE ac.contact_id IN ( $ids )
   }
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param null $lastExportTime
    * @param bool $discoverContacts
    */
index 071d8cc7e1c2c6c0b58429806b8a1fb5586544b5..2de4dced64eb0ad381fd735f9754d573fd532293 100644 (file)
@@ -280,7 +280,7 @@ class CRM_Utils_Migrate_ImportJSON {
   }
 
   /**
-   * @param $tableName
+   * @param string $tableName
    */
   function populateCache($tableName) {
     if (isset($this->_lookupCache[$tableName])) {
index 69e60df32226981d58fed7dbb8f0f657fe1c73a0..82ee2f71f84a43eedbded5078cb0c616e650f8a4 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 b96562b58190249be3eb4a3ea873f2ab7fb9faef..0815708c12acbc29d121d774916ef2493f3ef203 100644 (file)
@@ -41,7 +41,7 @@ require_once 'packages/OpenFlashChart/php-ofc-library/open-flash-chart.php';
 class CRM_Utils_OpenFlashChart {
 
   /**
-   * colours.
+   * Colours.
    * @var array
    * @static
    */
index 4884a3542dcbcbf70ab9a91b2998a1065b567f68..f2f2375746630dbc04b585efb1ceca2a463f1275 100644 (file)
@@ -130,7 +130,7 @@ class CRM_Utils_PDF_Label extends TCPDF {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param bool $convert
    *
    * @return float|int|mixed
index 0bfed717b2ff1dcc77f6b4df78d827856c61e9d7..6cc6040c43265c73596aebccab353efbf634643e 100644 (file)
@@ -174,7 +174,7 @@ class CRM_Utils_PDF_Utils {
    * @param $orientation
    * @param $html
    * @param $output
-   * @param $fileName
+   * @param string $fileName
    *
    * @return string
    */
@@ -200,7 +200,7 @@ class CRM_Utils_PDF_Utils {
    * @param $margins
    * @param $html
    * @param $output
-   * @param $fileName
+   * @param string $fileName
    */
   static function _html2pdf_wkhtmltopdf($paper_size, $orientation, $margins, $html, $output, $fileName) {
     require_once 'packages/snappy/src/autoload.php';
@@ -292,7 +292,7 @@ class CRM_Utils_PDF_Utils {
   }
 
   /**
-   * @param $fileName
+   * @param string $fileName
    * @param $searchPath
    * @param $values
    * @param int $numPages
index 3632fedb77ff1810e388b8fcbc985e37b154315c..feab68279a7c86bd8b63de3e6782af6abf979ee3 100644 (file)
@@ -51,12 +51,12 @@ require_once 'Pager/Sliding.php';
 class CRM_Utils_Pager extends Pager_Sliding {
 
   /**
-   * constants for static parameters of the pager
+   * Constants for static parameters of the pager
    */
   CONST ROWCOUNT = 50, PAGE_ID = 'crmPID', PAGE_ID_TOP = 'crmPID', PAGE_ID_BOTTOM = 'crmPID_B', PAGE_ROWCOUNT = 'crmRowCount';
 
   /**
-   * the output of the pager. This is a name/value array with various keys
+   * The output of the pager. This is a name/value array with various keys
    * that an application could use to display the pager
    * @var array
    */
@@ -129,7 +129,7 @@ class CRM_Utils_Pager extends Pager_Sliding {
   }
 
   /**
-   * helper function to assign remaining pager options as good default
+   * Helper function to assign remaining pager options as good default
    * values
    *
    * @param array   $params      the set of options needed to initialize the parent
index e957a7246d172c0a4b8dafd385eba9fe50f45aca..e4fcb06b35d7d01eb3055593bb0eab6e56d426cc 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
    * @param string $sortByCharacter The character that we are potentially sorting on
@@ -57,7 +57,7 @@ class CRM_Utils_PagerAToZ {
   }
 
   /**
-   * return the all the static characters
+   * Return the all the static characters
    *
    * @return array $staticAlphabets is a array of static characters
    * @access private
@@ -69,7 +69,7 @@ class CRM_Utils_PagerAToZ {
   }
 
   /**
-   * return the all the dynamic characters
+   * Return the all the dynamic characters
    *
    * @param $query
    * @param $isDAO
@@ -97,7 +97,7 @@ class CRM_Utils_PagerAToZ {
   }
 
   /**
-   * create the links
+   * Create the links
    *
    * @param array $query The form values for search
    * @param string $sortByCharacter The character that we are potentially sorting on
index 1465efc3f4dabe190046c8dbf3a055256d727415..213f7e60bb9bd4442341f65d46d91d24eb4a4dab 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Utils_ReCAPTCHA {
   static private $_singleton = NULL;
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string the key to permit session scope's
    *
index 7663474420da6d3e5a6c54ac825acbefdd45c283..1d3bc8b509e4f507e9b275d65ab86e0b558de799 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Utils_Recent {
 
   /**
-   * max number of items in queue
+   * Max number of items in queue
    *
    * @int
    */
@@ -55,7 +55,7 @@ class CRM_Utils_Recent {
   static private $_recent = NULL;
 
   /**
-   * initialize this class and set the static variables
+   * Initialize this class and set the static variables
    *
    * @return void
    * @access public
@@ -72,7 +72,7 @@ class CRM_Utils_Recent {
   }
 
   /**
-   * return the recently viewed array
+   * Return the recently viewed array
    *
    * @return array the recently viewed array
    * @access public
@@ -84,14 +84,14 @@ 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
    * @param string $url the link for the above title
    * @param string $id object id
    * @param $type
-   * @param $contactId
-   * @param $contactName
+   * @param int $contactId
+   * @param string $contactName
    * @param array $others
    *
    * @return void
@@ -147,7 +147,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
    *
@@ -175,7 +175,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 a3021c2f11010cf84ae53d6235d94ec3873b8bc1..3581e27791c64434112e55d6fbdcad6d7f7503e6 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Utils_Request {
   static private $_singleton = NULL;
 
   /**
-   * class constructor
+   * Class constructor
    */
   function __construct() {}
 
index 4730d930a9fce9ede3cbee24c5d55b7cef0c40fd..a4111ce3ea27093876adb733193631e7f2e7b903 100644 (file)
@@ -212,7 +212,7 @@ class CRM_Utils_Rule {
   }
 
   /**
-   * check the validity of the date (in qf format)
+   * Check the validity of the date (in qf format)
    * note that only a year is valid, or a mon-year is
    * also valid in addition to day-mon-year. The date
    * specified has to be beyond today. (i.e today or later)
@@ -305,7 +305,7 @@ class CRM_Utils_Rule {
   }
 
   /**
-   * check the validity of a date or datetime (timestamp)
+   * Check the validity of a date or datetime (timestamp)
    * value which is in YYYYMMDD or YYYYMMDDHHMMSS format
    *
    * Uses PHP checkdate() - params are ( int $month, int $day, int $year )
@@ -549,7 +549,7 @@ class CRM_Utils_Rule {
   }
 
   /**
-   * see how file rules are written in HTML/QuickForm/file.php
+   * See how file rules are written in HTML/QuickForm/file.php
    * Checks to make sure the uploaded file is ascii
    *
    * @param     array     Uploaded file info (from $_FILES)
@@ -596,7 +596,7 @@ class CRM_Utils_Rule {
   }
 
   /**
-   * see how file rules are written in HTML/QuickForm/file.php
+   * See how file rules are written in HTML/QuickForm/file.php
    * Checks to make sure the uploaded file is html
    *
    * @param     array     Uploaded file info (from $_FILES)
@@ -741,7 +741,7 @@ class CRM_Utils_Rule {
   }
 
   /**
-   * check the validity of the date (in qf format)
+   * Check the validity of the date (in qf format)
    * note that only a year is valid, or a mon-year is
    * also valid in addition to day-mon-year
    *
index 20c87853474754702bcd72752abcb6c2434c6658..f1419f79a533f7535b82acaa8930d9535922b7d2 100644 (file)
@@ -35,7 +35,7 @@ class CRM_Utils_SQL_Insert {
   private $rows;
 
   /**
-   * array<string> list of column names
+   * Array<string> list of column names
    */
   private $columns;
 
index 8f56c9dc82e68cea004d280e252be815b54e22eb..a01157c9656ea4c588d49fd50dc548281dc222ee 100644 (file)
@@ -48,7 +48,7 @@
 class CRM_Utils_Sort {
 
   /**
-   * constants to determine what direction each variable
+   * Constants to determine what direction each variable
    * is to be sorted
    *
    * @var int
@@ -56,27 +56,27 @@ class CRM_Utils_Sort {
   CONST ASCENDING = 1, DESCENDING = 2, DONTCARE = 4,
 
   /**
-   * the name for the sort GET/POST param
+   * The name for the sort GET/POST param
    *
    * @var string
    */
   SORT_ID = 'crmSID', SORT_DIRECTION = 'crmSortDirection', SORT_ORDER = 'crmSortOrder';
 
   /**
-   * name of the sort function. Used to isolate session variables
+   * Name of the sort function. Used to isolate session variables
    * @var string
    */
   protected $_name;
 
   /**
-   * array of variables that influence the query
+   * Array of variables that influence the query
    *
    * @var array
    */
   public $_vars;
 
   /**
-   * the newly formulated base url to be used as links
+   * The newly formulated base url to be used as links
    * for various table elements
    *
    * @var string
@@ -84,7 +84,7 @@ class CRM_Utils_Sort {
   protected $_link;
 
   /**
-   * what's the name of the sort variable in a REQUEST
+   * What's the name of the sort variable in a REQUEST
    *
    * @var string
    */
@@ -168,7 +168,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
    * @param int $dir   the direction of the sort
@@ -182,7 +182,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
    *
@@ -219,7 +219,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * init the object
+   * Init the object
    *
    * @param string $defaultSortOrder the sort order to use by default
    *
@@ -255,7 +255,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * getter for currentSortID
+   * Getter for currentSortID
    *
    * @return int returns of the current sort id
    * @acccess public
@@ -265,7 +265,7 @@ class CRM_Utils_Sort {
   }
 
   /**
-   * getter for currentSortDirection
+   * Getter for currentSortDirection
    *
    * @return int returns of the current sort direction
    * @acccess public
index d5fbb23a8b07b6ab64d62a7db55a63b9cb911f68..c435cd7a7b739a0acb784595c66725356bc64606 100644 (file)
@@ -75,7 +75,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * given a string, replace all non alpha numeric characters and
+   * Given a string, replace all non alpha numeric characters and
    * spaces with the replacement character
    *
    * @param string $name the name to be worked on
@@ -103,7 +103,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * convert possibly underscore separated words to camel case with special handling for 'UF'
+   * Convert possibly underscore separated words to camel case with special handling for 'UF'
    * e.g
    * membership_payment returns MembershipPayment
    * @param string $string
@@ -139,7 +139,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * takes a string and returns the last tuple of the string.
+   * Takes a string and returns the last tuple of the string.
    * useful while converting file names to class names etc
    *
    * @param string $string the input string
@@ -161,7 +161,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * appends a name to a string and seperated by delimiter.
+   * Appends a name to a string and seperated by delimiter.
    * does the right thing for an empty string
    *
    * @param string $str   the string to be appended to
@@ -201,7 +201,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
    * @param boolean $utf8 attempt utf8 match on failure (default yes)
@@ -243,7 +243,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        input string
@@ -333,7 +333,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * determine if two href's are equivalent (fuzzy match)
+   * Determine if two href's are equivalent (fuzzy match)
    *
    * @param string $url1 the first url to be matched
    * @param string $url2 the second url to be matched against
@@ -358,7 +358,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * extract variable values
+   * Extract variable values
    *
    * @param  mix $query this is basically url
    *
@@ -383,7 +383,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * translate a true/false/yes/no string to a 0 or 1 value
+   * Translate a true/false/yes/no string to a 0 or 1 value
    *
    * @param string $str  the string to be translated
    *
@@ -403,7 +403,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * returns string '1' for a true/yes/1 string, and '0' for no/false/0 else returns false
+   * Returns string '1' for a true/yes/1 string, and '0' for no/false/0 else returns false
    *
    * @param string $str  the string to be translated
    *
@@ -541,7 +541,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * strip leading, trailing, double spaces from string
+   * Strip leading, trailing, double spaces from string
    * used for postal/greeting/addressee
    *
    * @param string  $string input string to be cleaned
@@ -682,7 +682,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * this function will mask part of the the user portion of an Email address (everything before the @)
+   * This function will mask part of the the user portion of an Email address (everything before the @)
    *
    * @param string $email the email address to be masked
    * @param string $maskChar the character used for masking
@@ -704,7 +704,7 @@ class CRM_Utils_String {
   }
 
   /**
-   * this function compares two strings
+   * This function compares two strings
    *
    * @param string $strOne string one
    * @param string $strTwo string two
index a6cf20d31c5992549b0a632e5cf87e4deba1d193..fd4ed0385dea356d8974a2c3cabf8cc376c3d803 100644 (file)
@@ -77,7 +77,7 @@ class CRM_Utils_Sunlight {
   }
 
   /**
-   * @param $peopleID
+   * @param int $peopleID
    *
    * @return array
    */
index 91fc83dd25e7078316edb8e0160eb4b5d93480ab..c41ef0c2512a8effbd4f8fac29cd6502f748f809 100644 (file)
@@ -1642,7 +1642,7 @@ class CRM_Utils_System {
   }
 
   /**
-   * clean url, replaces first '&' with '?'
+   * Clean url, replaces first '&' with '?'
    *
    * @param string $url
    *
index 02109a6f5262be7914afc70856393eb10ece7acf..c5c4fe761a76ccf4adfba312837ccdf03ff8ee7c 100644 (file)
@@ -5,7 +5,7 @@
  */
 abstract class CRM_Utils_System_Base {
   /**
-   * deprecated property to check if this is a drupal install. The correct method is to have functions on the UF classes for all UF specific
+   * Deprecated property to check if this is a drupal install. The correct method is to have functions on the UF classes for all UF specific
    * functions and leave the codebase oblivious to the type of CMS
    * @deprecated
    * @var bool
@@ -13,7 +13,7 @@ abstract class CRM_Utils_System_Base {
   var $is_drupal = FALSE;
 
   /**
-   * deprecated property to check if this is a joomla install. The correct method is to have functions on the UF classes for all UF specific
+   * Deprecated property to check if this is a joomla install. The correct method is to have functions on the UF classes for all UF specific
    * functions and leave the codebase oblivious to the type of CMS
    * @deprecated
    * @var bool
@@ -41,7 +41,7 @@ abstract class CRM_Utils_System_Base {
   var $supports_form_extensions = FALSE;
 
   /**
-   * if we are using a theming system, invoke theme, else just print the
+   * If we are using a theming system, invoke theme, else just print the
    * content
    *
    * @param string  $content the content that will be themed
@@ -151,7 +151,7 @@ abstract class CRM_Utils_System_Base {
   /**
    * Determine the native ID of the CMS user
    *
-   * @param $username
+   * @param string $username
    *
    * @throws CRM_Core_Exception
    * @return int|NULL
@@ -297,7 +297,7 @@ abstract class CRM_Utils_System_Base {
   function getLoggedInUniqueIdentifier() {}
 
   /**
-   * return a UFID (user account ID from the UserFramework / CMS system being based on the user object
+   * Return a UFID (user account ID from the UserFramework / CMS system being based on the user object
    * passed, defaulting to the logged in user if not passed. Note that ambiguous situation occurs
    * in CRM_Core_BAO_UFMatch::synchronize - a cleaner approach would seem to be resolving the user id before calling
    * the function
@@ -315,7 +315,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * return a unique identifier (usually an email address or username) from the UserFramework / CMS system being based on the user object
+   * Return a unique identifier (usually an email address or username) from the UserFramework / CMS system being based on the user object
    * passed, defaulting to the logged in user if not passed. Note that ambiguous situation occurs
    * in CRM_Core_BAO_UFMatch::synchronize - a cleaner approach would seem to be resolving the unique identifier before calling
    * the function
@@ -348,7 +348,7 @@ abstract class CRM_Utils_System_Base {
   }
 
   /**
-   * output code from error function
+   * Output code from error function
    * @param string $content
    */
   function outputError($content) {
index 309274672c7368fd512cfdd37ce9390667f07c6b..26e29320f55d45f5208aeb21623521441d494b73 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
 
   /**
-   * create a user in Drupal.
+   * Create a user in Drupal.
    *
    * @param array  $params associated array
    * @param string $mail email id for cms user
@@ -105,8 +105,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    *  @param string $ufName User name
    */
   /**
-   * @param $ufID
-   * @param $ufName
+   * @param int $ufID
+   * @param string $ufName
    */
   function updateCMSName($ufID, $ufName) {
     // CRM-5555
@@ -232,7 +232,7 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
 
 
   /**
-   * sets the title of the page
+   * Sets the title of the page
    *
    * @param string $title
    * @param null $pageTitle
@@ -414,7 +414,7 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * rewrite various system urls to https
+   * Rewrite various system urls to https
    *
    * @param null
    *
@@ -427,7 +427,7 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param mix $action the default action if one is pre-specified
    *
@@ -531,7 +531,7 @@ AND    u.status = 1
    * Load user into session
    */
   /**
-   * @param $username
+   * @param string $username
    *
    * @return bool
    */
@@ -570,7 +570,7 @@ AND    u.status = 1
   /**
    * Determine the native ID of the CMS user
    *
-   * @param $username
+   * @param string $username
    * @return int|NULL
    */
   function getUfId($username) {
@@ -654,7 +654,7 @@ AND    u.status = 1
   }
 
   /**
-   * load drupal bootstrap
+   * Load drupal bootstrap
    *
    * @param array $params Either uid, or name & pass.
    * @param boolean $loadUser boolean Require CMS user load.
@@ -811,7 +811,7 @@ AND    u.status = 1
   }
 
   /**
-   * check is user logged in.
+   * Check is user logged in.
    *
    * @return boolean true/false.
    */
index f269514fa99e1e04b5f6cb75770181525ce6cd50..5bf6056ec39a54486838cadabbc3486cca8bd3b8 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
 
   /**
-   * if we are using a theming system, invoke theme, else just print the
+   * If we are using a theming system, invoke theme, else just print the
    * content
    *
    * @param string  $content the content that will be themed
@@ -73,7 +73,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * create a user in Drupal.
+   * Create a user in Drupal.
    *
    * @param array  $params associated array
    * @param string $mail email id for cms user
@@ -125,8 +125,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    *  @param string $ufName User name
    */
   /**
-   * @param $ufID
-   * @param $ufName
+   * @param int $ufID
+   * @param string $ufName
    */
   function updateCMSName($ufID, $ufName) {
     // CRM-5555
@@ -211,7 +211,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * get the drupal destination string. When this is passed in the
+   * Get the drupal destination string. When this is passed in the
    * URL the user will be directed to it after filling in the drupal form
    *
    * @param CRM_Core_Form $form Form object representing the 'current' form - to which the user will be returned
@@ -249,7 +249,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * sets the title of the page
+   * Sets the title of the page
    *
    * @param string $title
    * @param null $pageTitle
@@ -396,7 +396,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * rewrite various system urls to https
+   * Rewrite various system urls to https
    *
    * @param null
    *
@@ -409,7 +409,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param mix $action the default action if one is pre-specified
    *
@@ -521,7 +521,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   /**
    * Determine the native ID of the CMS user
    *
-   * @param $username
+   * @param string $username
    * @return int|NULL
    */
   function getUfId($username) {
@@ -596,7 +596,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.
    * @param boolean $loadUser boolean Require CMS user load.
@@ -756,7 +756,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * check is user logged in.
+   * Check is user logged in.
    *
    * @return boolean true/false.
    */
index 454a61c7b1ed0b787f53b427d0ba3d013b0997f2..34e2f1a731077aef44ab554b3dfa1788420213b6 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
 
   /**
-   * create a user in Drupal.
+   * Create a user in Drupal.
    *
    * @param array  $params associated array
    * @param string $mail email id for cms user
@@ -173,7 +173,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   }
 
   /**
-   * get the drupal destination string. When this is passed in the
+   * Get the drupal destination string. When this is passed in the
    * URL the user will be directed to it after filling in the drupal form
    *
    * @param CRM_Core_Form $form Form object representing the 'current' form - to which the user will be returned
@@ -225,7 +225,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
 
 
   /**
-   * sets the title of the page
+   * Sets the title of the page
    *
    * @param string $title
    * @param string $pageTitle
@@ -496,7 +496,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   /**
    * Determine the native ID of the CMS user
    *
-   * @param $username
+   * @param string $username
    * @return int|NULL
    */
   function getUfId($username) {
@@ -529,7 +529,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.
    * @param boolean $loadUser boolean Require CMS user load.
index 587284045541d87f30b4dfd12fb2114b5af8972a..cc32c9cd61fe3fc4bff83352fcf29ef19b313a17 100644 (file)
@@ -465,7 +465,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param mix $action the default action if one is pre-specified
    *
index f8fc2190af65e96744529c007367d5505859d7cf..8471667dc87d08456a0cd60983c70ad957c0ed36 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * create a user of Joomla.
+   * Create a user of Joomla.
    *
    * @param array  $params associated array
    * @param string $mail email id for cms user
@@ -175,7 +175,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * sets the title of the page
+   * Sets the title of the page
    *
    * @param string $title title to set
    * @param string $pageTitle
@@ -411,7 +411,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * rewrite various system urls to https
+   * Rewrite various system urls to https
    *
    * @return void
    * access public
@@ -422,7 +422,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param $action the default action if one is pre-specified
    *
@@ -440,7 +440,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
    *
@@ -626,7 +626,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * load joomla bootstrap
+   * Load joomla bootstrap
    *
    * @param $params array with uid or name and password
    * @param $loadUser boolean load cms user?
@@ -683,7 +683,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * check is user logged in.
+   * Check is user logged in.
    *
    * @return boolean true/false.
    */
@@ -863,7 +863,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   }
 
   /**
-   * output code from error function
+   * Output code from error function
    * @param string $content
    */
   function outputError($content) {
index 5a0ef48d36cafb092d8c0d886b402a867adad84c..05e804f7ea5948b2fbb6b28638496d24526595b2 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
   static $ufClass = NULL;
 
   /**
-   * sets the title of the page
+   * Sets the title of the page
    *
    * @param string $title title  for page
    * @param $pageTitle
@@ -60,7 +60,7 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
   }
 
   /**
-   * given a permission string, check for access requirements
+   * Given a permission string, check for access requirements
    *
    * @param string $str the permission to check
    *
@@ -123,7 +123,7 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param the default action if one is pre-specified
    *
@@ -135,7 +135,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
    *
index 9176383c85d4d29f9c06074711b721a462ca1cfd..553f2052d52b21b57acef6864dc17a21b3e8b0c5 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
   }
 
   /**
-   * sets the title of the page
+   * Sets the title of the page
    *
    * @param string $title
    * @param null $pageTitle
@@ -133,7 +133,7 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param mix $action the default action if one is pre-specified
    *
index dbe0356b1b2ece262d07b020c94644e126249d93..54d3b5c0a38468ec2ed17b012db6896a013544da 100644 (file)
@@ -237,7 +237,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * rewrite various system urls to https
+   * Rewrite various system urls to https
    *
    * @param null
    *
@@ -251,7 +251,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * figure out the post url for the form
+   * Figure out the post url for the form
    *
    * @param mix $action the default action if one is pre-specified
    *
@@ -481,7 +481,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * load wordpress bootstrap
+   * Load wordpress bootstrap
    *
    * @param $name string  optional username for login
    * @param $pass string  optional password for login
@@ -663,7 +663,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * check is user logged in.
+   * Check is user logged in.
    *
    * @return boolean true/false.
    */
@@ -764,7 +764,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   }
 
   /**
-   * get timezone as a string
+   * Get timezone as a string
    * @return string Timezone e.g. 'America/Los_Angeles'
    */
   function getTimeZoneString() {
index a70ad242676ea86fb0dfe454b935b4216ce5f7b2..a55e8efabb40eb57659a9516c15b8add082b3d0d 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
    *
@@ -66,7 +66,7 @@ class CRM_Utils_Time {
   }
 
   /**
-   * set the given time
+   * Set the given time
    *
    * @param string $newDateTime  a date formatted with strtotime
    * @param string $returnFormat format in which date is to be retrieved
index 290e68c86db18c6997d156f5e6b80b1ed397bdd5..1b27afc40e2c6ccf455484c454b437e57d457367 100644 (file)
@@ -185,7 +185,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * get< the regex for token replacement
+   * Get< the regex for token replacement
    *
    * @param string $token_type a string indicating the the type of token to be used in the expression
    *
@@ -198,7 +198,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
    *
@@ -1079,7 +1079,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * gives required details of contacts in an indexed array format so we
+   * Gives required details of contacts in an indexed array format so we
    * can iterate in a nice loop and do token evaluation
    *
    * @param $contactIDs
@@ -1240,7 +1240,7 @@ class CRM_Utils_Token {
   }
 
   /**
-   * gives required details of contribuion in an indexed array format so we
+   * Gives required details of contribuion in an indexed array format so we
    * can iterate in a nice loop and do token evaluation
    *
    * @param array $contributionIDs
@@ -1312,7 +1312,7 @@ class CRM_Utils_Token {
     return $memberships['values'];
   }
   /**
-   * replace greeting tokens exists in message/subject
+   * Replace greeting tokens exists in message/subject
    *
    * @access public
    */
@@ -1485,7 +1485,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';
index eaae076c0096a7387ab66be0ff2c6e55c5adb22a..e8cb8e5ec615f770b75474f9adaa9497882924a0 100644 (file)
@@ -88,7 +88,7 @@ class CRM_Utils_Tree {
   /**
    * Constructor for the tree.
    *
-   * @param $nodeName
+   * @param string $nodeName
    *
    * @internal param string $rootNode
    *
@@ -145,7 +145,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * check if node is a leaf node.
+   * Check if node is a leaf node.
    * Currently leaf nodes are strings and non-leaf nodes are arrays
    *
    * @param array(
@@ -230,7 +230,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * print the tree
+   * Print the tree
    *
    * @param none
    *
index a5d0dc994f022f92cf0c2a93c3ca1158b5a96656..0856c985b282784b56810599d8c25a4542aa8c8a 100644 (file)
@@ -39,7 +39,7 @@ class CRM_Utils_Weight {
   static $SIGNABLE_FIELDS = array('reset', 'dao', 'idName', 'url', 'filter'); // 'id','src','dst','dir'
 
   /**
-   * correct duplicate weight entries by putting them (duplicate weights) in sequence.
+   * Correct duplicate weight entries by putting them (duplicate weights) in sequence.
    *
    * @param string  $daoName full name of the DAO
    * @param array   $fieldValues field => value to be used in the WHERE
@@ -85,7 +85,7 @@ class CRM_Utils_Weight {
    *
    * @param string $daoName full name of the DAO
    * $param integer $weight the weight to be removed
-   * @param $fieldID
+   * @param int $fieldID
    * @param array $fieldValues field => value to be used in the WHERE
    * @param string $weightField field which contains the weight value,
    * defaults to 'weight'
@@ -181,7 +181,7 @@ class CRM_Utils_Weight {
   }
 
   /**
-   * returns the new calculated weight.
+   * Returns the new calculated weight.
    *
    * @param string  $daoName     full name of the DAO
    * @param array   $fieldValues field => value to be used in the WHERE
@@ -219,7 +219,7 @@ class CRM_Utils_Weight {
   }
 
   /**
-   * returns the highest weight.
+   * Returns the highest weight.
    *
    * @param string $daoName full name of the DAO
    * @param array  $fieldValues field => value to be used in the WHERE
@@ -239,7 +239,7 @@ class CRM_Utils_Weight {
   }
 
   /**
-   * returns the default weight ( highest weight + 1 ) to be used.
+   * Returns the default weight ( highest weight + 1 ) to be used.
    *
    * @param string $daoName full name of the DAO
    * @param array  $fieldValues field => value to be used in the WHERE
@@ -339,7 +339,7 @@ class CRM_Utils_Weight {
   /**
    * @param $rows
    * @param string $daoName
-   * @param $idName
+   * @param string $idName
    * @param $returnURL
    * @param null $filter
    */
index 1a59ce43db67066ce88e720c63a7cf3eed6490bf..7112996141c197594ec90edccb20bd48b5b620cc 100644 (file)
@@ -290,7 +290,7 @@ class civicrm_api3 {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @return bool
    */
   public function is_set($name) {
index 3e11a82041bdda694e8d09748b20c11f3328e48c..c90509826f40066fb49c41ecc898a0db13aa6535 100644 (file)
@@ -50,7 +50,7 @@
  */
 function civicrm_api3_address_create(&$params) {
   /**
-   * if street_parsing, street_address has to be parsed into
+   * If street_parsing, street_address has to be parsed into
    * separate parts
    */
   if (array_key_exists('street_parsing', $params)) {
index 36c02f416d928f28a648133b25bc26da5447d15b..9ad8ff8fd2235b72e910502f4cf9f9b2c587192f 100644 (file)
@@ -296,7 +296,7 @@ function civicrm_api3_contact_delete($params) {
  * @param bool $dupeCheck
  * @param bool $dupeErrorArray
  * @param bool $obsoletevalue
- * @param null $dedupeRuleGroupID
+ * @param int $dedupeRuleGroupID
  *
  * @return null
  * @throws API_Exception
index 322a516e4a87910d9fb4d6b5d420372be5d5c7db..3053bdd8a641d91f0030d9c04a27ae5c84770119 100644 (file)
@@ -208,7 +208,7 @@ function civicrm_api3_event_delete($params) {
  */
 /**
  * @param $event
- * @param $event_id
+ * @param int $event_id
  */
 function _civicrm_api3_event_getisfull(&$event, $event_id) {
   $eventFullResult = CRM_Event_BAO_Participant::eventFull($event_id, 1);
index 39d978c4b9bb6e1d169351a32c8dfa13a24f966f..ce4103b25d4cf223f3957fa3a5d76b7b8a497f75 100644 (file)
@@ -96,7 +96,7 @@ function _civicrm_api3_mailing_contact_get_spec(&$params) {
 
 /**
  * @param $type
- * @param $contactID
+ * @param int $contactID
  * @param $offset
  * @param $limit
  * @param $selectFields
@@ -210,7 +210,7 @@ LIMIT %2, %3
 }
 
 /**
- * @param $contactID
+ * @param int $contactID
  * @param $offset
  * @param $limit
  * @param $sort
@@ -250,7 +250,7 @@ AND        meb.id IS NULL
 }
 
 /**
- * @param $contactID
+ * @param int $contactID
  * @param $offset
  * @param $limit
  * @param $sort
index 03582db73e5d40700138fd89081e1604b1da33c3..1893186bdf72e06498e9d9055179c523a9d7300c 100644 (file)
@@ -228,7 +228,7 @@ function civicrm_api3_membership_get($params) {
  * as stable as possible
  *
  * @param array $params parameters passed into get function
- * @param $membershipTypeId
+ * @param int $membershipTypeId
  * @param $activeOnly
  *
  * @return array result for calling function
@@ -250,7 +250,7 @@ function _civicrm_api3_membership_get_customv2behaviour(&$params, $membershipTyp
  *
  * @param array $params parameters passed into get function
  * @param $membershipValues
- * @param $contactID
+ * @param int $contactID
  *
  * @return array result for calling function
  */
index 23752ce5d84d85e73c360f3b3d323aa3ffcf872a..3abff8b96b35ab184f6b5374e08c65df8f0c5e20 100644 (file)
@@ -132,7 +132,7 @@ function civicrm_api3_membership_status_delete($params) {
  * This API is used for deriving Membership Status of a given Membership
  * record using the rules encoded in the membership_status table.
  *
- * @param $membershipParams
+ * @param array $membershipParams
  *
  * @throws API_Exception
  *
index 6a24544ff7ac018918ac78900cb22d1688420501..6a5ad34b6577299bac5fb28ccd84cd34a27353db 100644 (file)
@@ -129,8 +129,8 @@ function civicrm_api3_pledge_payment_get($params) {
 }
 
 /**
- * @param $pledgeId
- * @param $paymentStatusId
+ * @param int $pledgeId
+ * @param int $paymentStatusId
  * @param $paymentIds
  *
  * @return mixed
index 6d7536bdf997a49f28ea0797a8b1d853f4faa239..b78980a7799b3a8c4bb80c8c2c510385249a44b9 100644 (file)
@@ -689,7 +689,7 @@ function _civicrm_api3_map_profile_fields_to_entity(&$field) {
  * @todo this should be handled by the api wrapper using getfields info - need to check
  * how we add a a pseudoconstant to this pseudo api to make that work
  *
- * @param $profileID
+ * @param int $profileID
  *
  * @return integer|string
  * @throws CiviCRM_API3_Exception
index 64825db98089a609e55999d7033706505fdcd534..3a7f0033dbb82087a70fa867e7a14163f23f55a3 100644 (file)
@@ -1253,7 +1253,7 @@ function _civicrm_api3_basic_create_fallback($bao_name, &$params) {
  * Function to do a 'standard' api del - when the api is only doing a $bao::del then use this
  * if api::del doesn't exist it will try DAO delete method
  *
- * @param $bao_name
+ * @param string $bao_name
  * @param array $params
  *
  * @return array API result array
@@ -1293,7 +1293,7 @@ function _civicrm_api3_basic_delete($bao_name, &$params) {
  *
  * @param array $returnArray - array to append custom data too - generally $result[4] where 4 is the entity id.
  * @param string $entity  e.g membership, event
- * @param $entity_id
+ * @param int $entity_id
  * @param int $groupID - per CRM_Core_BAO_CustomGroup::getTree
  * @param int $subType e.g. membership_type_id where custom data doesn't apply to all membership types
  * @param string $subName - Subtype of entity
@@ -1422,7 +1422,7 @@ function _civicrm_api3_validate_date(&$params, &$fieldName, &$fieldInfo) {
  * we accept 'whatever strtotime accepts'
  *
  * @param string $dateValue
- * @param $fieldName
+ * @param string $fieldName
  * @param $fieldType
  *
  * @throws Exception
index debefb2925b073d0778f5299f764d52e7019738e..02b50b994cdf6ec95d01889ec221c778311e3a65 100644 (file)
@@ -63,7 +63,7 @@ function civicrm_setup($filesDirectory) {
 }
 
 /**
- * @param $name
+ * @param string $name
  * @param $buffer
  */
 function civicrm_write_file($name, &$buffer) {
@@ -130,7 +130,7 @@ function civicrm_main(&$config) {
 
 /**
  * @param $dsn
- * @param $fileName
+ * @param string $fileName
  * @param bool $lineMode
  */
 function civicrm_source($dsn, $fileName, $lineMode = FALSE) {
index db9a3907d044c45f0bbf147a71a7c43d9f77f47a..cb18967a2fce3ec50924fdce2c30f0ead1565527 100644 (file)
@@ -587,7 +587,7 @@ class InstallRequirements {
   }
 
   /**
-   * @param $funcName
+   * @param string $funcName
    * @param $testDetails
    *
    * @return bool
@@ -649,7 +649,7 @@ class InstallRequirements {
   }
 
   /**
-   * @param $filename
+   * @param string $filename
    * @param $testDetails
    * @param bool $absolute
    */
@@ -675,7 +675,7 @@ class InstallRequirements {
   }
 
   /**
-   * @param $filename
+   * @param string $filename
    * @param $testDetails
    */
   function requireNoFile($filename, $testDetails) {
@@ -688,7 +688,7 @@ class InstallRequirements {
   }
 
   /**
-   * @param $filename
+   * @param string $filename
    * @param $testDetails
    */
   function moveFileOutOfTheWay($filename, $testDetails) {
@@ -703,7 +703,7 @@ class InstallRequirements {
   }
 
   /**
-   * @param $filename
+   * @param string $filename
    * @param $testDetails
    * @param bool $absolute
    */
@@ -729,7 +729,7 @@ class InstallRequirements {
   }
 
   /**
-   * @param $moduleName
+   * @param string $moduleName
    * @param $testDetails
    */
   function requireApacheModule($moduleName, $testDetails) {
@@ -741,7 +741,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $testDetails
    */
@@ -802,7 +802,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $database
    * @param $testDetails
@@ -837,7 +837,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $database
    * @param $testDetails
@@ -867,7 +867,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $database
    * @param $testDetails
@@ -908,7 +908,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $database
    * @param $testDetails
@@ -957,7 +957,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $testDetails
    */
@@ -989,7 +989,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $database
    * @param $minValueKB
@@ -1025,7 +1025,7 @@ class InstallRequirements {
 
   /**
    * @param $server
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $database
    * @param $testDetails
index b280aa471b61bd8fe8b85a6f00d112316f209ebc..29d2a682b5904a4cc78051dcbc53cf807c218771 100644 (file)
@@ -7,7 +7,7 @@ class test_extension_manager_paymenttest extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * singleton function used to manage this object
+   * Singleton function used to manage this object
    *
    * @param string  $mode the mode of operation: live or test
    * @param array  $paymentProcessor the details of the payment processor being invoked
index 74a91049cae25f89eaa336d0588a9a5af37e79bc..0345e7117eac5c1344ae5e6d89b8f630fa6d4d7d 100644 (file)
@@ -28,7 +28,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * testcases for create() method
+   * Testcases for create() method
    * create() method Add/Edit activity.
    */
   function testCreate() {
@@ -68,7 +68,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * testcase for getContactActivity() method.
+   * Testcase for getContactActivity() method.
    * getContactActivity() method get activities detail for given target contact id
    */
   function testGetContactActivity() {
@@ -103,7 +103,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * testcase for retrieve() method.
+   * Testcase for retrieve() method.
    * retrieve($params, $defaults) method return activity detail for given params
    *                              and set defaults.
    */
@@ -151,7 +151,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * testcase for deleteActivity() method.
+   * Testcase for deleteActivity() method.
    * deleteActivity($params) method deletes activity for given params.
    */
   function testDeleteActivity() {
@@ -198,7 +198,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * testcase for deleteActivityTarget() method.
+   * Testcase for deleteActivityTarget() method.
    * deleteActivityTarget($activityId) method deletes activity target for given activity id.
    */
   function testDeleteActivityTarget() {
@@ -239,7 +239,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * testcase for deleteActivityAssignment() method.
+   * Testcase for deleteActivityAssignment() method.
    * deleteActivityAssignment($activityId) method deletes activity assignment for given activity id.
    */
   function testDeleteActivityAssignment() {
@@ -280,7 +280,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method
    */
   function testGetActivitiesCountforAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -309,7 +309,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method
    */
   function testGetActivitiesCountforNonAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -339,7 +339,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method
    */
   function testGetActivitiesCountforContactSummary() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -368,7 +368,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method
    */
   function testGetActivitiesCountforContactSummaryWithNoActivities() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -396,7 +396,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getActivities BAO method
+   * Test getActivities BAO method
    */
   function testGetActivitiesforAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -431,7 +431,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getActivities BAO method
+   * Test getActivities BAO method
    */
   function testGetActivitiesforNonAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -474,7 +474,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getActivities BAO method
+   * Test getActivities BAO method
    */
   function testGetActivitiesforContactSummary() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -529,7 +529,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getActivities BAO method
+   * Test getActivities BAO method
    */
   function testGetActivitiesforContactSummaryWithNoActivities() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
index 1fab4fb6441f3b2bd568bcd4ebe326709cb56b58..dbd606818b592816f10b154767c2c5673ab0636d 100644 (file)
@@ -204,7 +204,7 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase {
     }
   }
   /**
-   * data provider for test process membership
+   * Data provider for test process membership
    * @return array
    */
   function getMembershipData() {
index 1acfb3053088c695e14341b113cc5c469cee12cc..1f739463ec09129ca9e23e206a34555ae7f28755 100644 (file)
@@ -23,7 +23,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for add( )
+   * Test case for add( )
    * test with empty params.
    */
   function testAddWithEmptyParams() {
@@ -35,7 +35,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for add( )
+   * Test case for add( )
    * test with names
    * (create and update modes)
    */
@@ -76,7 +76,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for add( )
+   * Test case for add( )
    * test with all contact params
    * (creat and update modes)
    */
@@ -227,7 +227,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for add( )
+   * Test case for add( )
    * test with All contact types.
    */
   function testAddWithAllContactTypes() {
@@ -300,7 +300,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for create( )
+   * Test case for create( )
    * test with missing params.
    */
   function testCreateWithEmptyParams() {
@@ -315,7 +315,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for create( )
+   * Test case for create( )
    * test with all params.
    * ( create and update modes ).
    */
@@ -509,7 +509,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for resolveDefaults( )
+   * Test case for resolveDefaults( )
    * test all pseudoConstant, stateProvince, country.
    */
   function testResolveDefaults() {
@@ -546,7 +546,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for retrieve( )
+   * Test case for retrieve( )
    * test with all values.
    */
   function testRetrieve() {
@@ -646,7 +646,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for deleteContact( )
+   * Test case for deleteContact( )
    */
   function testDeleteContact() {
     $contactParams = $this->contactParams();
@@ -731,7 +731,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for createProfileContac( )
+   * Test case for createProfileContac( )
    * test with all params.
    * ( create and update modes )
    */
@@ -1120,7 +1120,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for getContactDetails( )
+   * Test case for getContactDetails( )
    */
   function testGetContactDetails() {
     //get the contact params
@@ -1146,7 +1146,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for
+   * Test case for
    * importableFields( ) and exportableFields( )
    */
   function testFields() {
@@ -1172,7 +1172,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for getPrimaryEmail( )
+   * Test case for getPrimaryEmail( )
    *
    */
   function testGetPrimaryEmail() {
@@ -1196,7 +1196,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for getPrimaryOpenId( )
+   * Test case for getPrimaryOpenId( )
    *
    */
   function testGetPrimaryOpenId() {
@@ -1221,7 +1221,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for matchContactOnEmail( )
+   * Test case for matchContactOnEmail( )
    *
    */
   function testMatchContactOnEmail() {
@@ -1243,7 +1243,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for getContactType( )
+   * Test case for getContactType( )
    *
    */
   function testGetContactType() {
@@ -1263,7 +1263,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for displayName( )
+   * Test case for displayName( )
    *
    */
   function testDisplayName() {
@@ -1291,7 +1291,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for getDisplayAndImage( )
+   * Test case for getDisplayAndImage( )
    *
    */
   function testGetDisplayAndImage() {
@@ -1338,7 +1338,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   //    }
 
   /**
-   * build common params
+   * Build common params
    *
    */
   private function contactParams() {
index 7180400384b005b0bb7ba5ed1267cd27a186a227..ef73bc1599b2889f419eb178b8c10a1e1ba7899c 100644 (file)
@@ -97,7 +97,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * search with only type
+   * Search with only type
    * success expected.
    */
   function testSearchWithType() {
@@ -161,7 +161,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * search with only subtype
+   * Search with only subtype
    * success expected.
    */
   function testSearchWithSubype() {
@@ -208,7 +208,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * search with type as well as subtype
+   * Search with type as well as subtype
    * success expected.
    */
   function testSearchWithTypeSubype() {
@@ -255,7 +255,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * search with invalid type or subtype
+   * Search with invalid type or subtype
    */
   function testSearchWithInvalidData() {
     // for invalid type
@@ -289,7 +289,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * search with wrong type or subtype
+   * Search with wrong type or subtype
    */
   function testSearchWithWrongdData() {
 
index af6afa3a901faa2974f87b6478ed4120dc926b83..6a87759c1330a4a38735f760c37d1e08463ca088 100644 (file)
@@ -70,7 +70,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * methods create Contact with valid data
+   * Methods create Contact with valid data
    * success expected
    *
    */
@@ -148,7 +148,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * update the contact with no subtype to a valid subtype
+   * Update the contact with no subtype to a valid subtype
    * success expected
    */
   function testUpdateContactNosubtypeToValid() {
@@ -200,7 +200,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * update the contact with subtype to another valid subtype
+   * Update the contact with subtype to another valid subtype
    * success expected
    */
   function testUpdateContactSubtype() {
index 35e8258c4098a6cd95bd251d615d662cbb6a7bd6..977d26f652630f9069ac4977dd90b4fd40d11aac 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test contactTypes() and subTypes() methods with valid data
+   * Test contactTypes() and subTypes() methods with valid data
    * success expected
    */
   function testGetMethods() {
@@ -123,7 +123,7 @@ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test subTypes() methods with invalid data
+   * Test subTypes() methods with invalid data
    */
   function testGetMethodsInvalid() {
 
@@ -137,7 +137,7 @@ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test add() methods with valid data
+   * Test add() methods with valid data
    * success expected
    */
   function testAdd() {
@@ -170,7 +170,7 @@ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test add() with invalid data
+   * Test add() with invalid data
    */
   function testAddInvalid1() {
 
@@ -210,7 +210,7 @@ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test del() with valid data
+   * Test del() with valid data
    * success expected
    */
   function testDel() {
@@ -230,7 +230,7 @@ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test del() with invalid data
+   * Test del() with invalid data
    */
   function testDelInvalid() {
 
index d33dcfbcca2ba2897c149bc0261de8cd86fc6008..60037a0c05470b927da17eab34f5eb094130f441 100644 (file)
@@ -100,7 +100,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * methods create relationshipType with valid data
+   * Methods create relationshipType with valid data
    * success expected
    *
    */
@@ -161,7 +161,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * methods create relationshipe within same contact type with invalid Relationships
+   * Methods create relationshipe within same contact type with invalid Relationships
    *
    */
   function testRelationshipCreateInvalidWithinSameType() {
@@ -189,7 +189,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * methods create relationshipe within diff contact type with invalid Relationships
+   * Methods create relationshipe within diff contact type with invalid Relationships
    *
    */
   function testRelCreateInvalidWithinDiffTypeSpocorIndivi() {
@@ -242,7 +242,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * methods create relationshipe within same contact type with valid data
+   * Methods create relationshipe within same contact type with valid data
    * success expected
    *
    */
@@ -271,7 +271,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * methods create relationshipe within different contact type with valid data
+   * Methods create relationshipe within different contact type with valid data
    * success expected
    *
    */
index cd3fb1c5b49bbe0754a18b7be62e9d4aceaf21a2..0cf02de5f42d69e131201cfc59aaf58780f3eb46 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase {
   protected function tearDown() {}
 
   /**
-   * test case for add( )
+   * Test case for add( )
    */
   function testAdd() {
 
@@ -71,7 +71,7 @@ class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for getGroupId( )
+   * Test case for getGroupId( )
    */
   function testGetGroupId() {
 
index 17c67b4ce5330c9581148bb993c5d7b92a262fdb..f87e6dc91d2bf4e0c58190d484170345dc9222e1 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for add( )
+   * Test case for add( )
    */
   function testAddSimple() {
 
index 4ca46625e957c6fd30f402b61c586f3f9ba2666f..aa8162e9e2af6588a949540f37dab63f3e731c16 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Contribute_BAO_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method (create Contribution Page)
+   * Create() method (create Contribution Page)
    */
   function testCreate() {
 
@@ -107,7 +107,7 @@ class CRM_Contribute_BAO_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * test setValues() method
+   * Test setValues() method
    */
   function testSetValues() {
 
@@ -130,7 +130,7 @@ class CRM_Contribute_BAO_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * test copy() method
+   * Test copy() method
    */
   function testcopy() {
     $params = array(
@@ -162,7 +162,7 @@ class CRM_Contribute_BAO_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * test checkRecurPaymentProcessor() method
+   * Test checkRecurPaymentProcessor() method
    */
   function testcheckRecurPaymentProcessor() {
     //@todo paypalpro create seems to fail silently without causing this class to fail
index e7e5af1c9a4108cf7db91c189b357ec367e4bf7c..94a5f63c157f4a970280c725d3e893f038869b53 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Contribute_BAO_ContributionRecurTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that an object can be retrieved & saved (per CRM-14986)
+   * 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
    */
   function testFindSave() {
@@ -80,7 +80,7 @@ class CRM_Contribute_BAO_ContributionRecurTest extends CiviUnitTestCase {
   }
 
   /**
-   * test cancellation works per CRM-14986
+   * Test cancellation works per CRM-14986
    * we are checking for absence of error
    */
   function testCancelRecur() {
index b0bf9264d16c8fb13d58c93fbf8e77cf4878e86e..6e0eb268d07c283afd6aae0c9ba754817c1efe55 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method (create and update modes)
+   * Create() method (create and update modes)
    */
   function testCreate() {
     $contactId = Contact::createIndividual();
@@ -100,7 +100,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method with custom data
+   * Create() method with custom data
    */
   function testCreateWithCustomData() {
     $contactId = Contact::createIndividual();
@@ -172,7 +172,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * deleteContribution() method
+   * DeleteContribution() method
    */
   function testDeleteContribution() {
     $contactId = Contact::createIndividual();
@@ -211,7 +211,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * create honor-contact method
+   * Create honor-contact method
    */
   function testcreateAndGetHonorContact() {
     $firstName = 'John_' . substr(sha1(rand()), 0, 7);
@@ -295,7 +295,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * display sort name during
+   * Display sort name during
    * contribution batch update through profile
    * sortName();
    */
index 92e4353b3fe86c9412d11666441625a2df496df4..f5a2a4c0a11788a45fe118a8de94367a03823e86 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $params = array(
@@ -72,7 +72,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrive()
+   * Check method retrive()
    */
   function testRetrieve() {
     $params = array(
@@ -90,7 +90,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method setIsActive()
+   * Check method setIsActive()
    */
   function testSetIsActive() {
     $params = array(
@@ -111,7 +111,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testdel() {
     $params = array(
index aa598ca63a102e890d213b51cfef15b9a1fcadb6..9b3f523663a0f02008c0075f79b0a4384f94ac0d 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Contribute_BAO_ManagePremiumsTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $ids = array();
@@ -72,7 +72,7 @@ class CRM_Contribute_BAO_ManagePremiumsTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrieve( )
+   * Check method retrieve( )
    */
   function testRetrieve() {
     $ids = array();
@@ -94,7 +94,7 @@ class CRM_Contribute_BAO_ManagePremiumsTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method setIsActive( )
+   * Check method setIsActive( )
    */
   function testSetIsActive() {
     $ids = array();
@@ -120,7 +120,7 @@ class CRM_Contribute_BAO_ManagePremiumsTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del( )
+   * Check method del( )
    */
   function testDel() {
     $ids = array();
index 30092c9e56717d90b07c400075d112856f41c363..b94cc4e9c27b00dfca51c6096065973022cf3dc9 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method (create and update modes)
+   * Create() method (create and update modes)
    */
   function testCreate() {
     $contactId = Contact::createIndividual();
@@ -250,7 +250,7 @@ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * getValues() method (get Address fields)
+   * GetValues() method (get Address fields)
    */
   function testGetValues() {
     $contactId = Contact::createIndividual();
@@ -290,7 +290,7 @@ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * parseStreetAddress() method (get street address parsed)
+   * ParseStreetAddress() method (get street address parsed)
    */
   function testParseStreetAddress() {
 
index c4534cc4e3f23f184d4dba33a4645add2189a6ee..11164b54e853b6eccc17ffe4934de3591ec2ec66 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * test getTree()
+   * Test getTree()
    */
   function testGetTree() {
     $params           = array();
@@ -91,7 +91,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * test retrieve() with Empty Params
+   * Test retrieve() with Empty Params
    */
   function testRetrieveEmptyParams() {
     $params = array();
@@ -100,7 +100,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * test retrieve() with Inalid Params
+   * Test retrieve() with Inalid Params
    */
   function testRetrieveInvalidParams() {
     $params = array('id' => 99);
@@ -109,7 +109,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test retrieve()
+   * Test retrieve()
    */
   function testRetrieve() {
     $customGrouptitle = 'My Custom Group';
@@ -145,7 +145,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test setIsActive()
+   * Test setIsActive()
    */
   function testSetIsActive() {
     $customGrouptitle = 'My Custom Group';
@@ -175,7 +175,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getGroupDetail() with Empty Params
+   * Test getGroupDetail() with Empty Params
    */
   function testGetGroupDetailEmptyParams() {
     $customGroupId = array();
@@ -184,7 +184,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getGroupDetail() with Inalid Params
+   * Test getGroupDetail() with Inalid Params
    */
   function testGetGroupDetailInvalidParams() {
     $customGroupId = 99;
@@ -193,7 +193,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getGroupDetail()
+   * Test getGroupDetail()
    */
   function testGetGroupDetail() {
     $customGrouptitle = 'My Custom Group';
@@ -247,7 +247,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getTitle() with Invalid Params()
+   * Test getTitle() with Invalid Params()
    */
   function testGetTitleWithInvalidParams() {
     $params = 99;
@@ -257,7 +257,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getTitle()
+   * Test getTitle()
    */
   function testGetTitle() {
     $customGrouptitle = 'My Custom Group';
@@ -284,7 +284,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test deleteGroup()
+   * Test deleteGroup()
    */
   function testDeleteGroup() {
     $customGrouptitle = 'My Custom Group';
@@ -321,7 +321,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test createTable()
+   * Test createTable()
    */
   function testCreateTable() {
     $customGrouptitle = 'My Custom Group';
@@ -360,7 +360,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test checkCustomField()
+   * Test checkCustomField()
    */
   function testCheckCustomField() {
     $customGroupTitle = 'My Custom Group';
@@ -423,7 +423,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getActiveGroups() with Invalid Params()
+   * Test getActiveGroups() with Invalid Params()
    */
   function testGetActiveGroupsWithInvalidParams() {
     $contactId = Contact::createIndividual();
@@ -461,7 +461,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test create()
+   * Test create()
    */
   function testCreate() {
     $params = array(
@@ -493,7 +493,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test create() given a table_name
+   * Test create() given a table_name
    */
   function testCreateTableName() {
     $params = array(
@@ -525,7 +525,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test isGroupEmpty()
+   * Test isGroupEmpty()
    */
   function testIsGroupEmpty() {
     $customGrouptitle = 'Test Custom Group';
@@ -548,7 +548,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getGroupTitles() with Invalid Params()
+   * Test getGroupTitles() with Invalid Params()
    */
   function testgetGroupTitlesWithInvalidParams() {
     $params = array(99);
@@ -557,7 +557,7 @@ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function to test getGroupTitles()
+   * Test getGroupTitles()
    */
   function testgetGroupTitles() {
     $customGrouptitle = 'Test Custom Group';
index c7e6f5566e5d0cf7de3e7b30cba29069da472576..c3927f9a9b1d2184f0fa3823325617b1990f0f43 100644 (file)
@@ -24,7 +24,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
 
 
   /**
-   * test store function for country
+   * Test store function for country
    *
    */
   function testStoreCountry() {
@@ -59,7 +59,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * test store function for file
+   * Test store function for file
    *
    */
   function atestStoreFile() {
@@ -94,7 +94,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * test store function for state province
+   * Test store function for state province
    *
    */
   function testStoreStateProvince() {
@@ -128,7 +128,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * test store function for date
+   * Test store function for date
    *
    */
   function testStoreDate() {
@@ -198,7 +198,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * test getEntityValues function for stored value
+   * Test getEntityValues function for stored value
    *
    */
   function testgetEntityValues() {
index 3ca6ab6c0665e29ba7d7df7f4545b08d0497dc52..2ffe95b8437baae846eab34512af1338d8c41bf9 100644 (file)
@@ -24,7 +24,7 @@ class CRM_Core_BAO_EmailTest extends CiviUnitTestCase {
   }
 
   /**
-   * add() method (create and update modes)
+   * Add() method (create and update modes)
    */
   function testAdd() {
     $contactId = Contact::createIndividual();
@@ -64,7 +64,7 @@ class CRM_Core_BAO_EmailTest extends CiviUnitTestCase {
   }
 
   /**
-   * holdEmail() method (set and reset on_hold condition)
+   * HoldEmail() method (set and reset on_hold condition)
    */
   function testHoldEmail() {
     $contactId = Contact::createIndividual();
@@ -137,7 +137,7 @@ class CRM_Core_BAO_EmailTest extends CiviUnitTestCase {
   }
 
   /**
-   * allEmails() method - get all emails for our contact, with primary email first
+   * AllEmails() method - get all emails for our contact, with primary email first
    */
   function testAllEmails() {
     $contactParams = array(
index 7fd52c549e97613c701e27f1f4e18744bcd9e111..43911460cd44e51f07f6fd091f516e45cac72d18 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Core_BAO_FinancialTrxnTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method create()
+   * Check method create()
    */
   function testCreate() {
     $contactId          = $this->individualCreate();
index 22735a36d8a4db8a2ec5ea1b3dfaa3dd13df81f7..daaae2d6c8b0b8f51b266989a126d0f923869806 100644 (file)
@@ -22,7 +22,7 @@ class CRM_Core_BAO_IMTest extends CiviUnitTestCase {
   }
 
   /**
-   * add() method (create and update modes)
+   * Add() method (create and update modes)
    */
   function testAdd() {
     $contactId = Contact::createIndividual();
index 3c0b3983e9975f314f207d4987eed689c067daa5..355e680d6ecad45e7713584aaa86e93bb67f82f8 100644 (file)
@@ -92,7 +92,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method
+   * Create() method
    * create various elements of location block
    * without civicrm_loc_block entry
    */
@@ -216,7 +216,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method
+   * Create() method
    * create various elements of location block
    * with civicrm_loc_block
    */
@@ -363,7 +363,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * deleteLocBlock() method
+   * DeleteLocBlock() method
    * delete the location block
    * created with various elements.
    *
@@ -457,7 +457,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * getValues() method
+   * GetValues() method
    * get the values of various location elements
    */
   function testLocBlockgetValues() {
index 1e9305367e91b8bd4fd407c463e7019a9833c4a2..b125ab93deef27bed2e21c42082b9d367adae2b1 100644 (file)
@@ -30,7 +30,7 @@ class CRM_Core_BAO_OpenIDTest extends CiviUnitTestCase {
   }
 
   /**
-   * add() method (create and update modes)
+   * Add() method (create and update modes)
    */
   function testAdd() {
     $contactId = Contact::createIndividual();
@@ -74,7 +74,7 @@ class CRM_Core_BAO_OpenIDTest extends CiviUnitTestCase {
   }
 
   /**
-   * ifAllowedToLogin() method (set and reset allowed_to_login)
+   * IfAllowedToLogin() method (set and reset allowed_to_login)
    */
   function testIfAllowedToLogin() {
     $contactId = Contact::createIndividual();
@@ -119,7 +119,7 @@ class CRM_Core_BAO_OpenIDTest extends CiviUnitTestCase {
   }
 
   /**
-   * allOpenIDs() method - get all OpenIDs for the given contact
+   * AllOpenIDs() method - get all OpenIDs for the given contact
    */
   function testAllOpenIDs() {
     $contactId = Contact::createIndividual();
index 4161f0627d9303d40624722a1bfe292b4a2fe172..0fecc84b0a45260dc3b21b634a122000dd869654 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Core_BAO_PhoneTest extends CiviUnitTestCase {
   }
 
   /**
-   * add() method (create and update modes)
+   * Add() method (create and update modes)
    */
   function testAdd() {
     $contactId = Contact::createIndividual();
@@ -94,7 +94,7 @@ class CRM_Core_BAO_PhoneTest extends CiviUnitTestCase {
   }
 
   /**
-   * allPhones() method - get all Phones for our contact, with primary Phone first
+   * AllPhones() method - get all Phones for our contact, with primary Phone first
    */
   function testAllPhones() {
     $contactParams = array(
@@ -121,7 +121,7 @@ class CRM_Core_BAO_PhoneTest extends CiviUnitTestCase {
   }
 
   /**
-   * allEntityPhones() method - get all Phones for a location block, with primary Phone first
+   * AllEntityPhones() method - get all Phones for a location block, with primary Phone first
    * @todo FIXME: Fixing this test requires add helper functions in CiviTest to create location block and phone and link them to an event. Punting to 3.1 cycle. DGG
    */
   function SKIPPED_testAllEntityPhones() {}
index eac0b7e8192f0406ed183c65c67e0468d876e287..a1a1b9332f16cff04fbe47581ed5d1d35b2a06aa 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Core_Payment_AuthorizeNetIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * test IPN response updates contribution_recur & contribution for first & second contribution
+   * Test IPN response updates contribution_recur & contribution for first & second contribution
    */
   function testIPNPaymentRecurSuccess() {
     $this->setupRecurringPaymentProcessorTransaction();
@@ -66,7 +66,7 @@ class CRM_Core_Payment_AuthorizeNetIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * test IPN response updates contribution_recur & contribution for first & second contribution
+   * Test IPN response updates contribution_recur & contribution for first & second contribution
    */
   function testIPNPaymentMembershipRecurSuccess() {
     $this->setupMembershipRecurringPaymentProcessorTransaction();
index 923bee14c62b3f545f6279f9db9bc31a35af8497..f94a0577dfe59dad25563ded98b19398caa037de 100644 (file)
@@ -70,7 +70,7 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase {
   }
 
   /**
-   * create a single post dated payment as a recurring transaction.
+   * Create a single post dated payment as a recurring transaction.
    *
    * Test works but not both due to some form of caching going on in the SmartySingleton
    */
@@ -203,7 +203,7 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase {
   }
 
   /**
-   * create a single post dated payment as a recurring transaction
+   * Create a single post dated payment as a recurring transaction
    */
   function testCreateSinglePostDated() {
     $start_date = date('Ymd', strtotime("+ 1 week"));
index bdc8c96325310a8ea0b64bf597cf944dedac7e06..54a3f49b52eb9c7775c9e9566487dfe0a77e181c 100644 (file)
@@ -69,7 +69,7 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * test IPN response updates contribution_recur & contribution for first & second contribution
+   * Test IPN response updates contribution_recur & contribution for first & second contribution
    */
   function testIPNPaymentRecurSuccess() {
     $this->setupRecurringPaymentProcessorTransaction();
@@ -90,7 +90,7 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * test IPN response updates contribution_recur & contribution for first & second contribution
+   * Test IPN response updates contribution_recur & contribution for first & second contribution
    */
   function testIPNPaymentMembershipRecurSuccess() {
     $this->setupMembershipRecurringPaymentProcessorTransaction();
@@ -144,7 +144,7 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * check a payment express IPN call does not throw any errors
+   * Check a payment express IPN call does not throw any errors
    * At this stage nothing it supposed to happen so it's a pretty blunt test
    * but at least it should be e-notice free
 
@@ -178,7 +178,7 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * get PaymentExpress IPN for a single transaction
+   * Get PaymentExpress IPN for a single transaction
    * @return array array representing a Paypal IPN POST
    */
   function getPaypalExpressTransactionIPN() {
index 07b645e56c609aa1500373d1b2cc4d9c1fe6079b..97d54ffbbe529ada5134cf7f1c523c2013a8d547 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Core_PaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * test the payment method is adequately logged - we don't expect the processing to succeed
+   * Test the payment method is adequately logged - we don't expect the processing to succeed
    */
   function testHandlePaymentMethodLogging() {
     $params = array('processor_name' => 'Paypal', 'data' => 'blah');
index c048a134097ab842d28b0c9aec8eb9dacdc735d5..c9a5e157e99a361c20735b33f00a2d5debb9247d 100644 (file)
@@ -131,7 +131,7 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve() method of participant status type
+   * Retrieve() method of participant status type
    */
   function testRetrieveStatusType() {
 
@@ -159,7 +159,7 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase {
   }
 
   /**
-   * setIsActive() method of participant status type
+   * SetIsActive() method of participant status type
    */
   function testSetIsActiveStatusType() {
 
index 0b142eeff5d4d72e6104c6a36d1b299c8ddca9ef..0ea81769d889cf973b658321e399d28fdebea2a2 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * add() method (add and edit modes of participant)
+   * Add() method (add and edit modes of participant)
    */
   function testAdd() {
     $params = array(
@@ -101,7 +101,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * getValues() method (fetch value of participant)
+   * GetValues() method (fetch value of participant)
    */
   function testgetValuesWithValidParams() {
     $participantId = Participant::create($this->_contactId, $this->_eventId);
@@ -145,7 +145,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * getValues() method (checking for behavior when params are empty )
+   * GetValues() method (checking for behavior when params are empty )
    */
   function testgetValuesWithoutValidParams() {
     $params           = $values = $ids = array();
@@ -158,7 +158,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * eventFull() method (checking the event for full )
+   * EventFull() method (checking the event for full )
    */
   function testEventFull() {
     $eventParams = array(
@@ -178,7 +178,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * importableFields() method ( Checking the Event's Importable Fields )
+   * ImportableFields() method ( Checking the Event's Importable Fields )
    */
   function testimportableFields() {
     $importableFields = CRM_Event_BAO_Participant::importableFields();
@@ -189,7 +189,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * participantDetails() method ( Checking the Participant Details )
+   * ParticipantDetails() method ( Checking the Participant Details )
    */
   function testparticipantDetails() {
     $participantId = Participant::create($this->_contactId, $this->_eventId);
@@ -207,7 +207,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * deleteParticipant() method ( Delete a Participant )
+   * DeleteParticipant() method ( Delete a Participant )
    */
   function testdeleteParticipant() {
     $params = array(
@@ -241,7 +241,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * checkDuplicate() method ( Checking for Duplicate Participant returns array of participant id)
+   * CheckDuplicate() method ( Checking for Duplicate Participant returns array of participant id)
    */
   function testcheckDuplicate() {
     $duplicate = array();
@@ -271,7 +271,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method (create and updation of participant)
+   * Create() method (create and updation of participant)
    */
   function testCreate() {
     $params = array(
@@ -340,7 +340,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * exportableFields() method ( Exportable Fields for Participant)
+   * ExportableFields() method ( Exportable Fields for Participant)
    */
   function testexportableFields() {
     $exportableFields = CRM_Event_BAO_Participant::exportableFields();
@@ -351,7 +351,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * fixEventLevel() method (Setting ',' values), resolveDefaults(assinging value to array) method
+   * FixEventLevel() method (Setting ',' values), resolveDefaults(assinging value to array) method
    */
   function testfixEventLevel() {
 
index dfc2a370546d8818fc726e28da2dd1c73e6c33be..8a35cccf713e0bc7e209130a3427dda31d35c661 100644 (file)
@@ -277,7 +277,7 @@ class CRM_Extension_Manager_ModuleTest extends CiviUnitTestCase {
 
   /**
    * @param $module
-   * @param $name
+   * @param string $name
    */
   public static function incHookCount($module, $name) {
     global $_test_extension_manager_moduletest_counts;
index c28a65f6eef9fa6953c75079568bcaf273fd6b55..cc780609cd6c9f57c64378c1643b5b24f16d933f 100644 (file)
@@ -52,7 +52,7 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $params = array(
@@ -75,7 +75,7 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrive()
+   * Check method retrive()
    */
   function testRetrieve() {
     $params = array(
@@ -92,7 +92,7 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method setIsActive()
+   * Check method setIsActive()
    */
   function testSetIsActive() {
     $params = array(
@@ -116,7 +116,7 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testdel() {
     $params = array(
@@ -134,7 +134,7 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method getAccountingCode()
+   * Check method getAccountingCode()
    */
   function testGetAccountingCode() {
     $params = array(
index 7058488f3ad9739724ff72ae0e9e961248ab430d..68b5d667910061b56ebc41a32f1987d68ba78eb2 100755 (executable)
@@ -49,7 +49,7 @@ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $firstName = 'Shane';
@@ -98,7 +98,7 @@ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrive()
+   * Check method retrive()
    */
   function testRetrieve() {
     $firstName = 'Shane';
@@ -145,7 +145,7 @@ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method create()
+   * Check method create()
    */
   function testCreate() {
     $firstName = 'Shane';
@@ -221,7 +221,7 @@ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testCreateEntityTrxn() {
     $fParams = array(
@@ -257,7 +257,7 @@ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrieveEntityFinancialTrxn()
+   * Check method retrieveEntityFinancialTrxn()
    */
   function testRetrieveEntityFinancialTrxn() {
     $entityTrxn = self::testCreateEntityTrxn();
index b8b7bb5d14abe68eee4ac2c1555711e977d65899..7f7997a47c7db54dff87ded95abf1c9404598f32 100755 (executable)
@@ -48,7 +48,7 @@ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $params = array(
@@ -84,7 +84,7 @@ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testDel() {
     $params = array(
@@ -114,7 +114,7 @@ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method getFinancialAccount()
+   * Check method getFinancialAccount()
    */
   function testRetrieve() {
     $params = array(
@@ -143,7 +143,7 @@ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method getFinancialAccount()
+   * Check method getFinancialAccount()
    */
   function testGetFinancialAccount() {
     $params = array(
@@ -172,7 +172,7 @@ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method getInstrumentFinancialAccount()
+   * Check method getInstrumentFinancialAccount()
    */
   function testGetInstrumentFinancialAccount() {
     $paymentInstrumentValue = 1;
index 7408c583680853f62ee3d43c69009ca33dad3081..f94151f9a09b03de935b5f6ab3b7f306ce39ae37 100755 (executable)
@@ -51,7 +51,7 @@ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $params = array(
@@ -73,7 +73,7 @@ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrive()
+   * Check method retrive()
    */
   function testRetrieve() {
     $params = array(
@@ -92,7 +92,7 @@ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method setIsActive()
+   * Check method setIsActive()
    */
   function testSetIsActive() {
     $params = array(
@@ -115,7 +115,7 @@ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testDel() {
     $params = array(
index 0ae225792681ae2ff0b2d2cb4a0492554c01f361..90177adafd5fa03317f98518bfcea9d483794d0f 100755 (executable)
@@ -50,7 +50,7 @@ class CRM_Financial_BAO_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method create()
+   * Check method create()
    */
   function testCreate() {
     $params = array(
@@ -70,7 +70,7 @@ class CRM_Financial_BAO_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrieve()
+   * Check method retrieve()
    */
   function testRetrieve() {
     $params = array(
@@ -85,7 +85,7 @@ class CRM_Financial_BAO_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method setIsActive()
+   * Check method setIsActive()
    */
   function testSetIsActive() {
     $params = array(
@@ -110,7 +110,7 @@ class CRM_Financial_BAO_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method getDefault()
+   * Check method getDefault()
    */
   function testGetDefault() {
     $params = array('is_default' => 1);
@@ -122,7 +122,7 @@ class CRM_Financial_BAO_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testDel() {
     $params = array(
index 257afdec4dcfb492aa785d26ec9cedd7507dcd25..b62e90a2cb7e53dbdc9b9fd0da2bd59671504d97 100644 (file)
@@ -81,7 +81,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
     $_REQUEST = $this->_params;
   }
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContacts() {
     $this->setPermissionAndRequest('view all contacts');
@@ -92,7 +92,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts' permissioned user
+   * Retrieve groups as 'view all contacts' permissioned user
    * Without setting params the default is both enabled & disabled
    * (if you do set default it is enabled only)
    */
@@ -106,7 +106,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContactsNotFoundTitle() {
     $this->_params['title'] = 'z';
@@ -115,7 +115,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
     $this->assertEquals(0, $total);
   }
   /**
-   * retrieve groups as 'edit all contacts'
+   * Retrieve groups as 'edit all contacts'
    */
   function testGroupListEditAllContacts() {
     $this->setPermissionAndRequest('edit all contacts');
@@ -126,7 +126,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContactsEnabled() {
     $this->_params['status'] = 1;
@@ -138,7 +138,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContactsDisabled() {
     $this->_params['status'] = 2;
@@ -150,7 +150,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContactsDisabledNotFoundTitle() {
     $this->_params['status'] = 2;
@@ -162,7 +162,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContactsDisabledFoundTitle() {
     $this->_params['status'] = 2;
@@ -174,7 +174,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListViewAllContactsAll() {
     $this->_params['status'] = 3;
@@ -189,7 +189,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
 
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListAccessCiviCRM() {
     $this->setPermissionAndRequest('access CiviCRM');
@@ -200,7 +200,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
     $this->assertEquals(0, $total, 'Total returned should be accurate based on permissions');
   }
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListAccessCiviCRMEnabled() {
     $this->_params['status'] = 1;
@@ -210,7 +210,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
     $this->assertEquals(0, $total, 'Total returned should be accurate based on permissions');
   }
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListAccessCiviCRMDisabled() {
     $this->_params['status'] = 2;
@@ -221,7 +221,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListAccessCiviCRMAll() {
     $this->_params['status'] = 2;
@@ -232,7 +232,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListAccessCiviCRMFound() {
     $this->_params['title'] = 'p';
@@ -243,7 +243,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve groups as 'view all contacts'
+   * Retrieve groups as 'view all contacts'
    */
   function testGroupListAccessCiviCRMNotFound() {
     $this->_params['title'] = 'z';
index 9b48291b64065141c29388c8e9d3b3981d865e8f..22894ee1a4e884ebbd39685c7d38f59c0e1895c2 100644 (file)
@@ -338,7 +338,7 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase {
 
 
   /**
-   * get the contribution
+   * Get the contribution
    * page id from the membership record
    */
   function testgetContributionPageId() {
index 77475818897456f9f89033464b8e04018087b03b..3c18364c1214a787735becdd7d9198492d6eac70 100644 (file)
@@ -141,7 +141,7 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase {
   }
 
   /**
-   * build params
+   * Build params
    *
    */
   private function pcpBlockParams() {
@@ -166,7 +166,7 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase {
   }
 
   /**
-   * build params
+   * Build params
    *
    */
   private function pcpParams() {
index 641f2e80fe32435421e51b57401ee5b4ab1ef105..6a3065230144c4fb305605083b8d3d6dc9c79dc0 100644 (file)
@@ -100,7 +100,7 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase {
   }
 
   /**
-   * add() method (add and edit modes of pledge block)
+   * Add() method (add and edit modes of pledge block)
    */
   function testAddPledgeBlock() {
 
@@ -144,7 +144,7 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase {
   }
 
   /**
-   * retrieve() and getPledgeBlock() method of  pledge block
+   * Retrieve() and getPledgeBlock() method of  pledge block
    */
   function testRetrieveAndGetPledgeBlock() {
 
index 23b18a8954f3cbc897c342210c17539670b3f0d3..99a480055b83cabfe709a286acdcb7c8cf550fe9 100644 (file)
@@ -90,8 +90,8 @@ class CRM_Utils_API_ReloadOptionTest extends CiviUnitTestCase {
    * Implementation of hook_civicrm_post used with all our test cases
    *
    * @param $op
-   * @param $objectName
-   * @param $objectId
+   * @param string $objectName
+   * @param int $objectId
    * @param $objectRef
    */
   function onPost($op, $objectName, $objectId, &$objectRef) {
index a403c58a2e0de0e2224dd39c62cca9b744d57b19..c4d97a443000edc924ab7f475f58ec9afa1dac1e 100644 (file)
@@ -21,7 +21,7 @@ class CRM_Utils_MailTest extends CiviUnitTestCase {
   }
 
   /**
-   * test case for add( )
+   * Test case for add( )
    * test with empty params.
    */
   function testFormatRFC822() {
index 6a52816b5bff2b1d1767b71784037c4d412cc5fe..c13f720ac46512b008cd8bec8fbf40800beb00a1 100644 (file)
@@ -153,8 +153,8 @@ class CRM_Utils_Migrate_ImportExportTest extends CiviUnitTestCase {
    * Execute a basic XML test case. Each test case creates a custom-group and
    * custom-field then compares the output to a pre-defined XML file.
    *
-   * @param $customGroupParams
-   * @param $fieldParams
+   * @param array $customGroupParams
+   * @param array $fieldParams
    * @param $expectedXmlFilePath
    * @dataProvider basicXmlTestCases
    */
index 99884e53b1699dea4620e3f94ad60c7142aea36d..ea16799079988d0d15e7461dc9c22b0f07e30d87 100644 (file)
@@ -158,7 +158,7 @@ class CRM_Utils_ZipTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $expectedBaseDirName
+   * @param string $expectedBaseDirName
    * @param $dirs
    * @param $files
    */
index 26b01aede967ff970644bc3ed11c57105556c4fd..594578f051e5192053e0c96168c939b829115bcf 100644 (file)
@@ -74,7 +74,7 @@ class RequestTest extends \CiviUnitTestCase {
   }
 
   /**
-   * @param $inputParams
+   * @param array $inputParams
    * @param $expectedOptions
    * @param $expectedData
    * @param $expectedChains
index ffe24bca90c5f91d0eb04ebe5a600d9e45cd340d..726e2d815eefab6fdb66a5ed7e61e35d3314026d 100644 (file)
@@ -48,7 +48,7 @@ class CiviReportTestCase extends CiviUnitTestCase {
 
   /**
    * @param $reportClass
-   * @param $inputParams
+   * @param array $inputParams
    *
    * @return string
    * @throws Exception
index f05698cdec48d4259bea4a148c26c844c4770469..a9f3587b25926ac0d5ab561efea6eef8d4f9b462 100644 (file)
@@ -328,7 +328,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * @param $option_group_name
+   * @param string $option_group_name
    *
    * @return array|int
    */
@@ -997,7 +997,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
    * @param bool $pledges
    * @param bool $recurring
    * @param bool $membershipTypes
-   * @param null $memPriceSetId
+   * @param int $memPriceSetId
    * @param bool $friend
    * @param int $profilePreId
    * @param int $profilePostId
@@ -1331,7 +1331,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * update default strict rule.
+   * Update default strict rule.
    *
    * @param string $contactType
    * @param array $fields Fields to be set for strict rule
@@ -1640,7 +1640,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   // Request a record from the DB by id. Success if row not found.
   /**
    * @param string $daoName
-   * @param $id
+   * @param int $id
    * @param $message
    */
   function assertDBRowNotExist($daoName, $id, $message) {
@@ -1675,7 +1675,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   // Compare all values in a single retrieved DB record to an array of expected values
   /**
    * @param string $daoName
-   * @param $searchParams
+   * @param array $searchParams
    * @param $expectedValues
    */
   function assertDBCompareValues($daoName, $searchParams, $expectedValues) {
@@ -2007,7 +2007,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * @param $name
+   * @param string $name
    * @param $sku
    * @param $amount
    * @param $price
@@ -2196,7 +2196,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * type and select first occurance of autocomplete
+   * Type and select first occurance of autocomplete
    */
   function select2($fieldName,$label, $multiple = FALSE, $xpath=FALSE) {
     // In the case of chainSelect, wait for options to load
@@ -2228,7 +2228,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * select multiple options
+   * Select multiple options
    */
   function multiselect2($fieldid, $params) {
     // In the case of chainSelect, wait for options to load
@@ -2264,7 +2264,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * function to enable or disable Pop-ups via Display Preferences
+   * Enable or disable Pop-ups via Display Preferences
    */
   function enableDisablePopups($enabled = TRUE) {
     $this->openCiviPage('admin/setting/preferences/display', 'reset=1');
index 3eea6f067f6c43cc4189eda8478825553e1348d7..c043e2dfb67ce1aa89f211cb922d041466fa7a63 100644 (file)
@@ -53,7 +53,7 @@ define('API_LATEST_VERSION', 3);
 class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
 
   /**
-   * api version - easier to override than just a define
+   * Api version - easier to override than just a define
    */
   protected $_apiversion = API_LATEST_VERSION;
   /**
@@ -419,7 +419,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * emulate a logged in user since certain functions use that
+   * Emulate a logged in user since certain functions use that
    * value to store a record in the DB (like activity)
    * CRM-8180
    */
@@ -573,7 +573,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   // Request a record from the DB by id. Success if row not found.
   /**
    * @param string $daoName
-   * @param $id
+   * @param int $id
    * @param null $message
    */
   function assertDBRowNotExist($daoName, $id, $message = NULL) {
@@ -585,7 +585,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   // Request a record from the DB by id. Success if row not found.
   /**
    * @param string $daoName
-   * @param $id
+   * @param int $id
    * @param null $message
    */
   function assertDBRowExist($daoName, $id, $message = NULL) {
@@ -613,7 +613,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   // Compare all values in a single retrieved DB record to an array of expected values
   /**
    * @param string $daoName
-   * @param $searchParams
+   * @param array $searchParams
    * @param $expectedValues
    */
   function assertDBCompareValues($daoName, $searchParams, $expectedValues) {
@@ -722,7 +722,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * check that api returned 'is_error' => 0
+   * Check that api returned 'is_error' => 0
    * else provide full message
    * @param array $apiResult api result
    * @param string $prefix extra test to add to message
@@ -743,7 +743,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * check that api returned 'is_error' => 1
+   * Check that api returned 'is_error' => 1
    * else provide full message
    *
    * @param array $apiResult api result
@@ -771,7 +771,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * check that a deleted item has been deleted
+   * Check that a deleted item has been deleted
    */
   function assertAPIDeleted($entity, $id) {
     $this->callAPISuccess($entity, 'getcount', array('id' => $id), 0);
@@ -779,7 +779,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
 
 
   /**
-   * check that api returned 'is_error' => 1
+   * Check that api returned 'is_error' => 1
    * else provide full message
    * @param array $result
    * @param $expected
@@ -1096,7 +1096,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * @param $contactID
+   * @param int $contactID
    *
    * @return array|int
    */
@@ -1118,7 +1118,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * @param $contactTypeId
+   * @param int $contactTypeId
    *
    * @throws Exception
    */
@@ -1184,7 +1184,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * delete Membership Type
+   * Delete Membership Type
    *
    * @param array $params
    */
@@ -1193,7 +1193,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * @param $membershipID
+   * @param int $membershipID
    */
   function membershipDelete($membershipID) {
     $deleteParams = array('id' => $membershipID);
@@ -1219,7 +1219,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * @param $membershipStatusID
+   * @param int $membershipStatusID
    */
   function membershipStatusDelete($membershipStatusID) {
     if (!$membershipStatusID) {
@@ -1253,7 +1253,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * delete Relatinship Type
+   * Delete Relatinship Type
    *
    * @param int $relationshipTypeID
    */
@@ -1263,7 +1263,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * @param null $params
+   * @param array $params
    *
    * @return mixed
    */
@@ -1287,7 +1287,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * create Participant
+   * Create Participant
    *
    * @param array $params  array of contact id and event id values
    *
@@ -1316,7 +1316,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create Payment Processor
+   * Create Payment Processor
    *
    * @return object of Payment Processsor
    */
@@ -1337,7 +1337,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create contribution page
+   * Create contribution page
    *
    * @param array $params
    * @return object of contribution page
@@ -1359,7 +1359,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create Tag
+   * Create Tag
    *
    * @param array $params
    * @return array result of created tag
@@ -1376,7 +1376,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete Tag
+   * Delete Tag
    *
    * @param  int $tagId   id of the tag to be deleted
    */
@@ -1402,7 +1402,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create contribution
+   * Create contribution
    *
    * @param int $cID contact_id
    *
@@ -1429,7 +1429,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete contribution
+   * Delete contribution
    *
    * @param int $pledgeId
    */
@@ -1441,7 +1441,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create contribution
+   * Create contribution
    *
    * @param int $cID contact_id
    * @param int $cTypeID id of financial type
@@ -1478,7 +1478,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create online contribution
+   * Create online contribution
    *
    * @param array $params
    * @param int $financialType id of financial type
@@ -1505,7 +1505,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete contribution
+   * Delete contribution
    *
    * @param int $contributionId
    *
@@ -1520,7 +1520,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create an Event
+   * Create an Event
    *
    * @param array $params  name-value pair for an event
    *
@@ -1559,7 +1559,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete event
+   * Delete event
    *
    * @param int $id ID of the event
    *
@@ -1573,7 +1573,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete participant
+   * Delete participant
    *
    * @param int $participantID
    *
@@ -1587,10 +1587,10 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create participant payment
+   * Create participant payment
    *
-   * @param $participantID
-   * @param null $contributionID
+   * @param int $participantID
+   * @param int $contributionID
    * @return int $id of created payment
    */
   function participantPaymentCreate($participantID, $contributionID = NULL) {
@@ -1605,7 +1605,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete participant payment
+   * Delete participant payment
    *
    * @param int $paymentID
    */
@@ -1617,9 +1617,9 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to add a Location
+   * Add a Location
    *
-   * @param $contactID
+   * @param int $contactID
    * @return int location id of created location
    */
   function locationAdd($contactID) {
@@ -1648,7 +1648,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete Locations of contact
+   * Delete Locations of contact
    *
    * @param array $params parameters
    */
@@ -1657,9 +1657,9 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to add a Location Type
+   * Add a Location Type
    *
-   * @param null $params
+   * @param array $params
    * @return int location id of created location
    */
   function locationTypeCreate($params = NULL) {
@@ -1682,7 +1682,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete a Location Type
+   * Delete a Location Type
    *
    * @param int location type id
    */
@@ -1693,7 +1693,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to add a Group
+   * Add a Group
    *
    * @param array $params
    * @return int groupId of created group
@@ -1717,7 +1717,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete a Group
+   * Delete a Group
    *
    * @param int $gid
    */
@@ -1750,9 +1750,9 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to add a UF Join Entry
+   * Add a UF Join Entry
    *
-   * @param null $params
+   * @param array $params
    * @return int $id of created UF Join
    */
   function ufjoinCreate($params = NULL) {
@@ -1771,7 +1771,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete a UF Join Entry
+   * Delete a UF Join Entry
    *
    * @param array with missing uf_group_id
    */
@@ -1791,7 +1791,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create Group for a contact
+   * Create Group for a contact
    *
    * @param int $contactId
    */
@@ -1805,9 +1805,9 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete Group for a contact
+   * Delete Group for a contact
    *
-   * @param $contactId
+   * @param int $contactId
    */
   function contactGroupDelete($contactId) {
     $params = array(
@@ -1818,7 +1818,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create Activity
+   * Create Activity
    *
    * @param array $params
    * @return array|int
@@ -1861,7 +1861,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create an activity type
+   * Create an activity type
    *
    * @param array $params parameters
    */
@@ -1871,7 +1871,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete activity type
+   * Delete activity type
    *
    * @param int $activityTypeId id of the activity type
    */
@@ -1882,7 +1882,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create custom group
+   * Create custom group
    *
    * @param array $params
    * @return array|int
@@ -1909,7 +1909,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * existing function doesn't allow params to be over-ridden so need a new one
+   * Existing function doesn't allow params to be over-ridden so need a new one
    * this one allows you to only pass in the params you want to change
    */
   function CustomGroupCreateByParams($params = array()) {
@@ -1979,7 +1979,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete custom group
+   * Delete custom group
    *
    * @param int $customGroupID
    *
@@ -1991,7 +1991,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create custom field
+   * Create custom field
    *
    * @param array $params (custom_group_id) is required
    * @return array|int
@@ -2017,7 +2017,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete custom field
+   * Delete custom field
    *
    * @param int $customFieldID
    *
@@ -2030,9 +2030,9 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create note
+   * Create note
    *
-   * @param $cId
+   * @param int $cId
    * @return array $note
    */
   function noteCreate($cId) {
@@ -2255,7 +2255,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to delete note
+   * Delete note
    *
    * @param array $params
    *
@@ -2266,7 +2266,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Function to create custom field with Option Values
+   * Create custom field with Option Values
    *
    * @param array $customGroup
    * @param string $name name of custom field
@@ -2407,7 +2407,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
    */
   /**
    * @param array $params
-   * @param $id
+   * @param int $id
    * @param $entity
    * @param int $delete
    * @param string $errorText
@@ -2476,7 +2476,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Function to get formatted values in  the actual and expected result
+   * Get formatted values in  the actual and expected result
    * @param array $actual actual calculated values
    * @param array $expected expected values
    *
@@ -2488,7 +2488,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Function to unset the key 'id' from the array
+   * Unset the key 'id' from the array
    * @param array $unformattedArray The array from which the 'id' has to be unset
    *
    */
@@ -2613,7 +2613,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * @param $name
+   * @param string $name
    */
   function financialAccountDelete($name) {
     $financialAccount = new CRM_Financial_DAO_FinancialAccount();
@@ -2875,7 +2875,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * alter default price set so that the field numbers are not all 1 (hiding errors)
+   * Alter default price set so that the field numbers are not all 1 (hiding errors)
    */
   function offsetDefaultPriceSet() {
     $contributionPriceSet = $this->callAPISuccess('price_set', 'getsingle', array('name' => 'default_contribution_amount'));
@@ -2963,7 +2963,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * we don't have a good way to set up a recurring contribution with a membership so let's just do one then alter it
+   * We don't have a good way to set up a recurring contribution with a membership so let's just do one then alter it
    */
   function setupMembershipRecurringPaymentProcessorTransaction() {
     $this->ids['membership_type'] = $this->membershipTypeCreate();
index c0ded3fa4c96b2d9f8b5ca963305b12dafca2ce6..c4f0529b600ca500223872c2834895ae65e94143 100644 (file)
@@ -22,7 +22,7 @@ class Contact extends CiviUnitTestCase {
    * Helper function to create
    * a contact of type Individual
    *
-   * @param null $params
+   * @param array $params
    * @return int $contactID id of created Individual
    */
   static function createIndividual($params = NULL) {
@@ -44,7 +44,7 @@ class Contact extends CiviUnitTestCase {
    * Helper function to create
    * a contact of type Household
    *
-   * @param null $params
+   * @param array $params
    * @return mixed $contactID id of created Household
    */
   static function createHousehold($params = NULL) {
@@ -65,7 +65,7 @@ class Contact extends CiviUnitTestCase {
    * Helper function to create
    * a contact of type Organisation
    *
-   * @param null $params
+   * @param array $params
    * @return mixed $contactID id of created Organisation
    */
   static function createOrganisation($params = NULL) {
index 2d68bf23fa21b2aa45d6f0637763e8e6a87912a4..083214d56252607a733dc5719c988fc43f473f15 100644 (file)
@@ -8,7 +8,7 @@ class ContributionPage extends PHPUnit_Framework_Testcase {
    * Helper function to create
    * a Contribution Page
    *
-   * @param null $id
+   * @param int $id
    *
    * @return mixed $contributionPage id of created Contribution Page
    */
index 8483460f20a4563f39c4c85124b78f1ae13ac336..cdb44ac0c9e0e8b026432c1a55c1491b576a62f6 100644 (file)
@@ -8,7 +8,7 @@ class Event extends PHPUnit_Framework_Testcase {
    * Helper function to create
    * an Event
    *
-   * @param $contactId
+   * @param int $contactId
    *
    * @return mixed $event id of created Event
    */
index 031ce481eeb564100a7789c2f982c2f033a7322e..405271f86330c53d4f7d106c7f5a2771fd5d65ef 100644 (file)
@@ -7,8 +7,8 @@ class Participant extends PHPUnit_Framework_Testcase {
   /**
    * Helper function to create a Participant
    *
-   * @param $contactId
-   * @param $eventId
+   * @param int $contactId
+   * @param int $eventId
    *
    * @return mixed $participant id of created Participant
    */
index 63623a5e03ead2dfce6b10198b063e3d4fa24ba4..a1cebd85ef95ee549581a12e60a76f3259f48ee3 100644 (file)
@@ -116,8 +116,8 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   //moves a field from one field to another
   /**
    * @param $field_to_move
-   * @param $from_group_id
-   * @param $to_group_id
+   * @param int $from_group_id
+   * @param int $to_group_id
    */
   function _moveCustomField($field_to_move, $from_group_id, $to_group_id) {
     //go to the move field page
@@ -162,8 +162,8 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
 
   //Get all custom field values for a given contact and custom group id using the api
   /**
-   * @param $contact_id
-   * @param $group_id
+   * @param int $contact_id
+   * @param int $group_id
    * @param bool $reset_cache
    *
    * @return array
@@ -251,7 +251,7 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   //Adds a new custom field to a specfied custom field group, using the given
   //datatype and widget.
   /**
-   * @param $group_id
+   * @param int $group_id
    * @param string $type
    * @param string $widget
    * @param string $prefix
@@ -411,8 +411,8 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
 
   //randomly generates data for a specific custom field
   /**
-   * @param $contact_id
-   * @param $group_id
+   * @param int $contact_id
+   * @param int $group_id
    */
   function _fillCustomDataForContact($contact_id, $group_id) {
     //edit the given contact
index 47cc062d5e562d87da41dd01cb5e85c23c4fc14a..661e246d1dca67801ffa1bafb916dce0b2b70408 100644 (file)
@@ -113,7 +113,7 @@ class WebTest_Campaign_ActivityTest extends CiviSeleniumTestCase {
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function activityAddTest($campaignTitle, $id) {
     // Adding Adding contact with randomized first name for test testContactContextActivityAdd
index 6693fee5a0f26ef5413b2b3a6537adcb1b616c05..f80501425ed73e4f638dccedb53e6e07ec8d6e2e 100644 (file)
@@ -101,9 +101,9 @@ class WebTest_Campaign_MailingTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function mailingAddTest($groupName, $campaignTitle, $id) {
     //---- create mailing contact and add to mailing Group
index ce9d06c8731049a2630801f4ee22fe2ab096e29f..c11e300d18d509258f7fac7e644de2becf733204 100644 (file)
@@ -111,7 +111,7 @@ class WebTest_Campaign_MembershipTest extends CiviSeleniumTestCase {
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function memberAddTest($campaignTitle, $id) {
     //Add new memebershipType
index aa65cc6af77cc7a3feadbc983401a015c0ecc0f4..fa153d99d763895004ebef379168afd51116f949 100644 (file)
@@ -119,7 +119,7 @@ class WebTest_Campaign_OfflineContributionTest extends CiviSeleniumTestCase {
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    * @param bool $past
    */
   function offlineContributionTest($campaignTitle, $id, $past = FALSE) {
@@ -230,7 +230,7 @@ class WebTest_Campaign_OfflineContributionTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $groupName
+   * @param string $groupName
    */
   function pastCampaignsTest($groupName) {
     $this->openCiviPage('campaign/add', 'reset=1', '_qf_Campaign_upload-bottom');
index f67d426525154cf99a1588d2e705a1ebf5abd412..cbbc7b785678b245d015cc0a2a95f14d802bb7a8 100644 (file)
@@ -121,7 +121,7 @@ class WebTest_Campaign_OfflineEventRegistrationTest extends CiviSeleniumTestCase
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function offlineParticipantAddTest($campaignTitle, $id) {
     // connect campaign with event
index 40a6d6b9c8d79b48b0ddf03f37f6bd1dc2e9212f..cfe5bd4e4a77cb4d7e42597302782c06b1d83e40 100644 (file)
@@ -117,7 +117,7 @@ class WebTest_Campaign_OnlineContributionTest extends CiviSeleniumTestCase {
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function onlineContributionAddTest($campaignTitle, $id) {
     // Use default payment processor
index 146538eeb855779f3925b2aa70c9d04687808da6..c66fc6411f8c63948f9b6a07a21f27589dc042af 100644 (file)
@@ -114,7 +114,7 @@ class WebTest_Campaign_OnlineEventRegistrationTest extends CiviSeleniumTestCase
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function onlineParticipantAddTest($campaignTitle, $id) {
     // Use default payment processor
@@ -150,7 +150,7 @@ class WebTest_Campaign_OnlineEventRegistrationTest extends CiviSeleniumTestCase
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $eventTitle
    * @param $eventDescription
    */
@@ -210,7 +210,7 @@ class WebTest_Campaign_OnlineEventRegistrationTest extends CiviSeleniumTestCase
   /**
    * @param bool $discount
    * @param bool $priceSet
-   * @param $processorId
+   * @param int $processorId
    */
   function _testAddFees($discount = FALSE, $priceSet = FALSE, $processorId) {
     // Go to Fees tab
index 9ca12c268cab5d45d64255f0c31e2203687ffda6..3c51ece25f715881872e7c32ef3204a211d425ab 100644 (file)
@@ -119,7 +119,7 @@ class WebTest_Campaign_PledgeTest extends CiviSeleniumTestCase {
 
   /**
    * @param $campaignTitle
-   * @param $id
+   * @param int $id
    */
   function pledgeAddTest($campaignTitle, $id) {
     // create unique name
index 54d781012e8a728427895d6633755fc238b73567..fc8e9a36931b15d7959244bdeb2b2ffdf4c71f33 100644 (file)
@@ -187,7 +187,7 @@ class WebTest_Case_ActivityToCaseTest extends CiviSeleniumTestCase {
     $this->webtestVerifyTabularData($LinkCaseActivityData);
   }
   /**
-   * @param $firstName
+   * @param string $firstName
    * @param $caseSubject
    * @param $customGroupTitle
    * @param $contactName
index 5d3a681591b5e27ab12fd280a4233f89804a9f2a..4a73b1d08a3e0112b36d65685c4c1963578be641 100644 (file)
@@ -176,7 +176,7 @@ class WebTest_Case_AddCaseTest extends CiviSeleniumTestCase {
 
   /**
    * @param $caseRoles
-   * @param $creatorName
+   * @param string $creatorName
    */
   function _testVerifyCaseRoles($caseRoles, $creatorName) {
     $id = $this->urlArg('id');
@@ -222,8 +222,8 @@ class WebTest_Case_AddCaseTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $action
    */
   function _testSearchbyDate($firstName, $lastName, $action) {
@@ -271,8 +271,8 @@ class WebTest_Case_AddCaseTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $caseTypeLabel
    *
    * test for assign case to another client
index 55d88df4b01c03fe1d0fe457ca22135187bf3756..ab3da446b2c95d7bf09deaee5c09934b262c6662 100644 (file)
@@ -246,7 +246,7 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase {
 
   /**
    * @param $customGrpId1
-   * @param $customId
+   * @param int $customId
    */
   function _testDeleteCustomData($customGrpId1, $customId) {
     // delete all custom data
@@ -392,9 +392,9 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $customId
-   * @param $custFname
-   * @param $custMname
+   * @param int $customId
+   * @param string $custFname
+   * @param string $custMname
    * @param $custLname
    */
   function _testAdvansearchCaseData($customId, $custFname, $custMname, $custLname) {
index 676e179c0d894d13e124bf810a76ec5285e0ac27..dfdb4f330bd7aca85b48b69a0a6cd02150066c9f 100644 (file)
@@ -155,8 +155,8 @@ class WebTest_Contact_AdvanceSearchPrivacyOptionsTest extends CiviSeleniumTestCa
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    *
    * @return bool
    */
@@ -197,8 +197,8 @@ class WebTest_Contact_AdvanceSearchPrivacyOptionsTest extends CiviSeleniumTestCa
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $options
    */
   function _addIndividual($firstName, $lastName, $options) {
index 8fdee7be3bdeb0b147695d5f5b9069129dc12e56..083bbe5de626b2fded129cf1e678f3f4ac0323c1 100644 (file)
@@ -212,7 +212,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
 
   //function to check match for sumbit Advance Search
   /**
-   * @param $firstName
+   * @param string $firstName
    */
   function submitSearch($firstName) {
     $this->clickLink("_qf_Advanced_refresh");
@@ -247,8 +247,8 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
 
   // function to fill basic search detail
   /**
-   * @param $firstName
-   * @param $groupName
+   * @param string $firstName
+   * @param string $groupName
    * @param $tagName
    */
   function addBasicSearchDetail($firstName, $groupName, $tagName) {
index e1c573dfa05de9e51136418a90e55a87528b1525..239bfd915112d828398b737299eca712ffafd786 100644 (file)
@@ -197,7 +197,7 @@ class WebTest_Contact_AdvancedSearchedRelatedContactTest extends CiviSeleniumTes
   /**
    * @param bool $discount
    * @param bool $priceSet
-   * @param $processorId
+   * @param int $processorId
    */
   function _testAddFees($discount = FALSE, $priceSet = FALSE, $processorId) {
     // Go to Fees tab
@@ -230,8 +230,8 @@ class WebTest_Contact_AdvancedSearchedRelatedContactTest extends CiviSeleniumTes
   }
 
   /**
-   * @param $ContactName
-   * @param $relatedName
+   * @param string $ContactName
+   * @param string $relatedName
    * @param $relType
    */
   function _testAddRelationship($ContactName, $relatedName, $relType) {
index 8fbdc2360bf83cba9d3db6564b4804edf95f6690..8b39129a1d965688fb0ec1cc25b23cfd601e1383 100644 (file)
@@ -204,7 +204,7 @@ class WebTest_Contact_CreateCmsUserFromContactTest extends CiviSeleniumTestCase
   }
 
   /**
-   * @param $username
+   * @param string $username
    * @param $password
    * @param $confirm_password
    */
index 60381a5364931a54bffd09b41f637633775ede44..8bc420a1d13d3ffdf95115913f3390ad7094839b 100644 (file)
@@ -90,10 +90,10 @@ class WebTest_Contact_DeceasedContactsAdvancedSearchTest extends CiviSeleniumTes
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $email
-   * @param $groupName
+   * @param string $groupName
    * @param bool $deceased
    */
   function _testAddContact($firstName, $lastName, $email, $groupName, $deceased = FALSE) {
index dbcadb778e06a9ffe7c70e0ceac980944403f2c5..98ead2ad6eb32f19b87088103642cc13100dfbf0 100644 (file)
@@ -182,7 +182,7 @@ class WebTest_Contact_GroupAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $roleid
+   * @param int $roleid
    *
    * @return string
    */
index 3a56e44ebe5ef008dd7d31c857b1849e56000464..95a3dd7116ffe51d52a426b8638728f1746e6987 100644 (file)
@@ -251,8 +251,8 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase {
     $this->assertTrue($this->isTextPresent("Staff, Student"));
   }
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $subject
    */
   function addActivity($firstName, $lastName, $subject) {
index cfe220b39ac375374ea059b50c5690459846a2a3..2c661451abbecbe1baf12c37d8d7fb6fe477788a 100644 (file)
@@ -144,7 +144,7 @@ class WebTest_Contact_ProfileChecksumTest extends CiviSeleniumTestCase {
 
   /**
    * @param $fields
-   * @param $profileName
+   * @param string $profileName
    *
    * @return null
    */
index cb7041f7c2840567eaa8be655619a840ce264f44..3d67c5e334732f6fd52acc9e8e980e3484b6b9ba 100644 (file)
@@ -332,7 +332,7 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase {
 
   /**
    * @param $contactType
-   * @param $name
+   * @param string $name
    * @param $email
    * @param null $streetName
    * @param null $postalCode
index 8721b711d77df4038f2b329bac9d9a00f83e12a2..bf9d07a1e864a3cdef85b796d1356e6c423c4df1 100644 (file)
@@ -198,7 +198,7 @@ class WebTest_Contribute_AddPricesetTest extends CiviSeleniumTestCase {
 
   /**
    * @param $validateStrings
-   * @param $sid
+   * @param int $sid
    */
   function _testVerifyPriceSet($validateStrings, $sid) {
     // verify Price Set at Preview page
index 90ee4516896963d4d8d57a8ed21ae5b9630fd8e8..b68700a89bc060fb788645a0d1dcc1c8eb9825c4 100644 (file)
@@ -140,7 +140,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * check CRM-7943
+   * Check CRM-7943
    */
   function testContributionPageSeparatePayment() {
     // open browser, login
@@ -185,7 +185,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * check CRM-7949
+   * Check CRM-7949
    */
   function testContributionPageSeparatePaymentPayLater() {
     // open browser, login
index 10c7e462402a969b0ec8369777b1ff50ddb4cebf..1dd916fad6d9f252518a14887d65eaa5a1257946 100644 (file)
@@ -313,8 +313,8 @@ class WebTest_Contribute_OfflineContributionTest extends CiviSeleniumTestCase {
   //common function for doing offline contribution
   /**
    * @param array $params
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $processorName
    */
   function _doOfflineContribution($params, $firstName, $lastName, $processorName) {
index f0da52f82fe8d8e4d00dc203a248e8c8d0c5ab08..d767b933e510093d009ff94cc16b906047d8ae5c 100644 (file)
@@ -647,8 +647,8 @@ class WebTest_Contribute_OnBehalfOfOrganization extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
-   * @param $cid
+   * @param int $pageId
+   * @param int $cid
    * @param $pageTitle
    */
   function _testOrganization($pageId, $cid, $pageTitle) {
@@ -678,8 +678,8 @@ class WebTest_Contribute_OnBehalfOfOrganization extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
-   * @param $cid
+   * @param int $pageId
+   * @param int $cid
    * @param $pageTitle
    */
   function _testAnomoyousOganization($pageId, $cid, $pageTitle) {
@@ -753,8 +753,8 @@ class WebTest_Contribute_OnBehalfOfOrganization extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
-   * @param $cid
+   * @param int $pageId
+   * @param int $cid
    * @param $pageTitle
    */
   function _testUserWithOneRelationship($pageId, $cid, $pageTitle) {
@@ -999,8 +999,8 @@ class WebTest_Contribute_OnBehalfOfOrganization extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
-   * @param $cid
+   * @param int $pageId
+   * @param int $cid
    * @param $pageTitle
    */
   function _testUserWithMoreThanOneRelationship($pageId, $cid, $pageTitle) {
@@ -1475,8 +1475,8 @@ class WebTest_Contribute_OnBehalfOfOrganization extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
-   * @param $cid
+   * @param int $pageId
+   * @param int $cid
    * @param $pageTitle
    */
   function _testOrganizationWithImageUpload($pageId, $cid, $pageTitle) {
index b70cef7e6fd69927b145305bec9ddb5c36e608ff..08fa752a984acf545f71f6330f74b3d134b88faa 100644 (file)
@@ -252,7 +252,7 @@ class WebTest_Contribute_OnlineContributionTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
+   * @param int $pageId
    * @param bool $priceSet
    */
   function _doContributionAndVerifyData($pageId, $priceSet = FALSE) {
index 724e26916a254d5cbe3335e0a7de03cc237f2b0e..a8013836c3921005b390e89259179731608d65e9 100644 (file)
@@ -131,7 +131,7 @@ class WebTest_Contribute_UpdateBatchPendingContributionTest extends CiviSelenium
   }
 
   /**
-   * @param $firstName
+   * @param string $firstName
    */
   function _addParticipant($firstName) {
 
index d45df49d243c1611c5a17fb8207e1da19b1f9765..3cff1f0c9d0a78e7199b6637be1e6e0b488aa2a0 100755 (executable)
@@ -366,7 +366,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase {
  }
 
   /**
-   * @param $entityId
+   * @param int $entityId
    * @param null $from
    * @param null $to
    * @param null $cost
@@ -400,7 +400,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase {
  }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */function _getFinancialTrxnAmount($contId) {
@@ -415,7 +415,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase {
  }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */function _getFinancialItemAmount($contId) {
@@ -430,7 +430,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase {
  }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */function _getTotalContributedAmount($contId) {
index 3f3f45a54d183890e959533f3b4736276f1501b8..b409005bfc6eb89818b001271bd48e31780feba2 100644 (file)
@@ -104,7 +104,7 @@ class WebTest_Contribute_VerifySSLContributionTest extends CiviSeleniumTestCase
   }
 
   /**
-   * @param $name
+   * @param string $name
    */
   function _tryPaymentProcessor($name) {
     // load contribution page
index e02f35e78ed5b7409b860f7cc406c6f12a77d8fa..51142ecebe39b8495514ce3a4aeb70c401a70c4d 100644 (file)
@@ -203,7 +203,7 @@ class WebTest_Event_AddEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $eventTitle
    * @param $discount
    */
@@ -366,8 +366,8 @@ class WebTest_Event_AddEventTest extends CiviSeleniumTestCase {
   /**
    * @param $eventTitle
    * @param $eventDescription
-   * @param $templateID
-   * @param $eventTypeID
+   * @param int $templateID
+   * @param int $eventTypeID
    */
   function _testAddEventInfoFromTemplate($eventTitle, $eventDescription, $templateID, $eventTypeID) {
     $this->waitForElementPresent("_qf_EventInfo_upload-bottom");
@@ -852,7 +852,7 @@ class WebTest_Event_AddEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $contributionID
+   * @param int $contributionID
    */
   function verifyFinancialRecords($contributionID) {
     // check count for civicrm_contribution and civicrm_financial_item in civicrm_entity_financial_trxn
index 6e375e6fd55b48937c6186cbc328aa34f91b0380..828628063f1b194498c9e66cf6380f0fdb324218 100644 (file)
@@ -402,9 +402,9 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
-   * @param $processorId
+   * @param string $firstName
+   * @param string $lastName
+   * @param int $processorId
    */
   function _fillParticipantDetails($processorId) {
     $contact = $this->createDialogContact();
index e7bdbe2ae18444dd9ee81f1fa8a8a7c8163f38af..8a4afc860bdfe2888cb91b201195b364361dd2e9 100644 (file)
@@ -182,7 +182,7 @@ class WebTest_Event_AddPricesetTest extends CiviSeleniumTestCase {
 
   /**
    * @param $validateStrings
-   * @param $sid
+   * @param int $sid
    */
   function _testVerifyPriceSet($validateStrings, $sid) {
     // verify Price Set at Preview page
@@ -498,7 +498,7 @@ class WebTest_Event_AddPricesetTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * test to regiter participant for event with
+   * Test to regiter participant for event with
 
    * multiple price fields in price-set
    * CRM-11986
@@ -746,7 +746,7 @@ class WebTest_Event_AddPricesetTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $expectedLineItems
+   * @param array $expectedLineItems
    */
   function _checkLineItems($expectedLineItems) {
     foreach ($expectedLineItems as $lineKey => $lineValue) {
index 8467774ecce2bb85236a44e8b25f035337f8178a..84f15d288d8e1a3f1c9b41f76d178b0b562c7747 100644 (file)
@@ -209,7 +209,7 @@ class WebTest_Event_AdditionalPaymentTest extends CiviSeleniumTestCase {
 
   /**
    * @param $feeAmt
-   * @param $amtPaid
+   * @param int $amtPaid
    */
   function _checkPaymentInfoTable($feeAmt, $amtPaid) {
     $this->assertElementContainsText("xpath=//td[@id='payment-info']/table[@id='info']/tbody/tr[2]/td", "$ {$feeAmt}", 'Missing text: appropriate fee amount');
index 86322ef4bc0fc40426af5716001c3273366ca19a..7e0c5b892297dafe645371c9dd589e1202351be3 100644 (file)
@@ -96,7 +96,7 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $firstName
+   * @param string $firstName
    */
   function addParticipant($firstName) {
     $this->openCiviPage("participant/add", "reset=1&action=add&context=standalone", '_qf_Participant_upload-bottom');
index 94380c810f20de73052fbddb0d073ab4d553f8c6..962f18e38ca9eaed55c8a5773dc4476f2b8ffc59 100755 (executable)
@@ -452,8 +452,8 @@ class WebTest_Event_MultipleEventRegistrationbyCartTest extends CiviSeleniumTest
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $events
    */
   function _checkContributionsandEventRegistration($firstName, $lastName, $events) {
index 75c892821a725237566c7f604ef754632cc48b87..ff4739dc753019f4a99a1eccec59995fbc160963 100644 (file)
@@ -316,7 +316,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $eventPageId
+   * @param int $eventPageId
    */
   function _testRemoveProfile($eventPageId) {
     $this->openCiviPage("event/manage/settings", "reset=1&action=update&id=$eventPageId");
@@ -333,7 +333,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $customId
+   * @param int $customId
    *
    * @return array
    */
@@ -555,7 +555,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $profileId
+   * @param int $profileId
    *
    * @return null
    */
@@ -627,12 +627,12 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $eventPageId
-   * @param $customId
-   * @param $firstName
-   * @param $lastName
-   * @param $participantfname
-   * @param $participantlname
+   * @param int $eventPageId
+   * @param int $customId
+   * @param string $firstName
+   * @param string $lastName
+   * @param string $participantfname
+   * @param string $participantlname
    * @param $email1
    * @param $email2
    */
@@ -720,11 +720,11 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $eventPageId
-   * @param $customId
-   * @param $firstName2
-   * @param $lastName2
-   * @param $participantfname2
+   * @param int $eventPageId
+   * @param int $customId
+   * @param string $firstName2
+   * @param string $lastName2
+   * @param string $participantfname2
    * @param $participantlname2
    * @param $email3
    * @param $email4
@@ -817,7 +817,7 @@ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $cfId
+   * @param int $cfId
    */
   function _removeEmailField($cfId) {
     $this->openCiviPage("admin/uf/group/field", "action=delete&id={$cfId}");
index 5a72d15213343fedb16d903c3e7459c12e70521d..41c7af9589ea91cd2d137eaaab7b175f3110ecb4 100644 (file)
@@ -116,12 +116,12 @@ class WebTest_Event_PCPAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $processorName
+   * @param string $processorName
    * @param $campaignType
-   * @param null $contributionPageId
-   * @param $firstName
-   * @param $lastName
-   * @param $middleName
+   * @param int $contributionPageId
+   * @param string $firstName
+   * @param string $lastName
+   * @param string $middleName
    * @param $email
    */
   function _testAddEventForPCP($processorName, $campaignType, $contributionPageId = NULL, $firstName, $lastName, $middleName, $email) {
@@ -265,10 +265,10 @@ class WebTest_Event_PCPAddTest extends CiviSeleniumTestCase {
 
   /**
    * @param $eventTitle
-   * @param $pageId
-   * @param $firstName
-   * @param $lastName
-   * @param $middleName
+   * @param int $pageId
+   * @param string $firstName
+   * @param string $lastName
+   * @param string $middleName
    * @param $email
    * @param int $numberRegistrations
    * @param $campaignType
@@ -435,7 +435,7 @@ class WebTest_Event_PCPAddTest extends CiviSeleniumTestCase {
 
   /**
    * @param $campaignType
-   * @param $contributionPageId
+   * @param int $contributionPageId
    *
    * @return null
    */
@@ -477,11 +477,11 @@ class WebTest_Event_PCPAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $eventName
-   * @param $lastNameDonar
-   * @param $firstNameDonar
-   * @param $firstNameCreator
-   * @param $lastNameCreator
+   * @param string $eventName
+   * @param string $lastNameDonar
+   * @param string $firstNameDonar
+   * @param string $firstNameCreator
+   * @param string $lastNameCreator
    * @param $amount
    */
   function _testParticipantSearchEventName($eventName, $lastNameDonar, $firstNameDonar, $firstNameCreator, $lastNameCreator, $amount) {
@@ -507,7 +507,7 @@ class WebTest_Event_PCPAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $firstName
+   * @param string $firstName
    * @param $lastName
    * @param $pcpCreatorFirstName
    * @param $pcpCreatorLastName
index 93bd04debe493be918dc317162b01520c60c4464..ef4d06dd3f39a40c1ddd08fd09dfadbdd957fa0b 100644 (file)
@@ -437,7 +437,7 @@ class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $eventParams
+   * @param array $eventParams
    * @param $participants
    * @param $priceFieldOptionCounts
    */
index a385ee5cc80fd918977966352dccc37766b2aa0f..1b81ab9ba405f26f7aac33c590ab815b1eeb1a87 100644 (file)
@@ -457,7 +457,7 @@ class WebTest_Export_ContactTest extends ExportCiviSeleniumTestCase {
   }
 
   /**
-   * @param $optionGroupName
+   * @param string $optionGroupName
    * @param $optionValue
    *
    * @return array|int
index 4f54b5da1d19173aa5bef86d56538205211d8723..52bbf48ac9a7a8f35f44dc19b7448b4b2c3125e4 100644 (file)
@@ -32,7 +32,7 @@ require_once 'CiviTest/CiviSeleniumTestCase.php';
 class ExportCiviSeleniumTestCase extends CiviSeleniumTestCase {
 
   /**
-   * download CSV file.
+   * Download CSV file.
    *
    * @param string $selector element selector(download button in most of the cases).
    * @param string  $fileName file name to be download.
@@ -63,7 +63,7 @@ class ExportCiviSeleniumTestCase extends CiviSeleniumTestCase {
   }
 
   /**
-   * read CSV file and fire provided assertions.
+   * Read CSV file and fire provided assertions.
    *
    * @param string $file         file path of CSV file.
    * @param array  $checkColumns check first row of csv
index 071991ef7fc14af508a8058e46658b9887bbdaf8..1bc0f04ac88a7efd190fbf349d7a6e6f76c5fe73 100644 (file)
@@ -113,7 +113,7 @@ class WebTest_Financial_FinancialBatchExport extends CiviSeleniumTestCase {
 
   /**
    * @param $setTitle
-   * @param $batchId
+   * @param int $batchId
    * @param $exportFormat
    */
   function _testExportBatch($setTitle, $batchId, $exportFormat) {
index 912ca2ab5d3992985bcbff9edb05f67a1df1f0ce..c1badd9d70f6a0549dfb36dd0450ba9b80af7fc9 100644 (file)
@@ -51,7 +51,7 @@ class WebTest_Generic_CheckDashboardTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $widgetConfigureID
+   * @param int $widgetConfigureID
    * @param $widgetEnabledSelector
    * @param $widgetTitle
    */
@@ -98,7 +98,7 @@ class WebTest_Generic_CheckDashboardTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $widgetConfigureID
+   * @param int $widgetConfigureID
    * @param $widgetEnabledSelector
    */
   function _testRemoveDashboardElement($widgetConfigureID, $widgetEnabledSelector) {
index 8ec32e417adc468e36648485a9c9f68a7e154d4c..acc1e9a5986c92f6d3c11b80d98f8bd9c5ed74b7 100644 (file)
@@ -68,8 +68,8 @@ class WebTest_Import_AddressImportTest extends ImportCiviSeleniumTestCase {
   /**
    * Helper function to provide data for custom data import.
    *
-   * @param $customDataParams
-   * @param $firstName1
+   * @param array $customDataParams
+   * @param string $firstName1
    *
    * @return array
    */
@@ -288,7 +288,7 @@ class WebTest_Import_AddressImportTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * @param $customFieldName
+   * @param string $customFieldName
    * @param $type
    *
    * @return array
index 98a8e4565edf0a39113c362fb5884db8096d0969..674ce3dba3a289c11c165795023562f5ec2e6d39 100644 (file)
@@ -36,7 +36,7 @@ class WebTest_Import_AddressParsingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * check for Valid Street Address
+   * Check for Valid Street Address
    */
   function testValidStreetAddressParsing() {
     $this->webtestLogin();
@@ -91,7 +91,7 @@ class WebTest_Import_AddressParsingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * check for Invalid Street Address
+   * Check for Invalid Street Address
    */
   function testInvalidStreetAddressParsing() {
     $this->webtestLogin();
index 520f049f1337533c50f68fa9f450aa3c7da2e266..4e0e0ecc7471b1283a2769855b57bd92fb1a36e9 100644 (file)
@@ -108,8 +108,8 @@ class WebTest_Import_ContactCustomDataTest extends ImportCiviSeleniumTestCase {
   /**
    * Helper function to provide data for custom data import.
    *
-   * @param $customDataParams
-   * @param $firstName1
+   * @param array $customDataParams
+   * @param string $firstName1
    *
    * @return array
    */
index 68ddefc6240d754cd32c103676e17548af5cb8ce..a4968d6c6c822bfd77d8bba190dab23207d0a883 100644 (file)
@@ -106,8 +106,8 @@ class WebTest_Import_CustomDataTest extends ImportCiviSeleniumTestCase {
    * Helper function to provide data for custom data import.
    *
    * @param $customGroupTitle
-   * @param $firstName1
-   * @param $firstName2
+   * @param string $firstName1
+   * @param string $firstName2
    * @param $id1
    * @param $id2
    *
index bec67830bbe8314942ae0f11b2b9a4cebed4c90e..477996eb2fba25f446e924a70f7ed921992bfe15 100644 (file)
@@ -33,7 +33,7 @@ require_once 'CRM/Utils/Array.php';
 class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase {
 
   /**
-   * test csv import for each component.
+   * Test csv import for each component.
    *
    * @param string $component   component name ( Event, Contribution, Membership, Activity etc)
    * @param array  $headers     csv data headers
@@ -159,7 +159,7 @@ class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase {
   }
 
   /**
-   * test contact import.
+   * Test contact import.
    *
    * @param array  $headers     csv data headers
    * @param array  $rows        csv data rows
index 38216dfe72c1485fd5726a64964816e191d0433a..9c665e825dd193d8dac08e9d02d4c65cb4a63b71 100644 (file)
@@ -235,9 +235,9 @@ class WebTest_Import_MatchExternalIdTest extends ImportCiviSeleniumTestCase {
   /**
    * Helper function to add new contact
    *
-   * @param $firstName
-   * @param $lastName
-   * @param $externalId
+   * @param string $firstName
+   * @param string $lastName
+   * @param int $externalId
    *
    * @return int external id
    */
index 9a8ee93435db6bec069b652488caaba0f24e88f0..6cf5fd5061f8666c05b1c009ecc16aa5b5e34c85 100644 (file)
@@ -36,7 +36,7 @@ class WebTest_Import_SavedMappingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * test Saved Import Mapping for Individuals.
+   * Test Saved Import Mapping for Individuals.
    */
   function testSaveIndividualMapping() {
 
index 1f178178737ab216b4f7e99a467f594c607645c1..c6faebe9d2463769d2d7832b93d5e2f0486046c4 100644 (file)
@@ -150,7 +150,7 @@ class WebTest_Member_BatchUpdateViaProfileTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $memTypeParams
+   * @param array $memTypeParams
    */
   function _addMembership($memTypeParams) {
     // click through to the membership view screen
@@ -187,7 +187,7 @@ class WebTest_Member_BatchUpdateViaProfileTest extends CiviSeleniumTestCase {
 
   /**
    * @param $profileTitle
-   * @param $customDataParams
+   * @param array $customDataParams
    */
   function _addProfile($profileTitle, $customDataParams) {
 
index d33aa0fd72ad9b5c286aed75b642fb5a14bba06c..ddb37fc5b42dbc7f9c1affabc35e20257e87cb79 100755 (executable)
@@ -124,10 +124,10 @@ class WebTest_Member_DefaultMembershipPricesetTest extends CiviSeleniumTestCase
   }
 
   /**
-   * @param $firstName
-   * @param $lastName
+   * @param string $firstName
+   * @param string $lastName
    * @param $email
-   * @param $contactParams
+   * @param array $contactParams
    * @param $streetAddress
    */
   function contactInfoFill($firstName, $lastName, $email, $contactParams, $streetAddress) {
@@ -199,7 +199,7 @@ class WebTest_Member_DefaultMembershipPricesetTest extends CiviSeleniumTestCase
    * @param $validateString
    * @param bool $dateSpecificFields
    * @param $title
-   * @param $sid
+   * @param int $sid
    * @param bool $defaultPriceSet
    * @param $contributionType
    *
index a760210d18ff5652c5581e83376f6bcfc9562e69..9deeb3a41e0679ef62bf08ddd5e4b06c64fb1a0f 100644 (file)
@@ -201,7 +201,7 @@ class WebTest_Member_OfflineMembershipAddPricesetTest extends CiviSeleniumTestCa
    * @param $validateString
    * @param bool $dateSpecificFields
    * @param $title
-   * @param $sid
+   * @param int $sid
    * @param $contributionType
    *
    * @return array
@@ -270,7 +270,7 @@ class WebTest_Member_OfflineMembershipAddPricesetTest extends CiviSeleniumTestCa
 
   /**
    * @param $validateStrings
-   * @param $sid
+   * @param int $sid
    */
   function _testVerifyPriceSet($validateStrings, $sid) {
     // verify Price Set at Preview page
@@ -288,8 +288,8 @@ class WebTest_Member_OfflineMembershipAddPricesetTest extends CiviSeleniumTestCa
   }
 
   /**
-   * @param $sid
-   * @param $contactParams
+   * @param int $sid
+   * @param array $contactParams
    * @param $memTypeTitle1
    * @param $memTypeTitle2
    * @param bool $renew
@@ -376,8 +376,8 @@ class WebTest_Member_OfflineMembershipAddPricesetTest extends CiviSeleniumTestCa
   }
 
   /**
-   * @param $sid
-   * @param $contactParams
+   * @param int $sid
+   * @param array $contactParams
    * @param $memTypeTitle1
    * @param $term
    */
index 039ca97b1c676dedb98ec8cbea61b782dcfe226f..49d6369cf41309834554ab1011fcb534e87a7411 100644 (file)
@@ -217,7 +217,7 @@ class WebTest_Member_OnlineMembershipAddPricesetTest extends CiviSeleniumTestCas
    * @param $validateString
    * @param bool $dateSpecificFields
    * @param $title
-   * @param $sid
+   * @param int $sid
    * @param $contributionType
    *
    * @return array
@@ -284,7 +284,7 @@ class WebTest_Member_OnlineMembershipAddPricesetTest extends CiviSeleniumTestCas
 
   /**
    * @param $validateStrings
-   * @param $sid
+   * @param int $sid
    */
   function _testVerifyPriceSet($validateStrings, $sid) {
     // verify Price Set at Preview page
@@ -299,8 +299,8 @@ class WebTest_Member_OnlineMembershipAddPricesetTest extends CiviSeleniumTestCas
   }
 
   /**
-   * @param $pageId
-   * @param $contactParams
+   * @param int $pageId
+   * @param array $contactParams
    * @param $memTypeTitle1
    * @param $memTypeTitle2
    * @param bool $renew
@@ -409,8 +409,8 @@ class WebTest_Member_OnlineMembershipAddPricesetTest extends CiviSeleniumTestCas
   }
 
   /**
-   * @param $pageId
-   * @param $contactParams
+   * @param int $pageId
+   * @param array $contactParams
    * @param $memTypeTitle1
    * @param $term
    * @param bool $renew
index 82cf0e0274e3e1d36df885ceb54a342117893a2b..285a648a42054cf8067910634e004cb298da3dc5 100644 (file)
@@ -182,10 +182,10 @@ class WebTest_Member_OnlineMembershipCreateTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $pageId
-   * @param $memTypeId
-   * @param $firstName
-   * @param $lastName
+   * @param int $pageId
+   * @param int $memTypeId
+   * @param string $firstName
+   * @param string $lastName
    * @param $payLater
    * @param $hash
    * @param bool $otherAmount
index 34011e6d4c11cd4f2a5f14b7f4904454397511ba..16bc2cce4f7dbabd5672615bbc3099f9c4680851 100644 (file)
@@ -144,9 +144,9 @@ class WebTest_Member_SeperateMembershipPaymentTest extends CiviSeleniumTestCase
   }
 
   /**
-   * @param $pageId
-   * @param $memTypeId
-   * @param null $cid
+   * @param int $pageId
+   * @param int $memTypeId
+   * @param int $cid
    */
   function _testOnlineMembershipSignup($pageId, $memTypeId, $cid = NULL) {
     //Open Live Contribution Page
index 95e1585e816ba1735e5dc53ec2b8e8e110a40098..4762d3e31c72a08c7d19cbc9a5e389e5afb95ef7 100644 (file)
@@ -281,7 +281,7 @@ class WebTest_Profile_MultiRecordProfileAddTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $gid
+   * @param int $gid
    * @param $profileTitle
    */
   function _deleteProfile($gid, $profileTitle) {
index 01f5b96ce9835152ed531012ce5353b95d72e392..7156faef3acf12b0ccfb05407175fab193a382c0 100644 (file)
@@ -218,7 +218,7 @@ class WebTest_Report_RolePermissionReportTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $roleid
+   * @param int $roleid
    *
    * @return string
    */
index 2f0c47204ea69e432793330cb8a6dc5b803b72cf..dbf0e3dfb09652f77d8a51e6f06cb9ece3e38413 100644 (file)
@@ -119,7 +119,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * test permissions limited by hook
+   * Test permissions limited by hook
    */
   function testContactGetHookLimitingHook() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereOnlySecond'));
@@ -132,7 +132,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * confirm that without check permissions we still get 2 contacts returned
+   * Confirm that without check permissions we still get 2 contacts returned
    */
   function testContactGetHookLimitingHookDontCheck() {
     //
@@ -330,13 +330,13 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * no results returned
+   * No results returned
    */
   function aclWhereHookNoResults($type, &$tables, &$whereTables, &$contactID, &$where) {
   }
 
   /**
-   * all results returned
+   * All results returned
    * @implements CRM_Utils_Hook::aclWhereClause
    */
   function aclWhereHookAllResults($type, &$tables, &$whereTables, &$contactID, &$where) {
@@ -344,7 +344,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * full results returned
+   * Full results returned
    * @implements CRM_Utils_Hook::aclWhereClause
    */
   function aclWhereOnlySecond($type, &$tables, &$whereTables, &$contactID, &$where) {
index c41d2652787e1ff95e8296a9a59198a19f0f5010..ce39f7732dac90d12d35ff8f7ded7f977edcb5a2 100644 (file)
@@ -94,7 +94,7 @@ class api_v3_APIStandardsTest extends CiviUnitTestCase {
   }
 
   /**
-   * test checks that all v3 API return a standardised error message when
+   * Test checks that all v3 API return a standardised error message when
    * the $params passed in is not an array.
    */
   function testParamsNotArray() {
index 03e93285158719219bb4cce2bb2f0d4bd9f23a61..32fb1bc43b94c2fda694a6dc2d215b4586fb2ab3 100644 (file)
@@ -166,7 +166,7 @@ class api_v3_APITest extends CiviUnitTestCase {
   }
 
   /**
-   * test exception is thrown
+   * Test exception is thrown
    */
   function testv3WrapperException(){
     try{
index 8dbdcc73de3b2e703ac9e37ee807ab6947ffdf68..b3dc5e2e47d604643015a25c81aa7e89cf59277a 100644 (file)
@@ -94,7 +94,7 @@ class api_v3_ActionScheduleTest extends CiviUnitTestCase {
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testActionScheduleCreateWithoutRequired() {
     $params = array(
index 5bdc9ecc7e3be72d133f22fb1920ea5b90e16d60..92e277b9b854d4fd6681d938487674a60021ce85 100644 (file)
@@ -111,14 +111,14 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testActivityCreateEmpty() {
     $result = $this->callAPIFailure('activity', 'create', array());
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testActivityCreateWithoutRequired() {
     $params = array(
@@ -205,7 +205,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testActivityCreateWithUnknownActivityTypeId() {
     $params = array(
@@ -727,7 +727,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check activity deletion with empty params
+   * Check activity deletion with empty params
    */
   function testDeleteActivityForEmptyParams() {
     $params = array('version' => $this->_apiversion);
@@ -735,7 +735,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check activity deletion without activity id
+   * Check activity deletion without activity id
    */
   function testDeleteActivityWithoutId() {
     $params = array(
@@ -746,7 +746,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check activity deletion without activity type
+   * Check activity deletion without activity type
    */
   function testDeleteActivityWithoutActivityType() {
     $params = array('id' => 1);
@@ -754,7 +754,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check activity deletion with incorrect data
+   * Check activity deletion with incorrect data
    */
   function testDeleteActivityWithIncorrectActivityType() {
     $params = array(
@@ -766,7 +766,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check activity deletion with correct data
+   * Check activity deletion with correct data
    */
   function testDeleteActivity() {
     $result = $this->callAPISuccess('activity', 'create', $this->_params);
@@ -780,7 +780,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testActivityUpdateWithoutRequired() {
     $params = array(
@@ -806,7 +806,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testActivityUpdateWithIncorrectContactActivityType() {
     $params = array(
@@ -1028,7 +1028,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * check activity update with status
+   * Check activity update with status
    */
   function testActivityUpdateWithStatus() {
     $activity = $this->callAPISuccess('activity', 'create', $this->_params);
index 4f6079f9cfb296a8f3f12e4e4b674125e219e83f..383f8b9bad275e74a4af24c8f1244b14870f4f33 100644 (file)
@@ -97,7 +97,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;
@@ -115,7 +115,7 @@ class api_v3_AddressTest extends CiviUnitTestCase {
    }
 
   /**
-   * is_primary shoule be set as a default. ie. create the address, unset the params & recreate.
+   * Is_primary shoule 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
    */
index 74fe11ce643e01d97df8dea7674f336ca8471faf..be1c562940ce446a3f142efb3bd0a0e4736bda00 100644 (file)
@@ -71,14 +71,14 @@ class api_v3_CaseTest extends CiviCaseTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testCaseCreateEmpty() {
     $result = $this->callAPIFailure('case', 'create', array());
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testCaseCreateWithoutRequired() {
     $params = array(
index e8b4d3d60a6b33506d935ce6bab9fb7f2b43bbc6..2f34786900e05418f4c015fc2d01bf5a7f92b188 100644 (file)
@@ -73,14 +73,14 @@ class api_v3_CaseTypeTest extends CiviCaseTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testCaseTypeCreateEmpty() {
     $this->callAPIFailure('CaseType', 'create', array());
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testCaseTypeCreateWithoutRequired() {
     $params = array(
@@ -96,7 +96,7 @@ class api_v3_CaseTypeTest extends CiviCaseTestCase {
   }
 
   /**
-   * test create methods with valid data
+   * Test create methods with valid data
    * success expected
    */
   function testCaseTypeCreate() {
@@ -181,7 +181,7 @@ class api_v3_CaseTypeTest extends CiviCaseTestCase {
   }
 
   /**
-   * test create methods with xml file
+   * Test create methods with xml file
    * success expected
    */
   function testCaseTypeCreateWithDefinition() {
index 3f72b8e705c1286952dcfbea35a4da36e6a8e9fa..d051c59aac96fa06f85852274f5a1b0356fab2f5 100644 (file)
@@ -321,7 +321,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     $this->callAPIFailure('contact', 'create', $params);
   }
   /**
-   * 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
@@ -538,7 +538,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -562,7 +562,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -1650,7 +1650,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that permissions are respected when creating contacts
+   * Test that permissions are respected when creating contacts
    */
   function testContactCreationPermissions() {
     $params = array(
@@ -1738,7 +1738,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test get ref api - gets a list of references to an entity
+   * Test get ref api - gets a list of references to an entity
    */
   function testGetReferenceCounts() {
     $result = $this->callAPISuccess('Contact', 'create', array(
index 0f98ed7c28981c97dfc742d3b44532b3909d1970..14ee8d697c52d5ca258722bb618860715ec075f2 100644 (file)
@@ -91,7 +91,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test add methods with valid data
+   * Test add methods with valid data
    * success expected
    */
   function testContactCreate() {
@@ -135,7 +135,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
 
 
   /**
-   * test add with invalid data
+   * Test add with invalid data
    */
   function testContactAddInvalidData() {
 
@@ -159,7 +159,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
 
 
   /**
-   * test update with no subtype to valid subtype
+   * Test update with no subtype to valid subtype
    * success expected
    */
   function testContactUpdateNoSubtypeValid() {
@@ -225,7 +225,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
 
 
   /**
-   * test update with no subtype to invalid subtype
+   * Test update with no subtype to invalid subtype
    */
   function testContactUpdateNoSubtypeInvalid() {
 
@@ -272,7 +272,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test update with no subtype to valid subtype
+   * Test update with no subtype to valid subtype
    * success expected
    */
   function testContactUpdateSubtypeValid() {
@@ -362,7 +362,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test update with no subtype to invalid subtype
+   * Test update with no subtype to invalid subtype
    */
   function testContactUpdateSubtypeInvalid() {
 
index 37c209a93afb0e5e2bf986378e9cd807d84010ef..ad541df38a3b9789254c8032fe722d09df631322 100644 (file)
@@ -372,7 +372,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * set up membership contribution page
+   * Set up membership contribution page
    * @param bool $isSeparatePayment
    */
   function setUpMembershipContributionPage($isSeparatePayment = FALSE) {
@@ -427,7 +427,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * help function to set up contribution page with some defaults
+   * Help function to set up contribution page with some defaults
    */
   function setUpContributionPage() {
     $contributionPageResult = $this->callAPISuccess($this->_entity, 'create', $this->params);
index ad1a5af425fc42935967d1189524092a70e81430..e04ff2e9e5b48f66a153bdeba2bdb0664e3235b6 100644 (file)
@@ -100,7 +100,7 @@ class api_v3_ContributionSoftTest extends CiviUnitTestCase {
   }
 
   /**
-   * test get methods
+   * Test get methods
    * @todo - this might be better broken down into more smaller tests
    */
   function testGetContributionSoft() {
index d8ed23fabb44f7135a22b7fa56301c540345af5c..366018bbe33aaaba1cbdd080b7e7c6f3451a321b 100644 (file)
@@ -280,7 +280,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -303,7 +303,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -427,7 +427,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
     $this->contributionGetnCheck($params, $contribution['id']);
   }
   /**
-   * test create with valid payment instument
+   * Test create with valid payment instument
    */
   function testCreateContributionWithPaymentInstrument() {
     $params = $this->_params + array('payment_instrument' => 'EFT');
@@ -558,7 +558,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * test note created correctly
+   * Test note created correctly
    */
   function testCreateContributionWithNote() {
     $description = "Demonstrates creating contribution with Note Entity";
@@ -770,7 +770,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * in the interests of removing financial type / contribution type checks from
+   * In the interests of removing financial type / contribution type checks from
    * legacy format function lets test that the api is doing this for us
    */
   function testCreateInvalidFinancialType() {
@@ -780,7 +780,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * in the interests of removing financial type / contribution type checks from
+   * In the interests of removing financial type / contribution type checks from
    * legacy format function lets test that the api is doing this for us
    */
   function testValidNamedFinancialType() {
@@ -855,7 +855,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that BAO defaults work
+   * Test that BAO defaults work
    */
   function testCreateBAODefaults() {
     unset($this->_params['contribution_source_id'], $this->_params['payment_instrument_id']);
@@ -1051,7 +1051,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that update does not change status id CRM-15105
+   * Test that update does not change status id CRM-15105
    */
   function testCreateUpdateWithoutChangingPendingStatus() {
     $contribution = $this->callAPISuccess('contribution', 'create', array_merge($this->_params, array('contribution_status_id' => 2)));
@@ -1320,7 +1320,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * test membership is renewed when transaction completed
+   * Test membership is renewed when transaction completed
    */
   function testCompleteTransactionMembershipPriceSet() {
     $this->createPriceSetWithPage('membership');
@@ -1332,7 +1332,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * test membership is renewed when transaction completed
+   * Test membership is renewed when transaction completed
    */
   function testCompleteTransactionMembershipPriceSetTwoTerms() {
     $this->createPriceSetWithPage('membership');
@@ -1351,7 +1351,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
 
 
   /**
-   * this could be merged with 4.5 function setup in api_v3_ContributionPageTest::setUpContributionPage
+   * This could be merged with 4.5 function setup in api_v3_ContributionPageTest::setUpContributionPage
    * on parent class at some point (fn is not in 4.4)
    * @param $entity
    * @param array $params
@@ -1410,7 +1410,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
 
   /**
    * Set up a pending transaction with a specific price field id
-   * @param $priceFieldValueID
+   * @param int $priceFieldValueID
    */
   function setUpPendingContribution($priceFieldValueID){
     $contactID = $this->individualCreate();
@@ -1566,7 +1566,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */function _getFinancialTrxnAmount($contId) {
@@ -1582,7 +1582,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
  }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */function _getFinancialItemAmount($contId) {
@@ -1597,7 +1597,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
  }
 
   /**
-   * @param $contId
+   * @param int $contId
    * @param $context
    */
   function _checkFinancialItem($contId, $context) {
@@ -1667,7 +1667,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   /**
    * @param $contribution
    * @param $context
-   * @param null $instrumentId
+   * @param int $instrumentId
    */
   function _checkFinancialTrxn($contribution, $context, $instrumentId = NULL) {
    $trxnParams = array(
index b186fcc3c8606fb517aba5dec359a28148858656..e07b4f9e9f3cd01bf5ead63c7871612621c26ef5 100644 (file)
@@ -64,7 +64,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no array
+   * Check with no array
    */
   function testCustomFieldCreateNoArray() {
     $fieldParams = NULL;
@@ -74,7 +74,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no label
+   * Check with no label
    */
   function testCustomFieldCreateWithoutLabel() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'text_test_group'));
@@ -95,7 +95,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with edit
+   * Check with edit
    */
   function testCustomFieldCreateWithEdit() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'text_test_group'));
@@ -120,7 +120,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check without groupId
+   * Check without groupId
    */
   function testCustomFieldCreateWithoutGroupID() {
     $fieldParams = array(
@@ -171,7 +171,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $gid
+   * @param int $gid
    * @param $htype
    * @param $dtype
    *
@@ -195,7 +195,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $gid
+   * @param int $gid
    * @param $htype
    * @param $dtype
    *
@@ -230,7 +230,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
     }*/
 
   /**
-   * check with data type - Options with option_values
+   * Check with data type - Options with option_values
    */
   function testCustomFieldCreateWithEmptyOptionGroup() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Contact', 'title' => 'select_test_group'));
@@ -392,7 +392,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   ///////////////// civicrm_custom_field_delete methods
 
   /**
-   * check with no array
+   * Check with no array
    */
   function testCustomFieldDeleteNoArray() {
     $params = NULL;
@@ -401,7 +401,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check without Field ID
+   * Check without Field ID
    */
   function testCustomFieldDeleteWithoutFieldID() {
     $params = array();
@@ -410,7 +410,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check without valid array
+   * Check without valid array
    */
   function testCustomFieldDelete() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'test_group'));
@@ -426,7 +426,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * check for Option Value
+   * Check for Option Value
    */
   function testCustomFieldOptionValueDelete() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Contact', 'title' => 'ABC'));
index e4c9bad764671dcdb648a5ccfdf2c28289b8713e..8d44de6980eb17e077ef0d2189e6ab2513752053 100644 (file)
@@ -78,7 +78,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   ///////////////// civicrm_custom_group_create methods
 
   /**
-   * check with empty array
+   * Check with empty array
    * note that these tests are of marginal value so should not be included in copy & paste
    * code. The SyntaxConformance is capable of testing this for all entities on create
    * & delete (& it would be easy to add if not there)
@@ -90,7 +90,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testCustomGroupCreateNoExtends() {
     $params = array(
@@ -111,7 +111,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testCustomGroupCreateInvalidExtends() {
     $params = array(
@@ -132,7 +132,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with a string instead of array for extends
+   * Check with a string instead of array for extends
    */
   function testCustomGroupCreateExtendsString() {
     $params = array(
@@ -152,7 +152,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid array
+   * Check with valid array
    */
   function testCustomGroupCreate() {
     $params = array(
@@ -173,7 +173,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid array
+   * Check with valid array
    */
   function testCustomGroupGetFields() {
     $params = array(
@@ -190,7 +190,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with extends array length greater than 1
+   * Check with extends array length greater than 1
    */
   function testCustomGroupExtendsMultipleCreate() {
     $params = array(
@@ -210,7 +210,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with style missing from params array
+   * Check with style missing from params array
    */
   function testCustomGroupCreateNoStyle() {
     $params = array(
@@ -230,7 +230,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with not array
+   * Check with not array
    */
   function testCustomGroupCreateNotArray() {
     $params = NULL;
@@ -239,7 +239,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check without title
+   * Check without title
    */
   function testCustomGroupCreateNoTitle() {
     $params = array('extends' => array('Contact'),
@@ -255,7 +255,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check for household without weight
+   * Check for household without weight
    */
   function testCustomGroupCreateHouseholdNoWeight() {
     $params = array(
@@ -276,7 +276,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check for Contribution Donation
+   * Check for Contribution Donation
    */
   function testCustomGroupCreateContributionDonation() {
     $params = array(
@@ -297,7 +297,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid array
+   * Check with valid array
    */
   function testCustomGroupCreateGroup() {
     $params = array(
@@ -319,7 +319,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with Activity - Meeting Type
+   * Check with Activity - Meeting Type
    */
   function testCustomGroupCreateActivityMeeting() {
     $params = array(
@@ -341,7 +341,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   ///////////////// civicrm_custom_group_delete methods
 
   /**
-   * check without GroupID
+   * Check without GroupID
    */
   function testCustomGroupDeleteWithoutGroupID() {
     $customGroup = $this->callAPIFailure('custom_group', 'delete', array());
@@ -349,7 +349,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no array
+   * Check with no array
    */
   function testCustomGroupDeleteNoArray() {
     $params = NULL;
@@ -358,7 +358,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid custom group id
+   * Check with valid custom group id
    */
   function testCustomGroupDelete() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'test_group'));
@@ -370,7 +370,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * main success get function
+   * Main success get function
    */
   public function testGetCustomGroupSuccess() {
 
index 39bf9e62e0c588b9106de3213b30953f6ec72a6b..245de3b46aa4fe967b372c7746985ed2de4348a4 100644 (file)
@@ -79,7 +79,7 @@ class api_v3_DashboardTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $id
+   * @param int $id
    * @param $oldCount
    */
   function DashboardDelete($id, $oldCount) {
index 56df71d35f435ee7908b8689cc944f06e0f7585e..eff60ed6c38cf53d57733f6b611d01fec895c78f 100644 (file)
@@ -276,7 +276,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   ///////////////// 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
@@ -392,7 +392,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * check event_id still supported for delete
+   * Check event_id still supported for delete
    */
   function testDeleteWithEventId() {
     $params = array(
@@ -510,7 +510,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * test api_action param also works
+   * Test api_action param also works
    */
   function testgetfieldsRest() {
     $description = "demonstrate use of getfields to interrogate api";
index c64e31da1143183e9cccdba1c8ecfcabe71e25d7..349ddd86d02a5d6094b66d56ee54382a7b8d56f4 100644 (file)
@@ -149,7 +149,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   ///////////////// civicrm_group_organization_create methods
 
   /**
-   * check with valid params
+   * Check with valid params
    */
   public function testGroupOrganizationCreate() {
     $params = array(
@@ -170,7 +170,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
     $this->assertEquals($result['values'], $result2['values']);
   }
   /**
-   * check with empty params array
+   * Check with empty params array
    */
   public function testGroupOrganizationCreateWithEmptyParams() {
     $params = array(    );
@@ -179,7 +179,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with invalid params
+   * Check with invalid params
    */
   public function testGroupOrganizationCreateParamsNotArray() {
     $params = 'group_org';
@@ -188,7 +188,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with invalid params keys
+   * Check with invalid params keys
    */
   public function testGroupOrganizationCreateWithInvalidKeys() {
     $params = array(
index c201df4b3a885d9250583e9d334303948c790b99..1be311d739443e3539887c0c9f020adc0cbde818 100644 (file)
@@ -69,7 +69,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no name
+   * Check with no name
    */
   function testCreateWithoutName() {
     $params = array(
@@ -80,7 +80,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * create job with an invalid "run_frequency" value
+   * Create job with an invalid "run_frequency" value
    */
   function testCreateWithInvalidFrequency() {
     $params = array(
@@ -97,7 +97,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * create job
+   * Create job
    */
   function testCreate() {
     $result = $this->callAPIAndDocument('job', 'create', $this->_params, __FUNCTION__, __FILE__);
@@ -110,7 +110,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testDeleteEmpty() {
     $params = array();
@@ -118,14 +118,14 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with No array
+   * Check with No array
    */
   function testDeleteParamsNotArray() {
     $result = $this->callAPIFailure('job', 'delete', 'string');
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testDeleteWithoutRequired() {
     $params = array(
@@ -139,7 +139,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testDeleteWithIncorrectData() {
     $params = array(
@@ -148,7 +148,7 @@ class api_v3_JobTest extends CiviUnitTestCase {
   }
 
   /**
-   * check job delete
+   * Check job delete
    */
   function testDelete() {
     $createResult = $this->callAPISuccess('job', 'create', $this->_params);
@@ -182,7 +182,7 @@ 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
    *
@@ -217,7 +217,7 @@ 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
    */
@@ -285,8 +285,8 @@ class api_v3_JobTest extends CiviUnitTestCase {
 
   /**
    * @param $op
-   * @param $objectName
-   * @param $id
+   * @param string $objectName
+   * @param int $id
    * @param array $params
    */
   function hookPreRelationship($op, $objectName, $id, &$params ) {
index b8611d21aa76fc9557ce95a0ed9f2cfc77178627..9dbcc5ead403ed7eb4f1e47480dc1bfb26967988 100644 (file)
@@ -258,7 +258,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
     $this->assertEquals($result['membership_type_id'], $this->_membershipTypeID2);
   }
   /**
-   * 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
@@ -663,7 +663,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -799,7 +799,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * change custom field using update
+   * Change custom field using update
    */
   function testUpdateWithCustom() {
     $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__);
index 892657a9d7f829d5327fe0c77a824840e440a61a..a3476928027ab412a6606a1036755bbda92a258e 100644 (file)
@@ -58,7 +58,7 @@ class api_v3_MessageTemplateTest extends CiviUnitTestCase {
   function tearDown() {}
 
    /**
-   * test create function succeeds
+   * Test create function succeeds
    */
   public function testCreate() {
     $result = $this->callAPIAndDocument('MessageTemplate', 'create', $this->params, __FUNCTION__, __FILE__);
index 76eb1bb1f4e1b230253a2570869ffcfe028ceca1..fef78847bf24d9f32455ce6882f63f47986826bb 100644 (file)
@@ -87,7 +87,7 @@ class api_v3_NoteTest extends CiviUnitTestCase {
   ///////////////// civicrm_note_get methods
 
   /**
-   * check retrieve note with empty parameter array
+   * Check retrieve note with empty parameter array
    * Error expected
    */
   function testGetWithEmptyParams() {
@@ -95,7 +95,7 @@ class api_v3_NoteTest extends CiviUnitTestCase {
   }
 
   /**
-   * check retrieve note with missing patrameters
+   * Check retrieve note with missing patrameters
    * Error expected
    */
   function testGetWithoutEntityId() {
@@ -106,7 +106,7 @@ class api_v3_NoteTest extends CiviUnitTestCase {
   }
 
   /**
-   * check civicrm_note_get
+   * Check civicrm_note_get
    */
   function testGet() {
     $entityId = $this->_noteID;
index 3b243e91b54d2a6f651d28d17f01ca55cf64b4f2..7b91b4365c7aaacc42c6a2438a2ab9421ebe6bc7 100644 (file)
@@ -137,7 +137,7 @@ class api_v3_OptionGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * success test for updating an existing Option Group
+   * Success test for updating an existing Option Group
    */
   public function testCreateUpdateOptionGroup() {
     $result = $this->callAPISuccess($this->_entity, 'create', $this->_params);
@@ -147,7 +147,7 @@ class api_v3_OptionGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * success test for deleting an existing Option Group
+   * Success test for deleting an existing Option Group
    */
   public function testDeleteOptionGroup() {
     $result = $this->callAPISuccess($this->_entity, 'create', $this->_params);
index a1073b3f436241d05339a402790ddab1757295b5..02fe242c1733e88a2be84bdb7dc88a7277be8e18 100644 (file)
@@ -134,7 +134,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that using option_group_name returns more than 1 & less than all
+   * Test that using option_group_name returns more than 1 & less than all
    */
   public function testGetOptionGroupByName() {
     $activityTypesParams = array('option_group_name' => 'activity_type', 'option.limit' => 100);
@@ -288,7 +288,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
 
 
   /**
-   * update option value with 'id' paramter and the value to update
+   * Update option value with 'id' paramter and the value to update
    * and not passing option group id
    */
   public function testUpdateOptionValueNoGroupId() {
@@ -307,7 +307,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * update option value with 'id' paramter and the value to update
+   * Update option value with 'id' paramter and the value to update
    * and as well as option group id
    */
   public function testUpdateOptionValueWithGroupId() {
index 540501b460a3d20200cbeb4bbb6d7ec9774db0e6..ae1324efec39e70a99ec769f794545effa9cd38c 100644 (file)
@@ -115,7 +115,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check without contribution_id
+   * Check without contribution_id
    */
   function testPaymentCreateMissingContributionId() {
     //Without Payment EntityID
@@ -126,7 +126,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid array
+   * Check with valid array
    */
   function testPaymentCreate() {
     //Create Contribution & get contribution ID
@@ -158,7 +158,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testPaymentUpdateEmpty() {
     $params = array();
@@ -166,7 +166,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with missing participant_id
+   * Check with missing participant_id
    */
   function testPaymentUpdateMissingParticipantId() {
     //WithoutParticipantId
@@ -177,7 +177,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with missing contribution_id
+   * Check with missing contribution_id
    */
   function testPaymentUpdateMissingContributionId() {
     $params = array(
@@ -186,7 +186,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check financial records for offline Participants
+   * Check financial records for offline Participants
    */
   function testPaymentOffline() {
 
@@ -212,7 +212,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check financial records for online Participant
+   * Check financial records for online Participant
    */
   function testPaymentOnline() {
 
@@ -245,7 +245,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check financial records for online Participant pay later scenario
+   * Check financial records for online Participant pay later scenario
    */
   function testPaymentPayLaterOnline() {
 
@@ -290,7 +290,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testPaymentDeleteWithEmptyParams() {
     $params = array();
@@ -299,7 +299,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with wrong id
+   * Check with wrong id
    */
   function testPaymentDeleteWithWrongID() {
     $params = array(
@@ -309,7 +309,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid array
+   * Check with valid array
    */
   function testPaymentDelete() {
 
index 380720264a4c01bca32f047e633ae24e3d2812e0..8aab82c20efdc1d8a1ac6665b45c767e6347d563 100644 (file)
@@ -98,7 +98,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -124,7 +124,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_get methods
 
   /**
-   * check with wrong params type
+   * Check with wrong params type
    */
   function testGetWrongParamsType() {
     $params = 'a string';
@@ -139,7 +139,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with participant_id
+   * Check with participant_id
    */
   function testGetParticipantIdOnly() {
     $params = array(
@@ -168,7 +168,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with params id
+   * Check with params id
    */
   function testGetParamsAsIdOnly() {
     $params = array(
@@ -182,7 +182,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with params id
+   * Check with params id
    */
   function testGetNestedEventGet() {
     //create a second event & add participant to it.
@@ -217,7 +217,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with contact_id
+   * Check with contact_id
    */
   function testGetContactIdOnly() {
     $params = array(
@@ -242,7 +242,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with event_id
+   * Check with event_id
    * fetch first record
    */
   function testGetMultiMatchReturnFirst() {
@@ -255,7 +255,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with event_id
+   * Check with event_id
    * in v3 this should return all participants
    */
   function testGetMultiMatchNoReturnFirst() {
@@ -279,7 +279,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with participant_id
+   * Check with participant_id
    */
   function testSearchParticipantIdOnly() {
     $params = array(
@@ -292,7 +292,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with contact_id
+   * Check with contact_id
    */
   function testSearchContactIdOnly() {
     // Should get 2 participant records for this contact.
@@ -305,7 +305,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with event_id
+   * Check with event_id
    */
   function testSearchByEvent() {
     // Should get >= 3 participant records for this event. Also testing that last_name and event_title are returned.
@@ -324,7 +324,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with event_id
+   * Check with event_id
    * fetch with limit
    */
   function testSearchByEventWithLimit() {
@@ -349,7 +349,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with event_id
+   * Check with event_id
    */
   function testCreateMissingContactID() {
     $params = array(
@@ -359,7 +359,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with contact_id
+   * Check with contact_id
    * without event_id
    */
   function testCreateMissingEventID() {
@@ -370,7 +370,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with contact_id & event_id
+   * Check with contact_id & event_id
    */
   function testCreateEventIdOnly() {
     $params = array(
@@ -382,7 +382,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with complete array
+   * Check with complete array
    */
   function testCreateAllParams() {
     $params = $this->_params;
@@ -519,7 +519,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with complete array
+   * Check with complete array
    */
   function testUpdate() {
     $participantId = $this->participantCreate(array(
@@ -572,7 +572,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testUpdateEmptyParams() {
     $params = array();
@@ -581,7 +581,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check without event_id
+   * Check without event_id
    */
   function testUpdateWithoutEventId() {
     $participantId = $this->participantCreate(array('contactID' => $this->_individualId, 'eventID' => $this->_eventID));
@@ -599,7 +599,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with Invalid participantId
+   * Check with Invalid participantId
    */
   function testUpdateWithWrongParticipantId() {
     $params = array(
@@ -613,7 +613,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with Invalid ContactId
+   * Check with Invalid ContactId
    */
   function testUpdateWithWrongContactId() {
     $participantId = $this->participantCreate(array(
@@ -651,7 +651,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with participant_id
+   * Check with participant_id
    */
   function testParticipantDelete() {
     $params = array(
@@ -662,7 +662,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..
    */
@@ -674,7 +674,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * delete with a get - a 'criteria delete'
+   * Delete with a get - a 'criteria delete'
    */
   function testNestedDelete() {
     $description  = "Criteria delete by nesting a GET & a DELETE";
index b676090252819892b07db87badbb9a5c97bac836..d819e8647d77b681eb50b77954782f2d444448bb 100644 (file)
@@ -80,7 +80,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_add methods
 
   /**
-   * check with no name
+   * Check with no name
    */
   function testPaymentProcessorCreateWithoutName() {
     $payProcParams = array(
@@ -90,7 +90,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   }
 
   /**
-   * create payment processor
+   * Create payment processor
    */
   function testPaymentProcessorCreate() {
     $params = $this->_params;
@@ -115,7 +115,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_delete methods
 
   /**
-   * check payment processor delete
+   * Check payment processor delete
    */
   function testPaymentProcessorDelete() {
     $id = $this->testPaymentProcessorCreate();
@@ -129,7 +129,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processors_get methods
 
   /**
-   * check with valid params array.
+   * Check with valid params array.
    */
   function testPaymentProcessorsGet() {
     $params = $this->_params;
index 9c564ff4e92a8d0b153095f5d74499b2ca93032d..277a1d6ab855372bf0ab1e30b6871c90e16345d4 100644 (file)
@@ -63,7 +63,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_type_add methods
 
   /**
-   * check with no name
+   * Check with no name
    */
   function testPaymentProcessorTypeCreateWithoutName() {
     $payProcParams = array(
@@ -75,7 +75,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * create payment processor type
+   * Create payment processor type
    */
   function testPaymentProcessorTypeCreate() {
     $params = array(      'sequential' => 1,
@@ -108,7 +108,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_type_delete methods
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testPaymentProcessorTypeDeleteEmpty() {
     $params = array();
@@ -116,14 +116,14 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with No array
+   * Check with No array
    */
   function testPaymentProcessorTypeDeleteParamsNotArray() {
     $result = $this->callAPIFailure('payment_processor_type', 'delete', 'string');
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testPaymentProcessorTypeDeleteWithoutRequired() {
     $params = array(
@@ -137,14 +137,14 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testPaymentProcessorTypeDeleteWithIncorrectData() {
     $result = $this->callAPIFailure('payment_processor_type', 'delete', array('id' => 'abcd'));
   }
 
   /**
-   * check payment processor type delete
+   * Check payment processor type delete
    */
   function testPaymentProcessorTypeDelete() {
     $payProcType = $this->paymentProcessorTypeCreate();
@@ -158,7 +158,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_type_update
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testPaymentProcessorTypeUpdateEmpty() {
     $params = array();
@@ -167,7 +167,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with No array
+   * Check with No array
    */
   function testPaymentProcessorTypeUpdateParamsNotArray() {
     $result = $this->callAPIFailure('payment_processor_type', 'create', 'string');
@@ -175,7 +175,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with all parameters
+   * Check with all parameters
    */
   function testPaymentProcessorTypeUpdate() {
     // create sample payment processor type.
@@ -198,7 +198,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_types_get methods
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testPaymentProcessorTypesGetEmptyParams() {
     $results = $this->callAPISuccess('payment_processor_type', 'get', array(    ));
@@ -227,7 +227,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid params array.
+   * Check with valid params array.
    */
   function testPaymentProcessorTypesGet() {
     $firstRelTypeParams = array(
index 962e79146cf4ddb59adec093bce801ca673844ff..0f308e7044f754271224d4072717765364937330 100644 (file)
@@ -155,7 +155,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * test checks behaviour when more payments are created than should be possible
+   * Test checks behaviour when more payments are created than should be possible
    */
   function testCreatePledgePaymentAllCreated() {
     $params = array(
index f0c4974c37d8651ab89067a3e85827fa28bad1c2..30bfeee52d9c3dfab4eacaaafd0c5c33f2463a49 100644 (file)
@@ -78,7 +78,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   ///////////////// 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
@@ -133,7 +133,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $pledge = $this->callAPISuccess('pledge', 'delete', $params2);
   }
   /**
-   * test  'return.pledge_financial_type' => 1 works
+   * Test  'return.pledge_financial_type' => 1 works
    */
   function testGetPledgewithReturn() {
 
@@ -147,7 +147,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $this->assertEquals('Donation', $pledge['pledge_financial_type']);
   }
   /**
-   * test  'return.pledge_contribution_type' => 1 works
+   * Test  'return.pledge_contribution_type' => 1 works
    * This is for legacy compatibility
   */
   function testGetPledgewithReturnLegacy() {
@@ -355,7 +355,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that status is set to pending
+   * Test that status is set to pending
    */
   function testCreatePledgeNoStatus() {
 
@@ -472,7 +472,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * legacy support for pledge_id
+   * Legacy support for pledge_id
    */
   function testDeletePledge() {
 
@@ -484,7 +484,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * std is to accept id
+   * Std is to accept id
    */
   function testDeletePledgeUseID() {
 
@@ -496,7 +496,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * test to make sure empty get returns nothing
+   * 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
    */
index 4499acaa73c27bfda1693aaa83753894d85dea70..52d078ab15723dbf41dc795175f72ba68591e734 100644 (file)
@@ -80,7 +80,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   ////////////// test $this->callAPISuccess3_profile_get //////////////////
 
   /**
-   * check Without ProfileId
+   * Check Without ProfileId
    */
   function testProfileGetWithoutProfileId() {
     $params = array(
@@ -92,7 +92,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no invalid profile Id
+   * Check with no invalid profile Id
    */
   function testProfileGetInvalidProfileId() {
     $params = array(
@@ -103,7 +103,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with success
+   * Check with success
    */
   function testProfileGet() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -211,7 +211,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * get Billing empty contact - this will return generic defaults
+   * Get Billing empty contact - this will return generic defaults
    */
   function testProfileGetBillingEmptyContact() {
 
@@ -235,7 +235,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile without activity id
+   * Check contact activity profile without activity id
    */
   function testContactActivityGetWithoutActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -246,7 +246,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile wrong activity id
+   * Check contact activity profile wrong activity id
    */
   function testContactActivityGetWrongActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -257,7 +257,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile with wrong activity type
+   * Check contact activity profile with wrong activity type
    */
   function testContactActivityGetWrongActivityType() {
     //flush cache by calling with reset
@@ -290,7 +290,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile with success
+   * Check contact activity profile with success
    */
   function testContactActivityGetSuccess() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -368,7 +368,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   /////////////// test $this->callAPISuccess3_profile_set //////////////////
 
   /**
-   * check Without ProfileId
+   * Check Without ProfileId
    */
   function testProfileSubmitWithoutProfileId() {
     $params = array(
@@ -380,7 +380,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no invalid profile Id
+   * Check with no invalid profile Id
    */
   function testProfileSubmitInvalidProfileId() {
     $params = array(
@@ -391,7 +391,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with missing required field in profile
+   * Check with missing required field in profile
    */
   function testProfileSubmitCheckProfileRequired() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -415,7 +415,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with success
+   * Check with success
    */
   function testProfileSubmit() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -502,7 +502,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
     ));
   }
   /**
-   * set is deprecated but we need to ensure it still works
+   * Set is deprecated but we need to ensure it still works
    */
   function testLegacySet() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -538,7 +538,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile without activity id
+   * Check contact activity profile without activity id
    */
   function testContactActivitySubmitWithoutActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -550,7 +550,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile wrong activity id
+   * Check contact activity profile wrong activity id
    */
   function testContactActivitySubmitWrongActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -561,7 +561,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile with wrong activity type
+   * Check contact activity profile with wrong activity type
    */
   function testContactActivitySubmitWrongActivityType() {
     //flush cache by calling with reset
@@ -594,7 +594,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check contact activity profile with success
+   * Check contact activity profile with success
    */
   function testContactActivitySubmitSuccess() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -620,7 +620,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check profile apply Without ProfileId
+   * Check profile apply Without ProfileId
    */
   function testProfileApplyWithoutProfileId() {
     $params = array(
@@ -631,7 +631,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check profile apply with no invalid profile Id
+   * Check profile apply with no invalid profile Id
    */
   function testProfileApplyInvalidProfileId() {
     $params = array(
@@ -642,7 +642,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with success
+   * Check with success
    */
   function testProfileApply() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -902,7 +902,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $profileID
+   * @param int $profileID
    */
   function _addCustomFieldToProfile($profileID) {
     $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, '');
index a2c54549b4f193940fee039853ed3d1c452729c3..b01a1ca4ef47901c73a80f42780af8a47ce38aae 100644 (file)
@@ -35,7 +35,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
   protected $_cId_a;
   /**
-   * second individual
+   * Second individual
    * @var integer
    */
   protected $_cId_a_2;
@@ -101,14 +101,14 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_create methods
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testRelationshipCreateEmpty() {
     $this->callAPIFailure('relationship', 'create', array());
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testRelationshipCreateWithoutRequired() {
     $params = array(
@@ -121,7 +121,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testRelationshipCreateWithIncorrectData() {
 
@@ -154,7 +154,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check relationship creation with invalid Relationship
+   * Check relationship creation with invalid Relationship
    */
   function testRelationshipCreatInvalidRelationship() {
     // both the contact of type Individual
@@ -181,7 +181,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check relationship already exists
+   * Check relationship already exists
    */
   function testRelationshipCreateAlreadyExists() {
     $params = array(
@@ -207,7 +207,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check relationship already exists
+   * Check relationship already exists
    */
   function testRelationshipCreateUpdateAlreadyExists() {
     $params = array(
@@ -232,7 +232,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * checkupdate doesn't reset stuff badly - CRM-11789
+   * Checkupdate doesn't reset stuff badly - CRM-11789
    */
   function testRelationshipCreateUpdateDoesntMangle() {
     $params = array(
@@ -260,7 +260,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
 
 
   /**
-   * check relationship creation
+   * Check relationship creation
    */
   function testRelationshipCreate() {
     $params = array(
@@ -293,7 +293,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
     $this->callAPISuccess('relationship', 'delete', $params);
   }
   /**
-   * ensure disabling works
+   * Ensure disabling works
    */
   function testRelationshipUpdate() {
     $result = $this->callAPISuccess('relationship', 'create', $this->_params);
@@ -309,7 +309,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
     $this->assertEquals(1, $result['values'][$result['id']]['is_permission_b_a']);
   }
   /**
-   * check relationship creation
+   * Check relationship creation
    */
   function testRelationshipCreateEmptyEndDate() {
     $params = array(
@@ -347,7 +347,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check relationship creation with custom data
+   * Check relationship creation with custom data
    */
   function testRelationshipCreateWithCustomData() {
     $customGroup = $this->createCustomGroup();
@@ -382,7 +382,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * 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
@@ -515,7 +515,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_delete methods
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testRelationshipDeleteEmpty() {
     $params = array();
@@ -523,7 +523,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testRelationshipDeleteWithoutRequired() {
     $params = array(
@@ -536,7 +536,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testRelationshipDeleteWithIncorrectData() {
     $params = array(
@@ -552,7 +552,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check relationship creation
+   * Check relationship creation
    */
   function testRelationshipDelete() {
     $params = array(
@@ -576,7 +576,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_update methods
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testRelationshipUpdateEmpty() {
     $result = $this->callAPIFailure('relationship', 'create', array(),
@@ -584,11 +584,11 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
 
   /**
-   * check relationship update
+   * Check relationship update
    */
   function testRelationshipCreateDuplicate() {
     $relParams = array(
@@ -628,7 +628,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid params array.
+   * Check with valid params array.
    */
   function testRelationshipsGet() {
     $relParams = array(
@@ -662,7 +662,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid params array.
+   * Check with valid params array.
    * (The get function will behave differently without 'contact_id' passed
    */
   function testRelationshipsGetGeneric() {
@@ -803,7 +803,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
 
   }
   /**
-   * check with invalid relationshipType Id
+   * Check with invalid relationshipType Id
    */
   function testRelationshipTypeAddInvalidId() {
     $relTypeParams = array(
@@ -818,7 +818,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid data with contact_b
+   * Check with valid data with contact_b
    */
   function testGetRelationshipWithContactB() {
     $relParams = array(
@@ -846,7 +846,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid data with relationshipTypes
+   * Check with valid data with relationshipTypes
    */
   function testGetRelationshipWithRelTypes() {
     $relParams = array(
index 48dbb971311721717d8b563e3bd1e9f10f191b21..2d268fc6d76b42b830614acb946d23df8c98ed01 100644 (file)
@@ -94,7 +94,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_type_add methods
 
   /**
-   * check with no name
+   * Check with no name
    */
   function testRelationshipTypeCreateWithoutName() {
     $relTypeParams = array(
@@ -107,7 +107,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no contact type
+   * Check with no contact type
    */
   function testRelationshipTypeCreateWithoutContactType() {
     $relTypeParams = array(
@@ -120,7 +120,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * create relationship type
+   * Create relationship type
    */
   function testRelationshipTypeCreate() {
     $params = array(
@@ -150,7 +150,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check if required fields are not passed
+   * Check if required fields are not passed
    */
   function testRelationshipTypeDeleteWithoutRequired() {
     $params = array(
@@ -165,7 +165,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with incorrect required fields
+   * Check with incorrect required fields
    */
   function testRelationshipTypeDeleteWithIncorrectData() {
     $params = array(
@@ -183,7 +183,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check relationship type delete
+   * Check relationship type delete
    */
   function testRelationshipTypeDelete() {
     $id = $this->_relationshipTypeCreate();
@@ -198,7 +198,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_type_update
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testRelationshipTypeUpdateEmpty() {
     $params = array();
@@ -207,7 +207,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with no contact type
+   * Check with no contact type
    */
   function testRelationshipTypeUpdateWithoutContactType() {
     // create sample relationship type.
@@ -229,7 +229,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with all parameters
+   * Check with all parameters
    */
   function testRelationshipTypeUpdate() {
     // create sample relationship type.
@@ -256,7 +256,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_types_get methods
 
   /**
-   * check with empty array
+   * Check with empty array
    */
   function testRelationshipTypesGetEmptyParams() {
     $firstRelTypeParams = array(
@@ -287,7 +287,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with params Not Array.
+   * Check with params Not Array.
    */
   function testRelationshipTypesGetParamsNotArray() {
 
@@ -295,7 +295,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check with valid params array.
+   * Check with valid params array.
    */
   function testRelationshipTypesGet() {
     $firstRelTypeParams = array(
@@ -333,7 +333,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * create relationship type.
+   * Create relationship type.
    */
   function _relationshipTypeCreate($params = NULL) {
     if (!is_array($params) || empty($params)) {
index ac51335d55999e3510eee26d7302e1eb84893abe..824048b098a7d8d95e73931b0384936ea504e8b1 100644 (file)
@@ -110,7 +110,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
   /**
   /**
-   * check getfields works
+   * Check getfields works
    */
   function testGetFields() {
     $description = 'Demonstrate return from getfields - see subfolder for variants';
@@ -124,7 +124,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * let's check it's loading from cache by meddling with the cache
+   * Let's check it's loading from cache by meddling with the cache
    */
   function testGetFieldsCaching() {
     $settingsMetadata = array();
@@ -228,7 +228,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * check getfields works
+   * Check getfields works
    */
   function testCreateSetting() {
     $description = "shows setting a variable for a given domain - if no domain is set current is assumed";
@@ -246,7 +246,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * check getfields works
+   * Check getfields works
    */
   function testCreateInvalidSettings() {
     $params = array(
@@ -257,7 +257,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * check invalid settings rejected -
+   * Check invalid settings rejected -
    */
   function testCreateInvalidURLSettings() {
     $params = array(
@@ -273,7 +273,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * check getfields works
+   * Check getfields works
    */
   function testCreateInvalidBooleanSettings() {
     $params = array(
@@ -307,7 +307,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * check getfields works
+   * Check getfields works
    */
   function testCreateSettingMultipleDomains() {
     $description = "shows setting a variable for all domains";
@@ -389,7 +389,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * setting api should set & fetch settings stored in config as well as those in settings table
+   * Setting api should set & fetch settings stored in config as well as those in settings table
    */
   function testSetConfigSetting() {
     $config = CRM_Core_Config::singleton();
@@ -411,7 +411,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * setting api should set & fetch settings stored in config as well as those in settings table
+   * Setting api should set & fetch settings stored in config as well as those in settings table
    */
   function testGetConfigSetting() {
     $settings = $this->callAPISuccess('setting', 'get', array(
@@ -421,7 +421,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * setting api should set & fetch settings stored in config as well as those in settings table
+   * Setting api should set & fetch settings stored in config as well as those in settings table
    */
   function testGetSetConfigSettingMultipleDomains() {
     $settings = $this->callAPISuccess('setting', 'create', array(
index 724ff0aec8e40bc2ba580c8dc9b3a2ad5170519a..0b80f4f398ce4c922c95c9b87bd42cdd8cb27295 100644 (file)
@@ -77,7 +77,7 @@ class api_v3_SurveyTest extends CiviUnitTestCase {
   }
 
   /**
-   * test create function succeeds
+   * Test create function succeeds
    */
   public function testCreateSurvey() {
     $result = $this->callAPIAndDocument('survey', 'create', $this->params, __FUNCTION__, __FILE__);
@@ -109,7 +109,7 @@ 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)
    *
index 541d54ef976400ff24ed1e334f6dccdb775e545b..c609069e7dd7f7b2f55acf1947687cd65ecc7884 100644 (file)
@@ -1247,7 +1247,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
     return $returnEntities;
   }
   /**
-   * @param $entityName
+   * @param string $entityName
    * @param int $count
    *
    *
index 24d531a93e55dfa2842f95b3dbdc840ce8dd68bb..1140a4624ba384aab2817fd0be4cbb70a51c6b09 100644 (file)
@@ -42,7 +42,7 @@ class api_v3_TagTest extends CiviUnitTestCase {
    */
   protected $ids = array();
   /**
-   * tag id
+   * Tag id
    * @var integer
    */
   protected $tag = array();
index dca090139f92fbde4bea6ddb9c7f26cb6e1cc4ac..b6ec9219057d49008a0d402ab10dc9fd2c48f323 100644 (file)
@@ -238,7 +238,7 @@ class api_v3_TaxContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * online and offline contrbution from above created contrbution page
+   * Online and offline contrbution from above created contrbution page
    */
   function testCreateContributionOnline() {
     $this->setUpContributionPage();
@@ -408,7 +408,7 @@ class api_v3_TaxContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */
@@ -424,7 +424,7 @@ class api_v3_TaxContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * @param $contId
+   * @param int $contId
    *
    * @return null|string
    */
@@ -504,7 +504,7 @@ class api_v3_TaxContributionPageTest extends CiviUnitTestCase {
 
   /**
    * @param array $params
-   * @param $financialTypeId
+   * @param int $financialTypeId
    */
   function _getFinancialAccountId($financialTypeId) {
     $accountRel = key(CRM_Core_PseudoConstant::accountOptionValues('account_relationship', NULL, " AND v.name LIKE 'Income Account is' "));
index b09f62da25b4a2038851bd583132e1a9d9aabb9b..eb6a3d5fcf08253549f0174bf4fb1e99ee24971e 100644 (file)
@@ -92,7 +92,7 @@ class api_v3_UFFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * create / updating field
+   * Create / updating field
    */
   public function testCreateUFField() {
     $params = $this->_params; // copy
@@ -139,7 +139,7 @@ class api_v3_UFFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * deleting field
+   * Deleting field
    */
   public function testDeleteUFField() {
     $ufField = $this->callAPISuccess('uf_field', 'create', $this->_params);
@@ -156,7 +156,7 @@ class api_v3_UFFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * create / updating field
+   * Create / updating field
    */
   public function testReplaceUFFields() {
     $baseFields = array();
index 10cc0e80a9e4a0a1c238840b908d07a93e70c663..1e3ea26a25addae0a915a4551a7f6cb3c819e91c 100644 (file)
@@ -97,7 +97,7 @@ class api_v3_UFGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * updating group
+   * Updating group
    */
   public function testUpdateUFGroup() {
     $params = array(
index 164827e0676f208622ec8002cd6d5f6d7336f050..e158ae93808109aa8452444620d1aa487555f846 100644 (file)
@@ -77,7 +77,7 @@ class api_v3_UFJoinTest extends CiviUnitTestCase {
   }
 
   /**
-   * find uf join group id
+   * Find uf join group id
    */
   public function testFindUFGroupId() {
     $params = array(
@@ -124,7 +124,7 @@ class api_v3_UFJoinTest extends CiviUnitTestCase {
   }
 
   /**
-   * create/update uf join
+   * Create/update uf join
    */
   public function testCreateUFJoin() {
     $params = array(
@@ -180,7 +180,7 @@ class api_v3_UFJoinTest extends CiviUnitTestCase {
   }
 
   /**
-   * find uf join id
+   * Find uf join id
    */
   public function testGetUFJoinId() {
     $params = array(
index 3849d0f85c2e046ef40b610a169e48fb8fe27949..8403bccc10963cad7aef191dac5597b92e611a44 100644 (file)
@@ -87,7 +87,7 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
   }
 
   /**
-   * fetch contact id by uf id
+   * Fetch contact id by uf id
    */
   public function testGetUFMatchID() {
     $params = array(
@@ -103,7 +103,7 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
   }
 
   /**
-   * fetch uf id by contact id
+   * Fetch uf id by contact id
    */
   public function testGetUFID() {
     $params = array(