INFRA-132 - Fix spacing of @return tag in comments
authorColeman Watts <coleman@civicrm.org>
Fri, 9 Jan 2015 19:54:55 +0000 (14:54 -0500)
committerColeman Watts <coleman@civicrm.org>
Fri, 9 Jan 2015 20:06:00 +0000 (15:06 -0500)
678 files changed:
CRM/ACL/API.php
CRM/ACL/BAO/ACL.php
CRM/ACL/BAO/EntityRole.php
CRM/ACL/Form/WordPress/Permissions.php
CRM/ACL/Page/ACL.php
CRM/ACL/Page/ACLBasic.php
CRM/ACL/Page/EntityRole.php
CRM/Activity/BAO/Activity.php
CRM/Activity/BAO/ActivityAssignment.php
CRM/Activity/BAO/ActivityContact.php
CRM/Activity/BAO/ActivityTarget.php
CRM/Activity/BAO/ICalendar.php
CRM/Activity/Form/ActivityFilter.php
CRM/Activity/Form/Task/PickOption.php
CRM/Activity/Form/Task/PickProfile.php
CRM/Activity/Import/Form/MapField.php
CRM/Activity/Import/Parser.php
CRM/Activity/Import/Parser/Activity.php
CRM/Activity/Selector/Activity.php
CRM/Activity/Selector/Search.php
CRM/Activity/StateMachine/Search.php
CRM/Activity/Task.php
CRM/Admin/Form/MailSettings.php
CRM/Admin/Form/Options.php
CRM/Admin/Form/PreferencesDate.php
CRM/Admin/Form/Setting/Smtp.php
CRM/Admin/Form/WordReplacements.php
CRM/Admin/Page/APIDoc.php
CRM/Admin/Page/APIExplorer.php
CRM/Admin/Page/ContactType.php
CRM/Admin/Page/EventTemplate.php
CRM/Admin/Page/Extensions.php
CRM/Admin/Page/Job.php
CRM/Admin/Page/JobLog.php
CRM/Admin/Page/LabelFormats.php
CRM/Admin/Page/LocationType.php
CRM/Admin/Page/MailSettings.php
CRM/Admin/Page/Mapping.php
CRM/Admin/Page/MessageTemplates.php
CRM/Admin/Page/Navigation.php
CRM/Admin/Page/Options.php
CRM/Admin/Page/PaymentProcessor.php
CRM/Admin/Page/PaymentProcessorType.php
CRM/Admin/Page/PdfFormats.php
CRM/Admin/Page/Persistent.php
CRM/Admin/Page/PreferencesDate.php
CRM/Admin/Page/RelationshipType.php
CRM/Admin/Page/ScheduleReminders.php
CRM/Admin/Page/Tag.php
CRM/Badge/BAO/Badge.php
CRM/Badge/BAO/Layout.php
CRM/Badge/Page/Layout.php
CRM/Batch/BAO/Batch.php
CRM/Batch/Form/Entry.php
CRM/Batch/Page/Batch.php
CRM/Campaign/BAO/Campaign.php
CRM/Campaign/BAO/Petition.php
CRM/Campaign/BAO/Query.php
CRM/Campaign/BAO/Survey.php
CRM/Campaign/Form/Petition.php
CRM/Campaign/Form/Survey/Main.php
CRM/Campaign/Form/Survey/Questions.php
CRM/Campaign/Form/Survey/Results.php
CRM/Campaign/Form/SurveyType.php
CRM/Campaign/Form/Task/Reserve.php
CRM/Campaign/Page/Campaign.php
CRM/Campaign/Page/DashBoard.php
CRM/Campaign/Page/Petition/Confirm.php
CRM/Campaign/Page/SurveyType.php
CRM/Campaign/PseudoConstant.php
CRM/Campaign/Selector/Search.php
CRM/Campaign/StateMachine/Search.php
CRM/Campaign/Task.php
CRM/Case/BAO/Case.php
CRM/Case/BAO/CaseType.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/Case.php
CRM/Case/Form/Search.php
CRM/Case/Page/Tab.php
CRM/Case/PseudoConstant.php
CRM/Case/Selector/Search.php
CRM/Case/StateMachine/Search.php
CRM/Case/Task.php
CRM/Case/XMLProcessor/Process.php
CRM/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/Household.php
CRM/Contact/BAO/Individual.php
CRM/Contact/BAO/Query.php
CRM/Contact/BAO/Query/Hook.php
CRM/Contact/BAO/Relationship.php
CRM/Contact/BAO/RelationshipType.php
CRM/Contact/BAO/SavedSearch.php
CRM/Contact/BAO/SubscriptionHistory.php
CRM/Contact/Form/Contact.php
CRM/Contact/Form/CustomData.php
CRM/Contact/Form/DedupeRules.php
CRM/Contact/Form/Domain.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/Merge.php
CRM/Contact/Form/Search.php
CRM/Contact/Form/Search/Advanced.php
CRM/Contact/Form/Search/Basic.php
CRM/Contact/Form/Search/Builder.php
CRM/Contact/Form/Search/Custom.php
CRM/Contact/Form/Search/Custom/FullText.php
CRM/Contact/Form/Search/Custom/FullText/AbstractPartialQuery.php
CRM/Contact/Form/Search/Custom/FullText/Activity.php
CRM/Contact/Form/Search/Custom/FullText/Case.php
CRM/Contact/Form/Search/Custom/FullText/Contact.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/Task/AddToGroup.php
CRM/Contact/Form/Task/AlterPreferences.php
CRM/Contact/Form/Task/Label.php
CRM/Contact/Form/Task/LabelCommon.php
CRM/Contact/Form/Task/Map.php
CRM/Contact/Form/Task/PickProfile.php
CRM/Contact/Form/Task/ProximityCommon.php
CRM/Contact/Form/Task/RemoveFromGroup.php
CRM/Contact/Import/Form/DataSource.php
CRM/Contact/Import/Form/MapField.php
CRM/Contact/Import/Form/Preview.php
CRM/Contact/Import/Parser.php
CRM/Contact/Import/Parser/Contact.php
CRM/Contact/Page/DedupeFind.php
CRM/Contact/Page/DedupeRules.php
CRM/Contact/Page/SavedSearch.php
CRM/Contact/Page/Task.php
CRM/Contact/Page/View.php
CRM/Contact/Page/View/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/Form/AbstractEditPayment.php
CRM/Contribute/Form/AdditionalPayment.php
CRM/Contribute/Form/CancelSubscription.php
CRM/Contribute/Form/ContributionPage.php
CRM/Contribute/Form/ContributionPage/Settings.php
CRM/Contribute/Form/SoftCredit.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/Status.php
CRM/Contribute/Form/UpdateBilling.php
CRM/Contribute/Import/Form/MapField.php
CRM/Contribute/Import/Parser.php
CRM/Contribute/Import/Parser/Contribution.php
CRM/Contribute/Info.php
CRM/Contribute/Page/ManagePremiums.php
CRM/Contribute/Page/PaymentInfo.php
CRM/Contribute/Page/Premium.php
CRM/Contribute/PseudoConstant.php
CRM/Contribute/Selector/Search.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/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/Phone.php
CRM/Core/BAO/PreferencesDate.php
CRM/Core/BAO/RecurringEntity.php
CRM/Core/BAO/Setting.php
CRM/Core/BAO/Tag.php
CRM/Core/BAO/UFField.php
CRM/Core/BAO/UFGroup.php
CRM/Core/BAO/UFJoin.php
CRM/Core/BAO/UFMatch.php
CRM/Core/BAO/Website.php
CRM/Core/BAO/WordReplacement.php
CRM/Core/Block.php
CRM/Core/CodeGen/Main.php
CRM/Core/CodeGen/Util/File.php
CRM/Core/Component/Config.php
CRM/Core/Component/Info.php
CRM/Core/Controller.php
CRM/Core/DAO.php
CRM/Core/DAO/permissions.php
CRM/Core/Error.php
CRM/Core/FileSearchInterface.php
CRM/Core/Form.php
CRM/Core/Form/Date.php
CRM/Core/Form/RecurringEntity.php
CRM/Core/HTMLInputCoder.php
CRM/Core/I18n.php
CRM/Core/I18n/Form.php
CRM/Core/I18n/Schema.php
CRM/Core/IDS.php
CRM/Core/InnoDBIndexer.php
CRM/Core/JobManager.php
CRM/Core/Key.php
CRM/Core/ManagedEntities.php
CRM/Core/Menu.php
CRM/Core/OptionGroup.php
CRM/Core/OptionValue.php
CRM/Core/Page.php
CRM/Core/Page/Angular.php
CRM/Core/Page/Basic.php
CRM/Core/Page/Redirect.php
CRM/Core/Payment.php
CRM/Core/Payment/AuthorizeNet.php
CRM/Core/Payment/Dummy.php
CRM/Core/Payment/Elavon.php
CRM/Core/Payment/FirstData.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/PayPalImpl.php
CRM/Core/Payment/PayflowPro.php
CRM/Core/Payment/PaymentExpress.php
CRM/Core/Payment/PaymentExpressIPN.php
CRM/Core/Payment/Realex.php
CRM/Core/Payment/eWAY.php
CRM/Core/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/Reference/Interface.php
CRM/Core/Resources.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/plugins/block.edit.php
CRM/Core/Smarty/plugins/block.htxt.php
CRM/Core/Smarty/plugins/block.localize.php
CRM/Core/Smarty/plugins/block.serialize.php
CRM/Core/Smarty/plugins/block.ts.php
CRM/Core/Smarty/plugins/function.crmKey.php
CRM/Core/Smarty/plugins/function.crmNavigationMenu.php
CRM/Core/Smarty/plugins/function.docURL.php
CRM/Core/Smarty/plugins/function.help.php
CRM/Core/Smarty/plugins/function.sectionTotal.php
CRM/Core/Smarty/plugins/modifier.crmAddClass.php
CRM/Core/Smarty/plugins/modifier.crmBtnType.php
CRM/Core/Smarty/plugins/modifier.crmDate.php
CRM/Core/Smarty/plugins/modifier.crmDelete.php
CRM/Core/Smarty/plugins/modifier.crmICalDate.php
CRM/Core/Smarty/plugins/modifier.crmICalText.php
CRM/Core/Smarty/plugins/modifier.crmInsert.php
CRM/Core/Smarty/plugins/modifier.crmMoney.php
CRM/Core/Smarty/plugins/modifier.crmNumberFormat.php
CRM/Core/Smarty/plugins/modifier.crmReplace.php
CRM/Core/Smarty/plugins/modifier.crmStripAlternatives.php
CRM/Core/Smarty/plugins/modifier.htmlize.php
CRM/Core/Smarty/plugins/modifier.json.php
CRM/Core/StateMachine.php
CRM/Custom/Form/Field.php
CRM/Custom/Form/Group.php
CRM/Custom/Form/Option.php
CRM/Custom/Form/Preview.php
CRM/Custom/Import/Form/MapField.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/Finder.php
CRM/Dedupe/Merger.php
CRM/Event/BAO/Event.php
CRM/Event/BAO/Participant.php
CRM/Event/BAO/ParticipantPayment.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/Participant.php
CRM/Event/Form/Registration.php
CRM/Event/Form/Registration/AdditionalParticipant.php
CRM/Event/Form/Search.php
CRM/Event/Form/Task/AddToGroup.php
CRM/Event/Form/Task/PickProfile.php
CRM/Event/Import/Form/MapField.php
CRM/Event/Import/Parser.php
CRM/Event/Import/Parser/Participant.php
CRM/Event/Page/ManageEvent.php
CRM/Event/PseudoConstant.php
CRM/Event/Selector/Search.php
CRM/Event/StateMachine/Search.php
CRM/Event/Task.php
CRM/Export/BAO/Export.php
CRM/Export/Form/Map.php
CRM/Extension/Browser.php
CRM/Extension/Container/Collection.php
CRM/Extension/Downloader.php
CRM/Extension/Manager.php
CRM/Extension/Manager/Payment.php
CRM/Extension/Mapper.php
CRM/Financial/BAO/FinancialAccount.php
CRM/Financial/BAO/FinancialType.php
CRM/Financial/BAO/PaymentProcessor.php
CRM/Financial/BAO/PaymentProcessorType.php
CRM/Financial/Form/FinancialAccount.php
CRM/Financial/Form/FinancialBatch.php
CRM/Financial/Form/FinancialTypeAccount.php
CRM/Financial/Page/Batch.php
CRM/Financial/Page/BatchTransaction.php
CRM/Financial/Page/FinancialAccount.php
CRM/Financial/Page/FinancialBatch.php
CRM/Financial/Page/FinancialType.php
CRM/Financial/Page/FinancialTypeAccount.php
CRM/Friend/BAO/Friend.php
CRM/Grant/BAO/Grant.php
CRM/Grant/Form/Search.php
CRM/Grant/Selector/Search.php
CRM/Grant/StateMachine/Search.php
CRM/Grant/Task.php
CRM/Group/Form/Edit.php
CRM/Group/Page/Group.php
CRM/Import/DataSource.php
CRM/Import/DataSource/CSV.php
CRM/Import/DataSource/SQL.php
CRM/Import/Parser.php
CRM/Mailing/BAO/BouncePattern.php
CRM/Mailing/BAO/Component.php
CRM/Mailing/BAO/Mailing.php
CRM/Mailing/BAO/MailingAB.php
CRM/Mailing/BAO/MailingJob.php
CRM/Mailing/BAO/TrackableURL.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/Group.php
CRM/Mailing/Form/Schedule.php
CRM/Mailing/Form/Test.php
CRM/Mailing/MailStore.php
CRM/Mailing/MailStore/Localdir.php
CRM/Mailing/MailStore/Maildir.php
CRM/Mailing/Page/Component.php
CRM/Mailing/Page/Report.php
CRM/Mailing/PseudoConstant.php
CRM/Mailing/Selector/Browse.php
CRM/Mailing/Selector/Event.php
CRM/Mailing/Selector/Search.php
CRM/Mailing/Task.php
CRM/Member/BAO/Membership.php
CRM/Member/BAO/MembershipStatus.php
CRM/Member/BAO/MembershipType.php
CRM/Member/Form.php
CRM/Member/Form/Membership.php
CRM/Member/Form/MembershipConfig.php
CRM/Member/Form/MembershipView.php
CRM/Member/Form/Task/Label.php
CRM/Member/Form/Task/PickProfile.php
CRM/Member/Import/Form/MapField.php
CRM/Member/Import/Parser.php
CRM/Member/Import/Parser/Membership.php
CRM/Member/Info.php
CRM/Member/Page/MembershipStatus.php
CRM/Member/Page/MembershipType.php
CRM/Member/Page/Tab.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/Form/PCP.php
CRM/PCP/Page/PCP.php
CRM/Pledge/BAO/Pledge.php
CRM/Pledge/BAO/PledgePayment.php
CRM/Pledge/Form/Search.php
CRM/Pledge/Info.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/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/Edit.php
CRM/Profile/Form/Search.php
CRM/Profile/Page/Dynamic.php
CRM/Profile/Page/MultipleRecordFieldsListing.php
CRM/Profile/Selector/Listings.php
CRM/Queue/BAO/QueueItem.php
CRM/Queue/Queue.php
CRM/Report/BAO/Hook.php
CRM/Report/Form.php
CRM/Report/Form/Activity.php
CRM/Report/Form/Extended.php
CRM/Report/Form/Register.php
CRM/Report/Info.php
CRM/Report/Page/InstanceList.php
CRM/Report/Page/Options.php
CRM/Report/Utils/Report.php
CRM/SMS/Form/Group.php
CRM/SMS/Form/Provider.php
CRM/SMS/Form/Schedule.php
CRM/SMS/Page/Provider.php
CRM/UF/Form/AbstractPreview.php
CRM/UF/Form/Field.php
CRM/UF/Page/Field.php
CRM/UF/Page/Group.php
CRM/UF/Page/ProfileEditor.php
CRM/Upgrade/Incremental/php/FourFive.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/Utils/API/AbstractFieldCoder.php
CRM/Utils/API/MatchOption.php
CRM/Utils/Address.php
CRM/Utils/Array.php
CRM/Utils/Check.php
CRM/Utils/Check/Security.php
CRM/Utils/Date.php
CRM/Utils/DeprecatedUtils.php
CRM/Utils/File.php
CRM/Utils/Geocode/Google.php
CRM/Utils/Geocode/Yahoo.php
CRM/Utils/GlobalStack.php
CRM/Utils/Hook.php
CRM/Utils/HttpClient.php
CRM/Utils/JS.php
CRM/Utils/JSON.php
CRM/Utils/Mail.php
CRM/Utils/Mail/EmailProcessor.php
CRM/Utils/Migrate/Export.php
CRM/Utils/Money.php
CRM/Utils/Network.php
CRM/Utils/OpenFlashChart.php
CRM/Utils/OptionBag.php
CRM/Utils/Pager.php
CRM/Utils/PagerAToZ.php
CRM/Utils/PseudoConstant.php
CRM/Utils/REST.php
CRM/Utils/Recent.php
CRM/Utils/Rule.php
CRM/Utils/SQL/Insert.php
CRM/Utils/SQL/Select.php
CRM/Utils/SoapServer.php
CRM/Utils/Sort.php
CRM/Utils/String.php
CRM/Utils/System.php
CRM/Utils/System/Base.php
CRM/Utils/System/Drupal.php
CRM/Utils/System/Drupal6.php
CRM/Utils/System/Drupal8.php
CRM/Utils/System/DrupalBase.php
CRM/Utils/System/Joomla.php
CRM/Utils/System/Soap.php
CRM/Utils/System/UnitTests.php
CRM/Utils/System/WordPress.php
CRM/Utils/Token.php
CRM/Utils/Tree.php
CRM/Utils/Verp.php
CRM/Utils/Wrapper.php
CRM/Utils/XML.php
CRM/Utils/Zip.php
Civi/API/Kernel.php
Civi/API/Provider/ProviderInterface.php
Civi/API/Request.php
Civi/API/Subscriber/DynamicFKAuthorization.php
Civi/API/Subscriber/TransactionSubscriber.php
Civi/CCase/Analyzer.php
Civi/CiUtil/CSVParser.php
Civi/CiUtil/EnvTestRunner.php
Civi/CiUtil/JenkinsParser.php
Civi/CiUtil/PHPUnitParser.php
Civi/CiUtil/PHPUnitScanner.php
Civi/Install/Requirements.php
api/api.php
api/v3/Acl.php
api/v3/AclRole.php
api/v3/ActionSchedule.php
api/v3/Activity.php
api/v3/ActivityContact.php
api/v3/ActivityType.php
api/v3/Address.php
api/v3/Attachment.php
api/v3/Batch.php
api/v3/Campaign.php
api/v3/Case.php
api/v3/CaseType.php
api/v3/Constant.php
api/v3/Contact.php
api/v3/ContactType.php
api/v3/Contribution.php
api/v3/ContributionPage.php
api/v3/ContributionRecur.php
api/v3/ContributionSoft.php
api/v3/Country.php
api/v3/CustomField.php
api/v3/CustomGroup.php
api/v3/CustomSearch.php
api/v3/CustomValue.php
api/v3/Dashboard.php
api/v3/Email.php
api/v3/Entity.php
api/v3/EntityTag.php
api/v3/Event.php
api/v3/Extension.php
api/v3/File.php
api/v3/FinancialAccount.php
api/v3/FinancialType.php
api/v3/Generic.php
api/v3/Grant.php
api/v3/Group.php
api/v3/GroupContact.php
api/v3/GroupNesting.php
api/v3/GroupOrganization.php
api/v3/Im.php
api/v3/Job.php
api/v3/LineItem.php
api/v3/LocBlock.php
api/v3/LocationType.php
api/v3/MailSettings.php
api/v3/Mailing.php
api/v3/MailingAB.php
api/v3/MailingComponent.php
api/v3/MailingContact.php
api/v3/MailingEventConfirm.php
api/v3/MailingEventQueue.php
api/v3/MailingEventResubscribe.php
api/v3/MailingEventSubscribe.php
api/v3/MailingEventUnsubscribe.php
api/v3/MailingGroup.php
api/v3/MailingJob.php
api/v3/MailingRecipients.php
api/v3/Membership.php
api/v3/MembershipBlock.php
api/v3/MembershipPayment.php
api/v3/MembershipStatus.php
api/v3/MembershipType.php
api/v3/MessageTemplate.php
api/v3/Note.php
api/v3/OptionGroup.php
api/v3/OptionValue.php
api/v3/Participant.php
api/v3/ParticipantPayment.php
api/v3/ParticipantStatusType.php
api/v3/PaymentProcessor.php
api/v3/PaymentProcessorType.php
api/v3/Phone.php
api/v3/Phone/Get.php
api/v3/Pledge.php
api/v3/PledgePayment.php
api/v3/Premium.php
api/v3/PriceField.php
api/v3/PriceFieldValue.php
api/v3/PriceSet.php
api/v3/PrintLabel.php
api/v3/Product.php
api/v3/Profile.php
api/v3/Relationship.php
api/v3/RelationshipType.php
api/v3/ReportInstance.php
api/v3/ReportTemplate.php
api/v3/Setting.php
api/v3/SmsProvider.php
api/v3/Survey.php
api/v3/SurveyRespondant.php
api/v3/System.php
api/v3/Tag.php
api/v3/UFField.php
api/v3/UFGroup.php
api/v3/UFJoin.php
api/v3/UFMatch.php
api/v3/Website.php
api/v3/WordReplacement.php
api/v3/utils.php
tests/extensions/test.extension.manager.paymenttest/main.php
tests/phpunit/CRM/Core/BAO/UFFieldTest.php
tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php
tests/phpunit/CRM/Core/Permission/BaseTest.php
tests/phpunit/CRM/Core/Permission/GenericTest.php
tests/phpunit/CRM/Core/Permission/JoomlaTest.php
tests/phpunit/CRM/Core/TransactionTest.php
tests/phpunit/CRM/Utils/versionCheckTest.php
tests/phpunit/CiviTest/AuthorizeNet.php
tests/phpunit/CiviTest/CiviSeleniumTestCase.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/CiviTest/Contact.php
tests/phpunit/CiviTest/ContributionPage.php
tests/phpunit/CiviTest/Custom.php
tests/phpunit/CiviTest/Event.php
tests/phpunit/CiviTest/PCP.php
tests/phpunit/CiviTest/Participant.php
tests/phpunit/CiviTest/PaypalPro.php
tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php
tests/phpunit/WebTest/Export/ExportCiviSeleniumTestCase.php
tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php
tests/phpunit/WebTest/Import/MatchExternalIdTest.php
tests/phpunit/WebTest/Import/ParticipantTest.php
tests/phpunit/api/v3/APIStandardsTest.php
tests/phpunit/api/v3/SyntaxConformanceTest.php
tests/phpunit/api/v3/UtilsTest.php

index 03b700bbd949bb50295b700f79e1125213f2f21f..271352fafbe2bc601ac855e820f17a9835138bcd 100644 (file)
@@ -54,7 +54,8 @@ class CRM_ACL_API {
    * @param int $contactID
    *   The contactID for whom the check is made.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    * @static
    */
   public static function check($str, $contactID = NULL) {
@@ -88,7 +89,8 @@ class CRM_ACL_API {
    *   Don't add delete clause if this is true,.
    *               this means it is handled by generating query
    *
-   * @return string the group where clause for this user
+   * @return string
+   *   the group where clause for this user
    */
   public static function whereClause(
     $type,
@@ -153,7 +155,8 @@ class CRM_ACL_API {
    * @param null $allGroups
    * @param null $includedGroups
    *
-   * @return array the ids of the groups for which the user has permissions
+   * @return array
+   *   the ids of the groups for which the user has permissions
    */
   public static function group(
     $type,
@@ -189,7 +192,8 @@ class CRM_ACL_API {
    * @param null $includedGroups
    * @param bool $flush
    *
-   * @return array the ids of the groups for which the user has permissions
+   * @return array
+   *   the ids of the groups for which the user has permissions
    */
   public static function groupPermission(
     $type,
index ff64129ec58e8c79ea58403f96cfee2c3cdbd21b..042c2113eaca5a4d72bd13f34afb3d8d179ae10f 100644 (file)
@@ -105,7 +105,8 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
    * @param bool $acl_role
    *   For grant operations, this flag determines if we're granting a single acl (false) or an entire group.
    *
-   * @return string           -   The WHERE clause, or 0 on failure
+   * @return string
+   *   The WHERE clause, or 0 on failure
    * @static
    */
   public static function permissionClause(
@@ -359,7 +360,8 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
    * @param bool $hideEmpty
    *   Only return elements that have a value set.
    *
-   * @return array    - Assoc. array of the ACL rule's properties
+   * @return array
+   *   Assoc. array of the ACL rule's properties
    */
   public function toArray($format = '%s', $hideEmpty = FALSE) {
     $result = array();
@@ -388,7 +390,8 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
    * @param bool $aclRoles
    *   Should we include ACL Roles.
    *
-   * @return array                -   Array of assoc. arrays of ACL rules
+   * @return array
+   *   Array of assoc. arrays of ACL rules
    * @static
    */
   public static function &getACLs($contact_id = NULL, $group_id = NULL, $aclRoles = FALSE) {
@@ -453,7 +456,8 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
    * @param int $group_id
    *   ID of a group to search for.
    *
-   * @return array            -   Array of assoc. arrays of ACL rules
+   * @return array
+   *   Array of assoc. arrays of ACL rules
    * @static
    */
   public static function &getACLRoles($contact_id = NULL, $group_id = NULL) {
@@ -519,7 +523,8 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
    * @param bool $aclRoles
    *   Include ACL Roles?.
    *
-   * @return array                -   Assoc array of ACL rules
+   * @return array
+   *   Assoc array of ACL rules
    * @static
    */
   public static function &getGroupACLs($contact_id, $aclRoles = FALSE) {
@@ -563,7 +568,8 @@ SELECT      $acl.*
    * @param int $contact_id
    *   ID of a contact to search for.
    *
-   * @return array            -   Array of assoc. arrays of ACL rules
+   * @return array
+   *   Array of assoc. arrays of ACL rules
    * @static
    */
   public static function &getGroupACLRoles($contact_id) {
@@ -635,7 +641,8 @@ SELECT $acl.*
    * @param int $contact_id
    *   The contact ID.
    *
-   * @return array            -   Assoc array of ACL rules
+   * @return array
+   *   Assoc array of ACL rules
    * @static
    */
   public static function &getAllByContact($contact_id) {
@@ -678,7 +685,8 @@ SELECT $acl.*
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index ffc2c2116eb592d7f6da203443d5381650ba3239..40778c736cd9405834296a24f10140caaf6c7701 100644 (file)
@@ -80,7 +80,8 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index a6abf1bb46faa145273fa3d62e88c80725e8b779..230d215e0827f05750c63ab7c02194ae357c16b0 100644 (file)
@@ -170,7 +170,8 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
    * This function should be shared from a similar one in
    * distmaker/utils/joomlaxml.php
    *
-   * @return array   civicrm permissions
+   * @return array
+   *   civicrm permissions
    */
   public static function getPermissionArray() {
     global $civicrm_root;
index aaa149e23a3931b74697b68e39522ba22b62043f..a104ee761d0d1bdb9eb8abeaae3fe785c7ebcf79 100644 (file)
@@ -55,7 +55,8 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_ACL_BAO_ACL';
@@ -64,7 +65,8 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -255,7 +257,8 @@ ORDER BY entity_id
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_ACL_Form_ACL';
@@ -264,7 +267,8 @@ ORDER BY entity_id
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'ACL';
@@ -275,7 +279,8 @@ ORDER BY entity_id
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/acl';
index afb403ebf8a7e4093fca56ff4008c90e6e32209e..2f0a4b1d15af5b99197dad0f2b2cb3e7915a26f4 100644 (file)
@@ -53,7 +53,8 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_ACL_BAO_ACL';
@@ -62,7 +63,8 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -189,7 +191,8 @@ ORDER BY entity_id
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_ACL_Form_ACLBasic';
@@ -198,7 +201,8 @@ ORDER BY entity_id
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Core ACLs';
@@ -209,7 +213,8 @@ ORDER BY entity_id
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/acl/basic';
index b7a0791a2297a5e2ddc939c2b1ecaaa06f9f0cee..4f23c41193c383e27292029f7ab0c82132e67429 100644 (file)
@@ -55,7 +55,8 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_ACL_BAO_EntityRole';
@@ -64,7 +65,8 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -196,7 +198,8 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_ACL_Form_EntityRole';
@@ -205,7 +208,8 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'ACL EntityRole';
@@ -216,7 +220,8 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/acl/entityrole';
index f52bc92c5f4446fed3747e8bebe5ddd0236a712c..33c490e75294b8c7f0e07f9018cdd8c7a2262809 100644 (file)
@@ -657,7 +657,8 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
    *    - context     string         page on which selector is build
    *    - activity_type_id int|string the activitiy types we want to restrict by
    *
-   * @return array (reference)      $values the relevant data object values of open activities
+   * @return array
+   *   (reference)      $values the relevant data object values of open activities
    *
    * @static
    */
@@ -906,7 +907,8 @@ ORDER BY    fixed_sort_order
    * user has permission. To decide whether we are going to include
    * component related activities w/ core activity retrieve process.
    *
-   * @return array of component id and name.
+   * @return array
+   *   of component id and name.
    * @static
    **/
   public static function activityComponents() {
@@ -946,7 +948,8 @@ ORDER BY    fixed_sort_order
    *    - context     string         page on which selector is build
    *    - activity_type_id int|string the activity types we want to restrict by
    *
-   * @return int   count of activities
+   * @return int
+   *   count of activities
    *
    * @static
    */
@@ -983,7 +986,8 @@ LEFT JOIN   civicrm_case_activity ON ( civicrm_case_activity.activity_id = tbl.a
    *    - count       boolean        are we interested in the count clause only?
    *    - activity_type_id int|string the activity types we want to restrict by
    *
-   * @return int   count of activities
+   * @return int
+   *   count of activities
    *
    * @static
    */
@@ -1176,7 +1180,8 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
    * @param string $additionalDetails
    *   The additional information of CC and BCC appended to the activity Details.
    *
-   * @return array               ( sent, activityId) if any email is sent and activityId
+   * @return array
+   *   ( sent, activityId) if any email is sent and activityId
    * @static
    */
   static function sendEmail(
@@ -1591,7 +1596,8 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
    * @param null $cc
    * @param null $bcc
    *
-   * @return boolean             true if successfull else false.
+   * @return boolean
+   *   true if successfull else false.
    * @static
    */
   static function sendMessage(
@@ -1663,7 +1669,8 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
    *
    * @param bool $status
    *
-   * @return array    array of importable Fields
+   * @return array
+   *   array of importable Fields
    * @static
    */
   public static function &importableFields($status = FALSE) {
@@ -1717,7 +1724,8 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
    * @param int $contactId
    *   Id of the contact whose activities need to find.
    *
-   * @return array    array of activity fields
+   * @return array
+   *   array of activity fields
    */
   public static function getContactActivity($contactId) {
     $activities = array();
@@ -1910,7 +1918,8 @@ SELECT  display_name
    * @param int $activityId
    *   Current activity id.
    *
-   * @return int $parentId  Id of parent activity otherwise false.
+   * @return int
+   *   $parentId  Id of parent activity otherwise false.
    */
   public static function getParentActivity($activityId) {
     static $parentActivities = array();
@@ -1937,7 +1946,8 @@ SELECT  display_name
    * @param $activityID
    *   Current activity id.
    *
-   * @return int $params  count of prior activities otherwise false.
+   * @return int
+   *   $params  count of prior activities otherwise false.
    */
   public static function getPriorCount($activityID) {
     static $priorCounts = array();
@@ -1975,7 +1985,8 @@ AND id < {$activityID}
    *   Current activity id.
    * @param bool $onlyPriorRevisions
    *
-   * @return array $result  prior activities info.
+   * @return array
+   *   prior activities info.
    */
   public static function getPriorAcitivities($activityID, $onlyPriorRevisions = FALSE) {
     static $priorActivities = array();
@@ -2024,7 +2035,8 @@ AND cl.modified_id  = c.id
    * @param int $activityID
    *   Prior activity id.
    *
-   * @return int current activity id.
+   * @return int
+   *   current activity id.
    */
   public static function getLatestActivityId($activityID) {
     static $latestActivityIds = array();
@@ -2150,7 +2162,8 @@ AND cl.modified_id  = c.id
    * @param string $name
    *   If it is called by case $name = Case else $name = Activity.
    *
-   * @return array array of exportable Fields
+   * @return array
+   *   array of exportable Fields
    * @static
    */
   public static function &exportableFields($name = 'Activity') {
@@ -2210,7 +2223,8 @@ AND cl.modified_id  = c.id
   /**
    * Get the allowed profile fields for Activities
    *
-   * @return array array of activity profile Fields
+   * @return array
+   *   array of activity profile Fields
    */
   public static function getProfileFields() {
     $exportableFields = self::exportableFields('Activity');
@@ -2298,7 +2312,7 @@ AND cl.modified_id  = c.id
    * @param int $action
    *   Edit/view.
    *
-   * @return boolean $allow true/false
+   * @return boolean
    */
   public static function checkPermission($activityId, $action) {
     $allow = FALSE;
@@ -2448,7 +2462,8 @@ INNER JOIN  civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n
    * @param array $params
    *   Associated array for params record id.
    *
-   * @return array   $contactActivities associated array of contact activities
+   * @return array
+   *   associated array of contact activities
    */
   public static function getContactActivitySelector(&$params) {
     // format the params
index 94279db174ada583b0719662d93cba28b1fe9667..f7b3b4d9195ae5419dd3ed3b35e72d7eda300a82 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object activity type of object that is added
+   * @return object
+   *   activity type of object that is added
    */
   public static function create(&$params) {
     $assignment = new CRM_Activity_BAO_ActivityContact();
index 5f76c47624723cae14d725029307d30e9ae1d6d2..b4bf047f12c1bd4cf852ef2833d2cba714ec6b4d 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact
    * @param array $params
    *   The values for this table: activity id, contact id, record type.
    *
-   * @return object activity_contact object
+   * @return object
+   *   activity_contact object
    *
    */
   public static function create(&$params) {
index dba9688d2ede00a8755755e77a61e10abf6772e3..5b20adc245f6e0a324bdf57a14b50ede00adf874 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
    *
    * @param array $params
    *
-   * @return object activity type of object that is added
+   * @return object
+   *   activity type of object that is added
    */
   public static function create(&$params) {
     $target = new CRM_Activity_BAO_ActivityContact();
index 427199eecd2a30a99726aee9bec3faa0d87c04ef..671bd64d98c0fc27ef3cfdca150795bd71721646 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Activity_BAO_ICalendar {
    * @param array $contacts
    *   Array of contacts (attendees).
    *
-   * @return string   Array index of the added attachment in the $attachments array, or else NULL.
+   * @return string
+   *   Array index of the added attachment in the $attachments array, or else NULL.
    */
   public function addAttachment(&$attachments, $contacts) {
     // Check preferences setting
index 1bedfa0904f87fd1723d695f16869f1dd49b9e15..1b9b99bf0ed0695eca06b99b1d4ed8b39c04cc0f 100644 (file)
@@ -54,7 +54,8 @@ class CRM_Activity_Form_ActivityFilter extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
@@ -63,7 +64,8 @@ class CRM_Activity_Form_ActivityFilter extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index e9ef39a4685089875128e593de577769415a0b20..49bcce7e2486e4171208f57c9d5c47ac06d31e6c 100644 (file)
@@ -121,7 +121,8 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 8230af89b2a28fde7e5695c3f0e89e46a6c34f06..cfb9adbd5301880735d14bb6cf9e70fa5581b40d 100755 (executable)
@@ -149,7 +149,8 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 7ee9c42ce329d6027fa9b1fd2025712459084979..87baedbc390ca5e74e3720b8717ef425145e17cd 100644 (file)
@@ -268,7 +268,8 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 3bc0feb1be7925bdae963128c4f6281bbb9a2376..259cfa25ae580a4ed22ade2dd5425a7e62d55a55 100644 (file)
@@ -296,7 +296,8 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference ) associative array of name/value pairs
+   * @return array
+   *   (reference ) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index bdd45567e0279429d313cc4daf97bb74330f2057..31e25b906c201a7a4059a68a3b6ab1381745c32d 100644 (file)
@@ -144,7 +144,8 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function preview(&$values) {
     return $this->summary($values);
@@ -156,7 +157,8 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function summary(&$values) {
     $erroneousField = NULL;
@@ -240,7 +242,8 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function import($onDuplicate, &$values) {
     // first make sure this is a valid line
index 37db986ac445662206fccab83b51dc3202e3b7e6..be0e34ba579bba8934e2ca796ed77af07014399c 100644 (file)
@@ -308,7 +308,8 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if ($output == CRM_Core_Selector_Controller::EXPORT || $output == CRM_Core_Selector_Controller::SCREEN) {
@@ -333,7 +334,8 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    *
    * @param null $case
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action, $case = NULL) {
     $params = array(
@@ -365,7 +367,8 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    *
    * @param null $case
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL, $case = NULL) {
     $params = array(
@@ -486,7 +489,8 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Activity');
@@ -496,7 +500,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    * Get colunmn headers for search selector
    *
    *
-   * @return array $_columnHeaders
+   * @return array
    */
   private static function &_getColumnHeaders() {
     if (!isset(self::$_columnHeaders)) {
index 0108556ef03ffff5a324a1310af1577edcca9257..00c576bbf6c920aca72eed8027f4ed9e20fdeb0d 100644 (file)
@@ -209,7 +209,8 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -234,7 +235,8 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array  rows in the given offset and rowCount
+   * @return array
+   *   rows in the given offset and rowCount
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery(
@@ -359,7 +361,8 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * @return array  $qill  which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
   public function getQILL() {
     return $this->_query->qill();
@@ -374,7 +377,8 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -434,7 +438,8 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Activity Search');
index aa1dbcf8f1398697dadd7f1a7fe76c23ac3eead2..d9713b8c29ca411544365258522d2c4073c11c3b 100644 (file)
@@ -74,7 +74,8 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 482a0770f2e5964bcf7c5509c670ab5e64fc869f..3b47f1f476db49cdabcec42c8da1eb0c658d9734 100644 (file)
@@ -66,7 +66,8 @@ class CRM_Activity_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -149,7 +150,8 @@ class CRM_Activity_Task {
    * These tasks are the core set of task titles
    * on activity
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -167,7 +169,8 @@ class CRM_Activity_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = array();
@@ -193,7 +196,8 @@ class CRM_Activity_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of activity
+   * @return array
+   *   the set of tasks for a group of activity
    * @static
    */
   public static function getTask($value) {
index 72ffd4ef078238ab1d7b672252165a799dc49f36..5b331db125e98015523a3d7340677eff15bcc7e1 100644 (file)
@@ -107,7 +107,8 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 1f03724d38bde4b740b0386a8a6d8ec05d3a9e04..c2e653bc39d3e9a60cb8765171112ca077d2b4e3 100644 (file)
@@ -328,7 +328,8 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
    * @param array $self
    *   Current form object.
    *
-   * @return array array of errors / empty array.
+   * @return array
+   *   array of errors / empty array.
    * @static
    */
   public static function formRule($fields, $files, $self) {
index 688681c71384c56c59ced805b4a580b46e6cdc72..ab904d0ecc413e14e61036e5a66699c9639231d7 100644 (file)
@@ -93,7 +93,8 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array    if errors then list of errors to be posted back to the form,
+   * @return array
+   *   if errors then list of errors to be posted back to the form,
    *                  true otherwise
    * @static
    */
index 8c87d325baa60ac06fb1cabb1a68aa6f40c2a388..943c8a8bddf0b5d082d1fb3b3c8b39a4b61766a2 100644 (file)
@@ -205,7 +205,8 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array  list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index fbe7fe33ba4322aacd5f7c7f370f0d613e344fc6..773eda2ae64493292802e7fb6edd29535a100c82 100644 (file)
@@ -180,7 +180,8 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form {
    * @param array $values
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values) {
index 3582ec77f85fcdc6f250feeca98dd716f9ca8613..5b5e1bdf3acc5426255a77c51d699bbef560a362 100644 (file)
@@ -58,7 +58,8 @@ class CRM_Admin_Page_APIDoc extends CRM_Core_Page {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/api/doc';
index 04579650bea374488098624abc52cc617e32740e..c5f4d392878d304f1e67d4fc6cbc2809074eb581 100644 (file)
@@ -54,7 +54,8 @@ class CRM_Admin_Page_APIExplorer extends CRM_Core_Page {
   /**
    * Get user context.
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext() {
     return 'civicrm/api/explorer';
index 2e6d793151ff7eea7f7da1518717e68bc5c9cd81..c386824998636d8b8f36f044d0dfade87b54dda4 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Contact_BAO_ContactType';
@@ -60,7 +61,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -133,7 +135,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_ContactType';
@@ -142,7 +145,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Contact Types';
@@ -153,7 +157,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/options/subtype';
index 8cc7a7ee3d33502580d07ebc58642041816a6953..5cc3b81cdf4599d9c367bde899d30f2b5609741d 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Event_BAO_Event';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -143,7 +145,8 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_EventTemplate';
@@ -152,7 +155,8 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Event Templates';
@@ -163,7 +167,8 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/eventTemplate';
index 9f79a504383d41a4082daac968bf514b2a3421d2..c3e63be686b6c9112c1f4b4580dcbbba72019ea3 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_Extension';
@@ -74,7 +75,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -244,7 +246,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_Extensions';
@@ -253,7 +256,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'CRM_Admin_Form_Extensions';
@@ -264,7 +268,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/extensions';
index f53dc32e594d2ceabaf6fa92c2e946528ad7820a..b6871555c067f03fbf31d624d7cca063fe45b58f 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_Job';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -190,7 +192,8 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_Job';
@@ -199,7 +202,8 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Scheduled Jobs';
@@ -210,7 +214,8 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/job';
index ce697f3adaf303c224e100a818810397cc7c1519..1db60cc5b471f8d911891914307e28cb32372617 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_Job';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     return self::$_links;
@@ -134,7 +136,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_Job';
@@ -143,7 +146,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Scheduled Jobs';
@@ -154,7 +158,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/job';
index bdc26e9637a50baeb8c97337c588f7eb06bcb818..9826496bbeb0f5fdf950042b5670ae4a2915bd7c 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_LabelFormat';
@@ -61,7 +62,8 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -94,7 +96,8 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_LabelFormats';
@@ -103,7 +106,8 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Mailing Label Formats';
@@ -114,7 +118,8 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/labelFormats';
index 285583a8ffd13083e8e56f0498f96a530df548f4..8a22660daa033857697491be1da6f05913edeaf4 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_LocationType';
@@ -60,7 +61,8 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -95,7 +97,8 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_LocationType';
@@ -104,7 +107,8 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Location Types';
@@ -115,7 +119,8 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/locationType';
index b9a83aef664471d44063d450c37cd755a2c967ac..a3f915b7e560c2c363c6858400757e3dd3570703 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_MailSettings';
@@ -60,7 +61,8 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -132,7 +134,8 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_MailSettings';
@@ -141,7 +144,8 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Mail Settings';
@@ -152,7 +156,8 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/mailSettings';
index 609cac7fadfc7661b67d906b522ddcc345eac7fb..068a13a0510c21b394ff25ef771e19e758793d6f 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get BAO
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_Mapping';
@@ -60,7 +61,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -87,7 +89,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_Mapping';
@@ -96,7 +99,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get form name for edit form
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Mapping';
@@ -105,7 +109,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get form name for delete form
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function deleteName() {
     return 'Mapping';
@@ -116,7 +121,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/mapping';
@@ -125,7 +131,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get name of delete form
    *
-   * @return string Classname of delete form.
+   * @return string
+   *   Classname of delete form.
    */
   public function deleteForm() {
     return 'CRM_Admin_Form_Mapping';
index e7e6cf2d98f607e94da0c2405d0437f679d3be99..5321f75ab48ed0bf61ff65bc3f9a2654bd208ced 100644 (file)
@@ -81,7 +81,8 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_MessageTemplate';
@@ -90,7 +91,8 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -209,7 +211,8 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_MessageTemplates';
@@ -218,7 +221,8 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return ts('Message Template');
@@ -229,7 +233,8 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/messageTemplates';
index 0063f50b63b7cc358ea1c9d2afb8c646a06aca3c..ac6ce47fb19ab03582067141659e766261c6fb50 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_Navigation';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
   }
@@ -66,7 +68,8 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_Navigation';
@@ -75,7 +78,8 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'CiviCRM Navigation';
@@ -86,7 +90,8 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/menu';
index ebbf792b7fb93517161954afd2026d39a6b178dd..61c601db98d22955ff91bb162c6f11dd5af46787 100644 (file)
@@ -162,7 +162,8 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return self::$_gName ? 'CRM_Core_BAO_OptionValue' : 'CRM_Core_BAO_OptionGroup';
@@ -171,7 +172,8 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -258,7 +260,8 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return self::$_gName ? 'CRM_Admin_Form_Options' : 'CRM_Admin_Form_OptionGroup';
@@ -267,7 +270,8 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return self::$_gLabel;
@@ -278,7 +282,8 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/options' . (self::$_gName ? '/' . self::$_gName : '');
index 0b366fcc7aced3def247d0b3cfc696ad7a3dffdd..ed306ba22a57ccfcc9007a45ef277fd11c04d7b7 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Financial_BAO_PaymentProcessor';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -167,7 +169,8 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_PaymentProcessor';
@@ -176,7 +179,8 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Payment Processors';
@@ -187,7 +191,8 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/paymentProcessor';
index 67c06f83485a33d44a2427452fb037f0d6547be2..f6a7e315c44fc2273a711eca27e195f4a97ef9de 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Financial_BAO_PaymentProcessorType';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -93,7 +95,8 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_PaymentProcessorType';
@@ -102,7 +105,8 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Payment Processor Type';
@@ -113,7 +117,8 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/paymentProcessorType';
index b36a435bb3c3b0b54fae3f5a8b1f3c89ce954e9c..261ca0006b422384b1a408666c90e540b2291d9d 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_PdfFormat';
@@ -61,7 +62,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -88,7 +90,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_PdfFormats';
@@ -97,7 +100,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'PDF Page Formats';
@@ -108,7 +112,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/pdfFormats';
index 4df76d2b8ce5d60099c33eb4b9cf9ca838d4746f..e838a904a41449939f642fb2f62d3dc0abb71980 100644 (file)
@@ -50,7 +50,8 @@ class CRM_Admin_Page_Persistent extends CRM_Core_Page {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   function &stringActionLinks() {
     // check if variable _actionsLinks is populated
index 29c1381d8c7657c1a65b9c26b3aa61b217575dab..a5640c17cc78cd488cb646ddcb6a98df301b2c78 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_PreferencesDate';
@@ -58,7 +59,8 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -93,7 +95,8 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_PreferencesDate';
@@ -102,7 +105,8 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Date Preferences';
@@ -113,7 +117,8 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/setting/preferences/date';
index 593fcc8c406d932224adc25f3a01136be2ab2adf..928b12091702f5f24bb1a3f58cf2add023233186 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Contact_BAO_RelationshipType';
@@ -60,7 +61,8 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -101,7 +103,8 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_RelationshipType';
@@ -110,7 +113,8 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Relationship Types';
@@ -121,7 +125,8 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/reltype';
index e106831d981626e9c3add8a9d47c2074ef294018..1103162059fd6b6f1082030085a2fc5ae8f7c5c4 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_ActionSchedule';
@@ -61,7 +62,8 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -98,7 +100,8 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_ScheduleReminders';
@@ -107,7 +110,8 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'ScheduleReminders';
@@ -118,7 +122,8 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/scheduleReminders';
index dd817f2d55792f8e54a5022c8eb2927708c122b9..f572fe3286abefb6c3fd3aec2260ab45164338bd 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   /**
    * Get BAO
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_Tag';
@@ -60,7 +61,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -90,7 +92,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Admin_Form_Tag';
@@ -99,7 +102,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   /**
    * Get form name for edit form
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Tag';
@@ -108,7 +112,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   /**
    * Get form name for delete form
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function deleteName() {
     return 'Tag';
@@ -119,7 +124,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/tag';
@@ -128,7 +134,8 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   /**
    * Get name of delete form
    *
-   * @return string Classname of delete form.
+   * @return string
+   *   Classname of delete form.
    */
   public function deleteForm() {
     return 'CRM_Admin_Form_Tag';
index b63f5a2ef97972e9423e3b13fd51bec355aed4cf..deb7bd0c42c6afe2e159b3c3ba228ef365fc02c5 100644 (file)
@@ -82,7 +82,8 @@ class CRM_Badge_BAO_Badge {
    * @param array $layout
    *   Layout meta data.
    *
-   * @return array $formattedRow row with meta data
+   * @return array
+   *   row with meta data
    */
   public static function formatLabel(&$row, &$layout) {
     $formattedRow = array('labelFormat' => $layout['label_format_name']);
index 1f6a867c6ad25f13372550e108d719d7eae9934c..9d393b524e60f52375f175679747cbb2fd2e99e8 100644 (file)
@@ -72,7 +72,8 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on success, null otherwise
+   * @return Object
+   *   DAO object on success, null otherwise
    *
    * @static
    */
@@ -139,7 +140,8 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   /**
    *  get the list of print labels
    *
-   * @return array list of labels
+   * @return array
+   *   list of labels
    * @static
    */
   public static function getList() {
@@ -159,7 +161,8 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
    * @param array $params
    *   Associated array of submitted values.
    *
-   * @return array $formattedLayout array formatted array
+   * @return array
+   *   array formatted array
    */
   public static function buildLayout(&$params) {
     $layoutParams = array('id' => $params['badge_id']);
@@ -177,7 +180,8 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
    * @param json $jsonData
    *   Json object.
    *
-   * @return array associated array of decoded elements
+   * @return array
+   *   associated array of decoded elements
    * @static
    */
   static public function getDecodedData($jsonData) {
index 4e49d6a8d9435781e34dc4ac178be38a46b0b7b4..4402684f52bd199b038573f11e67235be41b6a5b 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Badge_BAO_Layout';
@@ -58,7 +59,8 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -93,7 +95,8 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Badge_Form_Layout';
@@ -102,7 +105,8 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Badge Layout';
@@ -113,7 +117,8 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/badgelayout';
index e97b3c8d852f28207f57d7549227de3678229b6a..56194b60bb7ac01341caffaa8f30fbc884b867fd 100755 (executable)
@@ -59,7 +59,8 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
    * @param string $context
    *   String.
    *
-   * @return object $batch batch object
+   * @return object
+   *   $batch batch object
    */
   public static function create(&$params, $ids = NULL, $context = NULL) {
     if (empty($params['id'])) {
@@ -84,7 +85,8 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
    * @param array $defaults
    *   (reference ) an assoc array to hold the flattened values.
    *
-   * @return array CRM_Batch_BAO_Batch object on success, null otherwise
+   * @return array
+   *   CRM_Batch_BAO_Batch object on success, null otherwise
    * @static
    */
   public static function retrieve(&$params, &$defaults) {
@@ -103,7 +105,8 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
    * @param int $batchTypeId
    *   Batch type id.
    *
-   * @return int  $profileId   profile id
+   * @return int
+   *   $profileId   profile id
    * @static
    */
   public static function getProfileId($batchTypeId) {
@@ -185,7 +188,8 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
    * @param array $params
    *   Associated array for params record id.
    *
-   * @return array   $batchList associated array of batch list
+   * @return array
+   *   associated array of batch list
    */
   public function getBatchListSelector(&$params) {
     // format the params
@@ -423,7 +427,8 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
    *
    * @param null $context
    *
-   * @return array $links array of action links
+   * @return array
+   *   array of action links
    */
   public function links($context = NULL) {
     if ($context == 'financialBatch') {
@@ -500,7 +505,8 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   /**
    * Get batch list
    *
-   * @return array array of all batches
+   * @return array
+   *   array of all batches
    * excluding batches with data entry in progress
    */
   public static function getBatches() {
@@ -775,7 +781,8 @@ WHERE  {$where}
    * Get batch names
    * @param string $batchIds
    *
-   * @return array array of batches
+   * @return array
+   *   array of batches
    */
   public static function getBatchNames($batchIds) {
     $query = 'SELECT id, title
@@ -795,7 +802,8 @@ WHERE  {$where}
    *
    * @param string $batchIds
    *
-   * @return array array of batches
+   * @return array
+   *   array of batches
    */
   public static function getBatchStatuses($batchIds) {
     $query = 'SELECT id, status_id
index d3701e053ef973b7db09f2d77d75645f9c315cfb..9c72ab1edfcde4580ba348d7c3bfc14d9cbe4335 100755 (executable)
@@ -268,7 +268,8 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
    * @param array $self
    *   Form object.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($params, $files, $self) {
index 4684cd5e233917ea25f2fea9250c4864f6626a8b..61925855502ebc7e85715a5ff569926a264dd9d5 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Batch_BAO_Batch';
@@ -58,7 +59,8 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
   }
@@ -66,7 +68,8 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Batch_Form_Batch';
@@ -75,7 +78,8 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return ts('Batch Processing');
@@ -86,7 +90,8 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return CRM_Utils_System::currentPath();
index 1c8111e74330bf0760371ebb28b8269c99bc50df..a2f2aa1d3566eed524d28cad0f2795649d11142c 100644 (file)
@@ -514,7 +514,8 @@ INNER JOIN  civicrm_group grp ON ( grp.id = campgrp.entity_id )
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index 7055ce1550ab3561ac5530677dff23c9dedf55fb..ec1bca6ded60e83e111021865baf6527e882992d 100644 (file)
@@ -466,7 +466,8 @@ AND         tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
    * @param object $tag
    *   An object of a tag.
    *
-   * @return array   $contactIds    array of contact ids
+   * @return array
+   *   array of contact ids
    */
   public function getEntitiesByTag($tag) {
     $contactIds = array();
index 9b8fbe759617d11dbf102bdd77cd2867f7299bc4..9ab392da249ffd8a21f6c0ebbf8939673ae34a64 100755 (executable)
@@ -53,7 +53,8 @@ class CRM_Campaign_BAO_Query {
   /**
    * Function get the fields for campaign.
    *
-   * @return array self::$_campaignFields  an associative array of campaign fields
+   * @return array
+   *   self::$_campaignFields  an associative array of campaign fields
    * @static
    */
   public static function &getFields() {
index c9c9098941bfef367f686d44482f04936d7634e8..a2410057859ca8037575c65ac1fbce5eb5af69d4 100644 (file)
@@ -387,7 +387,8 @@ SELECT  survey.id    as id,
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -424,7 +425,8 @@ SELECT  survey.id    as id,
    * @param array $returnProperties
    *   An array of return elements.
    *
-   * @return array $voterDetails array of contact info.
+   * @return array
+   *   array of contact info.
    * @static
    */
   public static function voterDetails($voterIds, $returnProperties = array()) {
@@ -518,7 +520,8 @@ Group By  contact.id";
    * @param int $interviewerId
    * @param array $statusIds
    *
-   * @return array $activityDetails array of survey activity.
+   * @return array
+   *   array of survey activity.
    * @static
    */
   static function voterActivityDetails(
@@ -722,7 +725,8 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
    * This function retrieve all option groups which are created as a result set
    *
    * @param string $valueColumnName
-   * @return array $resultSets an array of option groups.
+   * @return array
+   *   an array of option groups.
    * @static
    */
   public static function getResultSets($valueColumnName = 'title') {
@@ -743,7 +747,7 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
    *
    * @param int $activityId
    *   Activity id.
-   * @return boolean $isSurveyActivity true/false
+   * @return boolean
    * @static
    */
   public static function isSurveyActivity($activityId) {
@@ -772,7 +776,8 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
    *
    * @param int $surveyId
    *   Survey id.
-   * @return array $responseOptions an array of option values
+   * @return array
+   *   an array of option values
    * @static
    */
   public static function getResponsesOptions($surveyId) {
@@ -968,7 +973,8 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
    * @param int $surveyTypeId
    *   Survey activity type id.
    *
-   * @return array an array of valid survey response fields.
+   * @return array
+   *   an array of valid survey response fields.
    */
   public static function getSurveyResponseFields($surveyId, $surveyTypeId = NULL) {
     if (empty($surveyId)) {
@@ -1035,7 +1041,8 @@ INNER JOIN  civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
   /**
    * Get all interviewers of surveys.
    *
-   * @return array an array of valid survey response fields.
+   * @return array
+   *   an array of valid survey response fields.
    */
   public static function getInterviewers() {
     static $interviewers;
@@ -1076,7 +1083,8 @@ INNER JOIN  civicrm_survey survey ON ( activity.source_record_id = survey.id )
    *
    * @param array $params
    *
-   * @return array success message
+   * @return array
+   *   success message
    */
   public static function releaseRespondent($params) {
     $activityStatus = CRM_Core_PseudoConstant::activityStatus('name');
index e97bde0aac2640b7b59cdead931b3196df35bd7b..72d4927fbee8912b0f1a4c948cbfbcf652564cd4 100644 (file)
@@ -125,7 +125,8 @@ class CRM_Campaign_Form_Petition extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = $this->_values;
index 2998297539f8565348fe2ee9c3b8419385ba5437..1164ef1e7093a447632d76bcf0f9c93c45d2bc10 100644 (file)
@@ -106,7 +106,8 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     if ($this->_cdType) {
index cf8552bdbf242d7ec18b2f91d385b2cbb5960e25..eecf3b19adc9f868f287be4f13b975dbe92557c9 100644 (file)
@@ -45,7 +45,8 @@ class CRM_Campaign_Form_Survey_Questions extends CRM_Campaign_Form_Survey {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array();
index a9ccbaa5932abe7b831bd3230ece5bf1d690cf3b..de176da02f5d01e8cd55dcd954eee049f41fe4cb 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = $this->_values;
index 48c116e2a16198f772afde47536c29192ebddf1a..011a0ed6d969343853fff09086c8d2b05f509423 100644 (file)
@@ -101,7 +101,8 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = parent::setDefaultValues();
index 1775bac2d4b51e652709e1bcea0aa2824b190469..caa0fdc87580b750310c6f7eef824839e7eb0069 100644 (file)
@@ -208,7 +208,8 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index bee0234590031e9b27130826681a42565588bb36..0e231e3dc1aedfa2c4a9341096b0f6238ec32b49 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Campaign_Page_Campaign extends CRM_Core_Page {
   /**
    * Get the action links for this page.
    *
-   * @return array $_actionLinks
+   * @return array
    *
    */
   public function &actionLinks() {
index d1eb133931b09829966d611ef4acff9282166962..fa41b14c734301d70273e2b09a00d20e73cdbdb8 100644 (file)
@@ -50,7 +50,7 @@ class CRM_Campaign_Page_DashBoard extends CRM_Core_Page {
   /**
    * Get the action links for this page.
    *
-   * @return array $_campaignActionLinks
+   * @return array
    *
    */
   public function &campaignActionLinks() {
index d42b8e0fad77a049c3ef63f34cd9b5d56c6204e2..80360a287f69a6b41d00408f0bac0642bc104685 100644 (file)
@@ -103,7 +103,8 @@ class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page {
    * @param int $activity_id
    * @param int $petition_id
    *
-   * @return boolean              True on success
+   * @return boolean
+   *   True on success
    * @static
    */
   public static function confirm($contact_id, $subscribe_id, $hash, $activity_id, $petition_id) {
index 93b9e4a32663442c79725f3ad94e908033f3a5c9..81d12a2b132963ed46e5690dcac9265ad15c12a8 100644 (file)
@@ -96,7 +96,8 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_OptionValue';
@@ -105,7 +106,8 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -178,7 +180,8 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Campaign_Form_SurveyType';
@@ -187,7 +190,8 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return $this->_GName;
@@ -198,7 +202,8 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/campaign/surveyType';
index d3ac40c872d97e8db6434f1c89acee3ca1d354ec..fa9dbd47ad8dc997aa4084a31bee80ac73218dc4 100755 (executable)
@@ -73,7 +73,8 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param string $returnColumn
    *
-   * @return array - array reference of all survey activity types.
+   * @return array
+   *   array reference of all survey activity types.
    * @static
    */
   public static function &activityType($returnColumn = 'name') {
@@ -100,7 +101,8 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @static
    *
-   * @return array - array reference of all campaign types.
+   * @return array
+   *   array reference of all campaign types.
    *
    */
   public static function &campaignType() {
@@ -119,7 +121,8 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @static
    *
-   * @return array - array reference of all campaign status.
+   * @return array
+   *   array reference of all campaign status.
    *
    */
   public static function &campaignStatus() {
@@ -138,7 +141,8 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @static
    *
-   * @return array - array reference of all Engagement Level.
+   * @return array
+   *   array reference of all Engagement Level.
    */
   public static function &engagementLevel() {
     if (!isset(self::$engagementLevel)) {
index 5bf731021344aa5a13fc4ab816db7de545eeee3e..e5ff4c4d5b61ca6bc81cccc03a996510de1eecc3 100755 (executable)
@@ -213,7 +213,8 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -239,7 +240,8 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery($offset, $rowCount, $sort,
@@ -309,7 +311,8 @@ FROM {$from}
   }
 
   /**
-   * @return array   $qill which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    **/
   public function getQILL() {
     return $this->_query->qill();
@@ -324,7 +327,8 @@ FROM {$from}
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     self::$_columnHeaders = array();
@@ -380,7 +384,8 @@ FROM {$from}
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Respondent Search');
index c5fd3cfe2bb3bb3b54834017f24f164bd56fb495..369c38e79c44621888362316ec9db81f5cab5fe7 100755 (executable)
@@ -77,7 +77,8 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index a8a46b6cef4bba281b1fc4f073ee37958c3eda8b..e44f3d85c0f2c5973aa239328fbcd5653b86c8a0 100755 (executable)
@@ -62,7 +62,8 @@ class CRM_Campaign_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a voter / group of voters
    *
-   * @return array the set of tasks for a group of voters.
+   * @return array
+   *   the set of tasks for a group of voters.
    * @static
    */
   public static function &tasks() {
@@ -109,7 +110,8 @@ class CRM_Campaign_Task {
    * These tasks are the core set of task titles
    * on voters.
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -128,7 +130,8 @@ class CRM_Campaign_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = self::taskTitles();
@@ -142,7 +145,8 @@ class CRM_Campaign_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of voters.
+   * @return array
+   *   the set of tasks for a group of voters.
    * @static
    */
   public static function getTask($value) {
index 35cdd7504e2c4498fd31332f8148382ee914f6c6..aa9ce51c02b3c550aa748dd841ab390d58904198 100644 (file)
@@ -310,7 +310,8 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case {
    * @param int $caseId
    * @param string $colName
    *
-   * @return string case type
+   * @return string
+   *   case type
    * @static
    */
   public static function getCaseType($caseId, $colName = 'title') {
@@ -334,7 +335,8 @@ WHERE civicrm_case.id = %1";
    *
    * @param bool $moveToTrash
    *
-   * @return bool is successful
+   * @return bool
+   *   is successful
    * @static
    */
   public static function deleteCase($caseId, $moveToTrash = FALSE) {
@@ -726,7 +728,8 @@ LEFT JOIN civicrm_option_group aog ON aog.name='activity_type'
    *
    * @param string $context
    *
-   * @return array     Array of Cases
+   * @return array
+   *   Array of Cases
    *
    */
   public static function getCases($allCases = TRUE, $userID = NULL, $type = 'upcoming', $context = 'dashboard') {
@@ -974,7 +977,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
    *   Case id.
    * @param int $relationshipID
    *
-   * @return array case role / relationships
+   * @return array
+   *   case role / relationships
    *
    * @static
    */
@@ -1037,7 +1041,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
    * @param int $userID
    * @param null $type
    *
-   * @return array of case activities
+   * @return array
+   *   of case activities
    *
    * @static
    */
@@ -1377,7 +1382,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
    * @param bool $skipDetails
    *   If true include details of contacts.
    *
-   * @return array $searchRows array of return properties
+   * @return array
+   *   array of return properties
    *
    * @static
    */
@@ -1692,7 +1698,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
    *
    * @param string $type
    *
-   * @return array  $activityInfo Array of scheduled activity type and date
+   * @return array
+   *   Array of scheduled activity type and date
    *
    *
    * @static
@@ -1731,7 +1738,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   /**
    * Combine all the exportable fields from the lower levels object
    *
-   * @return array array of exportable Fields
+   * @return array
+   *   array of exportable Fields
    * @static
    */
   public static function &exportableFields() {
@@ -1916,7 +1924,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
    *   Case role assignee contactId.
    * @param int $contactId
    *
-   * @return void on success creates activity and case activity
+   * @return void
+   *   on success creates activity and case activity
    *
    * @static
    */
@@ -2010,7 +2019,8 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
    * @param int $caseId
    *   Case id.
    *
-   * @return array $caseManagerContact array of contact on success otherwise empty
+   * @return array
+   *   array of contact on success otherwise empty
    *
    * @static
    */
@@ -2055,7 +2065,8 @@ SELECT civicrm_contact.id as casemanager_id,
    * @param array $excludeCaseIds
    * @param bool $excludeDeleted
    *
-   * @return array of case and related data keyed on case id
+   * @return array
+   *   of case and related data keyed on case id
    */
   public static function getUnclosedCases($params = array(), $excludeCaseIds = array(), $excludeDeleted = TRUE, $includeClosed = FALSE) {
     //params from ajax call.
@@ -2819,7 +2830,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
    * @param bool $checkComponent
    *   Do we need to check component enabled.
    *
-   * @return boolean $allow  true/false
+   * @return boolean
    * @static
    */
   public static function checkPermission($activityId, $operation, $actTypeId = NULL, $contactId = NULL, $checkComponent = TRUE) {
@@ -3131,7 +3142,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
    * @param int $activityID
    *   Activity id.
    *
-   * @return boolean  $isCaseActivity true/false
+   * @return boolean
    */
   public static function isCaseActivity($activityID) {
     $isCaseActivity = FALSE;
@@ -3150,7 +3161,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
    * Get all the case type ids currently in use
    *
    *
-   * @return array $caseTypeIds
+   * @return array
    */
   public static function getUsedCaseType() {
     static $caseTypeIds;
@@ -3175,7 +3186,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
    * Get all the case status ids currently in use
    *
    *
-   * @return array $caseStatusIds
+   * @return array
    */
   public static function getUsedCaseStatuses() {
     static $caseStatusIds;
@@ -3218,7 +3229,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
    *
    * @param int $contactId
    *
-   * @return array $configured
+   * @return array
    */
   public static function isCaseConfigured($contactId = NULL) {
     $configured = array_fill_keys(array('configured', 'allowToAddNewCase', 'redirectToCaseAdmin'), FALSE);
@@ -3373,7 +3384,8 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
    *
    * @param int $caseId
    *
-   * @return array $clients associated array with client ids
+   * @return array
+   *   associated array with client ids
    * @static
    */
   public static function getCaseClients($caseId) {
index d17a4aafb4f91a823b4d8230c6369850cb79798f..71ddd9cc6e372d039a9e5c9fb19ef351271fb44f 100644 (file)
@@ -104,7 +104,8 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
    * @param string $name
    * @param array $definition
    *   The case-type defintion expressed as an array-tree.
-   * @return string XML
+   * @return string
+   *   XML
    * @static
    */
   public static function convertDefinitionToXML($name, $definition) {
@@ -187,7 +188,8 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
    * @param SimpleXmlElement $xml
    *   A single case-type record.
    *
-   * @return array the definition of the case-type, expressed as PHP array-tree
+   * @return array
+   *   the definition of the case-type, expressed as PHP array-tree
    * @static
    */
   public static function convertXmlToDefinition($xml) {
@@ -373,7 +375,8 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
    * Determine if modifications are allowed on the case-type
    *
    * @param int $caseTypeId
-   * @return bool TRUE if the definition can be modified
+   * @return bool
+   *   TRUE if the definition can be modified
    */
   public static function isForkable($caseTypeId) {
     $caseTypeName = CRM_Core_DAO::getFieldValue('CRM_Case_DAO_CaseType', $caseTypeId, 'name', 'id', TRUE);
index dddeefab7b0b6618dbeb43e0290bf17d6b33b3bc..c9af2a21e8ee718b603a4c9ee57d71d4e5b56b6b 100644 (file)
@@ -109,7 +109,8 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $form) {
index 8c64255242b5305997c507848b34501d6ad2e7a3..bb27d4209fca63f605a0b615d7f80ffacedd3c75 100644 (file)
@@ -109,7 +109,8 @@ class CRM_Case_Form_Activity_ChangeCaseStatus {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $form) {
index 0fbc58421d5dff35f504a518fb8b29a38ad8dbee..ce5f053877096715562da9191ae129ef2182ecba 100644 (file)
@@ -106,7 +106,8 @@ class CRM_Case_Form_Activity_ChangeCaseType {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $form) {
index 0539ec4775510efa064fa6a6c56b334d675929b3..153f1cab370a2908d54954e78f8c29515294fec4 100644 (file)
@@ -98,7 +98,8 @@ class CRM_Case_Form_Activity_LinkCases {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $form) {
index 4c9d88766df9d359d304c00b72f7934615bb5d15..95e83b96de39667d3dff37c07692e6a8cd995163 100644 (file)
@@ -254,7 +254,8 @@ class CRM_Case_Form_Activity_OpenCase {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $form) {
index 08435728d8cf0170a8ea655039623abcc3abe3ce..6f37d0c04997c6ec7ce718027976ce3e0acc6feb 100644 (file)
@@ -319,7 +319,8 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $form) {
index 9d9e575d59c940a46d422c1a63d8409861e7f658..e06308b82fbc2c68483e4456a5555c562aee6bef 100644 (file)
@@ -344,7 +344,8 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 3ca767085f98bb0ac0b54c41610dcc96318a2a59..0cde99ac2c2afad124b9a6f4ebb0b2e98fdcfc8b 100644 (file)
@@ -223,7 +223,8 @@ class CRM_Case_Page_Tab extends CRM_Core_Page {
   /**
    * Get action links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   static
index 8795b032883beca73cdca0be802da533274f8da4..7d44e4f393762349d4fc6cccec3e8482b1673c86 100644 (file)
@@ -83,7 +83,8 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param null $condition
    * @param bool $fresh
    *
-   * @return array - array reference of all case statues
+   * @return array
+   *   array reference of all case statues
    * @static
    */
   public static function caseStatus($column = 'label', $onlyActive = TRUE, $condition = NULL, $fresh = FALSE) {
@@ -108,7 +109,8 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param null $filter
    *
-   * @return array - array reference of all redaction rules
+   * @return array
+   *   array reference of all redaction rules
    * @static
    */
 
@@ -138,7 +140,8 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param string $column
    * @param bool $onlyActive
    *
-   * @return array - array reference of all case type
+   * @return array
+   *   array reference of all case type
    * @static
    */
   public static function caseType($column = 'title', $onlyActive = TRUE) {
@@ -171,7 +174,8 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param string $column
    * @param bool $onlyActive
    *
-   * @return array - array reference of all Encounter Medium.
+   * @return array
+   *   array reference of all Encounter Medium.
    * @static
    */
   public static function encounterMedium($column = 'label', $onlyActive = TRUE) {
@@ -199,7 +203,8 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @static
    *
-   * @return array - array reference of all activity types.
+   * @return array
+   *   array reference of all activity types.
    */
   public static function &caseActivityType($indexName = TRUE, $all = FALSE) {
     $cache = (int) $indexName . '_' . (int) $all;
index daf957265759995d7e3eace484814f12f53cd718..052b4ad10e9fa182d101a8d765d7726bc600359b 100644 (file)
@@ -271,7 +271,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -296,7 +297,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery($offset, $rowCount, $sort,
@@ -411,7 +413,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * @return array              $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -429,7 +432,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -505,7 +509,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('Case Search');
index 2b1582c693692cc57c0f179ac6a80c4f9f46550b..d391bf267cb0be9474922852c3361d34f355c93a 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 0d98f79df98c59b19adefd62ecb3c44df6092748..261e28d16afeaee77cbb0f6c712ba3e17f4fec19 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Case_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -105,7 +106,8 @@ class CRM_Case_Task {
   /**
    * These tasks are the core set of task titles
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -120,7 +122,8 @@ class CRM_Case_Task {
   /**
    * These tasks get added based on the context the user is in
    *
-   * @return array the set of optional tasks for a group of contacts
+   * @return array
+   *   the set of optional tasks for a group of contacts
    * @static
    */
   public static function &optionalTaskTitle() {
@@ -134,7 +137,8 @@ class CRM_Case_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = array();
@@ -161,7 +165,8 @@ class CRM_Case_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function getTask($value) {
index 94d0afe4e19b58a57879955411a13f2c00e51486..e129ca7d63d31ea138b690fa317ba2a0016ed4bb 100644 (file)
@@ -646,7 +646,8 @@ AND        a.is_deleted = 0
   /**
    * Retrieves AllowMultipleCaseClients setting
    *
-   * @return string 1 if allowed, 0 if not
+   * @return string
+   *   1 if allowed, 0 if not
    */
   public function getAllowMultipleCaseClients() {
     $xml = $this->retrieve("Settings");
@@ -659,7 +660,8 @@ AND        a.is_deleted = 0
   /**
    * Retrieves NaturalActivityTypeSort setting
    *
-   * @return string 1 if natural, 0 if alphabetic
+   * @return string
+   *   1 if natural, 0 if alphabetic
    */
   public function getNaturalActivityTypeSort() {
     $xml = $this->retrieve("Settings");
index b5b11cc6c8ddc63c8a96a4ea62ebd614eed1f8dc..e499430b8f49ba128137371481c13d73cd8ea0a8 100644 (file)
@@ -471,7 +471,8 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
    *
    * @param bool $type
    *
-   * @return array the displayName and contactImage for this contact
+   * @return array
+   *   the displayName and contactImage for this contact
    * @static
    */
   public static function getDisplayAndImage($id, $type = FALSE) {
@@ -764,7 +765,8 @@ WHERE     civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer');
    * @param bool $skipUndelete
    *   Whether to force contact delete or not.
    *
-   * @return boolean true if contact deleted, false otherwise
+   * @return boolean
+   *   true if contact deleted, false otherwise
    * @static
    */
   public static function deleteContact($id, $restore = FALSE, $skipUndelete = FALSE) {
@@ -897,7 +899,8 @@ WHERE     civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer');
    * @param int $id
    *   Id of the contact.
    *
-   * @return boolean true if contact image is deleted
+   * @return boolean
+   *   true if contact image is deleted
    */
   public static function deleteContactImage($id) {
     if (!$id) {
@@ -918,7 +921,8 @@ WHERE id={$id}; ";
    * @param string $absolutePath
    *   Absolute path.
    *
-   * @return String $relativePath Relative url of uploaded image
+   * @return String
+   *   Relative url of uploaded image
    */
   public static function getRelativePath($absolutePath) {
     $relativePath = NULL;
@@ -959,7 +963,8 @@ WHERE id={$id}; ";
    * @param Integer $imageHeight
    *   Height of image.
    *
-   * @return Array thumb dimension of image
+   * @return Array
+   *   thumb dimension of image
    */
   public static function getThumbSize($imageWidth, $imageHeight) {
     $thumbWidth = 100;
@@ -992,7 +997,8 @@ WHERE id={$id}; ";
    * @param string $opType
    *   Type of operation like fatal, bounce etc.
    *
-   * @return boolean true if valid image extension
+   * @return boolean
+   *   true if valid image extension
    */
   public static function processImageParams(
     &$params,
@@ -1088,7 +1094,8 @@ WHERE id={$id}; ";
    * @param int $id
    *   Id of the contact whose contact type is needed.
    *
-   * @return string contact_type if $id found else null ""
+   * @return string
+   *   contact_type if $id found else null ""
    *
    *
    * @static
@@ -1106,7 +1113,8 @@ WHERE id={$id}; ";
    *
    * @param null $implodeDelimiter
    *
-   * @return string contact_sub_type if $id found else null ""
+   * @return string
+   *   contact_sub_type if $id found else null ""
    *
    *
    * @static
@@ -1177,7 +1185,8 @@ WHERE id={$id}; ";
    *
    * @param bool $withMultiCustomFields
    *
-   * @return array array of importable Fields
+   * @return array
+   *   array of importable Fields
    * @static
    */
   static function importableFields(
@@ -1376,7 +1385,8 @@ WHERE id={$id}; ";
    *
    * @param bool $withMultiRecord
    *
-   * @return array array of exportable Fields
+   * @return array
+   *   array of exportable Fields
    * @static
    */
   public static function &exportableFields($contactType = 'Individual', $status = FALSE, $export = FALSE, $search = FALSE, $withMultiRecord = FALSE) {
@@ -1637,7 +1647,8 @@ WHERE id={$id}; ";
    * @param int $contactId
    *   Contact id.
    *
-   * @return array a hierarchical property tree if appropriate
+   * @return array
+   *   a hierarchical property tree if appropriate
    * @static
    */
   public static function &makeHierReturnProperties($fields, $contactId = NULL) {
@@ -1712,7 +1723,8 @@ WHERE id={$id}; ";
    * @param bool $skipDefaultPriamry
    * @param null $block
    *
-   * @return int $locationType location_type_id
+   * @return int
+   *   $locationType location_type_id
    * @static
    */
   public static function getPrimaryLocationType($contactId, $skipDefaultPriamry = FALSE, $block = NULL) {
@@ -1775,7 +1787,8 @@ WHERE  civicrm_contact.id = %1 ";
    * @param int $id
    *   Id of the contact.
    *
-   * @return array  of display_name, email if found, do_not_email or (null,null,null)
+   * @return array
+   *   of display_name, email if found, do_not_email or (null,null,null)
    * @static
    */
   public static function getContactDetails($id) {
@@ -1831,7 +1844,8 @@ ORDER BY civicrm_email.is_primary DESC";
    *   Basically lets us know where this request is coming from.
    *                                if via a profile from web, we restrict what groups are changed
    *
-   * @return int contact id created/edited
+   * @return int
+   *   contact id created/edited
    * @static
    */
   static function createProfileContact(
@@ -2305,7 +2319,8 @@ ORDER BY civicrm_email.is_primary DESC";
    * @param string $ctype
    *   Contact type.
    *
-   * @return object $dao contact details
+   * @return object
+   *   $dao contact details
    * @static
    */
   public static function &matchContactOnEmail($mail, $ctype = NULL) {
@@ -2357,7 +2372,8 @@ WHERE      civicrm_email.email = %1 AND civicrm_contact.is_deleted=0";
    * @param string $ctype
    *   Contact type.
    *
-   * @return object $dao contact details
+   * @return object
+   *   $dao contact details
    * @static
    */
   public static function &matchContactOnOpenId($openId, $ctype = NULL) {
@@ -2394,7 +2410,8 @@ WHERE      civicrm_openid.openid = %1";
    * @param int $contactID
    *   Contact id.
    *
-   * @return string $dao->email  email address if present else null
+   * @return string
+   *   >email  email address if present else null
    * @static
    */
   public static function getPrimaryEmail($contactID) {
@@ -2422,7 +2439,8 @@ LEFT JOIN civicrm_email    ON ( civicrm_contact.id = civicrm_email.contact_id )
    * @param int $contactID
    *   Contact id.
    *
-   * @return string $dao->openid   OpenID if present else null
+   * @return string
+   *   >openid   OpenID if present else null
    * @static
    */
   public static function getPrimaryOpenId($contactID) {
@@ -2775,7 +2793,8 @@ AND       civicrm_openid.is_primary = 1";
    * @param string $condOperator
    *   Operator use for grouping multiple conditions.
    *
-   * @return array  $locBlockIds  loc block ids which fulfill condition.
+   * @return array
+   *   loc block ids which fulfill condition.
    * @static
    */
   public static function getLocBlockIds($contactId, $criteria = array(), $condOperator = 'AND') {
@@ -2824,7 +2843,8 @@ AND       civicrm_openid.is_primary = 1";
    *
    * @param int $contactId
    *
-   * @return array of context menu for logged in user.
+   * @return array
+   *   of context menu for logged in user.
    * @static
    */
   public static function contextMenu($contactId = NULL) {
@@ -3266,7 +3286,8 @@ LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id )
    * @param int $contactId
    *   Contact id.
    *
-   * @return bool true if present else false.
+   * @return bool
+   *   true if present else false.
    * @static
    */
   public static function checkDomainContact($contactId) {
index 435e2ca4a4edb2c3a96920b21a3ee3df00984b02..595310b4910b711cf53c4ff83a6ad7cd028d106e 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Contact_BAO_Contact_Location {
    * @param bool $isPrimary
    * @param int $locationTypeID
    *
-   * @return array  of display_name, email, location type and location id if found, or (null,null,null, null)
+   * @return array
+   *   of display_name, email, location type and location id if found, or (null,null,null, null)
    * @static
    */
   public static function getEmailDetails($id, $isPrimary = TRUE, $locationTypeID = NULL) {
@@ -83,7 +84,8 @@ WHERE     civicrm_contact.id = %1";
    *
    * @param null $type
    *
-   * @return array    tuple of display_name and sms if found, or (null,null)
+   * @return array
+   *   tuple of display_name and sms if found, or (null,null)
    * @static
    */
   public static function getPhoneDetails($id, $type = NULL) {
index 45d625dd6e7c9dd8d2db9a24256f9b7e058c5fd8..5e15d510223c921a5258b7af2ace563e1b37ee2b 100644 (file)
@@ -41,7 +41,8 @@ class CRM_Contact_BAO_Contact_Permission {
    *   Contact id.
    * @param int|string $type the type of operation (view|edit)
    *
-   * @return boolean true if the user has permission, false otherwise
+   * @return boolean
+   *   true if the user has permission, false otherwise
    * @static
    */
   public static function allow($id, $type = CRM_Core_Permission::VIEW) {
@@ -248,7 +249,8 @@ AND    $operationClause LIMIT 1";
    * @param int $contactID
    *   Contact id of the current contact.
    *
-   * @return bool true if logged in user has permission to view
+   * @return bool
+   *   true if logged in user has permission to view
    *   selected contact record else false
    * @static
    */
index 1883d94fad103b6e71d28c67b6d939d0b4ffd1d2..a34b01321da4eab95332956f030c8f20bf14f81e 100644 (file)
@@ -155,7 +155,8 @@ WHERE  id IN ( $idString )
    * @param string $entityType
    * @param null $hashSize
    *
-   * @return array ( $cs, $ts, $live )
+   * @return array
+   *   ( $cs, $ts, $live )
    * @static
    */
   public static function generateChecksum($entityId, $ts = NULL, $live = NULL, $hash = NULL, $entityType = 'contact', $hashSize = NULL) {
@@ -223,7 +224,8 @@ WHERE  id IN ( $idString )
    * @param string $inputCheck
    *   Checksum to match against.
    *
-   * @return boolean           true if valid, else false
+   * @return boolean
+   *   true if valid, else false
    * @static
    */
   public static function validChecksum($contactID, $inputCheck) {
@@ -256,7 +258,8 @@ WHERE  id IN ( $idString )
    * @param int $contactId
    *   Contact id.
    *
-   * @return int $locationCount max locations for the contact
+   * @return int
+   *   $locationCount max locations for the contact
    * @static
    */
   public static function maxLocations($contactId) {
@@ -585,7 +588,8 @@ UPDATE civicrm_contact
    *   Associated with the contact which is edited.
    *
    *
-   * @return array $contactViewLinks returns array with links to contact view
+   * @return array
+   *   returns array with links to contact view
    * @static
    */
   public static function formatContactIDSToLinks($contactIDs, $addViewLink = TRUE, $addEditLink = TRUE, $originalId = NULL) {
@@ -691,7 +695,8 @@ LEFT JOIN  civicrm_email ce ON ( ce.contact_id=c.id AND ce.is_primary = 1 )
    * @param array $returnProperties
    *   Array of return elements.
    *
-   * @return array $contactDetails array of contact info.
+   * @return array
+   *   array of contact info.
    * @static
    */
   public static function contactDetails($componentIds, $componentName, $returnProperties = array()) {
@@ -870,7 +875,8 @@ Group By  componentId";
    * @param array $addresses
    *   Associated array of.
    *
-   * @return array $contactNames associated array of contact names
+   * @return array
+   *   associated array of contact names
    * @static
    */
   public static function getAddressShareContactNames(&$addresses) {
@@ -1085,7 +1091,8 @@ WHERE id IN (" . implode(',', $contactIds) . ")";
    * @param string $greetingType
    *   Greeting type.
    *
-   * @return int or null
+   * @return int
+   *   or null
    */
   public static function defaultGreeting($contactType, $greetingType) {
     $contactTypeFilters = array('Individual' => 1, 'Household' => 2, 'Organization' => 3);
index a9c706349770f827fc7ca1ac8287ef0ed0e1db7e..968d9a798b2cdea651a5d02221533995e9b52bde 100644 (file)
@@ -71,7 +71,8 @@ class CRM_Contact_BAO_ContactType extends CRM_Contact_DAO_ContactType {
    *
    * @param bool $all
    *
-   * @return array of basic contact types information.
+   * @return array
+   *   of basic contact types information.
    * @static
    */
   public static function &basicTypeInfo($all = FALSE) {
@@ -117,7 +118,8 @@ WHERE  parent_id IS NULL
    *
    * @param bool $all
    *
-   * @return array of basic contact types
+   * @return array
+   *   of basic contact types
    * @static
    */
   public static function basicTypes($all = FALSE) {
@@ -150,7 +152,8 @@ WHERE  parent_id IS NULL
    * @param bool $ignoreCache
    * @param bool $reset
    *
-   * @return array of sub type information
+   * @return array
+   *   of sub type information
    * @static
    */
   public static function &subTypeInfo($contactType = NULL, $all = FALSE, $ignoreCache = FALSE, $reset = FALSE) {
@@ -219,7 +222,8 @@ WHERE  subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL {$ctWHERE}
    * @param string $columnName
    * @param bool $ignoreCache
    *
-   * @return array of all subtypes OR list of subtypes associated to
+   * @return array
+   *   of all subtypes OR list of subtypes associated to
    * a given basic contact type
    * @static
    */
@@ -261,7 +265,8 @@ WHERE  subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL {$ctWHERE}
    *
    * @param bool $all
    *
-   * @return array of basic types + all subtypes.
+   * @return array
+   *   of basic types + all subtypes.
    * @static
    */
   public static function contactTypes($all = FALSE) {
@@ -275,7 +280,8 @@ WHERE  subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL {$ctWHERE}
    * @param bool $all
    * @param bool $reset
    *
-   * @return array of basic types + all subtypes.
+   * @return array
+   *   of basic types + all subtypes.
    * @static
    */
   public static function contactTypeInfo($all = FALSE, $reset = FALSE) {
@@ -335,7 +341,8 @@ WHERE  type.name IS NOT NULL
    * @param null $typeName
    * @param null $delimiter
    *
-   * @return array of basictypes with name as 'built-in name' and 'label' as value
+   * @return array
+   *   of basictypes with name as 'built-in name' and 'label' as value
    * @static
    */
   public static function contactTypePairs($all = FALSE, $typeName = NULL, $delimiter = NULL) {
@@ -451,7 +458,8 @@ AND   ( p.is_active = 1 OR p.id IS NULL )
    *   Contact subType.
    * @param bool $ignoreCache
    *
-   * @return boolean true if subType, false otherwise.
+   * @return boolean
+   *   true if subType, false otherwise.
    * @static
    */
   public static function isaSubType($subType, $ignoreCache = FALSE) {
@@ -506,7 +514,8 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
    *   Contact subTypes.
    * @param bool $ignoreCache
    *
-   * @return array of suppressed subTypes.
+   * @return array
+   *   of suppressed subTypes.
    * @static
    */
   public static function suppressSubTypes(&$subTypes, $ignoreCache = FALSE) {
@@ -524,7 +533,8 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
    * @param bool $ignoreCache
    * @param string $columnName
    *
-   * @return boolean true if contact extends, false otherwise.
+   * @return boolean
+   *   true if contact extends, false otherwise.
    * @static
    */
   public static function isExtendsContactType($subType, $contactType, $ignoreCache = FALSE, $columnName = 'name') {
@@ -539,7 +549,8 @@ WHERE  subtype.name IN ('" . implode("','", $subType) . "' )";
   /**
    * Create shortcuts menu for contactTypes
    *
-   * @return array  of contactTypes
+   * @return array
+   *   of contactTypes
    * @static
    */
   public static function getCreateNewList() {
@@ -700,7 +711,8 @@ WHERE name = %1";
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on success, null otherwise
+   * @return Object
+   *   DAO object on success, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -739,7 +751,7 @@ WHERE name = %1";
    * @param string $subType
    *   Subtype.
    *
-   * @return boolean true/false.
+   * @return boolean
    * @static
    */
   public static function isAllowEdit($contactId, $subType = NULL) {
index b3658aa2b584fa4ae170a9caa4ab9cfa2317ec1c..8283ae49da97a1cbbb9113d3954021d7dc410124 100644 (file)
@@ -161,7 +161,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    *
    * @param bool $countChildGroups
    *
-   * @return int count of members in the group with above status
+   * @return int
+   *   count of members in the group with above status
    */
   public static function memberCount($id, $status = 'Added', $countChildGroups = FALSE) {
     $groupContact = new CRM_Contact_DAO_GroupContact();
@@ -205,7 +206,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * @param int $groupID
    * @param bool $useCache
    *
-   * @return array $aMembers this array contains the list of members for this group id
+   * @return array
+   *   this array contains the list of members for this group id
    * @static
    */
   public static function &getMember($groupID, $useCache = TRUE) {
@@ -234,7 +236,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * @param NULL $offset
    * @param NULL $rowCount
    *
-   * @return array of group objects.
+   * @return array
+   *   of group objects.
    *
    *
    * @todo other BAO functions that use returnProperties (e.g. Query Objects) receive the array flipped & filled with 1s and
@@ -309,7 +312,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * @param int $id
    *   The id of the object.
    *
-   * @return string   the permission that the user has (or NULL)
+   * @return string
+   *   the permission that the user has (or NULL)
    * @static
    */
   public static function checkPermission($id) {
@@ -560,7 +564,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * @param bool $isActive
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, NULL otherwise
+   * @return Object
+   *   DAO object on sucess, NULL otherwise
    * @static
    */
   public static function setIsActive($id, $isActive) {
@@ -574,7 +579,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    *   Type of group(Access/Mailing) OR the key of the group.
    * @param bool|\boolen $excludeHidden exclude hidden groups.
    *
-   * @return string $condition
+   * @return string
    * @static
    */
   public static function groupTypeCondition($groupType = NULL, $excludeHidden = TRUE) {
@@ -647,7 +652,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * @param array $params
    *   ( reference ) an assoc array of name/value pairs.
    *
-   * @return array ( smartGroupId, ssId ) smart group id and saved search id
+   * @return array
+   *   ( smartGroupId, ssId ) smart group id and saved search id
    * @static
    */
   public static function createHiddenSmartGroup($params) {
@@ -717,7 +723,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * @param array $params
    *   Associated array for params record id.
    *
-   * @return array   $groupList associated array of group list
+   * @return array
+   *   associated array of group list
    *  -rp = rowcount
    *  -page= offset
    * @todo there seems little reason for the small number of functions that call this to pass in
@@ -1232,7 +1239,8 @@ WHERE {$whereClause}";
   /**
    * Define action links
    *
-   * @return array $links array of action links
+   * @return array
+   *   array of action links
    */
   public static function actionLinks() {
     $links = array(
index 863ad13a4aadefa17efbf6e7f34c9f24bca7af7d..c47ce54d4c792803e40864d7c35896eafb84916f 100644 (file)
@@ -95,7 +95,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    * @param array $values
    *   Output values of the object.
    *
-   * @return array (reference)   the values that could be potentially assigned to smarty
+   * @return array
+   *   (reference)   the values that could be potentially assigned to smarty
    * @static
    */
   public static function getValues(&$params, &$values) {
@@ -128,7 +129,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    * @param string $status
    * @param int $tracking
    *
-   * @return array             (total, added, notAdded) count of contacts added to group
+   * @return array
+   *   (total, added, notAdded) count of contacts added to group
    * @static
    */
   static function addContactsToGroup(
@@ -178,7 +180,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    * @param string $status
    * @param NULL $tracking
    *
-   * @return array             (total, removed, notRemoved) count of contacts removed to group
+   * @return array
+   *   (total, removed, notRemoved) count of contacts removed to group
    * @static
    */
   static function removeContactsFromGroup(
@@ -277,7 +280,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    * @param bool $visibility
    *
    *
-   * @return array $values this array has key-> group id and value group title
+   * @return array
+   *   this array has key-> group id and value group title
    * @static
    */
   public static function getGroupList($contactId = 0, $visibility = FALSE) {
@@ -331,7 +335,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    *
    * @param bool $excludeHidden
    *
-   * @return array (reference )|int $values the relevant data object values for the contact or
+   * @return array
+   *   (reference )|int $values the relevant data object values for the contact or
    *                                 the total count when $count is TRUE
    *
    * $access public
@@ -458,7 +463,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    * @param string $method
    *   If we want the subscription history details for a specific method.
    *
-   * @return object of group contact
+   * @return object
+   *   of group contact
    * @static
    */
   public static function getMembershipDetail($contactId, $groupID, $method = 'Email') {
@@ -611,7 +617,8 @@ SELECT    *
    *
    * TODO: use the 3rd $sqls param to append sql statements rather than executing them here
    *
-   * @return void.
+   * @return void
+   *
    * @static
    */
   public static function mergeGroupContact($mainContactId, $otherContactId) {
@@ -719,7 +726,8 @@ AND       group_id IN ( $groupIDString )
    * @param string $status
    * @param NULL $tracking
    *
-   * @return array             (total, added, notAdded) count of contacts added to group
+   * @return array
+   *   (total, added, notAdded) count of contacts added to group
    * @static
    */
   static function bulkAddContactsToGroup(
index 2bb9288ff5485c45ae5ebcd394746d223e94ba57..fee28ef28cf4b2a3058c969bab33d51f3bb8a22f 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Contact_BAO_GroupContactCache extends CRM_Contact_DAO_GroupContactCach
    * @param $groupIDs
    *   Of group that we are checking against.
    *
-   * @return boolean TRUE if we did not regenerate, FALSE if we did
+   * @return boolean
+   *   TRUE if we did not regenerate, FALSE if we did
    */
   public static function check($groupIDs) {
     if (empty($groupIDs)) {
@@ -62,7 +63,8 @@ class CRM_Contact_BAO_GroupContactCache extends CRM_Contact_DAO_GroupContactCach
    * @param bool $includeHiddenGroups
    *   Hidden groups are excluded by default.
    *
-   * @return string the sql query which lists the groups that need to be refreshed
+   * @return string
+   *   the sql query which lists the groups that need to be refreshed
    * @static
    */
   public static function groupRefreshedClause($groupIDClause = NULL, $includeHiddenGroups = FALSE) {
@@ -101,7 +103,8 @@ AND     ( g.cache_date IS NULL OR
    * @param bool $includeHiddenGroups
    *   Hidden groups are excluded by default.
    *
-   * @return string the sql query which lists the groups that need to be refreshed
+   * @return string
+   *   the sql query which lists the groups that need to be refreshed
    * @static
    */
   public static function shouldGroupBeRefreshed($groupID, $includeHiddenGroups = FALSE) {
@@ -121,7 +124,8 @@ AND     ( g.cache_date IS NULL OR
    * @param int $limit
    *   Limits the number of groups we evaluate.
    *
-   * @return boolean TRUE if we did not regenerate, FALSE if we did
+   * @return boolean
+   *   TRUE if we did not regenerate, FALSE if we did
    */
   public static function loadAll($groupIDs = NULL, $limit = 0) {
     // ensure that all the smart groups are loaded
@@ -609,7 +613,8 @@ AND  civicrm_group_contact.group_id = $groupID ";
    * @param bool $showHidden
    *   Hidden groups are shown only if this flag is set.
    *
-   * @return array an array of groups that this contact belongs to
+   * @return array
+   *   an array of groups that this contact belongs to
    */
   public static function contactGroup($contactID, $showHidden = FALSE) {
     if (empty($contactID)) {
index 75480da7b0e1587f97f800e96c561f80ad4358da..1bf59f56876a35f49e5ed06f5578e5903851734b 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Contact_BAO_Household extends CRM_Contact_DAO_Contact {
    * @param int $contactId
    *   Contact id.
    *
-   * @return Object     DAO object on success
+   * @return Object
+   *   DAO object on success
    * @static
    */
   public static function updatePrimaryContact($primaryContactId, $contactId) {
index 5150e6bc8614dc796c1a90f74854436269cd7b2f..88613b8e4fa6a175bb778fc1722a30e126a394fc 100644 (file)
@@ -385,7 +385,8 @@ class CRM_Contact_BAO_Individual extends CRM_Contact_DAO_Contact {
   /**
    * Creates display name
    *
-   * @return string  the constructed display name
+   * @return string
+   *   the constructed display name
    */
   public function displayName() {
     $prefix = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'prefix_id');
index 84ec03fccddd86354d4d2fa286385d4f10b7ff1a..3e88c46927b16b72b3f7352169f8f17141c5409c 100644 (file)
@@ -1301,7 +1301,8 @@ class CRM_Contact_BAO_Query {
    * @param bool $groupContacts
    * @param bool $onlyDeleted
    *
-   * @return array sql query parts as an array
+   * @return array
+   *   sql query parts as an array
    */
   public function query($count = FALSE, $sortByChar = FALSE, $groupContacts = FALSE, $onlyDeleted = FALSE) {
     // build permission clause
@@ -2305,7 +2306,8 @@ class CRM_Contact_BAO_Query {
    *
    * @param CRM_Core_DAO $dao
    *
-   * @return array values for this query
+   * @return array
+   *   values for this query
    */
   public function store($dao) {
     $value = array();
@@ -2403,7 +2405,8 @@ class CRM_Contact_BAO_Query {
    * @param bool $primaryLocation
    * @param int $mode
    *
-   * @return string the from clause
+   * @return string
+   *   the from clause
    * @static
    */
   public static function fromClause(&$tables, $inner = NULL, $right = NULL, $primaryLocation = TRUE, $mode = 1) {
@@ -4210,7 +4213,8 @@ civicrm_relationship.is_permission_a_b = 0
    *
    * @param int $mode
    *
-   * @return array derault return properties
+   * @return array
+   *   derault return properties
    */
   public static function &defaultReturnProperties($mode = 1) {
     if (!isset(self::$_defaultReturnProperties)) {
@@ -5147,7 +5151,8 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
    * @param string $dataType
    *   Data type of the field.
    *
-   * @return string where clause for the query
+   * @return string
+   *   where clause for the query
    */
   public static function buildClause($field, $op, $value = NULL, $dataType = NULL) {
     $op = trim($op);
@@ -5383,7 +5388,8 @@ AND   displayRelType.is_active = 1
    *   The data type for this element.
    * @param bool $useIDsOnly
    *
-   * @return void     adds the where clause and qill to the query object
+   * @return void
+   *   adds the where clause and qill to the query object
    */
   function optionValueQuery(
     $name,
index d9ba5127d7baadc157d36f6f65e1dfc9cd07a612..055259a7d50ce5886f66e73b203183b5d7e3a06d 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Contact_BAO_Query_Hook {
  /**
   * Get or build the list of search objects (via hook)
   *
-  * @return array of CRM_Contact_BAO_Query_Interface objects
+  * @return array
+   *   of CRM_Contact_BAO_Query_Interface objects
   */
   public function getSearchQueryObjects() {
     if ($this->_queryObjects === NULL) {
index 76b4d71ffd7abe84e65a575bc669d6b024494310..11ebf22a9cd566844ff36e7742f4d2f5cc69fdc2 100644 (file)
@@ -352,7 +352,8 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
   /**
    * Specifiy defaults for creating a relationship
    *
-   * @return array $defaults array of defaults for creating relationship
+   * @return array
+   *   array of defaults for creating relationship
    * @static
    */
   public static function getdefaults() {
@@ -408,7 +409,8 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
    *
    * @static
    *
-   * @return array - array reference of all relationship types with context to current contact.
+   * @return array
+   *   array reference of all relationship types with context to current contact.
    */
   static function getContactRelationshipType(
     $contactId = NULL,
@@ -675,7 +677,8 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
    * @param int $relationshipTypeId
    *   Relationship type id.
    *
-   * @return boolean  true if it is valid relationship else false
+   * @return boolean
+   *   true if it is valid relationship else false
    * @static
    */
   public static function checkRelationshipType($contact_a, $contact_b, $relationshipTypeId) {
@@ -748,7 +751,8 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
    * @param int $relationshipId
    *   This is relationship id for the contact.
    *
-   * @return boolean true if record exists else false
+   * @return boolean
+   *   true if record exists else false
    * @static
    */
   public static function checkDuplicateRelationship(&$params, $id, $contactId = 0, $relationshipId = 0) {
@@ -825,7 +829,8 @@ WHERE  relationship_type_id = " . CRM_Utils_Type::escape($type, 'Integer');
    *   Value we want to set the is_active field.
    *
    * @throws CiviCRM_API3_Exception
-   * @return Object             DAO object on success, null otherwise
+   * @return Object
+   *   DAO object on success, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -860,7 +865,8 @@ WHERE  relationship_type_id = " . CRM_Utils_Type::escape($type, 'Integer');
    * @param array $values
    *   Output values of the object.
    *
-   * @return array (reference)   the values that could be potentially assigned to smarty
+   * @return array
+   *   (reference)   the values that could be potentially assigned to smarty
    * @static
    */
   public static function &getValues(&$params, &$values) {
@@ -1253,7 +1259,8 @@ LEFT JOIN  civicrm_country ON (civicrm_address.country_id = civicrm_country.id)
    * @param string $targetContactType
    *   It's valid contact tpye(may be Individual , Organization , Household).
    *
-   * @return array - array reference of all relationship types with context to current contact type .
+   * @return array
+   *   array reference of all relationship types with context to current contact type .
    *
    */
   public function getRelationType($targetContactType) {
@@ -1551,7 +1558,8 @@ SELECT count(*)
    * @param $contactIds
    *   Contact Ids.
    *
-   * @return array $currentEmployer array of the current employer
+   * @return array
+   *   array of the current employer
    * @static
    */
   public static function getCurrentEmployer($contactIds) {
@@ -1584,7 +1592,8 @@ WHERE id IN ( {$contacts} )
    *
    * @static
    *
-   * @return array array of employers.
+   * @return array
+   *   array of employers.
    *
    */
   public static function getPermissionedEmployer($contactID, $name = NULL) {
@@ -1608,7 +1617,8 @@ WHERE id IN ( {$contacts} )
    *
    * @static
    *
-   * @return array of contacts
+   * @return array
+   *   of contacts
    */
   public static function getPermissionedContacts($contactID, $relTypeId, $name = NULL) {
     $contacts = array();
@@ -1766,7 +1776,8 @@ AND cc.sort_name LIKE '%$name%'";
    * @param array $params
    *   Associated array for params record id.
    *
-   * @return array   $contactRelationships associated array of contact relationships
+   * @return array
+   *   associated array of contact relationships
    */
   public static function getContactRelationshipSelector(&$params) {
     // format the params
index ec0bfcd6261e7f435bbb805b60a97f7ab12c9325..e443192b483fea4af2e56bb02873fe2a11afafd4 100644 (file)
@@ -71,7 +71,8 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index 18e2118d87985b2b899d664606e7eb0c188878c1..8b82ca352458c03e6657f8689748249212224a2a 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   /**
    * Query the db for all saved searches.
    *
-   * @return array $aSavedSearch - contains the search name as value and and id as key
+   * @return array
+   *   contains the search name as value and and id as key
    *
    */
   public function getAll() {
@@ -93,7 +94,8 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
    * @param int $id
    *   The id of the saved search.
    *
-   * @return array the values of the posted saved search
+   * @return array
+   *   the values of the posted saved search
    * @static
    */
   public static function &getFormValues($id) {
@@ -159,7 +161,8 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
    * @param array $whereTables
    *   (reference ) add the tables that are needed for the where clause.
    *
-   * @return string the where clause for this saved search
+   * @return string
+   *   the where clause for this saved search
    * @static
    */
   public static function whereClause($id, &$tables, &$whereTables) {
@@ -274,7 +277,8 @@ LEFT JOIN civicrm_email ON (contact_a.id = civicrm_email.contact_id AND civicrm_
    *
    * @param string $value
    *
-   * @return string the name of the saved search
+   * @return string
+   *   the name of the saved search
    * @static
    */
   public static function getName($id, $value = 'name') {
index 60a7a1dae57050fcee57108e6ac69bf7b8717612..b54ff60603263cc13c29879152ec55b0bc17ddab 100644 (file)
@@ -55,7 +55,8 @@ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHi
    * @param array $params
    *   Values for the new history record.
    *
-   * @return object $history  The new history object
+   * @return object
+   *   $history  The new history object
    * @static
    */
   public static function &create(&$params) {
index e7c9dffb8a2e5b2b9e9513cc5772bc83ca8ab93f..cb8435e865b92d7e215b67b50b5f1a37ae10b2f3 100644 (file)
@@ -588,7 +588,8 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
    * @param int $contactId
    *   Contact id if doing update.
    *
-   * @return bool $primaryID email/openId
+   * @return bool
+   *   email/openId
    * @static
    */
   public static function formRule($fields, &$errors, $contactId = NULL) {
@@ -1061,7 +1062,8 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
    * @param array $fields
    *   The hierarchical value representation of this location.
    *
-   * @return boolean true if data exists, false otherwise
+   * @return boolean
+   *   true if data exists, false otherwise
    * @static
    */
   public static function blockDataExists(&$fields) {
@@ -1196,7 +1198,8 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
    * @param array $params
    *   of key value consist of address blocks.
    *
-   * @return array $parseSuccess as array of sucess/fails for each address block
+   * @return array
+   *   as array of sucess/fails for each address block
    * @static
    */
   public function parseAddress(&$params) {
index ade28593a0451ec6f94b37b684fed60c7f7c0fc6..7bb59a2d4b0b3ab459b08026f0115c31b077f239 100644 (file)
@@ -233,7 +233,8 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     if ($this->_cdType || $this->_multiRecordDisplay == 'single') {
index c769b42037ca83552239dde70c4b27df047a4543..670c7cb265612cb3d9e26b03a5437813364845f6 100644 (file)
@@ -148,7 +148,8 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index 5978859faf604a9e0b7a302c937a0abdcc6b03fc..8008b6667ccc23d8be4c49258be4ebdcc7eba1aa 100644 (file)
@@ -102,7 +102,8 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
@@ -201,7 +202,8 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index d52fa5972699706d06492225372803e50ba47a17..72bf2f1a464d5a22243323bc33c0ff6254ac1bd6 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
    * @param array $errors
    *   List of errors to be posted back to the form.
    *
-   * @return array $errors
+   * @return array
    * @static
    */
   public static function formRule($fields, $errors) {
index fc1049a52d036cc3f7e80b0507182e7463a798d8..dfed03861770d904079ebccff9ddabbb875a1522 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
    * @param array $errors
    *   List of errors to be posted back to the form.
    *
-   * @return array $errors
+   * @return array
    * @static
    */
   public static function formRule($fields, $errors) {
index daeb775ec3bf4d96eb1fb619b28c22691a822b13..5ee0681d0cefc4105fbde2daf6d00d440e90df02 100644 (file)
@@ -93,7 +93,8 @@ class CRM_Contact_Form_Inline_Lock {
    *
    * @param int $contactID
    *
-   * @return array extra options to return in JSON
+   * @return array
+   *   extra options to return in JSON
    */
   public static function getResponse($contactID) {
     $timestamps = CRM_Contact_BAO_Contact::getTimestamps($contactID);
index bc1014db2f06f49a51856fbec9eea1ac2ad2bd64..4b0c3828d5294b704804e1e1e316c38db52358c4 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
    * @param array $errors
    *   List of errors to be posted back to the form.
    *
-   * @return array $errors
+   * @return array
    * @static
    */
   public static function formRule($fields, $errors) {
index 6297a8d221a22fb3aecf9b39ee319148f911d9b0..9f2f96f979cd13e1e26d5090f0df995f660372a1 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
    * @param array $errors
    *   List of errors to be posted back to the form.
    *
-   * @return array $errors
+   * @return array
    * @static
    */
   public static function formRule($fields, $errors) {
index 8e998aba4410bf2c75dbea23b120feede4b2446e..5b110413b142f0ce51bb5c41ca48aa5345d08451 100644 (file)
@@ -247,7 +247,8 @@ class CRM_Contact_Form_Merge extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index ef4560524dcf8974e42ed526c3a6261e709620ac..0a4aa1043889cec2d4624f7879b9bd4269ee7d17 100644 (file)
@@ -166,7 +166,8 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
   /**
    * Define the set of valid contexts that the search form operates on
    *
-   * @return array the valid context set and the titles
+   * @return array
+   *   the valid context set and the titles
    * @static
    */
   public static function &validContext() {
index 4ae3e984e37c9677948a394564ed989b365eb3cc..d7fd33607100ea0168bc5c670071d83a2d428719 100644 (file)
@@ -202,7 +202,8 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = $this->_formValues;
index 28b5c5a562d9d74c8bbf13f74066cb3011e230c4..9a5716143f0621d5997115fa1561b18b2ecbb698 100644 (file)
@@ -100,7 +100,8 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index bfcc5d20e89791712193074cb9f466b196f4614c..89550d769c75fcbb646be035773eb72e404449b9 100644 (file)
@@ -139,7 +139,8 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $self) {
@@ -416,7 +417,8 @@ class CRM_Contact_Form_Search_Builder extends CRM_Contact_Form_Search {
   /**
    * CRM-9434 Hackish function to fetch fields with options.
    * FIXME: When our core fields contain reliable metadata this will be much simpler.
-   * @return array: (string => string) key: field_name value: api entity name
+   * @return array
+   *   (string => string) key: field_name value: api entity name
    * Note: options are fetched via ajax using the api "getoptions" method
    */
   public static function fieldOptions() {
index d56354eb142881cc76b43e454d9fcabeae198ebb..057b9254dadfebfa03e750b90ad88dbf8dd1dafd 100644 (file)
@@ -95,7 +95,8 @@ class CRM_Contact_Form_Search_Custom extends CRM_Contact_Form_Search {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index 88d0cfcf6b81a2d86321d790142b3cae96660cb7..16c9846d5eeb338c1972852a96bbbfe7ce91e3be 100644 (file)
@@ -530,7 +530,8 @@ FROM   {$this->_tableName} contact_a
 
   /**
    * @param int|array $limit
-   * @return string SQL
+   * @return string
+   *   SQL
    * @see CRM_Contact_Form_Search_Custom_FullText_AbstractPartialQuery::toLimit
    */
   public function toLimit($limit) {
index f4c5abcaa056215469adbef762e6c32a2320a623..128d6a3e3b7b46e7e42d7948afd6c82ed8b79f1c 100644 (file)
@@ -79,7 +79,8 @@ abstract class CRM_Contact_Form_Search_Custom_FullText_AbstractPartialQuery {
    *                   NULL if no limit; or array(0 => $limit, 1 => $offset)
    * @param array|NULL $detailLimit final limit (applied when building $detailTable)
    *                   NULL if no limit; or array(0 => $limit, 1 => $offset)
-   * @return array keys: match-descriptor
+   * @return array
+   *   keys: match-descriptor
    *   - count: int
    */
   public abstract function fillTempTable($queryText, $entityIDTableName, $detailTable, $queryLimit, $detailLimit);
@@ -127,7 +128,8 @@ AND        cf.html_type IN ( 'Text', 'TextArea', 'RichTextEditor' )
    *   - sql: an array of SQL queries to execute
    *   - final: an array of SQL queries to execute at the end
    *   - *: All other keys are treated as table names
-   * @return array keys: match-descriptor
+   * @return array
+   *   keys: match-descriptor
    *   - count: int
    *   - files: NULL | array
    */
@@ -239,7 +241,8 @@ GROUP BY {$tableValues['id']}
    *   Eg "civicrm_note" or "civicrm_note mynote".
    * @param array|string $fullTextFields list of field names
    * @param string $queryText
-   * @return string SQL, eg "MATCH (col1) AGAINST (queryText)" or "col1 LIKE '%queryText%'"
+   * @return string
+   *   SQL, eg "MATCH (col1) AGAINST (queryText)" or "col1 LIKE '%queryText%'"
    */
   public function matchText($table, $fullTextFields, $queryText) {
     $strtolower = function_exists('mb_strtolower') ? 'mb_strtolower' : 'strtolower';
@@ -327,7 +330,8 @@ GROUP BY {$tableValues['id']}
 
   /**
    * @param int|array $limit
-   * @return string SQL
+   * @return string
+   *   SQL
    * @see CRM_Contact_Form_Search_Custom_FullText::toLimit
    */
   public function toLimit($limit) {
@@ -346,7 +350,8 @@ GROUP BY {$tableValues['id']}
 
   /**
    * @param array|int $limit
-   * @return array (0 => $limit, 1 => $offset)
+   * @return array
+   *   (0 => $limit, 1 => $offset)
    */
   public function parseLimitOffset($limit) {
     if (is_scalar($limit)) {
index 53a8f1527d6f5cfeae0d55a86cbaf8eded181c05..b191a24265f367a4bedc88522c51af7d190a2710 100644 (file)
@@ -58,7 +58,8 @@ class CRM_Contact_Form_Search_Custom_FullText_Activity extends CRM_Contact_Form_
   /**
    * @param string $queryText
    * @param string $entityIDTableName
-   * @return array list tables/queries (for runQueries)
+   * @return array
+   *   list tables/queries (for runQueries)
    */
   public function prepareQueries($queryText, $entityIDTableName) {
     // Note: For available full-text indices, see CRM_Core_InnoDBIndexer
index 056e6a59c804785020a17ae750d9ba4f551a64ea..8237368b9053367738eaf57ba9e3e43e786f4596 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Contact_Form_Search_Custom_FullText_Case extends CRM_Contact_Form_Sear
   /**
    * @param string $queryText
    * @param string $entityIDTableName
-   * @return array list tables/queries (for runQueries)
+   * @return array
+   *   list tables/queries (for runQueries)
    */
   public function prepareQueries($queryText, $entityIDTableName) {
     // Note: For available full-text indices, see CRM_Core_InnoDBIndexer
index b94d6d83a6937cd5aee3335ca8b9750053a478d8..16cb1756620aef3dbb9176405ef283fbbd0d31bb 100644 (file)
@@ -58,7 +58,8 @@ class CRM_Contact_Form_Search_Custom_FullText_Contact extends CRM_Contact_Form_S
   /**
    * @param string $queryText
    * @param string $entityIDTableName
-   * @return array list tables/queries (for runQueries)
+   * @return array
+   *   list tables/queries (for runQueries)
    */
   public function prepareQueries($queryText, $entityIDTableName) {
     // Note: For available full-text indices, see CRM_Core_InnoDBIndexer
index 0f750e1ea688e35329db877f3d875cad052d989a..9f7bfdb2d551905a909b834c783a38242d8b496d 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Contact_Form_Search_Custom_FullText_Contribution extends CRM_Contact_F
    *
    * @param string $queryText
    * @param string $entityIDTableName
-   * @return array list tables/queries (for runQueries)
+   * @return array
+   *   list tables/queries (for runQueries)
    */
   public function prepareQueries($queryText, $entityIDTableName) {
     // Note: For available full-text indices, see CRM_Core_InnoDBIndexer
index c47cdba51410c49b2dfc9fcd287379672970e159..341df71ea4991b201f2db69558a8d34bdb18792d 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Contact_Form_Search_Custom_FullText_Membership extends CRM_Contact_For
    *
    * @param string $queryText
    * @param string $entityIDTableName
-   * @return array list tables/queries (for runQueries)
+   * @return array
+   *   list tables/queries (for runQueries)
    */
   public function prepareQueries($queryText, $entityIDTableName) {
     // Note: For available full-text indices, see CRM_Core_InnoDBIndexer
index b7104660769d872b561fa1e1972eb811d3cb4d63..ecc0d7297d41d09285d53ca832f6f2eb2e64208c 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Contact_Form_Search_Custom_FullText_Participant extends CRM_Contact_Fo
    *
    * @param string $queryText
    * @param string $entityIDTableName
-   * @return array list tables/queries (for runQueries)
+   * @return array
+   *   list tables/queries (for runQueries)
    */
   public function prepareQueries($queryText, $entityIDTableName) {
     // Note: For available full-text indices, see CRM_Core_InnoDBIndexer
index 636c88c6edb1c73a34715394e12299f1e8bcbf32..10852e63da22aa94f57a48a9792abca9f615c8bf 100644 (file)
@@ -152,7 +152,8 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
@@ -180,7 +181,8 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
    *
    * @param array $params
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($params) {
index c634632410868d1618de7d71a2f8d303fb9c3d93..beb116ce8f4ab23655db157c05fdc284b225948c 100644 (file)
@@ -69,7 +69,8 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 94fa4a677b69593c63d213e5f07fdf0bb508cacd..431cecb2701235cf0130bcb6eacb1b65c03e06dd 100644 (file)
@@ -94,7 +94,8 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array();
index 6cecd9a7b1985901e0b5fb708276501ca178916f..ff309d5b1803a1c38a533d48e28d3aaed2a91d21 100644 (file)
@@ -81,7 +81,8 @@ class CRM_Contact_Form_Task_LabelCommon {
    * @param bool $mergeSameHousehold
    *   UNUSED.
    *
-   * @return array of rows for labels
+   * @return array
+   *   of rows for labels
    */
 
   public static function getRows($contactIDs, $locationTypeID, $respectDoNotMail, $mergeSameAddress, $mergeSameHousehold) {
@@ -244,7 +245,8 @@ class CRM_Contact_Form_Task_LabelCommon {
 
   /**
    * Get array of return properties for address fields required for mailing label
-   * @return array return properites for address e.g
+   * @return array
+   *   return properites for address e.g
    * array (
    *  - [street_address] => 1,
    * -  [supplemental_address_1] => 1,
index 39cce26571bff69a9701e97bfb4be94571a1670d..fa2d6700118f806ad2b7018bea5667ae145e1725 100644 (file)
@@ -148,7 +148,8 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
    * @param $addBreadCrumb
    * @param string $type
    *
-   * @return string           the location of the file we have created
+   * @return string
+   *   the location of the file we have created
    */
   public static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') {
     $config = CRM_Core_Config::singleton();
index 571cf5faa9261ed9bce9e6c53575854d89379eb3..af224eeea4a7d2a85e090f0f4acf2caf8c84dca7 100644 (file)
@@ -139,7 +139,8 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 6cf4017a4a666a755796d9d04869fd54967f5f50..54313f2765d5e46e86996a3b50901df9ddf4dcb4 100644 (file)
@@ -140,7 +140,8 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
    *
    * @param CRM_Core_Form $form
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues($form) {
     $defaults       = array();
index 589f0a113b9f2c335f2e43df3dd0ff25229da4ec..c07fb53dc85fffea0d33d22f21a86beae905a31b 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index df202c8ac65bbd698a5495b01f261b23c5cd4714..3bec47f3b4aef20d38bb0f456f686889cea1fb98 100644 (file)
@@ -237,7 +237,8 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index 335e537d3531a2064913f0c2a39a41f97fc17450..3d9d87c9495d1043b94fdb4bd7c2ab6c399b4648 100644 (file)
@@ -623,7 +623,8 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 3046780685e4046aeecc1ec2b2866d293329dd6b..f8957025339dea243b38d4d78dd379ccfe2d9e39 100644 (file)
@@ -194,7 +194,8 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index d275d0eb9269fccc11dec67cf65bd95a205385d6..288ba58ccde3dd6b6cad0ce94c8f55ad9ad81221 100644 (file)
@@ -533,7 +533,8 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference ) associative array of name/value pairs
+   * @return array
+   *   (reference ) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index 453070cbd1328b0be7ee38f1a307f47f05875e8b..a0051d2f9e170104d197004cb8f109a3afaea90f 100644 (file)
@@ -262,7 +262,8 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function preview(&$values) {
     return $this->summary($values);
@@ -274,7 +275,8 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function summary(&$values) {
     $erroneousField = NULL;
@@ -447,7 +449,8 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
    *
    * @param bool $doGeocodeAddress
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function import($onDuplicate, &$values, $doGeocodeAddress = FALSE) {
     $config = CRM_Core_Config::singleton();
index 6b77d79f693b3d0fa89db8e6101d12c3f0c4763c..2acdf69d2dae312f50b1a47a9de35f548e4e645a 100644 (file)
@@ -41,7 +41,8 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Dedupe_BAO_RuleGroup';
@@ -50,7 +51,8 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
   }
@@ -331,7 +333,8 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string  classname of edit form
+   * @return string
+   *   classname of edit form
    */
   public function editForm() {
     return 'CRM_Contact_Form_DedupeFind';
@@ -340,7 +343,8 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string  name of this page
+   * @return string
+   *   name of this page
    */
   public function editName() {
     return 'DedupeFind';
@@ -351,7 +355,8 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string  user context
+   * @return string
+   *   user context
    */
   public function userContext($mode = NULL) {
     return 'civicrm/contact/dedupefind';
index 3359375c3aa1628d8272814756fc4730ff3f0ce1..73aabfa7e57e6c638919039aec527e8ec7001ed6 100644 (file)
@@ -45,7 +45,8 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Dedupe_BAO_RuleGroup';
@@ -54,7 +55,8 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -182,7 +184,8 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string  classname of edit form
+   * @return string
+   *   classname of edit form
    */
   public function editForm() {
     return 'CRM_Contact_Form_DedupeRules';
@@ -191,7 +194,8 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string  name of this page
+   * @return string
+   *   name of this page
    */
   public function editName() {
     return 'DedupeRules';
@@ -202,7 +206,8 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string  user context
+   * @return string
+   *   user context
    */
   public function userContext($mode = NULL) {
     return 'civicrm/contact/deduperules';
index 58d2a9efc68defcd3a9b3fd745dc3241ebc24a06..7776453909f516a59f423ad1e245dbb2fe8161e4 100644 (file)
@@ -149,7 +149,8 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   public static function &links() {
index 147baf3cb11bc90a83cc840c9f3970a510e05cb4..6aa5970c212eb2aae514a21c7e002c1e7139f2ef 100644 (file)
@@ -45,7 +45,8 @@ class CRM_Contact_Page_Task extends CRM_Core_Page {
   /**
    * Returns the page title
    *
-   * @return string the title of the page
+   * @return string
+   *   the title of the page
    */
   public function getTitle() {
     return "Task Results";
index 3e10088eaa59e0e5e27fc18ed894d572857a6e74..e66a6eafa9d511020bd9e857258480f3ca35e7ea 100644 (file)
@@ -257,7 +257,8 @@ class CRM_Contact_Page_View extends CRM_Core_Page {
    *
    * @param int $contactId
    *
-   * @return array contact fields in fixed order
+   * @return array
+   *   contact fields in fixed order
    */
   public static function getContactDetails($contactId) {
     return list($displayName,
index 91532a133a63eb72a853fba03440e6128212ae7e..83c2ef243b3105cdb92036d4ff8a1f4cbf03adf4 100644 (file)
@@ -248,7 +248,8 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   /**
    * Get action links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   public static function &links() {
@@ -288,7 +289,8 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   /**
    * Get action links for comments
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   public static function &commentLinks() {
index 8d68c415b8c97b4e4cf57cfe8f0e55df00b94f65..7633cdc77211ea4774ee7483e2ae907178ab852d 100644 (file)
@@ -271,7 +271,8 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page {
   /**
    * Get action links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   public static function &links() {
index 7c3db5361ba56ef2fecc7a1787d03d70c8a2e54c..98edf3b279cea3e0ccfee2bd7905ff8a0eba732f 100644 (file)
@@ -213,7 +213,8 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
   /**
    * Get action links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   static
index 57a4e304373be8461522ce9d79fbf528ec5b001d..4ccc9c8fc878a5b3dfc4e4ec2053cdd642fdd2e8 100644 (file)
@@ -330,7 +330,8 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     $headers = NULL;
@@ -481,7 +482,8 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     // Use count from cache during paging/sorting
@@ -509,7 +511,8 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $config = CRM_Core_Config::singleton();
@@ -1079,7 +1082,8 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont
    * @param array(
   reference)   $formValues   submitted formValues
    *
-   * @return array              $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -1094,7 +1098,8 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Contact Search');
@@ -1104,7 +1109,7 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont
    * Get colunmn headers for search selector
    *
    *
-   * @return array $_columnHeaders
+   * @return array
    */
   private static function &_getColumnHeaders() {
     if (!isset(self::$_columnHeaders)) {
index ac9fe00b980ff7e0763e75301608e35113fbdad3..90620c1e3c1734b99f7811b425a35b980998fc90 100644 (file)
@@ -37,7 +37,8 @@ class CRM_Contact_Selector_Controller extends CRM_Core_Selector_Controller {
    * Default function for qill, if needed to be implemented, we
    * expect the subclass to do it
    *
-   * @return string the status message
+   * @return string
+   *   the status message
    */
   /**
    * @return string
index 6d955299af431b02cc1e562b27ee079a8d2c5766..641ffa8decd1a166ae1022e0c7759b7a2b698823 100644 (file)
@@ -228,7 +228,8 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     $columns = $this->_search->columns();
@@ -258,7 +259,8 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_search->count();
@@ -278,7 +280,8 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
 
@@ -379,7 +382,8 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
    * @param array(
   reference)   $formValues   submitted formValues
    *
-   * @return array              $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
   public function getQILL() {
     return NULL;
@@ -398,7 +402,8 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Custom Search');
index f4d212a8e1f5ed91206524fe31edfaf522af67ac..7a3deca01356a053a657acee06e9e360d235fc11 100644 (file)
@@ -91,7 +91,8 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 6a9204ea0ba65370ec6dba2fa2284305135e0d96..4a7ac57eeadb9d120344793e8df595132ddb794f 100644 (file)
@@ -279,7 +279,8 @@ class CRM_Contact_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &taskTitles() {
@@ -316,7 +317,8 @@ class CRM_Contact_Task {
    * @param bool $deletedContacts
    *   Are these tasks for operating on deleted contacts?.
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission, $deletedContacts = FALSE) {
     self::initTasks();
@@ -357,7 +359,8 @@ class CRM_Contact_Task {
   /**
    * These tasks get added based on the context the user is in
    *
-   * @return array the set of optional tasks for a group of contacts
+   * @return array
+   *   the set of optional tasks for a group of contacts
    * @static
    */
   public static function &optionalTaskTitle() {
index 2b7b79d7beddacd99fac1743efd75777cfea7df1..f065901e59cac9b7ac8fa0d5b9daf7fb65f1b00c 100644 (file)
@@ -559,7 +559,8 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
    * @param string $contactType
    * @param bool $status
    *
-   * @return array array of importable Fields
+   * @return array
+   *   array of importable Fields
    * @static
    */
   public static function &importableFields($contactType = 'Individual', $status = TRUE) {
@@ -849,7 +850,8 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
    *
    * @param int $id
    *
-   * @return boolean true if duplicate, false otherwise
+   * @return boolean
+   *   true if duplicate, false otherwise
    * static
    */
   public static function checkDuplicate($input, &$duplicates, $id = NULL) {
@@ -919,7 +921,8 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = civicrm_contribution.conta
    * @param bool $addExtraFields
    *   True if special fields needs to be added.
    *
-   * @return array the list of contribution fields
+   * @return array
+   *   the list of contribution fields
    * @static
    */
   public static function getContributionFields($addExtraFields = TRUE) {
@@ -1154,7 +1157,8 @@ WHERE  civicrm_contribution.contact_id = civicrm_contact.id
    * @param array $params
    *   An assoc array of name/value pairs.
    *
-   * @return array contribution id if success else NULL
+   * @return array
+   *   contribution id if success else NULL
    * static
    */
   public static function checkDuplicateIds($params) {
@@ -1186,7 +1190,8 @@ WHERE  civicrm_contribution.contact_id = civicrm_contact.id
    * @param string $componentIds
    *   Component ids.
    *
-   * @return array associated array
+   * @return array
+   *   associated array
    *
    * @static
    */
@@ -1840,7 +1845,8 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
    * @param int $contributorId
    *   Contributor id.
    *
-   * @return array $ids containing organization id and individual id
+   * @return array
+   *   containing organization id and individual id
    */
   public static function getOnbehalfIds($contributionId, $contributorId = NULL) {
 
@@ -2137,7 +2143,8 @@ WHERE  contribution_id = %1 ";
    *   Distinguishes between whether to send message or return.
    *   message text. We are working towards this function ALWAYS returning message text & calling
    *   function doing emails / pdfs with it
-   * @return array $messageArray - messages
+   * @return array
+   *   messages
    */
   /**
    * @param $input
@@ -2279,7 +2286,7 @@ WHERE  contribution_id = %1 ";
    * @param array $ids
    *   The set of ids related to the inpurt.
    *
-   * @return array $values
+   * @return array
    *
    * NB don't add direct calls to the function as we intend to change the signature
    */
@@ -2628,7 +2635,8 @@ WHERE  contribution_id = %1 ";
    * @param int $contributionId
    *   Contribution id.
    *
-   * @return string $status contribution status
+   * @return string
+   *   contribution status
    * @static
    */
   public static function isSubscriptionCancelled($contributionId) {
index 9a4d6124bfbba9a369c3d60dad7cfc8d2c7655ef..79ba2272a07c05ed8a950625d361c9979cb590ed 100644 (file)
@@ -57,7 +57,8 @@ class CRM_Contribute_BAO_Contribution_Utils {
    *
    * @throws CRM_Core_Exception
    * @throws Exception
-   * @return array associated array
+   * @return array
+   *   associated array
    *
    * @static
    */
@@ -380,7 +381,8 @@ class CRM_Contribute_BAO_Contribution_Utils {
    * @param int $param
    *   Year.
    *
-   * @return array associated array
+   * @return array
+   *   associated array
    *
    * @static
    */
@@ -420,7 +422,8 @@ INNER JOIN   civicrm_contact AS contact ON ( contact.id = contrib.contact_id )
   /**
    * Get the contribution details by year
    *
-   * @return array associated array
+   * @return array
+   *   associated array
    *
    * @static
    */
@@ -893,7 +896,8 @@ LIMIT 1
    * @param float $taxRate
    *   Tax rate of selected financial account for field.
    *
-   * @return array array of tax amount
+   * @return array
+   *   array of tax amount
    *
    * @static
    *
index 8e00461b8fb644cbc07c6f9de088c65b07122ab4..389aafd036b0799473a2b742f82a7d882263c6e4 100644 (file)
@@ -72,7 +72,8 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on success, null otherwise
+   * @return Object
+   *   DAO object on success, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -717,7 +718,8 @@ WHERE entity_table = 'civicrm_contribution_page'
    * @param int $contributionPageId
    *   Contribution Page Id.
    *
-   * @return boolean true if payment processor supports recurring
+   * @return boolean
+   *   true if payment processor supports recurring
    * else false
    *
    * @static
@@ -742,7 +744,8 @@ WHERE entity_table = 'civicrm_contribution_page'
    * Get info for all sections enable/disable.
    *
    * @param array $contribPageIds
-   * @return array $info info regarding all sections.
+   * @return array
+   *   info regarding all sections.
    * @static
    */
   public static function getSectionInfo($contribPageIds = array()) {
@@ -913,7 +916,7 @@ LEFT JOIN  civicrm_premiums            ON ( civicrm_premiums.entity_id = civicrm
    *   Contribution Page Id.
    * @param int $userID
    *   Contact id for contributor.
-   * @return array $pdfHtml
+   * @return array
    */
   public static function addInvoicePdfToEmail($contributionId, $userID) {
     $contributionID = array($contributionId);
@@ -931,7 +934,8 @@ LEFT JOIN  civicrm_premiums            ON ( civicrm_premiums.entity_id = civicrm
    * Helper to determine if the page supports separate membership payments
    * @param int id form id
    *
-   * @return bool isSeparateMembershipPayment
+   * @return bool
+   *   isSeparateMembershipPayment
    */
   public static function getIsMembershipPayment($id) {
     $membershipBlocks = civicrm_api3('membership_block', 'get', array('entity_table' => 'civicrm_contribution_page', 'entity_id' => $id, 'sequential' => TRUE));
index 5b57460bdef6348893ea8e0335633010163d5bdc..6b639372c7fd4f513032853fa6bd14722ec292af 100644 (file)
@@ -40,7 +40,8 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object activity contact object
+   * @return object
+   *   activity contact object
    *
    */
   public static function create(&$params) {
@@ -112,7 +113,8 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi
    * @param array $duplicates
    *   (reference ) store ids of duplicate contribs.
    *
-   * @return boolean true if duplicate, false otherwise
+   * @return boolean
+   *   true if duplicate, false otherwise
    * static
    */
   public static function checkDuplicate($params, &$duplicates) {
@@ -182,7 +184,8 @@ SELECT r.payment_processor_id
    * @param array $ids
    *   (reference ) an array of recurring contribution ids.
    *
-   * @return array $totalCount an array of recurring ids count
+   * @return array
+   *   an array of recurring ids count
    * static
    */
   public static function getCount(&$ids) {
@@ -329,7 +332,8 @@ SELECT r.payment_processor_id
    * @param int $contactId
    *   Contact ID.
    *
-   * @return array list of recurring contribution fields
+   * @return array
+   *   list of recurring contribution fields
    *
    * @static
    */
index f4a9ec69c32d8501f919195259f6f6b9d0d93687..62451a534387a922ed55b2a88be15d1e0d74ffcb 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object soft contribution of object that is added
+   * @return object
+   *   soft contribution of object that is added
    *
    */
   public static function add(&$params) {
@@ -148,7 +149,8 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    * @param bool $all
    *   Include PCP data.
    *
-   * @return array of soft contribution ids, amounts, and associated contact ids
+   * @return array
+   *   of soft contribution ids, amounts, and associated contact ids
    * @static
    */
   public static function getSoftContribution($contributionID, $all = FALSE) {
index 1c567fc505eea9fde3af51302d4897af35166464..b8b3334a56158a352519ada359669e9aec13afe9 100644 (file)
@@ -76,7 +76,8 @@ class CRM_Contribute_BAO_ManagePremiums extends CRM_Contribute_DAO_Product {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index 5839377d7c0c97597bb80bef3eff828105737523..35e9f3a4b99c4f4b1a049bb0acc0fe7a32dadef1 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -247,7 +248,8 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
   /**
    * Retrieve premium product and their options
    *
-   * @return array product and option arrays
+   * @return array
+   *   product and option arrays
    * @static
    */
   public static function getPremiumProductInfo() {
index c90cffea900f4e331551e3821a038a9bbc6cb65f..4c8e4c9671d173729fdade64f0b611b41c47b0ed 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Contribute_BAO_Query {
   /**
    * Function get the import/export fields for contribution
    *
-   * @return array self::$_contributionFields  associative array of contribution fields
+   * @return array
+   *   self::$_contributionFields  associative array of contribution fields
    * @static
    */
   public static function &getFields() {
index 2ec1e6919819754e6d08daa5b4eede40f54a982d..d57f8819961c94e9c803fe0b38d4206ee5020b5f 100644 (file)
@@ -370,7 +370,8 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
   }
 
   /**
-   * @return array of valid processors. The array resembles the DB table but also has 'object' as a key
+   * @return array
+   *   of valid processors. The array resembles the DB table but also has 'object' as a key
    * @throws Exception
    */
   public function getValidProcessors() {
index 43b7d059f9493d1bd1a83ea890cf5c3bb9de555e..3c955e53cb832e80c1f9bd7a2ac136f462f6ef3d 100644 (file)
@@ -153,7 +153,8 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index bea89c7fe50461e5db035525be47afcec079d9d0..c627af535ab1ab656ed17258f0948bafd753faaa 100644 (file)
@@ -188,7 +188,8 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array('is_notify' => 1);
index cbb26bb62d9a438c42ce2849983e20629376c23a..20d768532e51ed3799c8f63f14dd57f9e23b4a36 100644 (file)
@@ -236,7 +236,8 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
    * the default values are retrieved from the database
    *
    *
-   * @return array defaults
+   * @return array
+   *   defaults
    */
   public function setDefaultValues() {
     //some child classes calling setdefaults directly w/o preprocess.
index d3d437a5bb5581a497a982ff732ed2bc11638ce5..699ccfc56d261dceccbed6f669ff5df5283a834f 100644 (file)
@@ -219,7 +219,8 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $self) {
index 666c37582b2494eed49a3fad7ab235f7ff77aca6..7d6b6f85ef8ac1e50ca19dba6768b49384071873 100644 (file)
@@ -198,7 +198,8 @@ class CRM_Contribute_Form_SoftCredit {
    * @param $errors
    * @param $self
    *
-   * @return array of errors
+   * @return array
+   *   of errors
    * @static
    */
   public static function formRule($fields, $errors, $self) {
index 868d333abca58d32bb36dd4fb548352c4e5a908a..b4fe5fd07667484b8f6fbc343d8060217644dd7f 100644 (file)
@@ -210,7 +210,8 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
    *
    * @param array $values
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values) {
index af5d4a2aa39ca0d7ff1792847468c6f553bc4c9c..08dd4aafc5d03fd2705b70f29aee31909960783c 100644 (file)
@@ -244,7 +244,8 @@ AND    {$this->_componentClause}";
    * @param array $contactIds
    *   Contact Id.
    *
-   * @return array array of common elements
+   * @return array
+   *   array of common elements
    *
    * @static
    */
index 7f8d3bae4ef9bdd7547d1a96898e0afabe35daeb..3a722e2a2c70fdcb1cd01a843d1379e7b71c448b 100644 (file)
@@ -83,7 +83,8 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index 99b6c5f92b739a2705673d6c54d36ffd06b24384..23799c2382c1643c2f00de073d0b8956cfbb7448 100644 (file)
@@ -215,7 +215,8 @@ class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDF
    * @param string $task
    * @param string $separator
    *
-   * @return array:
+   * @return array
+   *
    */
   public static function buildContributionArray($groupBy, $form, $returnProperties, $skipOnHold, $skipDeceased, $messageToken, $task, $separator) {
     $contributions = $contacts = $notSent = array();
index 10de37179037893981ae6472c3ed2a69bbe68f3a..2f895163dd2c685ff545d0b7618b3d3a1b3411b3 100644 (file)
@@ -124,7 +124,8 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index ee4321dc0ef3dd45f11845c3165cf09214a19233..86b42506f60f0edffffbe69404fe7577dca58752 100644 (file)
@@ -185,7 +185,8 @@ AND    co.id IN ( $contribIDs )";
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 83b5244c5481a7757b313de12f5a5264a0c846ca..a856a81d6a834dabd95900b5663dc9822171ad6c 100644 (file)
@@ -135,7 +135,8 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index 53457aa84cd7df38d0c60a48ee2cdb5a0d0bfcf0..f9d84d3a4a767a31be69ba84174a4ba9075054fa 100644 (file)
@@ -343,7 +343,8 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index 0aa448c89a02e49ae0f734e41c0b1793d0b057c0..c886e59b4d8a2f20c960b604263a5ca267d04d2a 100644 (file)
@@ -440,7 +440,8 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference ) associative array of name/value pairs
+   * @return array
+   *   (reference ) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index c3fa579c948621f1fae650b7ab312d3dfeddc02f..cd0d075c47889cb6f079022a4642b25d3873d607 100644 (file)
@@ -152,7 +152,8 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function preview(&$values) {
     return $this->summary($values);
@@ -164,7 +165,8 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function summary(&$values) {
     $erroneousField = NULL;
@@ -242,7 +244,8 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function import($onDuplicate, &$values) {
     // first make sure this is a valid line
index caa1eeb256b107162b9f600ecabf759d197a92fc..18b9c2f6b3ee6d9cf52b1f0497767f07f0d50c63 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info {
    * Needs to be implemented in component's information
    * class.
    *
-   * @return array collection of required component settings
+   * @return array
+   *   collection of required component settings
    *
    */
   /**
@@ -93,7 +94,8 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info {
   /**
    * Provides permissions that are unwise for Anonymous Roles to have
    *
-   * @return array list of permissions
+   * @return array
+   *   list of permissions
    * @see CRM_Component_Info::getPermissions
    */
   /**
index 698cf559b1c95523ae91e591593622eade140615..a3d0f3d3e09d52074746bbf8221278568ddf03f1 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Contribute_BAO_ManagePremiums';
@@ -60,7 +61,8 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -181,7 +183,8 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Contribute_Form_ManagePremiums';
@@ -190,7 +193,8 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Manage Premiums';
@@ -201,7 +205,8 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/contribute/managePremiums';
index 95cec3c57ea169a6c5f2d96d66d8a3cb0acd9977..288284ac2706fdfd4f332c9068d088649568fc24 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Contribute_Page_PaymentInfo extends CRM_Core_Page {
    * pages. This typically involves assigning the appropriate
    * smarty variable :)
    *
-   * @return string The content generated by running this page
+   * @return string
+   *   The content generated by running this page
    */
   /**
    * @return string
index ef361e6eefd9723b76956fef121ff9848b648a15..e295cbc7f44cba0df116ffeeebcb8470ff91d4ad 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Contribute_BAO_Premium';
@@ -58,7 +59,8 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -197,7 +199,8 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Contribute_Form_ContributionPage_Premium';
@@ -206,7 +209,8 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Configure Premiums';
@@ -217,7 +221,8 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return CRM_Utils_System::currentPath();
index 70b54ac57b72aeed38755e0b12342df57e7ddfad..8128236b90205eb6db5e0d746dc7eceefb7d595f 100644 (file)
@@ -120,7 +120,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param int $id
    *
-   * @return array - array reference of all financial types if any
+   * @return array
+   *   array reference of all financial types if any
    * @static
    */
   public static function &financialType($id = NULL) {
@@ -154,7 +155,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param string $retrieveColumn
    * @param string $key
    *
-   * @return array - array reference of all financial accounts if any
+   * @return array
+   *   array reference of all financial accounts if any
    * @static
    */
   public static function &financialAccount($id = NULL, $financialAccountTypeId = NULL, $retrieveColumn = 'name', $key = 'id') {
@@ -208,7 +210,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *   Do we want all pages or only active pages.
    *
    *
-   * @return array - array reference of all contribution pages if any
+   * @return array
+   *   array reference of all contribution pages if any
    * @static
    */
   public static function &contributionPage($id = NULL, $all = FALSE) {
@@ -240,7 +243,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param string $columnName
    *
-   * @return array - array reference of all payment instruments if any
+   * @return array
+   *   array reference of all payment instruments if any
    * @static
    */
   public static function &paymentInstrument($columnName = 'label') {
@@ -257,7 +261,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * Get all the valid accepted credit cards
    *
    *
-   * @return array - array reference of all payment instruments if any
+   * @return array
+   *   array reference of all payment instruments if any
    * @static
    */
   public static function &creditCard() {
@@ -269,7 +274,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    *
    * @param int $pageID
-   * @return array - array of all Premiums if any
+   * @return array
+   *   array of all Premiums if any
    * @static
    */
   public static function products($pageID = NULL) {
@@ -317,7 +323,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param int $id
    * @param string $columnName
-   * @return array - array reference of all contribution statuses
+   * @return array
+   *   array reference of all contribution statuses
    * @static
    */
   public static function &contributionStatus($id = NULL, $columnName = 'label') {
@@ -342,7 +349,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param null $pageType
    * @param int $id
    *
-   * @return array - array reference of all pcp if any
+   * @return array
+   *   array reference of all pcp if any
    * @static
    */
   public static function &pcPage($pageType = NULL, $id = NULL) {
@@ -374,7 +382,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * @static
    *
    * @param string $column
-   * @return array - array reference of all PCP activity statuses
+   * @return array
+   *   array reference of all PCP activity statuses
    */
   public static function &pcpStatus($column = 'label') {
     if (NULL === self::$pcpStatus) {
@@ -399,7 +408,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param int $financialTypeId
    * @param int $relationTypeId
-   * @return array - array reference of all financial accounts for a Financial type
+   * @return array
+   *   array reference of all financial accounts for a Financial type
    */
   public static function financialAccountType($financialTypeId, $relationTypeId = NULL) {
     if (!CRM_Utils_Array::value($financialTypeId, self::$financialTypeAccount)) {
@@ -428,7 +438,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    *
    * @param int $id
-   * @return array - array reference of all batches if any
+   * @return array
+   *   array reference of all batches if any
    * @static
    */
   public static function &batch($id = NULL) {
index 4018246014c8a732c158b70b028ad752f40a8aac..8a3f10c72fa3aaccba77f2dd3b025535d46509c7 100644 (file)
@@ -286,7 +286,8 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -311,7 +312,8 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     if ($this->_includeSoftCredits) {
@@ -426,7 +428,8 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * @return array   $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -444,7 +447,8 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     self::$_columnHeaders = array(
@@ -561,7 +565,8 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Contribution Search');
index 4fda2d74b04cc8dd9ef7cc4fda09e85cb55e56d7..6bfc9afd79db3bda83e545ba758316624362b3b0 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 663977f547e4678bd6951af7bb082c9e41a3dac4..1a707c61b009effa7156522b2e3c9a69c7ad54c9 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Contribute_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -146,7 +147,8 @@ class CRM_Contribute_Task {
    * These tasks are the core set of task titles
    * on contributors
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -166,7 +168,8 @@ class CRM_Contribute_Task {
    *
    * @param bool $softCreditFiltering
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission, $softCreditFiltering = FALSE) {
     $tasks = array();
@@ -199,7 +202,8 @@ class CRM_Contribute_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of contributors
+   * @return array
+   *   the set of tasks for a group of contributors
    * @static
    */
   public static function getTask($value) {
index 068744b2a83fa1bd826a4bd2d783258ccd733895..8e39a3f5237e38fc31682303d9db4da4beeaa983 100644 (file)
@@ -114,7 +114,8 @@ class CRM_Core_Action {
    * @param string $str
    *   The action to be resolved.
    *
-   * @return int the action mask corresponding to the input string
+   * @return int
+   *   the action mask corresponding to the input string
    * @static
    */
   public static function resolve($str) {
@@ -133,7 +134,8 @@ class CRM_Core_Action {
    * @param mixed $item
    *   Either a single string or an array of strings.
    *
-   * @return int the action mask corresponding to the input args
+   * @return int
+   *   the action mask corresponding to the input args
    * @static
    *
    */
@@ -157,7 +159,8 @@ class CRM_Core_Action {
    * @param string $item
    *   The input action to process.
    *
-   * @return int the action mask corresponding to the input string
+   * @return int
+   *   the action mask corresponding to the input string
    * @static
    *
    */
@@ -173,7 +176,8 @@ class CRM_Core_Action {
    * @param int $mask
    *   The action mask.
    *
-   * @return string the corresponding action description
+   * @return string
+   *   the corresponding action description
    * @static
    *
    */
@@ -204,7 +208,8 @@ class CRM_Core_Action {
    * @param null $objectName
    * @param int $objectId
    *
-   * @return string       the html string
+   * @return string
+   *   the html string
    * @static
    */
   static function formLink(
@@ -315,7 +320,8 @@ class CRM_Core_Action {
    * @param array $values
    *   The array of values for parameter substitution in the str.
    *
-   * @return string        the substituted string
+   * @return string
+   *   the substituted string
    * @static
    */
   public static function &replace(&$str, &$values) {
@@ -330,7 +336,8 @@ class CRM_Core_Action {
    *
    * @param string the permission
    *
-   * @return int   the mask for the above permission
+   * @return int
+   *   the mask for the above permission
    * @static
    */
   public static function mask($permissions) {
index 0f878431bd3df021b4ad824dbfb9877847673c93..2b697c8071851f4c431500f60d824858f7309254 100644 (file)
@@ -89,7 +89,8 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
    * @param bool $id
    *   Mapping id.
    *
-   * @return array  associated array of all the drop downs in the form
+   * @return array
+   *   associated array of all the drop downs in the form
    * @static
    */
   public static function getSelection($id = NULL) {
@@ -322,7 +323,8 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
    * @param null $entityValue
    * @param int $id
    *
-   * @return array  (reference)   reminder list
+   * @return array
+   *   (reference)   reminder list
    * @static
    */
   public static function &getList($namesOnly = FALSE, $entityValue = NULL, $id = NULL) {
@@ -657,7 +659,8 @@ AND   cas.entity_value = $id AND
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on success, null otherwise
+   * @return Object
+   *   DAO object on success, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index 7395289bc4806a3cdb0cb1905c66ee4cf5086977..ec898336edc92776fd937602e0ca24b2948f692e 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
    *
    * @param null $entity
    *
-   * @return array $blocks array of created address
+   * @return array
+   *   array of created address
    * @static
    */
   public static function create(&$params, $fixAddress = TRUE, $entity = NULL) {
@@ -141,7 +142,8 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
    *   True if you need to fix (format) address values.
    *                               before inserting in db
    *
-   * @return object       CRM_Core_BAO_Address object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_Address object on success, null otherwise
    * @static
    */
   public static function add(&$params, $fixAddress) {
@@ -463,7 +465,8 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
    *   If microformat output is required.
    * @param int|string $fieldName conditional field name
    *
-   * @return array  $addresses     array with address fields
+   * @return array
+   *   array with address fields
    * @static
    */
   public static function &getValues($entityBlock, $microformat = FALSE, $fieldName = 'contact_id') {
@@ -589,7 +592,8 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address {
    *
    * @param bool $updateBlankLocInfo
    *
-   * @return array  the array of adrress data
+   * @return array
+   *   the array of adrress data
    * @static
    */
   public static function allAddress($id, $updateBlankLocInfo = FALSE) {
@@ -625,7 +629,8 @@ ORDER BY civicrm_address.is_primary DESC, address_id ASC";
    *   The array containing entity_id and.
    * entity_table name
    *
-   * @return array  the array of adrress data
+   * @return array
+   *   the array of adrress data
    * @static
    */
   public static function allEntityAddress(&$entityElements) {
@@ -659,7 +664,8 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
   /**
    * Get address sequence
    *
-   * @return array of address sequence.
+   * @return array
+   *   of address sequence.
    */
   public static function addressSequence() {
     $config = CRM_Core_Config::singleton();
@@ -702,7 +708,8 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
    * @param string Street address including number and apt
    * @param string Locale - to set locale used to parse address
    *
-   * @return array    $parseFields    parsed fields values.
+   * @return array
+   *   parsed fields values.
    * @static
    */
   public static function parseStreetAddress($streetAddress, $locale = NULL) {
@@ -837,7 +844,8 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
    * @param array $fields
    *   An array of importable/exportable contact fields.
    *
-   * @return array   $fields an array of contact fields and only the enabled address options
+   * @return array
+   *   an array of contact fields and only the enabled address options
    * @static
    */
   public static function validateAddressOptions($fields) {
@@ -1131,7 +1139,7 @@ SELECT is_primary,
    * @param bool $returnStatus
    *   By default false.
    *
-   * @return string $statusMessage
+   * @return string
    * @static
    */
   public static function setSharedAddressDeleteStatus($addressId = NULL, $contactId = NULL, $returnStatus = FALSE) {
index a0ec8c8086f2d140f2f1c5d064321db5428d42e9..6fc42383e79881869c8a44e0a3d73d050e47d4e2 100644 (file)
@@ -56,7 +56,8 @@ class CRM_Core_BAO_Block {
    * @param array $params
    *   Input parameters to find object.
    *
-   * @return array of $block objects.
+   * @return array
+   *   of $block objects.
    * @static
    */
   public static function &getValues($blockName, $params) {
@@ -102,7 +103,8 @@ class CRM_Core_BAO_Block {
    * @param string $blockName
    *   Name of the above object.
    *
-   * @return array of $block objects.
+   * @return array
+   *   of $block objects.
    * @static
    */
   public static function retrieveBlock(&$block, $blockName) {
@@ -133,7 +135,8 @@ class CRM_Core_BAO_Block {
    * @param array $params
    *   Associated array of submitted fields.
    *
-   * @return boolean              true if the block has data, otherwise false
+   * @return boolean
+   *   true if the block has data, otherwise false
    * @static
    */
   public static function dataExists($blockFields, &$params) {
@@ -153,7 +156,8 @@ class CRM_Core_BAO_Block {
    * @param array $params
    *   Associated array of submitted fields.
    *
-   * @return boolean             true if the block exits, otherwise false
+   * @return boolean
+   *   true if the block exits, otherwise false
    * @static
    */
   public static function blockExists($blockName, &$params) {
@@ -176,7 +180,8 @@ class CRM_Core_BAO_Block {
    * @param null $entityElements
    * @param bool $updateBlankLocInfo
    *
-   * @return array $contactBlockIds formatted array of block ids
+   * @return array
+   *   formatted array of block ids
    *
    * @static
    */
@@ -219,7 +224,8 @@ class CRM_Core_BAO_Block {
    * @param null $entity
    * @param int $contactId
    *
-   * @return object       CRM_Core_BAO_Block object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_Block object on success, null otherwise
    * @static
    */
   public static function create($blockName, &$params, $entity = NULL, $contactId = NULL) {
index a359d183d6673e9ef48d29fb9eda58dbc67c4d5d..6339f9f12f39e73312933868c2ae98a770ab9790 100644 (file)
@@ -228,7 +228,8 @@ class CRM_Core_BAO_CMSUser {
    * @param string $mail
    *   Email id for cms user.
    *
-   * @return int contact id that has been created
+   * @return int
+   *   contact id that has been created
    * @static
    */
   public static function create(&$params, $mail) {
index 195d09e20695dd4fda0016fd22be01fc7c422510..31691b1151c5869edef676a749d9c319a86781ca 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
    * @param int $componentID
    *   The optional component ID (so componenets can share the same name space).
    *
-   * @return object The data if present in cache, else null
+   * @return object
+   *   The data if present in cache, else null
    * @static
    */
   public static function &getItem($group, $path, $componentID = NULL) {
@@ -100,7 +101,8 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
    * @param int $componentID
    *   The optional component ID (so componenets can share the same name space).
    *
-   * @return object The data if present in cache, else null
+   * @return object
+   *   The data if present in cache, else null
    * @static
    */
   public static function &getItems($group, $componentID = NULL) {
index 2de616d0ee010c3e3886121ce21f4835609e7619..fae2fdf2bc53092b38b5ecf51e2b1ec4c964fe58 100644 (file)
@@ -205,7 +205,7 @@ class CRM_Core_BAO_ConfigSetting {
    *
    * @param $defaults
    *
-   * @return array $defaults
+   * @return array
    * @static
    */
   public static function retrieve(&$defaults) {
@@ -484,7 +484,8 @@ class CRM_Core_BAO_ConfigSetting {
 
   /**
    * Return likely default settings
-   * @return array site settings
+   * @return array
+   *   site settings
    *  -$url,
    * - $dir Base Directory
    * - $siteName
@@ -660,7 +661,8 @@ WHERE  option_group_id = (
    * @param string $componentName
    *   Name of the component to be enabled, needs to be valid.
    *
-   * @return boolean - true if valid component name and enabling succeeds, else false
+   * @return boolean
+   *   true if valid component name and enabling succeeds, else false
    * @static
    */
   public static function enableComponent($componentName) {
index 3878dc967778708968f6ef0f72ed2934914ac62c..c5e7b84ba3b935f46ffcb70eaea118ca51d6967b 100644 (file)
@@ -68,7 +68,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    *
    * @param NULL
    *
-   * @return array        Data type => Description
+   * @return array
+   *   Data type => Description
    * @static
    */
   public static function &dataType() {
@@ -341,7 +342,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object            DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
@@ -360,7 +362,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param int $id
    *   Id of field.
    *
-   * @return string name
+   * @return string
+   *   name
    *
    * @static
    *
@@ -389,7 +392,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param bool $checkPermission
    *   If false, do not include permissioning clause.
    *
-   * @return array      $fields - an array of active custom fields.
+   * @return array
+   *   an array of active custom fields.
    *
    * @static
    */
@@ -612,7 +616,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    *
    * @param bool $withMultiple
    *
-   * @return array   $fields -
+   * @return array
+   *
    *
    * @static
    */
@@ -1130,7 +1135,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param int $contactID
    * @param int $fieldID
    *
-   * @return string   the display value
+   * @return string
+   *   the display value
    *
    * @static
    */
@@ -1587,7 +1593,8 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
    * @param bool $includeViewOnly
    *   If true, fields marked 'View Only' are included. Required for APIv3.
    *
-   * @return array $customFormatted formatted custom field array
+   * @return array
+   *   formatted custom field array
    * @static
    */
   static function formatCustomField(
@@ -2068,7 +2075,8 @@ WHERE  id IN ( %1, %2 )
    * @param bool $force
    *   Force the sql to be run again (primarily used for tests).
    *
-   * @return array           - fatal is fieldID does not exists, else array of tableName, columnName
+   * @return array
+   *   fatal is fieldID does not exists, else array of tableName, columnName
    * @static
    */
   public static function getTableColumnGroup($fieldID, $force = FALSE) {
@@ -2412,7 +2420,8 @@ WHERE      f.id IN ($ids)";
    *   Custom data submitted.
    * ie array( 'custom_1' => 'validate me' );
    *
-   * @return array $errors validation errors.
+   * @return array
+   *   validation errors.
    * @static
    */
   public static function validateCustomData($params) {
index 95c7c459153038d86dbc137b924ddba8913273b2..6d8b8e71bb9d135d1a1bbe2397d0e3cb36c04435 100644 (file)
@@ -246,7 +246,8 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
    * @param bool $is_activeValue we want to set the is_active field.
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -290,7 +291,8 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
    *
    * @param int $activityTypeId
    *
-   * @return bool TRUE if a group is found or created; FALSE on error
+   * @return bool
+   *   TRUE if a group is found or created; FALSE on error
    */
   public static function autoCreateByActivityType($activityTypeId) {
     if (self::hasCustomGroup('Activity', NULL, $activityTypeId)) {
@@ -327,7 +329,8 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
    * @param bool $fromCache
    * @param bool $onlySubType
    *
-   * @return array $groupTree  - array  The returned array is keyed by group id and has the custom group table fields
+   * @return array
+   *   array  The returned array is keyed by group id and has the custom group table fields
    * and a subkey 'fields' holding the specific custom fields.
    * If entityId is passed in the fields keys have a subkey 'customValue' which holds custom data
    * if set for the given entity. This is structured as an array of values with each one having the keys 'id', 'data'
@@ -653,7 +656,8 @@ ORDER BY civicrm_custom_group.weight,
    *
    * @param bool $getCount
    *
-   * @return boolean does this entity have data in this custom table
+   * @return boolean
+   *   does this entity have data in this custom table
    */
   static public function customGroupDataExistsForEntity($entityID, $table, $getCount = FALSE) {
     $query = "
@@ -874,7 +878,8 @@ ORDER BY civicrm_custom_group.weight,
    * @param int $id
    *   Id of group.
    *
-   * @return string title
+   * @return string
+   *   title
    *
    * @static
    *
@@ -897,7 +902,8 @@ ORDER BY civicrm_custom_group.weight,
    *
    * @param null $inSelector
    *
-   * @return array $groupTree - array consisting of all group and field details
+   * @return array
+   *   array consisting of all group and field details
    *
    *
    * @static
@@ -1097,7 +1103,7 @@ ORDER BY civicrm_custom_group.weight,
    * @param string $entityType
    *   What entity are we extending here ?.
    *
-   * @return string $tableName
+   * @return string
    *
    * @static
    *
@@ -1246,7 +1252,8 @@ ORDER BY civicrm_custom_group.weight,
    * @param bool $force
    *   whether to force the deletion, even if there are custom fields.
    *
-   * @return boolean   false if field exists for this group, true if group gets deleted.
+   * @return boolean
+   *   false if field exists for this group, true if group gets deleted.
    *
    * @static
    *
@@ -1703,7 +1710,8 @@ ORDER BY civicrm_custom_group.weight,
    *   Remove custom fields of a type eg: array("Individual") ;.
    *
    *
-   * @return boolean false if it matches else true
+   * @return boolean
+   *   false if it matches else true
    * @static
    */
   public static function checkCustomField($customFieldId, &$removeCustomFieldTypes) {
@@ -1814,7 +1822,7 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1,
    *   Group count by default 1, but can varry for multiple value custom data.
    * @param object form object
    *
-   * @return array $formattedGroupTree
+   * @return array
    */
   public static function formatGroupTree(&$groupTree, $groupCount = 1, &$form) {
     $formattedGroupTree = array();
@@ -2213,7 +2221,8 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1,
    * @param array $fieldIds
    *   Array of custom field ids.
    *
-   * @return array $groupLabels - array consisting of groups and fields labels with ids.
+   * @return array
+   *   array consisting of groups and fields labels with ids.
    */
   public static function getGroupTitles($fieldIds) {
     if (!is_array($fieldIds) && empty($fieldIds)) {
@@ -2259,7 +2268,8 @@ SELECT  civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT
    * @param int $gID
    *   Custom group id.
    *
-   * @return boolean true if empty otherwise false.
+   * @return boolean
+   *   true if empty otherwise false.
    */
   public static function isGroupEmpty($gID) {
     if (!$gID) {
@@ -2287,7 +2297,8 @@ SELECT  civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT
    * @param array $types
    *   Var which should have the list appended.
    *
-   * @return array of types.
+   * @return array
+   *   of types.
    */
   public static function getExtendedObjectTypes(&$types = array()) {
     static $flag = FALSE, $objTypes = array();
index 5bb4b39c1dd66c54d9358c3ca1534592d3544d59..7eb2998c563f536ebbfb86aba6f10c31f65e0973 100644 (file)
@@ -68,7 +68,8 @@ class CRM_Core_BAO_CustomOption {
    * @param bool $inactiveNeededDo we need inactive options ?.
    *   Do we need inactive options ?.
    *
-   * @return array $customOption all active options for fieldId
+   * @return array
+   *   all active options for fieldId
    * @static
    */
   static function getCustomOption(
@@ -119,7 +120,8 @@ class CRM_Core_BAO_CustomOption {
    * @param string $dataType
    *   the data type of the field (optional).
    *
-   * @return string          the label to display for this custom field
+   * @return string
+   *   the label to display for this custom field
    * @static
    */
   public static function getOptionLabel($fieldId, $value, $htmlType = NULL, $dataType = NULL) {
index f67e71ac35f67398ddbd4824612f26ccdb38236c..e212a0a3acc080fc2529ee0126c5ad22e3a2c034 100644 (file)
@@ -558,7 +558,8 @@ SELECT label, value
    *
    * @param NULL
    *
-   * @return array   array of strings
+   * @return array
+   *   array of strings
    */
   public function query() {
     $this->select();
index 8d7561f39a7f4e6832ea8e0285ad060c06a3c02f..d11d107200571e55cd05bfecd206a93eca92a711 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Core_BAO_CustomValue extends CRM_Core_DAO {
    * @param string $value
    *   The data to be validated.
    *
-   * @return boolean True if the value is of the specified type
+   * @return boolean
+   *   True if the value is of the specified type
    * @static
    */
   public static function typecheck($type, $value) {
index 4ee8074298690843a94168dda94f99e3046bcb06..55e93630a58e6a33dee7c1912a9ac436441c07a2 100644 (file)
@@ -389,7 +389,8 @@ class CRM_Core_BAO_CustomValueTable {
    *
    * @param bool $formatMultiRecordField
    *
-   * @return array      $fields        Array of custom values for the entity with key=>value
+   * @return array
+   *   Array of custom values for the entity with key=>value
    *                                   pairs specified as civicrm_custom_field.id => custom value.
    *                                   Empty array if no custom values found.
    * @static
index 7df895acbcafe4e0dbef18536e75aea3f05302ce..d725b8c3e1be0a8431d92f44292a6b4eadb40419 100644 (file)
@@ -63,7 +63,8 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
    * @param bool $checkPermission
    *   All or only authorized for the current user.
    *
-   * @return array $widgets  array of dashlets
+   * @return array
+   *   array of dashlets
    * @static
    */
   public static function getDashlets($all = TRUE, $checkPermission = TRUE) {
@@ -104,7 +105,8 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
    *   Provide the dashlets for the contact id.
    * passed rather than the current user.
    *
-   * @return array $dashlets array of dashlets
+   * @return array
+   *   array of dashlets
    * @static
    */
   public static function getContactDashlets($flatFormat = FALSE, $contactID = NULL) {
@@ -153,7 +155,8 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
    * When a user accesses their dashboard for the first time, set up
    * the default dashlets.
    *
-   * @return array of dashboard_id's
+   * @return array
+   *   of dashboard_id's
    */
   public static function initializeDashlets() {
     $dashlets = array();
@@ -194,7 +197,8 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
    *   Comma separated list.
    * @param string $operator
    *
-   * @return boolean true if use has permission else false
+   * @return boolean
+   *   true if use has permission else false
    */
   public static function checkPermission($permission, $operator) {
     if ($permission) {
@@ -268,7 +272,8 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
    * @param int $dashletID
    *   Widget ID.
    *
-   * @return array associted array title and content
+   * @return array
+   *   associted array title and content
    * @static
    */
   public static function getDashletInfo($dashletID) {
@@ -406,7 +411,8 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
    * @param array $params
    *   Associated array.
    *
-   * @return object $dashlet returns dashlet object
+   * @return object
+   *   $dashlet returns dashlet object
    * @static
    */
   public static function addDashlet(&$params) {
index c474aa5107a0d2cd68e0a60083387a9c8ae43c77..c4c7b03b00585f42d2e85048deeff5cff247eb14 100644 (file)
@@ -70,7 +70,8 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
    *
-   * @return object    CRM_Core_DAO_Discount object on success, otherwise null
+   * @return object
+   *   CRM_Core_DAO_Discount object on success, otherwise null
    * @static
    */
   public static function add(&$params) {
@@ -89,7 +90,8 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
    * @param string $entityTable
    *   Entity table to be searched.
    *
-   * @return array    $optionGroupIDs option group Ids associated with discount
+   * @return array
+   *   option group Ids associated with discount
    *
    */
   public static function getOptionGroup($entityId, $entityTable) {
@@ -112,7 +114,8 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
    * @param string $entityTable
    *   Entity table to be searched.
    *
-   * @return integer  $dao->id       discount id of the set which matches
+   * @return integer
+   *   $dao->id       discount id of the set which matches
    *                                 the date criteria
    */
   public static function findSet($entityID, $entityTable) {
index ad04e30ce3dc74a5b74b654c405e08502566786c..32e2e2da570c7d81b7b2dc51d6a70c1ec69585c8 100644 (file)
@@ -135,7 +135,8 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
    *
    * @param NULL
    *
-   * @return array        Location::getValues
+   * @return array
+   *   Location::getValues
    */
   public function &getLocationValues() {
     if ($this->_location == NULL) {
@@ -158,7 +159,8 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
    * @param array $params
    * @param int $id
    *
-   * @return array domain
+   * @return array
+   *   domain
    */
   public static function edit(&$params, &$id) {
     $domain = new CRM_Core_DAO_Domain();
@@ -173,7 +175,8 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
    *
    * @param array $params
    *
-   * @return array domain
+   * @return array
+   *   domain
    */
   public static function create($params) {
     $domain = new CRM_Core_DAO_Domain();
@@ -200,7 +203,8 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   /**
    * @param bool $skipFatal
    *
-   * @return array name & email for domain
+   * @return array
+   *   name & email for domain
    * @throws Exception
    */
   public static function getNameAndEmail($skipFatal = FALSE) {
index e9d3b1f13850a37ef5b8bd366cf7374966834fde..a02b2cb5dc0b7a1eab9123857ff8c7f3f8db6168 100644 (file)
@@ -64,7 +64,8 @@ class CRM_Core_BAO_Email extends CRM_Core_DAO_Email {
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object       CRM_Core_BAO_Email object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_Email object on success, null otherwise
    * @static
    */
   public static function add(&$params) {
@@ -132,7 +133,8 @@ WHERE  contact_id = {$params['contact_id']}
    *
    * @param bool $updateBlankLocInfo
    *
-   * @return array  the array of email id's
+   * @return array
+   *   the array of email id's
    * @static
    */
   public static function allEmails($id, $updateBlankLocInfo = FALSE) {
@@ -189,7 +191,8 @@ ORDER BY  civicrm_email.is_primary DESC, email_id ASC ";
    *   The array containing entity_id and.
    * entity_table name
    *
-   * @return array  the array of email id's
+   * @return array
+   *   the array of email id's
    * @static
    */
   public static function allEntityEmails(&$entityElements) {
@@ -283,7 +286,8 @@ AND    reset_date IS NULL
    * Build From Email as the combination of all the email ids of the logged in user and
    * the domain email id
    *
-   * @return array         an array of email ids
+   * @return array
+   *   an array of email ids
    * @static
    */
   public static function getFromEmail() {
index 12593abd3c2f17d29afc4db96af31f2c7a3f3bab..98b0eb501380a1bb25abed0bf168e2e155deadbc 100644 (file)
@@ -142,7 +142,8 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
    * @param string $entityTable
    *   Name of entity table default:civicrm_contact.
    *
-   * @return array (total, added, notAdded) count of enities added to tag
+   * @return array
+   *   (total, added, notAdded) count of enities added to tag
    * @static
    */
   public static function addEntitiesToTag(&$entityIds, $tagId, $entityTable = 'civicrm_contact') {
@@ -187,7 +188,8 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
    * @param string $entityTable
    *   Name of entity table default:civicrm_contact.
    *
-   * @return array (total, removed, notRemoved) count of entities removed from tags
+   * @return array
+   *   (total, removed, notRemoved) count of entities removed from tags
    * @static
    */
   public static function removeEntitiesFromTag(&$entityIds, $tagId, $entityTable = 'civicrm_contact') {
@@ -273,7 +275,8 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
    * @param object $tag
    *   An object of a tag.
    *
-   * @return array   $entityIds    array of entity ids
+   * @return array
+   *   array of entity ids
    */
   public function getEntitiesByTag($tag) {
     $entityIds = array();
index ab1165c369bcb2b6b192651bd96cff34a1bc953d..d66a57b8072fba3e29c4c85c13c54576cd1e6ed1 100644 (file)
@@ -470,7 +470,8 @@ AND       CEF.entity_id    = %2";
    * @param string $separator
    *   The string separator where to implode the urls.
    *
-   * @return array              An array with 2 elements. The string and the number of attachments
+   * @return array
+   *   An array with 2 elements. The string and the number of attachments
    * @static
    */
   public static function attachmentInfo($entityTable, $entityID, $separator = '<br />') {
index 2a8e0a3dd68bacae27c43a44b91a34515ccc6486..bd769ca5e6527d54672879022f58f27315876238 100644 (file)
@@ -150,7 +150,8 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
    *   To get single trxn id for a entity table i.e last or first.
    * @param bool $newTrxn
    *
-   * @return array $tag array of category id's the contact belongs to.
+   * @return array
+   *   array of category id's the contact belongs to.
    *
    * @static
    */
@@ -193,7 +194,8 @@ LIMIT 1;";
    * @param int $entity_id
    *   Id of the entity usually the contactID.
    *
-   * @return array $tag array of catagory id's the contact belongs to.
+   * @return array
+   *   array of catagory id's the contact belongs to.
    *
    * @static
    */
@@ -216,7 +218,8 @@ WHERE ft.entity_table = 'civicrm_contribution' AND ft.entity_id = %1
    *   Id of the latest payment.
    *
    *
-   * @return array $payment array of previous payments
+   * @return array
+   *   array of previous payments
    *
    * @static
    */
@@ -269,7 +272,8 @@ WHERE  ef2.financial_trxn_id =%1
    * @param string $entity_table
    *   Name of the entity table usually 'civicrm_contact'.
    *
-   * @return array $tag array of catagory id's the contact belongs to.
+   * @return array
+   *   array of catagory id's the contact belongs to.
    *
    * @static
    */
index 79374fdfe4200ca6b32568453bc7eb82f7044e88..382abb86c406a8dc0a65c88a7164c79ea8572c3a 100644 (file)
@@ -44,7 +44,8 @@ class CRM_Core_BAO_IM extends CRM_Core_DAO_IM {
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object       CRM_Core_BAO_IM object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_IM object on success, null otherwise
    * @static
    */
   public static function add(&$params) {
@@ -80,7 +81,8 @@ class CRM_Core_BAO_IM extends CRM_Core_DAO_IM {
    *
    * @param bool $updateBlankLocInfo
    *
-   * @return array  the array of im details
+   * @return array
+   *   the array of im details
    * @static
    */
   public static function allIMs($id, $updateBlankLocInfo = FALSE) {
@@ -131,7 +133,8 @@ ORDER BY
    *   The array containing entity_id and.
    * entity_table name
    *
-   * @return array  the array of im details
+   * @return array
+   *   the array of im details
    * @static
    */
   public static function allEntityIMs(&$entityElements) {
index 1aad25f0c98b8bfab2762c3f1cc061e39291ebaf..87eb2b47ff434803d122ed037c9814419e68ccad 100644 (file)
@@ -91,7 +91,8 @@ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
index 16d7145826e3f300d509ded1d3bdbb1bccf8a26b..f9df000f4c1e5fdc9eb8772c15c1627713ac01b0 100644 (file)
@@ -159,7 +159,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of page orientations
+   * @return array
+   *   array of page orientations
    * @static
    */
   public static function getPageOrientations() {
@@ -175,7 +176,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    * @param string $name
    *   Group name.
    *
-   * @return array   array of font names
+   * @return array
+   *   array of font names
    * @static
    */
   public static function getFontNames($name = 'label_format') {
@@ -188,7 +190,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of font sizes
+   * @return array
+   *   array of font sizes
    * @static
    */
   public static function getFontSizes() {
@@ -205,7 +208,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of measurement units
+   * @return array
+   *   array of measurement units
    * @static
    */
   public static function getUnits() {
@@ -222,7 +226,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of alignments
+   * @return array
+   *   array of alignments
    * @static
    */
   public static function getTextAlignments() {
@@ -238,7 +243,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of alignments
+   * @return array
+   *   array of alignments
    * @static
    */
   public static function getFontStyles() {
@@ -254,7 +260,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param string $name
    *
-   * @return int  Group ID (null if Group ID doesn't exist)
+   * @return int
+   *   Group ID (null if Group ID doesn't exist)
    */
   private static function _getGid($name = 'label_format') {
     if (!isset(self::$_gid[$name]) || !self::$_gid[$name]) {
@@ -273,7 +280,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    * @param string $returnURL
    *   URL of page calling this function.
    *
-   * @return array  (reference)   List of Label Formats
+   * @return array
+   *   (reference)   List of Label Formats
    * @static
    */
   public static function addOrder(&$list, $returnURL) {
@@ -289,7 +297,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    * @param string $groupName
    *   Group name of the label format option group.
    *
-   * @return array  (reference)   label format list
+   * @return array
+   *   (reference)   label format list
    * @static
    */
   public static function &getList($namesOnly = FALSE, $groupName = 'label_format') {
@@ -319,7 +328,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    * @param string $groupName
    *   Label format group name.
    *
-   * @return array   Name/value pairs containing the default Label Format values.
+   * @return array
+   *   Name/value pairs containing the default Label Format values.
    * @static
    */
   public static function &getDefaultValues($groupName = 'label_format') {
@@ -345,7 +355,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param string $groupName
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getLabelFormat($field, $val, $groupName = 'label_format') {
     $params = array('is_active' => 1, $field => $val);
@@ -364,7 +375,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    * @param int $name
    *   Label format name. Empty = get default label format.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getByName($name) {
     return self::getLabelFormat('name', $name);
@@ -378,7 +390,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue {
    * @param string $groupName
    *   Group name.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getById($id, $groupName = 'label_format') {
     return self::getLabelFormat('id', $id, $groupName);
index 7eb55cd0d89faa74b41fb98eb03ed78ba68eccdb..65ba7ab125b3dea71986c90235beaf5b26123169 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO {
    *
    * @param null $entity
    *
-   * @return array   $location
+   * @return array
    * @static
    */
   public static function create(&$params, $fixAddress = TRUE, $entity = NULL) {
@@ -156,7 +156,8 @@ WHERE e.id = %1";
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object       CRM_Core_BAO_locBlock object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_locBlock object on success, null otherwise
    * @static
    */
   public static function addLocBlock(&$params) {
@@ -236,7 +237,8 @@ WHERE e.id = %1";
    * @param $entityBlock
    * @param bool $microformat
    *
-   * @return array   array of objects(CRM_Core_BAO_Location)
+   * @return array
+   *   array of objects(CRM_Core_BAO_Location)
    * @static
    */
   public static function &getValues($entityBlock, $microformat = FALSE) {
@@ -306,7 +308,8 @@ WHERE e.id = %1";
    * @param int $updateLocBlockId
    *   Update location block id.
    *
-   * @return int  newly created/updated location block id.
+   * @return int
+   *   newly created/updated location block id.
    */
   public static function copyLocBlock($locBlockId, $updateLocBlockId = NULL) {
     //get the location info.
index 3144feabf4c1276da75d194fd7458528ad26fed8..8fc79a71a88b8d0993cc57aba7fae94a2eb51564 100644 (file)
@@ -76,7 +76,8 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
@@ -89,7 +90,8 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
    *
    * @param NULL
    *
-   * @return object           The default location type object on success,
+   * @return object
+   *   The default location type object on success,
    *                          null otherwise
    * @static
    */
index e50ec7c58a298025853f76c8bc5ec62c5a892436..e342a6486b366726296cad4884a62ca3ba41845c 100644 (file)
@@ -157,7 +157,8 @@ UPDATE civicrm_log
    *
    * @param int $contactID
    *
-   * @return int count of log records
+   * @return int
+   *   count of log records
    * @static
    */
   public static function getContactLogCount($contactID) {
@@ -170,7 +171,8 @@ UPDATE civicrm_log
    * Function for find out whether to use logging schema entries for contact
    * summary, instead of normal log entries.
    *
-   * @return int report id of Contact Logging Report (Summary) / false
+   * @return int
+   *   report id of Contact Logging Report (Summary) / false
    * @static
    */
   public static function useLoggingReport() {
index 93b5ab351b912eb258af98c8ef2f3ab3b05f4122..9d9b552f2b0c98c2411ee6c97c6b2e900d14d990 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   /**
    * Return the domain from the default set of settings
    *
-   * @return string  default domain
+   * @return string
+   *   default domain
    */
   public static function defaultDomain() {
     return self::defaultDAO()->domain;
@@ -74,7 +75,8 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   /**
    * Return the localpart from the default set of settings
    *
-   * @return string  default localpart
+   * @return string
+   *   default localpart
    */
   public static function defaultLocalpart() {
     return self::defaultDAO()->localpart;
@@ -83,7 +85,8 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   /**
    * Return the return path from the default set of settings
    *
-   * @return string  default return path
+   * @return string
+   *   default return path
    */
   public static function defaultReturnPath() {
     return self::defaultDAO()->return_path;
@@ -92,7 +95,8 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings {
   /**
    * Return the "include message ID" flag from the default set of settings.
    *
-   * @return boolean  default include message ID
+   * @return boolean
+   *   default include message ID
    */
   public static function includeMessageId() {
     return CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME,
index 3b5d659e4a5e2213ce2e13d88deb15a7e5fea4a8..ae3374a28931636e83359822c48c4df8f6c93f06 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    * @param array $defaults
    *   (reference ) an assoc array to hold the flattened values.
    *
-   * @return object     CRM_Core_DAO_Mapping object on success, otherwise NULL
+   * @return object
+   *   CRM_Core_DAO_Mapping object on success, otherwise NULL
    * @static
    */
   public static function retrieve(&$params, &$defaults) {
@@ -100,7 +101,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    * @param array $params
    *   An array of name/value pairs.
    *
-   * @return object    CRM_Core_DAO_Mapper object on success, otherwise NULL
+   * @return object
+   *   CRM_Core_DAO_Mapper object on success, otherwise NULL
    * @static
    */
   public static function add($params) {
@@ -117,7 +119,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    * @param string $mappingTypeId
    *   Mapping type id.
    *
-   * @return array $mapping array of mapping name
+   * @return array
+   *   array of mapping name
    * @static
    */
   public static function getMappings($mappingTypeId) {
@@ -139,7 +142,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    * @param int $mappingId
    *   Mapping id.
    *
-   * @return array $mappingFields array of mapping fields
+   * @return array
+   *   array of mapping fields
    * @static
    */
   public static function getMappingFields($mappingId) {
@@ -214,7 +218,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    * @param int $smartGroupId
    *   Smart group id.
    *
-   * @return array $returnFields  associated array of elements
+   * @return array
+   *   associated array of elements
    * @static
    */
   public static function getFormattedFields($smartGroupId) {
@@ -917,7 +922,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    * @param int $relationshipTypeId
    *   Related relationship type id.
    *
-   * @return array all custom field titles
+   * @return array
+   *   all custom field titles
    */
   public function getRelationTypeCustomGroupData($relationshipTypeId) {
 
@@ -961,7 +967,8 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    *   Row no of the fields.
    *
    *
-   * @return array $returnFields  formatted associated array of elements
+   * @return array
+   *   formatted associated array of elements
    * @static
    */
   public static function formattedFields(&$params, $row = FALSE) {
index 99466c6d0d4cb4fdc608a67f41ef1632965023f3..95e4689489eff938f295e328758be8dfa0eecbf2 100644 (file)
@@ -69,7 +69,8 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, NULL otherwise
+   * @return Object
+   *   DAO object on sucess, NULL otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -310,7 +311,8 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
    * @param array $params
    *   A string-keyed array of function params, see function body for details.
    *
-   * @return array  of four parameters: a boolean whether the email was sent, and the subject, text and HTML templates
+   * @return array
+   *   of four parameters: a boolean whether the email was sent, and the subject, text and HTML templates
    */
   public static function sendTemplate($params) {
     $defaults = array(
index 53dad5cabcdc234d0b1d04d1fcd07feeaf52b8e2..7c9e19068e3009ac9721233f81e05d0a509bd0be 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, NULL otherwise
+   * @return Object
+   *   DAO object on sucess, NULL otherwise
    *
    * @static
    */
@@ -64,7 +65,8 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
    * Get existing / build navigation for CiviCRM Admin Menu
    *
    * @static
-   * @return array associated array
+   * @return array
+   *   associated array
    */
   public static function getMenus() {
     $menus = array();
@@ -86,7 +88,8 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
    *
    * @param array associated array of submitted values
    *
-   * @return object navigation object
+   * @return object
+   *   navigation object
    * @static
    */
   public static function add(&$params) {
@@ -154,7 +157,8 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
    * @param int $menuID
    *   Menu id.
    *
-   * @return int $weight string
+   * @return int
+   *   $weight string
    * @static
    */
   public static function calculateWeight($parentID = NULL, $menuID = NULL) {
@@ -179,7 +183,8 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
   /**
    * Get formatted menu list
    *
-   * @return array $navigations returns associated array
+   * @return array
+   *   returns associated array
    * @static
    */
   public static function getNavigationList() {
@@ -272,7 +277,8 @@ FROM civicrm_navigation WHERE domain_id = $domainID {$whereClause} ORDER BY pare
    * @param bool $navigationMenu
    *   True when called for building top navigation menu.
    *
-   * @return array $navigationTree nested array of menus
+   * @return array
+   *   nested array of menus
    * @static
    */
   public static function buildNavigationTree(&$navigationTree, $parentID, $navigationMenu = TRUE) {
@@ -579,7 +585,8 @@ ORDER BY parent_id, weight";
    * @param int $contactID
    *   Contact id.
    *
-   * @return string $navigation returns navigation html
+   * @return string
+   *   returns navigation html
    * @static
    */
   public static function createNavigation($contactID) {
@@ -802,7 +809,8 @@ ORDER BY parent_id, weight";
    * @param int $navigationID
    *   Navigation id.
    *
-   * @return array associated array
+   * @return array
+   *   associated array
    * @static
    */
   public static function getNavigationInfo($navigationID) {
index 84f8aa61b60e71fe6edf8979dc9dc10d92f2cf51..d3d51138cec39b4b31705d1736ca99d5811ecdf4 100644 (file)
@@ -50,7 +50,8 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
    * @param int $id
    *   Id of the note to retrieve.
    *
-   * @return string   the note text or NULL if note not found
+   * @return string
+   *   the note text or NULL if note not found
    *
    * @static
    */
@@ -64,7 +65,8 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
    * @param int $id
    *   Id of the note to retrieve.
    *
-   * @return string   the note subject or NULL if note not found
+   * @return string
+   *   the note subject or NULL if note not found
    *
    * @static
    */
@@ -78,7 +80,8 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
    * @param object $note
    *   Either the id of the note to retrieve, or the CRM_Core_DAO_Note object itself.
    *
-   * @return boolean TRUE if the note should be displayed, otherwise FALSE
+   * @return boolean
+   *   TRUE if the note should be displayed, otherwise FALSE
    *
    * @static
    */
@@ -136,7 +139,8 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
    * @param array $ids
    *   (deprecated) associated array with note id - preferably set $params['id'].
    *
-   * @return object $note CRM_Core_BAO_Note object
+   * @return object
+   *   $note CRM_Core_BAO_Note object
    * @static
    */
   public static function &add(&$params, $ids = array()) {
@@ -245,7 +249,8 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
    * @param int $numNotes
    *   The maximum number of notes to return (0 if all).
    *
-   * @return object $notes  Object of CRM_Core_BAO_Note
+   * @return object
+   *   $notes  Object of CRM_Core_BAO_Note
    * @static
    */
   public static function &getValues(&$params, &$values, $numNotes = self::MAX_NOTES) {
@@ -364,7 +369,8 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
    *
    * @param string $entityTable
    *
-   * @return array $viewNote array of note properties
+   * @return array
+   *   array of note properties
    *
    * @static
    */
@@ -395,7 +401,8 @@ ORDER BY  modified_date desc";
    *
    * @param int $contactID
    *
-   * @return int $count count of log records
+   * @return int
+   *   $count count of log records
    *
    * @static
    */
@@ -423,7 +430,8 @@ ORDER BY  modified_date desc";
    * @param bool $snippet
    *   If TRUE, returned values will be pre-formatted for display in a table of notes.
    *
-   * @return array Nested associative array beginning with direct children of given note.
+   * @return array
+   *   Nested associative array beginning with direct children of given note.
    *
    * @static
    */
@@ -437,7 +445,8 @@ ORDER BY  modified_date desc";
    * @param int $id
    *   Note ID.
    *
-   * @return int $count Number of notes having the give note as parent
+   * @return int
+   *   $count Number of notes having the give note as parent
    *
    * @static
    */
@@ -469,7 +478,8 @@ ORDER BY  modified_date desc";
    * @param int $depth
    *   Depth of current iteration within the descendent tree (used for comparison against maxDepth).
    *
-   * @return array Nested associative array beginning with direct children of given note.
+   * @return array
+   *   Nested associative array beginning with direct children of given note.
    * @static
    */
   private static function buildNoteTree($parentId, $maxDepth = 0, $snippet = FALSE, &$tree = array(), $depth = 0) {
@@ -533,7 +543,8 @@ ORDER BY  modified_date desc";
    * @param array $ids
    *   (reference) one-dimensional array to store found descendent ids.
    *
-   * @return array $ids One-dimensional array containing ids of all desendent notes
+   * @return array
+   *   One-dimensional array containing ids of all desendent notes
    */
   public static function getDescendentIds($parentId, &$ids = array()) {
     // get direct children of given parentId note
index feb9f97b5197748fa0f482e97117f4b23c43feed..619aa13e6587f4ca412e594b74a19928edbdf928 100644 (file)
@@ -44,7 +44,8 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID {
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object       CRM_Core_BAO_OpenID object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_OpenID object on success, null otherwise
    * @static
    */
   public static function add(&$params) {
@@ -99,7 +100,8 @@ class CRM_Core_BAO_OpenID extends CRM_Core_DAO_OpenID {
    *
    * @param bool $updateBlankLocInfo
    *
-   * @return array  the array of openid's
+   * @return array
+   *   the array of openid's
    * @static
    */
   public static function allOpenIDs($id, $updateBlankLocInfo = FALSE) {
index 3c3000ed9b5f0a5b428897e199da01fadc9a41cc..c393b3637d50148f71c4f0fb6608b9494c83c460 100644 (file)
@@ -70,7 +70,8 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -137,7 +138,8 @@ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup {
    * @param int $optionGroupId
    *   Id of the Option Group.
    *
-   * @return String title
+   * @return String
+   *   title
    *
    * @static
    */
index 21fd31a6b57e2521418c338f7e1b215540766127..eca85e0233097d0d92123a7817af26efcaa05e96 100644 (file)
@@ -151,7 +151,8 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -251,7 +252,8 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
    * @param int $activityTypeId
    *   Activity type id.
    *
-   * @return array  label and description
+   * @return array
+   *   label and description
    * @static
    */
   public static function getActivityTypeDetails($activityTypeId) {
@@ -274,7 +276,8 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
    * @param int $id
    *   Id of Option Value.
    *
-   * @return string title
+   * @return string
+   *   title
    *
    * @static
    *
@@ -449,7 +452,8 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
    * @param int $optionGroupID
    *   The option group for which we want the values from.
    *
-   * @return array an array of array of values for this option group
+   * @return array
+   *   an array of array of values for this option group
    * @static
    */
   public static function getOptionValuesArray($optionGroupID) {
@@ -482,7 +486,8 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
    * @param int $optionGroupID
    *   The option group for which we want the values from.
    *
-   * @return array an associative array of label, value pairs
+   * @return array
+   *   an associative array of label, value pairs
    * @static
    */
   public static function getOptionValuesAssocArray($optionGroupID) {
@@ -501,7 +506,8 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
    * @param string $optionGroupName
    *   The option group name for which we want the values from.
    *
-   * @return array an associative array of label, value pairs
+   * @return array
+   *   an associative array of label, value pairs
    * @static
    */
   public static function getOptionValuesAssocArrayFromName($optionGroupName) {
index bfce94cdb8ce4960fb13c70525c81c0f09bea08e..485dccde17948a7072fa23b181a029631e9a6de9 100644 (file)
@@ -72,7 +72,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return int  Group ID (null if Group ID doesn't exist)
+   * @return int
+   *   Group ID (null if Group ID doesn't exist)
    */
   private static function _getGid() {
     if (!self::$_gid) {
@@ -91,7 +92,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    * @param string $returnURL
    *   URL of page calling this function.
    *
-   * @return array  (reference)   List of Paper Sizes
+   * @return array
+   *   (reference)   List of Paper Sizes
    * @static
    */
   public static function &addOrder(&$list, $returnURL) {
@@ -105,7 +107,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    * @param bool $namesOnly
    *   Return simple list of names.
    *
-   * @return array  (reference)   Paper Size list
+   * @return array
+   *   (reference)   Paper Size list
    * @static
    */
   public static function &getList($namesOnly = FALSE) {
@@ -134,7 +137,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    *
    * @param NULL
    *
-   * @return array   Name/value pairs containing the default Paper Size values.
+   * @return array
+   *   Name/value pairs containing the default Paper Size values.
    * @static
    */
   public static function &getDefaultValues() {
@@ -158,7 +162,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    * @param int $val
    *   Field value to search for.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getPaperFormat($field, $val) {
     $params = array('is_active' => 1, $field => $val);
@@ -177,7 +182,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    * @param int $name
    *   Paper Size name. Empty = get default Paper Size.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getByName($name) {
     return self::getPaperFormat('name', $name);
@@ -189,7 +195,8 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
    * @param int $id
    *   Paper Size id. 0 = get default Paper Size.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getById($id) {
     return self::getPaperFormat('id', $id);
index 40e3ca82bc9b1aad05d76b4ac967d315896e6098..a858a1dcd17932df7af7624aa4390bda9b950ee3 100644 (file)
@@ -99,7 +99,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of page orientations
+   * @return array
+   *   array of page orientations
    */
   public static function getPageOrientations() {
     return array(
@@ -113,7 +114,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return array   array of measurement units
+   * @return array
+   *   array of measurement units
    */
   public static function getUnits() {
     return array(
@@ -129,7 +131,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param void
    *
-   * @return int  Group ID (null if Group ID doesn't exist)
+   * @return int
+   *   Group ID (null if Group ID doesn't exist)
    */
   private static function _getGid() {
     if (!self::$_gid) {
@@ -162,7 +165,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    * @param bool $namesOnly
    *   Return simple list of names.
    *
-   * @return array  (reference)   PDF Page Format list
+   * @return array
+   *   (reference)   PDF Page Format list
    * @static
    */
   public static function &getList($namesOnly = FALSE) {
@@ -191,7 +195,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    *
    * @param NULL
    *
-   * @return array   Name/value pairs containing the default PDF Page Format values.
+   * @return array
+   *   Name/value pairs containing the default PDF Page Format values.
    * @static
    */
   public static function &getDefaultValues() {
@@ -218,7 +223,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    * @param int $val
    *   Field value to search for.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getPdfFormat($field, $val) {
     $params = array('is_active' => 1, $field => $val);
@@ -237,7 +243,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    * @param int $name
    *   PDF Page Format name. Empty = get default PDF Page Format.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getByName($name) {
     return self::getPdfFormat('name', $name);
@@ -249,7 +256,8 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    * @param int $id
    *   PDF Page Format id. 0 = get default PDF Page Format.
    *
-   * @return array  $values (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public static function &getById($id) {
     return self::getPdfFormat('id', $id);
index a5868e3c1058c9bf7543dd4099beab8b1925723b..b6563d059d11edba257caa10150ea2d765ac9f69 100644 (file)
@@ -72,7 +72,8 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object       CRM_Core_BAO_Phone object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_Phone object on success, null otherwise
    * @static
    */
   public static function add(&$params) {
@@ -96,7 +97,8 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    *
    * @param array entityBlock input parameters to find object
    *
-   * @return array    array of phone objects
+   * @return array
+   *   array of phone objects
    * @static
    */
   public static function &getValues($entityBlock) {
@@ -114,7 +116,8 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    * @param null $type
    * @param array $filters
    *
-   * @return array  the array of phone ids which are potential numbers
+   * @return array
+   *   the array of phone ids which are potential numbers
    * @static
    */
   public static function allPhones($id, $updateBlankLocInfo = FALSE, $type = NULL, $filters = array()) {
@@ -186,7 +189,8 @@ ORDER BY civicrm_phone.is_primary DESC,  phone_id ASC ";
    *
    * @param null $type
    *
-   * @return array  the array of phone ids which are potential numbers
+   * @return array
+   *   the array of phone ids which are potential numbers
    * @static
    */
   public static function allEntityPhones($entityElements, $type = NULL) {
index efe1ed99ce33897580d7ec51f2c77c222419ef51..26bf706142ca16b8bb81d8836c65e72c3ca6831b 100644 (file)
@@ -75,7 +75,8 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
index 06f98119f5472ddf9ac963226f8c32b4dd7028ba..633656a42d7ea49d0b744dda7e592d58de82ba71 100644 (file)
@@ -224,7 +224,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
   /**
    * This function builds a "When" object based on schedule/reminder params
    *
-   * @return object When object
+   * @return object
+   *   When object
    */
   public function generateRecursion() {
     // return if already generated
@@ -315,7 +316,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
    * This function iterates through when object criterias and
    * generates recursive dates based on that
    *
-   * @return array array of dates
+   * @return array
+   *   array of dates
    */
   public function generateRecursiveDates() {
     $this->generateRecursion();
@@ -403,7 +405,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
    *
    * @static
    *
-   * @return array an array of child ids
+   * @return array
+   *   an array of child ids
    */
   static public function getEntitiesForParent($parentId, $entityTable, $includeParent = TRUE, $mode = 3, $initiatorId = NULL) {
     $entities = array();
@@ -471,7 +474,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
    *
    * @static
    *
-   * @return array array of connected ids
+   * @return array
+   *   array of connected ids
    */
   static public function getEntitiesFor($entityId, $entityTable, $includeParent = TRUE, $mode = 3) {
     $parentId = self::getParentFor($entityId, $entityTable);
@@ -493,7 +497,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
    *
    * @static
    *
-   * @return int unsigned $parentId Parent ID
+   * @return int
+   *   unsigned $parentId Parent ID
    */
   static public function getParentFor($entityId, $entityTable, $includeParent = TRUE) {
     if (empty($entityId) || empty($entityTable)) {
@@ -951,7 +956,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
    * @param array $scheduleReminderDetails
    *   Array of repeat criterias saved in civicrm_action_schedule table .
    *
-   * @return object When object
+   * @return object
+   *   When object
    */
   public function getRecursionFromSchedule($scheduleReminderDetails = array()) {
     $r = new When();
@@ -1059,7 +1065,8 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
    *
    * @static
    *
-   * @return object DateTime object which contain time difference
+   * @return object
+   *   DateTime object which contain time difference
    */
   static public function getInterval($startDate, $endDate) {
     if ($startDate && $endDate) {
index 7ab3f5778fc666fb345504b5ec225621dd48c87b..af3cbf7bfe167a18789e393fbb206370044f1fe1 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param int $domainID
    * @param bool $force
    *
-   * @return boolean true if item is already in cache
+   * @return boolean
+   *   true if item is already in cache
    * @static
    */
   static function inCache(
@@ -529,7 +530,8 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param bool $createMode
    *
    * @throws api_Exception
-   * @return array $fieldstoset name => value array of the fields to be set (with extraneous removed)
+   * @return array
+   *   name => value array of the fields to be set (with extraneous removed)
    */
   public static function validateSettingsInput($params, &$fields, $createMode = TRUE) {
     $group = CRM_Utils_Array::value('group', $params);
@@ -635,7 +637,8 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * @param int $domainID
    * @param null $profile
    *
-   * @return array $result - the following information as appropriate for each setting
+   * @return array
+   *   the following information as appropriate for each setting
    * - name
    * - type
    * - default
index 475bb5f6ff9f83e448eeaa65899cd532ce837a96..e6d1efdf7d15a7219d22b7925866d2cb2e38279e 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
    * @param array $defaults
    *   (reference ) an assoc array to hold the flattened values.
    *
-   * @return object     CRM_Core_DAO_Tag object on success, otherwise null
+   * @return object
+   *   CRM_Core_DAO_Tag object on success, otherwise null
    * @static
    */
   public static function retrieve(&$params, &$defaults) {
@@ -359,7 +360,8 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
    *   (optional) the array that holds all the db ids - we are moving away from this in bao.
    * signatures
    *
-   * @return object    CRM_Core_DAO_Tag object on success, otherwise null
+   * @return object
+   *   CRM_Core_DAO_Tag object on success, otherwise null
    * @static
    */
   public static function add(&$params, $ids = array()) {
@@ -429,7 +431,8 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
    * @param string $entityTable
    *   Entity_table.
    *
-   * @return array $tagSets array of tag sets
+   * @return array
+   *   array of tag sets
    * @static
    */
   public static function getTagSet($entityTable) {
@@ -447,7 +450,8 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
   /**
    * Get the tags that are not children of a tagset.
    *
-   * @return array $tags associated array of tag name and id
+   * @return array
+   *   associated array of tag name and id
    * @access public
    * @static
    */
index dd7b25f2a8b6e77dff838f0bb06570f81237d61e..4d062734dd12d2591b6a4140a4238fa4b97ee9b1 100644 (file)
@@ -67,7 +67,8 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField {
    * @param int $id
    *   Id of uf_form.
    *
-   * @return string title
+   * @return string
+   *   title
    *
    * @static
    *
@@ -84,7 +85,8 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object              DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -371,7 +373,8 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
    *
    * @param int $UFFieldId
    *
-   * @return boolean   false if custom field are disabled else true
+   * @return boolean
+   *   false if custom field are disabled else true
    * @static
    */
   public static function checkUFStatus($UFFieldId) {
@@ -461,7 +464,7 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
    * @param array $optional
    *   Array of types those are optional.
    *
-   * @return boolean $valid
+   * @return boolean
    * @static
    */
   public static function checkValidProfileType($ufGroupId, $required, $optional = NULL) {
@@ -578,7 +581,8 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
    *
    * @param bool $skipComponentType
    *
-   * @return string profile group_type
+   * @return string
+   *   profile group_type
    * @static
    *
    * TODO Why is this function in this class? It seems to be about the UFGroup.
@@ -602,7 +606,8 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1";
    *   True if only pure profiles are required.
    * @param bool $skipComponentType
    *
-   * @return string profile group_type
+   * @return string
+   *   profile group_type
    * @static
    *
    * TODO Why is this function in this class? It seems to be about the UFGroup.
@@ -740,7 +745,7 @@ SELECT ufg.id as id
    *
    * @param int $profileID
    *
-   * @return boolean $result    true/false.
+   * @return boolean
    */
   public static function checkSearchableORInSelector($profileID) {
     $result = FALSE;
@@ -768,7 +773,8 @@ SELECT  id
    *
    * @param int $profileID
    *
-   * @return void.
+   * @return void
+   *
    */
   public function resetInSelectorANDSearchable($profileID) {
     if (!$profileID) {
@@ -801,7 +807,8 @@ SELECT  id
    *   Filter to apply to profile fields - expected usage is to only fill based on.
    * the bottom profile per CRM-13726
    *
-   * @return bool Can the address block be hidden safe in the knowledge all fields are elsewhere collected (see CRM-15118)
+   * @return bool
+   *   Can the address block be hidden safe in the knowledge all fields are elsewhere collected (see CRM-15118)
    */
   public static function assignAddressField($key, &$profileAddressFields, $profileFilter) {
     $billing_id = CRM_Core_BAO_LocationType::getBilling();
index 987b3126e0e08be94530a1336d93e2fa4b1e6be7..b3de37652ce4580c4cef8298fae7be76b26051e6 100644 (file)
@@ -56,7 +56,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param array $defaults
    *   (reference) an assoc array to hold the flattened values.
    *
-   * @return object   CRM_Core_DAO_UFGroup object
+   * @return object
+   *   CRM_Core_DAO_UFGroup object
    * @static
    */
   public static function retrieve(&$params, &$defaults) {
@@ -69,7 +70,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param int $id
    *   Id of uf_group.
    *
-   * @return string  contact type
+   * @return string
+   *   contact type
    */
   public static function getContactType($id) {
 
@@ -101,7 +103,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param int $id
    *   Id of uf_form.
    *
-   * @return string title
+   * @return string
+   *   title
    *
    * @static
    *
@@ -118,7 +121,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             CRM_Core_DAO_UFGroup object on success, null otherwise
+   * @return Object
+   *   CRM_Core_DAO_UFGroup object on success, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -135,7 +139,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    *
    * @param null $ctype
    *
-   * @return array the fields that are needed for registration
+   * @return array
+   *   the fields that are needed for registration
    * @static
    */
   public static function getRegistrationFields($action, $mode, $ctype = NULL) {
@@ -196,7 +201,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param null $restrict
    * @param bool $skipPermission
    * @param int $permissionType
-   * @return array   the fields that are listings related
+   * @return array
+   *   the fields that are listings related
    * @static
    */
   static function getListingFields(
@@ -275,7 +281,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param string $orderBy
    * @param null $orderProfiles
    *
-   * @return array   the fields that belong to this ufgroup(s)
+   * @return array
+   *   the fields that belong to this ufgroup(s)
    * @static
    */
   static function getFields(
@@ -591,7 +598,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param bool $searchable
    * @param bool $showAll
    * @param int $visibility
-   * @return bool TRUE if field is displayable
+   * @return bool
+   *   TRUE if field is displayable
    */
   protected static function filterUFField($field, $searchable, $showAll, $visibility) {
     if ($searchable && $field->is_searchable != 1) {
@@ -710,7 +718,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    *   The action of the form.
    *
    * @pram  boolean $register is this the registrtion form
-   * @return boolean   true if form is valid
+   * @return boolean
+   *   true if form is valid
    * @static
    */
   public static function isValid($userID, $title, $register = FALSE, $action = NULL) {
@@ -761,7 +770,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
    * @param bool $doNotProcess
    * @param null $ctype
    *
-   * @return string       the html for the form on success, otherwise empty string
+   * @return string
+   *   the html for the form on success, otherwise empty string
    * @static
    */
   static function getEditHTML(
@@ -1563,7 +1573,7 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param int $status
    *   If set return module other than default modules (User Account/User registration/Profile).
    *
-   * @return array $ufGroupJoinRecords
+   * @return array
    *
    * @static
    */
@@ -1640,7 +1650,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param int $ufGroupId
    *   If $ufGroupId get update weight or add weight.
    *
-   * @return int   weight of the UFGroup
+   * @return int
+   *   weight of the UFGroup
    * @static
    */
   public static function getWeight($ufGroupId = NULL) {
@@ -1676,7 +1687,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    *   Which operation (view, edit, create, etc) to check permission for.
    * @param array|NULL $returnFields list of UFGroup fields to return; NULL for default
    *
-   * @return array $ufGroups array of ufgroups for a module
+   * @return array
+   *   array of ufgroups for a module
    * @static
    */
   public static function getModuleUFGroup($moduleName = NULL, $count = 0, $skipPermission = TRUE, $op = CRM_Core_Permission::VIEW, $returnFields = NULL) {
@@ -1748,7 +1760,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    *   Uf group id (profile id).
    * @param int $contactID
    *
-   * @return boolean true or false
+   * @return boolean
+   *   true or false
    * @static
    */
   public static function filterUFGroups($ufGroupId, $contactID = NULL) {
@@ -2593,7 +2606,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param bool $onlyPure
    *   True if only pure profiles are required.
    *
-   * @return array  $profiles  associative array of profiles
+   * @return array
+   *   associative array of profiles
    * @static
    */
   public static function getProfiles($types, $onlyPure = FALSE) {
@@ -2623,7 +2637,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param array $optional
    *   Array of types those are optional.
    *
-   * @return array  $profiles  associative array of profiles
+   * @return array
+   *   associative array of profiles
    * @static
    */
   public static function getValidProfiles($required, $optional = NULL) {
@@ -2655,7 +2670,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param array $required
    *   Array of fields those are required in the profile.
    *
-   * @return array  $profiles  associative array of profiles
+   * @return array
+   *   associative array of profiles
    * @static
    */
   public static function checkValidProfile($ufId, $required = NULL) {
@@ -2897,7 +2913,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    *
    * @param int $contactId
    *
-   * @return array $data assoicated formatted array
+   * @return array
+   *   assoicated formatted array
    * @static
    */
   public static function formatFields($params, $contactId = NULL) {
@@ -3032,7 +3049,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param int $ignoreFieldId
    *   Ignore particular profile field.
    *
-   * @return array list of calculated group type
+   * @return array
+   *   list of calculated group type
    */
   public static function calculateGroupType($gId, $includeTypeValues = FALSE, $ignoreFieldId = NULL) {
     //get the profile fields.
@@ -3048,7 +3066,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param int $ignoreFieldId
    *   Ignore perticular profile field.
    *
-   * @return array list of calculated group type
+   * @return array
+   *   list of calculated group type
    */
   public static function _calculateGroupType($ufFields, $includeTypeValues = FALSE, $ignoreFieldId = NULL) {
     $groupType = $groupTypeValues = $customFieldIds = array();
@@ -3223,7 +3242,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    *
    * @param bool $isStandalone
    *
-   * @return void.
+   * @return void
+   *
    */
   public static function setComponentDefaults(&$fields, $componentId, $component, &$defaults, $isStandalone = FALSE) {
     if (!$componentId ||
@@ -3415,7 +3435,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param int $profileID
    *   Id of the profile.
    *
-   * @return array  returns array
+   * @return array
+   *   returns array
    * @static
    */
   public static function profileGroups($profileID) {
@@ -3437,7 +3458,8 @@ AND    ( entity_id IS NULL OR entity_id <= 0 )
    * @param int $contactId
    *   User contact id.
    *
-   * @return array  $subscribeGroupIds  This contains array of groups for subscription
+   * @return array
+   *   This contains array of groups for subscription
    */
   public static function getDoubleOptInGroupIds(&$params, $contactId = NULL) {
     $config = CRM_Core_Config::singleton();
@@ -3510,7 +3532,8 @@ SELECT  group_id
    * @param array $profileIds
    *   Associated array of profile ids.
    *
-   * @return boolean $mixProfile true if profile is mixed
+   * @return boolean
+   *   true if profile is mixed
    * @static
    */
   public static function checkForMixProfiles($profileIds) {
@@ -3560,7 +3583,8 @@ SELECT  group_id
   /**
    * Determine of we show overlay profile or not
    *
-   * @return boolean true if profile should be shown else false
+   * @return boolean
+   *   true if profile should be shown else false
    * @static
    */
   public static function showOverlayProfile() {
@@ -3587,7 +3611,8 @@ SELECT  group_id
    * @param int $profileId
    * @param string $groupType
    *
-   * @return Array   group type values
+   * @return Array
+   *   group type values
    * @static
    */
   public static function groupTypeValues($profileId, $groupType = NULL) {
@@ -3660,7 +3685,8 @@ SELECT  group_id
   /**
    * Get profiles used for batch entry
    *
-   * @return array profileIds profile ids
+   * @return array
+   *   profileIds profile ids
    * @static
    */
   public static function getBatchProfiles() {
index 557e6523b0905a01a4148dc7a806623fa3c07d07..3cbe698ea41cc7367058365f7f5df7fd77a5902b 100644 (file)
@@ -95,7 +95,8 @@ class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin {
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
    *
-   * @return int or null
+   * @return int
+   *   or null
    * @static
    */
   public static function findJoinEntryId(&$params) {
@@ -132,7 +133,8 @@ class CRM_Core_BAO_UFJoin extends CRM_Core_DAO_UFJoin {
    * @param array $params
    *   (reference) an assoc array of name/value pairs.
    *
-   * @return int or null
+   * @return int
+   *   or null
    * @static
    */
   public static function findUFGroupId(&$params) {
index f33d6edfcb236088b0ed43b6c07b2ef0ba2d3799..4c63a4d41b86b20eb2593c3ed9caabdc2cdba6b2 100644 (file)
@@ -496,7 +496,8 @@ AND    domain_id    = %4
    * @param int $ufID
    *   Id of UF for which related contact_id is required.
    *
-   * @return int    contact_id on success, null otherwise
+   * @return int
+   *   contact_id on success, null otherwise
    * @static
    */
   public static function getContactId($ufID) {
@@ -520,7 +521,8 @@ AND    domain_id    = %4
    * @param int $contactID
    *   ID of the contact for which related uf_id is required.
    *
-   * @return int    uf_id of the given contact_id on success, null otherwise
+   * @return int
+   *   uf_id of the given contact_id on success, null otherwise
    * @static
    */
   public static function getUFId($contactID) {
@@ -550,7 +552,8 @@ AND    domain_id    = %4
    * Get the list of contact_id
    *
    *
-   * @return int    contact_id on success, null otherwise
+   * @return int
+   *   contact_id on success, null otherwise
    * @static
    */
   public static function getContactIDs() {
@@ -569,7 +572,8 @@ AND    domain_id    = %4
    *
    * @param int $openId
    *
-   * @return bool     true if allowed to login, false otherwise
+   * @return bool
+   *   true if allowed to login, false otherwise
    * @static
    */
   public static function getAllowedToLogin($openId) {
@@ -587,7 +591,8 @@ AND    domain_id    = %4
    * have id's (it uses OpenIDs, which go in a different field)
    *
    *
-   * @return int     next highest unused value for uf_id
+   * @return int
+   *   next highest unused value for uf_id
    * @static
    */
   public static function getNextUfIdValue() {
index ff08619fd1167c1996e17673ffdb7afd79b01d6d..c0c29093d0b6f550d5122f460ca0691b3c692417 100644 (file)
@@ -44,7 +44,8 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
    *
-   * @return object       CRM_Core_BAO_Website object on success, null otherwise
+   * @return object
+   *   CRM_Core_BAO_Website object on success, null otherwise
    * @static
    */
   public static function add(&$params) {
@@ -163,7 +164,8 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
    *
    * @param bool $updateBlankLocInfo
    *
-   * @return array  the array of website details
+   * @return array
+   *   the array of website details
    * @static
    */
   public static function allWebsites($id, $updateBlankLocInfo = FALSE) {
index 8fff450e2c69703fbcd3e10016d1384867551fe3..6c0c3a33b3fc16dcdf95320feef38071d74f15fc 100644 (file)
@@ -228,7 +228,8 @@ WHERE  domain_id = %1
    *
    * @param bool $rebuildEach
    *   Whether to perform rebuild after each individual API call.
-   * @return array Each item is $params for WordReplacement.create
+   * @return array
+   *   Each item is $params for WordReplacement.create
    * @see CRM_Core_BAO_WordReplacement::convertConfigArraysToAPIParams
    */
   public static function getConfigArraysAsAPIParams($rebuildEach) {
index d5667195419a74e94f5f77a3e202af406dfeac80..e055213ee807f76bc4184a463275ae2a9ec3f081 100644 (file)
@@ -188,7 +188,8 @@ class CRM_Core_Block {
    * @param string $property
    *   The desired property.
    *
-   * @return string  the value of the desired property
+   * @return string
+   *   the value of the desired property
    */
   public static function getProperty($id, $property) {
     if (!(self::$_properties)) {
@@ -219,7 +220,8 @@ class CRM_Core_Block {
   /**
    * Returns the whole $_properties array
    *
-   * @return array  the $_properties array
+   * @return array
+   *   the $_properties array
    */
   public static function properties() {
     if (!(self::$_properties)) {
index a395224489ba30427d1ece8f2d91e0a41db3ec61..585e386d7dc62c2b2877b65b146dba331a37b21c 100644 (file)
@@ -123,7 +123,8 @@ Alternatively you can get a version of CiviCRM that matches your PHP version
   }
 
   /**
-   * @return array of class names; each class implements CRM_Core_CodeGen_ITask
+   * @return array
+   *   of class names; each class implements CRM_Core_CodeGen_ITask
    */
   public function getTasks() {
     $components = array(
index 7b3b80899c0ff21e3c82009b06d896a888f54656..bbc0894a53af81221cd1b7de6f87ee63a01565d9 100644 (file)
@@ -81,7 +81,8 @@ class CRM_Core_CodeGen_Util_File {
    *
    * @param array $pairs
    *   Each item is an array(0 => $searchBaseDir, 1 => $filePattern).
-   * @return array of file paths
+   * @return array
+   *   of file paths
    */
   public static function findManyFiles($pairs) {
     $files = array();
index c43d242352287274e3c901220fd0fb9f31d0b046..31e4d51032ff6b53678f7276e0bed2c499d9ccb2 100644 (file)
@@ -45,7 +45,8 @@ abstract class CRM_Core_Component_Config {
    * @param $config
    * @param $oldMode
    *
-   * @return array collection of component settings
+   * @return array
+   *   collection of component settings
    */
   public function add($config, $oldMode) {
     foreach (get_class_vars(get_class($this)) as $key => $value) {
index 17f128817264fdc7c74190cd1681475b03605dfb..a5e1fffe538391f2b83a08306dc57f17fd787bf3 100644 (file)
@@ -115,7 +115,8 @@ abstract class CRM_Core_Component_Info {
   /**
    * EXPERIMENTAL: Get a list of AngularJS modules
    *
-   * @return array list of modules; same format as CRM_Utils_Hook::angularModules(&$angularModules)
+   * @return array
+   *   list of modules; same format as CRM_Utils_Hook::angularModules(&$angularModules)
    * @see CRM_Utils_Hook::angularModules
    */
   public function getAngularModules() {
@@ -127,7 +128,8 @@ abstract class CRM_Core_Component_Info {
    * Needs to be implemented in component's information
    * class.
    *
-   * @return array collection of required component settings
+   * @return array
+   *   collection of required component settings
    *
    */
   abstract public function getInfo();
@@ -135,7 +137,8 @@ abstract class CRM_Core_Component_Info {
   /**
    * Get a list of entities to register via API
    *
-   * @return array list of entities; same format as CRM_Utils_Hook::managedEntities(&$entities)
+   * @return array
+   *   list of entities; same format as CRM_Utils_Hook::managedEntities(&$entities)
    * @see CRM_Utils_Hook::managedEntities
    */
   public function getManagedEntities() {
@@ -145,7 +148,8 @@ abstract class CRM_Core_Component_Info {
   /**
    * Provides permissions that are unwise for Anonymous Roles to have
    *
-   * @return array list of permissions
+   * @return array
+   *   list of permissions
    * @see CRM_Component_Info::getPermissions
    */
   public function getAnonymousPermissionWarnings() {
@@ -171,7 +175,8 @@ abstract class CRM_Core_Component_Info {
    *
    * @param CRM_Core_DAO $dao
    *   The item for which we want a reference count.
-   * @return array each item in the array is an array with keys:
+   * @return array
+   *   each item in the array is an array with keys:
    *   - name: string, eg "sql:civicrm_email:contact_id"
    *   - type: string, eg "sql"
    *   - count: int, eg "5" if there are 5 email addresses that refer to $dao
@@ -225,7 +230,8 @@ abstract class CRM_Core_Component_Info {
    * Provides information whether given component is currently
    * marked as enabled in configuration.
    *
-   * @return boolean true if component is enabled, false if not
+   * @return boolean
+   *   true if component is enabled, false if not
    *
    */
   public function isEnabled() {
@@ -309,7 +315,8 @@ abstract class CRM_Core_Component_Info {
   /**
    * Provides component's advanced search pane's template path.
    *
-   * @return string component's advanced search pane's template path
+   * @return string
+   *   component's advanced search pane's template path
    *
    */
   public function getAdvancedSearchPaneTemplatePath() {
@@ -320,7 +327,8 @@ abstract class CRM_Core_Component_Info {
   /**
    * Provides information whether given component uses system wide search.
    *
-   * @return boolean true if component needs search integration
+   * @return boolean
+   *   true if component needs search integration
    *
    */
   public function usesSearch() {
@@ -330,7 +338,8 @@ abstract class CRM_Core_Component_Info {
   /**
    * Provides the xml menu files
    *
-   * @return array array of menu files
+   * @return array
+   *   array of menu files
    *
    */
   public function menuFiles() {
@@ -342,7 +351,8 @@ abstract class CRM_Core_Component_Info {
    * FIXME: It should be protected so the keyword is not
    * FIXME: accessed from beyond component infrastructure.
    *
-   * @return string component keyword
+   * @return string
+   *   component keyword
    *
    */
   public function getKeyword() {
index 0e4ff0261137d08bb402fc60c3bfa3ee5fa6cd75..a626a29b5289abfe02f1ccbd0a0b428023155182 100644 (file)
@@ -486,7 +486,8 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
    * we have two submit buttons, we could have one displayed as a button and
    * the other as an image, both are of type 'submit'.
    *
-   * @return string the name of the button that has been pressed by the user
+   * @return string
+   *   the name of the button that has been pressed by the user
    */
   public function getButtonName() {
     $data = &$this->container();
@@ -666,7 +667,8 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   /**
    * Getter for embedded
    *
-   * @return boolean return the embedded value
+   * @return boolean
+   *   return the embedded value
    */
   public function getEmbedded() {
     return $this->_embedded;
@@ -686,7 +688,8 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   /**
    * Getter for skipRedirection
    *
-   * @return boolean return the skipRedirection value
+   * @return boolean
+   *   return the skipRedirection value
    */
   public function getSkipRedirection() {
     return $this->_skipRedirection;
@@ -741,7 +744,8 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   /**
    * Getter for print
    *
-   * @return boolean return the print value
+   * @return boolean
+   *   return the print value
    */
   public function getPrint() {
     return $this->_print;
index 812bf7fa231ba96986eeab449ab0e35af0c8477f..39a41273f58322c3a08c6fa2e9a61e88947874d4 100644 (file)
@@ -315,7 +315,8 @@ class CRM_Core_DAO extends DB_DataObject {
    * @param bool $i18nRewrite
    *   Whether to rewrite the query.
    *
-   * @return object              the current DAO object after the query execution
+   * @return object
+   *   the current DAO object after the query execution
    */
   public function query($query, $i18nRewrite = TRUE) {
     // rewrite queries that should use $dbLocale-based views for multi-language installs
@@ -400,7 +401,8 @@ class CRM_Core_DAO extends DB_DataObject {
    *
    * @static
    *
-   * @return array of CRM_Core_Reference_Interface
+   * @return array
+   *   of CRM_Core_Reference_Interface
    */
   public static function getReferenceColumns() {
     return array();
@@ -421,7 +423,8 @@ class CRM_Core_DAO extends DB_DataObject {
    * Get/set an associative array of table columns
    *
    * @param array key=>type array
-   * @return array (associative)
+   * @return array
+   *   (associative)
    */
   public function table() {
     $fields = &$this->fields();
@@ -506,7 +509,8 @@ class CRM_Core_DAO extends DB_DataObject {
    * @param array $params
    *   (reference ) associative array of name/value pairs.
    *
-   * @return boolean      did we copy all null values into the object
+   * @return boolean
+   *   did we copy all null values into the object
    */
   public function copyValues(&$params) {
     $fields = &$this->fields();
@@ -624,7 +628,8 @@ class CRM_Core_DAO extends DB_DataObject {
    *   Field that i'm interested in or null if.
    *                          you want the attributes for all DAO text fields
    *
-   * @return array assoc array of name => attribute pairs
+   * @return array
+   *   assoc array of name => attribute pairs
    * @static
    */
   public static function getAttribute($class, $fieldName = NULL) {
@@ -672,7 +677,8 @@ class CRM_Core_DAO extends DB_DataObject {
    * @param string $fieldName
    *   The name of the field in the DAO.
    *
-   * @return boolean     true if object exists
+   * @return boolean
+   *   true if object exists
    * @static
    */
   public static function objectExists($value, $daoName, $daoID, $fieldName = 'name') {
@@ -697,7 +703,8 @@ class CRM_Core_DAO extends DB_DataObject {
    * @param bool $i18nRewrite
    *   Whether to rewrite the query on multilingual setups.
    *
-   * @return boolean true if exists, else false
+   * @return boolean
+   *   true if exists, else false
    * @static
    */
   public static function checkFieldExists($tableName, $columnName, $i18nRewrite = TRUE) {
@@ -782,7 +789,8 @@ LIKE %1
    * @param string $tableName
    * @param string $constraint
    *
-   * @return boolean true if constraint exists, false otherwise
+   * @return boolean
+   *   true if constraint exists, false otherwise
    * @static
    */
   public static function checkConstraintExists($tableName, $constraint) {
@@ -810,7 +818,8 @@ LIKE %1
    *
    * @throws Exception
    *
-   * @return boolean true if CONSTRAINT keyword exists, false otherwise
+   * @return boolean
+   *   true if CONSTRAINT keyword exists, false otherwise
    */
   public static function schemaRequiresRebuilding($tables = array("civicrm_contact")) {
     $show = array();
@@ -845,7 +854,8 @@ LIKE %1
    * @param string $tableName
    * @param string $columnName
    *
-   * @return boolean true if in format, false otherwise
+   * @return boolean
+   *   true if in format, false otherwise
    * @static
    */
   public static function checkFKConstraintInFormat($tableName, $columnName) {
@@ -874,7 +884,8 @@ LIKE %1
    * @param string $columnName
    * @param string $columnValue
    *
-   * @return boolean true if the value is always $columnValue, false otherwise
+   * @return boolean
+   *   true if the value is always $columnValue, false otherwise
    * @static
    */
   public static function checkFieldHasAlwaysValue($tableName, $columnName, $columnValue) {
@@ -891,7 +902,8 @@ LIKE %1
    * @param string $tableName
    * @param string $columnName
    *
-   * @return boolean true if if the value is always NULL, false otherwise
+   * @return boolean
+   *   true if if the value is always NULL, false otherwise
    * @static
    */
   public static function checkFieldIsAlwaysNull($tableName, $columnName) {
@@ -907,7 +919,8 @@ LIKE %1
    *
    * @param string $tableName
    *
-   * @return boolean true if exists, else false
+   * @return boolean
+   *   true if exists, else false
    * @static
    */
   public static function checkTableExists($tableName) {
@@ -943,7 +956,8 @@ FROM   civicrm_domain
    * @param int $id
    *   Id of the DAO object being searched for.
    *
-   * @return object Object of the type of the class that called this function.
+   * @return object
+   *   Object of the type of the class that called this function.
    */
   public static function findById($id) {
     $object = new static();
@@ -1018,7 +1032,8 @@ FROM   civicrm_domain
    * @param string $searchColumn
    *   Name of the column you want to search by.
    *
-   * @return boolean          true if we found and updated the object, else false
+   * @return boolean
+   *   true if we found and updated the object, else false
    * @static
    */
   public static function setFieldValue($daoName, $searchValue, $setColumn, $setValue, $searchColumn = 'id') {
@@ -1044,7 +1059,8 @@ FROM   civicrm_domain
    * @param string $default
    *   Default sort value.
    *
-   * @return string - sortString
+   * @return string
+   *   sortString
    * @static
    */
   public static function getSortString($sort, $default = NULL) {
@@ -1075,7 +1091,8 @@ FROM   civicrm_domain
    * @param array $returnProperities
    *   An assoc array of fields that need to be returned, eg array( 'first_name', 'last_name').
    *
-   * @return object an object of type referenced by daoName
+   * @return object
+   *   an object of type referenced by daoName
    * @static
    */
   public static function commonRetrieve($daoName, &$params, &$defaults, $returnProperities = NULL) {
@@ -1459,7 +1476,8 @@ SELECT contact_id
    * @param array $returnProperities
    *   An assoc array of fields that need to be returned, eg array( 'first_name', 'last_name').
    *
-   * @return object an object of type referenced by daoName
+   * @return object
+   *   an object of type referenced by daoName
    * @static
    */
   public static function commonRetrieveAll($daoName, $fieldIdName = 'id', $fieldId, &$details, $returnProperities = NULL) {
@@ -1537,7 +1555,8 @@ SELECT contact_id
    * @param array $strings
    * @param string $default
    *   the value to use if $strings has no elements.
-   * @return string eg "abc","def","ghi"
+   * @return string
+   *   eg "abc","def","ghi"
    */
   public static function escapeStrings($strings, $default = NULL) {
     static $_dao = NULL;
@@ -2006,7 +2025,8 @@ SELECT contact_id
   /**
    * Find all records which refer to this entity.
    *
-   * @return array of objects referencing this
+   * @return array
+   *   of objects referencing this
    */
   public function findReferences() {
     $links = self::getReferencesToTable(static::getTableName());
@@ -2029,7 +2049,8 @@ SELECT contact_id
   }
 
   /**
-   * @return array each item has keys:
+   * @return array
+   *   each item has keys:
    *  - name: string
    *  - type: string
    *  - count: int
@@ -2069,7 +2090,8 @@ SELECT contact_id
    * @param string $tableName
    *   Table referred to.
    *
-   * @return array structure of table and column, listing every table with a
+   * @return array
+   *   structure of table and column, listing every table with a
    * foreign key reference to $tableName, and the column where the key appears.
    */
   public static function getReferencesToTable($tableName) {
index 780a17d62ae8c0df13acd772751f37c7ce8bbfa7..9054d9695cd44a7d9d2bc5396a7e5ceca50d3db2 100644 (file)
@@ -34,7 +34,8 @@
  * @param $action: (str) api action
  * @param $params: (array) api params
  *
- * @return array of permissions to check for this entity-action combo
+ * @return array
+   *   of permissions to check for this entity-action combo
  */
 function _civicrm_api3_permissions($entity, $action, &$params) {
   $entity = _civicrm_api_get_entity_name_from_camel($entity);
index 0f42fad21f3756f6214ef0ad3b7a9a7a50f30620..026a932bd1f740ad649c3f8a8c05cea9c18a6db6 100644 (file)
@@ -477,7 +477,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    *                useful when we die during initialization and permissioning
    *                subsystem is not initialized - CRM-13765
    *
-   * @return string the generated output
+   * @return string
+   *   the generated output
    * @static
    */
   public static function debug($name, $variable = NULL, $log = TRUE, $html = TRUE, $checkPermission = TRUE) {
@@ -526,7 +527,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    * @param string $comp
    *   Variable name.
    *
-   * @return string the generated output
+   * @return string
+   *   the generated output
    *
    *
    * @static
@@ -575,7 +577,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    *
    * @param string $comp
    *   Message to be output.
-   * @return string format of the backtrace
+   * @return string
+   *   format of the backtrace
    *
    *
    * @static
@@ -688,7 +691,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    *   TRUE if we should try to display content of function arguments (which could be sensitive); FALSE to display only the type of each function argument.
    * @param int $maxArgLen
    *   Maximum number of characters to show from each argument string.
-   * @return string printable plain-text
+   * @return string
+   *   printable plain-text
    */
   public static function formatBacktrace($backTrace, $showArgs = TRUE, $maxArgLen = 80) {
     $message = '';
@@ -781,7 +785,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    * Render an exception as HTML string
    *
    * @param Exception $e
-   * @return string printable HTML text
+   * @return string
+   *   printable HTML text
    */
   public static function formatHtmlException(Exception $e) {
     $msg = '';
@@ -816,7 +821,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    * Write details of an exception to the log
    *
    * @param Exception $e
-   * @return string printable plain text
+   * @return string
+   *   printable plain text
    */
   public static function formatTextException(Exception $e) {
     $msg = get_class($e) . ": \"" . $e->getMessage() . "\"\n";
@@ -901,7 +907,8 @@ class CRM_Core_Error extends PEAR_ErrorStack {
    *
    * @param object $obj
    *   The PEAR_ERROR object.
-   * @return object $obj
+   * @return object
+   *   $obj
    * @static
    */
   public static function nullHandler($obj) {
index e1267968c51fe57b598e37a918224e3250a9dc03..5d910474dc5851a97154280858408d51806fe5a1 100644 (file)
@@ -13,7 +13,8 @@ interface CRM_Core_FileSearchInterface {
    *  - xparent_id: int - business-entity to which file is attached (directly or indirectly)
    * @param int $limit
    * @param int $offset
-   * @return array each item has keys:
+   * @return array
+   *   each item has keys:
    *  - file_id: int
    *  - parent_table: string - entity to which file is directly attached
    *  - parent_id: int - entity to which file is directly attached
index 9f5162e2392aff20444c028ba3528d5d4ae7b650..0cc1b549ad9c473d1ea4931be19e45bc0415b277 100644 (file)
@@ -372,7 +372,8 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   public function setDefaultValues() {
@@ -393,7 +394,8 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
   /**
    * Performs the server side validation
    * @since     1.0
-   * @return boolean   true if no error found
+   * @return boolean
+   *   true if no error found
    * @throws    HTML_QuickForm_Error
    */
   public function validate() {
index d1d37adf154492b46c0396f26fd5ef2d925e3620..35ad735a6756a1f2e0f696df7e8ca6565d41af1b 100644 (file)
@@ -127,7 +127,8 @@ class CRM_Core_Form_Date {
    *   Additional Operator Selections to add.
    * @param string $dateFormat
    * @param bool $displayTime
-   * @return array Values for Selector
+   * @return array
+   *   Values for Selector
    */
   static function returnDateRangeSelector(
     &$form, $fieldName, $count = 1,
index 7a9b4332c70095d8f0a9cb4523e7c3147d6f79f9..54d4798b308c7e5b6229b419fd73e1a6f7bb25ff 100644 (file)
@@ -234,7 +234,8 @@ class CRM_Core_Form_RecurringEntity {
    * @param array $fields
    *   Posted values of the form .
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values) {
index 71eb60e5eaa498e222a6444b207dbb08e953700c..5731ab6a73665ae26dab4be41c7ff06d94af7de7 100644 (file)
@@ -32,7 +32,8 @@ class CRM_Core_HTMLInputCoder {
 
   /**
    * @param string $fldName
-   * @return bool TRUE if encoding should be skipped for this field
+   * @return bool
+   *   TRUE if encoding should be skipped for this field
    */
   public static function isSkippedField($fldName) {
     return CRM_Utils_API_HTMLInputCoder::singleton()->isSkippedField($fldName);
index 6370f27f67de4b9a1315f54af562a3bbde0374d9..b2a3706490ed2b3f21b2be1e0c1f1c4205da015d 100644 (file)
@@ -109,7 +109,8 @@ class CRM_Core_I18n {
   /**
    * Returns whether gettext is running natively or using PHP-Gettext.
    *
-   * @return bool True if gettext is native
+   * @return bool
+   *   True if gettext is native
    */
   public function isNative() {
     return $this->_nativegettext;
@@ -121,7 +122,8 @@ class CRM_Core_I18n {
    * @param bool $justEnabled
    *   whether to return all languages or just the enabled ones.
    *
-   * @return array    of code/language name mappings
+   * @return array
+   *   of code/language name mappings
    */
   public static function languages($justEnabled = FALSE) {
     static $all = NULL;
@@ -176,7 +178,8 @@ class CRM_Core_I18n {
    *   source string.
    * @param mixed arguments, can be passed in an array or through single variables
    *
-   * @return string  modified string
+   * @return string
+   *   modified string
    */
   public function strarg($str) {
     $tr = array();
@@ -215,7 +218,8 @@ class CRM_Core_I18n {
    * @param array $params
    *   the params of the translation (if any).
    *
-   * @return string  the translated string
+   * @return string
+   *   the translated string
    */
   public function crm_translate($text, $params = array()) {
     if (isset($params['escape'])) {
@@ -347,7 +351,8 @@ class CRM_Core_I18n {
    * @param string $string
    *   this string should be translated.
    *
-   * @return string  the translated string
+   * @return string
+   *   the translated string
    */
   public function translate($string) {
     return ($this->_phpgettext) ? $this->_phpgettext->translate($string) : $string;
@@ -406,7 +411,8 @@ class CRM_Core_I18n {
    * @param $key
    *   Key of the extension (can be 'civicrm', or 'org.example.foo').
    *
-   * @return Boolean True if the domain was changed for an extension.
+   * @return Boolean
+   *   True if the domain was changed for an extension.
    */
   public function setGettextDomain($key) {
     /* No domain changes for en_US */
@@ -475,7 +481,8 @@ class CRM_Core_I18n {
   /**
    * Set the LC_TIME locale if it's not set already (for a given language choice).
    *
-   * @return string  the final LC_TIME that got set
+   * @return string
+   *   the final LC_TIME that got set
    */
   public static function setLcTime() {
     static $locales = array();
@@ -499,7 +506,8 @@ class CRM_Core_I18n {
  * @param $params
  *   Array an array of additional parameters.
  *
- * @return string  the translated string
+ * @return string
+   *   the translated string
  */
 function ts($text, $params = array()) {
   static $config = NULL;
index 271a708e6fce7a7a0aaab2146569af52ff6ff71a..06d7246f50c11579b94d82575847c0b2446177f8 100644 (file)
@@ -84,7 +84,8 @@ class CRM_Core_I18n_Form extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   public function setDefaultValues() {
index 1e7426eaedd9a9daae9fb853455c8d99ef3b20c2..10276f0236317872bdbff131dc0a4fe8d5c334d8 100644 (file)
@@ -368,7 +368,8 @@ class CRM_Core_I18n_Schema {
    * @param string $query
    *   the query for rewrite.
    *
-   * @return string        the rewritten query
+   * @return string
+   *   the rewritten query
    */
   public static function rewriteQuery($query) {
     global $dbLocale;
@@ -443,7 +444,8 @@ class CRM_Core_I18n_Schema {
    * @param string $class
    *   schema structure class to use.
    *
-   * @return array          array of CREATE INDEX queries
+   * @return array
+   *   array of CREATE INDEX queries
    */
   private static function createIndexQueries($locale, $table, $class = 'CRM_Core_I18n_SchemaStructure') {
     $indices =& $class::indices();
@@ -487,7 +489,8 @@ class CRM_Core_I18n_Schema {
    * @param string $class
    *   schema structure class to use.
    *
-   * @return array          array of CREATE INDEX queries
+   * @return array
+   *   array of CREATE INDEX queries
    */
   private static function createViewQuery($locale, $table, &$dao, $class = 'CRM_Core_I18n_SchemaStructure') {
     $columns =& $class::columns();
index cbfea6765af58a3b0362c1331dafa13ab9afb183..b71c771a433c7661bc0fe5b5de5ed3b232d7316d 100644 (file)
@@ -100,7 +100,8 @@ class CRM_Core_IDS {
    * @param bool $force
    *   Should we recreate it irrespective if it exists or not.
    *
-   * @return string the full path to the config file
+   * @return string
+   *   the full path to the config file
    * @static
    */
   public static function createConfigFile($force = FALSE) {
index a2d46e79e96ca445b8bc92682500b810e5cbd940..fa6d928a00251d3c911e301e9b2d3611dc62532c 100644 (file)
@@ -155,7 +155,8 @@ class CRM_Core_InnoDBIndexer {
    * Get a list of FTS index names that are currently defined in the database.
    *
    * @param string $table
-   * @return array (string $indexName => string $indexName)
+   * @return array
+   *   (string $indexName => string $indexName)
    */
   public function findActualFtsIndexNames($table) {
     $mysqlVersion = CRM_Core_DAO::singleValueQuery('SELECT VERSION()');
@@ -186,7 +187,8 @@ class CRM_Core_InnoDBIndexer {
    * FTS index.
    *
    * @param $table
-   * @return array (string $indexName => string $sql)
+   * @return array
+   *   (string $indexName => string $sql)
    */
   public function buildIndexSql($table) {
     $sqls = array(); // array (string $idxName => string $sql)
@@ -203,7 +205,8 @@ class CRM_Core_InnoDBIndexer {
    * Generate a "DROP INDEX" statement for each existing FTS index
    *
    * @param string $table
-   * @return array (string $idxName => string $sql)
+   * @return array
+   *   (string $idxName => string $sql)
    */
   public function dropIndexSql($table) {
     $sqls = array();
index 87f31061ab2339b39113561c2ea0d97912c5d144..a7cdfa88b4c70aae4a044baa120ceba20de81fac 100644 (file)
@@ -153,7 +153,8 @@ class CRM_Core_JobManager {
    * populates class param.
    *
    * @param void
-   * @return array ($id => CRM_Core_ScheduledJob)
+   * @return array
+   *   ($id => CRM_Core_ScheduledJob)
    *
    */
   /**
index b724685d3771d5c651091e3204fb978244276656..b7ab0805aef61605d963d5c91c67cc6366ab489b 100644 (file)
@@ -40,7 +40,8 @@ class CRM_Core_Key {
   /**
    * Generate a private key per session and store in session
    *
-   * @return string private key for this session
+   * @return string
+   *   private key for this session
    * @static
    */
   public static function privateKey() {
@@ -78,7 +79,8 @@ class CRM_Core_Key {
    * @param bool $addSequence
    *   Should we add a unique sequence number to the end of the key.
    *
-   * @return string       valid formID
+   * @return string
+   *   valid formID
    * @static
    */
   public static function get($name, $addSequence = FALSE) {
@@ -101,7 +103,8 @@ class CRM_Core_Key {
    * @param string $name
    * @param bool $addSequence
    *
-   * @return string $formKey if valid, else null
+   * @return string
+   *   if valid, else null
    * @static
    */
   public static function validate($key, $name, $addSequence = FALSE) {
index a0935dcf28414dad3803ec998ab5c050588767ab..7a093c07ee5fea84ef89c8e9087dab5cd3412a0d 100644 (file)
@@ -325,7 +325,8 @@ class CRM_Core_ManagedEntities {
   /**
    * @param $modules
    *
-   * @return array indexed by is_active,name
+   * @return array
+   *   indexed by is_active,name
    */
   protected static function createModuleIndex($modules) {
     $result = array();
@@ -339,7 +340,8 @@ class CRM_Core_ManagedEntities {
    * @param $moduleIndex
    * @param $declarations
    *
-   * @return array indexed by module,name
+   * @return array
+   *   indexed by module,name
    */
   protected static function createDeclarationIndex($moduleIndex, $declarations) {
     $result = array();
index d1a4895492d63c2ed48e9276dc0679f42f1d8a04..0ef616d7204b162cd006b081944ae537dcf72649 100644 (file)
@@ -487,7 +487,8 @@ class CRM_Core_Menu {
    * @param string $path
    *   Path for which breadcrumb is to be build.
    *
-   * @return array  The breadcrumb for this path
+   * @return array
+   *   The breadcrumb for this path
    *
    * @static
    */
index da62d5ea6c4b885e7e80ab3101f1e562b0384445..5969ae08027ea2f4933428bad637ef80379b9196 100644 (file)
@@ -112,7 +112,8 @@ class CRM_Core_OptionGroup {
    * @param string $keyColumnName
    *   the column to use for 'key'.
    *
-   * @return array      the values as specified by the above params
+   * @return array
+   *   the values as specified by the above params
    * @static
    * @void
    */
@@ -218,7 +219,8 @@ WHERE  v.option_group_id = g.id
    * @param bool $onlyActive
    * @param bool $fresh
    *
-   * @return array of values as specified by the above params
+   * @return array
+   *   of values as specified by the above params
    * @static
    * @void
    */
@@ -419,7 +421,8 @@ WHERE  v.option_group_id = g.id
    *
    * @static
    *
-   * @return string   the value from the row where is_default = true
+   * @return string
+   *   the value from the row where is_default = true
    */
   public static function getDefaultValue($groupName) {
     if (empty($groupName)) {
@@ -467,7 +470,8 @@ WHERE  v.option_group_id = g.id
    *
    * @static
    *
-   * @return int   the option group ID
+   * @return int
+   *   the option group ID
    */
   public static function createAssoc($groupName, &$values, &$defaultID, $groupTitle = NULL) {
     self::deleteAssoc($groupName);
index c0b899f302a15e4e5e1591d5bafaa00730b5080b..b67d01c75d92c44a1597a0df3efdfb1f5d799355 100644 (file)
@@ -68,7 +68,8 @@ class CRM_Core_OptionValue {
    * @param array $links
    *   Has links like edit, delete, disable ..etc.
    *
-   * @return array of option-values
+   * @return array
+   *   of option-values
    *
    * @static
    */
@@ -254,7 +255,8 @@ class CRM_Core_OptionValue {
    * @param string $fieldName
    *   The name of the field in the DAO.
    *
-   * @return boolean     true if object exists
+   * @return boolean
+   *   true if object exists
    * @static
    */
   public static function optionExists($value, $daoName, $daoID, $optionGroupID, $fieldName = 'name') {
@@ -276,7 +278,8 @@ class CRM_Core_OptionValue {
    * @param string $mode
    * @param string $contactType
    *
-   * @return boolean     true if object exists
+   * @return boolean
+   *   true if object exists
    * @static
    */
   public static function getFields($mode = '', $contactType = 'Individual') {
@@ -384,7 +387,8 @@ class CRM_Core_OptionValue {
    * @param bool $isActiveDo you want only active option values?.
    *   Do you want only active option values?.
    *
-   * @return array of option-values
+   * @return array
+   *   of option-values
    *
    * @static
    */
index 62e13b997042adccd60844636d3baaee6cc3cf1b..8bccb11369abf086416c0362aaeab62fc98b4a91 100644 (file)
@@ -376,7 +376,8 @@ class CRM_Core_Page {
   /**
    * Getter for embedded
    *
-   * @return boolean return the embedded value
+   * @return boolean
+   *   return the embedded value
    */
   public function getEmbedded() {
     return $this->_embedded;
@@ -396,7 +397,8 @@ class CRM_Core_Page {
   /**
    * Getter for print
    *
-   * @return boolean return the print value
+   * @return boolean
+   *   return the print value
    */
   public function getPrint() {
     return $this->_print;
index ee221d3a82d7c669b3a3146f0682777935891d08..dcb938f6229fd630d71287da3b86f88f640af375 100644 (file)
@@ -17,7 +17,8 @@ class CRM_Core_Page_Angular extends CRM_Core_Page {
    * pages. This typically involves assigning the appropriate
    * smarty variable :)
    *
-   * @return string The content generated by running this page
+   * @return string
+   *   The content generated by running this page
    */
   public function run() {
     $this->registerResources(CRM_Core_Resources::singleton());
@@ -63,7 +64,8 @@ class CRM_Core_Page_Angular extends CRM_Core_Page {
   /**
    * Get a list of AngularJS modules which should be autoloaded
    *
-   * @return array (string $name => array('ext' => string $key, 'js' => array $paths, 'css' => array $paths))
+   * @return array
+   *   (string $name => array('ext' => string $key, 'js' => array $paths, 'css' => array $paths))
    */
   public static function getAngularModules() {
     $angularModules = array();
index 81c9902d638c4d768209c80c95af736ea2dd39f0..7fe2ba19a16c2a0fa568bba13428212a3dd6093a 100644 (file)
@@ -55,7 +55,8 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   /**
    * An array of action links
    *
-   * @return array (reference)
+   * @return array
+   *   (reference)
    */
   abstract function &links();
 
@@ -103,7 +104,8 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
    * @param int $name
    *   The name or title of the object.
    *
-   * @return string   permission value if permission is granted, else null
+   * @return string
+   *   permission value if permission is granted, else null
    */
   public function checkPermission($id, $name) {
     return CRM_Core_Permission::EDIT;
index 4550cfd70c41f369856f4158b448b885bcf444d7..31ad0fc831d24dc1fd5511c5beb8d95fe44d0ec6 100644 (file)
@@ -29,7 +29,8 @@ class CRM_Core_Page_Redirect extends CRM_Core_Page {
    *   Any parameters passed as part of this page request.
    * @param bool $absolute
    *   Whether to return an absolute URL.
-   * @return string URL
+   * @return string
+   *   URL
    */
   public static function createUrl($requestPath, $requestArgs, $pageArgs, $absolute) {
     if (empty($pageArgs['url'])) {
index 840d7f6b400913c3554f355623a44b085ce74b73..9a9961a383925ec60ffded2f98ef00411b246829 100644 (file)
@@ -267,7 +267,8 @@ abstract class CRM_Core_Payment {
    * 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
+   * @return array
+   *   field metadata
    */
   public function getPaymentFormFieldsMetadata() {
     //@todo convert credit card type into an option value
@@ -402,7 +403,8 @@ abstract class CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   abstract function doDirectPayment(&$params);
@@ -415,7 +417,8 @@ abstract class CRM_Core_Payment {
    *
    * @param $component
    *
-   * @return array $params (modified)
+   * @return array
+   *   (modified)
    * @throws CRM_Core_Exception
    */
   public function doPayment(&$params, $component) {
@@ -435,7 +438,8 @@ abstract class CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   abstract function checkConfig();
 
index a803adb5ad9f489528de2db16b2e06628ac75bd9..824265d999447eecb5cb162d5bea98def8fb2b27 100644 (file)
@@ -80,7 +80,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in a nice formatted array (or an error object)
+   * @return array
+   *   the result in a nice formatted array (or an error object)
    */
   public function doDirectPayment(&$params) {
     if (!defined('CURLOPT_SSLCERT')) {
@@ -379,7 +380,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
    * @param int $invoiceId
    *   The ID to check.
    *
-   * @return bool                 True if ID exists, else false
+   * @return bool
+   *   True if ID exists, else false
    */
   public function _checkDupe($invoiceId) {
     $contribution = new CRM_Contribute_DAO_Contribution();
@@ -393,7 +395,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
    * @param string $key
    * @param string $data
    *
-   * @return string the HMAC_MD5 encoding string
+   * @return string
+   *   the HMAC_MD5 encoding string
    **/
   public function hmac($key, $data) {
     if (function_exists('mhash')) {
@@ -455,7 +458,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   /**
    * Calculate and return the transaction fingerprint
    *
-   * @return string fingerprint
+   * @return string
+   *   fingerprint
    **/
   public function CalculateFP() {
     $x_tran_key  = $this->_getParam('paymentKey');
@@ -475,7 +479,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
    * @param string $data
    *   A single CSV line.
    *
-   * @return array CSV fields
+   * @return array
+   *   CSV fields
    */
   public function explode_csv($data) {
     $data = trim($data);
@@ -511,7 +516,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
    * @param string $content
    *   XML reply from Authorize.Net.
    *
-   * @return array refId, resultCode, code, text, subscriptionId
+   * @return array
+   *   refId, resultCode, code, text, subscriptionId
    */
   public function _parseArbReturn($content) {
     $refId          = $this->_substring_between($content, '<refId>', '</refId>');
@@ -587,7 +593,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
    * @param string $field
    * @param mixed $value
    *
-   * @return bool false if value is not a scalar, true if successful
+   * @return bool
+   *   false if value is not a scalar, true if successful
    */
   public function _setParam($field, $value) {
     if (!is_scalar($value)) {
@@ -601,7 +608,8 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $error = array();
index c7b667412df33989e79c8aacccca0fe51cb5a140..1364467027dcbf398824fbeed27fa19391611a89 100644 (file)
@@ -63,7 +63,8 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in a nice formatted array (or an error object)
+   * @return array
+   *   the result in a nice formatted array (or an error object)
    */
   public function doDirectPayment(&$params) {
     // Invoke hook_civicrm_paymentProcessor
@@ -134,7 +135,8 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     return NULL;
index 79569fa36e200f9787418caa3b0d322011356031..8e1b720504a23f20c45c8727fa6154911004497d 100644 (file)
@@ -295,7 +295,8 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
    * @param int $invoiceId
    *   The ID to check.
    *
-   * @return bool                  True if ID exists, else false
+   * @return bool
+   *   True if ID exists, else false
    */
   public function _checkDupe($invoiceId) {
     $contribution = new CRM_Contribute_DAO_Contribution();
index efc9c46f5037ec0905ad678388c93aa2c5b1b5a4..be6fa7689b80849530cd3570332fcec7b849d295 100644 (file)
@@ -307,7 +307,8 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
    * @param int $invoiceId
    *   The ID to check.
    *
-   * @return bool                  True if ID exists, else false
+   * @return bool
+   *   True if ID exists, else false
    */
   public function _checkDupe($invoiceId) {
     $contribution = new CRM_Contribute_DAO_Contribution();
index 5d5f7c760e8818682b77fb08d64c92909b92833d..0835a4be7bd8759864c3cb05671a38d89072ace3 100644 (file)
@@ -78,7 +78,8 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $config = CRM_Core_Config::singleton();
@@ -108,7 +109,8 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   public function doDirectPayment(&$params) {
index 595b2271c508df2c2383d63b7cdf9795ba5bb504..2d2a59ef22174d4b0d0d84c4ffc84d98d0bf7c45 100644 (file)
@@ -449,7 +449,8 @@ WHERE  contribution_recur_id = {$ids['contributionRecur']}
    * @param $response
    * @param $serial
    * @internal param \xml $xml_response response send by google in xml format
-   * @return array context of this call (test, module, payment processor id)
+   * @return array
+   *   context of this call (test, module, payment processor id)
    * @static
    */
   public function getContext($privateData, $orderNo, $root, $response, $serial) {
index 8c4f9a47fbe901ecb8f4a3a3e89fdfffcdfd1c22..dcf3f7a7e44c44b71ef658beb959e4adae134aa6 100644 (file)
@@ -82,7 +82,8 @@ class CRM_Core_Payment_IATS extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   public function doDirectPayment(&$params) {
@@ -324,7 +325,8 @@ class CRM_Core_Payment_IATS extends CRM_Core_Payment {
    *
    * @internal param string $mode the mode we are operating in (live or test)
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $error = array();
index d86b48da46447becc043aedb8e617ce536a37e10..a4ba734a621463ac3bca019d30f962bea6674d9d 100644 (file)
@@ -86,7 +86,8 @@ class CRM_Core_Payment_Moneris extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   public function doDirectPayment(&$params) {
@@ -312,7 +313,8 @@ class CRM_Core_Payment_Moneris extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $error = array();
index 0c7c73bb30e7f27068715bf87ac62619d055bc6c..58ce4cfce50c6c6de377a5167436e9985607d5c8 100644 (file)
@@ -58,7 +58,8 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   public function doDirectPayment(&$params) {
@@ -251,7 +252,8 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
    * @param string $field
    * @param mixed $value
    *
-   * @return bool false if value is not a scalar, true if successful
+   * @return bool
+   *   false if value is not a scalar, true if successful
    */
   public function _setParam($field, $value) {
     if (!is_scalar($value)) {
@@ -265,7 +267,8 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $error = array();
index 84199205af34e8ae33a6e3447de0505ea687ceb7..0074366d06f9915203c9f020ea0def5e585ee382 100644 (file)
@@ -91,7 +91,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    */
   public function setExpressCheckOut(&$params) {
     $args = array();
@@ -135,7 +136,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
    * @param string $token
    *   The key associated with this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    */
   public function getExpressCheckoutDetails($token) {
     $args = array();
@@ -177,7 +179,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
    *
    * @internal param string $token the key associated with this transaction
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    */
   public function doExpressCheckout(&$params) {
     $args = array();
@@ -295,7 +298,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
    *   Assoc array of input parameters for this transaction.
    *
    * @param string $component
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    */
   public function doDirectPayment(&$params, $component = 'contribute') {
     $args = array();
@@ -371,7 +375,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $error = array();
index e098426081013c6270a244c9429d7027f9cb7121..b4ae921d6c58e955c98993f467ab09dcb005d218 100644 (file)
@@ -57,7 +57,8 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   public function doDirectPayment(&$params) {
@@ -352,7 +353,8 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment {
    * @param int $invoiceId
    *   The ID to check.
    *
-   * @return bool                  True if ID exists, else false
+   * @return bool
+   *   True if ID exists, else false
    */
   public function _checkDupe($invoiceId) {
     //copied from Eway but not working and not really sure it should!
@@ -416,7 +418,8 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment {
    *
    * @internal param string $mode the mode we are operating in (live or test)
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $errorMsg = array();
index cd18cb4dc7b53142ddafc1ed4da7321e0d4b697a..ee7f4b59dc0396c61c04af38672b26081d33fc78 100644 (file)
@@ -72,7 +72,8 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
    *
    * @internal param string $mode the mode we are operating in (live or test)
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $config = CRM_Core_Config::singleton();
@@ -129,7 +130,8 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   public function doDirectPayment(&$params) {
index f500076b996d13c1a86bc10945afa242f7d9934d..de4b32457be1b9294e05765a6b70fc081a9fcea1 100644 (file)
@@ -197,7 +197,8 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
    * @param int $orderNo
    *   <order-total> send by google.
    *
-   * @return array context of this call (test, component, payment processor id)
+   * @return array
+   *   context of this call (test, component, payment processor id)
    * @static
    */
   public static function getContext($privateData, $orderNo) {
index a1a10e4fe08b90444f3175dad72e062d3699f21b..06186d5ec04e4b846e160a03c6f23106ffeee940 100644 (file)
@@ -120,7 +120,8 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in a nice formatted array (or an error object)
+   * @return array
+   *   the result in a nice formatted array (or an error object)
    */
   public function doDirectPayment(&$params) {
 
@@ -263,7 +264,8 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
    * @param string $xml
    *   an XML string.
    *
-   * @return array An array of the result with following keys:
+   * @return array
+   *   An array of the result with following keys:
    */
   public function xml_parse_into_assoc($xml) {
     $input = array();
@@ -433,7 +435,8 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
    * @param int $invoiceId
    *   The ID to check.
    *
-   * @return bool                  True if ID exists, else false
+   * @return bool
+   *   True if ID exists, else false
    */
   public function _checkDupe($invoiceId) {
     $contribution = new CRM_Contribute_DAO_Contribution();
@@ -466,7 +469,8 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
    * @param string $field
    * @param mixed $value
    *
-   * @return bool false if value is not a scalar, true if successful
+   * @return bool
+   *   false if value is not a scalar, true if successful
    */
   public function _setParam($field, $value) {
     if (!is_scalar($value)) {
@@ -513,7 +517,8 @@ class CRM_Core_Payment_Realex extends CRM_Core_Payment {
   /**
    * This function checks to see if we have the right config values
    *
-   * @return string the error message if any
+   * @return string
+   *   the error message if any
    */
   public function checkConfig() {
     $error = array();
index 1b313e805f9458444cc4d77aabbae1d94725e187..7dca6225480a439aea34b493ba5818288f0c02ea 100644 (file)
@@ -412,7 +412,8 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
    * @param int $invoiceId
    *   The ID to check.
    *
-   * @return bool                 True if ID exists, else false
+   * @return bool
+   *   True if ID exists, else false
    */
   public function _checkDupe($invoiceId) {
     $contribution = new CRM_Contribute_DAO_Contribution();
index b917d2af77be5f00c1d61939e584ad9288039809..9b168cd768eb7fce75f59197c11020be7e581db8 100644 (file)
@@ -73,7 +73,8 @@ class CRM_Core_Permission {
   /**
    * Get the current permission of this user
    *
-   * @return string the permission of the user (edit or view or null)
+   * @return string
+   *   the permission of the user (edit or view or null)
    */
   public static function getPermission() {
     $config = CRM_Core_Config::singleton();
@@ -113,7 +114,8 @@ class CRM_Core_Permission {
    *    array('access CiviEvent', 'access CiviContribute')
    *  ),
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    * @static
    */
   public static function check($permissions) {
@@ -161,7 +163,8 @@ class CRM_Core_Permission {
    * @param array $array
    *   The group/role to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    * @static
    */
   public static function checkGroupRole($array) {
@@ -179,7 +182,8 @@ class CRM_Core_Permission {
    * @param array $whereTables
    *   (reference ) add the tables that are needed for the where clause.
    *
-   * @return string the group where clause for this user
+   * @return string
+   *   the group where clause for this user
    */
   public static function getPermissionedStaticGroupClause($type, &$tables, &$whereTables) {
     $config = CRM_Core_Config::singleton();
@@ -196,7 +200,8 @@ class CRM_Core_Permission {
    *
    * @static
    *
-   * @return array - array reference of all groups.
+   * @return array
+   *   array reference of all groups.
    */
   public static function group($groupType, $excludeHidden = TRUE) {
     $config = CRM_Core_Config::singleton();
@@ -748,7 +753,8 @@ class CRM_Core_Permission {
    * @param string $permissionName
    *   Name of the permission we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public static function permissionEmails($permissionName) {
     $config = CRM_Core_Config::singleton();
@@ -761,7 +767,8 @@ class CRM_Core_Permission {
    * @param string $roleName
    *   Name of the role we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public static function roleEmails($roleName) {
     $config = CRM_Core_Config::singleton();
index ba9365e0e33b3bdd08031bfd7677fb51dbd107e0..a5e98cdbc7d34930cf916ae638a1ec72decef539 100644 (file)
@@ -73,7 +73,8 @@ class CRM_Core_Permission_Base {
   /**
    * Get the current permission of this user
    *
-   * @return string the permission of the user (edit or view or null)
+   * @return string
+   *   the permission of the user (edit or view or null)
    */
   public function getPermission() {
     return CRM_Core_Permission::EDIT;
@@ -89,7 +90,8 @@ class CRM_Core_Permission_Base {
    * @param array $whereTables
    *   (reference ) add the tables that are needed for the where clause.
    *
-   * @return string the group where clause for this user
+   * @return string
+   *   the group where clause for this user
    */
   public function whereClause($type, &$tables, &$whereTables) {
     return '( 1 )';
@@ -104,7 +106,8 @@ class CRM_Core_Permission_Base {
    * @param array $whereTables
    *   (reference ) add the tables that are needed for the where clause.
    *
-   * @return string the group where clause for this user
+   * @return string
+   *   the group where clause for this user
    */
   public function getPermissionedStaticGroupClause($type, &$tables, &$whereTables) {
     $this->group();
@@ -120,7 +123,8 @@ class CRM_Core_Permission_Base {
    * @param bool|\boolen $excludeHidden exclude hidden groups.
    *
    *
-   * @return array - array reference of all groups.
+   * @return array
+   *   array reference of all groups.
    */
   public function group($groupType = NULL, $excludeHidden = TRUE) {
     return CRM_Core_PseudoConstant::allGroup($groupType, $excludeHidden);
@@ -136,7 +140,8 @@ class CRM_Core_Permission_Base {
    * @param array $whereTables
    *   (reference ) add the tables that are needed for the where clause.
    *
-   * @return string the group where clause for this user
+   * @return string
+   *   the group where clause for this user
    */
   public function groupClause($type, &$tables, &$whereTables) {
     return ' (1) ';
@@ -148,7 +153,8 @@ class CRM_Core_Permission_Base {
    * @param string $str
    *   The permission to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
 
   public function check($str) {
@@ -161,7 +167,8 @@ class CRM_Core_Permission_Base {
    * @param array $array
    *   The roles to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
 
   public function checkGroupRole($array) {
@@ -174,7 +181,8 @@ class CRM_Core_Permission_Base {
    * @param string $permissionName
    *   Name of the permission we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public function permissionEmails($permissionName) {
     CRM_Core_Error::fatal("this function only works in Drupal 6 at the moment");
@@ -186,7 +194,8 @@ class CRM_Core_Permission_Base {
    * @param string $roleName
    *   Name of the role we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public function roleEmails($roleName) {
     CRM_Core_Error::fatal("this function only works in Drupal 6 at the moment");
@@ -228,7 +237,8 @@ class CRM_Core_Permission_Base {
    *
    * @param $module
    *
-   * @return Array of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
+   * @return Array
+   *   of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
    * @see CRM_Core_Permission::getCorePermissions
    */
   public static function getModulePermissions($module) {
@@ -246,7 +256,8 @@ class CRM_Core_Permission_Base {
    * Get the permissions defined in the hook_civicrm_permission implementation
    * in all enabled CiviCRM module extensions.
    *
-   * @return Array of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
+   * @return Array
+   *   of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
    */
   public function getAllModulePermissions() {
     $permissions = array();
index dbac73bc574007963f6df7caf67ebf53e15938bf..85f1e917636f73622b26931f0a8d0ef207104c37 100644 (file)
@@ -70,7 +70,8 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase {
    *
    * @param int $contactID
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
   public function check($str, $contactID = NULL) {
     $str = $this->translatePermission($str, 'Drupal', array(
@@ -95,7 +96,8 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase {
    * @param array $array
    *   The roles to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
   public function checkGroupRole($array) {
     if (function_exists('user_load') && isset($array)) {
@@ -136,7 +138,8 @@ class CRM_Core_Permission_Drupal extends CRM_Core_Permission_DrupalBase {
    * @param string $permissionName
    *   Name of the permission we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public function permissionEmails($permissionName) {
     static $_cache = array();
index a195f52ec6224aba90a3bda0a26a0907b836a4cf..21060df837ccd778feeb8bbef57944fe1c740d27 100644 (file)
@@ -69,7 +69,8 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
    *
    * @param int $contactID
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
   public function check($str, $contactID = NULL) {
     $str = $this->translatePermission($str, 'Drupal6', array(
@@ -94,7 +95,8 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
    * @param array $array
    *   The roles to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
 
   public function checkGroupRole($array) {
@@ -116,7 +118,8 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
    * @param string $roleName
    *   Name of the role we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public function roleEmails($roleName) {
     static $_cache = array();
@@ -150,7 +153,8 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
    * @param string $permissionName
    *   Name of the permission we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public function permissionEmails($permissionName) {
     static $_cache = array();
@@ -200,7 +204,8 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
    *
    * @param $module
    *
-   * @return Array of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
+   * @return Array
+   *   of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
    */
   public static function getModulePermissions($module) {
     $return_permissions = array();
index ac499f1ae7f9b629358b0025fcb7ae2d172d1fc6..7d0e9c29711b18869de515db44536a1d25233ae1 100644 (file)
@@ -71,7 +71,8 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
    *   Exclude hidden groups.
    *
    *
-   * @return array - array reference of all groups.
+   * @return array
+   *   array reference of all groups.
    */
   public function group($groupType = NULL, $excludeHidden = TRUE) {
     if (!isset($this->_viewPermissionedGroups)) {
@@ -143,7 +144,8 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
    * @param array $whereTables
    *   (reference) add the tables that are needed for the where clause.
    *
-   * @return string the clause to add to the query retrieving viewable groups
+   * @return string
+   *   the clause to add to the query retrieving viewable groups
    */
   public function groupClause($type, &$tables, &$whereTables) {
     if (!isset($this->_viewPermissionedGroups)) {
@@ -206,7 +208,8 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
   /**
    * Get the current permission of this user
    *
-   * @return string the permission of the user (edit or view or null)
+   * @return string
+   *   the permission of the user (edit or view or null)
    */
   public function getPermission() {
     $this->group();
@@ -256,7 +259,8 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
    * @param array $array
    *   The roles to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    *
    */
   public function checkGroupRole($array) {
@@ -285,7 +289,8 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
    * @param string $permissionName
    *   Name of the permission we are interested in.
    *
-   * @return string a comma separated list of email addresses
+   * @return string
+   *   a comma separated list of email addresses
    */
   public function permissionEmails($permissionName) {
     static $_cache = array();
index 0c87db1fe0c52b954b2fdd106870c62df8c556eb..a1fcec625504253439c284005981cb6999c8d80b 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Core_Permission_Joomla extends CRM_Core_Permission_Base {
    * @param string $str
    *   The permission to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
   public function check($str) {
     $config = CRM_Core_Config::singleton();
@@ -103,7 +104,8 @@ class CRM_Core_Permission_Joomla extends CRM_Core_Permission_Base {
    * @param array $array
    *   The roles to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    * @static
    */
   public function checkGroupRole($array) {
index c8df36b40982b6f4ee4981f8e702956c2be921c4..1b35fe8e55babf31695cd0a39703fdfbdfd4edb6 100644 (file)
@@ -44,7 +44,8 @@ class CRM_Core_Permission_Soap extends CRM_Core_Permission_Base {
    * @param string $str
    *   The permission to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
 
   public function check($str) {
index 4345800486e19048709284c91e992baba70e179e..904703fc7f710213aed19d67d74f499aecd83b48 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Core_Permission_UnitTests extends CRM_Core_Permission_Base {
    * @param string $str
    *   The permission to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
   public function check($str) {
     if ($str == CRM_Core_Permission::ALWAYS_DENY_PERMISSION) {
@@ -71,7 +72,8 @@ class CRM_Core_Permission_UnitTests extends CRM_Core_Permission_Base {
    * @param array $whereTables
    *   (reference ) add the tables that are needed for the where clause.
    *
-   * @return string the group where clause for this user
+   * @return string
+   *   the group where clause for this user
    */
   public function whereClause($type, &$tables, &$whereTables) {
     return '( 1 )';
index 01bbe9e58d655fd89db99b5f9896084aab4bb425..abfdc3445699c7b2b6e87fe5b9e2268fcb998975 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base {
    * @param string $str
    *   The permission to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    */
   public function check($str) {
     // Generic cms 'administer users' role tranlates to 'administrator' WordPress role
index ba5844af16907eb7d06d3bcf334f697f151de9dc..b4a96af61b55435476056d5cdd5d3a5ae2413965 100644 (file)
@@ -630,7 +630,8 @@ class CRM_Core_PseudoConstant {
    *
    * @static
    *
-   * @return array - array reference of all activity types.
+   * @return array
+   *   array reference of all activity types.
    */
   public static function &activityType() {
     $args = func_get_args();
@@ -708,7 +709,8 @@ class CRM_Core_PseudoConstant {
    *
    * @param bool $limit
    *
-   * @return array - array reference of all State/Provinces.
+   * @return array
+   *   array reference of all State/Provinces.
    */
   public static function &stateProvince($id = FALSE, $limit = TRUE) {
     if (($id && !CRM_Utils_Array::value($id, self::$stateProvince)) || !self::$stateProvince || !$id) {
@@ -763,7 +765,8 @@ class CRM_Core_PseudoConstant {
    *
    * @param bool $limit
    *
-   * @return array - array reference of all State/Province abbreviations.
+   * @return array
+   *   array reference of all State/Province abbreviations.
    */
   public static function &stateProvinceAbbreviation($id = FALSE, $limit = TRUE) {
     if ($id > 1) {
@@ -830,7 +833,8 @@ WHERE  id = %1";
    *
    * @param bool $applyLimit
    *
-   * @return array - array reference of all countries.
+   * @return array
+   *   array reference of all countries.
    */
   public static function country($id = FALSE, $applyLimit = TRUE) {
     if (($id && !CRM_Utils_Array::value($id, self::$country)) || !self::$country || !$id) {
@@ -905,7 +909,8 @@ WHERE  id = %1";
    *
    * @param bool $id
    *
-   * @return array - array reference of all country ISO codes.
+   * @return array
+   *   array reference of all country ISO codes.
    */
   public static function &countryIsoCode($id = FALSE) {
     if (!self::$countryIsoCode) {
@@ -940,7 +945,8 @@ WHERE  id = %1";
    *
    * @static
    *
-   * @return array - array reference of all groups.
+   * @return array
+   *   array reference of all groups.
    */
   public static function &allGroup($groupType = NULL, $excludeHidden = TRUE) {
     $condition = CRM_Contact_BAO_Group::groupTypeCondition($groupType, $excludeHidden);
@@ -999,7 +1005,8 @@ WHERE  id = %1";
    *
    * @static
    *
-   * @return array - array reference of all groups.
+   * @return array
+   *   array reference of all groups.
    */
   public static function group($groupType = NULL, $excludeHidden = TRUE) {
     return CRM_Core_Permission::group($groupType, $excludeHidden);
@@ -1032,7 +1039,8 @@ WHERE  id = %1";
    * @param null $groupType
    * @param bool $excludeHidden
    *
-   * @return array - array reference of all groups.
+   * @return array
+   *   array reference of all groups.
    */
   public static function &staticGroup($onlyPublic = FALSE, $groupType = NULL, $excludeHidden = TRUE) {
     if (!self::$staticGroup) {
@@ -1071,7 +1079,8 @@ WHERE  id = %1";
    *
    * @static
    *
-   * @return array - array reference of all relationship types.
+   * @return array
+   *   array reference of all relationship types.
    */
   public static function &relationshipType($valueColumnName = 'label', $reset = FALSE) {
     if (!CRM_Utils_Array::value($valueColumnName, self::$relationshipType) || $reset) {
@@ -1109,7 +1118,8 @@ WHERE  id = %1";
    * so far, we use this for validation only, so there's no point of putting this into the database
    *
    *
-   * @return array - array reference of all currency codes
+   * @return array
+   *   array reference of all currency codes
    * @static
    */
   public static function &currencyCode() {
@@ -1400,7 +1410,8 @@ WHERE  id = %1";
    *
    * @param bool|int $id - Optional id to return
    *
-   * @return array - array reference of all Counties
+   * @return array
+   *   array reference of all Counties
    */
   public static function &county($id = FALSE) {
     if (!self::$county) {
@@ -1435,7 +1446,8 @@ WHERE  id = %1";
    *
    * @param null $additionalCond
    *
-   * @return array - array of all payment processors
+   * @return array
+   *   array of all payment processors
    */
   public static function &paymentProcessor($all = FALSE, $test = FALSE, $additionalCond = NULL) {
     $condition = "is_test = ";
@@ -1470,7 +1482,8 @@ WHERE  id = %1";
    * @param int $id
    * @param string $return
    *
-   * @return array - array of all payment processor types
+   * @return array
+   *   array of all payment processor types
    */
   public static function &paymentProcessorType($all = FALSE, $id = NULL, $return = 'title') {
     $cacheKey = $id . '_' . $return;
@@ -1489,7 +1502,8 @@ WHERE  id = %1";
    *
    * @param bool $id
    *
-   * @return array - array reference of all World Regions
+   * @return array
+   *   array reference of all World Regions
    * @static
    */
   public static function &worldRegion($id = FALSE) {
@@ -1520,7 +1534,8 @@ WHERE  id = %1";
    *
    * @param string $column
    *
-   * @return array - array reference of all activity statuses
+   * @return array
+   *   array reference of all activity statuses
    */
   public static function &activityStatus($column = 'label') {
     if (NULL === self::$activityStatus) {
@@ -1546,7 +1561,8 @@ WHERE  id = %1";
    *
    * @param string $column
    *
-   * @return array - array reference of all Visibility levels.
+   * @return array
+   *   array reference of all Visibility levels.
    */
   public static function &visibility($column = 'label') {
     if (!isset(self::$visibility)) {
@@ -1679,7 +1695,8 @@ ORDER BY name";
    *
    * @param int $stateID
    *
-   * @return int the country id that the state belongs to
+   * @return int
+   *   the country id that the state belongs to
    * @static
    */
   public static function countryIDForStateID($stateID) {
@@ -1709,7 +1726,8 @@ WHERE  id = %1
    *
    * @param string $columnName
    *
-   * @return array - array reference of all greetings.
+   * @return array
+   *   array reference of all greetings.
    */
   public static function greeting($filter, $columnName = 'label') {
     $index = $filter['greeting_type'] . '_' . $columnName;
@@ -1755,7 +1773,8 @@ WHERE  id = %1
    *
    * @static
    *
-   * @return array - array reference of default greetings.
+   * @return array
+   *   array reference of default greetings.
    *
    */
   public static function &greetingDefaults() {
@@ -1788,7 +1807,8 @@ WHERE  id = %1
    *
    * @static
    *
-   * @return array - array($fullyQualifiedName => $label) list of extensions
+   * @return array
+   *   array($fullyQualifiedName => $label) list of extensions
    */
   public static function &getExtensions() {
     if (!self::$extensions) {
@@ -1820,7 +1840,8 @@ WHERE  id = %1
    * @param int $id
    * @param null $condition
    *
-   * @return array - array reference of all Option Group Name
+   * @return array
+   *   array reference of all Option Group Name
    */
   public static function accountOptionValues($optionGroupName, $id = NULL, $condition = NULL) {
     $cacheKey = $optionGroupName . '_' . $condition;
@@ -1841,7 +1862,8 @@ WHERE  id = %1
    *   Whether to forcibly reload extensions list from canonical store.
    * @static
    *
-   * @return array - array(array('prefix' => $, 'file' => $))
+   * @return array
+   *   array(array('prefix' => $, 'file' => $))
    */
   public static function getModuleExtensions($fresh = FALSE) {
     return CRM_Extension_System::singleton()->getMapper()->getActiveModuleFiles($fresh);
@@ -1855,7 +1877,8 @@ WHERE  id = %1
    *
    * @static
    *
-   * @return array - array list of tax rates with the financial type
+   * @return array
+   *   array list of tax rates with the financial type
    */
   public static function getTaxRates() {
     if (!self::$taxRates) {
index c331707e3446e6f28435f9273117a467f0d84017..8c02b4e943a9f8ddcbc2354eae2f76c2c8bd3590 100644 (file)
@@ -30,7 +30,8 @@ interface CRM_Core_Reference_Interface {
    *
    * @param CRM_Core_DAO $targetDao
    *   The instance for which we want references.
-   * @return array a record describing the reference; must include the keys:
+   * @return array
+   *   a record describing the reference; must include the keys:
    *  - 'type': string (not necessarily unique)
    *  - 'count': int
    */
index 97f03f5d84f55f4e6177ca435a73bf84890a964f..10e4f404606f25e2d44a84a74e4c4289d6b85258 100644 (file)
@@ -295,7 +295,8 @@ class CRM_Core_Resources {
   /**
    * @param array $settings
    * @param array $additions
-   * @return array combination of $settings and $additions
+   * @return array
+   *   combination of $settings and $additions
    */
   protected function mergeSettings($settings, $additions) {
     foreach ($additions as $k => $v) {
@@ -613,7 +614,8 @@ class CRM_Core_Resources {
   /**
    * Create dynamic script for localizing js widgets
    *
-   * @return string javascript content
+   * @return string
+   *   javascript content
    */
   public static function outputLocalizationJS() {
     CRM_Core_Page_AJAX::setJsHeaders();
@@ -716,7 +718,8 @@ class CRM_Core_Resources {
   }
 
   /**
-   * @return bool - is this page request an ajax snippet?
+   * @return bool
+   *   is this page request an ajax snippet?
    */
   public static function isAjaxMode() {
     return in_array(CRM_Utils_Array::value('snippet', $_REQUEST), array(CRM_Core_Smarty::PRINT_SNIPPET, CRM_Core_Smarty::PRINT_NOFORM, CRM_Core_Smarty::PRINT_JSON));
index 09fe679c7bc1446c80f1be2fac94d3cbea216b79..4839aa84648d34d86f622bd6d975f2b55af2da49 100644 (file)
@@ -280,7 +280,8 @@ class CRM_Core_SelectValues {
    * @param null $minOffset
    * @param null $maxOffset
    *
-   * @return array         the date array
+   * @return array
+   *   the date array
    * @static
    */
   public static function date($type = NULL, $format = NULL, $minOffset = NULL, $maxOffset = NULL) {
@@ -398,7 +399,8 @@ class CRM_Core_SelectValues {
   /**
    * Get the Map Provider
    *
-   * @return array $map array of map providers
+   * @return array
+   *   array of map providers
    * @static
    */
   public static function mapProvider() {
@@ -412,7 +414,8 @@ class CRM_Core_SelectValues {
   /**
    * Get the Geocoding Providers from available plugins
    *
-   * @return array $geo array of geocoder providers
+   * @return array
+   *   array of geocoder providers
    * @static
    */
   public static function geoProvider() {
@@ -427,7 +430,8 @@ class CRM_Core_SelectValues {
    * Get the Address Standardization Providers from available
    * plugins
    *
-   * @return array $addr array of address standardization providers
+   * @return array
+   *   array of address standardization providers
    * @static
    */
   public static function addressProvider() {
index 8e0f2167ba0b0cdd6d23f0dc54089539181b8b4b..2ffc53a2169cb5e988f87522d7590ba401992af5 100644 (file)
@@ -65,7 +65,8 @@ interface CRM_Core_Selector_API {
    *
    * @param string action the action being performed
    *
-   * @return array the elements that can be sorted along with their properties
+   * @return array
+   *   the elements that can be sorted along with their properties
    *
    */
   public function &getSortOrder($action);
@@ -79,7 +80,8 @@ interface CRM_Core_Selector_API {
    * @param enum $type
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $type = NULL);
 
@@ -88,7 +90,8 @@ interface CRM_Core_Selector_API {
    *
    * @param string action the action being performed
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    *
    *
    */
@@ -108,7 +111,8 @@ interface CRM_Core_Selector_API {
    * @param enum $type
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $type = NULL);
 
@@ -128,7 +132,8 @@ interface CRM_Core_Selector_API {
    *
    * @param string type the type of export required: csv/xml/foaf etc
    *
-   * @return string the fileName which we will munge to skip spaces and
+   * @return string
+   *   the fileName which we will munge to skip spaces and
    *                special characters to avoid various browser issues
    *
    */
index e992759f1a542c9d462d8f9f351e7f22bb35b0fd..36fa9fa600176bf4047e2bad741a6d6328dd3804 100644 (file)
@@ -66,7 +66,8 @@ class CRM_Core_Selector_Base {
    * @param string match the action to match against
    * @param string attribute the attribute to return ( name, link, title )
    *
-   * @return string            the attribute that matches the action if any
+   * @return string
+   *   the attribute that matches the action if any
    *
    *
    */
@@ -103,7 +104,8 @@ class CRM_Core_Selector_Base {
    * @param string $action
    *   The action being performed.
    *
-   * @return string template file name
+   * @return string
+   *   template file name
    */
   public function getTemplateFileName($action = NULL) {
     return (str_replace('_', DIRECTORY_SEPARATOR, CRM_Utils_System::getClassName($this)) . ".tpl");
@@ -114,7 +116,8 @@ class CRM_Core_Selector_Base {
    *
    * @param string action the action being performed
    *
-   * @return array the elements that can be sorted along with their properties
+   * @return array
+   *   the elements that can be sorted along with their properties
    */
   public function &getSortOrder($action) {
     $columnHeaders = &$this->getColumnHeaders(NULL);
index 8ba8865ccd7e7a38d9622fec2074e2a76c70c868..74cccbff10fa47328aa14e5806ea4d756104eb96 100644 (file)
@@ -260,7 +260,8 @@ class CRM_Core_Selector_Controller {
    * @param int $reset
    *   Are we being reset.
    *
-   * @return boolean   if the GET params are different from the session params
+   * @return boolean
+   *   if the GET params are different from the session params
    */
   public function hasChanged($reset) {
 
@@ -391,7 +392,8 @@ class CRM_Core_Selector_Controller {
    *
    * @param CRM_Core_Form $form
    *
-   * @return array of rows
+   * @return array
+   *   of rows
    */
   public function getRows($form) {
     if ($form->_output == self::EXPORT || $form->_output == self::SCREEN) {
@@ -409,7 +411,8 @@ class CRM_Core_Selector_Controller {
    * Default function for qill, if needed to be implemented, we
    * expect the subclass to do it
    *
-   * @return string the status message
+   * @return string
+   *   the status message
    */
   public function getQill() {
     return $this->_object->getQill();
@@ -496,7 +499,8 @@ class CRM_Core_Selector_Controller {
   /**
    * Getter for embedded
    *
-   * @return boolean return the embedded value
+   * @return boolean
+   *   return the embedded value
    */
   public function getEmbedded() {
     return $this->_embedded;
@@ -516,7 +520,8 @@ class CRM_Core_Selector_Controller {
   /**
    * Getter for print
    *
-   * @return boolean return the print value
+   * @return boolean
+   *   return the print value
    */
   public function getPrint() {
     return $this->_print;
index 6bc89eb9f2d168dc4e07c04cdd15023c0986921f..c84983e2c2a05eab783156c14c189b17975dae67 100644 (file)
@@ -411,7 +411,8 @@ class CRM_Core_Session {
   /**
    * Pops the top userContext stack
    *
-   * @return string the top of the userContext stack (also pops the top element)
+   * @return string
+   *   the top of the userContext stack (also pops the top element)
    *
    */
   public function popUserContext() {
@@ -423,7 +424,8 @@ class CRM_Core_Session {
   /**
    * Reads the top userContext stack
    *
-   * @return string the top of the userContext stack
+   * @return string
+   *   the top of the userContext stack
    *
    */
   public function readUserContext() {
@@ -454,7 +456,8 @@ class CRM_Core_Session {
    * @param bool $reset
    *   Should we reset the status variable?.
    *
-   * @return string        the status message if any
+   * @return string
+   *   the status message if any
    */
   public function getStatus($reset = FALSE) {
     $this->initialize();
index feeb368fa788fdc6d2c0e2942457bb4b28be5130..887ea1b8e36528c5e3a7d9b74c7008de88ab53bf 100644 (file)
@@ -166,7 +166,8 @@ class CRM_Core_ShowHideBlocks {
    * @param string $text
    * @param string $js
    *
-   * @return string      the formatted html link
+   * @return string
+   *   the formatted html link
    */
   public static function linkHtml($name, $href, $text, $js) {
     return '<a name="' . $name . '" id="' . $name . '" href="' . $href . '" ' . $js . ">$text</a>";
index e303ed4375364c4aee4ed014f5bb9c0f90b7ae6f..a39a478a0dd58ba7e2efba56c4d6af31a70a88e3 100644 (file)
@@ -48,7 +48,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string  the string, translated by gettext
+ * @return string
+   *   the string, translated by gettext
  */
 function smarty_block_edit($params, $text, &$smarty) {
   $action = $smarty->_tpl_vars['action'];
index 17a79e9f4bbfa77588c3ee92a44e6383063ee3bc..a87f7e85b9c1a30d8b22bf7a1004c7b65a27b974 100644 (file)
@@ -44,7 +44,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string  the string, translated by gettext
+ * @return string
+   *   the string, translated by gettext
  */
 function smarty_block_htxt($params, $text, &$smarty) {
   $id = $params['id'];
index 620bc5b3ce797bc7a0be19641d19016851580eeb..198df317c7824ae73db4c3814d2afa5c4edcd94e 100644 (file)
@@ -45,7 +45,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string  multilingualized query
+ * @return string
+   *   multilingualized query
  */
 function smarty_block_localize($params, $text, &$smarty) {
   if (!$smarty->_tpl_vars['multilingual']) {
index 82568680e7294e1246d3763e99a0c48c186ec5a7..64a1ad80aa759bb09025dd3afe69c38d4614867e 100644 (file)
@@ -46,7 +46,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string  the string, translated by gettext
+ * @return string
+   *   the string, translated by gettext
  */
 function smarty_block_serialize($params, $text, &$smarty) {
   return serialize($text);
index 435d24ab4dc79920145539d450ea87609cadbc5c..14c535e9f8c13e9a5214ebfc32bc53a5aef12ace 100644 (file)
@@ -47,7 +47,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string  the string, translated by gettext
+ * @return string
+   *   the string, translated by gettext
  */
 function smarty_block_ts($params, $text, &$smarty) {
   if (!isset($params['domain'])) {
index f0af444b03a7d416df23006bc2dcb473704e9dc1..ea8f01754e235dfdc4b6f8989e5c0554d404b6c3 100644 (file)
@@ -41,7 +41,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string the generated key
+ * @return string
+   *   the generated key
  */
 function smarty_function_crmKey($params, &$smarty) {
   return
index bd0371418bd3931ee6126b0a52ee2d1b70f2825d..252cdf08c694a858a949ea245080144fdabff115 100644 (file)
@@ -41,7 +41,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string HTML
+ * @return string
+   *   HTML
  */
 function smarty_function_crmNavigationMenu($params, &$smarty) {
   $config = CRM_Core_Config::singleton();
index 56848f9ea6721568431fdd7855edf71bd96a3b5b..17a0e6057a2b929697332a89dd39d3e42a521993 100644 (file)
@@ -42,7 +42,8 @@
  * @param object $smarty
  *   Reference to the smarty object.
  *
- * @return string HTML code of a link to documentation
+ * @return string
+   *   HTML code of a link to documentation
  */
 function smarty_function_docURL($params, &$smarty) {
   if (!isset($smarty)) {
index 38bcbe97aecf556aafd94e0b3613421dac65d234..bf93bddf162fca33d97d7f6a253de0b2f86d4297 100644 (file)
@@ -41,7 +41,8 @@
  * @param object $smarty
  *   Reference to the smarty object.
  *
- * @return string the help html to be inserted
+ * @return string
+   *   the help html to be inserted
  */
 function smarty_function_help($params, &$smarty) {
   if (!isset($params['id']) || !isset($smarty->_tpl_vars['config'])) {
index 66caa4a389c844395f84de25a316188b5a456988..11cf42ac95c5b9c21863c034bd17c355b249779b 100644 (file)
@@ -48,7 +48,8 @@
  * @param object $smarty
  *   The Smarty object.
  *
- * @return string  the string, translated by gettext
+ * @return string
+   *   the string, translated by gettext
  */
 function smarty_function_sectionTotal($params, &$smarty) {
   /* section totals are stored in template variable 'sectionTotals',
index 84947ac7b1f6815573b1680269bbb1e526be79fa..eab0a5df6a8b17a58da1bd88eba3fdf63d67e171 100644 (file)
@@ -41,7 +41,8 @@
  * @param string $class
  *   The new class or classes to add (separate with a space).
  *
- * @return string        the new modified html string
+ * @return string
+   *   the new modified html string
  */
 function smarty_modifier_crmAddClass($string, $class) {
   // Standardize white space
index df7a052ba6dba7082acca61d10dc0ea983f14b69..5021647e41fc466150abd333fa1a8e8d1692f2f5 100644 (file)
@@ -38,7 +38,8 @@
  *
  * @param string $btnName
  *
- * @return string  button type, one of: 'upload', 'next', 'back', 'cancel', 'refresh'
+ * @return string
+   *   button type, one of: 'upload', 'next', 'back', 'cancel', 'refresh'
  *                                      'submit', 'done', 'display', 'jump' 'process'
  */
 function smarty_modifier_crmBtnType($btnName) {
index 4b103da5bd8169bc7d331c3fad42df4dd20f12d6..ff045b67a62dfd8950f0668ec89453b27f828240 100644 (file)
@@ -42,7 +42,8 @@
  * @param null $dateFormat
  * @param bool $onlyTime
  *
- * @return string human readable date format | invalid date message
+ * @return string
+   *   human readable date format | invalid date message
  */
 function smarty_modifier_crmDate($dateString, $dateFormat = NULL, $onlyTime = FALSE) {
   if ($dateString) {
index 0db369aed79aa76d3dfd0d7d6aae6ae8c874bb7b..e4b5f10f1b7fc0b395edddd209c5958f4ebff22a 100644 (file)
@@ -44,7 +44,8 @@
  * @param string $attribute
  *   The attribute to modify.
  *
- * @return string        the new modified html string
+ * @return string
+   *   the new modified html string
  */
 function smarty_modifier_crmDelete($string, $attribute) {
   static $endOfElement = '/>';
index d71abb82f2e4339c4069fc3cfdba1883dd2cfff5..fb4c8b2f2f4dc994a0fab86e5712fd6916554182 100644 (file)
@@ -40,7 +40,8 @@
  *
  * @param bool $gdata
  *
- * @return string  formatted text
+ * @return string
+   *   formatted text
  */
 function smarty_modifier_crmICalDate($str, $gdata = FALSE) {
   return CRM_Utils_ICalendar::formatDate($str, $gdata);
index 17bd261571d101efa96556c132ecd3a1e1f3041f..e629e019536e49b50f6bc2012ae6e19b2be6482a 100644 (file)
@@ -38,7 +38,8 @@
  *
  * @param string $str
  *
- * @return string  formatted text
+ * @return string
+   *   formatted text
  */
 function smarty_modifier_crmICalText($str) {
   return CRM_Utils_ICalendar::formatText($str);
index 8546317cf822ff927a1c166845f8421b2b69f739..8c8ad733909d4ea833e6a0ee9f9f7668dd67d4b2 100644 (file)
@@ -48,7 +48,8 @@
  * @param string $insertBefore
  *   The string before which we want this tag inserted.
  *
- * @return string        the new modified html string
+ * @return string
+   *   the new modified html string
  */
 function smarty_modifier_crmInsert($string, $attribute, $value, $insertBefore = '/>') {
   return str_replace($insertBefore, ' ' . $attribute . '="' . $value . '"' . $insertBefore, $string);
index eebb65e4bab8e495b2e2f0789b05ba46f16fe745..227ad3f77e7c68bea3955eb31d2ce06975d4effe 100644 (file)
@@ -44,7 +44,8 @@
  * @param null $format
  * @param bool $onlyNumber
  *
- * @return string  formatted monetary amount
+ * @return string
+   *   formatted monetary amount
  */
 function smarty_modifier_crmMoney($amount, $currency = NULL, $format = NULL, $onlyNumber = FALSE) {
   return CRM_Utils_Money::format($amount, $currency, $format, $onlyNumber);
index 8916adea9d7898c85ff73e59490c57c14ae29fd9..fa810c250d42de6ac95377175ef5bfcffc8fc3f2 100644 (file)
@@ -46,7 +46,8 @@
  * @param string $thousands_sep
  *   Thousands sep character (if other than ",").
  *
- * @return string        the formatted string
+ * @return string
+   *   the formatted string
  *
  * For alternate decimal point and thousands separator, delimit values with single quotes in the template.
  * EXAMPLE:   {$number|crmNumberFormat:2:',':' '} for French notation - 1234.56 becomes 1 234,56
index 705e2640de321207e02e2bfd60cfc3b76c6e9d21..cd572a89b110393bd8f0b6766fae86c67fe11926 100644 (file)
@@ -46,7 +46,8 @@
  * @param string $value
  *   The new attribute value.
  *
- * @return string        the new modified html string
+ * @return string
+   *   the new modified html string
  */
 function smarty_modifier_crmReplace($string, $attribute, $value) {
   // we need to search and replace the string: $attribute=XXX or $attribute="XXX"
index 5b034d4ffba983bf573a32f91df7198921cc1728..76da47c45c68d7184b1f5b8f1704b070bc69fc74 100644 (file)
@@ -40,7 +40,8 @@
  * @param string $full
  *   All alternatives as a long string (or some other text).
  *
- * @return string       only the first alternative found (or the text without alternatives)
+ * @return string
+   *   only the first alternative found (or the text without alternatives)
  */
 function smarty_modifier_crmStripAlternatives($full) {
   return CRM_Utils_String::stripAlternatives($full);
index 51f5ab38a3f28555db206c93304841945773f6ff..5b2ae4b2bc0712cef02bb1630bdd4317715a7d17 100644 (file)
@@ -39,7 +39,8 @@
  * @param string $text
  *   Text to HTML-ize.
  *
- * @return string HTML-ized version of $text
+ * @return string
+   *   HTML-ized version of $text
  */
 function smarty_modifier_htmlize($text) {
   $text = preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?)@', '<a href="$1">$1</a>', $text);
index f9c5bc2d4fbb56328609d67c1e1e88a220c06c94..9e03697dc882684d82d0fff9de8f101df0f5f4ad 100644 (file)
@@ -40,7 +40,8 @@
  *
  * @param mixed $data
  *
- * @return string JSON
+ * @return string
+   *   JSON
  */
 function smarty_modifier_json($data) {
   return json_encode($data);
index d483956e92a00e8b5eb1394b22d2797f737a8412..a9bff2481f89bdb33d0fd58b350f7dca7cc5f28c 100644 (file)
@@ -195,7 +195,8 @@ class CRM_Core_StateMachine {
    * @param string $name
    *   The state name.
    *
-   * @return object the state object
+   * @return object
+   *   the state object
    */
   public function find($name) {
     if (array_key_exists($name, $this->_states)) {
@@ -209,7 +210,8 @@ class CRM_Core_StateMachine {
   /**
    * Return the list of state objects
    *
-   * @return array array of states in the state machine
+   * @return array
+   *   array of states in the state machine
    */
   public function getStates() {
     return $this->_states;
@@ -245,7 +247,8 @@ class CRM_Core_StateMachine {
   /**
    * Return the list of form objects
    *
-   * @return array array of pages in the state machine
+   * @return array
+   *   array of pages in the state machine
    */
   public function getPages() {
     return $this->_pages;
index b40f7ddb85931b806d8d2de0fd8253a8cad0931d..de9ea04349eacf1f99a5893dc7a2845208900fb9 100644 (file)
@@ -174,7 +174,8 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = $this->_values;
@@ -571,7 +572,8 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
    * @param $files
    * @param $self
    *
-   * @return array    if errors then list of errors to be posted back to the form,
+   * @return array
+   *   if errors then list of errors to be posted back to the form,
    *                  true otherwise
    * @static
    */
index 245d0a6ca4dc6c16ca68280a3c3c2a642cab7c22..87d0a94fe5ebed69da1507db45894d8c79443536 100644 (file)
@@ -404,7 +404,8 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = &$this->_defaults;
@@ -527,7 +528,8 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
    * @param array $list
    *   Array of relationship name.
    *
-   * @return array of relationship name.
+   * @return array
+   *   of relationship name.
    */
   public static function getFormattedList(&$list) {
     $relName = array();
index 30a5d7443bfc80839e7c9f74df90182418c79723..3405e1249bb1b7734782dda8f8057bc1a9977fc7 100644 (file)
@@ -105,7 +105,8 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = $fieldDefaults = array();
@@ -244,7 +245,8 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $form) {
index 6f0005ffd797ca24ae531a1b2aa94c35ead5e843..982369092ab252738c2f7da55d05be8729e827a8 100644 (file)
@@ -96,7 +96,8 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 319cac424cb03f21f6f9233d4c6295aa60df39ca..1958eebde79e5c6dd26b3e4cc3583edd9dc48c78 100644 (file)
@@ -60,7 +60,8 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 8b209c8a6cbdc0e873db8d88beb2558a791ee137..f378a70445eb2a7f62c4d1154a580fab47a9b904 100644 (file)
@@ -309,7 +309,8 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference ) associative array of name/value pairs
+   * @return array
+   *   (reference ) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index b2664de6ff6bda5f9ec046809229c8b59f83753e..9e2a3fc204bea6548d6ff1853436c1ddf742b969 100644 (file)
@@ -66,7 +66,8 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function preview(&$values) {
     return $this->summary($values);
@@ -76,7 +77,8 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    * It is called from both the preview & the import actions
    * (non-PHPdoc)
    * @see CRM_Custom_Import_Parser_BaseClass::summary()
@@ -129,7 +131,8 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function import($onDuplicate, &$values) {
     $response = $this->summary($values);
@@ -212,7 +215,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
    * @param int $id
    *   Custom group ID.
    *
-   * @return array   $importableFields
+   * @return array
    *
    * @static
    */
index 97af1b2a63d315a29af4c8d9e8c3b6737df0e1fc..e1ded4f394ff232356121251d73ba6f8727d89ad 100644 (file)
@@ -64,7 +64,8 @@ class CRM_Custom_Page_Field extends CRM_Core_Page {
    *
    * @param null
    *
-   * @return array  array of action links that we need to display for the browse screen
+   * @return array
+   *   array of action links that we need to display for the browse screen
    */
   public function &actionLinks() {
     if (!isset(self::$_actionLinks)) {
index 041ed6bc1c343085985bd413d9c58b26eda3468d..6f777d9d708d28bfe739542f376bca48f979b75f 100644 (file)
@@ -55,7 +55,8 @@ class CRM_Custom_Page_Group extends CRM_Core_Page {
    *
    * @param null
    *
-   * @return array   array of action links that we need to display for the browse screen
+   * @return array
+   *   array of action links that we need to display for the browse screen
    */
   public function &actionLinks() {
     // check if variable _actionsLinks is populated
index a12afd0f73db28138387486f5b8df2db42a04a23..3dea06a14622489fb787260bcfa2a42584f34fd5 100644 (file)
@@ -71,7 +71,8 @@ class CRM_Custom_Page_Option extends CRM_Core_Page {
    *
    * @param null
    *
-   * @return array  array of action links that we need to display for the browse screen
+   * @return array
+   *   array of action links that we need to display for the browse screen
    */
   public function &actionLinks() {
     if (!isset(self::$_actionLinks)) {
index 29a67183be1e9504a5a6d3ac315a526c5f7b58a2..e513d0c3cce07461f35bb45e56143302314d97de 100644 (file)
@@ -53,7 +53,8 @@ class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_DAO_Rule {
    * Return the SQL query for the given rule - either for finding matching
    * pairs of contacts, or for matching against the $params variable (if set).
    *
-   * @return string  SQL query performing the search
+   * @return string
+   *   SQL query performing the search
    */
   public function sql() {
     if ($this->params &&
index 127adce26c8cb0553812fe0f01f94ca0f57eecbf..035844f73c5fe9f5f88e4397ff3333f3eb622bd4 100644 (file)
@@ -60,7 +60,8 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
    * @param string $requestedType
    *   The requested contact type.
    *
-   * @return array  a table-keyed array of field-keyed arrays holding supported fields' titles
+   * @return array
+   *   a table-keyed array of field-keyed arrays holding supported fields' titles
    */
   public static function &supportedFields($requestedType) {
     static $fields = NULL;
@@ -379,7 +380,8 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
    *
    * @param array $params
    *
-   * @return array (rule field => weight) array and threshold associated to rule group
+   * @return array
+   *   (rule field => weight) array and threshold associated to rule group
    * @access public
    */
   public static function dedupeRuleFieldsWeight($params) {
@@ -434,7 +436,8 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup {
    *
    * @static
    *
-   * @return array id => "nice name" of rule group
+   * @return array
+   *   id => "nice name" of rule group
    */
   public static function getByType($contactType = NULL) {
     $dao = new CRM_Dedupe_DAO_RuleGroup();
index bde82fa112e43d86756da8e4378fa63f5b13177d..451c552667a4a98c4e6fd209b085ffcc608ce173 100644 (file)
@@ -48,7 +48,8 @@ class CRM_Dedupe_Finder {
    * @param array $cids
    *   Contact ids to limit the search to.
    *
-   * @return array  array of (cid1, cid2, weight) dupe triples
+   * @return array
+   *   array of (cid1, cid2, weight) dupe triples
    */
   public static function dupes($rgid, $cids = array()) {
     $rgBao             = new CRM_Dedupe_BAO_RuleGroup();
@@ -91,7 +92,8 @@ class CRM_Dedupe_Finder {
    * @param int $ruleGroupID
    *   The id of the dedupe rule we should be using.
    *
-   * @return array  matching contact ids
+   * @return array
+   *   matching contact ids
    */
   static function dupesByParams(
     $params,
@@ -147,7 +149,8 @@ class CRM_Dedupe_Finder {
    * @param int $gid
    *   Contact group id (currently, works only with non-smart groups).
    *
-   * @return array  array of (cid1, cid2, weight) dupe triples
+   * @return array
+   *   array of (cid1, cid2, weight) dupe triples
    */
   public static function dupesInGroup($rgid, $gid) {
     $cids = array_keys(CRM_Contact_BAO_Group::getMember($gid));
@@ -167,7 +170,8 @@ class CRM_Dedupe_Finder {
    * @param string $ctype
    *   Contact type of the given contact.
    *
-   * @return array  array of dupe contact_ids
+   * @return array
+   *   array of dupe contact_ids
    */
   public static function dupesOfContact($cid, $used = 'Unsupervised', $ctype = NULL) {
     // if not provided, fetch the contact type from the database
@@ -209,7 +213,8 @@ class CRM_Dedupe_Finder {
    * @param string $ctype
    *   Contact type of the given contact.
    *
-   * @return array  valid $params array for dedupe
+   * @return array
+   *   valid $params array for dedupe
    */
   public static function formatParams($fields, $ctype) {
     $flat = array();
index 2b5198dca2235a0550732301e8986ef882f18af2..8d7e2fc55872a87c366c76f9d23a9e8ddcf40f59 100644 (file)
@@ -1594,7 +1594,8 @@ INNER JOIN  civicrm_membership membership2 ON membership1.membership_type_id = m
   }
 
   /**
-   * @return array of field names which will be compared, so everything except ID.
+   * @return array
+   *   of field names which will be compared, so everything except ID.
    */
   public static function getContactFields() {
     $contactFields = CRM_Contact_DAO_Contact::fields();
index bfe9342ac265ee968553013cee7f70bd6a616eef..f04953b2a6a2adc757f05640decd6c0ee1f6cf0f 100644 (file)
@@ -70,7 +70,8 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -323,7 +324,8 @@ WHERE  ( civicrm_event.is_template IS NULL OR civicrm_event.is_template = 0 )";
    *
    * @static
    *
-   * @return array Array of event summary values
+   * @return array
+   *   Array of event summary values
    */
   public static function getEventSummary() {
     $eventSummary = $eventIds = array();
@@ -597,7 +599,8 @@ $event_summary_limit
    *   Consider counted( is filter role) participant.
    *
    *
-   * @return array array with count of participants for each event based on status/role
+   * @return array
+   *   array with count of participants for each event based on status/role
    */
   public static function getParticipantCount(
     $eventId,
@@ -729,7 +732,8 @@ WHERE civicrm_address.geo_code_1 IS NOT NULL
    * @param bool $onlyPublicInclude public events only, default TRUE.
    *   Include public events only, default TRUE.
    *
-   * @return array  $all      array of all the events that are searched
+   * @return array
+   *   array of all the events that are searched
    * @static
    */
   static function &getCompleteInfo(
@@ -1730,7 +1734,8 @@ WHERE  id = $cfID
    *
    * @param bool $skipCancel
    *
-   * @return array $customProfile array of Additional participant's info OR array of Ids.
+   * @return array
+   *   array of Additional participant's info OR array of Ids.
    */
   static function buildCustomProfile(
     $participantId,
@@ -1843,7 +1848,8 @@ WHERE  id = $cfID
 
   /* Function to retrieve all events those having location block set.
    *
-   * @return array $events array of all events.
+   * @return array
+   *   array of all events.
    */
   /**
    * @return array
@@ -1932,7 +1938,8 @@ WHERE  ce.loc_block_id = $locBlockId";
    *
    * @param array $values
    *   Key/value event info.
-   * @return boolean true if allow registration otherwise false
+   * @return boolean
+   *   true if allow registration otherwise false
    */
   /**
    * @param $values
@@ -1969,7 +1976,7 @@ WHERE  ce.loc_block_id = $locBlockId";
    *
    * @param array $params
    *   Key/value participant info.
-   * @return boolean $alreadyRegistered true/false
+   * @return boolean
    */
   /**
    * @param array $params
@@ -2003,7 +2010,8 @@ WHERE  ce.loc_block_id = $locBlockId";
    * @param int $eventId
    * @param int $type
    *
-   * @return string   the permission that the user has (or null)
+   * @return string
+   *   the permission that the user has (or null)
    * @static
    */
   public static function checkPermission($eventId = NULL, $type = CRM_Core_Permission::VIEW) {
@@ -2067,7 +2075,8 @@ WHERE  ce.loc_block_id = $locBlockId";
    * @param int $eventId
    *   The id of the event.
    *
-   * @return array         an array of email ids
+   * @return array
+   *   an array of email ids
    * @static
    */
   public static function getFromEmailIds($eventId = NULL) {
@@ -2103,7 +2112,8 @@ WHERE  ce.loc_block_id = $locBlockId";
    * @param sting $extraWhereClause
    *   Extra filter on participants.
    *
-   * @return int   event total seats w/ given criteria.
+   * @return int
+   *   event total seats w/ given criteria.
    * @static
    */
   public static function eventTotalSeats($eventId, $extraWhereClause = NULL) {
@@ -2149,7 +2159,8 @@ LEFT  JOIN  civicrm_price_field_value value ON ( value.id = lineItem.price_field
    * @param int $templateId
    *   Event template id.
    *
-   * @return array of custom data defaults.
+   * @return array
+   *   of custom data defaults.
    */
   public static function getTemplateDefaultValues($templateId) {
     $defaults = array();
index 305bb82ca2c81cec54357c900879cca5b3fae75a..941740fa8ace9ef0248cec4dddae82559e004d46 100644 (file)
@@ -496,7 +496,8 @@ SELECT  event.event_full_text,
    * @param bool $considerWaiting
    * @param bool $considerTestParticipants
    *
-   * @return array $optionsCount an array of each option id and total count
+   * @return array
+   *   an array of each option id and total count
    * @static
    */
   static function priceSetOptionsCount(
@@ -574,7 +575,8 @@ INNER JOIN  civicrm_price_field field       ON ( value.price_field_id = field.id
    * @param int $eventId
    *   Event id.
    *
-   * @return int $spaces  Number of Empty Seats/null.
+   * @return int
+   *   $spaces  Number of Empty Seats/null.
    * @static
    */
   public static function pendingToConfirmSpaces($eventId) {
@@ -623,7 +625,8 @@ GROUP BY  participant.event_id
    * @param bool $status
    * @param bool $onlyParticipant
    *
-   * @return array array of importable Fields
+   * @return array
+   *   array of importable Fields
    * @static
    */
   public static function &importableFields($contactType = 'Individual', $status = TRUE, $onlyParticipant = FALSE) {
@@ -735,7 +738,8 @@ GROUP BY  participant.event_id
   /**
    * Combine all the exportable fields from the lower levels object
    *
-   * @return array array of exportable Fields
+   * @return array
+   *   array of exportable Fields
    * @static
    */
   public static function &exportableFields() {
@@ -800,7 +804,8 @@ GROUP BY  participant.event_id
    * @param int $participantId
    *   Id of the participant.
    *
-   * @return array $name associated array with sort_name and event title
+   * @return array
+   *   associated array with sort_name and event title
    * @static
    */
   public static function participantDetails($participantId) {
@@ -1021,7 +1026,7 @@ WHERE  civicrm_participant.id = {$participantId}
    *
    * @param int $oldStatusId
    *
-   * @return array $additionalParticipantIds
+   * @return array
    * @static
    */
   public static function getAdditionalParticipantIds($primaryParticipantId, $excludeCancel = TRUE, $oldStatusId = NULL) {
@@ -1063,7 +1068,7 @@ WHERE  civicrm_participant.id = {$participantId}
    * @param bool $hasLineItems
    *   Do fetch from line items.
    *
-   * @return array $feeDetails
+   * @return array
    * @static
    */
   public function getFeeDetails($participantIds, $hasLineItems = FALSE) {
@@ -1138,7 +1143,8 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_
    * @param int $primaryParticipantID
    *   Id of primary participant record.
    *
-   * @return array $additionalParticipants $displayName => $viewUrl
+   * @return array
+   *   $displayName => $viewUrl
    * @static
    */
   public static function getAdditionalParticipants($primaryParticipantID) {
@@ -1737,7 +1743,8 @@ UPDATE  civicrm_participant
    *
    * @param int $contactID
    *
-   * @return int count of participant records
+   * @return int
+   *   count of participant records
    * @static
    */
   public static function getContactParticipantCount($contactID) {
@@ -1756,7 +1763,7 @@ WHERE    civicrm_participant.contact_id = {$contactID} AND
    * @param bool $excludeCancelled
    *   Exclude cancelled additional participant.
    *
-   * @return array $participantsId
+   * @return array
    * @static
    */
   public static function getParticipantIds($contributionId, $excludeCancelled = FALSE) {
@@ -1788,7 +1795,8 @@ WHERE    civicrm_participant.contact_id = {$contactID} AND
    * @param array $participantIds
    *   An array of additional participant ids.
    *
-   * @return array of Urls.
+   * @return array
+   *   of Urls.
    * @static
    */
   public static function getAdditionalParticipantUrl($participantIds) {
index 5d35657d66e3e4c8907171969e81783303ab5b17..6a203bf90898cfd024e9a1ed82fdc48dd67848ae 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Event_BAO_ParticipantPayment extends CRM_Event_DAO_ParticipantPayment
    * @param array $ids
    *   with one values of id for this participantPayment record (for update).
    *
-   * @return object the partcipant payment record
+   * @return object
+   *   the partcipant payment record
    * @static
    */
   public static function create(&$params, &$ids) {
@@ -91,7 +92,8 @@ class CRM_Event_BAO_ParticipantPayment extends CRM_Event_DAO_ParticipantPayment
    * @param array $params
    *   Associative array whose values match the record to be deleted.
    *
-   * @return boolean  true if deleted false otherwise
+   * @return boolean
+   *   true if deleted false otherwise
    * @static
    */
   public static function deleteParticipantPayment($params) {
index 729945437e84d14d28e2de6656be66330b39d051..74b04386cd173974132c214917d28c86bebc79a1 100644 (file)
@@ -240,7 +240,8 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent {
    *
    * @param array $values
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values) {
@@ -349,7 +350,8 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent {
    * @param int $templateId
    *   Event template id.
    *
-   * @return array of custom data defaults.
+   * @return array
+   *   of custom data defaults.
    */
   public function templateCustomDataValues($templateId) {
     $defaults = array();
index bcfa6d288c5aada7630b0f951520ad70ce13a0f8..1685248f2ad5380d60126e8c1a9ed930bc7a5d10 100644 (file)
@@ -407,7 +407,8 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent {
    * @param array $values
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values) {
index 077715e18e59b4387fe2a5c9baa3ed2a553ab175..a3cff722d25221444162a38bec850cb4381f3187 100644 (file)
@@ -141,7 +141,8 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index ef2cc42541ca2de1165f3f05d8c5fe5c7ddbcf4d..a894ba77b570a77a2fe306f5e24e145332bbbe86 100644 (file)
@@ -479,7 +479,8 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $form) {
index b6c0c0b4c1c6607d5b3121144cdc224c022565df..434cbd6d15bd6b03f6d87a76570b3261cef3472e 100644 (file)
@@ -792,7 +792,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $self) {
index dc937c0e95613d8f246f0d7dd705b4aed3009ee6..4f3004024dd36196e40c4e17e6f1b980688dbb47 100644 (file)
@@ -1027,7 +1027,8 @@ WHERE  v.option_group_id = g.id
    *   An array of user submitted params.
    *
    *
-   * @return array $formatted, formatted price set params.
+   * @return array
+   *   , formatted price set params.
    */
   /**
    * @param CRM_Core_Form $form
@@ -1077,7 +1078,8 @@ WHERE  v.option_group_id = g.id
    *   Form object.
    *
    *
-   * @return array $optionsCount, array of each option w/ count total.
+   * @return array
+   *   , array of each option w/ count total.
    */
   /**
    * @param $form
index d5c05caa65730c729bc4e9424b0d83498b3ff5a3..8f202f5c95a01a2df3da7c04a34b2e6d7f746a1f 100644 (file)
@@ -748,7 +748,8 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R
    *
    * @param bool $isButtonJs
    *
-   * @return boolean ture on success.
+   * @return boolean
+   *   ture on success.
    */
   public function isLastParticipant($isButtonJs = FALSE) {
     $participant = $isButtonJs ? $this->_params[0]['additional_participants'] : $this->_params[0]['additional_participants'] + 1;
index ef95c84932fdcbad600ba77071c9496f11fea758..95bab0c8dfff3e28feba97200d90d4aa10f139b9 100644 (file)
@@ -362,7 +362,8 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 82c48c387558a1c21c392b3d5350a7387823d93a..0d390a77d82d2201ccb2ae418eeff7c45537538a 100644 (file)
@@ -151,7 +151,8 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
@@ -180,7 +181,8 @@ class CRM_Event_Form_Task_AddToGroup extends CRM_Event_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($params) {
index 5b020ab93fbb8176822e8f370f0b4aee5100061f..f66a7b2429961fa67594e518d04b98da814b669b 100644 (file)
@@ -122,7 +122,8 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 1d498ce15c72d2ff2f900f055b4ac8c599f54b81..9134670257902a45e1d6ea637576d4bacfa14fec 100644 (file)
@@ -286,7 +286,8 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index f7c0a6ba22e9e57519a810c40a8276e961fd9a08..0cf77ddf379b9733ca221468a42e65a623d3673a 100644 (file)
@@ -311,7 +311,8 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference ) associative array of name/value pairs
+   * @return array
+   *   (reference ) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index 62da7d43d46c20dc1f1e697dc06460d71cb8cf3b..8773b3881c5870e2670f00ab1a1b2b7c3c8088e5 100644 (file)
@@ -140,7 +140,8 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function preview(&$values) {
     return $this->summary($values);
@@ -152,7 +153,8 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function summary(&$values) {
     $erroneousField = NULL;
@@ -270,7 +272,8 @@ class CRM_Event_Import_Parser_Participant extends CRM_Event_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function import($onDuplicate, &$values) {
 
index 1350a7d648e565335ca3c5182f0c7259c2138886..afd1942865cd6cd63bdc3c601fac3f609d4896a5 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_actionLinks)) {
@@ -102,7 +103,8 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
    *
    * @param $enableCart
    *
-   * @return array (reference) of tab links
+   * @return array
+   *   (reference) of tab links
    */
   public static function &tabs($enableCart) {
     $cacheKey = $enableCart ? 1 : 0;
index fda9f63e8c362212b6b5808082028f334e3920e7..425759b5593e3ed6cc47eaf5fcb5ff4581fb8922 100644 (file)
@@ -100,7 +100,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param bool $all
    * @param null $condition
    *
-   * @return array - array of all events if any
+   * @return array
+   *   array of all events if any
    * @static
    */
   public static function event($id = NULL, $all = FALSE, $condition = NULL) {
@@ -137,7 +138,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param string $retColumn
    *   Tells populate() whether to return 'name' (default) or 'label' values.
    *
-   * @return array  - array reference of all participant statuses if any
+   * @return array
+   *   array reference of all participant statuses if any
    * @static
    */
   public static function &participantStatus($id = NULL, $cond = NULL, $retColumn = 'name') {
@@ -174,7 +176,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
   /**
    * Return a status-type-keyed array of status classes
    *
-   * @return array  of status classes, keyed by status type
+   * @return array
+   *   of status classes, keyed by status type
    */
   public static function &participantStatusClass() {
     static $statusClasses = NULL;
@@ -193,7 +196,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param int $id
    * @param null $cond
    *
-   * @return array - array reference of all participant roles if any
+   * @return array
+   *   array reference of all participant roles if any
    * @static
    */
   public static function &participantRole($id = NULL, $cond = NULL) {
@@ -224,7 +228,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param int $id
    *
-   * @return array - array reference of all participant listings if any
+   * @return array
+   *   array reference of all participant listings if any
    * @static
    */
   public static function &participantListing($id = NULL) {
@@ -245,7 +250,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    *
    * @param int $id
-   * @return array - array reference of all event types.
+   * @return array
+   *   array reference of all event types.
    * @static
    */
   public static function &eventType($id = NULL) {
@@ -266,7 +272,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param int $id
    *
-   * @return array  of event id â†’ template title pairs
+   * @return array
+   *   of event id â†’ template title pairs
    */
   public static function &eventTemplates($id = NULL) {
     if (!self::$eventTemplates) {
@@ -303,7 +310,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    *
    * @param int $id
-   * @return array - array reference of all pcp if any
+   * @return array
+   *   array reference of all pcp if any
    * @static
    */
   public static function &pcPage($id = NULL) {
index 21a61abb840876ecad68a502e6ff6a4cfe541d96..dfefd6f4d80af69a44e8ed037a28e688f3390869 100644 (file)
@@ -282,7 +282,8 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -307,7 +308,8 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array  rows in the given offset and rowCount
+   * @return array
+   *   rows in the given offset and rowCount
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery($offset, $rowCount, $sort,
@@ -431,7 +433,8 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * FIXME: the current internationalisation is bad, but should more or less work
    * on most of "European" languages
    *
-   * @return array              $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
   public function getQILL() {
     return $this->_query->qill();
@@ -446,7 +449,8 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -524,7 +528,8 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Event Search');
index 8dc470c68903f0b3a8e207657af342d8ebfe15cc..48f516cd470d6752b3dd823c73257aecd851cd55 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 532803012191c48a658d87d8fe30388152b5555c..9621d61e11edbcc96ffd63f42b5df2b1535e9a43 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Event_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -153,7 +154,8 @@ class CRM_Event_Task {
    * These tasks are the core set of task titles
    * for participants
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -171,7 +173,8 @@ class CRM_Event_Task {
   /**
    * These tasks get added based on the context the user is in
    *
-   * @return array the set of optional tasks for a group of contacts
+   * @return array
+   *   the set of optional tasks for a group of contacts
    * @static
    */
   public static function &optionalTaskTitle() {
@@ -187,7 +190,8 @@ class CRM_Event_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = array();
@@ -216,7 +220,8 @@ class CRM_Event_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of participants
+   * @return array
+   *   the set of tasks for a group of participants
    * @static
    */
   public static function getTask($value) {
index 0ad4266f6832734e1b27eb95e31ba0a5acea1ed7..8d3d513ef5a8d78ee34d82698727834a17125d5c 100644 (file)
@@ -1200,7 +1200,8 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
    * @param int $mode
    *   Export mode.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public static function getExportFileName($output = 'csv', $mode = CRM_Export_Form_Select::CONTACT_EXPORT) {
     switch ($mode) {
index b41ed45370277404519a0eb45d22a63a0497c5ae..45f9a95a8ecca97ac100ed7a70be761d7fc5272c 100644 (file)
@@ -112,7 +112,8 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
    * @param $values
    * @param int $mappingTypeId
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $values, $mappingTypeId) {
index 24cdd031496e02c491f3ec1243abb47569ed663a..ce632b2052b1d9bb4ac84e3b9af3e3a3606d0bea 100644 (file)
@@ -220,7 +220,8 @@ class CRM_Extension_Browser {
    * extensions.
    *
    *
-   * @return Array list of extension names
+   * @return Array
+   *   list of extension names
    */
   private function grabRemoteKeyList() {
 
index 815789e23a884b82b7926a42a5da9f29905882d9..e3652f70fd9bc5f8b52ad69f7e6756237620bd05 100644 (file)
@@ -148,7 +148,8 @@ class CRM_Extension_Container_Collection implements CRM_Extension_Container_Inte
    * Get a list of all keys in these containers -- and the
    * name of the container which defines each key.
    *
-   * @return array ($key => $containerName)
+   * @return array
+   *   ($key => $containerName)
    */
   public function getKeysToContainer() {
     if ($this->cache) {
index 75b46517b93872cf24bb0a4ff582b238dce410ad..d3f6322bb1d72ed9f7042ac92a0c79b727545d06 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Extension_Downloader {
   /**
    * Determine whether downloading is supported
    *
-   * @return array list of error messages; empty if OK
+   * @return array
+   *   list of error messages; empty if OK
    */
   public function checkRequirements() {
     $errors = array();
@@ -101,7 +102,8 @@ class CRM_Extension_Downloader {
    *   The name of the extension being installed.
    * @param string $downloadUrl
    *   URL of a .zip file.
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    * @throws CRM_Extension_Exception
    */
   public function download($key, $downloadUrl) {
@@ -137,7 +139,8 @@ class CRM_Extension_Downloader {
    *   URL of a .zip file.
    * @param string $localFile
    *   Path at which to store the .zip file.
-   * @return boolean Whether the download was successful.
+   * @return boolean
+   *   Whether the download was successful.
    */
   public function fetch($remoteFile, $localFile) {
     $result = CRM_Utils_HttpClient::singleton()->fetch($remoteFile, $localFile);
index 3cfca6397cd3515d573e32a4f0bb553eff34bcf6..0eefba9fb66c095b1ea9a5a49631d67ed5dbac88 100644 (file)
@@ -387,7 +387,8 @@ class CRM_Extension_Manager {
    *
    * @param $key
    *
-   * @return string constant (STATUS_INSTALLED, STATUS_DISABLED, STATUS_UNINSTALLED, STATUS_UNKNOWN)
+   * @return string
+   *   constant (STATUS_INSTALLED, STATUS_DISABLED, STATUS_UNINSTALLED, STATUS_UNKNOWN)
    */
   public function getStatus($key) {
     $statuses = $this->getStatuses();
@@ -402,7 +403,8 @@ class CRM_Extension_Manager {
   /**
    * Determine the status of all extensions
    *
-   * @return array ($key => status_constant)
+   * @return array
+   *   ($key => status_constant)
    */
   public function getStatuses() {
     if (!is_array($this->statuses)) {
@@ -450,7 +452,8 @@ class CRM_Extension_Manager {
    * @param $key
    *
    * @throws CRM_Extension_Exception
-   * @return array (0 => CRM_Extension_Info, 1 => CRM_Extension_Manager_Interface)
+   * @return array
+   *   (0 => CRM_Extension_Info, 1 => CRM_Extension_Manager_Interface)
    */
   private function _getInfoTypeHandler($key) {
     $info = $this->mapper->keyToInfo($key); // throws Exception
@@ -468,7 +471,8 @@ class CRM_Extension_Manager {
    * @param $key
    *
    * @throws CRM_Extension_Exception
-   * @return array (0 => CRM_Extension_Info, 1 => CRM_Extension_Manager_Interface)
+   * @return array
+   *   (0 => CRM_Extension_Info, 1 => CRM_Extension_Manager_Interface)
    */
   private function _getMissingInfoTypeHandler($key) {
     $info = $this->createInfoFromDB($key);
index f34cd08b1de91a9ea6cbde53fdde763660b11917..1926804fbdcacc3679443863c122476462d78338 100644 (file)
@@ -164,7 +164,8 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base {
   /**
    * @param string $attr
    *   The attribute used to key the array.
-   * @return array ($$attr => $id)
+   * @return array
+   *   ($$attr => $id)
    */
   private function _getAllPaymentProcessorTypes($attr) {
     $ppt = array();
index cf94324e5b43d9fbd89563a6685c8acf73b94c9f..0a6b59ae4e55bb8e6aa68f60ef93d668572cdf3a 100755 (executable)
@@ -118,7 +118,8 @@ class CRM_Extension_Mapper {
    * @param string $clazz
    *   Extension class name.
    *
-   * @return string name of extension key
+   * @return string
+   *   name of extension key
    */
   public function classToKey($clazz) {
     return str_replace('_', '.', $clazz);
@@ -130,7 +131,8 @@ class CRM_Extension_Mapper {
    *
    * @param $clazz
    *
-   * @return string full path the extension .php file
+   * @return string
+   *   full path the extension .php file
    */
   public function classToPath($clazz) {
     $elements = explode('_', $clazz);
@@ -145,7 +147,8 @@ class CRM_Extension_Mapper {
    * @param string $key
    *   A string which might be an extension key.
    *
-   * @return boolean true if given string is an extension name
+   * @return boolean
+   *   true if given string is an extension name
    */
   public function isExtensionKey($key) {
     // check if the string is an extension name or the class
@@ -159,7 +162,8 @@ class CRM_Extension_Mapper {
    * @param string $clazz
    *   A string which might be an extension class name.
    *
-   * @return boolean true if given string is an extension class name
+   * @return boolean
+   *   true if given string is an extension class name
    */
   public function isExtensionClass($clazz) {
 
@@ -201,7 +205,8 @@ class CRM_Extension_Mapper {
    * @param string $key
    *   Extension key.
    *
-   * @return string name of extension's main class
+   * @return string
+   *   name of extension's main class
    */
   public function keyToClass($key) {
     return str_replace('.', '_', $key);
@@ -215,7 +220,8 @@ class CRM_Extension_Mapper {
    * @param string $key
    *   Extension key.
    *
-   * @return string path to file containing extension's main class
+   * @return string
+   *   path to file containing extension's main class
    */
   public function keyToPath($key) {
     $info = $this->keyToInfo($key);
@@ -228,7 +234,8 @@ class CRM_Extension_Mapper {
    *
    * @param string $key
    *   Extension key.
-   * @return string local path of the extension source tree
+   * @return string
+   *   local path of the extension source tree
    */
   public function keyToBasePath($key) {
     if ($key == 'civicrm') {
@@ -245,7 +252,8 @@ class CRM_Extension_Mapper {
    * @param string $key
    *   Extension key.
    *
-   * @return string url for resources in this extension
+   * @return string
+   *   url for resources in this extension
    */
   public function keyToUrl($key) {
     if ($key == 'civicrm') {
@@ -266,7 +274,8 @@ class CRM_Extension_Mapper {
    *
    * @param bool $fresh
    *   whether to forcibly reload extensions list from canonical store.
-   * @return array - array(array('prefix' => $, 'file' => $))
+   * @return array
+   *   array(array('prefix' => $, 'file' => $))
    */
   public function getActiveModuleFiles($fresh = FALSE) {
     $config = CRM_Core_Config::singleton();
@@ -318,7 +327,8 @@ class CRM_Extension_Mapper {
   /**
    * Get a list of base URLs for all active modules
    *
-   * @return array (string $extKey => string $baseUrl)
+   * @return array
+   *   (string $extKey => string $baseUrl)
    */
   public function getActiveModuleUrls() {
     // TODO optimization/caching
@@ -351,7 +361,8 @@ class CRM_Extension_Mapper {
   /**
    * Get a list of all installed modules, including enabled and disabled ones
    *
-   * @return array CRM_Core_Module
+   * @return array
+   *   CRM_Core_Module
    */
   public function getModules() {
     $result = array();
@@ -371,7 +382,8 @@ class CRM_Extension_Mapper {
    * @param string $clazz
    *   Extension class name.
    *
-   * @return string path to extension's templates directory
+   * @return string
+   *   path to extension's templates directory
    */
   public function getTemplatePath($clazz) {
     $path = $this->container->getPath($this->classToKey($clazz));
@@ -392,7 +404,8 @@ class CRM_Extension_Mapper {
    * @param string $clazz
    *   Extension class name.
    *
-   * @return string extension's template name
+   * @return string
+   *   extension's template name
    */
   public function getTemplateName($clazz) {
     $info = $this->keyToInfo($this->classToKey($clazz));
index a8a15e9fde2085f975ba63b479fb854f4563f63b..50025c8bb59c53cf1244e2e18499f406f7781d2c 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -191,7 +192,8 @@ WHERE cft.id = %1
    *
    * @param \account|string $accountTypeCode account type code
    *
-   * @return integer count
+   * @return integer
+   *   count
    * @static
    */
   public static function getARAccounts($financialAccountId, $financialAccountTypeId = NULL, $accountTypeCode = 'ar') {
index 01a1cc95a6685737b6182c25198009b4f2fcd671..8fe113f6b2a8f2f27136a8788b347190a7162d56 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -168,7 +169,8 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType {
    * fetch financial type having relationship as Income Account is
    *
    *
-   * @return array  all financial type with income account is relationship
+   * @return array
+   *   all financial type with income account is relationship
    * @static
    */
   public static function getIncomeFinancialType() {
index adb740cb33910371ee3bccc0a8a055a31e7ff740..d32fde8ffab3704a78bbb437905236d274624d29 100644 (file)
@@ -122,7 +122,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
@@ -135,7 +136,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    *
    * @param NULL
    *
-   * @return object           The default payment processor object on success,
+   * @return object
+   *   The default payment processor object on success,
    *                          null otherwise
    * @static
    */
@@ -183,7 +185,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    * @param string $mode
    *   Payment mode ie test or live.
    *
-   * @return array  associated array with payment processor related fields
+   * @return array
+   *   associated array with payment processor related fields
    * @static
    */
   public static function getPayment($paymentProcessorID, $mode) {
@@ -259,7 +262,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    * @param string $mode
    *   Payment mode ie test or live.
    *
-   * @return array  associated array with payment processor related fields
+   * @return array
+   *   associated array with payment processor related fields
    * @static
    */
   public static function buildPayment($dao, $mode) {
@@ -341,7 +345,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    *
    * @param array $ids
    *
-   * @return array available processors
+   * @return array
+   *   available processors
    */
   public static function getPaymentProcessors($capabilities = array(), $ids = array()) {
     $mode = NULL;
@@ -395,7 +400,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    * @param string $type
    *   Type of payment information to be retrieved.
    *
-   * @return int / array / object based on type
+   * @return int
+   *   / array / object based on type
    * @static
    */
   public static function getProcessorForEntity($entityID, $component = 'contribute', $type = 'id') {
index 0108f5e5c97e714261bcfd1d77ca861939c4b6e5..59a8690c43deb0becf1e995bc9f3891bdddd3f0e 100644 (file)
@@ -75,7 +75,8 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
@@ -88,7 +89,8 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr
    *
    * @param NULL
    *
-   * @return object           The default payment processor object on success,
+   * @return object
+   *   The default payment processor object on success,
    *                          null otherwise
    * @static
    */
index 5226064accedc63bbf5849943feac49a9b8bd27e..e60ac153c32bb92e9fb981caa7681b9f52caa073 100644 (file)
@@ -134,7 +134,8 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
    *
    * @internal param array $fields posted values of the form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $self) {
index 5b8cc30436da7a84064b9497502cbdb883994475..4e611b9cb9513f38f7780021175154296a972193 100644 (file)
@@ -175,7 +175,8 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $self) {
@@ -293,7 +294,8 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
    * @param int $userContactID
    * @param string $actionName
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public function checkPermissions($action, $permissions, $createdID, $userContactID, $actionName) {
index 0e0f58151bf628447734f61482be60e2d49136aa..3af2b89b484bd6b8d8b62b4be0348f0bd1be22db 100644 (file)
@@ -237,7 +237,8 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form {
    *
    * @internal param array $fields posted values of the form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($values, $files, $self) {
index 94892e928f8059ee1e13f4219d8f04b47c6845bb..4c86dedcbb8790493ff2a61a627cba0b6ee315aa 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Batch_BAO_Batch';
@@ -58,7 +59,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
   }
@@ -66,7 +68,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Financial_Form_FinancialBatch';
@@ -75,7 +78,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return ts('Accounting Batch Processing');
@@ -86,7 +90,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return CRM_Utils_System::currentPath();
index 4e5fb2d32b83641ada5f4d979a3830c02595f10f..cb1afa12544faffe683930f91675f53405a1e407 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Batch_BAO_Batch';
@@ -61,7 +62,8 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -130,7 +132,8 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Financial_Form_BatchTransaction';
@@ -139,7 +142,8 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Batch';
@@ -150,7 +154,8 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/batchtransaction';
index 80e66f871fb4d6334c4fe9a0889c7d1fd79582f0..096ec2c5820ec104708aef712f4c41e8fff0215c 100644 (file)
@@ -50,7 +50,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Financial_BAO_FinancialAccount';
@@ -59,7 +60,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -168,7 +170,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Financial_Form_FinancialAccount';
@@ -177,7 +180,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Financial Types';
@@ -188,7 +192,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/financial/financialAccount';
index cbf0a41fdc53729aae1d6b087001c44acc59f551..48050b168c1e2f4becba5178bb7e0ede461d4508 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string classname of BAO.
+   * @return string
+   *   classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Batch_BAO_Batch';
@@ -58,7 +59,8 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -100,7 +102,8 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string classname of edit form.
+   * @return string
+   *   classname of edit form.
    */
   public function editForm() {
     return 'CRM_Financial_Form_FinancialBatch';
@@ -109,7 +112,8 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Accounting Batch';
@@ -122,7 +126,8 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     $context = $this->get("context");
index 5903c2ebc5c5e789a8793052225381a2b40bf40a..17884c3af1c9925a3fa657648f3091983cb5af05 100644 (file)
@@ -50,7 +50,8 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Financial_BAO_FinancialType';
@@ -59,7 +60,8 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -194,7 +196,8 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Financial_Form_FinancialType';
@@ -203,7 +206,8 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Financial Types';
@@ -214,7 +218,8 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/financial/financialType';
index 699215d7920f49a1ffd63537367de41d4f7e9b9e..282a1708f24640436d5f93f61a451ffc284c1960 100644 (file)
@@ -56,7 +56,8 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Financial_BAO_FinancialTypeAccount';
@@ -65,7 +66,8 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
index 91e54dd471dec60a3bfac1a9554e3b22055260ad..78ac9e23ea83cb88b1acd3c8ed6020b408ac8b7b 100644 (file)
@@ -72,7 +72,8 @@ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend {
    * @param array $values
    *   Output values of the object.
    *
-   * @return array $values values
+   * @return array
+   *   values
    * @static
    */
   public static function retrieve(&$params, &$values) {
index 4eba56bb94b918da47c8f55ebe5c36a44d4297c8..c7ed66030397784f9303ba3a6ed71e671620cfc2 100644 (file)
@@ -55,7 +55,8 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
    *
    * @param bool $admin
    *
-   * @return array Array of event summary values
+   * @return array
+   *   Array of event summary values
    */
   public static function getGrantSummary($admin = FALSE) {
     $query = "
@@ -93,7 +94,8 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
    *
    * @static
    *
-   * @return array Array of event summary values
+   * @return array
+   *   Array of event summary values
    */
   public static function getGrantStatusOptGroup() {
 
@@ -117,7 +119,8 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
    *
    * @param bool $admin
    *
-   * @return array Array of grant summary statistics
+   * @return array
+   *   Array of grant summary statistics
    */
   public static function getGrantStatistics($admin = FALSE) {
     $grantStatuses = array();
@@ -363,7 +366,8 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
   /**
    * Combine all the exportable fields from the lower levels object
    *
-   * @return array array of exportable Fields
+   * @return array
+   *   array of exportable Fields
    * @static
    */
   public static function &exportableFields() {
@@ -421,7 +425,8 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
    *
    * @param int $contactID
    *
-   * @return int count of grant records
+   * @return int
+   *   count of grant records
    * @static
    */
   public static function getContactGrantCount($contactID) {
index e522718b0edc6469a0f9ed958d4a8735e5fc16b4..6932a8fbb1b53e3b3f7b0935ca0b0d786c4cb79d 100644 (file)
@@ -271,7 +271,8 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function &setDefaultValues() {
     return $this->_formValues;
index 60f17f30bb2b801785d59a1c338c4b7537031034..669ac6768e3289a4787a8602e98263eaf6938c0e 100644 (file)
@@ -246,7 +246,8 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -271,7 +272,8 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery($offset, $rowCount, $sort,
@@ -331,7 +333,8 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   }
 
   /**
-   * @return array              $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -349,7 +352,8 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -420,7 +424,8 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Grant Search');
index 34bb2ce736d0e9b8f9e470f7f11dbf2bf29eb17a..a3e55f5440352f2522723f1f9c950799ef0c6032 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 8ea92e05427e09f92b0a348c0a417d1bfbd0d3ad..17e56abb6fd5bc2c60c551414e3a40920764eba1 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Grant_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -103,7 +104,8 @@ class CRM_Grant_Task {
   /**
    * These tasks are the core set of task titles
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -121,7 +123,8 @@ class CRM_Grant_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = array();
@@ -147,7 +150,8 @@ class CRM_Grant_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function getTask($value) {
index 8892eae7b11d7142fd6e8484a5ef9aa0a91a6d0e..e112851194cc3152639145c89bf4150658e3ad5f 100644 (file)
@@ -313,7 +313,8 @@ class CRM_Group_Form_Edit extends CRM_Core_Form {
    * @param array $fileParams
    * @param $options
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $fileParams, $options) {
@@ -439,7 +440,8 @@ WHERE  title = %1
    *
    * @param CRM_Core_Form $form
    *
-   * @return array parent groups
+   * @return array
+   *   parent groups
    * @static
    */
   public static function buildParentGroups(&$form) {
index dd148c4094a35665643acb5977e888305cf04c08..df6c826064f8593d9e93e2a62cd8b1b9d5674558 100644 (file)
@@ -45,7 +45,8 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   /**
    * Define action links
    *
-   * @return array self::$_links array of action links
+   * @return array
+   *   self::$_links array of action links
    */
   public function &links() {
   }
@@ -107,7 +108,8 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
    * @param int $title
    *   Name or title of the object.
    *
-   * @return string   the permission that the user has (or null)
+   * @return string
+   *   the permission that the user has (or null)
    */
   public function checkPermission($id, $title) {
     return CRM_Contact_BAO_Group::checkPermission($id, $title);
index 7563bd302bdb5a9b87b48017ca0dc30afa66593a..f3b420b26e3e7d18e811a4f62f22bfbb82a05624 100644 (file)
@@ -42,7 +42,8 @@ abstract class CRM_Import_DataSource {
   /**
    * Provides information about the data source
    *
-   * @return array collection of info about this data source
+   * @return array
+   *   collection of info about this data source
    *
    *
    */
@@ -61,7 +62,8 @@ abstract class CRM_Import_DataSource {
    *
    * @param CRM_Core_Form $form
    *
-   * @return void (operates directly on form argument)
+   * @return void
+   *   (operates directly on form argument)
    */
   abstract public function buildQuickForm(&$form);
 
index 52d5e26e58b498b91865164a9351edc94848df03..3ebad91666bc97b5ae528c65ca55d5815a6991f4 100644 (file)
@@ -39,7 +39,8 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
   /**
    * Provides information about the data source
    *
-   * @return array collection of info about this data source
+   * @return array
+   *   collection of info about this data source
    *
    *
    */
@@ -61,7 +62,8 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
    *
    * @param CRM_Core_Form $form
    *
-   * @return void (operates directly on form argument)
+   * @return void
+   *   (operates directly on form argument)
    */
   public function buildQuickForm(&$form) {
     $form->add('hidden', 'hidden_dataSource', 'CRM_Import_DataSource_CSV');
@@ -114,7 +116,8 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
    * @param string $fieldSeparator
    *   Character that seperates the various columns in the file.
    *
-   * @return string  name of the created table
+   * @return string
+   *   name of the created table
    */
   private static function _CsvToTable(
     &$db,
index ea1db8fbccd2884475bb143fc5c19f0945cf97a3..43abe5609ae81d8542c9fc8d767a9957516142c8 100644 (file)
@@ -37,7 +37,8 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource {
   /**
    * Provides information about the data source
    *
-   * @return array collection of info about this data source
+   * @return array
+   *   collection of info about this data source
    *
    *
    */
@@ -59,7 +60,8 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource {
    *
    * @param CRM_Core_Form $form
    *
-   * @return void (operates directly on form argument)
+   * @return void
+   *   (operates directly on form argument)
    */
   public function buildQuickForm(&$form) {
     $form->add('hidden', 'hidden_dataSource', 'CRM_Import_DataSource_SQL');
index 749ec38478bec16043df0d516356a0588a710059..530e13f5641d8399ea93db48da9bac5b3db62c53 100644 (file)
@@ -269,7 +269,8 @@ abstract class CRM_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference) associative array of name/value pairs
+   * @return array
+   *   (reference) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index 45fb02a1c1e45b25268908fda63ff039f7256fb2..6a1018efe4f2e95544fade1c0f4a0fe41a203302 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Mailing_BAO_BouncePattern extends CRM_Mailing_DAO_BouncePattern {
    * @param string $message
    *   The message to be matched.
    *
-   * @return array                Tuple (bounce_type, bounce_reason)
+   * @return array
+   *   Tuple (bounce_type, bounce_reason)
    * @static
    */
   public static function &match(&$message) {
index 0e41abf072e4e0de6672ceda6016772e5fdbca3c..6091bad757314409ced9e3166d5a59a1b431ed56 100644 (file)
@@ -70,7 +70,8 @@ class CRM_Mailing_BAO_Component extends CRM_Mailing_DAO_Component {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index f55ffd2caa67ccc99928e7a06ba73d2b2ff0cb03..7381ed024a565de9cda67fded0488ebe45e3cdfd 100644 (file)
@@ -659,7 +659,8 @@ ORDER BY   i.contact_id, i.{$tempColumn}
    *
    * @param string $token       The token for which we will be doing adata lookup
    *
-   * @return array $funcStruct  An array that holds the token itself and the type.
+   * @return array
+   *   An array that holds the token itself and the type.
    *                             the type will tell us which function to use for the data lookup
    *                             if we need to do a lookup at all
    */
@@ -767,7 +768,8 @@ ORDER BY   i.contact_id, i.{$tempColumn}
    *  that the user has uploaded or declared (if they have dome that)
    *
    *
-   * @return array reference to an assoc array
+   * @return array
+   *   reference to an assoc array
    *
    **/
   private function &getTemplates() {
@@ -834,7 +836,8 @@ ORDER BY   i.contact_id, i.{$tempColumn}
    *  this function needs to have some sort of a body assigned
    *  either text or html for this to have any meaningful impact
    *
-   * @return array               reference to an assoc array
+   * @return array
+   *   reference to an assoc array
    *
    **/
   public function &getTokens() {
@@ -867,7 +870,8 @@ ORDER BY   i.contact_id, i.{$tempColumn}
    * Returns the token set for all 3 parts as one set. This allows it to be sent to the
    * hook in one call and standardizes it across other token workflows
    *
-   * @return array               reference to an assoc array
+   * @return array
+   *   reference to an assoc array
    *
    **/
   public function &getFlattenedTokens() {
@@ -1035,7 +1039,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    * @param string $email
    *   Destination address.
    *
-   * @return array (reference) array    array ref that hold array refs to the verp info and urls
+   * @return array
+   *   (reference) array    array ref that hold array refs to the verp info and urls
    */
   public static function getVerpAndUrls($job_id, $event_queue_id, $hash, $email) {
     // create a skeleton object and set its properties that are required by getVerpAndUrlsAndHeaders()
@@ -1063,7 +1068,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    *
    * @param bool $isForward
    *
-   * @return array (reference) array    array ref that hold array refs to the verp info, urls, and headers
+   * @return array
+   *   (reference) array    array ref that hold array refs to the verp info, urls, and headers
    * @access private
    */
   private function getVerpAndUrlsAndHeaders($job_id, $event_queue_id, $hash, $email, $isForward = FALSE) {
@@ -1502,7 +1508,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    * Return a list of group names for this mailing.  Does not work with
    * prior-mailing targets.
    *
-   * @return array        Names of groups receiving this mailing
+   * @return array
+   *   Names of groups receiving this mailing
    */
   public function &getGroupNames() {
     if (!isset($this->id)) {
@@ -1583,7 +1590,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    * @param array $params
    * @param array $ids
    *
-   * @return object $mailing      The new mailing object
+   * @return object
+   *   $mailing      The new mailing object
    * @static
    */
   public static function create(&$params, $ids = array()) {
@@ -1768,7 +1776,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    *
    * @param bool $isSMS
    *
-   * @return array        Associative array of reporting data
+   * @return array
+   *   Associative array of reporting data
    * @static
    */
   public static function &report($id, $skipDetails = FALSE, $isSMS = FALSE) {
@@ -2239,7 +2248,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    *
    * @param
    *
-   * @return int              Count
+   * @return int
+   *   Count
    */
   public function getCount() {
     $this->selectAdd();
@@ -2300,7 +2310,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
    * where the user has access to ALL groups, and hence ALL mailings and return a
    * value of TRUE (to avoid the downstream where clause with a list of mailing list IDs
    *
-   * @return boolean | array - TRUE if the user has access to all mailings, else array of mailing IDs (possibly empty)
+   * @return boolean
+   *   | array - TRUE if the user has access to all mailings, else array of mailing IDs (possibly empty)
    * @static
    */
   public static function mailingACLIDs() {
@@ -2354,7 +2365,8 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
    * @param null $additionalClause
    * @param array $additionalParams
    *
-   * @return array            The rows
+   * @return array
+   *   The rows
    */
   public function &getRows($offset, $rowCount, $sort, $additionalClause = NULL, $additionalParams = NULL) {
     $mailing = self::getTableName();
@@ -2687,7 +2699,8 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id   = m.id
   /**
    * Get the search based mailing Ids
    *
-   * @return array $mailingIDs, searched base mailing ids.
+   * @return array
+   *   , searched base mailing ids.
    */
   public function searchMailingIDs() {
     $group = CRM_Mailing_DAO_MailingGroup::getTableName();
@@ -2719,7 +2732,8 @@ SELECT  $mailing.id as mailing_id
    *
    * @param bool $isSMS
    *
-   * @return array $report array content/component.
+   * @return array
+   *   array content/component.
    * @access public
    */
   public static function getMailingContent(&$report, &$form, $isSMS = FALSE) {
@@ -2922,7 +2936,8 @@ AND        m.id = %1
    * @param array $params
    *   Associated array for params record id.
    *
-   * @return array   $contactActivities associated array of contact activities
+   * @return array
+   *   associated array of contact activities
    */
   public static function getContactMailingSelector(&$params) {
     // format the params
@@ -3008,7 +3023,8 @@ AND        m.id = %1
    * @param array $params
    *   Associated array.
    *
-   * @return array of mailings for a contact
+   * @return array
+   *   of mailings for a contact
    *
    * @static
    */
@@ -3028,7 +3044,8 @@ AND        m.id = %1
    * @param array $params
    *   Associated array.
    *
-   * @return int count of mailings for a contact
+   * @return int
+   *   count of mailings for a contact
    *
    * @static
    */
index a297aad6d106c2c0bd2374cda78b7ac2b0ae748b..c6ba6c22a1ca3d3581b88a3f05876435f10bc681 100644 (file)
@@ -54,7 +54,8 @@ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB {
    * @param $params
    * @param array $ids
    *
-   * @return object $mailingab      The new mailingab object
+   * @return object
+   *   $mailingab      The new mailingab object
    * @static
    */
   public static function create(&$params, $ids = array()) {
index f12e031ccf3bda6ba17747efc07350dc7de26e50..b9e83d9f7d511eb504b32224fc889abecd0a6345 100644 (file)
@@ -866,7 +866,8 @@ AND    status IN ( 'Scheduled', 'Running', 'Paused' )
    * @param string $status
    *   The status enum.
    *
-   * @return string               The translated version
+   * @return string
+   *   The translated version
    * @static
    */
   public static function status($status) {
@@ -888,7 +889,8 @@ AND    status IN ( 'Scheduled', 'Running', 'Paused' )
    * Return a workflow clause for use in SQL queries,
    * to only process jobs that are approved.
    *
-   * @return string        For use in a WHERE clause
+   * @return string
+   *   For use in a WHERE clause
    * @static
    */
   public static function workflowClause() {
index 473fc84c954c4b31c06870c7c05080a95085d359..68d459b224f03d4d12f9644d0972ad743280450f 100644 (file)
@@ -52,7 +52,8 @@ class CRM_Mailing_BAO_TrackableURL extends CRM_Mailing_DAO_TrackableURL {
    * @param int $queue_id
    *   The queue event id (contact clicking through).
    *
-   * @return string $redirect The redirect/tracking url
+   * @return string
+   *   The redirect/tracking url
    * @static
    */
   public static function getTrackerURL($url, $mailing_id, $queue_id) {
index 4435343cb9b0d5fa151b04799ef6c1d557d4ec67..fc08f648fa3977041c09505a8b1c7c8782475291 100755 (executable)
@@ -128,7 +128,8 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
    * @param bool $is_distinct
    *   Group by queue ID?.
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount($mailing_id, $job_id = NULL, $is_distinct = FALSE, $toDate = NULL) {
@@ -188,7 +189,8 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
    * @param array $sort
    *   Sort array.
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index 99479a200f871b2b23e79bdf169abe852cfeaae0..68f8cb655c983b36a56928606c864bbc62409010 100644 (file)
@@ -57,7 +57,8 @@ class CRM_Mailing_Event_BAO_Confirm extends CRM_Mailing_Event_DAO_Confirm {
    * @param string $hash
    *   The hash.
    *
-   * @return boolean              True on success
+   * @return boolean
+   *   True on success
    * @static
    */
   public static function confirm($contact_id, $subscribe_id, $hash) {
index f072617d0bb274ec672362c1efc8923e40ecfe38..04d15325230867f30c68627e39b6957f16341f3a 100755 (executable)
@@ -91,7 +91,8 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
    * @param bool $is_distinct
    *   Group by queue ID?.
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount($mailing_id, $job_id = NULL, $is_distinct = FALSE, $toDate = NULL) {
@@ -156,7 +157,8 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
    * @param array $sort
    *   Sort array.
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index c0a2b261049711f3b3f62a36329d0013ef810375..c12916ed8bcfab7bab4b40d3c4c9fcd4a7182da8 100644 (file)
@@ -223,7 +223,8 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
    * @param bool $is_distinct
    *   Group by queue ID?.
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount(
@@ -283,7 +284,8 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
    * @param array $sort
    *   Sort array.
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index 3ddef2935e22eae7b80eb8781e429120172dc703..fc7284f205872645a8e30175b059385bdf6407c7 100755 (executable)
@@ -78,7 +78,8 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
    * @param bool $is_distinct
    *   Group by queue ID?.
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount(
@@ -134,7 +135,8 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
    *
    * @param $mailingIDs
    *
-   * @return array          Opened count per mailing ID
+   * @return array
+   *   Opened count per mailing ID
    * @static
    */
   public static function getMailingTotalCount($mailingIDs) {
@@ -174,7 +176,8 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
    * @param int $contactID
    *   ID of the contact.
    *
-   * @return array            Count per mailing ID
+   * @return array
+   *   Count per mailing ID
    * @static
    */
   public static function getMailingContactCount($mailingIDs, $contactID) {
@@ -226,7 +229,8 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
    *
    * @param int $contact_id
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index b459ff8bfc8239c7d9228159fdaa823baa5b7f3b..90ae82157fa6013e2dcd821efbcab34678f9bb32 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
    *
    * @param array The ids to be hashed
    *
-   * @return int      The hash
+   * @return int
+   *   The hash
    * @static
    */
   public static function hash($params) {
@@ -111,7 +112,8 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
    * @param int $queue_id
    *   The queue event ID.
    *
-   * @return string               The email address
+   * @return string
+   *   The email address
    * @static
    */
   public static function getEmailAddress($queue_id) {
@@ -140,7 +142,8 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
    * @param int $job_id
    *   Optional ID of a job to limit results.
    *
-   * @return int                  Number of matching events
+   * @return int
+   *   Number of matching events
    * @static
    */
   public static function getTotalCount($mailing_id, $job_id = NULL) {
@@ -181,7 +184,8 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
    * @param array $sort
    *   Sort array.
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
@@ -257,7 +261,8 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
    *
    * @param
    *
-   * @return object           Mailing BAO
+   * @return object
+   *   Mailing BAO
    */
   public function &getMailing() {
     $mailing  = new CRM_Mailing_BAO_Mailing();
index 7c33b6f6e55b6946ac755db536830d2e49c74888..654a05f90a92f01a91a39f5ccb99d376a5825b77 100644 (file)
@@ -313,7 +313,8 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
    * @param bool $is_distinct
    *   Group by queue ID?.
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount(
@@ -373,7 +374,8 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
    * @param array $sort
    *   Sort array.
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index 7df9029bfc076bf21b7c01d1d8bf15b0da6a6e57..dc12b8d3633077601630af8ec63ab4e94dfdc076 100644 (file)
@@ -306,7 +306,8 @@ SELECT     civicrm_email.id as email_id
    * @param int $subscribe_id
    *   ID of the subscribe event.
    *
-   * @return object $domain       The domain owning the event
+   * @return object
+   *   $domain       The domain owning the event
    * @static
    */
   public static function &getDomain($subscribe_id) {
@@ -321,7 +322,8 @@ SELECT     civicrm_email.id as email_id
    * @param int $contactID
    *   ContactID if we want an exact match.
    *
-   * @return array $groups    array of group ids
+   * @return array
+   *   array of group ids
    */
   public static function getContactGroups($email, $contactID = NULL) {
     if ($contactID) {
index dbb19e056ac405628f4b22240eff81fde559b574..76af8fe1e77811ba5185ff5cde13566cdaef3f78 100755 (executable)
@@ -50,7 +50,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
    * @param int $url_id
    *   The ID of the trackable URL.
    *
-   * @return string $url      The redirection url, or base url on failure.
+   * @return string
+   *   The redirection url, or base url on failure.
    * @static
    */
   public static function track($queue_id, $url_id) {
@@ -107,7 +108,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
    * @param int $url_id
    *   Optional ID of a url to filter on.
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount(
@@ -165,7 +167,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
    *
    * @param $mailingIDs
    *
-   * @return array          trackable url count per mailing ID
+   * @return array
+   *   trackable url count per mailing ID
    * @static
    */
   public static function getMailingTotalCount($mailingIDs) {
@@ -205,7 +208,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
    * @param int $contactID
    *   ID of the contact.
    *
-   * @return array             Count per mailing ID
+   * @return array
+   *   Count per mailing ID
    * @static
    */
   public static function getMailingContactCount($mailingIDs, $contactID) {
@@ -259,7 +263,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
    * @param int $contact_id
    *   Optional contact ID.
    *
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index b765a77cc0a2ea5926fd0f7d630fe7e58963a04b..79e7d234ee584bf2427d0f5ee31d50a9176bba66 100755 (executable)
@@ -57,7 +57,8 @@ class CRM_Mailing_Event_BAO_Unsubscribe extends CRM_Mailing_Event_DAO_Unsubscrib
    * @param string $hash
    *   The hash.
    *
-   * @return boolean          Was the contact successfully unsubscribed?
+   * @return boolean
+   *   Was the contact successfully unsubscribed?
    * @static
    */
   public static function unsub_from_domain($job_id, $queue_id, $hash) {
@@ -424,7 +425,8 @@ WHERE  email = %2
    *
    * @param null $org_unsubscribe
    *
-   * @return int                  Number of rows in result set
+   * @return int
+   *   Number of rows in result set
    * @static
    */
   public static function getTotalCount(
@@ -496,7 +498,8 @@ WHERE  email = %2
    *   Sort array.
    *
    * @param null $org_unsubscribe
-   * @return array                Result set
+   * @return array
+   *   Result set
    * @static
    */
   public static function &getRows(
index 097390ab34ecffc238b33a7db17d4d6f3ee66656..db2d9ac026a137d6411b2ff14762212b991258f9 100644 (file)
@@ -543,7 +543,8 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 9df12ba0d6371beda33a68143420bef5ceae7e2d..0e1e252e4d1fac373dd0b946df677fe771b93d86 100644 (file)
@@ -195,7 +195,8 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form {
    * @param $files
    * @param $self
    *
-   * @return boolean          True if either we deliver immediately, or the
+   * @return boolean
+   *   True if either we deliver immediately, or the
    *                          date is properly set.
    * @static
    */
index faf55cd6b28d0b5cf69a2f0004bdfee3d1399f28..bf7cc15dcf1900a22260820ffa0a11427ca4872e 100644 (file)
@@ -177,7 +177,8 @@ class CRM_Mailing_Form_Test extends CRM_Core_Form {
    * @param array $self
    *   An current this object.
    *
-   * @return boolean          true on successful SMTP handoff
+   * @return boolean
+   *   true on successful SMTP handoff
    */
   public static function testMail($testParams, $files, $self) {
     $error = NULL;
index 0b8e9226cb82c935a3c5abdc29bed7268679fa61..8aeb4418564dbbabafb295ce6cc0b208390b623f 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Mailing_MailStore {
    *   Name of the settings set from civimail_mail_settings to use (null for default).
    *
    * @throws Exception
-   * @return object        mail store implementation for processing CiviMail-bound emails
+   * @return object
+   *   mail store implementation for processing CiviMail-bound emails
    */
   public static function getStore($name = NULL) {
     $dao               = new CRM_Core_DAO_MailSettings;
@@ -85,7 +86,8 @@ class CRM_Mailing_MailStore {
   /**
    * Return all emails in the mail store
    *
-   * @return array  array of ezcMail objects
+   * @return array
+   *   array of ezcMail objects
    */
   public function allMails() {
     return $this->fetchNext(0);
@@ -103,7 +105,8 @@ class CRM_Mailing_MailStore {
    * @param int $count
    *   Number of messages to fetch (0 to fetch all).
    *
-   * @return array      array of ezcMail objects
+   * @return array
+   *   array of ezcMail objects
    */
   public function fetchNext($count = 1) {
     if (isset($this->_transport->options->uidReferencing) and $this->_transport->options->uidReferencing) {
@@ -146,7 +149,8 @@ class CRM_Mailing_MailStore {
    *   Name of the Maildir.
    *
    * @throws Exception
-   * @return string       path to the Maildir's cur directory
+   * @return string
+   *   path to the Maildir's cur directory
    */
   public function maildir($name) {
     $config = CRM_Core_Config::singleton();
index 4aa8da061b4901b18a36eb0bcbef75843116654a..1f46225178ea4cd0809fdb898ab8592456fff144 100644 (file)
@@ -63,7 +63,8 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
    * @param int $count
    *   Number of messages to fetch FIXME: ignored in CiviCRM 2.2 (assumed to be 0, i.e., fetch all).
    *
-   * @return array      array of ezcMail objects
+   * @return array
+   *   array of ezcMail objects
    */
   public function fetchNext($count = 0) {
     $mails = array();
index 9a58bf018413d218cf27fbfd937f09ada740dc81..0c21cd8a41b1eeb16191af2a55c6c34ca94fe1ad 100644 (file)
@@ -63,7 +63,8 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
    * @param int $count
    *   Number of messages to fetch FIXME: ignored in CiviCRM 2.2 (assumed to be 0, i.e., fetch all).
    *
-   * @return array      array of ezcMail objects
+   * @return array
+   *   array of ezcMail objects
    */
   public function fetchNext($count = 0) {
     $mails = array();
index 7f7f190754d74de37a03ded937c9f0e4e3620110..ba5842afa0130429689b640363df7c9e8f4ddc8c 100644 (file)
@@ -50,7 +50,8 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Mailing_BAO_Component';
@@ -59,7 +60,8 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -88,7 +90,8 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Mailing_Form_Component';
@@ -97,7 +100,8 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Mailing Components';
@@ -108,7 +112,8 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return CRM_Utils_System::currentPath();
index cf796a06fbf04f1435a5be351d5bf6c3b42d83e2..f379a1c84d9401efde50e805cbecdc2b62b9f54a 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Mailing_Page_Report extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO
+   * @return string
+   *   Classname of BAO
    */
   public function getBAOName() {
     return 'CRM_Mailing_BAO_Mailing';
@@ -75,7 +76,8 @@ class CRM_Mailing_Page_Report extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/mailing/report';
index 4b732911055592298ea9ac4a337fe4128eb35056..2e254b45e87464aa710a811f16fcdd13f62d886a 100644 (file)
@@ -71,7 +71,8 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param $type
    *   The type of component needed.
    *
-   * @return array - array reference of all mailing components
+   * @return array
+   *   array reference of all mailing components
    * @static
    */
   public static function &component($type = NULL) {
@@ -112,7 +113,8 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param $undefined
    *   The value to use if no default is defined.
    *
-   * @return integer -The ID of the default mailing component.
+   * @return integer
+   *   The ID of the default mailing component.
    * @static
    */
   public static function &defaultComponent($type, $undefined = NULL) {
@@ -138,7 +140,8 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
    * Get all the mailing templates
    *
    *
-   * @return array - array reference of all mailing templates if any
+   * @return array
+   *   array reference of all mailing templates if any
    * @static
    */
   public static function &template() {
@@ -154,7 +157,8 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @param null $mode
    *
-   * @return array - array reference of all mailing templates if any
+   * @return array
+   *   array reference of all mailing templates if any
    * @static
    */
   public static function &completed($mode = NULL) {
index b973623dda7741153ce10de71027a9bedb020807..c0c98b1bb4212c2235d7e2b7be391b4509938421 100644 (file)
@@ -100,7 +100,8 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     $mailing = CRM_Mailing_BAO_Mailing::getTableName();
@@ -185,7 +186,8 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     $job        = CRM_Mailing_BAO_MailingJob::getTableName();
@@ -222,7 +224,8 @@ LEFT JOIN  civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     static $actionLinks = NULL;
@@ -424,7 +427,8 @@ LEFT JOIN  civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviMail Mailings');
index cd1293da8f76d96814af79f10948753fb17e679e..deb18891178ed6a31293b441115bb055abee2a39 100644 (file)
@@ -140,7 +140,8 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     $mailing = CRM_Mailing_BAO_Mailing::getTableName();
@@ -257,7 +258,8 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     switch ($this->_event_type) {
@@ -353,7 +355,8 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     switch ($this->_event_type) {
@@ -430,7 +433,8 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {}
 
index d570f14ab3bb078b06edb09749c5f4f82d3bc752..f59b12a60c19a98f713247e1bc15d9f272373890 100644 (file)
@@ -249,7 +249,8 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -274,7 +275,8 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery($offset, $rowCount, $sort,
@@ -328,7 +330,8 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   }
 
   /**
-   * @return array   $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -346,7 +349,8 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -408,7 +412,8 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Mailing Search');
index 1c60880a26cf4622fc58bce35ec61cc0b472d982..d839a0a26d398d4e764dcf2003fcaa8ab3832574 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Mailing_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -83,7 +84,8 @@ class CRM_Mailing_Task {
    * These tasks are the core set of task titles
    * on mailing recipients
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -96,7 +98,8 @@ class CRM_Mailing_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $task = array();
@@ -109,7 +112,8 @@ class CRM_Mailing_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of mailing recipients
+   * @return array
+   *   the set of tasks for a group of mailing recipients
    * @static
    */
   public static function getTask($value) {
index 0965af07bbe288a72caf772e6c4aa2c9bb1fa21f..f71013600fc351a0298779b16eb7e15a1cced9db 100644 (file)
@@ -451,7 +451,8 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
    *
    * @param int $action
    *
-   * @return Array    array of contact_id of all related contacts.
+   * @return Array
+   *   array of contact_id of all related contacts.
    * @static
    */
   public static function checkMembershipRelationship($membershipId, $contactId, $action = CRM_Core_Action::ADD) {
@@ -557,7 +558,8 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
    * @param int $membershipId
    *   Membership id of values to return.
    *
-   * @return array of key value pairs
+   * @return array
+   *   of key value pairs
    */
   public static function getStatusANDTypeValues($membershipId) {
     $values = array();
@@ -712,7 +714,8 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
    * @param string $status
    *   Active or inactive.
    *
-   * @return array $actives array of memberships based on status
+   * @return array
+   *   array of memberships based on status
    * @static
    */
   public static function activeMembers($memberships, $status = 'active') {
@@ -752,7 +755,8 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
    *   Thank you page.
    * @param null $isTest
    *
-   * @return bool Is this a separate membership payment
+   * @return bool
+   *   Is this a separate membership payment
    *
    * @static
    */
@@ -1087,7 +1091,8 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
    *   Contact type.
    * @param bool $status
    *
-   * @return array array of importable Fields
+   * @return array
+   *   array of importable Fields
    * @static
    */
   public static function &importableFields($contactType = 'Individual', $status = TRUE) {
@@ -1185,7 +1190,8 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
    * @param bool|int $isTest if true, membership is for a test site
    * @param bool|int $isOwner if true, only retrieve membership records for owners //LCD
    *
-   * @return integer the number of members of type $membershipTypeId whose
+   * @return integer
+   *   the number of members of type $membershipTypeId whose
    *         start_date is between $startDate and $endDate
    */
   //LCD
@@ -1671,7 +1677,8 @@ AND civicrm_membership.is_test = %2";
    *
    * @param int membershipId membership id
    *
-   * @return int $contributionPageId contribution page id
+   * @return int
+   *   $contributionPageId contribution page id
    * @static
    */
   public static function getContributionPageId($membershipID) {
@@ -1720,7 +1727,8 @@ SELECT c.contribution_page_id as pageID
    *
    * @param null $mode
    *
-   * @return array the list of membership fields
+   * @return array
+   *   the list of membership fields
    * @static
    */
   public static function getMembershipFields($mode = NULL) {
@@ -1937,7 +1945,8 @@ WHERE  civicrm_membership.contact_id = civicrm_contact.id
    * @param int $membershipId
    *   Membsership id.
    *
-   * @return boolean  true if deleted false otherwise
+   * @return boolean
+   *   true if deleted false otherwise
    */
   public static function deleteMembershipPayment($membershipId) {
 
@@ -2078,7 +2087,8 @@ FROM   civicrm_membership_type
    * @param int $mid
    *   Membership id.
    *
-   * @return string $status contribution status
+   * @return string
+   *   contribution status
    * @static
    */
   public static function isSubscriptionCancelled($mid) {
@@ -2161,7 +2171,8 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
    *   Date on which to end counting.
    * @param bool|int $isTest if true, membership is for a test site
    *
-   * @return integer returns the number of members of type $membershipTypeId
+   * @return integer
+   *   returns the number of members of type $membershipTypeId
    *         whose join_date is before $startDate and
    *         whose start_date is between $startDate and $endDate
    */
@@ -2683,7 +2694,8 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
    * @param int $membershipId
    *   Membership id.
    *
-   * @return integer contribution id
+   * @return integer
+   *   contribution id
    */
   public static function getMembershipContributionId($membershipId) {
 
@@ -2702,7 +2714,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
    * IMPORTANT:
    * Sending renewal reminders has been migrated from this job to the Scheduled Reminders function as of 4.3.
    *
-   * @return array $result
+   * @return array
    */
   public static function updateAllMembershipStatus() {
 
@@ -3058,7 +3070,8 @@ WHERE      civicrm_membership.is_test = 0";
    * @param bool $isTest
    *   Mode of payment.
    *
-   * @return array of membership type
+   * @return array
+   *   of membership type
    * @static
    */
   public static function getContactsCancelledMembership($contactID, $isTest = FALSE) {
index 2fbd000b21b50af0bceaf6e33f2aebf55e2f710e..bc20c9318ad5c33feac8d114d7df9ae52f071689 100644 (file)
@@ -75,7 +75,8 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
index d09f7d727403cec293332783eaa9815f6cba3825..3c96443ea137a8bff0797893ecaacfb5c92b645e 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $is_active) {
@@ -294,7 +295,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    * @param int $numRenewTerms
    *   How many membership terms are being added to end date (default is 1).
    *
-   * @return array associated array with  start date, end date and join date for the membership
+   * @return array
+   *   associated array with  start date, end date and join date for the membership
    * @static
    */
   public static function getDatesForMembershipType($membershipTypeId, $joinDate = NULL, $startDate = NULL, $endDate = NULL, $numRenewTerms = 1) {
@@ -474,7 +476,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    *
    * CRM-7297 Membership Upsell - Added $membershipTypeID param to facilitate calculations of dates when membership type changes
    *
-   * @return Array array fo the start date, end date and join date of the membership
+   * @return Array
+   *   array fo the start date, end date and join date of the membership
    * @static
    */
   public static function getRenewalDatesForMembershipType($membershipId, $changeToday = NULL, $membershipTypeID = NULL, $numRenewTerms = 1) {
@@ -581,7 +584,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    * @param int $orgID
    *   Id of Organization.
    *
-   * @return Array array of the details of membership types
+   * @return Array
+   *   array of the details of membership types
    * @static
    */
   public static function getMembershipTypesByOrg($orgID) {
@@ -601,7 +605,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    *
    * @param array membership types
    *
-   * @return Array array of the details of membership types with Member of Contact id
+   * @return Array
+   *   array of the details of membership types with Member of Contact id
    * @static
    */
   public static function getMemberOfContactByMemTypes($membershipTypes) {
@@ -645,7 +650,8 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
    * Funtion to retrieve organization and associated membership
    * types
    *
-   * @return array arrays of organization and membership types
+   * @return array
+   *   arrays of organization and membership types
    *
    * @static
    */
index 8918b2d30e1c54130a682fbdc28918c4035cb49b..55a03716cadb14200d366a6248534df6c08e217f 100644 (file)
@@ -85,7 +85,8 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
    * the default values are retrieved from the database
    *
    *
-   * @return array defaults
+   * @return array
+   *   defaults
    */
   public function setDefaultValues() {
     $defaults = array();
index 3af48bb1840c7b92e833e848eabc680b99760ab5..8575c6cac0db21662e6cfe0d2bebdbc69fae34ff 100644 (file)
@@ -1703,7 +1703,8 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
    * @param object $membership
    *   Object.
    *
-   * @return boolean true if mail was sent successfully
+   * @return boolean
+   *   true if mail was sent successfully
    * @static
    */
   public static function emailReceipt(&$form, &$formValues, &$membership) {
index f044f0b8b1a8a24751e74ee6947aefb5ee21dcab..c7a842525a43e738c3fdd1ad14ee583da07b5795 100644 (file)
@@ -63,7 +63,8 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form {
    * the default values are retrieved from the database
    *
    *
-   * @return array defaults
+   * @return array
+   *   defaults
    */
   public function setDefaultValues() {
     $defaults = array();
index d052c330686ca413084b0833b21a18ec27d63229..1478b49d88b5e9594fbe5aa82e4d6f9208c2b388 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
index 41c0a2806e6b3c617f28e61478b6fe03f3474248..dbc422669c265076696dca4d27aae482906ebb76 100644 (file)
@@ -66,7 +66,8 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array();
index a61c6c25407964b6cf3e85dee47f844879903ad8..b8191bdee5b5a86c5449402b47ae7ce9ac3a2543 100644 (file)
@@ -121,7 +121,8 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 9a6e71928530fb6c96bc88781a689e573537eaf6..6696cd199c3e584e430254215facc133536ace5e 100644 (file)
@@ -303,7 +303,8 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index 561710c3bb78057546892c0536c2779bd3991aab..67eb3304ef544375f52b49d0217a58f8e91833b3 100644 (file)
@@ -301,7 +301,8 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
   /**
    * Format the field values for input to the api
    *
-   * @return array (reference ) associative array of name/value pairs
+   * @return array
+   *   (reference ) associative array of name/value pairs
    */
   public function &getActiveFieldParams() {
     $params = array();
index 590afc3c4b59b4ef34d1c647632cd298e9dc63e3..224c88c7606d9571b1c08b8a2db7e60ebfce0ccb 100644 (file)
@@ -124,7 +124,8 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function preview(&$values) {
     return $this->summary($values);
@@ -136,7 +137,8 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function summary(&$values) {
     $erroneousField = NULL;
@@ -252,7 +254,8 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
    * @param array $values
    *   The array of values belonging to this line.
    *
-   * @return boolean      the result of this processing
+   * @return boolean
+   *   the result of this processing
    */
   public function import($onDuplicate, &$values) {
     try {
@@ -591,7 +594,8 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
    *
    * @param $formatted
    *
-   * @return Array formatted containing date values
+   * @return Array
+   *   formatted containing date values
    *
    */
   public function formattedDates($calcDates, &$formatted) {
index 5b7a9313b07240d808b19311dc80d96d02b10c5b..3dd121129a3fd6c33682e7e2f41dfdce79ff6230 100644 (file)
@@ -46,7 +46,8 @@ class CRM_Member_Info extends CRM_Core_Component_Info {
    * Needs to be implemented in component's information
    * class.
    *
-   * @return array collection of required component settings
+   * @return array
+   *   collection of required component settings
    *
    */
   /**
index 341a8cb14e856dc6cb51cd345ef02e1cb34a9aa9..9d0e5176693b8579b46ae944c7d602e3aa50d5b1 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Member_BAO_MembershipStatus';
@@ -60,7 +61,8 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -183,7 +185,8 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Member_Form_MembershipStatus';
@@ -192,7 +195,8 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'Membership Status';
@@ -203,7 +207,8 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/member/membershipStatus';
index ef739c853316ed4dcb0052cd5ca77acf84ef2960..7c654505e29fbeec514e8ee91e3f8d9008cba6f1 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
index 0fffb1f4c45289a2d5983ceab2eebf9ed9b0e692..a72e52532a52f0a8a383fce5510e07fb0b17c7d3 100644 (file)
@@ -460,7 +460,8 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
    * @param bool $isCancelSupported
    * @param bool $isUpdateBilling
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   static function &links(
@@ -547,7 +548,8 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   /**
    * Define action links for membership types of related organization
    *
-   * @return array self::$_membershipTypesLinks array of action links
+   * @return array
+   *   self::$_membershipTypesLinks array of action links
    */
   public static function &membershipTypesLinks() {
     if (!self::$_membershipTypesLinks) {
@@ -595,7 +597,8 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Member_BAO_Membership';
index 03415578db831e34350f9702f840220a46bb7904..a6331da4ad18bdd26d65baa882626987c2d858e4 100644 (file)
@@ -60,7 +60,8 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param int $id
    * @param bool $force
    *
-   * @return array - array reference of all membership types if any
+   * @return array
+   *   array reference of all membership types if any
    * @static
    */
   public static function &membershipType($id = NULL, $force = FALSE) {
@@ -91,7 +92,8 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param string $column
    * @param bool $force
    *
-   * @return array - array reference of all membership statuss if any
+   * @return array
+   *   array reference of all membership statuss if any
    * @static
    */
   public static function &membershipStatus($id = NULL, $cond = NULL, $column = 'name', $force = FALSE, $allStatus = FALSE) {
index f2fe87942593eeee2fe73ccf8c98c8f2cc7e1c1c..b1463e0f06c292a8a3a6f2c9900dd53502af48e8 100644 (file)
@@ -297,7 +297,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -322,7 +323,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     // check if we can process credit card registration
@@ -449,7 +451,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   }
 
   /**
-   * @return array              $qill         which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -467,7 +470,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -543,7 +547,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Member Search');
index 700a1d4173a8628611d945f28363babc8c44d147..7fc2a5ab6b49fedcc5433648f7093e141d10513f 100644 (file)
@@ -77,7 +77,8 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index fad45d85e52b0495b3e2ebc6f7805178318570c7..8b070b13f895e0a876b1ecefa6712c6e5a15a016 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Member_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -131,7 +132,8 @@ class CRM_Member_Task {
    * These tasks are the core set of task titles
    * on members
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -149,7 +151,8 @@ class CRM_Member_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = array();
@@ -177,7 +180,8 @@ class CRM_Member_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of members
+   * @return array
+   *   the set of tasks for a group of members
    * @static
    */
   public static function getTask($value) {
index 9dc492620942741c9d7285feae5b835c3fab2923..faa031215fbb99903564dd2526b39e5c4b4dd04e 100644 (file)
@@ -115,7 +115,8 @@ WHERE  civicrm_pcp.contact_id = civicrm_contact.id
    *
    * @param int $contactId
    *
-   * @return array     array of Pcp if found
+   * @return array
+   *   array of Pcp if found
    * @static
    */
   public static function getPcpDashboardInfo($contactId) {
@@ -258,7 +259,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
    *
    * @static
    *
-   * @return array $honor
+   * @return array
    */
   public static function honorRoll($pcpId) {
     $query = "
@@ -283,7 +284,8 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   /**
    * Get action links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    * @static
    */
   public static function &pcpLinks() {
index 1458f31e38a82781a08e3f5b9b3ca3ff998fa0f3..f7eba0cbed96647fec87ed6a315b26ee09917942 100644 (file)
@@ -124,7 +124,8 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array();
@@ -194,7 +195,8 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $form) {
index e8efea372305138cb8243257a900ec22a7036b09..861d7154d634f61bfbc14c9b3eaa7e87c55e9a46 100644 (file)
@@ -49,7 +49,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_PCP_BAO_PCP';
@@ -58,7 +59,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -358,7 +360,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_PCP_Form_PCP';
@@ -367,7 +370,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return ts('Personal Campaign Page');
@@ -378,7 +382,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/pcp';
index ca226f7f81381888dbb5ed1e22211d75de9dbf5a..c095e3b3559cd06cc4bae06384f1d318d9c2eeb7 100644 (file)
@@ -130,7 +130,8 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge {
    * @param array $returnProperties
    *   If you want to return specific fields.
    *
-   * @return array associated array of field values
+   * @return array
+   *   associated array of field values
    * @static
    */
   public static function &getValues(&$params, &$values, $returnProperties = NULL) {
@@ -451,7 +452,8 @@ GROUP BY  currency
    * @param int $honorId
    *   In Honor of Contact ID.
    *
-   * @return array return the list of pledge fields
+   * @return array
+   *   return the list of pledge fields
    *
    * @static
    */
@@ -498,7 +500,8 @@ GROUP BY  currency
    * @param array $params
    *   An assoc array of name/value pairs.
    *
-   * @return void.
+   * @return void
+   *
    */
   public static function sendAcknowledgment(&$form, $params) {
     //handle Acknowledgment.
@@ -691,7 +694,8 @@ GROUP BY  currency
   /**
    * Combine all the exportable fields from the lower levels object
    *
-   * @return array array of exportable Fields
+   * @return array
+   *   array of exportable Fields
    * @static
    */
   public static function &exportableFields() {
@@ -758,7 +762,8 @@ GROUP BY  currency
    * @param int $contactID
    *   Contact id.
    *
-   * @return array associated array of pledge id(s)
+   * @return array
+   *   associated array of pledge id(s)
    * @static
    */
   public static function getContactPledges($contactID) {
@@ -802,7 +807,8 @@ GROUP BY  currency
    *
    * @param int $contactID
    *
-   * @return int count of pledge records
+   * @return int
+   *   count of pledge records
    * @static
    */
   public static function getContactPledgeCount($contactID) {
@@ -1066,7 +1072,8 @@ SELECT  pledge.contact_id              as contact_id,
    * Find payments which can be safely canceled.
    *
    * @param int $pledgeID
-   * @return array of int (civicrm_pledge_payment.id)
+   * @return array
+   *   of int (civicrm_pledge_payment.id)
    */
   public static function findCancelablePayments($pledgeID) {
     $statuses = array_flip(CRM_Contribute_PseudoConstant::contributionStatus());
@@ -1093,7 +1100,8 @@ SELECT  pledge.contact_id              as contact_id,
    *
    * @param int $pledgeID
    * @param int $pledgeStatusID
-   * @return bool do financial transactions exist for this pledge?
+   * @return bool
+   *   do financial transactions exist for this pledge?
    */
   public static function pledgeHasFinancialTransactions($pledgeID, $pledgeStatusID) {
     if (empty($pledgeStatusID)) {
@@ -1113,7 +1121,8 @@ SELECT  pledge.contact_id              as contact_id,
    * @param int $statusID
    *   Pledge status id.
    *
-   * @return bool is it a transactional status?
+   * @return bool
+   *   is it a transactional status?
    */
   protected static function isTransactedStatus($statusID) {
     if (!in_array($statusID, self::getNonTransactionalStatus())) {
@@ -1124,7 +1133,8 @@ SELECT  pledge.contact_id              as contact_id,
 
   /**
    * Get array of non transactional statuses
-   * @return array non transactional status ids
+   * @return array
+   *   non transactional status ids
    */
   protected static function getNonTransactionalStatus() {
     $paymentStatus = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name');
@@ -1133,7 +1143,8 @@ SELECT  pledge.contact_id              as contact_id,
 
   /**
    * Get array of non transactional statuses
-   * @return array non transactional status ids
+   * @return array
+   *   non transactional status ids
    */
   protected static function getTransactionalStatus() {
     $paymentStatus = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name');
index 97f3bb9177b9cc67bf07106af9108bf254bde2d4..a591549ed9655961b6f1e9684285aee3961436c4 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Pledge_BAO_PledgePayment extends CRM_Pledge_DAO_PledgePayment {
    * @param int $pledgeId
    *   Pledge id.
    *
-   * @return array associated array of pledge payment details
+   * @return array
+   *   associated array of pledge payment details
    * @static
    */
   public static function getPledgePayments($pledgeId) {
@@ -229,7 +230,8 @@ WHERE     pledge_id = %1
    *
    * @param int $id
    *
-   * @return int pledge payment id
+   * @return int
+   *   pledge payment id
    * @static
    */
   public static function del($id) {
@@ -341,7 +343,8 @@ WHERE     pledge_id = %1
    * @param bool $isScriptUpdate
    *   , is function being called from bin script?.
    *
-   * @return int $newStatus, updated status id (or 0)
+   * @return int
+   *   $newStatus, updated status id (or 0)
    */
   static function updatePledgePaymentStatus(
     $pledgeID,
@@ -516,7 +519,8 @@ WHERE  civicrm_pledge.id = %2
    *
    * @param array $params
    *
-   * @return array $newdate Next scheduled date as an array
+   * @return array
+   *   Next scheduled date as an array
    * @static
    */
   public static function calculateBaseScheduleDate(&$params) {
@@ -582,7 +586,8 @@ WHERE  civicrm_pledge.id = %2
    * @param int $pledgeId
    *   Pledge id.
    *
-   * @return int $statusId calculated status id of pledge
+   * @return int
+   *   $statusId calculated status id of pledge
    * @static
    */
   public static function calculatePledgeStatus($pledgeId) {
@@ -694,7 +699,8 @@ WHERE  civicrm_pledge_payment.id = {$paymentId}
    *
    * @param int $limit
    *
-   * @return array associated array of pledge details
+   * @return array
+   *   associated array of pledge details
    * @static
    */
   public static function getOldestPledgePayment($pledgeID, $limit = 1) {
index 2aacb4cacf7f780df9fc6ce11068db4a2bf0af7e..852234ae08a1c6de286f0807cd9fddae329d58d9 100644 (file)
@@ -314,7 +314,8 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 45a8fdde89e794fc8442222ccd8b48aad9956531..d8811484b4184cd08fa9f8a6bcf49272c3e0d440 100644 (file)
@@ -45,7 +45,8 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info {
    * Needs to be implemented in component's information
    * class.
    *
-   * @return array collection of required component settings
+   * @return array
+   *   collection of required component settings
    */
   public function getInfo() {
     return array(
index 0c2000c35371c74603fc2d159adf5c0c48e5e324..c061f1b3b378a25d0361ef2d1788f20217ddb15b 100644 (file)
@@ -257,7 +257,8 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     return $this->_query->searchQuery(0, 0, NULL,
@@ -282,7 +283,8 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
     $result = $this->_query->searchQuery($offset, $rowCount, $sort,
@@ -366,7 +368,8 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * @return array  $qill    which contains an array of strings
+   * @return array
+   *   which contains an array of strings
    */
 
   // the current internationalisation is bad, but should more or less work
@@ -384,7 +387,8 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     if (!isset(self::$_columnHeaders)) {
@@ -459,7 +463,8 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('Pledge Search');
index 1573b176e9085cf93de528edeac98fc15233bcab..09b120d8050dc762602d512b8f60f10518d282eb 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param string $formName
    *
-   * @return string the name of the form that will handle the task
+   * @return string
+   *   the name of the form that will handle the task
    */
   public function taskName($controller, $formName = 'Search') {
     // total hack, check POST vars and then session to determine stuff
index 5c92bbf40956f6ddd03d567efd658ff58c5319ac..c6e7b31fabb252a25970b915bea05e28cfc08a75 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Pledge_Task {
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array the set of tasks for a group of contacts
+   * @return array
+   *   the set of tasks for a group of contacts
    * @static
    */
   public static function &tasks() {
@@ -100,7 +101,8 @@ class CRM_Pledge_Task {
   /**
    * These tasks are the core set of task titles
    *
-   * @return array the set of task titles
+   * @return array
+   *   the set of task titles
    * @static
    */
   public static function &taskTitles() {
@@ -115,7 +117,8 @@ class CRM_Pledge_Task {
   /**
    * These tasks get added based on the context the user is in
    *
-   * @return array the set of optional tasks for a group of contacts
+   * @return array
+   *   the set of optional tasks for a group of contacts
    * @static
    */
   public static function &optionalTaskTitle() {
@@ -129,7 +132,8 @@ class CRM_Pledge_Task {
    *
    * @param int $permission
    *
-   * @return array set of tasks that are valid for the user
+   * @return array
+   *   set of tasks that are valid for the user
    */
   public static function &permissionedTaskTitles($permission) {
     $tasks = array();
@@ -156,7 +160,8 @@ class CRM_Pledge_Task {
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of pledge holders
+   * @return array
+   *   the set of tasks for a group of pledge holders
    * @static
    */
   public static function getTask($value) {
index b50072f14afeaf62a7fd20225e1875879baea516..91bdf54c39a8591d1d5ba89347310d1fb171595e 100644 (file)
@@ -152,7 +152,8 @@ AND li.entity_id = {$entityId}
    * this function precedes the convenience of the contribution id but since it does quite a bit more than just a db retrieval we need to be able to use it even
    * when we don't want it's entity-id magix
    *
-   * @return array of line items
+   * @return array
+   *   of line items
    */
   public static function getLineItems($entityId, $entity = 'participant', $isQuick = NULL, $isQtyZero = TRUE, $relatedEntity = FALSE, $overrideWhereClause = '') {
     $whereClause = $fromClause = NULL;
index 032b8d39973091e7d473ef044c9b610f7c045090..de0c4714194ee8d3a1d188f9755e9d5dfc9c86ff 100644 (file)
@@ -192,7 +192,8 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object            DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
@@ -213,7 +214,8 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
    * @param int $id
    *   Id of field.
    *
-   * @return string name
+   * @return string
+   *   name
    *
    * @static
    *
@@ -566,7 +568,8 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
    * @param bool $reset
    *   Ignore stored values\.
    *
-   * @return array array of options
+   * @return array
+   *   array of options
    */
   public static function getOptions($fieldId, $inactiveNeeded = FALSE, $reset = FALSE) {
     static $options = array();
@@ -779,7 +782,8 @@ WHERE  id IN (" . implode(',', array_keys($priceFields)) . ')';
    * @param string $displayOpt
    *   Tax display setting option.
    *
-   * @return string $label tax label for custom field
+   * @return string
+   *   tax label for custom field
    *
    * @static
    *
index 067b04517c22ff46eda2d84a654b7fab5c9460a6..0c933dd741f94ec8dfbc4040aa7c5edc7b1c9716 100644 (file)
@@ -151,7 +151,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
    *   For order by, default weight.
    * @param bool|int $isActive is_active, default false
    *
-   * @return array $values
+   * @return array
    *
    * @static
    */
@@ -177,7 +177,8 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
    * @param int $id
    *   Id of field option.
    *
-   * @return string name
+   * @return string
+   *   name
    *
    * @static
    *
@@ -194,7 +195,8 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object            DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
index 510a4763e9b26be479957f60dcdc4c9dcf94f12d..e5f96fe684dc24153481856dd1aca5e80da82dad 100644 (file)
@@ -102,7 +102,8 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
    *
    * @internal param bool $is_active value we want to set the is_active field
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $isActive) {
@@ -115,7 +116,8 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
    *
    * @param string $entity
    *
-   * @return array $defaultPriceSet default price set
+   * @return array
+   *   default price set
    *
    * @static
    *
@@ -161,7 +163,8 @@ WHERE       ps.name = '{$entityName}'
    * @param int $id
    *   Id of price set.
    *
-   * @return string   title
+   * @return string
+   *   title
    *
    * @static
    *
@@ -284,7 +287,8 @@ WHERE     ct.id = cp.financial_type_id AND
    * @param int $id
    *   Price Set id.
    *
-   * @return boolean false if fields exist for this set, true if the
+   * @return boolean
+   *   false if fields exist for this set, true if the
    * set could be deleted
    *
    * @static
@@ -441,7 +445,8 @@ WHERE     ct.id = cp.financial_type_id AND
    *   Whether or not to include inactive entries.
    * @param bool|string $extendComponentName name of the component like 'CiviEvent','CiviContribute'
    *
-   * @return array associative array of id => name
+   * @return array
+   *   associative array of id => name
    */
   public static function getAssoc($withInactive = FALSE, $extendComponentName = FALSE) {
     $query = '
@@ -489,7 +494,8 @@ WHERE     ct.id = cp.financial_type_id AND
    *
    * @internal param int $setId - price set id whose details are needed
    *
-   * @return array $setTree - array consisting of field details
+   * @return array
+   *   array consisting of field details
    */
   public static function getSetDetail($setID, $required = TRUE, $validOnly = FALSE) {
     // create a new tree
@@ -1010,7 +1016,7 @@ WHERE  id = %1";
    * @param CRM_Core_Form $form
    * @param $defaults
    *
-   * @return array $defaults
+   * @return array
    */
   public static function setDefaultPriceSet(&$form, &$defaults) {
     if (!isset($form->_priceSet) || empty($form->_priceSet['fields'])) {
@@ -1082,7 +1088,8 @@ WHERE  id = %1";
    * @param int $id
    *   Price Set id.
    *
-   * @return array of the field ids
+   * @return array
+   *   of the field ids
    *
    * @static
    */
@@ -1232,7 +1239,8 @@ GROUP BY     mt.member_of_contact_id";
    * @param int $priceSetId
    *   Price set id.
    *
-   * @return int $autoRenewOption ( 0:hide, 1:optional 2:required )
+   * @return int
+   *   $autoRenewOption ( 0:hide, 1:optional 2:required )
    */
   public static function checkAutoRenewForPriceSet($priceSetId) {
     // auto-renew option should be visible if membership types associated with all the fields has
@@ -1280,7 +1288,8 @@ GROUP BY     mt.member_of_contact_id";
    * @param int $priceSetId
    *   Price set id.
    *
-   * @return array associate array of frequency interval and unit
+   * @return array
+   *   associate array of frequency interval and unit
    * @static
    */
   public static function getRecurDetails($priceSetId) {
@@ -1314,7 +1323,8 @@ GROUP BY     mt.member_of_contact_id";
    * @param bool $isQuickConfigValue we want to set the is_quick_config field.
    *   Value we want to set the is_quick_config field.
    *
-   * @return Object                   DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsQuickConfig($id, $isQuickConfig) {
index c9286ec92de4fa894756af4c2a9259847bc69207..421d9985adc0465068d8c60cf2e266aa003b7c9b 100644 (file)
@@ -100,7 +100,8 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array    array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array();
@@ -390,7 +391,8 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array    if errors then list of errors to be posted back to the form,
+   * @return array
+   *   if errors then list of errors to be posted back to the form,
    *                  true otherwise
    * @static
    */
index df05f6e7e6f61921dcfd4952c1fb059b6c6b7e4c..bba1a6748eca1574e22fd05f12c900d5aa79c149 100644 (file)
@@ -75,7 +75,8 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     if ($this->_action == CRM_Core_Action::DELETE) {
@@ -274,7 +275,8 @@ class CRM_Price_Form_Option extends CRM_Core_Form {
    * @param $files
    * @param CRM_Core_Form $form
    *
-   * @return array    if errors then list of errors to be posted back to the form,
+   * @return array
+   *   if errors then list of errors to be posted back to the form,
    *                  true otherwise
    * @static
    */
index 89c202c74ea81f1f535b5535682ae3a6210d9757..dffbba2d82fe057c8b1a8ede705cb122a22b066e 100644 (file)
@@ -93,7 +93,8 @@ class CRM_Price_Form_Preview extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 5bcc4d664e15254b52329e88cea932ee37064141..de01dfa6baed3e7af3e9f28ff9ca82790b490c11 100644 (file)
@@ -238,7 +238,8 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
    *
    * @param null
    *
-   * @return array   array of default values
+   * @return array
+   *   array of default values
    */
   public function setDefaultValues() {
     $defaults = array('is_active' => TRUE);
index cc3e045631fbb7ed68fe28e20e0eb1390c507c1b..c87e338c3c02765792409717a0299f666dac2fcd 100644 (file)
@@ -71,7 +71,8 @@ class CRM_Price_Page_Field extends CRM_Core_Page {
    *
    * @param null
    *
-   * @return array  array of action links that we need to display for the browse screen
+   * @return array
+   *   array of action links that we need to display for the browse screen
    */
   function &actionLinks() {
     if (!isset(self::$_actionLinks)) {
index a4da057bf99108880797a104b703f7dcc5d15b92..79be0c9ffb16512f81079ef571578c19d568c315 100644 (file)
@@ -78,7 +78,8 @@ class CRM_Price_Page_Option extends CRM_Core_Page {
    *
    * @param null
    *
-   * @return array  array of action links that we need to display for the browse screen
+   * @return array
+   *   array of action links that we need to display for the browse screen
    */
   function &actionLinks() {
     if (!isset(self::$_actionLinks)) {
index dc6cf216a78841b04b3c2250aee6739c32fbec6d..99fb264c4b6f3c54b909b64ccbacbf208814c8e5 100644 (file)
@@ -55,7 +55,8 @@ class CRM_Price_Page_Set extends CRM_Core_Page {
    *
    * @param null
    *
-   * @return array   array of action links that we need to display for the browse screen
+   * @return array
+   *   array of action links that we need to display for the browse screen
    */
   function &actionLinks() {
     // check if variable _actionsLinks is populated
index 043d3369cf0472f748de60f1304c78d71b041c49..43f721b3096212407f17e57afc40ffee9b3a8322 100644 (file)
@@ -313,7 +313,8 @@ SELECT module,is_reserved
    * This is a first version and will be tweaked over a period of time
    *
    *
-   * @return boolean   true if no error found
+   * @return boolean
+   *   true if no error found
    */
   public function validate() {
     $errors = parent::validate();
index f89d2e173dd738c537e2662c3b26ad37344d595e..772e579d47d183439d350f90e678c80ed3486125 100644 (file)
@@ -61,7 +61,8 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 90d10a41e5d79b0338baa5c2c22893df6e05b0b7..d37a3a266e7523a9752540932ac3ed3d95ad6817 100644 (file)
@@ -165,7 +165,7 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page {
   /**
    * Get the action links for this page.
    *
-   * @return array $_actionLinks
+   * @return array
    *
    */
   public function &actionLinks() {
index f06e64eeecb01260108e2ac6351dc7d89b056cd2..4ad7933086efb7f3dcb98b2e0ee16cbcf73618d1 100644 (file)
@@ -57,7 +57,8 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return '';
@@ -66,7 +67,8 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links[$this->_pageViewType])) {
@@ -407,7 +409,8 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string  classname of edit form
+   * @return string
+   *   classname of edit form
    */
   public function editForm() {
     return '';
@@ -416,7 +419,8 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string  name of this page
+   * @return string
+   *   name of this page
    */
   public function editName() {
     return '';
@@ -427,7 +431,8 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string  user context
+   * @return string
+   *   user context
    */
   public function userContext($mode = NULL) {
     return '';
index e9025d246c39a87e4295435310be230cfc476ac1..26f81509f8ecb173271a08ffd4e12195067f5e66 100644 (file)
@@ -297,7 +297,8 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return array the column headers that need to be displayed
+   * @return array
+   *   the column headers that need to be displayed
    */
   public function &getColumnHeaders($action = NULL, $output = NULL) {
     static $skipFields = array('group', 'tag');
@@ -387,7 +388,8 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
    *
    * @param
    *
-   * @return int Total number of rows
+   * @return int
+   *   Total number of rows
    */
   public function getTotalCount($action) {
     $additionalWhereClause = 'contact_a.is_deleted = 0';
@@ -437,7 +439,8 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
    * @param enum $output
    *   What should the result set include (web/email/csv).
    *
-   * @return int   the total number of rows for this action
+   * @return int
+   *   the total number of rows for this action
    */
   public function &getRows($action, $offset, $rowCount, $sort, $output = NULL, $extraWhereClause = NULL) {
 
@@ -725,7 +728,8 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR
    * @param string $output
    *   Type of output.
    *
-   * @return string name of the file
+   * @return string
+   *   name of the file
    */
   public function getExportFileName($output = 'csv') {
     return ts('CiviCRM Profile Listings');
index 7913e49a94e1380fa09a9faf3f787ca5e5431190..3e7867a36060b79b8c1957bf910c6420ea960f90 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Queue_BAO_QueueItem extends CRM_Queue_DAO_QueueItem {
   /**
    * Ensure that the required SQL table exists
    *
-   * @return bool TRUE if table now exists
+   * @return bool
+   *   TRUE if table now exists
    */
   public static function findCreateTable() {
     $checkTableSql = "show tables like 'civicrm_queue_item'";
index d6a0dd15f08f7e46b9d4d4004de44950073debd4..0fe31594a6d242b8bccec901e847b72bb86752d2 100644 (file)
@@ -114,7 +114,8 @@ abstract class CRM_Queue_Queue {
    * @param int $lease_time
    *   Seconds.
    *
-   * @return object with key 'data' that matches the inputted data
+   * @return object
+   *   with key 'data' that matches the inputted data
    */
   public abstract function claimItem($lease_time = 3600);
 
@@ -124,7 +125,8 @@ abstract class CRM_Queue_Queue {
    * @param int $lease_time
    *   Seconds.
    *
-   * @return object with key 'data' that matches the inputted data
+   * @return object
+   *   with key 'data' that matches the inputted data
    */
   public abstract function stealItem($lease_time = 3600);
 
index fdbab126199967f8c88e0ce86215a94e024154ea..e5fb62841a393c962d1aa7484b3e75b58944a9f1 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Report_BAO_Hook {
  /**
   * Get or build the list of search objects (via hook)
   *
-  * @return array of CRM_Report_BAO_Hook_Interface objects
+  * @return array
+   *   of CRM_Report_BAO_Hook_Interface objects
   */
   public function getSearchQueryObjects() {
     if ($this->_queryObjects === NULL) {
index 374f1cbc50d15c4f844c6f8de7f81d0401e620f9..1d58bad4274f62e81d5630a1501e1c941ccd0824 100644 (file)
@@ -859,7 +859,7 @@ class CRM_Report_Form extends CRM_Core_Form {
 
   /**
    * Getter for $_defaultValues
-   * @return array $_defaultValues
+   * @return array
    */
   public function getDefaultValues() {
     return $this->_defaults;
@@ -3546,7 +3546,8 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
    * Fetch array of DAO tables having columns included in SELECT or ORDER BY clause
    * (building the array if it's unset)
    *
-   * @return Array $this->_selectedTables
+   * @return Array
+   *   >_selectedTables
    */
   public function selectedTables() {
     if (!$this->_selectedTables) {
@@ -3609,7 +3610,8 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
    * @param bool $filters
    * @param array $defaults
    *
-   * @return array address fields for construct clause
+   * @return array
+   *   address fields for construct clause
    */
   public function addAddressFields($groupBy = TRUE, $orderBy = FALSE, $filters = TRUE, $defaults = array('country_id' => TRUE)) {
     $addressFields = array(
@@ -3881,7 +3883,8 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
    *  - prefix Prefix to add to table (in case of more than one instance of the table)
    *  - prefix_label Label to give columns from this phone table instance
    *
-   * @return array phone columns definition
+   * @return array
+   *   phone columns definition
    */
   public function getPhoneColumns($options = array()) {
     $defaultOptions = array(
@@ -3912,7 +3915,8 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
    *  - prefix Prefix to add to table (in case of more than one instance of the table)
    *  - prefix_label Label to give columns from this address table instance
    *
-   * @return array address columns definition
+   * @return array
+   *   address columns definition
    */
   public function getAddressColumns($options = array()) {
     $options += array(
index f5e4eb2230c1c5f6da487b8b65fa4c89748d5797..4237e76d5827517c2513c2515271adf76834e518 100644 (file)
@@ -298,7 +298,8 @@ class CRM_Report_Form_Activity extends CRM_Report_Form {
   }
 
   /** adding address fields with dbAlias for order clause
-   * @return array address fields
+   * @return array
+   *   address fields
    */
   public function addressFields($orderBy = FALSE) {
     $address = parent::addAddressFields(FALSE, TRUE);
index 18578f611bd4566b28dc5c91b40ac16d8f3f9a09..8bd288b192027fd168678f27cb946e5af0eebfef 100644 (file)
@@ -706,7 +706,8 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
    * - order_by enable these fields for order by
    * - filters enable these fields for filtering
    * - defaults - (is this working?) values to pre-populate
-   * @return array address fields for construct clause
+   * @return array
+   *   address fields for construct clause
    */
   /**
    * Get address columns to add to array
@@ -715,7 +716,8 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
    *  - prefix Prefix to add to table (in case of more than one instance of the table)
    *  - prefix_label Label to give columns from this address table instance
    *
-   * @return array address columns definition
+   * @return array
+   *   address columns definition
    */
   /**
    * @param array $options
index 35b752328b106dbab73deeafaa854160cdc13303..22f8c7a7cfc2ab3ab8323764c31721104f4d2999 100644 (file)
@@ -60,7 +60,8 @@ class CRM_Report_Form_Register extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index 0c5f22ade7c793604507dd0e08df9b0e9d1efe7a..d52b8046997ead0ddaa82dc79b93f6e37df75420 100644 (file)
@@ -46,7 +46,8 @@ class CRM_Report_Info extends CRM_Core_Component_Info {
    * Needs to be implemented in component's information
    * class.
    *
-   * @return array collection of required component settings
+   * @return array
+   *   collection of required component settings
    *
    */
   /**
index 7b872697e59b8493df95afe360ad60837d3a8617..5296a5fcdcaa7155e70e48dc2a7c6bab55c037a9 100644 (file)
@@ -83,7 +83,7 @@ class CRM_Report_Page_InstanceList extends CRM_Core_Page {
    * Retrieves report instances, optionally filtered by parent report template ($ovID)
    * or by component ($compID)
    *
-   * @return array  $rows
+   * @return array
    * @static
    */
   public function &info() {
index 37dfde714de17b91dd083c72009531e743f08922..5f4afa6981a2d3c822e0931d7ef1e43e191f9c53 100644 (file)
@@ -105,7 +105,8 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Core_BAO_OptionValue';
@@ -114,7 +115,8 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -184,7 +186,8 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Report_Form_Register';
@@ -193,7 +196,8 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return self::$_GName;
@@ -204,7 +208,8 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/report/options/' . self::$_gName;
index 9009f4fab7e0842c3159d87af488dcb76f29881c..4d73153b09a35406582f1bec8f704e5d1e034f9e 100644 (file)
@@ -363,7 +363,8 @@ WHERE  inst.report_id = %1";
    *
    * @param int $instanceId
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    * @static
    */
   public static function isInstanceGroupRoleAllowed($instanceId) {
@@ -465,7 +466,8 @@ WHERE  inst.report_id = %1";
    * @param array $params
    *   All effective report criteria, as in CRM_Report_Form::_params.
    *
-   * @return string URL query string
+   * @return string
+   *   URL query string
    */
   public static function getPreviewCriteriaQueryParams($defaults = array(), $params = array()) {
     static $query_string;
index d435e8ee95b42d60a38aa8a79ac99821f9eb10cd..a14f65b511523242d90793f2462e5dbee2883ce1 100644 (file)
@@ -309,7 +309,8 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
    * @param array $fields
    *   Posted values of the form.
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields) {
index 943363bdf765d8b441b133518868603aa0e4864f..7fc2c34dbf4c1ea0ddf5002acbd977ce0c4b776a 100644 (file)
@@ -126,7 +126,8 @@ class CRM_SMS_Form_Provider extends CRM_Core_Form {
    *
    * access        public
    *
-   * @return array reference to the array of default values
+   * @return array
+   *   reference to the array of default values
    *
    */
   /**
index 520f3d653a6a864e439d11027155e3f25ca7ad12..b1e5bc3da7f328d874ef307c0bc91a1530db47ae 100644 (file)
@@ -120,7 +120,8 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form {
    * @param $files
    * @param $self
    *
-   * @return boolean          True if either we deliver immediately, or the
+   * @return boolean
+   *   True if either we deliver immediately, or the
    *                          date is properly set.
    * @static
    */
index f59bfa9a655f5c0efd6d9b67834fc8ff359a1b75..a3239c36e1f3d7ac0a4c6778a754bf230b9d9ad5 100644 (file)
@@ -51,7 +51,8 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_SMS_BAO_Provider';
@@ -60,7 +61,8 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -162,7 +164,8 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_SMS_Form_Provider';
@@ -171,7 +174,8 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return 'SMS Provider';
@@ -182,7 +186,8 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/admin/sms/provider';
index 62f5a52caf733439c3dd69de54cdca7b1ea1d8c9..4ac9b6093ea39a8f46b8223d19d5caffc720e664 100644 (file)
@@ -76,7 +76,8 @@ class CRM_UF_Form_AbstractPreview extends CRM_Core_Form {
    * Set the default form values
    *
    *
-   * @return array the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
index 2fa0f8286e6429814d092ef11b8636036192d64a..3ac65d89a5dd0f0207ef056e5fc0c32fef356f2c 100644 (file)
@@ -617,7 +617,8 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
    *
    * @param array $errors
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRuleSubType($fieldType, $groupType, $errors) {
@@ -663,7 +664,8 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
    * @param array $errors
    *   Collect errors.
    *
-   * @return Array  list of errors to be posted back to the form
+   * @return Array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRuleCustomDataExtentColumnValue($customField, $gid, $fieldType, &$errors) {
@@ -751,7 +753,8 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
    * @param $files
    * @param $self
    *
-   * @return array list of errors to be posted back to the form
+   * @return array
+   *   list of errors to be posted back to the form
    * @static
    */
   public static function formRule($fields, $files, $self) {
index 4f65ef5b375506f5af9be747da4f3d72c5760f50..8c68ef582534a4a59fc33619f2976d4719350e30 100644 (file)
@@ -62,7 +62,7 @@ class CRM_UF_Page_Field extends CRM_Core_Page {
   /**
    * Get the action links for this page.
    *
-   * @return array $_actionLinks
+   * @return array
    *
    */
   function &actionLinks() {
index 5867d39433f7240d4109b2a93a88779c502e280a..7351b157a1c6ed95453d93df38864dd48dd23af0 100644 (file)
@@ -55,7 +55,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
    *
    * @param
    *
-   * @return array $_actionLinks
+   * @return array
    *
    */
   public function &actionLinks() {
index 73d6f3bf69824930634d9e6b5ca894d425f008ec..dec0300d42e3e94a140ed87150a038956d94dcc7 100644 (file)
@@ -189,7 +189,8 @@ class CRM_UF_Page_ProfileEditor extends CRM_Core_Page {
    *   A string to use in section headers.
    * @param array $availableFields
    *   List of fields that are allowed in profiles, e.g. $availableFields['my_field']['field_type'].
-   * @return array with keys 'sections' and 'schema'
+   * @return array
+   *   with keys 'sections' and 'schema'
    * @see js/model/crm.core.js
    * @see js/model/crm.mappedcore.js
    */
index 43b5f688a615774e268fa0ca72ff98193192c02e..0426a7aa78accac072860e699b87a55ab8edfebc 100644 (file)
@@ -227,7 +227,8 @@ DROP KEY `{$dao->CONSTRAINT_NAME}`";
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    */
   public static function addNameFieldOptions(CRM_Queue_TaskContext $ctx) {
     $query = "SELECT `value` FROM `civicrm_setting` WHERE `group_name` = 'CiviCRM Preferences' AND `name` = 'contact_edit_options'";
@@ -250,7 +251,8 @@ DROP KEY `{$dao->CONSTRAINT_NAME}`";
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    */
   public static function migrateHonoreeInfo(CRM_Queue_TaskContext $ctx) {
     $query = "ALTER TABLE `civicrm_uf_join`
index df9b09e049c7598ef6bea45f99376f209034c693..c1c0d19bc31e49451b402b081fbdd0c68dc82fa5 100644 (file)
@@ -516,7 +516,8 @@ AND image_URL IS NOT NULL
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    */
   public static function activityContacts(CRM_Queue_TaskContext $ctx) {
     $upgrade = new CRM_Upgrade_Form();
@@ -624,7 +625,8 @@ WHERE       source_contact_id IS NOT NULL";
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    * @see http://issues.civicrm.org/jira/browse/CRM-13187
    */
   public static function wordReplacements(CRM_Queue_TaskContext $ctx) {
@@ -656,7 +658,8 @@ CREATE TABLE IF NOT EXISTS `civicrm_word_replacement` (
    * @param CRM_Queue_TaskContext $ctx
    * @param $rev
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    * @see http://issues.civicrm.org/jira/browse/CRM-13655
    */
   public static function wordReplacements_patch(CRM_Queue_TaskContext $ctx, $rev) {
@@ -718,7 +721,8 @@ CREATE TABLE IF NOT EXISTS `civicrm_word_replacement` (
    *
    * @param bool $rebuildEach
    *   Whether to perform rebuild after each individual API call.
-   * @return array Each item is $params for WordReplacement.create
+   * @return array
+   *   Each item is $params for WordReplacement.create
    * @see CRM_Core_BAO_WordReplacement::convertConfigArraysToAPIParams
    */
   public static function getConfigArraysAsAPIParams($rebuildEach) {
@@ -814,7 +818,8 @@ CREATE TABLE IF NOT EXISTS `civicrm_word_replacement` (
 
   /**
    * @param array $params
-   * @return bool TRUE if $params is valid
+   * @return bool
+   *   TRUE if $params is valid
    */
   public static function isValidWordReplacement($params) {
     $result = strlen($params['find_word']) <= self::MAX_WORD_REPLACEMENT_SIZE && strlen($params['replace_word']) <= self::MAX_WORD_REPLACEMENT_SIZE;
index 95df8d485b921d1e083644657a41eea52c0fe827..9c249fe05343489afbf2b4f27a633a70ef785b87 100644 (file)
@@ -1223,7 +1223,8 @@ AND cli.entity_table = 'civicrm_contribution' AND cli.id IN (" . implode(',', $v
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    */
   public function task_4_3_x_checkConstraints(CRM_Queue_TaskContext $ctx) {
     CRM_Core_DAO::executeQuery('ALTER TABLE `civicrm_financial_account` CHANGE `contact_id` `contact_id` INT( 10 ) UNSIGNED NULL DEFAULT NULL');
@@ -1283,7 +1284,8 @@ AND CONSTRAINT_SCHEMA = %1";
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    */
   public function task_4_3_x_checkIndexes(CRM_Queue_TaskContext $ctx) {
     $query = "
@@ -1308,7 +1310,8 @@ ADD INDEX UI_entity_financial_trxn_entity_id (entity_id);
    *
    * @param CRM_Queue_TaskContext $ctx
    *
-   * @return bool TRUE for success
+   * @return bool
+   *   TRUE for success
    */
   public static function phoneNumeric(CRM_Queue_TaskContext $ctx) {
     CRM_Core_DAO::executeQuery(CRM_Contact_BAO_Contact::DROP_STRIP_FUNCTION_43);
index a65e75dddd9c562ff040f7485a537386ebdfb874..753f2be29e6fb651bca9ed8fb0e5f7543f5f0660 100644 (file)
@@ -178,7 +178,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object            DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
@@ -192,7 +193,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
    * @param int $id
    *   Id of field.
    *
-   * @return string name
+   * @return string
+   *   name
    *
    * @static
    *
@@ -473,7 +475,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
    * @param bool $reset
    *   Ignore stored values\.
    *
-   * @return array array of options
+   * @return array
+   *   array of options
    */
   public static function getOptions($fieldId, $inactiveNeeded = FALSE, $reset = FALSE) {
     static $options = array();
index b08e10726e4e8c15e78759bacfe4a8496de9d68b..86fec2dc859d1895f34b771affa6b1cd10c37174 100644 (file)
@@ -138,7 +138,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
    *   For order by, default weight.
    * @param bool|int $isActive is_active, default false
    *
-   * @return array $values
+   * @return array
    *
    * @static
    */
@@ -164,7 +164,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
    * @param int $id
    *   Id of field option.
    *
-   * @return string name
+   * @return string
+   *   name
    *
    * @static
    *
@@ -181,7 +182,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
    * @param bool $is_active
    *   Value we want to set the is_active field.
    *
-   * @return Object            DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    *
    * @static
    */
index 9d696b190c21efcf000e5a03e3378ba05a1ae7a8..d69784240a663201919991760022ea0f7b6c3971 100644 (file)
@@ -104,7 +104,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_LineItem extends CRM_Upgrade_Snapshot_
    *
    * @param null $isQuick
    *
-   * @return array of line items
+   * @return array
+   *   of line items
    */
   public static function getLineItems($entityId, $entity = 'participant', $isQuick = NULL) {
     $selectClause = $whereClause = $fromClause = NULL;
index 879d37742f2d6f6f2683fc0893aea8ea2f8d6659..1af5289936f109e9e303d7a6015c186c52ddf75a 100644 (file)
@@ -87,7 +87,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_
    * @param bool $isActive
    *   Value we want to set the is_active field.
    *
-   * @return Object             DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsActive($id, $isActive) {
@@ -139,7 +140,8 @@ WHERE       ps.name = '{$entityName}'
    * @param int $id
    *   Id of price set.
    *
-   * @return string   title
+   * @return string
+   *   title
    *
    * @static
    *
@@ -256,7 +258,8 @@ WHERE     ct.id = cp.contribution_type_id AND
    * @param int $id
    *   Price Set id.
    *
-   * @return boolean false if fields exist for this set, true if the
+   * @return boolean
+   *   false if fields exist for this set, true if the
    * set could be deleted
    *
    * @static
@@ -413,7 +416,8 @@ WHERE     ct.id = cp.contribution_type_id AND
    *   Whether or not to include inactive entries.
    * @param bool|string $extendComponentName name of the component like 'CiviEvent','CiviContribute'
    *
-   * @return array associative array of id => name
+   * @return array
+   *   associative array of id => name
    */
   public static function getAssoc($withInactive = FALSE, $extendComponentName = FALSE) {
     $query = "
@@ -460,7 +464,8 @@ WHERE     ct.id = cp.contribution_type_id AND
    * @param bool $required
    * @param bool $validOnly
    *
-   * @return array $setTree - array consisting of field details
+   * @return array
+   *   array consisting of field details
    */
   public static function getSetDetail($setID, $required = TRUE, $validOnly = FALSE) {
     // create a new tree
@@ -875,7 +880,7 @@ WHERE  id = %1";
    * @param CRM_Core_Form $form
    * @param $defaults
    *
-   * @return array $defaults
+   * @return array
    */
   static function setDefaultPriceSet(&$form, &$defaults) {
     if (!isset($form->_priceSet) || empty($form->_priceSet['fields'])) {
@@ -902,7 +907,8 @@ WHERE  id = %1";
    *
    * @param int id Price Set id
    *
-   * @return array of the field ids
+   * @return array
+   *   of the field ids
    *
    * @static
    */
@@ -1054,7 +1060,8 @@ GROUP BY     mt.member_of_contact_id";
    * @param int $priceSetId
    *   Price set id.
    *
-   * @return int $autoRenewOption ( 0:hide, 1:optional 2:required )
+   * @return int
+   *   $autoRenewOption ( 0:hide, 1:optional 2:required )
    */
   public static function checkAutoRenewForPriceSet($priceSetId) {
     // auto-renew option should be visible if membership types associated with all the fields has
@@ -1102,7 +1109,8 @@ GROUP BY     mt.member_of_contact_id";
    * @param int $priceSetId
    *   Price set id.
    *
-   * @return array associate array of frequency interval and unit
+   * @return array
+   *   associate array of frequency interval and unit
    * @static
    */
   public static function getRecurDetails($priceSetId) {
@@ -1136,7 +1144,8 @@ GROUP BY     mt.member_of_contact_id";
    * @param bool $isQuickConfigValue we want to set the is_quick_config field.
    *   Value we want to set the is_quick_config field.
    *
-   * @return Object                   DAO object on sucess, null otherwise
+   * @return Object
+   *   DAO object on sucess, null otherwise
    * @static
    */
   public static function setIsQuickConfig($id, $isQuickConfig) {
index 38a51720d67a3e2fbfcb29554226f82778513038..a49246b21282929ccbbbd863cd2bd0d9ace4f387 100644 (file)
@@ -396,7 +396,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO
     /**
      * returns an array containing the enum fields of the civicrm_price_field table
      *
-     * @return array (reference)  the array of enum fields
+     * @return array
+   *   (reference)  the array of enum fields
      */
     static function &getEnums()
     {
@@ -413,7 +414,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO
      * @param string $value
      *   The enum value up for translation.
      *
-     * @return string  the display value of the enum
+     * @return string
+   *   the display value of the enum
      */
     public static function tsEnum($field, $value)
     {
index 8e658652e1b49a6f9951ff70b3d3721cc3567d89..112f80a82d8833a3d8cbc41c58166708e2e15c2a 100644 (file)
@@ -51,7 +51,8 @@ abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper {
 
   /**
    * @param string $fldName
-   * @return bool TRUE if encoding should be skipped for this field
+   * @return bool
+   *   TRUE if encoding should be skipped for this field
    */
   public function isSkippedField($fldName) {
     $skipFields = $this->getSkipFields();
index cddeaba0b250fc3d8db1b0aee02d159989f5a296..983f723634b43a824bdc3f1c839e1a291ea93271 100644 (file)
@@ -139,7 +139,8 @@ class CRM_Utils_API_MatchOption implements API_Wrapper {
    * @param array $createParams
    * @param array $keys
    * @param bool $isMandatory
-   * @return array revised $createParams, including 'id' if known
+   * @return array
+   *   revised $createParams, including 'id' if known
    * @throws API_Exception
    */
   public function match($entity, $createParams, $keys, $isMandatory) {
@@ -176,7 +177,8 @@ class CRM_Utils_API_MatchOption implements API_Wrapper {
    * @param array $keys
    *   List of keys to match against.
    *
-   * @return array APIv3 $params
+   * @return array
+   *   APIv3 $params
    */
   public function createGetParams($origParams, $keys) {
     $params = array('version' => 3);
index e9e954817ee2216c3ce5869e2dda9eca866a2a81..3044c074455d394d3ddfd56a877ed3b4658666f0 100644 (file)
@@ -51,7 +51,8 @@ class CRM_Utils_Address {
    *
    * @param null $tokenFields
    *
-   * @return string  formatted address string
+   * @return string
+   *   formatted address string
    *
    * @static
    */
index 23183518836adf00592bece6f882e7f1849a9008..0c76eb72090883d97e4fb6f35364f6d99b804cb6 100644 (file)
@@ -349,7 +349,8 @@ class CRM_Utils_Array {
   /**
    * @param $subset
    * @param $superset
-   * @return bool TRUE if $subset is a subset of $superset
+   * @return bool
+   *   TRUE if $subset is a subset of $superset
    */
   public static function isSubset($subset, $superset) {
     foreach ($subset as $expected) {
index 0d91df745b6208a74bde69144b03a4921e7e78a9..27addc2441053481baf1ed7023ab86024e02c111 100644 (file)
@@ -114,7 +114,8 @@ class CRM_Utils_Check {
    * We might even expose the results of these checks on the Wordpress
    * plugin status page or the Drupal admin/reports/status path.
    *
-   * @return array of messages
+   * @return array
+   *   of messages
    * @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_requirements
    */
   public function checkAll() {
index 14015d53f3b47444b0b59f3f2b704d6f70197600..faf49424181e34c42dffe1074683bf63ffb8dbb1 100644 (file)
@@ -80,7 +80,8 @@ class CRM_Utils_Check_Security {
    * is browseable or visible to search engines; it means it can be
    * requested directly.
    *
-   * @return array of messages
+   * @return array
+   *   of messages
    * @see CRM-14091
    */
   public function checkLogFileIsNotAccessible() {
@@ -128,7 +129,8 @@ class CRM_Utils_Check_Security {
    * Being retrievable doesn't mean the files are browseable or visible
    * to search engines; it only means they can be requested directly.
    *
-   * @return array of messages
+   * @return array
+   *   of messages
    * @see CRM-14091
    *
    * @TODO: Test with WordPress, Joomla.
@@ -173,7 +175,8 @@ class CRM_Utils_Check_Security {
    * MAY trigger false positives (if you have files named 'a', 'e'
    * we'll probably match that).
    *
-   * @return array of messages
+   * @return array
+   *   of messages
    * @see CRM-14091
    *
    * @TODO: Test with WordPress, Joomla.
@@ -286,7 +289,8 @@ class CRM_Utils_Check_Security {
    *
    * @param string $targetDir
    *   Local path to a directory.
-   * @return string a guessed URL for $realDir
+   * @return string
+   *   a guessed URL for $realDir
    */
   public function guessUrl($targetDir) {
     $filePathMarker = $this->getFilePathMarker();
index 4b258bf71d6253ada2a73f8f7fde89c33fb854d7..80442aaa9b8cd093d212161b56ff63b305896953 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Utils_Date {
    *   The seperator to use when formatting the date.
    * @param int|string $invalidDate what to return if the date is invalid
    *
-   * @return string - formatted string for date
+   * @return string
+   *   formatted string for date
    *
    * @static
    */
@@ -168,7 +169,8 @@ class CRM_Utils_Date {
   /**
    * Return abbreviated weekday names according to the locale
    *
-   * @return array  0-based array with abbreviated weekday names
+   * @return array
+   *   0-based array with abbreviated weekday names
    *
    * @static
    */
@@ -189,7 +191,8 @@ class CRM_Utils_Date {
   /**
    * Return full weekday names according to the locale
    *
-   * @return array  0-based array with full weekday names
+   * @return array
+   *   0-based array with full weekday names
    *
    * @static
    */
@@ -212,7 +215,8 @@ class CRM_Utils_Date {
    *
    * @param bool $month
    *
-   * @return array  1-based array with abbreviated month names
+   * @return array
+   *   1-based array with abbreviated month names
    *
    * @static
    */
@@ -235,7 +239,8 @@ class CRM_Utils_Date {
   /**
    * Return full month names according to the locale
    *
-   * @return array  1-based array with full month names
+   * @return array
+   *   1-based array with full month names
    *
    * @static
    */
@@ -297,7 +302,8 @@ class CRM_Utils_Date {
    * @param array $dateParts
    *   An array with the desired date parts.
    *
-   * @return string  the $format-formatted $date
+   * @return string
+   *   the $format-formatted $date
    * @static
    */
   public static function customFormat($dateString, $format = NULL, $dateParts = NULL) {
@@ -431,7 +437,8 @@ class CRM_Utils_Date {
    * @param string $mysql
    *   Date/datetime in MySQL format.
    *
-   * @return string        date/datetime in ISO format
+   * @return string
+   *   date/datetime in ISO format
    * @static
    */
   public static function mysqlToIso($mysql) {
@@ -474,7 +481,8 @@ class CRM_Utils_Date {
    * @param string $iso
    *   Date/datetime in ISO format.
    *
-   * @return string      date/datetime in MySQL format
+   * @return string
+   *   date/datetime in MySQL format
    * @static
    */
   public static function isoToMysql($iso) {
@@ -727,7 +735,8 @@ class CRM_Utils_Date {
    *   Expected date format( default.
    *                             format is 2007-12-21 )
    *
-   * @return string  Return the customized todays date (Y-m-d)
+   * @return string
+   *   Return the customized todays date (Y-m-d)
    * @static
    */
   public static function getToday($dayParams = NULL, $format = "Y-m-d") {
@@ -785,7 +794,8 @@ class CRM_Utils_Date {
    * @param $from
    * @param $to
    *
-   * @return array start date, end date
+   * @return array
+   *   start date, end date
    * @static
    */
   public static function getFromTo($relative, $from, $to) {
@@ -809,7 +819,8 @@ class CRM_Utils_Date {
    * @param date $birthDate
    *   Birth Date.
    *
-   * @return int array $results contains years or months
+   * @return int
+   *   array $results contains years or months
    * @static
    */
   static public function calculateAge($birthDate) {
@@ -873,7 +884,8 @@ class CRM_Utils_Date {
    *
    * @param bool $dontCareTime
    *
-   * @return array $result contains new date with added interval
+   * @return array
+   *   contains new date with added interval
    */
   public static function intervalAdd($unit, $interval, $date, $dontCareTime = FALSE) {
     if (is_array($date)) {
@@ -965,7 +977,8 @@ class CRM_Utils_Date {
    * @param int $unit
    *   Frequency unit like year, month, week etc.
    *
-   * @return array $dateRange    start date and end date for the relative time frame
+   * @return array
+   *   start date and end date for the relative time frame
    * @static
    */
   public static function relativeToAbsolute($relativeTerm, $unit) {
@@ -1637,7 +1650,8 @@ class CRM_Utils_Date {
    * @param int $fyMonth
    *   Fiscal Start Month.
    *
-   * @return int $fy       Current Fiscl Year
+   * @return int
+   *   $fy       Current Fiscl Year
    * @static
    */
   public static function calculateFiscalYear($fyDate, $fyMonth) {
@@ -1671,7 +1685,8 @@ class CRM_Utils_Date {
    * @param string $format
    *   Expected return date format.( default is mysql ).
    *
-   * @return string $mysqlDate date format that is excepted by mysql
+   * @return string
+   *   date format that is excepted by mysql
    */
   public static function processDate($date, $time = NULL, $returnNullString = FALSE, $format = 'YmdHis') {
     $mysqlDate = NULL;
@@ -1697,7 +1712,8 @@ class CRM_Utils_Date {
    * @param null $format
    * @param null $timeFormat
    *
-   * @return array $date and time
+   * @return array
+   *   and time
    */
   public static function setDateDefaults($mysqlDate = NULL, $formatType = NULL, $format = NULL, $timeFormat = NULL) {
     // if date is not passed assume it as today
@@ -1764,7 +1780,7 @@ class CRM_Utils_Date {
    * @param string $formatType
    *   Date name e.g. birth.
    *
-   * @return string $format
+   * @return string
    */
   public static function getDateFormat($formatType = NULL) {
     $format = NULL;
index 58331fe973326750d4b95cb8b1c8ae039bf11ec4..ebc41265eac0a4281393a76ab45db25581e32579 100644 (file)
@@ -1121,7 +1121,8 @@ function _civicrm_api3_deprecated_add_formatted_location_blocks(&$values, &$para
  *
  * @param <type> $params
  *
- * @return array <type>
+ * @return array
+   *   <type>
  */
 function _civicrm_api3_deprecated_duplicate_formatted_contact($params) {
   $id = CRM_Utils_Array::value('id', $params);
@@ -1303,7 +1304,8 @@ function _civicrm_api3_deprecated_participant_check_params($params, $checkDuplic
  * @param string $csType
  *   Contact subtype if exists/passed.
  *
- * @return null on success, error message otherwise
+ * @return null
+   *   on success, error message otherwise
  */
 function _civicrm_api3_deprecated_contact_check_custom_params($params, $csType = NULL) {
   empty($csType) ? $onlyParent = TRUE : $onlyParent = FALSE;
@@ -1474,7 +1476,8 @@ function _civicrm_api3_deprecated_contact_check_params(
  * @param $result
  * @param int $activityTypeID
  *
- * @return array <type> $params
+ * @return array
+   *   <type> $params
  */
 function _civicrm_api3_deprecated_activity_buildmailparams($result, $activityTypeID) {
   // get ready for collecting data about activity to be created
index a9a5d63844bed8398466c51d44b484be78e658bb..07c13ba8ef3a375ca5fcdc710e7e4b27c28dae72 100644 (file)
@@ -44,7 +44,8 @@ class CRM_Utils_File {
    * @param string $name
    *   Name of file.
    *
-   * @return boolean     true if file is ascii
+   * @return boolean
+   *   true if file is ascii
    */
   public static function isAscii($name) {
     $fd = fopen($name, "r");
@@ -71,7 +72,8 @@ class CRM_Utils_File {
    * @param string $name
    *   Name of file.
    *
-   * @return boolean     true if file is html
+   * @return boolean
+   *   true if file is html
    */
   public static function isHtml($name) {
     $fd = fopen($name, "r");
@@ -203,7 +205,8 @@ class CRM_Utils_File {
    * @param string $name
    *   Name of file.
    *
-   * @return boolean  whether the file was recoded properly
+   * @return boolean
+   *   whether the file was recoded properly
    */
   public static function toUtf8($name) {
     static $config = NULL;
@@ -347,7 +350,8 @@ class CRM_Utils_File {
    * @param string $name
    *   Name of file.
    *
-   * @return boolean  whether the file can be include()d or require()d
+   * @return boolean
+   *   whether the file can be include()d or require()d
    */
   public static function isIncludable($name) {
     $x = @fopen($name, 'r', TRUE);
@@ -679,7 +683,8 @@ HTACCESS;
    *   The new location of the directory.
    * @param bool $verbose
    *
-   * @return bool TRUE on success
+   * @return bool
+   *   TRUE on success
    */
   public static function replaceDir($fromDir, $toDir, $verbose = FALSE) {
     if (is_dir($toDir)) {
index 066905dc1fa251dc5f47bfc65272cc0ab335eff5..2b33e63cc3b0513de7f654a7c5fdb61a4b42067b 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Utils_Geocode_Google {
    * @param array $values
    * @param bool $stateName
    *
-   * @return boolean true if we modified the address, false otherwise
+   * @return boolean
+   *   true if we modified the address, false otherwise
    * @static
    */
   public static function format(&$values, $stateName = FALSE) {
index 4d0ad97ed575276253442abeb733c6e1851a6f0d..8f462a8604b05c58f3278d80a4a5c1eda9f438c1 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Utils_Geocode_Yahoo {
    * @param bool $stateName
    *   This parameter currently has no function.
    *
-   * @return boolean true if we modified the address, false otherwise
+   * @return boolean
+   *   true if we modified the address, false otherwise
    * @static
    */
   public static function format(&$values, $stateName = FALSE) {
index 571e2e919d4be01bdc645808e02fc24acbd0c9fb..4d10fef21b4154de84853ad4bbd3b577cb306d5c 100644 (file)
@@ -79,7 +79,8 @@ class CRM_Utils_GlobalStack {
   /**
    * @param array $new
    *   The new, incoming frame.
-   * @return array frame
+   * @return array
+   *   frame
    */
   public function createBackup($new) {
     $frame = array();
index 9437b9b14f3463f1f0a3685b564a17b5968ff921..8eddda2c8cae4e0165430918245e287c8bd32036 100644 (file)
@@ -272,7 +272,8 @@ abstract class CRM_Utils_Hook {
    * @param array $params
    *   The parameters used for object creation / editing.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function pre($op, $objectName, $id, &$params) {
     $event = new \Civi\Core\Event\PreEvent($op, $objectName, $id, $params);
@@ -322,7 +323,8 @@ abstract class CRM_Utils_Hook {
    * @param array $values
    *   (optional) the values to fill the links.
    *
-   * @return null  the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function links($op, $objectName, &$objectId, &$links, &$mask = NULL, &$values = array()) {
     return self::singleton()->invoke(6, $op, $objectName, $objectId, $links, $mask, $values, 'civicrm_links');
@@ -336,7 +338,8 @@ abstract class CRM_Utils_Hook {
    * @param CRM_Core_Form $form
    *   Reference to the form object.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function preProcess($formName, &$form) {
     return self::singleton()
@@ -352,7 +355,8 @@ abstract class CRM_Utils_Hook {
    * @param CRM_Core_Form $form
    *   Reference to the form object.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function buildForm($formName, &$form) {
     return self::singleton()->invoke(2, $formName, $form,
@@ -370,7 +374,8 @@ abstract class CRM_Utils_Hook {
    * @param CRM_Core_Form $form
    *   Reference to the form object.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function postProcess($formName, &$form) {
     return self::singleton()->invoke(2, $formName, $form,
@@ -428,7 +433,8 @@ abstract class CRM_Utils_Hook {
    * @param array $params
    *   The parameters that were sent into the calling function.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function custom($op, $groupID, $entityID, &$params) {
     return self::singleton()
@@ -450,7 +456,8 @@ abstract class CRM_Utils_Hook {
    * @param string $where
    *   The currrent where clause.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function aclWhereClause($type, &$tables, &$whereTables, &$contactID, &$where) {
     return self::singleton()
@@ -472,7 +479,8 @@ abstract class CRM_Utils_Hook {
    * @param array $currentGroups
    *   The set of objects that are currently permissioned for this contact.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function aclGroup($type, $contactID, $tableName, &$allGroups, &$currentGroups) {
     return self::singleton()
@@ -485,7 +493,8 @@ abstract class CRM_Utils_Hook {
    * @param array $files
    *   The current set of files to process.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function xmlMenu(&$files) {
     return self::singleton()->invoke(1, $files,
@@ -500,7 +509,8 @@ abstract class CRM_Utils_Hook {
    * @param array $entities
    *   List of pending entities.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function managed(&$entities) {
     return self::singleton()->invoke(1, $entities,
@@ -518,7 +528,8 @@ abstract class CRM_Utils_Hook {
    *   (output parameter) where should the hook content be displayed.
    * relative to the activity list
    *
-   * @return string the html snippet to include in the dashboard
+   * @return string
+   *   the html snippet to include in the dashboard
    */
   public static function dashboard($contactID, &$contentPlacement = self::DASHBOARD_BELOW) {
     $retval = self::singleton()->invoke(2, $contactID, $contentPlacement,
@@ -973,7 +984,8 @@ abstract class CRM_Utils_Hook {
    * @param int $caseID
    *   The case ID.
    *
-   * @return array of data to be displayed, where the key is a unique id to be used for styling (div id's)
+   * @return array
+   *   of data to be displayed, where the key is a unique id to be used for styling (div id's)
    * and the value is an array with keys 'label' and 'value' specifying label/value pairs
    */
   public static function caseSummary($caseID) {
@@ -1248,7 +1260,8 @@ abstract class CRM_Utils_Hook {
    *
    * @internal param array $seletor the selector object. Allows you access to the context of the search
    *
-   * @return void  modify the header and values object to pass the data u need
+   * @return void
+   *   modify the header and values object to pass the data u need
    */
   public static function searchColumns($objectName, &$headers, &$rows, &$selector) {
     return self::singleton()->invoke(4, $objectName, $headers, $rows, $selector,
@@ -1703,7 +1716,8 @@ abstract class CRM_Utils_Hook {
    * @param array $participant
    *   Array of participant values.
    *
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    */
   public static function alterBadge($labelName, &$label, &$format, &$participant) {
     return self::singleton()
@@ -1832,7 +1846,8 @@ abstract class CRM_Utils_Hook {
    *
    * @param array $angularModules
    *   List of modules.
-   * @return null the return value is ignored
+   * @return null
+   *   the return value is ignored
    *
    * @code
    * function mymod_civicrm_angularModules(&$angularModules) {
index 59c56eb8101879d43d29814f91fba03f26d7af03..29b27a9ea77b154dc2260c5c26259d2bc5e702db 100644 (file)
@@ -118,7 +118,8 @@ class CRM_Utils_HttpClient {
    *
    * @param string $remoteFile
    *   URL of remote file.
-   * @return array array(0 => STATUS_OK|STATUS_DL_ERROR, 1 => string)
+   * @return array
+   *   array(0 => STATUS_OK|STATUS_DL_ERROR, 1 => string)
    */
   public function get($remoteFile) {
     // Download extension zip file ...
@@ -157,7 +158,8 @@ class CRM_Utils_HttpClient {
    *   URL of a .zip file.
    * @param array $params
    *
-   * @return array array(0 => STATUS_OK|STATUS_DL_ERROR, 1 => string)
+   * @return array
+   *   array(0 => STATUS_OK|STATUS_DL_ERROR, 1 => string)
    */
   public function post($remoteFile, $params) {
     // Download extension zip file ...
@@ -190,7 +192,8 @@ class CRM_Utils_HttpClient {
 
   /**
    * @param string $remoteFile
-   * @return array (0 => resource, 1 => CA_Config_Curl)
+   * @return array
+   *   (0 => resource, 1 => CA_Config_Curl)
    */
   protected function createCurl($remoteFile) {
     require_once 'CA/Config/Curl.php';
index 389e8bc4868805ae651b43af38a2ec5567f098a3..3183d519b0790875510b16b07040b354d7d1df48 100644 (file)
@@ -40,7 +40,8 @@ class CRM_Utils_JS {
    *
    * @param string $jsCode
    *   Raw Javascript code.
-   * @return array of translatable strings
+   * @return array
+   *   of translatable strings
    */
   public static function parseStrings($jsCode) {
     $strings = array();
index 79adc942b5549dfb762094243195b6a08d29b056..c70e40d1fa84934fd38e51a3f22c393b0b968383 100644 (file)
@@ -58,7 +58,8 @@ class CRM_Utils_JSON {
    * @param string $identifier
    *   Identifier for the JSON array.
    *
-   * @return string $jsonObject JSON array
+   * @return string
+   *   JSON array
    * @static
    */
   public static function encode($params, $identifier = 'id') {
index eb6b49db56b98c8e11ea5331dc104154fb8b5778..b059c3b021a9ad590537949be0dda4685d866a8e 100644 (file)
@@ -56,7 +56,8 @@ class CRM_Utils_Mail {
    *   (by reference).
    *
    *
-   * @return boolean true if a mail was sent, else false
+   * @return boolean
+   *   true if a mail was sent, else false
    */
   public static function send(&$params) {
     $returnPath       = CRM_Core_BAO_MailSettings::defaultReturnPath();
@@ -257,7 +258,8 @@ class CRM_Utils_Mail {
    * @param string $header
    *   The full name + email address string.
    *
-   * @return string          the plucked email address
+   * @return string
+   *   the plucked email address
    * @static
    */
   public static function pluckEmailFromHeader($header) {
@@ -272,7 +274,8 @@ class CRM_Utils_Mail {
   /**
    * Get the Active outBound email
    *
-   * @return boolean true if valid outBound email configuration found, false otherwise
+   * @return boolean
+   *   true if valid outBound email configuration found, false otherwise
    * @static
    */
   public static function validOutBoundMail() {
@@ -393,7 +396,7 @@ class CRM_Utils_Mail {
    * @param string $html
    * @param string $format
    *
-   * @return array $attachments
+   * @return array
    */
   public static function appendPDF($fileName, $html, $format = NULL) {
     $pdf_filename = CRM_Core_Config::singleton()->templateCompileDir . CRM_Utils_File::makeFileName($fileName);
index ef11c256cb2ac7544ab8008df1829e3064b3b06a..0be9b28051509b4a71286a252b84b22f93d43635 100644 (file)
@@ -46,7 +46,8 @@ class CRM_Utils_Mail_EmailProcessor {
   /**
    * Process the default mailbox (ie. that is used by civiMail for the bounce)
    *
-   * @return boolean always returns true (for the api). at a later stage we should
+   * @return boolean
+   *   always returns true (for the api). at a later stage we should
    *                 fix this to return true on success / false on failure etc
    */
   public static function processBounces() {
index dbb1965dcc65281174854003babdb47fae4e3c8a..a186d556ebf27921cd228483d1f1fbbd57f6461b 100644 (file)
@@ -361,7 +361,8 @@ class CRM_Utils_Migrate_Export {
   /**
    * Render the in-memory representation as XML
    *
-   * @return string XML
+   * @return string
+   *   XML
    */
   public function toXML() {
     $buffer = '<?xml version="1.0" encoding="iso-8859-1" ?>';
@@ -435,7 +436,8 @@ class CRM_Utils_Migrate_Export {
    *   Each item is an array(0 => MappedEntityname, 1 => InputFieldName (id-field), 2 => OutputFieldName (name-field), 3 => OptionalPrefix).
    * @param CRM_Core_DAO $dao
    *   The entity for which we want to prepare mapped fields.
-   * @return array new fields
+   * @return array
+   *   new fields
    */
   public function computeMappedFields($mappedFields, $dao) {
     $keyValues = array();
@@ -541,7 +543,8 @@ class CRM_Utils_Migrate_Export {
    * @param string $tagName
    * @param array $keyValues
    * @throws Exception
-   * @return string XML
+   * @return string
+   *   XML
    */
   public function renderKeyValueXML($tagName, $keyValues) {
     $xml = "    <$tagName>";
@@ -560,7 +563,8 @@ class CRM_Utils_Migrate_Export {
    * @param string $prefix
    *
    * @throws Exception
-   * @return string XML
+   * @return string
+   *   XML
    */
   public function renderTextTag($name, $value, $prefix = '') {
     if (!preg_match('/^[a-zA-Z0-9\_]+$/', $name)) {
index 01a63fdcba992cd6aa43ba79e5b50dbb2d9e6700..03e7aa813dc9775b9117bfc92587cb91b4f5c2c8 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Utils_Money {
    * @param string $valueFormat
    *   The desired monetary value display format (e.g. '%!i').
    *
-   * @return string  formatted monetary string
+   * @return string
+   *   formatted monetary string
    *
    * @static
    */
index 791816d1a585adc67a8e128e5bbd2cd092a3918c..f7999318c8da8cbac40bcbfd3cc1f523e167863a 100644 (file)
@@ -47,7 +47,8 @@ class CRM_Utils_Network {
    * @param float $interval
    *   Seconds to wait in between pollings.
    *
-   * @return bool TRUE if service is online
+   * @return bool
+   *   TRUE if service is online
    */
   public static function waitForServiceStartup($host, $port, $serverStartupTimeOut, $interval = 0.333) {
     $start = time();
index dbeef70de55b3d428322eff8ed6966fa3bd5f80a..6d6f87bdad6542818cce3750643d458c675da08b 100644 (file)
@@ -57,7 +57,8 @@ class CRM_Utils_OpenFlashChart {
    * @param array $params
    *   Assoc array of name/value pairs.
    *
-   * @return object $chart   object of open flash chart.
+   * @return object
+   *   $chart   object of open flash chart.
    * @static
    */
   public static function &barChart(&$params) {
@@ -187,7 +188,8 @@ class CRM_Utils_OpenFlashChart {
    * @param array $params
    *   Assoc array of name/value pairs.
    *
-   * @return object $chart   object of open flash chart.
+   * @return object
+   *   $chart   object of open flash chart.
    * @static
    */
   public static function &pieChart(&$params) {
@@ -251,7 +253,8 @@ class CRM_Utils_OpenFlashChart {
    * @param array $params
    *   Assoc array of name/value pairs.
    *
-   * @return object $chart   object of open flash chart.
+   * @return object
+   *   $chart   object of open flash chart.
    * @static
    */
   public static function &bar_3dChart(&$params) {
index bf78937323bb7fc20d14febdda21711ff612130e..e63aed86dc42365039c9c41b1ec60a105b77248a 100644 (file)
@@ -62,7 +62,8 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
    *   <p>.
    * An offset to check for.
    * </p>
-   * @return boolean true on success or false on failure.
+   * @return boolean
+   *   true on success or false on failure.
    * </p>
    * <p>
    * The return value will be casted to boolean if non-boolean was returned.
@@ -132,7 +133,8 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
    * (PHP 5 &gt;= 5.1.0)<br/>
    * Count elements of an object
    * @link http://php.net/manual/en/countable.count.php
-   * @return int The custom count as an integer.
+   * @return int
+   *   The custom count as an integer.
    * </p>
    * <p>
    * The return value is cast to an integer.
index 79f8ad962f64dfc95b4b73580ca5c6ed2f6884e2..4774a6b93e39ff0f91487c5598f9434b74b760b5 100644 (file)
@@ -195,7 +195,8 @@ class CRM_Utils_Pager extends Pager_Sliding {
    *
    * @param array $params
    *
-   * @return int                new pageId to display to the user
+   * @return int
+   *   new pageId to display to the user
    */
   public function getPageID($defaultPageId = 1, &$params) {
     // POST has higher priority than GET vars
@@ -227,7 +228,8 @@ class CRM_Utils_Pager extends Pager_Sliding {
    * @param int $defaultPageRowCount
    *   The default value if not set.
    *
-   * @return int                     the rowCount value to use
+   * @return int
+   *   the rowCount value to use
    *
    */
   public function getPageRowCount($defaultPageRowCount = self::ROWCOUNT) {
@@ -249,7 +251,8 @@ class CRM_Utils_Pager extends Pager_Sliding {
    *
    * @param void
    *
-   * @return array: an array of the pageID and offset
+   * @return array
+   *   an array of the pageID and offset
    *
    *
    */
index f67e5c90367a7b55eeb2f9f863f3becc8cdb0ac8..7b81d6eb0646ceb373b30740b253f308eb02dcbc 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Utils_PagerAToZ {
    *
    * @param bool $isDAO
    *
-   * @return string                 The html formatted string
+   * @return string
+   *   The html formatted string
    * @static
    */
   public static function getAToZBar(&$query, $sortByCharacter, $isDAO = FALSE) {
@@ -60,7 +61,8 @@ class CRM_Utils_PagerAToZ {
   /**
    * Return the all the static characters
    *
-   * @return array $staticAlphabets is a array of static characters
+   * @return array
+   *   is a array of static characters
    * @static
    */
   public static function getStaticCharacters() {
@@ -74,7 +76,8 @@ class CRM_Utils_PagerAToZ {
    * @param $query
    * @param $isDAO
    *
-   * @return array $dynamicAlphabets is a array of dynamic characters
+   * @return array
+   *   is a array of dynamic characters
    * @static
    */
   public static function getDynamicCharacters(&$query, $isDAO) {
@@ -105,7 +108,8 @@ class CRM_Utils_PagerAToZ {
    *
    * @param $isDAO
    *
-   * @return array with links
+   * @return array
+   *   with links
    * @static
    */
   public static function createLinks(&$query, $sortByCharacter, $isDAO) {
index f3cbe17590cb4d6a55cc9e8774b8270f282de421..48e1e50db98957bf9c9b53e69d82e9ca59d2c435 100644 (file)
@@ -55,7 +55,8 @@ class CRM_Utils_PseudoConstant {
    *
    * @param $constant
    *
-   * @return array - array reference of all relevant constant
+   * @return array
+   *   array reference of all relevant constant
    */
   public static function getConstant($constant) {
     $class = self::findConstantClass($constant);
@@ -75,7 +76,8 @@ class CRM_Utils_PseudoConstant {
    *
    * @param $constant
    *
-   * @return array - array reference of all relevant constant
+   * @return array
+   *   array reference of all relevant constant
    */
   public static function flushConstant($constant) {
     $class = self::findConstantClass($constant);
@@ -118,7 +120,8 @@ class CRM_Utils_PseudoConstant {
    *
    * This may be inefficient and should generally be avoided.
    *
-   * @return array of string, constant names
+   * @return array
+   *   of string, constant names
    */
   public static function findConstants() {
     if (self::$constants === NULL) {
@@ -140,7 +143,8 @@ class CRM_Utils_PseudoConstant {
    *
    * @param $class
    *
-   * @return array of string, constant names
+   * @return array
+   *   of string, constant names
    */
   public static function findConstantsByClass($class) {
     $clazz = new ReflectionClass($class);
index f4e01c39dd5343cfb4095f02f9419f1ab35788d5..44def6eb969400f75a15da085a85389af117ec33 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Utils_REST {
    * @param string $var
    *   The string to be echoed.
    *
-   * @return string       $var
+   * @return string
    */
   public static function ping($var = NULL) {
     $session = CRM_Core_Session::singleton();
index 59e803fb24d2d7ca7c8462ae4637b973004eecda..df74201a3ad308859d6e55b7b233c71f7ba41a71 100644 (file)
@@ -73,7 +73,8 @@ class CRM_Utils_Recent {
   /**
    * Return the recently viewed array
    *
-   * @return array the recently viewed array
+   * @return array
+   *   the recently viewed array
    * @static
    */
   public static function &get() {
index faf3f7e85aa40eae56ae4ea706472cd283e8e717..0a409adea1ec8e352cae0afeae52af8ced29d1ff 100644 (file)
@@ -225,7 +225,8 @@ class CRM_Utils_Rule {
    * @param bool $monthRequired
    *   Check whether month is mandatory.
    *
-   * @return bool true if valid date
+   * @return bool
+   *   true if valid date
    * @static
    */
   public static function currentDate($date, $monthRequired = TRUE) {
@@ -316,7 +317,8 @@ class CRM_Utils_Rule {
    *
    * @param string $date
    *
-   * @return bool true if valid date
+   * @return bool
+   *   true if valid date
    * @static
    */
   public static function mysqlDate($date) {
@@ -557,7 +559,8 @@ class CRM_Utils_Rule {
    *
    * @param array Uploaded file info (from $_FILES)
    *
-   * @return bool      true if file has been uploaded, false otherwise
+   * @return bool
+   *   true if file has been uploaded, false otherwise
    */
   public static function asciiFile($elementValue) {
     if ((isset($elementValue['error']) && $elementValue['error'] == 0) ||
@@ -573,7 +576,8 @@ class CRM_Utils_Rule {
    *
    * @param array Uploaded file info (from $_FILES)
    *
-   * @return bool      whether file has been uploaded properly and is now in UTF-8
+   * @return bool
+   *   whether file has been uploaded properly and is now in UTF-8
    */
   public static function utf8File($elementValue) {
     $success = FALSE;
@@ -602,7 +606,8 @@ class CRM_Utils_Rule {
    *
    * @param array Uploaded file info (from $_FILES)
    *
-   * @return bool      true if file has been uploaded, false otherwise
+   * @return bool
+   *   true if file has been uploaded, false otherwise
    */
   public static function htmlFile($elementValue) {
     if ((isset($elementValue['error']) && $elementValue['error'] == 0) ||
@@ -621,7 +626,8 @@ class CRM_Utils_Rule {
    * @param array $options
    *   The daoName and fieldName (optional ).
    *
-   * @return boolean     true if object exists
+   * @return boolean
+   *   true if object exists
    * @static
    */
   public static function objectExists($value, $options) {
@@ -748,7 +754,8 @@ class CRM_Utils_Rule {
    *
    * @param array $date
    *
-   * @return bool true if valid date
+   * @return bool
+   *   true if valid date
    * @static
    */
   public static function qfDate($date) {
index e734a1acde493f10a17418ca0bf1affeff85855d..afa8560aea3ee6657ff84eedabc44e21fa2aa1d4 100644 (file)
@@ -110,14 +110,16 @@ class CRM_Utils_SQL_Insert {
 
   /**
    * @param string|NULL $value
-   * @return string SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
+   * @return string
+   *   SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
    */
   protected function escapeString($value) {
     return $value === NULL ? 'NULL' : '"' . CRM_Core_DAO::escapeString($value) . '"';
   }
 
   /**
-   * @return string SQL statement
+   * @return string
+   *   SQL statement
    */
   public function toSQL() {
     $columns = "`" . implode('`,`', $this->columns) . "`";
index 2e0d82351f0aeaca30058de374fbb6edfcd679f3..b6db2df8019f8e5b0f9479be2066b4eac27aeb28 100644 (file)
@@ -188,7 +188,8 @@ class CRM_Utils_SQL_Select {
    * PHP NULL's will be treated as SQL NULL's. The PHP string "null" will be treated as a string.
    *
    * @throws CRM_Core_Exception
-   * @return string SQL expression
+   * @return string
+   *   SQL expression
    */
   public function interpolate($expr, $args) {
     if ($args === NULL) {
@@ -226,14 +227,16 @@ class CRM_Utils_SQL_Select {
 
   /**
    * @param string|NULL $value
-   * @return string SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
+   * @return string
+   *   SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
    */
   protected function escapeString($value) {
     return $value === NULL ? 'NULL' : '"' . CRM_Core_DAO::escapeString($value) . '"';
   }
 
   /**
-   * @return string SQL statement
+   * @return string
+   *   SQL statement
    */
   public function toSQL() {
     if ($this->selects) {
index 92e7173ddeee383a766cab64a1f599a5f3497629..50bc968ab6658c1858c8b4ab28aa94733855d1aa 100644 (file)
@@ -73,7 +73,7 @@ class CRM_Utils_SoapServer {
    * @param string $var
    *   The string to be echoed.
    *
-   * @return string       $var
+   * @return string
    */
   public function ping($var) {
     $session = CRM_Core_Session::singleton();
@@ -123,7 +123,8 @@ class CRM_Utils_SoapServer {
    * @param bool $loadCMSBootstrap
    *
    * @throws SoapFault
-   * @return string           The SOAP Client key
+   * @return string
+   *   The SOAP Client key
    * @static
    */
   public function authenticate($name, $pass, $loadCMSBootstrap = FALSE) {
index dfc53770b7efe4ca4b1832c3fa2342d9caf52da9..8701fcb55d93442aa1a97057d5a82b7aa604fcb0 100644 (file)
@@ -149,7 +149,8 @@ class CRM_Utils_Sort {
   /**
    * Function returns the string for the order by clause
    *
-   * @return string the order by clause
+   * @return string
+   *   the order by clause
    */
   public function orderBy() {
     if (empty($this->_vars[$this->_currentSortID])) {
@@ -176,7 +177,8 @@ class CRM_Utils_Sort {
    * @param int $dir
    *   The direction of the sort.
    *
-   * @return string  the string to append to the url
+   * @return string
+   *   the string to append to the url
    * @static
    */
   public static function sortIDValue($index, $dir) {
@@ -259,7 +261,8 @@ class CRM_Utils_Sort {
   /**
    * Getter for currentSortID
    *
-   * @return int returns of the current sort id
+   * @return int
+   *   returns of the current sort id
    * @acccess public
    */
   public function getCurrentSortID() {
@@ -269,7 +272,8 @@ class CRM_Utils_Sort {
   /**
    * Getter for currentSortDirection
    *
-   * @return int returns of the current sort direction
+   * @return int
+   *   returns of the current sort direction
    * @acccess public
    */
   public function getCurrentSortDirection() {
@@ -282,7 +286,8 @@ class CRM_Utils_Sort {
    * @param $a
    * @param $b
    *
-   * @return int (-1 or 1)
+   * @return int
+   *   (-1 or 1)
    */
   public static function cmpFunc($a, $b) {
     $cmp_order = array('weight', 'id', 'title', 'name');
index fcabb6b7d8ea529f9f5ada767f915c409bc00252..a86d859d2702fd27f7a8148d108f89e1844310d3 100644 (file)
@@ -83,7 +83,8 @@ class CRM_Utils_String {
    *   Length of valid variables.
    *
    *
-   * @return string returns the manipulated string
+   * @return string
+   *   returns the manipulated string
    * @static
    */
   public static function munge($name, $char = '_', $len = 63) {
@@ -107,7 +108,8 @@ class CRM_Utils_String {
    * membership_payment returns MembershipPayment
    * @param string $string
    *
-   * @return string string
+   * @return string
+   *   string
    */
   public static function convertStringToCamel($string) {
     $fragments = explode('_', $string);
@@ -130,7 +132,8 @@ class CRM_Utils_String {
    * @param int $len
    *   Length of valid variables.
    *
-   * @return string  Randomized Variable Name
+   * @return string
+   *   Randomized Variable Name
    * @static
    */
   public static function rename($name, $len = 4) {
@@ -147,7 +150,8 @@ class CRM_Utils_String {
    * @param \char|string $char $char the character used to demarcate the componets
    *
    *
-   * @return string the last component
+   * @return string
+   *   the last component
    * @static
    */
   public static function getClassName($string, $char = '_') {
@@ -210,7 +214,8 @@ class CRM_Utils_String {
    * @param bool $utf8
    *   Attempt utf8 match on failure (default yes).
    *
-   * @return boolean    true if string is ascii
+   * @return boolean
+   *   true if string is ascii
    * @static
    */
   public static function isAscii($str, $utf8 = TRUE) {
@@ -254,7 +259,8 @@ class CRM_Utils_String {
    * @param array $regexRules
    *   Regular expression to be matched w/ replacements.
    *
-   * @return array $match      array of strings w/ corresponding redacted outputs
+   * @return array
+   *   array of strings w/ corresponding redacted outputs
    * @static
    */
   public static function regex($str, $regexRules) {
@@ -344,7 +350,8 @@ class CRM_Utils_String {
    * @param string $url2
    *   The second url to be matched against.
    *
-   * @return boolean true if the urls match, else false
+   * @return boolean
+   *   true if the urls match, else false
    * @static
    */
   public static function match($url1, $url2) {
@@ -438,7 +445,8 @@ class CRM_Utils_String {
    * @param string $html
    *   The string to be converted.
    *
-   * @return string       the converted string
+   * @return string
+   *   the converted string
    * @static
    */
   public static function htmlToText($html) {
@@ -530,7 +538,8 @@ class CRM_Utils_String {
    * @param string $full
    *   All alternatives as a long string (or some other text).
    *
-   * @return string       only the first alternative found (or the text without alternatives)
+   * @return string
+   *   only the first alternative found (or the text without alternatives)
    */
   public static function stripAlternatives($full) {
     $matches = array();
@@ -553,7 +562,8 @@ class CRM_Utils_String {
    * @param string $string
    *   Input string to be cleaned.
    *
-   * @return string the cleaned string
+   * @return string
+   *   the cleaned string
    * @static
    */
   public static function stripSpaces($string) {
@@ -571,7 +581,8 @@ class CRM_Utils_String {
    * @param string $replace
    *   The character to replace it with.
    *
-   * @return string the sanitized string
+   * @return string
+   *   the sanitized string
    * @static
    */
   static function stripPathChars(
@@ -616,7 +627,8 @@ class CRM_Utils_String {
    * @param string $string
    *   The input string.
    *
-   * @return string the cleaned up string
+   * @return string
+   *   the cleaned up string
    * @static
    */
   public static function purifyHTML($string) {
@@ -678,7 +690,8 @@ class CRM_Utils_String {
    *   E.g. "view all contacts". Syntax: "[prefix:]name".
    * @param null $defaultPrefix
    *
-   * @return array (0 => string|NULL $prefix, 1 => string $value)
+   * @return array
+   *   (0 => string|NULL $prefix, 1 => string $value)
    */
   public static function parsePrefix($delim, $string, $defaultPrefix = NULL) {
     $pos = strpos($string, $delim);
@@ -700,7 +713,8 @@ class CRM_Utils_String {
    * @param int $percent
    *   The percentage of the user portion to be masked.
    *
-   * @return string returns the masked Email address
+   * @return string
+   *   returns the masked Email address
    */
   public static function maskEmail($email, $maskChar = '*', $percent = 50) {
     list($user, $domain) = preg_split("/@/", $email);
@@ -725,7 +739,8 @@ class CRM_Utils_String {
    * @param bool $case
    *   Boolean indicating whether you want the comparison to be case sensitive or not.
    *
-   * @return boolean TRUE (string are identical); FALSE (strings are not identical)
+   * @return boolean
+   *   TRUE (string are identical); FALSE (strings are not identical)
    */
   public static function compareStr($strOne, $strTwo, $case) {
     if ($case == TRUE) {
@@ -760,7 +775,8 @@ class CRM_Utils_String {
    *
    * @param string $url
    *   URL with HTML entities.
-   * @return string URL without HTML entities
+   * @return string
+   *   URL without HTML entities
    */
   public static function unstupifyUrl($htmlUrl) {
     return str_replace('&amp;', '&', $htmlUrl);
index 87d439dffa9e0c7c32488eaf312b24138496188b..a8ef90facef2e232b24acabdf98bd0d627afbb73 100644 (file)
@@ -297,7 +297,8 @@ class CRM_Utils_System {
   /**
    * What menu path are we currently on. Called for the primary tpl
    *
-   * @return string the current menu path
+   * @return string
+   *   the current menu path
    */
   public static function currentPath() {
     $config = CRM_Core_Config::singleton();
@@ -310,7 +311,8 @@ class CRM_Utils_System {
    * @param array $params
    *   List of parameters.
    *
-   * @return string url
+   * @return string
+   *   url
    */
   public static function crmURL($params) {
     $p = CRM_Utils_Array::value('p', $params);
@@ -1248,7 +1250,8 @@ class CRM_Utils_System {
   /**
    * Returns wiki (alternate) documentation URL base.
    *
-   * @return string documentation url
+   * @return string
+   *   documentation url
    */
   public static function getWikiBaseURL() {
     // FIXME: move this to configuration at some stage
@@ -1626,7 +1629,8 @@ class CRM_Utils_System {
    *
    * @param string $url
    *
-   * @return string $url, clean url
+   * @return string
+   *   , clean url
    */
   public static function cleanUrl($url) {
     if (!$url) {
@@ -1648,7 +1652,8 @@ class CRM_Utils_System {
    * @param bool $addLanguagePart
    * @param bool $removeLanguagePart
    *
-   * @return string $url, formatted url.
+   * @return string
+   *   , formatted url.
    */
   static function languageNegotiationURL(
     $url,
index f06d6c3732df9a22e5475ea83eac4e602e7ace0f..e6833116bfa8ae2086089830662f4db1664c8969 100644 (file)
@@ -167,7 +167,8 @@ abstract class CRM_Utils_System_Base {
    * @param string $destination
    *   If present, add destination to querystring (works for Drupal only).
    *
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public abstract function getLoginURL($destination = '');
@@ -312,7 +313,8 @@ abstract class CRM_Utils_System_Base {
   /**
    * Get currently logged in user uf id.
    *
-   * @return int $userID logged in user uf id.
+   * @return int
+   *   $userID logged in user uf id.
    */
   public function getLoggedInUfID() {
   }
@@ -320,7 +322,8 @@ abstract class CRM_Utils_System_Base {
   /**
    * Get currently logged in user unique identifier - this tends to be the email address or user name.
    *
-   * @return string $userID logged in user unique identifier
+   * @return string
+   *   logged in user unique identifier
    */
   public function getLoggedInUniqueIdentifier() {
   }
@@ -334,7 +337,8 @@ abstract class CRM_Utils_System_Base {
    * Note there is already a function getUFId which takes $username as a param - we could add $user
    * as a second param to it but it seems messy - just overloading it because the name is taken
    * @param object $user
-   * @return int $ufid - user ID of UF System
+   * @return int
+   *   $ufid - user ID of UF System
    */
   public function getBestUFID($user = NULL) {
     if ($user) {
@@ -350,7 +354,8 @@ abstract class CRM_Utils_System_Base {
    * the function
    *
    * @param object $user
-   * @return string $uniqueIdentifier - unique identifier from the UF System
+   * @return string
+   *   unique identifier from the UF System
    */
   public function getBestUFUniqueIdentifier($user = NULL) {
     if ($user) {
index 8797047bf5ccd933829122a3ce6b567b14a22ce5..fef504d6cbdf38661ed5a7a41d63934405b9958a 100644 (file)
@@ -184,7 +184,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    *
    * @param CRM_Core_Form $form
    *   Form object representing the 'current' form - to which the user will be returned.
-   * @return string $destination destination value for URL
+   * @return string
+   *   destination value for URL
    *
    */
   /**
@@ -228,7 +229,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    * @param string $destination
    *   If present, add destination to querystring (works for Drupal only).
    *
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public function getLoginURL($destination = '') {
@@ -328,7 +330,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScriptUrl($url, $region) {
     $params = array('group' => JS_LIBRARY, 'weight' => 10);
@@ -357,7 +360,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScript($code, $region) {
     $params = array('type' => 'inline', 'group' => JS_LIBRARY, 'weight' => 10);
@@ -384,7 +388,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyleUrl($url, $region) {
     if ($region != 'html-header') {
@@ -407,7 +412,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyle($code, $region) {
     if ($region != 'html-header') {
@@ -436,7 +442,8 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase {
    * @param mix $action
    *   The default action if one is pre-specified.
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    */
   public function postURL($action) {
     if (!empty($action)) {
@@ -625,7 +632,8 @@ AND    u.status = 1
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return string  with the locale or null for none
+   * @return string
+   *   with the locale or null for none
    */
   public function getUFLocale() {
     // return CiviCRM’s xx_YY locale that either matches Drupal’s Chinese locale
@@ -820,7 +828,7 @@ AND    u.status = 1
   /**
    * Check is user logged in.
    *
-   * @return boolean true/false.
+   * @return boolean
    */
   public function isUserLoggedIn() {
     $isloggedIn = FALSE;
@@ -834,7 +842,8 @@ AND    u.status = 1
   /**
    * Get currently logged in user uf id.
    *
-   * @return int $userID logged in user uf id.
+   * @return int
+   *   $userID logged in user uf id.
    */
   public function getLoggedInUfID() {
     $ufID = NULL;
@@ -856,7 +865,8 @@ AND    u.status = 1
    * @param bool $addLanguagePart
    * @param bool $removeLanguagePart
    *
-   * @return string $url, formatted url.
+   * @return string
+   *   , formatted url.
    * @static
    */
   public function languageNegotiationURL($url, $addLanguagePart = TRUE, $removeLanguagePart = FALSE) {
@@ -944,7 +954,8 @@ AND    u.status = 1
   /**
    * Get a list of all installed modules, including enabled and disabled ones
    *
-   * @return array CRM_Core_Module
+   * @return array
+   *   CRM_Core_Module
    */
   public function getModules() {
     $result = array();
@@ -1001,7 +1012,8 @@ AND    u.status = 1
 
   /**
    * Over-ridable function to get timezone as a string eg.
-   * @return string Timezone e.g. 'America/Los_Angeles'
+   * @return string
+   *   Timezone e.g. 'America/Los_Angeles'
    */
   public function getTimeZoneString() {
     global $user;
index d3cd66780f74bd677e268dd831d11cd2b3454a1d..0ef2a08dbdbf70e4110ec450743fe28b4100d6d7 100644 (file)
@@ -49,7 +49,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * @param bool $maintenance
    *   For maintenance mode.
    *
-   * @return void           prints content on stdout
+   * @return void
+   *   prints content on stdout
    */
   public function theme(&$content, $print = FALSE, $maintenance = FALSE) {
     // TODO: Simplify; this was copied verbatim from CiviCRM 3.4's multi-UF theming function, but that's more complex than necessary
@@ -222,7 +223,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    *
    * @param CRM_Core_Form $form
    *   Form object representing the 'current' form - to which the user will be returned.
-   * @return string $destination destination value for URL
+   * @return string
+   *   destination value for URL
    *
    */
   public function getLoginDestination(&$form) {
@@ -339,7 +341,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScriptUrl($url, $region) {
     // CRM-15450 - D6 doesn't order internal/external links correctly so we can't use drupal_add_js
@@ -356,7 +359,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScript($code, $region) {
     // CRM-15450 - ensure scripts are in correct order
@@ -373,7 +377,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyleUrl($url, $region) {
     if ($region != 'html-header' || !$this->formatResourceUrl($url)) {
@@ -393,7 +398,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyle($code, $region) {
     return FALSE;
@@ -417,7 +423,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * @param mix $action
    *   The default action if one is pre-specified.
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    */
   public function postURL($action) {
     if (!empty($action)) {
@@ -566,7 +573,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return string  with the locale or null for none
+   * @return string
+   *   with the locale or null for none
    */
   public function getUFLocale() {
     // return CiviCRM’s xx_YY locale that either matches Drupal’s Chinese locale
@@ -764,7 +772,7 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   /**
    * Check is user logged in.
    *
-   * @return boolean true/false.
+   * @return boolean
    */
   public function isUserLoggedIn() {
     $isloggedIn = FALSE;
@@ -778,7 +786,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   /**
    * Get currently logged in user uf id.
    *
-   * @return int $userID logged in user uf id.
+   * @return int
+   *   $userID logged in user uf id.
    */
   public function getLoggedInUfID() {
     $ufID = NULL;
@@ -800,7 +809,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * @param bool $addLanguagePart
    * @param bool $removeLanguagePart
    *
-   * @return string $url, formatted url.
+   * @return string
+   *   , formatted url.
    * @static
    */
   public function languageNegotiationURL($url, $addLanguagePart = TRUE, $removeLanguagePart = FALSE) {
@@ -893,7 +903,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
   /**
    * Get a list of all installed modules, including enabled and disabled ones
    *
-   * @return array CRM_Core_Module
+   * @return array
+   *   CRM_Core_Module
    */
   public function getModules() {
     $result = array();
@@ -910,7 +921,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
    * @param string $destination
    *   If present, add destination to querystring (works for Drupal only).
    *
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public function getLoginURL($destination = '') {
@@ -950,7 +962,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
 
   /**
    * Over-ridable function to get timezone as a string eg.
-   * @return string Timezone e.g. 'America/Los_Angeles'
+   * @return string
+   *   Timezone e.g. 'America/Los_Angeles'
    */
   public function getTimeZoneString() {
     global $user;
index 1793bb9426b11ec279cb1858e2c1407dda465fce..6e83b3da0ff8bccff38d867e88a23e9eae0d9ab1 100644 (file)
@@ -188,7 +188,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
    *
    * @param CRM_Core_Form $form
    *   Form object representing the 'current' form - to which the user will be returned.
-   * @return string $destination destination value for URL
+   * @return string
+   *   destination value for URL
    *
    */
   public function getLoginDestination(&$form) {
@@ -227,7 +228,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
    * @param string $destination
    *   If present, add destination to querystring (works for Drupal only).
    *
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public function getLoginURL($destination = '') {
@@ -300,7 +302,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScriptUrl($url, $region) {
     $options = array('group' => JS_LIBRARY, 'weight' => 10);
@@ -329,7 +332,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScript($code, $region) {
     $options = array('type' => 'inline', 'group' => JS_LIBRARY, 'weight' => 10);
@@ -356,7 +360,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyleUrl($url, $region) {
     if ($region != 'html-header') {
@@ -379,7 +384,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyle($code, $region) {
     if ($region != 'html-header') {
@@ -648,7 +654,8 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   /**
    * Get currently logged in user uf id.
    *
-   * @return int $userID logged in user uf id.
+   * @return int
+   *   $userID logged in user uf id.
    */
   public function getLoggedInUfID() {
     if ($id = \Drupal::currentUser()->id()) {
index d58979baeb3c9911720b6fe1df04102152856d91..bc2dea9bac486420e72e361f693a554d5fe85716 100644 (file)
@@ -61,7 +61,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   /**
    * @param string dir base civicrm directory
    * Return default Site Settings
-   * @return array array
+   * @return array
+   *   array
    * - $url, (Joomla - non admin url)
    * - $siteName,
    * - $siteRoot
@@ -93,7 +94,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
    *
    * @param url (reference)
    *
-   * @return bool: TRUE for internal paths, FALSE for external. The drupal_add_js fn is able to add js more
+   * @return bool
+   *   TRUE for internal paths, FALSE for external. The drupal_add_js fn is able to add js more
    * efficiently if it is known to be in the drupal site
    */
   public function formatResourceUrl(&$url) {
@@ -129,7 +131,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
    *
    * @param string $url
    *   Potential resource url based on standard folder assumptions.
-   * @return string $url with civicrm-core directory appended if not standard civi dir
+   * @return string
+   *   with civicrm-core directory appended if not standard civi dir
    */
   public function appendCoreDirectoryToResourceBase($url) {
     global $civicrm_root;
@@ -160,7 +163,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
    * @param bool $forceBackend
    *   a gross joomla hack.
    *
-   * @return string an HTML string containing a link to the given path.
+   * @return string
+   *   an HTML string containing a link to the given path.
    *
    */
   function url(
@@ -247,7 +251,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   /**
    * Get currently logged in user unique identifier - this tends to be the email address or user name.
    *
-   * @return string $userID logged in user unique identifier
+   * @return string
+   *   logged in user unique identifier
    */
   public function getLoggedInUniqueIdentifier() {
     global $user;
@@ -320,7 +325,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   /**
    * Get a list of all installed modules, including enabled and disabled ones
    *
-   * @return array CRM_Core_Module
+   * @return array
+   *   CRM_Core_Module
    *
    */
   public function getModules() {
@@ -356,7 +362,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
    *
    * @param string $url
    *
-   * @return string $url, formatted url.
+   * @return string
+   *   , formatted url.
    * @static
    */
   public function languageNegotiationURL($url, $addLanguagePart = TRUE, $removeLanguagePart = FALSE) {
@@ -435,7 +442,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return string  with the locale or null for none
+   * @return string
+   *   with the locale or null for none
    *
    */
   public function getUFLocale() {
@@ -482,7 +490,8 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
    * @param mix $action
    *   The default action if one is pre-specified.
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    */
   public function postURL($action) {
     if (!empty($action)) {
index 319919910ab8f3738f395c6549204fc7f2425d60..109bc1d079b04626ae88d47947c45ce1681d2e27 100644 (file)
@@ -271,7 +271,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScriptUrl($url, $region) {
     return FALSE;
@@ -287,7 +288,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScript($code, $region) {
     return FALSE;
@@ -303,7 +305,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyleUrl($url, $region) {
     if ($region == 'html-header') {
@@ -324,7 +327,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyle($code, $region) {
     if ($region == 'html-header') {
@@ -355,7 +359,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    *
    * @param bool $forceBackend
    *
-   * @return string            an HTML string containing a link to the given path.
+   * @return string
+   *   an HTML string containing a link to the given path.
    */
   function url(
     $path = NULL, $query = NULL, $absolute = TRUE,
@@ -434,7 +439,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    * @param $action
    *   The default action if one is pre-specified.
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    */
   public function postURL($action) {
     if (!empty($action)) {
@@ -612,7 +618,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return string  the used locale or null for none
+   * @return string
+   *   the used locale or null for none
    */
   public function getUFLocale() {
     if (defined('_JEXEC')) {
@@ -698,7 +705,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
    * Check is user logged in.
    *
-   * @return boolean true/false.
+   * @return boolean
    */
   public function isUserLoggedIn() {
     $user = JFactory::getUser();
@@ -708,7 +715,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
    * Get currently logged in user uf id.
    *
-   * @return int logged in user uf id.
+   * @return int
+   *   logged in user uf id.
    */
   public function getLoggedInUfID() {
     $user = JFactory::getUser();
@@ -718,7 +726,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
    * Get currently logged in user unique identifier - this tends to be the email address or user name.
    *
-   * @return string $userID logged in user unique identifier
+   * @return string
+   *   logged in user unique identifier
    */
   public function getLoggedInUniqueIdentifier() {
     $user = JFactory::getUser();
@@ -748,7 +757,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
    * Get a list of all installed modules, including enabled and disabled ones
    *
-   * @return array CRM_Core_Module
+   * @return array
+   *   CRM_Core_Module
    */
   public function getModules() {
     $result = array();
@@ -774,7 +784,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    * @param string $destination
    *   If present, add destination to querystring (works for Drupal only).
    *
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public function getLoginURL($destination = '') {
@@ -830,7 +841,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
    *
    * @param $dir
    *
-   * @return array array
+   * @return array
+   *   array
    * - $url, (Joomla - non admin url)
    * - $siteName,
    * - $siteRoot
index d3df9a21104e9b8864456e9b8c98a61fe2e6444f..4d24cc61df02a31dbb5da2183707d0c5f503fd21 100644 (file)
@@ -65,7 +65,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
    * @param string $str
    *   The permission to check.
    *
-   * @return boolean true if yes, else false
+   * @return boolean
+   *   true if yes, else false
    * @static
    */
   public function checkPermission($str) {
@@ -110,7 +111,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
    * @param string $fragment
    *   A fragment identifier (named anchor) to append to the link.
    *
-   * @return string            an HTML string containing a link to the given path.
+   * @return string
+   *   an HTML string containing a link to the given path.
    *
    */
   public function url($path = NULL, $query = NULL, $absolute = TRUE, $fragment = NULL) {
@@ -129,7 +131,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
    *
    * @param the default action if one is pre-specified
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    */
   public function postURL($action) {
     return NULL;
@@ -154,7 +157,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
    * @param string $pass
    *   Login password.
    *
-   * @return array            Result array
+   * @return array
+   *   Result array
    */
   public function &authenticate($name, $pass) {
     if (isset(self::$ufClass)) {
@@ -184,7 +188,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return null  as the language is set elsewhere
+   * @return null
+   *   as the language is set elsewhere
    */
   public function getUFLocale() {
     return NULL;
@@ -197,7 +202,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base {
    *   If present, add destination to querystring (works for Drupal only).
    *
    * @throws Exception
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public function getLoginURL($destination = '') {
index ed34adf0809389fa48b34a28970e5aa07415a71b..2c746d41c1486ebcdb25679c14b8dd54e8569271 100644 (file)
@@ -138,7 +138,8 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
    * @param mix $action
    *   The default action if one is pre-specified.
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    */
   /**
    * @param mix $action
@@ -169,7 +170,8 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
    * @param bool $forceBackend
    *   a gross joomla hack.
    *
-   * @return string an HTML string containing a link to the given path.
+   * @return string
+   *   an HTML string containing a link to the given path.
    *
    */
   /**
@@ -287,7 +289,8 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return string  with the locale or null for none
+   * @return string
+   *   with the locale or null for none
    */
   /**
    * @return string
@@ -299,7 +302,8 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
   /**
    * Get a list of all installed modules, including enabled and disabled ones
    *
-   * @return array CRM_Core_Module
+   * @return array
+   *   CRM_Core_Module
    */
   /**
    * @return array
@@ -315,7 +319,8 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
    *   If present, add destination to querystring (works for Drupal only).
    *
    * @throws Exception
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    * @static
    */
   public function getLoginURL($destination = '') {
@@ -324,7 +329,8 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal {
 
   /**
    * Over-ridable function to get timezone as a string eg.
-   * @return string Timezone e.g. 'America/Los_Angeles'
+   * @return string
+   *   Timezone e.g. 'America/Los_Angeles'
    */
   public function getTimeZoneString() {
     // This class extends Drupal, but we don't want Drupal's behavior; reproduce CRM_Utils_System_Base::getTimeZoneString
index 73c6f54d904da1e311ce0f92e260f37925039aa7..7da8a9b3853dd99e72974b1c5eefb4aee092d5a0 100644 (file)
@@ -180,7 +180,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScriptUrl($url, $region) {
     return FALSE;
@@ -196,7 +197,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addScript($code, $region) {
     return FALSE;
@@ -212,7 +214,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyleUrl($url, $region) {
     return FALSE;
@@ -228,7 +231,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    * Note: This function is not to be called directly
    * @see CRM_Core_Region::render()
    *
-   * @return bool TRUE if we support this operation in this CMS, FALSE otherwise
+   * @return bool
+   *   TRUE if we support this operation in this CMS, FALSE otherwise
    */
   public function addStyle($code, $region) {
     return FALSE;
@@ -253,7 +257,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    * @param mix $action
    *   The default action if one is pre-specified.
    *
-   * @return string the url to post the form
+   * @return string
+   *   the url to post the form
    * @static
    */
   public function postURL($action) {
@@ -284,7 +289,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    *
    * @param bool $forceBackend
    *
-   * @return string            an HTML string containing a link to the given path.
+   * @return string
+   *   an HTML string containing a link to the given path.
    */
   function url(
     $path = NULL,
@@ -467,7 +473,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   /**
    * Get the locale set in the hosting CMS
    *
-   * @return string  with the locale or null for none
+   * @return string
+   *   with the locale or null for none
    */
   public function getUFLocale() {
     // WPML plugin
@@ -671,7 +678,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   /**
    * Check is user logged in.
    *
-   * @return boolean true/false.
+   * @return boolean
    */
   public function isUserLoggedIn() {
     $isloggedIn = FALSE;
@@ -695,7 +702,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   /**
    * Get currently logged in user uf id.
    *
-   * @return int $userID logged in user uf id.
+   * @return int
+   *   $userID logged in user uf id.
    */
   public function getLoggedInUfID() {
     $ufID = NULL;
@@ -706,7 +714,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   /**
    * Get currently logged in user unique identifier - this tends to be the email address or user name.
    *
-   * @return string $userID logged in user unique identifier
+   * @return string
+   *   logged in user unique identifier
    */
   public function getLoggedInUniqueIdentifier() {
     $user = $this->getLoggedInUserObject();
@@ -740,7 +749,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
    * @param string $destination
    *   If present, add destination to querystring (works for Drupal only).
    *
-   * @return string - loginURL for the current CMS
+   * @return string
+   *   loginURL for the current CMS
    *
    */
   public function getLoginURL($destination = '') {
@@ -760,7 +770,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   /**
    * Return the current WordPress version if relevant function exists
    *
-   * @return string - version number
+   * @return string
+   *   version number
    *
    */
   public function getVersion() {
@@ -774,7 +785,8 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
 
   /**
    * Get timezone as a string
-   * @return string Timezone e.g. 'America/Los_Angeles'
+   * @return string
+   *   Timezone e.g. 'America/Los_Angeles'
    */
   public function getTimeZoneString() {
     return get_option('timezone_string');
index 2927be5eae84b6af4d2f15b5e725a9f41707263a..8eed46b63cf1b6398d3536bcf41f5bbc86d8be1d 100644 (file)
@@ -151,7 +151,8 @@ class CRM_Utils_Token {
    * @param string $str
    *   The string to search.
    *
-   * @return boolean          Was there a match
+   * @return boolean
+   *   Was there a match
    * @static
    */
   public static function token_match($type, $var, &$str) {
@@ -172,7 +173,8 @@ class CRM_Utils_Token {
    *
    * @param bool $escapeSmarty
    *
-   * @return string           The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &token_replace($type, $var, $value, &$str, $escapeSmarty = FALSE) {
@@ -193,7 +195,8 @@ class CRM_Utils_Token {
    * @param string $token_type
    *   A string indicating the the type of token to be used in the expression.
    *
-   * @return string           regular expression sutiable for using in preg_replace
+   * @return string
+   *   regular expression sutiable for using in preg_replace
    * @static
    */
   private static function tokenRegex($token_type) {
@@ -206,7 +209,8 @@ class CRM_Utils_Token {
    * @param string $string
    *   A string that needs to be escaped from smarty parsing.
    *
-   * @return string           the escaped string
+   * @return string
+   *   the escaped string
    * @static
    */
   private static function tokenEscapeSmarty($string) {
@@ -227,7 +231,8 @@ class CRM_Utils_Token {
    * @param null $knownTokens
    * @param bool $escapeSmarty
    *
-   * @return string           The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceDomainTokens(
@@ -327,7 +332,8 @@ class CRM_Utils_Token {
    *
    * @param bool $escapeSmarty
    *
-   * @return string           The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceOrgTokens($str, &$org, $html = FALSE, $escapeSmarty = FALSE) {
@@ -410,7 +416,8 @@ class CRM_Utils_Token {
    * @param null $knownTokens
    * @param bool $escapeSmarty
    *
-   * @return string           The processed sstring
+   * @return string
+   *   The processed sstring
    * @static
    */
   public static function &replaceMailingTokens(
@@ -544,7 +551,8 @@ class CRM_Utils_Token {
    *
    * @param bool $escapeSmarty
    *
-   * @return string             The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceActionTokens(
@@ -637,7 +645,8 @@ class CRM_Utils_Token {
    *
    * @param bool $escapeSmarty
    *
-   * @return string                    The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceContactTokens(
@@ -781,7 +790,8 @@ class CRM_Utils_Token {
    *
    * @param bool $escapeSmarty
    *
-   * @return string             The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceHookTokens(
@@ -808,7 +818,8 @@ class CRM_Utils_Token {
    * @param string $tokenHtml
    * @param array $entity
    * @param string $entityType
-   * @return string html parsed through smarty
+   * @return string
+   *   html parsed through smarty
    */
   public static function parseThroughSmarty($tokenHtml, $entity, $entityType = 'contact') {
     if (defined('CIVICRM_MAIL_SMARTY') && CIVICRM_MAIL_SMARTY) {
@@ -856,7 +867,8 @@ class CRM_Utils_Token {
    *  this routine will remove the extra backslashes and braces
    *
    * @param $str ref to the string that will be scanned and modified
-   * @return void  this function works directly on the string that is passed
+   * @return void
+   *   this function works directly on the string that is passed
    * @access public
    * @static
    */
@@ -879,7 +891,8 @@ class CRM_Utils_Token {
    *   The contact ID.
    * @param string hash The security hash of the unsub event
    *
-   * @return string               The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceUnsubscribeTokens(
@@ -925,7 +938,8 @@ class CRM_Utils_Token {
    *   The contact ID.
    * @param string hash The security hash of the resub event
    *
-   * @return string               The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceResubscribeTokens(
@@ -952,7 +966,8 @@ class CRM_Utils_Token {
    * @param bool $html
    *   Replace tokens with html or plain text.
    *
-   * @return string               The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceSubscribeTokens($str, $group, $url, $html) {
@@ -971,7 +986,8 @@ class CRM_Utils_Token {
    * @param string $str
    *   The string with tokens to be replaced.
    *
-   * @return string               The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceSubscribeInviteTokens($str) {
@@ -1018,7 +1034,8 @@ class CRM_Utils_Token {
    * @param bool $html
    *   Replace tokens with html or plain text.
    *
-   * @return string               The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceWelcomeTokens($str, $group, $html) {
@@ -1034,7 +1051,8 @@ class CRM_Utils_Token {
    * @param string $str
    *   The string to search.
    *
-   * @return array            Array of tokens that weren't replaced
+   * @return array
+   *   Array of tokens that weren't replaced
    * @static
    */
   public static function &unmatchedTokens(&$str) {
@@ -1056,7 +1074,8 @@ class CRM_Utils_Token {
    * @param bool $escapeSmarty
    * @param bool $returnEmptyToken
    *
-   * @return string           The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceComponentTokens(&$str, $contact, $components, $escapeSmarty = FALSE, $returnEmptyToken = TRUE) {
@@ -1088,7 +1107,8 @@ class CRM_Utils_Token {
    * @param string $string
    *   The input string to parse for tokens.
    *
-   * @return array $tokens array of tokens mentioned in field
+   * @return array
+   *   array of tokens mentioned in field
    * @access public
    * @static
    */
@@ -1119,7 +1139,8 @@ class CRM_Utils_Token {
    * Function to determine which values to retrieve to insert into tokens. The heavy resemblance between this function
    * and getTokens appears to be historical rather than intentional and should be reviewed
    * @param $string
-   * @return array fields to pass in as return properties when populating token
+   * @return array
+   *   fields to pass in as return properties when populating token
    *
    */
   public static function getReturnProperties(&$string) {
@@ -1290,7 +1311,8 @@ class CRM_Utils_Token {
    * @param string $className
    *   Sent as context to the hook.
    * @param string $jobID
-   * @return array contactDetails with hooks swapped out
+   * @return array
+   *   contactDetails with hooks swapped out
    */
   public function getAnonymousTokenDetails($contactIDs = array(
     0),
@@ -1499,7 +1521,8 @@ class CRM_Utils_Token {
    * @param null $knownTokens
    * @param bool $escapeSmarty
    *
-   * @return string           The processed string
+   * @return string
+   *   The processed string
    * @static
    */
   public static function &replaceUserTokens($str, $knownTokens = NULL, $escapeSmarty = FALSE) {
@@ -1585,7 +1608,8 @@ class CRM_Utils_Token {
    * @param array $knownTokens
    *   Array of tokens present.
    * @param bool $escapeSmarty
-   * @return string string with replacements made
+   * @return string
+   *   string with replacements made
    */
   public static function replaceEntityTokens($entity, $entityArray, $str, $knownTokens = array(), $escapeSmarty = FALSE) {
     if (!$knownTokens || empty($knownTokens[$entity])) {
@@ -1680,7 +1704,8 @@ class CRM_Utils_Token {
    * @param array $membership
    *   An api result array for a single membership.
    * @param bool $escapeSmarty
-   * @return string token replacement
+   * @return string
+   *   token replacement
    */
   public static function getMembershipTokenReplacement($token, $membership, $escapeSmarty = FALSE) {
     $entity = 'membership';
@@ -1764,7 +1789,8 @@ class CRM_Utils_Token {
   }
 
   /**
-   * @return array: legacy_token => new_token
+   * @return array
+   *   legacy_token => new_token
    */
   public static function legacyContactTokens() {
     return array(
index 68034b0e0f1efd18350a3cfd45887aa106e0c556..8750a4951f156322d1e7f278902fa8b0357daca8 100644 (file)
@@ -162,7 +162,8 @@ class CRM_Utils_Tree {
    *
    * @param string $name
    *
-   * @return array (ref)
+   * @return array
+   *   (ref)
    *
    */
   public function &createNode($name) {
index 0571544f1e76dc8e321a5acbe9d307a83f28c9e0..9a2e2d6479ff021d3a7f335d70b81e213922f5f9 100644 (file)
@@ -69,7 +69,8 @@ class CRM_Utils_Verp {
    * @param string $recipient
    *   The address of the recipient.
    *
-   * @return string           The VERP encoded address
+   * @return string
+   *   The VERP encoded address
    * @static
    */
   public static function encode($sender, $recipient) {
@@ -95,7 +96,8 @@ class CRM_Utils_Verp {
    * @param string $address
    *   The address to be decoded.
    *
-   * @return array            The tuple ($sender, $recipient)
+   * @return array
+   *   The tuple ($sender, $recipient)
    * @static
    */
   public static function &verpdecode($address) {
index a5b1ac963e3d3f1b0befc0071a113798a630a9da..3aa2f7372e52d8aae30cbe72b8890325e8b91f74 100644 (file)
@@ -59,7 +59,8 @@ class CRM_Utils_Wrapper {
    * @param bool addSequence should we add a unique sequence number to the end of the key
    * @param bool ignoreKey should we not set a qfKey for this controller (for standalone forms)
    *
-   * @return void.
+   * @return void
+   *
    */
   public function run($formName, $formLabel = NULL, $arguments = NULL) {
     if (is_array($arguments)) {
index df9b395aec11f500ec7f425ede99720a8391b690..ee36f11eca2c7f565815f3405dc786e989555bcd 100644 (file)
@@ -38,7 +38,8 @@ class CRM_Utils_XML {
    *
    * @param $file
    *
-   * @return array (0 => SimpleXMLElement|FALSE, 1 => errorMessage|FALSE)
+   * @return array
+   *   (0 => SimpleXMLElement|FALSE, 1 => errorMessage|FALSE)
    */
   public static function parseFile($file) {
     $xml = FALSE; // SimpleXMLElement
@@ -69,7 +70,8 @@ class CRM_Utils_XML {
    *
    * @param $string
    *
-   * @return array (0 => SimpleXMLElement|FALSE, 1 => errorMessage|FALSE)
+   * @return array
+   *   (0 => SimpleXMLElement|FALSE, 1 => errorMessage|FALSE)
    */
   public static function parseString($string) {
     $xml = FALSE; // SimpleXMLElement
index c8929efba4b38ff45b33ade62af11bae5a9654e2..cf6c90186d8469699ffaff7c484e132eda5a8ba9 100644 (file)
@@ -98,7 +98,8 @@ class CRM_Utils_Zip {
    * @param ZipArchive $zip
    * @param $expected
    *
-   * @return string or FALSE
+   * @return string
+   *   or FALSE
    */
   static public function guessBasedir(ZipArchive $zip, $expected) {
     $candidate = FALSE;
index 0bc3fbd5a83bd080c027fabe9c06b986bf359394..0ed80a3bcbe61cb01edbacfaa93da1d057c6c09b 100644 (file)
@@ -281,7 +281,8 @@ class Kernel {
    *   An unhandled exception.
    * @param array $apiRequest
    *   The full description of the API request.
-   * @return array (API response)
+   * @return array
+   *   (API response)
    */
   public function formatApiException($e, $apiRequest) {
     $data = $e->getExtraParams();
index 19cc0b4c85dabb5f7c83bde51164100a6d98be61..e17ca8c269ffe5b52976cd64d12ada2e35048334 100644 (file)
@@ -36,7 +36,8 @@ interface ProviderInterface {
   /**
    * @param array $apiRequest
    *   The full description of the API request.
-   * @return array structured response data (per civicrm_api3_create_success)
+   * @return array
+   *   structured response data (per civicrm_api3_create_success)
    * @see civicrm_api3_create_success
    * @throws \API_Exception
    */
index a9678d4941ef3b0e8ae852a2276b1439340650da..1d5f747402eed76c3b24970602442063b2dae1dd 100644 (file)
@@ -46,7 +46,8 @@ class Request {
    *   Who knows? ...
    *
    * @throws \API_Exception
-   * @return array the request descriptor; keys:
+   * @return array
+   *   the request descriptor; keys:
    *   - version: int
    *   - entity: string
    *   - action: string
index cd6ce4e695b0776991e5da5feb75fcc40f3e75b8..e979e93ac7056674916758b442f1effc12ae2cd1 100644 (file)
@@ -265,7 +265,8 @@ class DynamicFKAuthorization implements EventSubscriberInterface {
   /**
    * @param int $id
    *   e.g. file ID.
-   * @return array (0 => bool $isValid, 1 => string $entityTable, 2 => int $entityId)
+   * @return array
+   *   (0 => bool $isValid, 1 => string $entityTable, 2 => int $entityId)
    */
   public function getDelegate($id) {
     $query = \CRM_Core_DAO::executeQuery($this->lookupDelegateSql, array(
index 1dd1b712771983940a82d1c88a9626b6e0e93bb3..132533c647589942d56dfd447736724eeab24cf5 100644 (file)
@@ -114,7 +114,8 @@ class TransactionSubscriber implements EventSubscriberInterface {
    *   The API provider responsible for this request.
    * @param array $apiRequest
    *   The full API request.
-   * @return bool True if a new nested transaction is required; false if active tx may be used
+   * @return bool
+   *   True if a new nested transaction is required; false if active tx may be used
    */
   public function isNested($apiProvider, $apiRequest) {
     if ($this->isForceRollback($apiProvider, $apiRequest)) {
index 633688a2256151af62a0d15a186daf1329606f1b..f958eb663af1eff6d5ef7374b049e4b54f1206c3 100644 (file)
@@ -100,7 +100,8 @@ class Analyzer {
   /**
    * Get a list of all activities in the case
    *
-   * @return array list of activity records (api/v3 format)
+   * @return array
+   *   list of activity records (api/v3 format)
    */
   public function getActivities() {
     if ($this->activities === NULL) {
@@ -184,7 +185,8 @@ class Analyzer {
    *
    * @param array $keys
    *   List of properties by which to index activities.
-   * @return array list of activity records (api/v3 format), indexed by $keys
+   * @return array
+   *   list of activity records (api/v3 format), indexed by $keys
    */
   public function getActivityIndex($keys) {
     $key = implode(";", $keys);
index e09f7992951d11184697569b57f913d68f351f9e..05893dfda0096039392438f77c04cff01a24fc03 100644 (file)
@@ -11,7 +11,8 @@ class CSVParser {
    *   Content; each row in the row csv should start with two cells:.
    *   - cell 0: the test name
    *   - cell 1: the test status
-   * @return array (string $testName => string $status)
+   * @return array
+   *   (string $testName => string $status)
    */
   public static function parseResults($csvContent) {
     $fh = fopen('php://memory', 'r+');
index 35bcfe244a32a1cc360a97389994de786d85e957..876c4e010b7d8a4a8941820c4dd910a0420214b3 100644 (file)
@@ -15,7 +15,8 @@ class EnvTestRunner {
 
   /**
    * @param array $tests
-   * @return array (string $testName => string $status)
+   * @return array
+   *   (string $testName => string $status)
    */
   public function run($tests) {
     $envTests = implode(' ', $tests);
index c99c57109181d9ed8437c747aa50f54220563842..00d5230db139186e18700e653a28e7ea4b5b32c8 100644 (file)
@@ -8,7 +8,8 @@ class JenkinsParser {
   /**
    * @param string $content
    *   Xml data.
-   * @return array (string $testName => string $status)
+   * @return array
+   *   (string $testName => string $status)
    */
   public static function parseXmlResults($content) {
     $xml = simplexml_load_string($content);
index 835954623b261afc1db43421a5692e6039eed93e..4f32db21dc0ce8a2548263511535eb0e4a0568cb 100644 (file)
@@ -20,7 +20,8 @@ class PHPUnitParser {
   /**
    * @param string $content
    *   Json stream.
-   * @return array (string $testName => string $status)
+   * @return array
+   *   (string $testName => string $status)
    */
   public static function parseJsonResults($content) {
     $records = self::parseJsonStream($content);
index 3f1b4e4c289b3e077d7f2c7c4e405478b9225f7d..45751af58b8b00d66603b4bebc71c262660d76be 100644 (file)
@@ -26,7 +26,8 @@ class PHPUnitScanner {
   }
 
   /**
-   * @return array (string $file => string $class)
+   * @return array
+   *   (string $file => string $class)
    */
   public static function findTestClasses($paths) {
     $testClasses = array();
@@ -66,7 +67,8 @@ class PHPUnitScanner {
 
   /**
    * @param array $testClasses
-   * @return array each element is an array with keys:
+   * @return array
+   *   each element is an array with keys:
    *   - file: string
    *   - class: string
    *   - method: string
index 3857b3ea5bd5394411d5ed0027df5e16f3e8bfed..14d023e6da2f45bb1fe6f95efe81919378c158a0 100644 (file)
@@ -49,7 +49,8 @@ class Requirements {
    *     - file_paths
    *     - db_config
    *
-   * @return array An array of check summaries. Each array contains the keys 'title', 'severity', and 'details'.
+   * @return array
+   *   An array of check summaries. Each array contains the keys 'title', 'severity', and 'details'.
    */
   public function checkAll(array $config) {
     return array_merge($this->checkSystem($config['file_paths']), $this->checkDatabase($config['db_config']));
index 6c46cb763b59612cc67ba3e05da5b4e1ec65295c..cb044c2a8b257351a0d63edd8136ce4d77545290 100644 (file)
@@ -59,7 +59,8 @@ function civicrm_api3($entity, $action, $params = array()) {
  * @todo other output modifiers include contact_type
  *
  * @param array $apiRequest
- * @return array getfields output
+ * @return array
+   *   getfields output
  */
 function _civicrm_api3_api_getfields(&$apiRequest) {
   if (strtolower($apiRequest['action'] == 'getfields')) {
@@ -88,7 +89,8 @@ function _civicrm_api3_api_getfields(&$apiRequest) {
  *
  * @param $result
  *
- * @return boolean true if error, false otherwise
+ * @return boolean
+   *   true if error, false otherwise
  * @static void
  * @access public
  */
@@ -157,7 +159,7 @@ function _civicrm_api_replace_variables($entity, $action, &$params, &$parentResu
  * @param string $entity
  *   Entity name in various formats e.g. Contribution, contribution,
  *   OptionValue, option_value, UFJoin, uf_join.
- * @return string $entity
+ * @return string
  *   Entity name in underscore separated format.
  *
  * @fixme Why isn't this called first thing in civicrm_api wrapper?
index 5ffa618b8e9a6466c207a1f62e6739234b57dd65..859d4ae9c8ae1807a44607c7633d31f9c5c5d5ec 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created acl property values.
+ * @return array
+   *   of newly created acl property values.
  * @access public
  */
 function civicrm_api3_acl_create($params) {
@@ -59,7 +60,8 @@ function civicrm_api3_acl_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved acl property values.
+ * @return array
+   *   of retrieved acl property values.
  * @access public
  */
 function civicrm_api3_acl_get($params) {
@@ -75,7 +77,8 @@ function civicrm_api3_acl_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_acl_delete($params) {
index caf59547929fbf1c3f22684bf31fe38d06a3297d..4c5554805c269ebb78acf1b5c8ad7f7cbdbb7535 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created acl_role property values.
+ * @return array
+   *   of newly created acl_role property values.
  * @access public
  */
 function civicrm_api3_acl_role_create($params) {
@@ -59,7 +60,8 @@ function civicrm_api3_acl_role_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved acl_role property values.
+ * @return array
+   *   of retrieved acl_role property values.
  * @access public
  */
 function civicrm_api3_acl_role_get($params) {
@@ -75,7 +77,8 @@ function civicrm_api3_acl_role_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_acl_role_delete($params) {
index a4269c2eba7f6f111b6eab2217a56bbfa53875a7..721000cc23788bda62178ecb7cc270bd7a368ed5 100644 (file)
@@ -84,7 +84,8 @@ function _civicrm_api3_action_schedule_create_spec(&$params) {
  *   Array containing id of the action_schedule.
  *   to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  *
  * @access public
  */
index 9f1c58148efed551ce2b9e9d3a42cccf72ab04f2..a0cfd6b9fae363bba38d9459ae83edbed68b41c4 100644 (file)
@@ -47,7 +47,8 @@
  * {@getfields activity_create}
  *
  * @throws API_Exception
- * @return array Array containing 'is_error' to denote success or failure and details of the created activity
+ * @return array
+   *   Array containing 'is_error' to denote success or failure and details of the created activity
  *
  * @example ActivityCreate.php Standard create example
  * @example Activity/ContactRefCustomField.php Create example including setting a contact reference custom field
@@ -255,7 +256,8 @@ function civicrm_api3_activity_get($params) {
  * @param array $params
  *   API request parameters.
  * @param array $activities
- * @return array new activities list
+ * @return array
+   *   new activities list
  */
 function _civicrm_api3_activity_get_formatResult($params, $activities) {
   $returns = CRM_Utils_Array::value('return', $params, array());
@@ -342,7 +344,8 @@ function civicrm_api3_activity_delete($params) {
  *
  * @throws API_Exception
  * @throws Exception
- * @return array $error array with errors
+ * @return array
+   *   array with errors
  */
 function _civicrm_api3_activity_check_params(&$params) {
 
index a82270e1338ac1731f4da6691680233d784bdb04..281fbeb1ce467c2a649ce06f315a43b486095be4 100644 (file)
@@ -45,7 +45,8 @@
  *
  * @param array $params
  *
- * @return array of newly created activity contact records.
+ * @return array
+   *   of newly created activity contact records.
  * @access public
  */
 function civicrm_api3_activity_contact_create($params) {
@@ -69,7 +70,8 @@ function _civicrm_api3_activity_contact_create_spec(&$params) {
  *
  * @param array $params
  *
- * @return array Api Result
+ * @return array
+   *   Api Result
  *
  * @example ActivityContact.php
  * @access public
@@ -86,7 +88,8 @@ function civicrm_api3_activity_contact_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found tags else error
+ * @return array
+   *   details of found tags else error
  *
  * @access public
  */
index e7aa9f873e08110f76cc99a169aa0aae74014001..3a272a3e4b6fd96662504cf05097bbbf5624dd0f 100644 (file)
@@ -38,7 +38,8 @@
 
 /**
  * @deprecated api notice
- * @return string to indicate this entire api entity is deprecated
+ * @return string
+   *   to indicate this entire api entity is deprecated
  */
 function _civicrm_api3_activity_type_deprecation() {
   return 'The activity_type api is deprecated. Please use the option_value api instead.';
@@ -49,7 +50,8 @@ function _civicrm_api3_activity_type_deprecation() {
  *
  * @param array $params
  *
- * @return array $activityTypes activity types keyed by id
+ * @return array
+   *   activity types keyed by id
  * @access public
  *
  * @example ActivityTypeGet.php
@@ -68,7 +70,8 @@ function civicrm_api3_activity_type_get($params) {
  *   Associated array of fields.
  *                 $params['option_value_id'] is required for updation of activity type
  *
- * @return array $activityType created / updated activity type
+ * @return array
+   *   created / updated activity type
  *
  * @access public
  *
@@ -109,7 +112,8 @@ function _civicrm_api3_activity_type_create_spec(&$params) {
  * @param array $params
  *   Array including id of activity_type to delete.
 
- * @return array API result array
+ * @return array
+   *   API result array
  *
  * @access public
  *
index 72b23154e2b6440c55a09f087a2f4ba1e4bd30cc..4ba4d325776028d8a285d4e3bd08519466ff74da 100644 (file)
@@ -45,7 +45,8 @@
  *
  * @param array $params
  *
- * @return array of newly created tag property values.
+ * @return array
+   *   of newly created tag property values.
  * @access public
  */
 function civicrm_api3_address_create(&$params) {
@@ -131,7 +132,8 @@ function _civicrm_api3_address_get_spec(&$params) {
  * {@getfields address_delete}
  * {@example AddressDelete.php 0}
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * @access public
  */
 function civicrm_api3_address_delete($params) {
@@ -148,7 +150,8 @@ function civicrm_api3_address_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found addresses else error
+ * @return array
+   *   details of found addresses else error
  * {@getfields address_get}
  * @access public
  */
index 4120bdf62d1596890e44831b338a02621194b079..6def32ffcc9e51a21dfc6396ceb7fa568a6a7ce0 100644 (file)
@@ -89,7 +89,8 @@ function _civicrm_api3_attachment_create_spec(&$spec) {
  * Create an attachment
  *
  * @param array $params
- * @return array of newly created file property values.
+ * @return array
+   *   of newly created file property values.
  * @access public
  * @throws API_Exception validation errors
  */
@@ -164,7 +165,8 @@ function _civicrm_api3_attachment_get_spec(&$spec) {
 
 /**
  * @param array $params
- * @return array per APIv3
+ * @return array
+   *   per APIv3
  * @throws API_Exception validation errors
  */
 function civicrm_api3_attachment_get($params) {
@@ -293,7 +295,8 @@ function __civicrm_api3_attachment_find($params, $id, $file, $entityFile, $isTru
 
 /**
  * @param array $params
- * @return array (0 => int $id, 1 => array $file, 2 => array $entityFile, 3 => string $name, 4 => string $content, 5 => string $moveFile, 6 => $isTrusted, 7 => bool $returnContent)
+ * @return array
+   *   (0 => int $id, 1 => array $file, 2 => array $entityFile, 3 => string $name, 4 => string $content, 5 => string $moveFile, 6 => $isTrusted, 7 => bool $returnContent)
  *  - array $file: whitelisted fields that can pass through directly to civicrm_file
  *  - array $entityFile: whitelisted fields that can pass through directly to civicrm_entity_file
  *  - string $name: the printable name
@@ -393,7 +396,8 @@ function _civicrm_api3_attachment_format_result($fileDao, $entityFileDao, $retur
 }
 
 /**
- * @return array list of fields (indexed by name)
+ * @return array
+   *   list of fields (indexed by name)
  */
 function _civicrm_api3_attachment_getfields() {
   $fileFields = CRM_Core_DAO_File::fields();
index ced1fb2b04b49a498b82d4fdf08e7b30692d843d..8e98a7258d93452df929d8e5a85aa1d840461969 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created batch property values.
+ * @return array
+   *   of newly created batch property values.
  * @access public
  */
 function civicrm_api3_batch_create($params) {
@@ -79,7 +80,8 @@ function _civicrm_api3_batch_create_spec(&$params) {
  *
  * @param array $params
  *
- * @return array of retrieved batch property values.
+ * @return array
+   *   of retrieved batch property values.
  * @access public
  */
 function civicrm_api3_batch_get($params) {
@@ -95,7 +97,8 @@ function civicrm_api3_batch_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_batch_delete($params) {
index d1585dfa51ef3b37022eda206b54620a82ed6890..6c35faa0898d5376bb9a4e505344188d193cce12 100644 (file)
@@ -45,7 +45,8 @@
  *   (reference) Associative array of property.
  *                       name/value pairs to insert in new 'campaign'
  *
- * @return array   campaign array
+ * @return array
+   *   campaign array
  * {@getfields campaign_create}
  * @access public
  */
@@ -72,7 +73,8 @@ function _civicrm_api3_campaign_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all campaigns will be returned
  *
- * @return array  Array of matching campaigns
+ * @return array
+   *   Array of matching campaigns
  * @access public
  * {@getfields campaign_get}
  */
@@ -90,7 +92,8 @@ function civicrm_api3_campaign_get($params) {
  *   (reference) array containing id of the group.
  *                       to be deleted
  *
- * @return array  (reference) returns flag true if successful, error
+ * @return array
+   *   (reference) returns flag true if successful, error
  *                message otherwise
  * {@getfields campaign_delete}
  * @access public
index 238bd2af79fb3379d8e401757f436d0c1c2c105c..2c50985f6426764b0a55cd62f315649ab3221ceb 100644 (file)
@@ -57,7 +57,8 @@
  * 'details' => str // html format
  *
  * @throws API_Exception
- * @return array api result array
+ * @return array
+   *   api result array
  *
  * @access public
  * {@getfields case_create}
@@ -196,7 +197,8 @@ function _civicrm_api3_case_delete_spec(&$params) {
  * {@getfields case_get}
  *
  * @throws API_Exception
- * @return array (get mode, case_id provided): Array with case details, case roles, case activity ids, (search mode, case_id not provided): Array of cases found
+ * @return array
+   *   (get mode, case_id provided): Array with case details, case roles, case activity ids, (search mode, case_id not provided): Array of cases found
  * @access public
  * @todo Erik Hommel 16 dec 2010 check if all DB fields are returned
  */
@@ -287,7 +289,8 @@ function civicrm_api3_case_activity_create($params) {
 
 /**
  * @deprecated api notice
- * @return array of deprecated actions
+ * @return array
+   *   of deprecated actions
  */
 function _civicrm_api3_case_deprecation() {
   return array('activity_create' => 'Case api "activity_create" action is deprecated. Use the activity api instead.');
@@ -306,7 +309,8 @@ function _civicrm_api3_case_deprecation() {
  * 'contact_id' => int // case client
  *
  * @throws API_Exception
- * @return array api result array
+ * @return array
+   *   api result array
  *
  * @access public
  */
@@ -372,7 +376,8 @@ function civicrm_api3_case_update($params) {
  * 'move_to_trash' => bool (defaults to false)
  *
  * @throws API_Exception
- * @return boolean: true if success, else false
+ * @return boolean
+   *   true if success, else false
  * {@getfields case_delete}
  * @access public
  */
@@ -401,7 +406,8 @@ function civicrm_api3_case_delete($params) {
  *
  * @param $options
  *
- * @return array case object
+ * @return array
+   *   case object
  */
 function _civicrm_api3_case_read($caseId, $options) {
   $return = CRM_Utils_Array::value('return', $options, array());
index 739eb700cde831a9b067c965ed609e0b71751458..5ce89c943e5aeee87ded91d7b669288178cb09bb 100644 (file)
@@ -45,7 +45,8 @@
  * {@getfields case_type_create}
  *
  * @throws API_Exception
- * @return array API result array
+ * @return array
+   *   API result array
  *
  * @static void
  * @access public
@@ -73,7 +74,8 @@ function civicrm_api3_case_type_create($params) {
  *
  * @param array $params
  *
- * @return array $caseTypes case types keyed by id
+ * @return array
+   *   case types keyed by id
  * @access public
  */
 function civicrm_api3_case_type_get($params) {
@@ -113,7 +115,8 @@ function _civicrm_api3_case_type_get_formatResult(&$result) {
  * @param array $params
  *   Array including id of case_type to delete.
 
- * @return array API result array
+ * @return array
+   *   API result array
  *
  * @access public
  *
index f9c96b894c3237c81c44d29f4d2815d4c8265d2e..f113c467caf8c13b1af6d438ab0f1237226e780c 100644 (file)
@@ -38,7 +38,8 @@
 
 /**
  * @deprecated api notice
- * @return string to indicate this entire api entity is deprecated
+ * @return string
+   *   to indicate this entire api entity is deprecated
  */
 function _civicrm_api3_constant_deprecation() {
   return 'The constant api is deprecated as of CiviCRM 4.4. Please use the getoptions api action instead.';
index 6b597cc564cd9a1074e1579bde85337d1467edc8..d5f536664bdf67bdbeac5f96f3d6758512bf54a5 100644 (file)
@@ -50,7 +50,8 @@
  * @throws API_Exception
  * @example ContactCreate.php Example of Create Call
  *
- * @return array  API Result Array
+ * @return array
+   *   API Result Array
  *
  * @static void
  * @access public
@@ -144,7 +145,8 @@ function _civicrm_api3_contact_create_spec(&$params) {
  *
  * @param array input parameters
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * (@getfields contact_get}
  * @static void
  * @access public
@@ -270,7 +272,8 @@ function _civicrm_api3_contact_get_supportanomalies(&$params, &$options) {
  * @param array $params
  *   (reference ) input parameters, contact_id element required.
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * @access public
  *
  * @example ContactDelete.php
@@ -854,7 +857,8 @@ LIMIT    0, {$limit}
 
 /**
  * @deprecated api notice
- * @return array of deprecated actions
+ * @return array
+   *   of deprecated actions
  */
 function _civicrm_api3_contact_deprecation() {
   return array('getquick' => 'The "getquick" action is deprecated in favor of "getlist".');
@@ -873,7 +877,8 @@ function _civicrm_api3_contact_deprecation() {
  *                      A 'safe' value skips the merge if there are no conflicts. Does a force merge otherwise.}
  * {boolean auto_flip   wether to let api decide which contact to retain and which to delete.}
  *
- * @return array  API Result Array
+ * @return array
+   *   API Result Array
  *
  * @static void
  * @access public
index 1d161a6c10293e83217fc609791296656114045d..00f20746281359ba21145dfc81a753fcca8d1e8f 100644 (file)
@@ -45,7 +45,8 @@
  *   (reference) Associative array of property.
  *                       name/value pairs to insert in new 'contact_type'
  *
- * @return array   contact_type array
+ * @return array
+   *   contact_type array
  *
  * @access public
  */
@@ -73,7 +74,8 @@ function civicrm_api3_contact_type_create($params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all contact_types will be returned
  *
- * @return array Array of matching contact_types
+ * @return array
+   *   Array of matching contact_types
  * @access public
  */
 function civicrm_api3_contact_type_get($params) {
@@ -91,7 +93,8 @@ function civicrm_api3_contact_type_get($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array  API Result Array
+ * @return array
+   *   API Result Array
  *
  * @access public
  */
index 2e8cee81cce724f11825b47538bb4458a4affb3b..58022d4d941433ca9a2ef550cf816f8c0cbe9241 100644 (file)
@@ -44,7 +44,8 @@
  *   (reference ) input parameters.
  *
  * @throws API_Exception
- * @return array  Api result array
+ * @return array
+   *   Api result array
  * @static void
  * @access public
  * @example ContributionCreate.php
@@ -176,7 +177,8 @@ function _civicrm_api3_contribution_create_legacy_support_45(&$params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  * {@getfields Contribution_delete}
@@ -206,7 +208,8 @@ function _civicrm_api3_contribution_delete_spec(&$params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array of contributions, if error an array with an error id and error message
+ * @return array
+   *   of contributions, if error an array with an error id and error message
  * @static void
  * @access public
  * {@getfields Contribution_get}
@@ -302,7 +305,8 @@ function _civicrm_api3_contribution_transact_spec(&$params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array (reference )        contribution of created or updated record (or a civicrm error)
+ * @return array
+   *   (reference )        contribution of created or updated record (or a civicrm error)
  * @static void
  * @access public
  *
@@ -356,7 +360,8 @@ function civicrm_api3_contribution_transact($params) {
  * {@getfields Contribution_sendconfirmation}
  *
  * @throws Exception
- * @return array  Api result array
+ * @return array
+   *   Api result array
  * @static void
  * @access public
  */
@@ -413,7 +418,8 @@ function _civicrm_api3_contribution_sendconfirmation_spec(&$params) {
  * {@getfields Contribution_completetransaction}
  *
  * @throws API_Exception
- * @return array  Api result array
+ * @return array
+   *   Api result array
  * @static void
  * @access public
  */
index e8e609919e373f8d6e038fa6b68deca722f1b680..e1343d27124d0d75d06f24f617d83623aa992b40 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'contribution_page'
  * @example ContributionPageCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields contribution_page_create}
  * @access public
  */
@@ -73,7 +74,8 @@ function _civicrm_api3_contribution_page_create_spec(&$params) {
  * @param array $params
  *   Array of one or more valid property_name=>value pairs.
  *
- * @return array API Result array Array of matching contribution_pages
+ * @return array
+   *   API Result array Array of matching contribution_pages
  * {@getfields contribution_page_get}
  * @access public
  */
@@ -91,7 +93,8 @@ function civicrm_api3_contribution_page_get($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array API result Array
+ * @return array
+   *   API result Array
  * {@getfields contribution_page_delete}
  * @access public
  */
@@ -109,7 +112,8 @@ function civicrm_api3_contribution_page_delete($params) {
  *   (reference) array containing id of the group.
  *                       to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields contribution_page_delete}
  * @access public
  */
index 042f9b5bf6e6d484173e50d1a5230606e28139f6..5527d35705803ac2a83e09c1bee5da9c21509eed 100644 (file)
@@ -41,7 +41,8 @@
  *                       name/value pairs to insert in new 'contribution_recur'
  * @example ContributionRecurCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields contribution_recur_create}
  * @access public
  */
@@ -71,7 +72,8 @@ function _civicrm_api3_contribution_recur_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all contribution_recurs will be returned
  *
- * @return array  API result Array of matching contribution_recurs
+ * @return array
+   *   API result Array of matching contribution_recurs
  * {@getfields contribution_recur_get}
  * @access public
  */
@@ -85,7 +87,8 @@ function civicrm_api3_contribution_recur_get($params) {
  * @param array $params
  *   (reference) array containing id of the recurring contribution.
  *
- * @return boolean  returns true is successfully cancelled
+ * @return boolean
+   *   returns true is successfully cancelled
  */
 
 function civicrm_api3_contribution_recur_cancel($params) {
@@ -103,7 +106,8 @@ function civicrm_api3_contribution_recur_cancel($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  *                message otherwise
  * {@getfields contribution_recur_delete}
  * @access public
index 706c446d03d211b946b3bbaeb60ec92a9b56aea7..5112d5009a53ed7b5376bfdfc9fbb9f53283b6eb 100644 (file)
@@ -46,7 +46,8 @@
  *
  * @example ContributionSoftCreate.php Standard Create Example //FIXME
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields contribution_soft_create}
  * @access public
  */
@@ -74,7 +75,8 @@ function _civicrm_api3_contribution_soft_create_spec(&$params) {
  *
  * @example ContributionSoftDelete.php Standard Delete Example
  *
- * @return boolean | error  true if successfull, error otherwise
+ * @return boolean
+   *   | error  true if successfull, error otherwise
  * {@getfields contribution_soft_delete}
  * @access public
  */
@@ -95,7 +97,8 @@ function civicrm_api3_contribution_soft_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array api result
+ * @return array
+   *   api result
  * {@getfields contribution_soft_get}
  * @access public
  */
index f12d1062b6d30ddaae648ece8d2a51c64e377e9b..6676c1b3957f779cc57760a129f65015ed095d76 100644 (file)
@@ -46,7 +46,8 @@ require_once 'CRM/Core/DAO/Country.php';
  *
  * @example CountryCreate.php Standard Create Example
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields country_create}
  * @access public
  */
@@ -72,7 +73,8 @@ function _civicrm_api3_country_create_spec(&$params) {
  *
  * @example CountryDelete.php Standard Delete Example
  *
- * @return boolean | error  true if successfull, error otherwise
+ * @return boolean
+   *   | error  true if successfull, error otherwise
  * {@getfields country_delete}
  * @access public
  */
@@ -91,7 +93,8 @@ function civicrm_api3_country_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields country_get}
  * @access public
  */
index dfad6157998a492facc6776faf1088ede2220f95..56a416c41ddb0a2ccd1b432edeef80b60756906e 100644 (file)
@@ -161,7 +161,8 @@ function civicrm_api3_custom_field_get($params) {
  * @param array $errors
  *   Collect validation errors.
  *
- * @return array  Validation errors
+ * @return array
+   *   Validation errors
  * @todo remove this function - not in use but need to review functionality before
  * removing as it might be useful in wrapper layer
  */
index b3a31c92a8f125dc4e498671a290b450d7fbbeaa..7989e14dbb321c33708e1746f1808f13d6e8e41a 100644 (file)
@@ -99,7 +99,8 @@ function _civicrm_api3_custom_group_create_spec(&$params) {
  *
  * @param array id of the group to be deleted
  *
- * @return Null if success
+ * @return Null
+   *   if success
  * @access public
  * {@getfields CustomGroup_delete}
  * @example CustomGroupDelete.php
index 0b64196ae7af65ecb0b3fb4500960eab1af2e744..a8f2fd8f8ce45804a4a68f2e225a286b61b2e374 100644 (file)
@@ -10,7 +10,8 @@
  * {@example OptionValueGet.php 0}
  * @example OptionValueGet.php
  *
- * @return array details of found Option Values
+ * @return array
+   *   details of found Option Values
  * {@getfields OptionValue_get}
  * @access public
  */
@@ -31,7 +32,8 @@ function civicrm_api3_custom_search_get($params) {
  *
  * @param array $params
  *
- * @return array of newly created option_value property values.
+ * @return array
+   *   of newly created option_value property values.
  * {@getfields OptionValue_create}
  * @access public
  */
@@ -70,7 +72,8 @@ function _civicrm_api3_custom_search_create_spec(&$params) {
  *
  * {@example ReportTemplateDelete.php 0}
  *
- * @return array Api result
+ * @return array
+   *   Api result
  * {@getfields ReportTemplate_create}
  * @access public
  */
index 11433166e39bcc348459d2247744a3f18a913d78..667bd0f26b97917a0028bdd5adee1ab13ef4690b 100644 (file)
@@ -139,7 +139,8 @@ function _civicrm_api3_custom_value_create_spec(&$params) {
  * If you do not know the ID, you may use group name : field name, for example 'return.foo_stuff:my_field' => 1
  *
  * @throws API_Exception
- * @return array.
+ * @return array
+   *
  *
  * @access public
  */
index c2790acade67c7b846348fb637fc9c673457b96c..9e20621ed08cfe8082e9c6dfca49ca6c6308ce32 100644 (file)
@@ -45,7 +45,8 @@
  *   Array of property name/value.
  *                             pairs for the Dashlet.
  *
- * @return array Array containing 'is_error' to denote success or failure and details of the created activity
+ * @return array
+   *   Array containing 'is_error' to denote success or failure and details of the created activity
  *
  */
 function civicrm_api3_dashboard_create($params) {
index 017c2a1d2705b553536e3e78a602316f85d86700..ce1e671d49513896ff2893bf69c3778cb380fb96 100644 (file)
@@ -45,7 +45,8 @@
  *
  * @param array $params
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields email_create}
  * @access public
  */
@@ -74,7 +75,8 @@ function _civicrm_api3_email_create_spec(&$params) {
  *
  * @example EmailDelete.php Standard Delete Example
  *
- * @return boolean | error  true if successfull, error otherwise
+ * @return boolean
+   *   | error  true if successfull, error otherwise
  * {@getfields email_delete}
  * @access public
  */
@@ -93,7 +95,8 @@ function civicrm_api3_email_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields email_get}
  * @access public
  */
index dc48dbfd859d9f507457737f6e8c975eee9f64a5..982876b8a5301cb8d9c055619cf78da2bca1de3e 100644 (file)
@@ -3,7 +3,8 @@
 /**
  * @deprecated api notice
  * @param array entities
- * @return array of deprecated api entities
+ * @return array
+   *   of deprecated api entities
  */
 function _civicrm_api3_entity_deprecation($entities) {
   $deprecated = array();
index 09a5ec8328d55e09bedb5a31fc38422fcc78b923..2914afefbe1887cb0e7c7cda39e3a9ef4a30ec07 100644 (file)
@@ -114,7 +114,8 @@ function _civicrm_api3_entity_tag_delete_spec(&$params) {
  * @param <type> $params
  * @param string $op
  *
- * @return array <type>
+ * @return array
+   *   <type>
  */
 function _civicrm_api3_entity_tag_common($params, $op = 'add') {
 
index 50be6b175694b04d13fe2c53581d103ef01de2e8..7ffd8398b2adb8e0296bc0a3457fd494196a2a4f 100644 (file)
@@ -52,7 +52,8 @@
  * Allowed @params array keys are:
  * {@getfields event_create}
  *
- * @return array API result Array.
+ * @return array
+   *   API result Array.
  * @access public
  */
 function civicrm_api3_event_create($params) {
@@ -104,7 +105,8 @@ function _civicrm_api3_event_create_legacy_support_42(&$params) {
  *   An associative array of name/value property values of civicrm_event.
  * {@getfields event_get}
  *
- * @return Array of all found event property values.
+ * @return Array
+   *   of all found event property values.
  * @access public
  *
  */
@@ -192,7 +194,8 @@ function _civicrm_api3_event_get_legacy_support_42(&$event, $event_id) {
  * @param array $paramsArray containing event_id to be deleted.
  *   Array containing event_id to be deleted.
  *
- * @return boolean        true if success, error otherwise
+ * @return boolean
+   *   true if success, error otherwise
  * @access public
  *   note API has legacy support for 'event_id'
  *  {@getfields event_delete}
index 03e56df720d7e46f3e6c95508eccdc6ebce1868e..56ff7786ab787588571a2345ed1c88064404c849 100644 (file)
@@ -48,7 +48,8 @@ define('API_V3_EXTENSION_DELIMITER', ',');
  *                          - keys: mixed; array of string, eg array("com.example.myextension1", "com.example.myextension2") or string with comma-delimited list
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionInstall.php
@@ -73,7 +74,8 @@ function civicrm_api3_extension_install($params) {
 /**
  * Upgrade an extension - runs upgrade_N hooks and system.flush
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  *
@@ -111,7 +113,8 @@ function civicrm_api3_extension_upgrade() {
  *                          - keys: mixed; array of string, eg array("com.example.myextension1", "com.example.myextension2") or string with comma-delimited list
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionEnable.php
@@ -136,7 +139,8 @@ function civicrm_api3_extension_enable($params) {
  *                          - keys: mixed; array of string, eg array("com.example.myextension1", "com.example.myextension2") or string with comma-delimited list
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionDisable.php
@@ -162,7 +166,8 @@ function civicrm_api3_extension_disable($params) {
  *                            using 'keys' should be more performant than making multiple API calls with 'key'
  *                          - removeFiles: bool, whether to remove source tree; default: FALSE
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionUninstall.php
@@ -188,7 +193,8 @@ function civicrm_api3_extension_uninstall($params) {
  *                          - url: string eg "http://repo.com/myextension-1.0.zip"
  *
  * @throws API_Exception
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionDownload.php
@@ -239,7 +245,8 @@ function civicrm_api3_extension_download($params) {
  *                          - local: bool, whether to rescan local filesystem (default: TRUE)
  *                          - remote: bool, whether to rescan remote repository (default: TRUE)
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionRefresh.php
@@ -271,7 +278,8 @@ function civicrm_api3_extension_refresh($params) {
  *
  * @param array $params
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example ExtensionGet.php
@@ -298,7 +306,8 @@ function civicrm_api3_extension_get($params) {
  *
  * @param array $params
  *   API request params with 'key' or 'keys'.
- * @return array of extension keys
+ * @return array
+   *   of extension keys
  * @throws API_Exception
  */
 function _civicrm_api3_getKeys($params) {
index 2640805abb4d836e19c5fe109bdf1403e63e8ab0..b854ab447fb60a9172b578ec7637bb58b64a85d9 100644 (file)
@@ -48,7 +48,8 @@
  * @param array $params
  *   An associative array of name/value property values of civicrm_file.
  *
- * @return array of newly created file property values.
+ * @return array
+   *   of newly created file property values.
  * @access public
  */
 function civicrm_api3_file_create($params) {
@@ -85,7 +86,8 @@ function civicrm_api3_file_create($params) {
  * @param array $params
  *   An associative array of name/value property values of civicrm_file.
  *
- * @return Array of all found file object property values.
+ * @return Array
+   *   of all found file object property values.
  * @access public
  */
 function civicrm_api3_file_get($params) {
@@ -102,7 +104,8 @@ function civicrm_api3_file_get($params) {
  * @param array $paramsAn array of name/value property values of civicrm_file.
  *   An array of name/value property values of civicrm_file.
  *
- * @return array of updated file object property values
+ * @return array
+   *   of updated file object property values
  * @access public
  */
 function civicrm_api3_file_update($params) {
@@ -133,7 +136,8 @@ function civicrm_api3_file_update($params) {
  *
  * @param array $params
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * @access public
  */
 function civicrm_api3_file_delete($params) {
index 3551cfa113c73716f729bedd879965c7154b60ff..70d3c1ee48612b6b671693e7c7cf7359cad24def 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created financial_account property values.
+ * @return array
+   *   of newly created financial_account property values.
  * @access public
  */
 function civicrm_api3_financial_account_create($params) {
@@ -59,7 +60,8 @@ function civicrm_api3_financial_account_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved financial_account property values.
+ * @return array
+   *   of retrieved financial_account property values.
  * @access public
  */
 function civicrm_api3_financial_account_get($params) {
@@ -75,7 +77,8 @@ function civicrm_api3_financial_account_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_financial_account_delete($params) {
index d222363c939e54e635f65a6f3953f225196bc31d..b51c00631ec66c741bc5f28915f0c8f26d7eec05 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created financial_type property values.
+ * @return array
+   *   of newly created financial_type property values.
  * @access public
  */
 function civicrm_api3_financial_type_create($params) {
@@ -59,7 +60,8 @@ function civicrm_api3_financial_type_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved financial_type property values.
+ * @return array
+   *   of retrieved financial_type property values.
  * @access public
  */
 function civicrm_api3_financial_type_get($params) {
@@ -75,7 +77,8 @@ function civicrm_api3_financial_type_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_financial_type_delete($params) {
index ee41baa8a80ccab305cf2cb86beb98fa14f4afc0..99e6274bd528e38a980410aa5f0880348900c112 100644 (file)
@@ -17,7 +17,8 @@
  *  - version: string
  *  - function: callback (mixed)
  *  - params: array, varies
- * @return array API success object
+ * @return array
+   *   API success object
  */
 function civicrm_api3_generic_getfields($apiRequest) {
   static $results = array();
@@ -148,7 +149,8 @@ function civicrm_api3_generic_getfields($apiRequest) {
  *   Api request as an array. Keys are.
  *
  * @throws API_Exception
- * @return integer count of results
+ * @return integer
+   *   count of results
  */
 function civicrm_api3_generic_getcount($apiRequest) {
   $apiRequest['params']['options']['is_count'] = TRUE;
@@ -168,7 +170,8 @@ function civicrm_api3_generic_getcount($apiRequest) {
  * @param array $apiRequest
  *   Api request as an array. Keys are.
  *
- * @return integer count of results
+ * @return integer
+   *   count of results
  */
 function civicrm_api3_generic_getsingle($apiRequest) {
   // so the first entity is always result['values'][0]
@@ -192,7 +195,8 @@ function civicrm_api3_generic_getsingle($apiRequest) {
  * @param array $apiRequest
  *   Api request as an array. Keys are.
  *
- * @return integer count of results
+ * @return integer
+   *   count of results
  */
 function civicrm_api3_generic_getvalue($apiRequest) {
   $apiRequest['params']['sequential'] = 1;
@@ -232,7 +236,8 @@ function _civicrm_api3_generic_getrefcount_spec(&$params) {
  *   Api request as an array.
  *
  * @throws API_Exception
- * @return array API result (int 0 or 1)
+ * @return array
+   *   API result (int 0 or 1)
  */
 function civicrm_api3_generic_getrefcount($apiRequest) {
   $entityToClassMap = CRM_Core_DAO_AllCoreTables::daoToClass();
@@ -258,7 +263,8 @@ function civicrm_api3_generic_getrefcount($apiRequest) {
  * @param array $apiRequest
  *   Api request as an array. Keys are.
  *
- * @return integer count of results
+ * @return integer
+   *   count of results
  */
 function civicrm_api3_generic_replace($apiRequest) {
   return _civicrm_api3_generic_replace($apiRequest['entity'], $apiRequest['params']);
@@ -270,7 +276,8 @@ function civicrm_api3_generic_replace($apiRequest) {
  * @param array $apiRequest
  *   Api request as an array.
  *
- * @return array of results
+ * @return array
+   *   of results
  */
 function civicrm_api3_generic_getoptions($apiRequest) {
   // Resolve aliases
index c2023a761644787011414167201f18179c4d8ad5..911660f30c2a334e38931ee82b5a9fd1ccef89cd 100644 (file)
@@ -45,7 +45,8 @@
  *   Associative array of property.
  *                       name/value pairs to insert in new 'grant'
  *
- * @return array   grant array
+ * @return array
+   *   grant array
  * {@getfields grant_create}
  * @access public
  */
@@ -73,7 +74,8 @@ function _civicrm_api3_grant_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all grants will be returned
  *
- * @return array Array of matching grants
+ * @return array
+   *   Array of matching grants
  * {@getfields grant_get}
  * @access public
  */
@@ -91,7 +93,8 @@ function civicrm_api3_grant_get($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array  API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields grant_delete}
  * @access public
  */
index 510d1ab1f8a3ab5150e8b4386c2965053d9758c5..ebb2a850e05edd243f25a4ee01018f5ec9d9ced3 100644 (file)
@@ -47,7 +47,8 @@
  *   Associative array of property.
  *                       name/value pairs to insert in new 'group'
  *
- * @return array  API result array
+ * @return array
+   *   API result array
  * @example GroupCreate.php
  * {@getfields group_create}
  * @access public
@@ -76,7 +77,8 @@ function _civicrm_api3_group_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all groups will be returned
  *
- * @return array  Array of matching groups
+ * @return array
+   *   Array of matching groups
  * @example GroupGet.php
  * {@getfields group_get}
  * @access public
@@ -104,7 +106,8 @@ function civicrm_api3_group_get($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * @example GroupDelete.php
  * {@getfields group_delete}
  *
index 422b6e4644ab198853e86f2dab916a4dd444b109..f19faf14271b3978fcf1bc8936745760425e3239 100644 (file)
@@ -49,7 +49,8 @@
  *   Name value pair of contact information.
  * {@getfields GroupContact_get}
  *
- * @return array  list of groups, given contact subsribed to
+ * @return array
+   *   list of groups, given contact subsribed to
  */
 function civicrm_api3_group_contact_get($params) {
 
@@ -84,7 +85,8 @@ function civicrm_api3_group_contact_get($params) {
  * "status" (optional) : one of "Added", "Pending" or "Removed" (default is "Added")
  * {@example GroupContactCreate.php 0}
  *
- * @return array Information about operation results
+ * @return array
+   *   Information about operation results
  *
  * On success, the return array will be structured as follows:
  * <code>array(
@@ -125,7 +127,8 @@ function civicrm_api3_group_contact_create($params) {
  *
  * @param <type> $params
  *
- * @return array <type>
+ * @return array
+   *   <type>
  * @deprecated
  */
 function civicrm_api3_group_contact_delete($params) {
@@ -243,7 +246,8 @@ function civicrm_api3_group_contact_update_status($params) {
 
 /**
  * @deprecated api notice
- * @return array of deprecated actions
+ * @return array
+   *   of deprecated actions
  */
 function _civicrm_api3_group_contact_deprecation() {
   return array(
index d886f7aaac4a31398047b150b3c19d09ddac1b12..457f2ecef66d9474779027835ab76e110a148201 100644 (file)
@@ -44,7 +44,8 @@
  *   An array containing at least child_group_id or parent_group_id.
  * {@getfields GroupNesting_get}
  *
- * @return array  list of group nesting records
+ * @return array
+   *   list of group nesting records
  */
 function civicrm_api3_group_nesting_get($params) {
 
@@ -58,7 +59,8 @@ function civicrm_api3_group_nesting_get($params) {
  * @param array $params
  *   Parameters array - allowed array keys include:.
  *
- * @return array TBD
+ * @return array
+   *   TBD
  * {@getfields GroupNesting_create
  * @todo Work out the return value.
  */
@@ -90,7 +92,8 @@ function _civicrm_api3_group_nesting_create_spec(&$params) {
  *   Parameters array - allowed array keys include:.
  * {@getfields GroupNesting_delete}
  *
- * @return array API Success or fail array
+ * @return array
+   *   API Success or fail array
  *
  * @todo Work out the return value.
  */
index 8d8d2f70bbaf5eba4d36b0d38595810d4282cdd7..33af3d2ae8e23a0e22e7dbba2b6712848b40feb0 100644 (file)
@@ -49,7 +49,8 @@
  * {@getfields GroupOrganization_get}
  * @example GroupOrganizationGet.php
  *
- * @return array  list of groups, given contact subsribed to
+ * @return array
+   *   list of groups, given contact subsribed to
  */
 function civicrm_api3_group_organization_get($params) {
   return _civicrm_api3_basic_get('CRM_Contact_DAO_GroupOrganization', $params);
@@ -97,7 +98,8 @@ function _civicrm_api3_group_organization_create_spec(&$params) {
  * @param array $params
  *   With 'id' = ID of the Group Organization to be deleted.
  *
- * @return array API Result
+ * @return array
+   *   API Result
  * {@getfields GroupOrganization_delete}
  * @example GroupOrganizationDelete.php
  * @access public
index 9a426e84a0ed49e4904fa41833b4f828bc7895b1..351dc4ad33bec65186945a2ffcf86035c18be8e0 100644 (file)
@@ -42,7 +42,8 @@
  *
  * @param array $params
  *
- * @return array of newly created IM property values.
+ * @return array
+   *   of newly created IM property values.
  * @access public
  */
 function civicrm_api3_im_create($params) {
@@ -66,7 +67,8 @@ function _civicrm_api3_im_create_spec(&$params) {
  * @param array $params
  * {@getfields im_delete}
  *
- * @return array API result Array
+ * @return array
+   *   API result Array
  * @access public
  * @todo convert to using Basic delete - BAO function non standard
  */
@@ -82,7 +84,8 @@ function civicrm_api3_im_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found IM
+ * @return array
+   *   details of found IM
  *
  * @access public
  */
index 77d62255511dac3bc720227cdaccd5613774a305..61d8ebb774a7be9b7d253d91d4a24c82e9c09b40 100644 (file)
@@ -74,7 +74,8 @@ function civicrm_api3_job_create($params) {
 /**
  * Retrieve one or more job
  * @param array input parameters
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields email_get}
  * @access public
  */
@@ -87,7 +88,8 @@ function civicrm_api3_job_get($params) {
  *
  * @param array $params
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields Job_delete}
  * @static void
  * @access public
@@ -103,7 +105,8 @@ function civicrm_api3_job_delete($params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  *
  * @static void
  * @access public
@@ -132,7 +135,8 @@ function _civicrm_api3_job_execute_spec(&$params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields contact_geocode}
  *
  * @static void
@@ -175,7 +179,8 @@ function _civicrm_api3_job_geocode_spec(&$params) {
  *                        now - the time to use, in YmdHis format
  *                            - makes testing a bit simpler since we can simulate past/future time
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  *
@@ -225,7 +230,8 @@ function _civicrm_api3_job_send_reminder(&$params) {
  *                        instanceId - Integer - the report instance ID
  *                        resetVal - Integer - should we reset form state (always true)?
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  *
@@ -252,7 +258,8 @@ function civicrm_api3_job_mail_report($params) {
  *
  * @param array $params
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static
  * @access public
  */
@@ -311,7 +318,8 @@ function _civicrm_api3_job_update_greeting_spec(&$params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static
  * @access public
  *
@@ -419,7 +427,8 @@ function civicrm_api3_job_fetch_activities($params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array (reference )        array of properties, if error an array with an error id and error message
+ * @return array
+   *   (reference )        array of properties, if error an array with an error id and error message
  * @access public
  */
 function civicrm_api3_job_process_participant($params) {
@@ -444,7 +453,8 @@ function civicrm_api3_job_process_participant($params) {
  * @param array $params
  *   Input parameters NOT USED.
  *
- * @return boolean true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  */
@@ -471,7 +481,8 @@ function civicrm_api3_job_process_membership($params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  */
@@ -499,7 +510,8 @@ function civicrm_api3_job_process_respondent($params) {
  *                      A 'safe' value skips the merge if there are no conflicts. Does a force merge otherwise.}
  * {boolean auto_flip   wether to let api decide which contact to retain and which to delete.}
  *
- * @return array  API Result Array
+ * @return array
+   *   API Result Array
  *
  * @static void
  * @access public
@@ -563,7 +575,8 @@ function civicrm_api3_job_run_payment_cron($params) {
  * @param array $params
  *   (reference ) - sends in various config parameters to decide what needs to be cleaned.
  *
- * @return boolean  true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  */
index c3914367400a6983fe5b6ce4264f3eac03acbb85..6460908d19314bdaf6a01b8cef45c317d5e86c9d 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'line_item'
  * @example LineItemCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields line_item_create}
  * @access public
  */
@@ -74,7 +75,8 @@ function _civicrm_api3_line_item_create_spec(&$params) {
  *   Array of one or more valid property_name=>value pairs. If $params is set.
  *  as null, all line_items will be returned (default limit is 25)
  *
- * @return array  Array of matching line_items
+ * @return array
+   *   Array of matching line_items
  * {@getfields line_item_get}
  * @access public
  */
@@ -92,7 +94,8 @@ function civicrm_api3_line_item_get($params) {
  *   Array containing id of the group.
  *  to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields line_item_delete}
  * @access public
  */
index 1432a3c2dafcb3c20f4a756adcb1753971ce57da..4cbf6b0e5c60b8f1528bfc921ebe7317e77bd652 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'loc_block'
  * @example LocBlockCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields loc_block_create}
  * @access public
  */
@@ -94,7 +95,8 @@ function civicrm_api3_loc_block_create($params) {
  *   Array of one or more valid property_name=>value pairs. If $params is set.
  *  as null, all loc_blocks will be returned (default limit is 25)
  *
- * @return array  Array of matching loc_blocks
+ * @return array
+   *   Array of matching loc_blocks
  * {@getfields loc_block_get}
  * @access public
  */
@@ -132,7 +134,8 @@ function civicrm_api3_loc_block_get($params) {
  * @param array $params
  *   Array containing id of the record to be deleted.
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields loc_block_delete}
  * @access public
  */
index aaa1aaa44509f7bcc7d40c1bbb36cd190a85355d..10f818739e569130f28bff075121f2d7f57135b9 100644 (file)
@@ -45,7 +45,8 @@
  *
  * @param array $params
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields email_create}
  * @access public
  */
@@ -77,7 +78,8 @@ function _civicrm_api3_location_type_create_spec(&$params) {
  *
  * @example LocationTypeDelete.php Standard Delete Example
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields LocationType_delete}
  * @access public
  */
@@ -96,7 +98,8 @@ function civicrm_api3_location_type_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array api result
+ * @return array
+   *   api result
  * {@getfields LocationType_get}
  * @access public
  */
index 6eb567932e9aecfa58871f5c51cd7417e0f847ba..5781b692c88926a7a50eb1c701a08a042ca3d604 100644 (file)
@@ -42,7 +42,8 @@
  *                       name/value pairs to insert in new 'mail_settings'
  * @example mail_settingsCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mail_settings_create}
  * @access public
  */
@@ -69,7 +70,8 @@ function _civicrm_api3_mail_settings_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all mail_settings will be returned
  *
- * @return array Array of matching mail_settings
+ * @return array
+   *   Array of matching mail_settings
  * {@getfields mail_settings_get}
  * @access public
  */
@@ -87,7 +89,8 @@ function civicrm_api3_mail_settings_get($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mail_settings_delete}
  * @access public
  */
index f93f458adba3d24b9c0175e498116d101be51fa5..d091e64346ea5eec1b67cd0f9cae50f435504f25 100755 (executable)
@@ -47,7 +47,8 @@
  * @param array $params
  * @param array $ids
  *
- * @return array API Success Array
+ * @return array
+   *   API Success Array
  */
 function civicrm_api3_mailing_create($params, $ids = array()) {
   if (CRM_Mailing_Info::workflowEnabled()) {
@@ -113,7 +114,8 @@ function _civicrm_api3_mailing_create_spec(&$params) {
  * @param array $params
  * @param array $ids
  *
- * @return array API Success Array
+ * @return array
+   *   API Success Array
  */
 function civicrm_api3_mailing_delete($params, $ids = array()) {
   return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
@@ -237,7 +239,8 @@ function civicrm_api3_mailing_event_confirm($params) {
 
 /**
  * @deprecated api notice
- * @return array of deprecated actions
+ * @return array
+   *   of deprecated actions
  */
 function _civicrm_api3_mailing_deprecation() {
   return array('event_confirm' => 'Mailing api "event_confirm" action is deprecated. Use the mailing_event_confirm api instead.');
index 065474dc2dea0186b6522d4141ae716ab169979a..71ae22bb3db71e1d04ad69ad96c9ba3adb775b02 100755 (executable)
@@ -47,7 +47,8 @@
  * @param array $params
  * @param array $ids
  *
- * @return array API Success Array
+ * @return array
+   *   API Success Array
  */
 function civicrm_api3_mailing_a_b_create($params) {
   return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
@@ -59,7 +60,8 @@ function civicrm_api3_mailing_a_b_create($params) {
  * @param array $params
  * @param array $ids
  *
- * @return array API Success Array
+ * @return array
+   *   API Success Array
  */
 function civicrm_api3_mailing_a_b_delete($params) {
   return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
index 8e32f42fbf09f16f6683a506624fd6ab0a21287f..784f4e13ff041fab55302943bf5ffd6548f25559 100644 (file)
@@ -44,7 +44,8 @@
  * @param array $params
  *
  * @throws API_Exception
- * @return array of newly created mailing_component property values.
+ * @return array
+   *   of newly created mailing_component property values.
  * @access public
  */
 function civicrm_api3_mailing_component_create($params) {
@@ -60,7 +61,8 @@ function civicrm_api3_mailing_component_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved mailing_component property values.
+ * @return array
+   *   of retrieved mailing_component property values.
  * @access public
  */
 function civicrm_api3_mailing_component_get($params) {
@@ -77,7 +79,8 @@ function civicrm_api3_mailing_component_get($params) {
  * @param array $params
  *
  * @throws API_Exception
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_mailing_component_delete($params) {
index f807114bfff5b1e3662bb490443fd9551bda6cef..925b41020433599c3b785aab9d3f71a17a74d328 100644 (file)
@@ -45,7 +45,8 @@
  *                    - key: type, value: Delivered | Bounced - optional, defaults to Delivered
  *                    - Future extensions will include: Opened, Clicked, Forwarded
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example CRM/Mailing/BAO/Mailing.php
@@ -293,7 +294,8 @@ INNER JOIN civicrm_mailing_event_bounce meb ON meb.event_queue_id = meq.id
  *                    - key: type, value: Delivered | Bounced - optional, defaults to Delivered
  *                    - Future extensions will include: Opened, Clicked, Forwarded
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  * @example CRM/Mailing/BAO/Mailing.php
index 2e26fd88837f18499fa78acd403efb30b921013f..75efbf14e201cdcaa00b2c5590b78fc431d81036 100644 (file)
@@ -45,7 +45,8 @@
  *                       name/value pairs to insert in new 'survey'
  *
  * @throws Exception
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mailing_event_confirm_create}
  * @access public
  */
index d2d03032f7d9b453ee1d9579de7cd4d000c073a4..f78eb10d90b0f5585cc5d61a83834fadaa94bb2a 100644 (file)
@@ -42,7 +42,8 @@
  *                       name/value pairs to insert in new 'survey'
  *
  * @throws Exception
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mailing_event_confirm_create}
  * @access public
  */
index 49eb41afe4c596fb564f1a4a43de9f6157bcd2a4..e70bb99bdd7bff493237c94e70523358e6cd5123 100644 (file)
@@ -44,7 +44,8 @@
  *   Associative array of property.
  *                       name/value pairs to insert in new 'survey'
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mailing_event_subscribe_create}
  * @access public
  */
index 503ea4f25981414ea22d82445857b1edfb07f268..569593796d31846bb19de9fbc7e00027f325e4b2 100644 (file)
@@ -45,7 +45,8 @@
  *                       name/value pairs to insert in new 'survey'
  *
  * @throws API_Exception
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mailing_event_subscribe_create}
  * @access public
  */
index be867fa208723c27ac5ef3bc6c91b43b7729193f..72d7ec108e6df879aa7ecea727d3af1afb94a751 100644 (file)
@@ -44,7 +44,8 @@
  *   Associative array of property.
  *                       name/value pairs to insert in new 'survey'
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields mailing_event_unsubscribe_create}
  * @access public
  */
index ded159b7145f1fbca6982c96f3abbbdb36aa5424..297010262781ab2708ed0b24e3d24876c381e966 100644 (file)
@@ -39,7 +39,8 @@
 
 /**
  * @deprecated api notice
- * @return string to indicate this entire api entity is deprecated
+ * @return string
+   *   to indicate this entire api entity is deprecated
  */
 function _civicrm_api3_mailing_group_deprecation() {
   return 'The mailing_group api is deprecated. Use the mailing_event apis instead.';
index 1b23fbd70c9074a4428a5342f833d8d7f21861dc..02b75e5168b4decf1c3389c0cb4eb9ee66114a44 100644 (file)
@@ -68,7 +68,8 @@ function _civicrm_api3_mailing_job_create_spec(&$params) {
  *   Array of one or more valid.
  * @param array $ids
  *
- * @return array API return Array of matching mailing jobs
+ * @return array
+   *   API return Array of matching mailing jobs
  * {@getfields mailing_job_get}
  * @access public
  */
index 624839872cf7fa39b4eee778d3056b87ca5b563a..f2bef71e8c8c9e0c1a37667807c454c78b85b5cf 100644 (file)
@@ -49,7 +49,8 @@
  *   Array of one or more valid.
  * @param array $ids
  *
- * @return array API return Array of matching mailing jobs
+ * @return array
+   *   API return Array of matching mailing jobs
  * {@getfields mailing_recipient_get}
  * @access public
  */
index a3ea0222179ac1d677a44522934017207ccc608e..380a05e421f7225647b18ecffc1c8d88766b9bbe 100644 (file)
@@ -45,7 +45,8 @@
  * @param $params
  *   Array array holding id - Id of the contact membership to be deleted.
  *
- * @return array api result
+ * @return array
+   *   api result
  * {@getfields membership_delete}
  * @access public
  */
@@ -62,7 +63,8 @@ function civicrm_api3_membership_delete($params) {
  * @param array $params
  *   An associative array of name/value property values of civicrm_membership.
  *
- * @return array of newly created membership property values.
+ * @return array
+   *   of newly created membership property values.
  * {@getfields membership_create}
  * @access public
  */
@@ -187,7 +189,8 @@ function _civicrm_api3_membership_get_spec(&$params) {
  *          options affecting the desired results; has legacy support
  *          for just passing the contact_id itself as the argument
  *
- * @return Array of all found membership property values.
+ * @return Array
+   *   of all found membership property values.
  * @access public
  * @todo needs some love - basically only a get for a given contact right now
  * {@getfields membership_get}
@@ -237,7 +240,8 @@ function civicrm_api3_membership_get($params) {
  * @param int $membershipTypeId
  * @param $activeOnly
  *
- * @return array result for calling function
+ * @return array
+   *   result for calling function
  */
 function _civicrm_api3_membership_get_customv2behaviour(&$params, $membershipTypeId, $activeOnly) {
   // get the membership for the given contact ID
@@ -259,7 +263,8 @@ function _civicrm_api3_membership_get_customv2behaviour(&$params, $membershipTyp
  * @param $membershipValues
  * @param int $contactID
  *
- * @return array result for calling function
+ * @return array
+   *   result for calling function
  */
 function _civicrm_api3_membership_relationsship_get_customv2behaviour(&$params, $membershipValues, $contactID) {
   $relationships = array();
index 7ae4337545b321cf0ca3ed27e27a3c507fdf45d5..f0ad95b490634f5ad5438702ebdcca55006c3b3f 100644 (file)
@@ -43,7 +43,8 @@
  * @param array $params
  *   An associative array of name/value property values of civicrm_membership_block.
  *
- * @return array $result newly created or updated membership type property values.
+ * @return array
+   *   newly created or updated membership type property values.
  * @access public
  * {getfields MembershipBlock_get}
  */
@@ -73,7 +74,8 @@ function _civicrm_api3_membership_block_create_spec(&$params) {
  *   An associative array of name/value property values of civicrm_membership_block.
  * {getfields MembershipBlock_get}
  *
- * @return array api result array of all found membership block property values.
+ * @return array
+   *   api result array of all found membership block property values.
  * @access public
  */
 function civicrm_api3_membership_block_get($params) {
@@ -88,7 +90,8 @@ function civicrm_api3_membership_block_get($params) {
  *
  * @param array $params
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * @access public
  * {getfields MembershipBlock_delete}
  */
index bd1b8f90b8d1fca4f401e40da9d01fc9f0b63bd4..999c2b89b4997c3b0c24143f92cbfb475cd0c724 100644 (file)
@@ -42,7 +42,8 @@
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array (reference )        membership_payment_id of created or updated record
+ * @return array
+   *   (reference )        membership_payment_id of created or updated record
  * {@getfields MembershipPayment_create}
  * @example MembershipPaymentCreate.php
  * @access public
@@ -70,7 +71,8 @@ function _civicrm_api3_membership_payment_create_spec(&$params) {
  * @param array $params
  *   Input parameters.
  *
- * @return array  array of properties, if error an array with an error id and error message
+ * @return array
+   *   array of properties, if error an array with an error id and error message
  * @example MembershipPaymentGet
  * {@getfields MembershipPayment_get}
  * @access public
index 11211289e720c1acfb82705fe8937d8ed6ea211f..12de92c8d712b6abee23df910cc98799e3db9f0b 100644 (file)
@@ -45,7 +45,8 @@
  * @param array $params
  *   An associative array of name/value property values of civicrm_membership_status.
  *
- * @return array of newly created membership status property values.
+ * @return array
+   *   of newly created membership status property values.
  * {@getfields MembershipStatus_create}
  * @access public
  */
@@ -61,7 +62,8 @@ function civicrm_api3_membership_status_create($params) {
  * @param array $params
  *   An associative array of name/value property values of civicrm_membership_status.
  *
- * @return Array of all found membership status property values.
+ * @return Array
+   *   of all found membership status property values.
  * {@getfields MembershipStatus_get}
  * @access public
  */
@@ -79,7 +81,8 @@ function civicrm_api3_membership_status_get($params) {
  *   An associative array of name/value property values of civicrm_membership_status.
  * @deprecated - should just use create
  *
- * @return array of updated membership status property values
+ * @return array
+   *   of updated membership status property values
  * @access public
  */
 function &civicrm_api3_membership_status_update($params) {
@@ -120,7 +123,8 @@ function &civicrm_api3_membership_status_update($params) {
  * @param array Params array containing 'id' - Id of the membership status to be deleted
  * {@getfields MembershipStatus_delete}
  *
- * @return array i
+ * @return array
+   *   i
  * @access public
  */
 function civicrm_api3_membership_status_delete($params) {
@@ -139,7 +143,8 @@ function civicrm_api3_membership_status_delete($params) {
  *
  * @throws API_Exception
  *
- * @return Array  Array of status id and status name
+ * @return Array
+   *   Array of status id and status name
  * @public
  */
 function civicrm_api3_membership_status_calc($membershipParams) {
index 0287161634dd87f4d5b54ef4090ae18740e3a71a..7a31e1bbfe0f4fc8f1d8c149f49f0d23ab1464ee 100644 (file)
@@ -43,7 +43,8 @@
  * @param array $params
  *   An associative array of name/value property values of civicrm_membership_type.
  *
- * @return array $result newly created or updated membership type property values.
+ * @return array
+   *   newly created or updated membership type property values.
  * @access public
  * {getfields MembershipType_get}
  */
@@ -87,7 +88,8 @@ function _civicrm_api3_membership_type_create_spec(&$params) {
  *   An associative array of name/value property values of civicrm_membership_type.
  * {getfields MembershipType_get}
  *
- * @return Array of all found membership type property values.
+ * @return Array
+   *   of all found membership type property values.
  * @access public
  */
 function civicrm_api3_membership_type_get($params) {
@@ -102,7 +104,8 @@ function civicrm_api3_membership_type_get($params) {
  *
  * @param array $params
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @access public
  * {getfields MembershipType_delete}
  */
index 40fa83095e0fcec0d4f049a3d0d5bbd4d9bcdcc9..c2e67ccb4810c713e36d67c9b42a38df536ecb8a 100644 (file)
@@ -58,7 +58,8 @@ function _civicrm_api3_message_template_create_spec(&$params) {
 /**
  * @param array $params
  *
- * @return boolean | error  true if successfull, error otherwise
+ * @return boolean
+   *   | error  true if successfull, error otherwise
  * {@getfields message_template_delete}
  * @access public
  */
@@ -83,7 +84,8 @@ function _civicrm_api3_message_template_get_spec(&$params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields message_template_get}
  * @access public
  */
index a9b7cbc77329887b30da366d064c75019653f189..b938fbc06e871d41357ed9fae95c416aa76633f8 100644 (file)
@@ -51,7 +51,8 @@
  *   An associative array of name/value property values of civicrm_note.
  * {@getfields note_create}
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * @access public
  * @example NoteCreate.php Create example
  *
@@ -99,7 +100,8 @@ function civicrm_api3_note_delete($params) {
  * @param array $params
  *   Input parameters.
  *
- * @return array  array of properties,
+ * @return array
+   *   array of properties,
  * if error an array with an error id and error message
  * {@getfields note_get}
  * @static void
@@ -127,7 +129,8 @@ function _civicrm_api3_note_get_spec(&$params) {
  * @param array $params
  *   Associative array; only required 'id' parameter is used.
  *
- * @return array Nested associative array beginning with direct children of given note.
+ * @return array
+   *   Nested associative array beginning with direct children of given note.
  */
 function &civicrm_api3_note_tree_get($params) {
 
index 0f31b174b6255c6316df298d35b9bf22710cc539..2b18005c73bb7fd75b9a01c1910c4528ca4c98fb 100644 (file)
@@ -20,7 +20,8 @@ function civicrm_api3_option_group_get($params) {
  *   (reference) Associative array of property.
  *   name/value pairs to insert in new 'survey'
  *
- * @return array   survey array
+ * @return array
+   *   survey array
  *
  * @access public
  */
@@ -49,7 +50,8 @@ function _civicrm_api3_option_group_create_spec(&$params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  *                message otherwise
  * {@getfields OptionGroup_delete}
  * @access public
index c3120527cb2770b6a2632fccbb5d421394217ac5..76fee5dd2182eaec23ddb9f1532415a699dc6e28 100644 (file)
@@ -8,7 +8,8 @@
  * {@example OptionValueGet.php 0}
  * @example OptionValueGet.php
  *
- * @return array details of found Option Values
+ * @return array
+   *   details of found Option Values
  * {@getfields OptionValue_get}
  * @access public
  */
@@ -36,7 +37,8 @@ function civicrm_api3_option_value_get($params) {
  * @param array $params
  *
  * @throws API_Exception
- * @return array of newly created option_value property values.
+ * @return array
+   *   of newly created option_value property values.
  * {@getfields OptionValue_create}
  * @access public
  */
@@ -77,7 +79,8 @@ function _civicrm_api3_option_value_create_spec(&$params) {
  *
  * {@example OptionValueDelete.php 0}
  *
- * @return array Api result
+ * @return array
+   *   Api result
  * {@getfields OptionValue_create}
  * @access public
  */
index 55fb5f60c84084883e97e7ea23afa92ef939242f..52893a6f03512508f95a43bd7e23876787ecbe94 100644 (file)
@@ -51,7 +51,8 @@
  * @param array $params
  *   An associative array of name/value property values of civicrm_participant.
  *
- * @return array apiresult
+ * @return array
+   *   apiresult
  * {@getfields participant_create}
  * @access public
  */
@@ -163,7 +164,8 @@ function _civicrm_api3_participant_create_spec(&$params) {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array (reference )        array of properties, if error an array with an error id and error message
+ * @return array
+   *   (reference )        array of properties, if error an array with an error id and error message
  * {@getfields participant_get}
  * @access public
  */
index 10bff1399a94bfeb5ef5a93d1c910cb4f06d1ee7..31d8d0c1dfb7909d70a5078290e25e77e03c2635 100644 (file)
@@ -52,7 +52,8 @@
  * @example ParticipantPaymentCreate.php
  * {@example ParticipantPaymentCreate.php 0}
  *
- * @return array of newly created payment property values.
+ * @return array
+   *   of newly created payment property values.
  * {@getfields ParticipantPayment_create}
  * @access public
  */
@@ -89,7 +90,8 @@ function _civicrm_api3_participant_payment_create_spec(&$params) {
  *
  * @param array $params
  *
- * @return array API result
+ * @return array
+   *   API result
  * @example ParticipantPaymentDelete.php
  * {@getfields ParticipantPayment_delete}
  * @access public
@@ -106,7 +108,8 @@ function civicrm_api3_participant_payment_delete($params) {
  * @param array $params
  *   Input parameters.
  *
- * @return array  array of properties, if error an array with an error id and error message
+ * @return array
+   *   array of properties, if error an array with an error id and error message
  * @example ParticipantPaymentGet
  * {@getfields ParticipantPayment_get}
  * @access public
index 4b2edc72b8dd69613bb7e2a3dbd57b6b839a8594..295bdc97cc6bce56218aa860c698056ceec02d2e 100644 (file)
@@ -45,7 +45,8 @@
  *   Associative array of property.
  *                       name/value pairs to insert in new 'participant_status'
  *
- * @return array   participant_status array
+ * @return array
+   *   participant_status array
  * {@getfields ParticipantStatusType_create}
  * @example ParticipantStatusTypeCreate.php
  * @access public
@@ -62,7 +63,8 @@ function civicrm_api3_participant_status_type_create($params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all participant_statuses will be returned
  *
- * @return array Array of matching participant_statuses
+ * @return array
+   *   Array of matching participant_statuses
  * {@getfields ParticipantStatusType_get}
  * @example ParticipantStatusTypeGet.php
  * @access public
@@ -81,7 +83,8 @@ function civicrm_api3_participant_status_type_get($params) {
  *   (reference) array containing id of the group.
  *                       to be deleted
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields ParticipantStatusType_delete}
  * @example ParticipantStatusTypeDelete.php
  * @access public
index 46735e660b6b9d4348b2942fcc9b56903de206c4..c842f10ea14d5b9c94242a51738ea8d93a5a190a 100644 (file)
@@ -42,7 +42,8 @@
  *
  * @param array $params
  *
- * @return array of newly created PaymentProcessor property values.
+ * @return array
+   *   of newly created PaymentProcessor property values.
  * @access public
  */
 function civicrm_api3_payment_processor_create($params) {
@@ -68,7 +69,8 @@ function _civicrm_api3_payment_processor_create_spec(&$params) {
  * @param array $params
  * {@getfields payment_processor_delete}
  *
- * @return array API result Array
+ * @return array
+   *   API result Array
  * @access public
  */
 function civicrm_api3_payment_processor_delete($params) {
@@ -83,7 +85,8 @@ function civicrm_api3_payment_processor_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found PaymentProcessor
+ * @return array
+   *   details of found PaymentProcessor
  * @access public
  */
 function civicrm_api3_payment_processor_get($params) {
index 7370d070300bc8db0b2a43b2d7871b040c76ea22..cba196c11245537b2af61032d1b574b84c880031 100644 (file)
@@ -101,7 +101,8 @@ function civicrm_api3_payment_processor_type_get($params) {
  *
  * @param id of payment_processor type $id
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields PaymentProcessorType_delete}
  * @static void
  * @access public
index 46407c48add903388a7764ec27b5d2c1a49ac342..60749eaf525154838a38b3550c1e124210b29b7a 100644 (file)
@@ -45,7 +45,8 @@
  *
  * @param array $params
  *
- * @return array of newly created phone property values.
+ * @return array
+   *   of newly created phone property values.
  * @access public
  */
 function civicrm_api3_phone_create($params) {
@@ -71,7 +72,8 @@ function _civicrm_api3_phone_create_spec(&$params) {
  *
  * @param array $params
  *
- * @return array Api Result
+ * @return array
+   *   Api Result
  * {@getfields phone_delete}
  * @example PhoneDelete.php
  * @access public
index 4db68b1cd1d5f49a47b0c8608af42ea0543f5dbf..4363ee546bc81ffad7173701e2182c340512e7e9 100644 (file)
@@ -10,7 +10,8 @@
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found phones else error
+ * @return array
+   *   details of found phones else error
  * @access public
  * This function has been declared there instead than in api/v3/Phone.php for no specific reasons, beside to demonstrate this feature (that might be useful in your module, eg if you want to implement a civicrm_api ('Phone','Dial') that you would then simply put in your module under api/v3/Phone/Dial.php .
  */
index b4bf07fffee4c8a0476931034370f24d15135f16..08bc89576916fc6cc4e3ccd1c7d6f040e53d0f60 100644 (file)
@@ -49,7 +49,8 @@
  *                             pairs for the activity.
  * {@getfields pledge_create}
  *
- * @return array Array containing 'is_error' to denote success or failure and details of the created pledge
+ * @return array
+   *   Array containing 'is_error' to denote success or failure and details of the created pledge
  *
  * @example PledgeCreate.php Standard create example
  *
@@ -68,7 +69,8 @@ function civicrm_api3_pledge_create($params) {
  * @param array $params
  *   Array included 'pledge_id' of pledge to delete.
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * {@getfields pledge_delete}
  * @example PledgeDelete.php
@@ -129,7 +131,8 @@ function _civicrm_api3_pledge_create_spec(&$params) {
  * @param array $params
  *   Input parameters. Use interrogate for possible fields.
  *
- * @return array  array of pledges, if error an array with an error id and error message
+ * @return array
+   *   array of pledges, if error an array with an error id and error message
  * {@getfields pledge_get}
  * @example PledgeGet.php
  * @access public
index 2041d47eb281dabd49a8a344d5626f4c716ff23a..763f2a5fc9cbe25ffa00a64e4065bf38a99e2c9d 100644 (file)
@@ -50,7 +50,8 @@
  * {@getfields PledgePayment_create}
  * @example PledgePaymentCreate.php
  *
- * @return array API Result
+ * @return array
+   *   API Result
  * @static void
  * @access public
  */
@@ -99,7 +100,8 @@ function _civicrm_api3_pledge_payment_create_spec(&$params) {
  * {@getfields PledgePayment_delete}
  * @example PledgePaymentDelete.php
  *
- * @return array API result
+ * @return array
+   *   API result
  * @static void
  * @access public
  */
@@ -121,7 +123,8 @@ function civicrm_api3_pledge_payment_delete($params) {
  * {@getfields PledgePayment_get}
  * @example PledgePaymentGet.php *
  *
- * @return array (reference )        array of pledges, if error an array with an error id and error message
+ * @return array
+   *   (reference )        array of pledges, if error an array with an error id and error message
  * @static void
  * @access public
  */
@@ -148,7 +151,8 @@ function updatePledgePayments($pledgeId, $paymentStatusId, $paymentIds) {
  *
  * @param array $params
  *
- * @return array fields valid for other functions
+ * @return array
+   *   fields valid for other functions
  */
 function civicrm_api3_pledge_payment_get_spec(&$params) {
   $params['option.create_new'] = array('title' => "Create new field rather than update an unpaid payment");
index 3278d5f9f8d0443596c993c9522e7b7c90f9a94b..59831940b715cb668211ad06f2c234c054f5b2f5 100644 (file)
@@ -44,7 +44,8 @@
  * @param array $params
  *
  * @throws API_Exception
- * @return array of newly created premium property values.
+ * @return array
+   *   of newly created premium property values.
  * @access public
  */
 function civicrm_api3_premium_create($params) {
@@ -60,7 +61,8 @@ function civicrm_api3_premium_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved premium property values.
+ * @return array
+   *   of retrieved premium property values.
  * @access public
  */
 function civicrm_api3_premium_get($params) {
@@ -77,7 +79,8 @@ function civicrm_api3_premium_get($params) {
  * @param array $params
  *
  * @throws API_Exception
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_premium_delete($params) {
index 0e5800cd28caa5a5c73e9d1901211993514c5bd0..4709a89fcf28575a26dd6ab5dfc4732d4abb902c 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'price_field'
  * @example PriceFieldCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields price_field_create}
  * @access public
  */
@@ -69,7 +70,8 @@ function _civicrm_api3_price_field_create_spec(&$params) {
  *   Array of one or more valid property_name=>value pairs. If $params is set.
  *  as null, all price_fields will be returned (default limit is 25)
  *
- * @return array  Array of matching price_fields
+ * @return array
+   *   Array of matching price_fields
  * {@getfields price_field_get}
  * @access public
  */
@@ -87,7 +89,8 @@ function civicrm_api3_price_field_get($params) {
  *   Array containing id of the group.
  *  to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields price_field_delete}
  * @access public
  */
index 2b80d4579c96d823c264ed988ec344d72b8ef9b9..376eeda161b27775b7fa750418973690c741a2bb 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'price_field_value'
  * @example PriceFieldValueCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields price_field_value_create}
  * @access public
  */
@@ -82,7 +83,8 @@ function _civicrm_api3_price_field_value_create_spec(&$params) {
  *   Array of one or more valid property_name=>value pairs. If $params is set.
  *  as null, all price_field_values will be returned (default limit is 25)
  *
- * @return array  Array of matching price_field_values
+ * @return array
+   *   Array of matching price_field_values
  * {@getfields price_field_value_get}
  * @access public
  */
@@ -100,7 +102,8 @@ function civicrm_api3_price_field_value_get($params) {
  *   Array containing id of the group.
  *  to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields price_field_value_delete}
  * @access public
  */
index 66ff4b8f76a07430ac7642448a7b5cbb6dc1ec8d..1c89358f5be0676e644e1461382543e222aeb7b7 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'price_set'
  * @example PriceSetCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields price_set_create}
  * @access public
  */
@@ -83,7 +84,8 @@ function _civicrm_api3_price_set_create_spec(&$params) {
  *   Array of one or more valid property_name=>value pairs. If $params is set.
  *  as null, all price_sets will be returned (default limit is 25)
  *
- * @return array  Array of matching price_sets
+ * @return array
+   *   Array of matching price_sets
  * {@getfields price_set_get}
  * @access public
  */
@@ -111,7 +113,8 @@ function civicrm_api3_price_set_get($params) {
  *   Array containing id of the group.
  *  to be deleted
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields price_set_delete}
  * @access public
  */
index 22b2b8cbb1854286507706585e1ec6fa0fa8e333..870fe13a29411e622b25e0b854afbb197338997e 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created print_label property values.
+ * @return array
+   *   of newly created print_label property values.
  * @access public
  */
 function civicrm_api3_print_label_create($params) {
@@ -59,7 +60,8 @@ function civicrm_api3_print_label_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved print_label property values.
+ * @return array
+   *   of retrieved print_label property values.
  * @access public
  */
 function civicrm_api3_print_label_get($params) {
@@ -75,7 +77,8 @@ function civicrm_api3_print_label_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_print_label_delete($params) {
index 4b7cd39d24aeb301454e927fc9f72db076fa8afc..7dbd8dbc569456cb4d99c7e005be717ff1636391 100644 (file)
@@ -44,7 +44,8 @@
  * @param array $params
  *
  * @throws API_Exception
- * @return array of newly created product property values.
+ * @return array
+   *   of newly created product property values.
  * @access public
  */
 function civicrm_api3_product_create($params) {
@@ -60,7 +61,8 @@ function civicrm_api3_product_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved product property values.
+ * @return array
+   *   of retrieved product property values.
  * @access public
  */
 function civicrm_api3_product_get($params) {
@@ -77,7 +79,8 @@ function civicrm_api3_product_get($params) {
  * @param array $params
  *
  * @throws API_Exception
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_product_delete($params) {
index fb7489d242c63bf081d538a0fedc58e9c17de979..d353573d00828f5f9694a8e0bea16a707f791a6d 100644 (file)
@@ -156,7 +156,8 @@ function _civicrm_api3_profile_get_spec(&$params) {
  * @param array $params
  *
  * @throws API_Exception
- * @return array API result array
+ * @return array
+   *   API result array
  */
 function civicrm_api3_profile_submit($params) {
   $profileID = _civicrm_api3_profile_getProfileID($params['profile_id']);
@@ -295,7 +296,8 @@ function civicrm_api3_profile_submit($params) {
  * @param string $fieldName
  *   API field name.
  *
- * @return string BAO Field Name
+ * @return string
+   *   BAO Field Name
  */
 function _civicrm_api3_profile_translate_fieldnames_for_bao($fieldName) {
   $fieldName = str_replace('url', 'URL', $fieldName);
@@ -335,7 +337,8 @@ function _civicrm_api3_profile_submit_spec(&$params, $apirequest) {
  *   Associative array of property name/value.
  *                             pairs to update profile field values
  *
- * @return array Updated Contact/ Activity object|CRM_Error
+ * @return array
+   *   Updated Contact/ Activity object|CRM_Error
  *
  *
  */
@@ -736,7 +739,8 @@ function _civicrm_api3_profile_appendaliases($values, $entity) {
 
 /**
  * @deprecated api notice
- * @return array of deprecated actions
+ * @return array
+   *   of deprecated actions
  */
 function _civicrm_api3_profile_deprecation() {
   return array(
index 2556d65084f7d5c6303073ceb0abdd23fb7312b5..29ddb20e430c8f9197a2ef58a7baf40a999a65cc 100644 (file)
@@ -46,7 +46,8 @@
  * @throws API_Exception
  * @example RelationshipCreate.php Std Create example
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields relationship_create}
  * @static void
  * @access public
@@ -74,7 +75,8 @@ function _civicrm_api3_relationship_create_spec(&$params) {
  *
  * @param array $params
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields relationship_delete}
  * @example RelationshipDelete.php Delete Example
  *
@@ -107,7 +109,8 @@ function civicrm_api3_relationship_delete($params) {
  * -  if you pass in contact_id - it just returns all relationships for 'contact_id'
  * -  if you don't pass in contact_id then it does a filter on the relationship table (DAO based search)
  *
- * @return Array API Result Array
+ * @return Array
+   *   API Result Array
  * {@getfields relationship_get}
  * @example RelationshipGet.php
  * @access  public
index b45e5e072380c6be6fbedecad1393e5047249b48..fc352bb3e2a108cc713956efe96d13d403370043 100644 (file)
@@ -108,7 +108,8 @@ function civicrm_api3_relationship_type_get($params) {
  *
  * @param id of relationship type $id
  *
- * @return array API Result Array
+ * @return array
+   *   API Result Array
  * {@getfields RelationshipType_delete}
  * @static void
  * @access public
index 7aa12b55430da41491c0703aa6657d7235d5dac2..959ec3cb4117db6cff65ab615b73810f72f7fe96 100644 (file)
@@ -6,7 +6,8 @@
  * @param array $params
  *   Input parameters.
  *
- * @return array details of found instances
+ * @return array
+   *   details of found instances
  * @access public
  */
 function civicrm_api3_report_instance_get($params) {
@@ -18,7 +19,8 @@ function civicrm_api3_report_instance_get($params) {
  *
  * @param array $params
  *
- * @return array of newly created report instance property values.
+ * @return array
+   *   of newly created report instance property values.
  * @access public
  */
 function civicrm_api3_report_instance_create($params) {
@@ -42,7 +44,8 @@ function _civicrm_api3_report_instance_create_spec(&$params) {
  *
  * @param array $params
  *
- * @return array Api result
+ * @return array
+   *   Api result
  * @access public
  */
 function civicrm_api3_report_instance_delete($params) {
index 77f42a4b30b0bdc83ad72a6042d978291a791a21..a4691c634d59dba5a2f2f426c741d0a2bd611a53 100644 (file)
@@ -10,7 +10,8 @@
  * {@example OptionValueGet.php 0}
  * @example OptionValueGet.php
  *
- * @return array details of found Option Values
+ * @return array
+   *   details of found Option Values
  * {@getfields OptionValue_get}
  * @access public
  */
@@ -31,7 +32,8 @@ function civicrm_api3_report_template_get($params) {
  *
  * @param array $params
  *
- * @return array of newly created option_value property values.
+ * @return array
+   *   of newly created option_value property values.
  * {@getfields OptionValue_create}
  * @access public
  */
@@ -72,7 +74,8 @@ function _civicrm_api3_report_template_create_spec(&$params) {
  *
  * {@example ReportTemplateDelete.php 0}
  *
- * @return array Api result
+ * @return array
+   *   Api result
  * {@getfields ReportTemplate_create}
  * @access public
  */
@@ -87,7 +90,8 @@ function civicrm_api3_report_template_delete($params) {
  * @param array $params
  *   Input parameters.
  *
- * @return array details of found instances
+ * @return array
+   *   details of found instances
  * @access public
  */
 function civicrm_api3_report_template_getrows($params) {
@@ -164,7 +168,8 @@ function civicrm_api3_report_template_getstatistics($params) {
  * @param array $params
  *   Input parameters.
  *
- * @return array details of found instances
+ * @return array
+   *   details of found instances
  * @access public
  */
 function _civicrm_api3_report_template_getrows_spec(&$params) {
index 5e1a3ee55fd8ee6503fad07f5870a3eb0bce147a..71d283fd5630150262febd7d5592bac4481c41f6 100644 (file)
@@ -201,7 +201,8 @@ function _civicrm_api3_setting_fill_spec(&$params) {
  *                       name/value pairs + other vars as applicable - see getfields for more
  * @example SettingCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields setting_create}
  * @access public
  */
@@ -237,7 +238,8 @@ function _civicrm_api3_setting_create_spec(&$params) {
  *   Array of one or more valid.
  *                       property_name=>value pairs.
  *
- * @return array Array of matching settings
+ * @return array
+   *   Array of matching settings
  * {@getfields setting_get}
  * @access public
  */
@@ -271,7 +273,8 @@ function _civicrm_api3_setting_get_spec(&$params) {
  *   (reference) Array of one or more valid.
  *                       property_name=>value pairs.
  *
- * @return array Array of matching settings
+ * @return array
+   *   Array of matching settings
  * {@getfields setting_get}
  * @access public
  */
index 0a44108a0add58e553b06ebe980350ea30207586..73252aeeb3701f9f86a0df1296c26a75da0a5dd8 100644 (file)
@@ -43,7 +43,8 @@
  *
  * @param array $params
  *
- * @return array of newly created sms_provider property values.
+ * @return array
+   *   of newly created sms_provider property values.
  * @access public
  */
 function civicrm_api3_sms_provider_create($params) {
@@ -59,7 +60,8 @@ function civicrm_api3_sms_provider_create($params) {
  *
  * @param array $params
  *
- * @return array of retrieved sms_provider property values.
+ * @return array
+   *   of retrieved sms_provider property values.
  * @access public
  */
 function civicrm_api3_sms_provider_get($params) {
@@ -75,7 +77,8 @@ function civicrm_api3_sms_provider_get($params) {
  *
  * @param array $params
  *
- * @return array of deleted values.
+ * @return array
+   *   of deleted values.
  * @access public
  */
 function civicrm_api3_sms_provider_delete($params) {
index 7aaa65cf980f2805e35a33c6433dbc970bb73384..b757fd812d2b18b8161e5bbe9c11952385ed6f50 100644 (file)
@@ -43,7 +43,8 @@
  *                       name/value pairs to insert in new 'survey'
  * @example SurveyCreate.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields survey_create}
  * @access public
  */
@@ -70,7 +71,8 @@ function _civicrm_api3_survey_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all surveys will be returned
  *
- * @return array  API result Array of matching surveys
+ * @return array
+   *   API result Array of matching surveys
  * {@getfields survey_get}
  * @access public
  */
@@ -88,7 +90,8 @@ function civicrm_api3_survey_get($params) {
  *   Array containing id of the group.
  *                       to be deleted
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields survey_delete}
  * @access public
  */
index 4e8f08217e6039403c5de19982ce8a260389c512..81953d0987f9b4a9e0b4b1149b1181383d075745 100644 (file)
@@ -35,7 +35,8 @@
 
 /**
  * @deprecated api notice
- * @return string to indicate this entire api entity is deprecated
+ * @return string
+   *   to indicate this entire api entity is deprecated
  */
 function _civicrm_api3_survey_respondant_deprecation() {
   return 'The survey_respondant api is not currently supported.';
@@ -47,7 +48,8 @@ function _civicrm_api3_survey_respondant_deprecation() {
  * @param array $params
  *   (reference ) input parameters.
  *
- * @return array (reference )        contribution_id of created or updated record
+ * @return array
+   *   (reference )        contribution_id of created or updated record
  * @static void
  * @access public
  * @deprecated - api currently not supported
index d88a1f22a1375814ce06750370fd126145ae3e3d..5da438e636e34473cde4a93c72f476e5102292b7 100644 (file)
@@ -45,7 +45,8 @@
  *                          - triggers: bool, whether to drop/create SQL triggers; default: FALSE
  *                          - session:  bool, whether to reset the CiviCRM session data; defaul: FALSE
  *
- * @return boolean        true if success, else false
+ * @return boolean
+   *   true if success, else false
  * @static void
  * @access public
  * @example SystemFlush.php
@@ -88,7 +89,8 @@ function _civicrm_api3_system_check_spec(&$spec) {
  * System.Check API
  *
  * @param array $params
- * @return array API result descriptor; return items are alert codes/messages
+ * @return array
+   *   API result descriptor; return items are alert codes/messages
  * @see civicrm_api3_create_success
  * @see civicrm_api3_create_error
  * @throws API_Exception
index f6943046abd5dbb3b35884de2cfa28a063edcaef..0a4f5048b483b92632fbc597af96b29220f104dd 100644 (file)
@@ -44,7 +44,8 @@
  *
  * @param array $params
  *
- * @return array of newly created tag property values.
+ * @return array
+   *   of newly created tag property values.
  * {@getfields tag_create}
  * @access public
  */
@@ -71,7 +72,8 @@ function _civicrm_api3_tag_create_spec(&$params) {
  *
  * @example TagDelete.ph
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields tag_delete}
  * @access public
  */
@@ -90,7 +92,8 @@ function civicrm_api3_tag_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found tags else error
+ * @return array
+   *   details of found tags else error
  * {@getfields tag_get}
  * @access public
  */
index 685d87d62715ca337f092c9c4ebb2fb91732079f..6d1be34e1b3619c923c0d96eeb8bda1a15c5a57b 100644 (file)
@@ -45,7 +45,8 @@
  *
  * @throws API_Exception
  *
- * @return array Newly created $ufFieldArray
+ * @return array
+   *   Newly created $ufFieldArray
  *
  * @access public
  * {@getfields UFField_create}
@@ -114,7 +115,8 @@ function civicrm_api3_uf_field_create($params) {
  *
  * @param array $params
  *
- * @return array fields valid for other functions
+ * @return array
+   *   fields valid for other functions
  */
 function _civicrm_api3_uf_field_create_spec(&$params) {
   $params['option.autoweight'] = array(
@@ -135,7 +137,8 @@ function _civicrm_api3_uf_field_create_spec(&$params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all surveys will be returned
  *
- * @return array  (reference) Array
+ * @return array
+   *   (reference) Array
  * {@getfields UFField_get
  * @example UFFieldGet.php
  * @access public
index 37dc28b78879bf6d3945f3e6b9979a435effcc12..7872aa6d8d3c7c675de87f8df134fc874772dd95 100644 (file)
@@ -54,7 +54,8 @@ function _civicrm_api3_uf_group_create_spec(&$params) {
  * @param $params
  *   Array Associative array of property name/value pairs to insert in group.
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * {@getfields UFGroup_create}
  * @example UFGroupCreate.php
  * @access public
@@ -71,7 +72,8 @@ function civicrm_api3_uf_group_create($params) {
  *                       property_name=>value pairs. If $params is set
  *                       as null, all surveys will be returned
  *
- * @return array   Array of matching profiles
+ * @return array
+   *   Array of matching profiles
  * {@getfields UFGroup_get}
  * @example UFGroupGet.php
  * @access public
index 43b5ea9ff9a61b0623769b740c1702cdb1e1fa60..feeffe740f507cff5d985e8c81bf73b30f66319f 100644 (file)
@@ -43,7 +43,8 @@
  * @param array $params
  *   Assoc array of name/value pairs.
  *
- * @return array CRM_Core_DAO_UFJoin Array
+ * @return array
+   *   CRM_Core_DAO_UFJoin Array
  * @access public
  * @example UFJoinCreate.php
  *  {@getfields UFJoin_create}
@@ -75,7 +76,8 @@ function _civicrm_api3_uf_join_create_spec(&$params) {
  * @param array $params
  *   (reference) an assoc array of name/value pairs.
  *
- * @return array $result CiviCRM Result Array or null
+ * @return array
+   *   CiviCRM Result Array or null
  * @todo Delete function missing
  * @access public
  * {getfields UFJoin_get}
index d0ccfe9bee74335d4e1b49d686be84530d7ddd47..ae89079df8894c6672e1bc24f16c782f4626f621 100644 (file)
@@ -42,7 +42,7 @@
  *
  * @param array $params
  *
- * @return array $result
+ * @return array
  * @access public
  * {@getfields UFMatch_get}
  * @example UFMatchGet.php
@@ -60,7 +60,8 @@ function civicrm_api3_uf_match_get($params) {
  *                       name/value pairs to insert in new 'survey'
  * @example UFMatch.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields uf_match_create}
  * @access public
  */
@@ -89,7 +90,8 @@ function _civicrm_api3_uf_match_create_spec(&$params) {
  *                       name/value pairs to insert in new 'survey'
  * @example UFMatch.php Std Create example
  *
- * @return array api result array
+ * @return array
+   *   api result array
  * {@getfields uf_match_create}
  * @access public
  */
index 7c21329525c7bed9c4f4ad83d737bc54faecadab..cfaf6cb351ecdfecc32963af60a630ba79de2304 100644 (file)
@@ -46,7 +46,8 @@
  *
  * @param array $params
  *
- * @return array of newly created website property values.
+ * @return array
+   *   of newly created website property values.
  * @access public
  * @todo convert to using basic create - BAO function non-std
  */
@@ -77,7 +78,8 @@ function _civicrm_api3_website_create_spec(&$params) {
  * {@getfields website_delete}
  * @example WebsiteDelete.php Std Delete Example
  *
- * @return array API result Array
+ * @return array
+   *   API result Array
  * @access public
  * @todo convert to using Basic delete - BAO function non standard
  */
@@ -108,7 +110,8 @@ function civicrm_api3_website_delete($params) {
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return array details of found websites
+ * @return array
+   *   details of found websites
  *
  * @access public
  */
index d89793b16948503756d406b8f8fab3a1db381dd3..89608f8c5599354303f4c1794b65d81b3618a9c9 100644 (file)
@@ -83,7 +83,8 @@ function _civicrm_api3_word_replacement_create_spec(&$params) {
  *   Array containing id of the word_replacement.
  *  to be deleted
  *
- * @return array api result array
+ * @return array
+   *   api result array
  *
  * @access public
  */
index 76d4fb15806e48c116c19e572c19b941cb882725..32562b13d53d256448336a8263ce55f4598fab38 100644 (file)
@@ -55,7 +55,8 @@ function _civicrm_api3_initialize() {
  * @param array $keyoptions
  *   List of required fields options. One of the options is required.
  *
- * @return null or throws error if there the required fields not present
+ * @return null
+   *   or throws error if there the required fields not present
  * @
  */
 function civicrm_api3_verify_one_mandatory($params, $daoName = NULL, $keyoptions = array()) {
@@ -78,7 +79,8 @@ function civicrm_api3_verify_one_mandatory($params, $daoName = NULL, $keyoptions
  * @param bool $verifyDAO
  *
  * @throws API_Exception
- * @return null or throws error if there the required fields not present
+ * @return null
+   *   or throws error if there the required fields not present
  *
  * @todo see notes on _civicrm_api3_check_required_fields regarding removing $daoName param
  */
@@ -136,7 +138,8 @@ function civicrm_api3_verify_mandatory($params, $daoName = NULL, $keys = array()
  * @param array $data
  *
  * @throws API_Exception
- * @return array <type>
+ * @return array
+   *   <type>
  */
 function civicrm_api3_create_error($msg, $data = array()) {
   $data['is_error'] = 1;
@@ -168,7 +171,7 @@ function civicrm_api3_create_error($msg, $data = array()) {
  *   Additional values to be added to top level of result array(.
  *   - this param is currently used for legacy behaviour support
  *
- * @return array $result
+ * @return array
  */
 function civicrm_api3_create_success($values = 1, $params = array(), $entity = NULL, $action = NULL, &$dao = NULL, $extraReturnValues = array()) {
   $result = array();
@@ -413,7 +416,7 @@ function _civicrm_api3_filter_fields_for_bao($entity, &$params, &$values) {
  * @param array $params
  * @param array $values
  *
- * @return Bool $valueFound
+ * @return Bool
  */
 function _civicrm_api3_store_values(&$fields, &$params, &$values) {
   $valueFound = FALSE;
@@ -703,7 +706,8 @@ function _civicrm_api3_apply_filters_to_dao($filterField, $filterValue, &$dao) {
  * @param string $action
  *
  * @throws API_Exception
- * @return array $options options extracted from params
+ * @return array
+   *   options extracted from params
  */
 function _civicrm_api3_get_options_from_params(&$params, $queryObject = FALSE, $entity = '', $action = '') {
   $is_count = FALSE;
@@ -1295,7 +1299,8 @@ function _civicrm_api3_basic_create_fallback($bao_name, &$params) {
  * @param string $bao_name
  * @param array $params
  *
- * @return array API result array
+ * @return array
+   *   API result array
  * @throws API_Exception
  */
 function _civicrm_api3_basic_delete($bao_name, &$params) {
index 7e65c808a1dfd9eb64d480a6b5a8f12a80efb25a..b198ce0d8f41e4d0770e38df8edc759b0e6dd544 100644 (file)
@@ -55,7 +55,8 @@ class test_extension_manager_paymenttest extends CRM_Core_Payment {
    * @param array $params
    *   Assoc array of input parameters for this transaction.
    *
-   * @return array the result in an nice formatted array (or an error object)
+   * @return array
+   *   the result in an nice formatted array (or an error object)
    * @abstract
    */
   function doDirectPayment(&$params) {
index cbb01a5e3e6a6e31367dc4c2ca27c721e7cb7ac9..278581124a578d282c61c2beb4c379db9821a71f 100644 (file)
@@ -186,7 +186,8 @@ class CRM_Core_BAO_UFFieldTest extends CiviUnitTestCase {
   /**
    * @param array $fields
    *   List of fields to include in the profile.
-   * @return int field id
+   * @return int
+   *   field id
    */
   protected function createUFGroup($fields) {
     $ufGroup = CRM_Core_DAO::createTestObject('CRM_Core_DAO_UFGroup');
index 2b481ce44723daccda94c213c67238364a683cd3..c7901b2b96d4b9d3b339a0b46a077abf1e6b1113 100644 (file)
@@ -168,7 +168,8 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
 
   /**
    * Get PaymentExpress IPN for a single transaction
-   * @return array array representing a Paypal IPN POST
+   * @return array
+   *   array representing a Paypal IPN POST
    */
   public function getPaypalExpressTransactionIPN() {
     return array(
@@ -217,7 +218,8 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
 
   /**
    * Get IPN results from follow on IPN transactions
-   * @return array array representing a Paypal IPN POST
+   * @return array
+   *   array representing a Paypal IPN POST
    */
   public function getSubsequentPaypalExpressTransaction() {
     return array(
index 0cd732520d1ef219e31e8d9aa94df0a9201dc717..d29ec6a49b1fc8ee41c587d81eac9f4f6e09254d 100644 (file)
@@ -8,7 +8,8 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class CRM_Core_Permission_BaseTest extends CiviUnitTestCase {
 
   /**
-   * @return array (0 => input to translatePermission, 1 => expected output from translatePermission)
+   * @return array
+   *   (0 => input to translatePermission, 1 => expected output from translatePermission)
    */
   public function translateData() {
     $cases = array();
index 4aebdd7eedf7dfa93d81f894a8f4e11fd0a60943..dd1efe2ba32574d140bdc2586b27c80c6ffbfba9 100644 (file)
@@ -8,7 +8,8 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class CRM_Core_Permission_GenericTest extends CiviUnitTestCase {
 
   /**
-   * @return array of CRM_Core_Permission_Base
+   * @return array
+   *   of CRM_Core_Permission_Base
    */
   public function permissionClasses() {
     $cases = array();
index 17b805ca83e2f3613dcb3101a27695b17579bbc6..da0624e48e6837f3806dd41a11efee837ca81fc0 100644 (file)
@@ -8,7 +8,8 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class CRM_Core_Permission_JoomlaTest extends CiviUnitTestCase {
 
   /**
-   * @return array (0 => input to translatePermission, 1 => expected output from translatePermission)
+   * @return array
+   *   (0 => input to translatePermission, 1 => expected output from translatePermission)
    */
   public function translateData() {
     $cases = array();
index a0df74d55e1782fcceae35f752a445e49c8bc8ad..3154919c13539b63e68ef5721f267aa7570ad98f 100644 (file)
@@ -315,7 +315,8 @@ class CRM_Core_TransactionTest extends CiviUnitTestCase {
    *   'sql-insert'|'bao-create' how to add the example record.
    * @param string $outcome
    *   'rollback'|'implicit-commit'|'explicit-commit' how to finish transaction.
-   * @return int cid
+   * @return int
+   *   cid
    */
   public function createContactWithTransaction($nesting, $insert, $outcome) {
     if ($nesting != 'reuse-tx' && $nesting != 'nest-tx') {
@@ -369,7 +370,8 @@ class CRM_Core_TransactionTest extends CiviUnitTestCase {
    *   See assertContactsMix.
    * @param string $outcome
    *   'rollback'|'implicit-commit'|'explicit-commit' how to finish transaction.
-   * @return int cid
+   * @return int
+   *   cid
    */
   public function runBatch($nesting, $callbacks, $existsByOffset, $outcome) {
     if ($nesting != 'reuse-tx' && $nesting != 'nest-tx') {
index 428ac318da7b2c8e76a7bbb5a1902c70409aff01..32c3799fec0f8ab2cecb673b69c047d8cac47aec 100644 (file)
@@ -114,7 +114,8 @@ class CRM_Utils_versionCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   * @return array (localVersion, versionInfo, expectedResult)
+   * @return array
+   *   (localVersion, versionInfo, expectedResult)
    */
   public function newerVersionDataProvider() {
     $data = array();
@@ -150,7 +151,8 @@ class CRM_Utils_versionCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   * @return array (localVersion, versionInfo, expectedResult)
+   * @return array
+   *   (localVersion, versionInfo, expectedResult)
    */
   public function securityUpdateDataProvider() {
     $data = array();
index 9c05fcddd5e127ee0382276199269cc8920ebfdc..82432f9bf550ad1274ddf2dd04a8de0eafdcc2fd 100644 (file)
@@ -37,7 +37,8 @@ class AuthorizeNet extends PHPUnit_Framework_Testcase {
    * @param int $id
    *   Id of the PayPal Pro payment processor.
    * to be deleted
-   * @return boolean true if payment processor deleted, false otherwise
+   * @return boolean
+   *   true if payment processor deleted, false otherwise
    *
    */
   public function delete($id) {
index ee1879b92c0707bc759780e0d6e872aa72b51884..e67be0b40a46b7cdb43917841f7e71f2dcf3ff7a 100644 (file)
@@ -651,7 +651,8 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
    * @param string $field
    *   Selector.
    * @param string $contactType
-   * @return array of contact attributes (id, names, email)
+   * @return array
+   *   of contact attributes (id, names, email)
    */
   public function createDialogContact($field = 'contact_id', $contactType = 'Individual') {
     $selectId = 's2id_' . $this->getAttribute($field . '@id');
@@ -741,7 +742,8 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
    * @url      string url to parse or retrieve current url if null
    *
    * @param null $url
-   * @return array  returns an associative array containing any of the various components
+   * @return array
+   *   returns an associative array containing any of the various components
    *                  of the URL that are present. Querystring elements are returned in sub-array (elements.queryString)
    *                  http://php.net/manual/en/function.parse-url.php
    */
@@ -1036,7 +1038,8 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
    * @param bool $membershipsRequired
    * @internal param \can $User define pageTitle, hash and rand values for later data verification
    *
-   * @return null $pageId of newly created online contribution page.
+   * @return null
+   *   of newly created online contribution page.
    */
   function webtestAddContributionPage(
     $hash = NULL,
index b892ad0449c7c574cab89fadcfc5b1e044e82924..930f6130b1d5dc6cce7229bd0460fb2447838075 100755 (executable)
@@ -250,7 +250,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   /**
    * @param bool $perClass
    * @param null $object
-   * @return bool TRUE if the populate logic runs; FALSE if it is skipped
+   * @return bool
+   *   TRUE if the populate logic runs; FALSE if it is skipped
    */
   protected static function _populateDB($perClass = FALSE, &$object = NULL) {
 
@@ -1065,7 +1066,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * so the distinction between set
    * up & tested functions is clearer
    *
-   * @return array api Result
+   * @return array
+   *   api Result
    */
   public function createTestEntity() {
     return $entity = $this->callAPISuccess($this->entity, 'create', $this->params);
@@ -1077,7 +1079,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param array parameters for civicrm_contact_add api function call
    * @param int sequence number if creating multiple organizations
    *
-   * @return int    id of Organisation created
+   * @return int
+   *   id of Organisation created
    */
   public function organizationCreate($params = array(), $seq = 0) {
     if (!$params) {
@@ -1093,7 +1096,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param array parameters for civicrm_contact_add api function call
    * @param int sequence number if creating multiple individuals
    *
-   * @return int    id of Individual created
+   * @return int
+   *   id of Individual created
    */
   public function individualCreate($params = array(), $seq = 0) {
     $params = array_merge($this->sampleContact('Individual', $seq), $params);
@@ -1106,7 +1110,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param array parameters for civicrm_contact_add api function call
    * @param int sequence number if creating multiple households
    *
-   * @return int    id of Household created
+   * @return int
+   *   id of Household created
    */
   public function householdCreate($params = array(), $seq = 0) {
     $params = array_merge($this->sampleContact('Household', $seq), $params);
@@ -1119,7 +1124,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param enum contact type: Individual, Organization
    * @param int sequence number for the values of this type
    *
-   * @return array   properties of sample contact (ie. $params for API call)
+   * @return array
+   *   properties of sample contact (ie. $params for API call)
    */
   public function sampleContact($contact_type, $seq = 0) {
     $samples = array(
@@ -1164,7 +1170,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    *
    * @throws Exception
    *
-   * @return int    id of Household created
+   * @return int
+   *   id of Household created
    */
   private function _contactCreate($params) {
     $result = $this->callAPISuccess('contact', 'create', $params);
@@ -1371,7 +1378,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param array $params
    *   Array of contact id and event id values.
    *
-   * @return int $id of participant created
+   * @return int
+   *   $id of participant created
    */
   public function participantCreate($params) {
     if (empty($params['contact_id'])) {
@@ -1398,7 +1406,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   /**
    * Create Payment Processor
    *
-   * @return object of Payment Processsor
+   * @return object
+   *   of Payment Processsor
    */
   public function processorCreate() {
     $processorParams = array(
@@ -1420,7 +1429,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * Create contribution page
    *
    * @param array $params
-   * @return object of contribution page
+   * @return object
+   *   of contribution page
    */
   public function contributionPageCreate($params) {
     $this->_pageParams = array(
@@ -1442,7 +1452,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * Create Tag
    *
    * @param array $params
-   * @return array result of created tag
+   * @return array
+   *   result of created tag
    */
   public function tagCreate($params = array()) {
     $defaults = array(
@@ -1488,7 +1499,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param int $cID
    *   Contact_id.
    *
-   * @return int id of created contribution
+   * @return int
+   *   id of created contribution
    */
   public function pledgeCreate($cID) {
     $params = array(
@@ -1534,7 +1546,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param int $trxnID
    * @param int $paymentInstrumentID
    * @param bool $isFee
-   * @return int id of created contribution
+   * @return int
+   *   id of created contribution
    */
   public function contributionCreate($cID, $cTypeID = 1, $invoiceID = 67890, $trxnID = 12345, $paymentInstrumentID = 1, $isFee = TRUE) {
     $params = array(
@@ -1570,7 +1583,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    *
    * @param int $invoiceID
    * @param int $trxnID
-   * @return int id of created contribution
+   * @return int
+   *   id of created contribution
    */
   public function onlineContributionCreate($params, $financialType, $invoiceID = 67890, $trxnID = 12345) {
     $contribParams = array(
@@ -1610,7 +1624,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param array $params
    *   Name-value pair for an event.
    *
-   * @return array $event
+   * @return array
    */
   public function eventCreate($params = array()) {
     // if no contact was passed, make up a dummy event creator
@@ -1678,7 +1692,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    *
    * @param int $participantID
    * @param int $contributionID
-   * @return int $id of created payment
+   * @return int
+   *   $id of created payment
    */
   public function participantPaymentCreate($participantID, $contributionID = NULL) {
     //Create Participant Payment record With Values
@@ -1707,7 +1722,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * Add a Location
    *
    * @param int $contactID
-   * @return int location id of created location
+   * @return int
+   *   location id of created location
    */
   public function locationAdd($contactID) {
     $address = array(
@@ -1784,7 +1800,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * Add a Group
    *
    * @param array $params
-   * @return int groupId of created group
+   * @return int
+   *   groupId of created group
    */
   public function groupCreate($params = array()) {
     $params = array_merge(array(
@@ -1811,7 +1828,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @params array to add group
    *
    * @param array $params
-   * @return int groupId of created group
+   * @return int
+   *   groupId of created group
    */
   public function groupContactCreate($groupID, $totalCount = 10) {
     $params = array('group_id' => $groupID);
@@ -1866,7 +1884,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * Add a UF Join Entry
    *
    * @param array $params
-   * @return int $id of created UF Join
+   * @return int
+   *   $id of created UF Join
    */
   public function ufjoinCreate($params = NULL) {
     if ($params === NULL) {
@@ -2096,7 +2115,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * @param string $filename
    *   $file __FILE__.
    *
-   * @return array $ids ids of created objects
+   * @return array
+   *   ids of created objects
    */
   public function entityCustomGroupWithSingleFieldCreate($function, $filename) {
     $params = array('title' => $function);
@@ -2165,7 +2185,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    * Create note
    *
    * @param int $cId
-   * @return array $note
+   * @return array
    */
   public function noteCreate($cId) {
     $params = array(
@@ -2703,7 +2723,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
    * Generate a temporary folder
    *
    * @param string $prefix
-   * @return string $string
+   * @return string
    */
   public function createTempDir($prefix = 'test-') {
     $tempDir = CRM_Utils_File::tempdir($prefix);
index 8f0115d4691489ce7e431a67ab4484808b2b7caa..b43c490db9ac9fa4b45c6e9e5a74b28d55c9aa18 100644 (file)
@@ -10,7 +10,8 @@ class Contact extends CiviUnitTestCase {
    *
    * @param array $params
    *
-   * @return int $contactID id of created contact
+   * @return int
+   *   $contactID id of created contact
    */
   public static function create($params) {
     require_once "CRM/Contact/BAO/Contact.php";
@@ -23,7 +24,8 @@ class Contact extends CiviUnitTestCase {
    * a contact of type Individual
    *
    * @param array $params
-   * @return int $contactID id of created Individual
+   * @return int
+   *   $contactID id of created Individual
    */
   public static function createIndividual($params = NULL) {
     //compose the params, when not passed
@@ -87,7 +89,8 @@ class Contact extends CiviUnitTestCase {
    *
    * @param int $contactID
    *   Id of the contact to delete.
-   * @return boolean true if contact deleted, false otherwise
+   * @return boolean
+   *   true if contact deleted, false otherwise
    */
   public static function delete($contactID) {
     require_once 'CRM/Contact/BAO/Contact.php';
index 0787305ef3dd3217674ecb23ce97c547309dbdc0..3f600ebe8e6e1b923803b14e45d7fe836c4c7288 100644 (file)
@@ -44,7 +44,8 @@ class ContributionPage extends PHPUnit_Framework_Testcase {
    * @param int $contributionPageId
    *   Id of the Contribution Page.
    * to be deleted
-   * @return boolean true if Contribution Page deleted, false otherwise
+   * @return boolean
+   *   true if Contribution Page deleted, false otherwise
    */
   public static function delete($contributionPageId) {
     require_once "CRM/Contribute/DAO/ContributionPage.php";
index 73a70de32c11cf9ca2efe9d66bef904fbfcde32d..699efaa87623db4ccf1ab53ddadaeb1bf7b6eb8a 100644 (file)
@@ -13,7 +13,8 @@ class Custom extends CiviUnitTestCase {
    * @param null $extends
    * @param bool $isMultiple
    *
-   * @return object of created group
+   * @return object
+   *   of created group
    */
   public static function createGroup($group, $extends = NULL, $isMultiple = FALSE) {
     if (empty($group)) {
@@ -63,7 +64,8 @@ class Custom extends CiviUnitTestCase {
    * @deprecated use parent object create fn
    * @param array $params
    * @param null $fields
-   * @return object of created field
+   * @return object
+   *   of created field
    */
   public static function createField($params, $fields = NULL) {
     if (empty($params)) {
@@ -110,7 +112,8 @@ class Custom extends CiviUnitTestCase {
    * Helper function to delete custom group
    * @deprecated use function on parent class
    * @param object Custom Group to delete
-   * @return boolean true if Group deleted, false otherwise
+   * @return boolean
+   *   true if Group deleted, false otherwise
    */
   public static function deleteGroup($params) {
     require_once 'CRM/Core/BAO/CustomGroup.php';
index e29721d0bfa339e5307726a57433e91ff9e99a8a..840a49be92e13ffeb6e1966775b6480fe9b873eb 100644 (file)
@@ -36,7 +36,8 @@ class Event extends PHPUnit_Framework_Testcase {
    * Helper function to delete an Event
    *
    * @param int $eventId
-   * @return boolean true if event deleted, false otherwise
+   * @return boolean
+   *   true if event deleted, false otherwise
    */
   public static function delete($eventId) {
     return CRM_Event_BAO_Event::del($eventId);
index 5abd17485d041b4e4724666f39ecd84647abe273..5391b3842a585d86c62da8830d4fb94328355d87 100644 (file)
@@ -10,7 +10,8 @@ class PCPBlock extends PHPUnit_Framework_Testcase {
    * @param int $contributionPageId
    *   Id of the Contribution Page.
    * to be deleted
-   * @return array of created pcp block
+   * @return array
+   *   of created pcp block
    *
    */
   public function create($contributionPageId) {
@@ -94,7 +95,8 @@ class PCPBlock extends PHPUnit_Framework_Testcase {
    * @param array key value pair
    * pcpBlockId - id of the PCP Block Id, profileID - id of Supporter Profile
    * to be deleted
-   * @return boolean true if success, false otherwise
+   * @return boolean
+   *   true if success, false otherwise
    *
    */
   public function delete($params) {
index 6b845b6838cf33ebd1029f75cc30064b664d611c..fdb0ffea6d59900c0788b2a4f7abd7f62d08e8ee 100644 (file)
@@ -34,7 +34,8 @@ class Participant extends PHPUnit_Framework_Testcase {
    * Helper function to delete a participant
    *
    * @param int $participantId
-   * @return boolean true if participant deleted, false otherwise
+   * @return boolean
+   *   true if participant deleted, false otherwise
    */
   public static function delete($participantId) {
     require_once 'CRM/Event/BAO/Participant.php';
index 1ce658b814860606e9154411b88ea7c851fb1e77..b150a26eddc810c2747ac696012fbbebf9f4b8b7 100644 (file)
@@ -9,7 +9,8 @@ class PaypalPro extends PHPUnit_Framework_Testcase {
    * Helper function to create
    * a payment processor of type Paypal Pro
    *
-   * @return int $paymentProcessor id of created payment processor@todo this appears not to be working but because it doesn't extend the test class
+   * @return int
+   *   $paymentProcessor id of created payment processor@todo this appears not to be working but because it doesn't extend the test class
    * callAPISuccess won't work
    * I have duplicated this on the main test class as a work around
    */
@@ -44,7 +45,8 @@ class PaypalPro extends PHPUnit_Framework_Testcase {
    * @param int $id
    *   Id of the PayPal Pro payment processor.
    * to be deleted
-   * @return boolean true if payment processor deleted, false otherwise
+   * @return boolean
+   *   true if payment processor deleted, false otherwise
    */
   public static function delete($id) {
     $pp = new CRM_Financial_DAO_PaymentProcessor();
index 83571a177599d603eb8cfbe9c88dd747c31bd91e..9e27ca27bace913fd2e29e255c63f8f47561172b 100644 (file)
@@ -74,7 +74,8 @@ class WebTest_Contribute_UpdatePendingContributionTest extends CiviSeleniumTestC
   }
 
   /**
-   * @return array of contact details
+   * @return array
+   *   of contact details
    */
   public function _testOfflineContribution() {
     // Create a contact to be used as soft creditor
index 5dbf2928d88ffef4fb51f990ee0eb76ba536bc63..38290e4bee14be3d1cb435d10b26d5f5e77af942 100644 (file)
@@ -41,7 +41,8 @@ class ExportCiviSeleniumTestCase extends CiviSeleniumTestCase {
    * @param string $downloadDir
    *   Download dir.
    *
-   * @return string downloaded file path.
+   * @return string
+   *   downloaded file path.
    */
   public function downloadCSV($selector, $fileName = 'CiviCRM_Contact_Search.csv', $downloadDir = '/tmp') {
     // File download path.
index 9f2a544308c06f15e24fa578996ac56dc094afa7..bfe9aa3a975e66524aca6f524093df24001093a6 100644 (file)
@@ -435,7 +435,8 @@ class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase {
    * @param string $component
    *   Component name.
    *
-   * @return string import url
+   * @return string
+   *   import url
    */
   private function _getImportComponentUrl($component) {
     $importComponentUrl = array(
@@ -523,7 +524,8 @@ class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase {
    * @param array $rows
    * @param string $contactType
    *
-   * @return array $contactIds  imported contact ids
+   * @return array
+   *   imported contact ids
    */
   public function _getImportedContactIds($rows, $contactType = 'Individual') {
     $contactIds = array();
index 4ec33e068da92d36b9a45e6c1fdd997c63f854de..36c30890c5f960a8c427a0d682878fdf4a1c1bcd 100644 (file)
@@ -239,7 +239,8 @@ class WebTest_Import_MatchExternalIdTest extends ImportCiviSeleniumTestCase {
    * @param string $lastName
    * @param int $externalId
    *
-   * @return int external id
+   * @return int
+   *   external id
    */
   public function _addContact($firstName, $lastName, $externalId) {
     $this->openCiviPage('contact/add', 'reset=1&ct=Individual');
@@ -266,7 +267,8 @@ class WebTest_Import_MatchExternalIdTest extends ImportCiviSeleniumTestCase {
    *
    * @param array $params
    *
-   * @return array event details of newly created event
+   * @return array
+   *   event details of newly created event
    */
   public function _addNewEvent($params = array()) {
     if (empty($params)) {
index a06ddbf4698ceb96ff26cd19433c2157982ce784..9fe59ae6627d6de5f7a98a71be4142eaec9ad750 100644 (file)
@@ -240,7 +240,8 @@ class WebTest_Import_ParticipantTest extends ImportCiviSeleniumTestCase {
    * @param array $params
    *   Parameters to create an event.
    *
-   * @return array $params event details of newly created event
+   * @return array
+   *   event details of newly created event
    */
   public function _addNewEvent($params = array()) {
 
index f6ce61eb3d285c3b3123beb07b7127c6c728f721..3fdaaef263ac44bd1d81096d6096be2834d21592 100644 (file)
@@ -124,7 +124,8 @@ class api_v3_APIStandardsTest extends CiviUnitTestCase {
 
   /**
    * Get all the files in the API directory for the relevant version which contain API functions
-   * @return array $files array of php files in the directory excluding helper files
+   * @return array
+   *   array of php files in the directory excluding helper files
    */
   public function getAllFilesinAPIDir() {
     $files = array();
@@ -157,7 +158,7 @@ class api_v3_APIStandardsTest extends CiviUnitTestCase {
 
   /**
    * Get all api exposed functions that are expected to conform to standards
-   * @return array $functionlist
+   * @return array
    */
   public function getAllAPIStdFunctions() {
     $functionlist = get_defined_functions();
index b3d310cc4c64499aa07710ab23ed8a171df3cafc..8e8fdcab129910f49af869c019534655f5c918d8 100644 (file)
@@ -218,7 +218,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
    *
    * @param bool $sequential
    *
-   * @return array Entities that cannot be retrieved by ID
+   * @return array
+   *   Entities that cannot be retrieved by ID
    */
   public static function toBeSkipped_getByID($sequential = FALSE) {
     return array('MailingContact');
@@ -278,7 +279,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
   /**
    * Generate list of entities to test for get by id functions
    * @param bool $sequential
-   * @return array Entities to be skipped
+   * @return array
+   *   Entities to be skipped
    */
   public static function toBeSkipped_automock($sequential = FALSE) {
     $entitiesWithoutGet = array('MailingContact', 'EntityTag', 'Participant', 'ParticipantPayment', 'Setting', 'SurveyRespondant', 'MailingRecipients', 'CustomSearch', 'Extension', 'ReportTemplate', 'System');
index a4fa63503905dae54dd7e7cf22d7d42043e6aa8a..e07a0d83f0898eac2b137921d8a2646385c4a155 100644 (file)
@@ -107,7 +107,8 @@ class api_v3_UtilsTest extends CiviUnitTestCase {
    *
    * @throws API_Exception
    * @throws Exception
-   * @return bool TRUE or FALSE depending on the outcome of the authorization check
+   * @return bool
+   *   TRUE or FALSE depending on the outcome of the authorization check
    */
   public function runPermissionCheck($entity, $action, $params, $throws = FALSE) {
     $dispatcher = new \Symfony\Component\EventDispatcher\EventDispatcher();