bulk comment fix
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 9 May 2014 01:35:28 +0000 (13:35 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 9 May 2014 01:35:28 +0000 (13:35 +1200)
112 files changed:
CRM/ACL/API.php
CRM/Activity/BAO/Query.php
CRM/Activity/Selector/Activity.php
CRM/Activity/Selector/Search.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/MailSettings.php
CRM/Admin/Page/PaymentProcessor.php
CRM/Campaign/Form/Petition/Signature.php
CRM/Campaign/Form/Task.php
CRM/Campaign/Form/Task/Reserve.php
CRM/Campaign/Page/SurveyType.php
CRM/Campaign/PseudoConstant.php
CRM/Campaign/Selector/Search.php
CRM/Case/BAO/CaseType.php
CRM/Case/Form/Activity/OpenCase.php
CRM/Case/Form/Case.php
CRM/Case/Selector/Search.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/GroupContact.php
CRM/Contact/Form/DedupeRules.php
CRM/Contact/Form/Task/AddToGroup.php
CRM/Contact/Form/Task/AddToHousehold.php
CRM/Contact/Form/Task/EmailCommon.php
CRM/Contact/Form/Task/ProximityCommon.php
CRM/Contact/Import/Form/Preview.php
CRM/Contact/Page/DedupeRules.php
CRM/Contact/Selector/Custom.php
CRM/Contribute/BAO/ContributionRecur.php
CRM/Contribute/Form/AdditionalInfo.php
CRM/Contribute/Form/Contribution/OnBehalfOf.php
CRM/Contribute/Form/ContributionPage/Amount.php
CRM/Contribute/Form/ContributionPage/Custom.php
CRM/Contribute/Form/ContributionPage/Widget.php
CRM/Contribute/Form/SoftCredit.php
CRM/Contribute/Form/Task.php
CRM/Contribute/Form/UpdateBilling.php
CRM/Contribute/Page/ManagePremiums.php
CRM/Contribute/PseudoConstant.php
CRM/Contribute/Selector/Search.php
CRM/Core/Action.php
CRM/Core/BAO/ActionSchedule.php
CRM/Core/BAO/Block.php
CRM/Core/BAO/ConfigSetting.php
CRM/Core/BAO/Dashboard.php
CRM/Core/BAO/Domain.php
CRM/Core/BAO/EntityTag.php
CRM/Core/BAO/FinancialTrxn.php
CRM/Core/BAO/Mapping.php
CRM/Core/BAO/Navigation.php
CRM/Core/BAO/Note.php
CRM/Core/BAO/PaperSize.php
CRM/Core/BAO/Phone.php
CRM/Core/BAO/Setting.php
CRM/Core/BAO/UFGroup.php
CRM/Core/BAO/Website.php
CRM/Core/Block.php
CRM/Core/Controller.php
CRM/Core/DAO.php
CRM/Core/Form/Date.php
CRM/Core/I18n/Schema.php
CRM/Core/OptionGroup.php
CRM/Core/OptionValue.php
CRM/Core/Page.php
CRM/Core/Page/Basic.php
CRM/Core/Payment/Form.php
CRM/Core/Payment/PayPalImpl.php
CRM/Core/Permission.php
CRM/Core/Permission/Drupal6.php
CRM/Core/Selector/Controller.php
CRM/Custom/Import/Parser.php
CRM/Event/Badge.php
CRM/Event/Form/ManageEvent/EventInfo.php
CRM/Event/Form/ManageEvent/Registration.php
CRM/Event/Form/Task.php
CRM/Event/Import/Form/MapField.php
CRM/Event/PseudoConstant.php
CRM/Event/Selector/Search.php
CRM/Extension/Downloader.php
CRM/Extension/Manager/Payment.php
CRM/Financial/BAO/FinancialAccount.php
CRM/Financial/BAO/FinancialItem.php
CRM/Financial/BAO/PaymentProcessor.php
CRM/Financial/Form/FinancialAccount.php
CRM/Financial/Form/FinancialBatch.php
CRM/Financial/Page/FinancialAccount.php
CRM/Mailing/Event/BAO/Opened.php
CRM/Mailing/Event/BAO/TrackableURLOpen.php
CRM/Mailing/Form/Schedule.php
CRM/Mailing/PseudoConstant.php
CRM/Mailing/Selector/Event.php
CRM/Mailing/Selector/Search.php
CRM/Member/BAO/MembershipStatus.php
CRM/Member/BAO/MembershipType.php
CRM/Member/Form/MembershipBlock.php
CRM/Member/Form/Task.php
CRM/Member/Page/MembershipStatus.php
CRM/Member/PseudoConstant.php
CRM/Member/Selector/Search.php
CRM/PCP/Form/PCP.php
CRM/PCP/Page/PCP.php
CRM/Pledge/Selector/Search.php
CRM/Price/BAO/PriceSet.php
CRM/Queue/Queue/Memory.php
CRM/Report/Page/Options.php
CRM/SMS/Page/Provider.php

index 5e57eb68f1e6e35e6518447d635eac0d190c368e..bd3e6574f84464b88bd714cb4a05a46e28dd60e9 100644 (file)
@@ -171,7 +171,13 @@ class CRM_ACL_API {
    * check if the user has access to this group for operation $type
    *
    * @param int $type the type of permission needed
-   * @param int    $contactID the contactID for whom the check is made
+   * @param $groupID
+   * @param int $contactID the contactID for whom the check is made
+   *
+   * @param string $tableName
+   * @param null $allGroups
+   * @param null $includedGroups
+   * @param bool $flush
    *
    * @return array the ids of the groups for which the user has permissions
    * @access public
index 6706e72ce8f04eeeab5a8a549cbb54a685c1bc36..39dca577a9e6e83846cc54493f2ddfd1e10304fb 100644 (file)
@@ -158,6 +158,8 @@ class CRM_Activity_BAO_Query {
    * Given a list of conditions in query generate the required
    * where clause
    *
+   * @param $query
+   *
    * @return void
    * @access public
    */
@@ -177,6 +179,8 @@ class CRM_Activity_BAO_Query {
   /**
    * where clause for a single field
    *
+   * @param $values
+   * @param $query
    * @return void
    * @access public
    */
index d93eae698fcefd9b789bd5567a47da2b639ada8d..c110548ea09e4b1917a6ccd9996bcc600840b0fa 100644 (file)
@@ -276,7 +276,10 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   *
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 96d9e00f1c6a03d55fe45b979ad6ad945e434929..76cf2269024e439bcdb12eb7c59b2f5e2143d8f3 100644 (file)
@@ -195,7 +195,10 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   *
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 14b1ee6021f449a9cd52b1bd5fb2b4e69834925d..47010c6217f22aac027a6992f328a682e5c114d2 100644 (file)
@@ -155,6 +155,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 360c31df820927bbf0f3dde043f1a9ab2873d13e..a5e230e9cce7a5770b247592eaeec0eb3a99691f 100644 (file)
@@ -162,6 +162,8 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 26d6f441ca0dc85288d0c5f7e87d6bdbb91cde23..e41486d0ded9e1d65d298742df26c3ed1de5cdba 100644 (file)
@@ -285,6 +285,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
    *
    * The result format resembles the old CRM_Core_Extensions_Extension.
    *
+   * @param CRM_Extension_Info $obj
+   *
    * @return array
    */
   public static function createExtendedInfo(CRM_Extension_Info $obj) {
index 7b2d97ef45fa80ba0bce4c942bcb45fdd415fe99..a77ccbbe82d4e8c1ea567a59292797117004e551 100644 (file)
@@ -142,6 +142,8 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   /**
    * Browse all jobs.
    *
+   * @param null $action
+   *
    * @return void
    * @access public
    * @static
index 33b7db99b41cccf04a6ce6f71f54d65218ecd2fb..2daba7a5332b9cad8fdd4486af4195668ae3ec1a 100644 (file)
@@ -154,6 +154,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index b3c2fceff8bccbbd94207b59fbcc1262faf361dc..f7460c958e64a49a1fa5a381815a9b231ab5160a 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
 
   public $useLivePageJS = TRUE;
-  
+
   /**
    * The action links that we need to display for the browse screen
    *
@@ -151,6 +151,8 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index adcb704963292e803d70d0fd114187464fdfdbcd..ffadf102253751722ed7efcf9048ef81b4b22e27 100644 (file)
@@ -183,6 +183,8 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index f8aa519d5bae3d4c084403f17ac185839cf7321f..c706baeab4722db0ccc30fe7b130d8a9267abfef 100644 (file)
@@ -322,6 +322,10 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form {
    * This function is used to add the rules (mainly global rules) for form.
    * All local rules are added near the element
    *
+   * @param $fields
+   * @param $files
+   * @param $errors
+   *
    * @return void
    * @access public
    * @see valid_date
index 7f7e209bea66f45a119e78a07ffe85bec3e2657c..bdf9f8324a424cb6b4012d6399483f741c960cca 100755 (executable)
@@ -136,7 +136,11 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
    * the form with a customized title for the main Submit
    *
    * @param string $title title of the main button
-   * @param string $type  button type for the form after processing
+   * @param string $nextType
+   * @param string $backType
+   * @param bool $submitOnce
+   *
+   * @internal param string $type button type for the form after processing
    *
    * @return void
    * @access public
index 9136d61dbf90a1dede9b25c939c16dab0adff7b7..ff519ce89e96d5ec7f23d2af6358a1d83143ea4c 100644 (file)
@@ -205,6 +205,9 @@ class CRM_Campaign_Form_Task_Reserve extends CRM_Campaign_Form_Task {
    *
    * @param array $fields posted values of the form
    *
+   * @param $files
+   * @param $self
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index ac81e4081b08c06f95f5c32eabd4b49c1d81001a..6503d851dcf52512742d22476e424004846710b6 100644 (file)
@@ -198,6 +198,8 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 03148080375fc7deb4cc50be50995d6e1fe32dca..dfdea6cf6f23c6a04b8568c02e910685912d866e 100755 (executable)
@@ -159,8 +159,7 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    * @static
    *
-   * @param boolean $name pseudoconstant to be flushed
-   *
+   * @param bool|string $name pseudoconstant to be flushed
    */
   public static function flush($name = 'cache') {
    if (isset(self::$$name)) {
index 1a8042144ac572cb1cb79adc66309fcbd423b3a4..07a355654bf43e0ae8676d243e1aa36368cdd8d4 100755 (executable)
@@ -198,7 +198,10 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   *
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 16fd0e93f513b3fe02d3856614c970527196cc24..3b361b01544ec424de80b63b67f45f00da3462f3 100644 (file)
@@ -138,10 +138,11 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
    * full featured over a period of time. This is the inverse function of
    * create.  It also stores all the retrieved values in the default array
    *
-   * @param array $params   (reference ) an assoc array of name/value pairs
+   * @param array $params (reference ) an assoc array of name/value pairs
    * @param array $defaults (reference ) an assoc array to hold the name / value pairs
    *                        in a hierarchical manner
-   * @param array $ids      (reference) the array that holds all the db ids
+   *
+   * @internal param array $ids (reference) the array that holds all the db ids
    *
    * @return object CRM_Case_BAO_CaseType object
    * @access public
index 4a49875ac36ff95ddafedd2d1ff065c5c20bfba5..7a563cf9aacd64e645264214e73f43876085cd8a 100644 (file)
@@ -271,6 +271,9 @@ class CRM_Case_Form_Activity_OpenCase {
    *
    * @access public
    *
+   * @param $form
+   * @param $params
+   *
    * @return void
    */
   static function endPostProcess(&$form, &$params) {
index c81c39179dd73c1e9bcc110e684b8183e1340c8f..0b6abd1ff66e91161139a3970317071cdbf036e3 100644 (file)
@@ -316,6 +316,9 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
    *
    * @param array $values posted values of the form
    *
+   * @param $files
+   * @param $form
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index e3161961f76ef0961fef56c5bafd89a549c163c5..5af458ae86ca502af7b988eb8c2f824307e8576f 100644 (file)
@@ -185,9 +185,11 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
    * - View
    * - Edit
    *
+   * @param bool $isDeleted
+   * @param null $key
+   *
    * @return array
    * @access public
-   *
    */
   static
   function &links($isDeleted = FALSE, $key = NULL) {
index dccdaccb53b661bb09291dc70281696d774dcdf1..72fcf7b4512e7233205d3b14bc2701ff2c25e75c 100644 (file)
@@ -116,9 +116,12 @@ LEFT JOIN civicrm_phone ON ( civicrm_phone.contact_id = civicrm_contact.id )
   /**
    * function to get the information to map a contact
    *
-   * @param  array  $ids    the list of ids for which we want map info
+   * @param  array $ids the list of ids for which we want map info
    * $param  int    $locationTypeID
    *
+   * @param null $locationTypeID
+   * @param bool $imageUrlOnly
+   *
    * @return null|string     display name of the contact if found
    * @static
    * @access public
index 5a4a3c55ee999428c0d59ca96f5102a5afa883e3..420ef95fa453daddcc1fade823e5fd98f2e85a65 100644 (file)
@@ -152,8 +152,8 @@ ON DUPLICATE KEY UPDATE
   /**
    * Function to check if there are any contacts in cache table
    *
-   * @param string  $type      the type of operation (view|edit)
-   * @param int     $contactID contact id
+   * @param int|string $type the type of operation (view|edit)
+   * @param int $contactID contact id
    *
    * @return boolean
    * @access public
index 786d2d769fabaf56a3b651c61b3a8bbe5c7aefd0..875b1e20e722eb9758b3f61b4c45df86482fa63f 100644 (file)
@@ -275,8 +275,11 @@ UNION
   /**
    * Create Current employer relationship for a individual
    *
-   * @param int    $contactID        contact id of the individual
-   * @param string $organization     it can be name or id of organization
+   * @param int $contactID contact id of the individual
+   * @param $organizationId
+   * @param null $previousEmployerID
+   *
+   * @internal param string $organization it can be name or id of organization
    *
    * @access public
    * @static
index a76895e6d44902a2cf9543c492df2a6e97b4cd64..ffcfcb752bd8624f7b17bbaa2824cb30a44c9380 100644 (file)
@@ -115,9 +115,10 @@ WHERE  parent_id IS NULL
    *
    *function to  retrieve  all basic contact types.
    *
-   *@return  array of basic contact types
-   *@static
+   * @param bool $all
    *
+   * @return  array of basic contact types
+   * @static
    */
   static function basicTypes($all = FALSE) {
     return array_keys(self::basicTypeInfo($all));
index ce40ccccb39df92b27b5665ffdce827088941ff4..468892b97c6df609046fbd3f169d3c6aa19d7c48 100644 (file)
@@ -272,6 +272,8 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    *
    * @param  int $contactId contact id
    *
+   * @param bool $visibility
+   *
    * @access public
    *
    * @return array $values this array has key-> group id and value group title
index 534af8525a8b3114e00aaadfbb22f52c80cd2bc7..0a6c4665d8e639427329316938b2290855ba0a2e 100644 (file)
@@ -146,6 +146,9 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
    *
    * @param array $fields posted values of the form
    *
+   * @param $files
+   * @param $self
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index 704b102c05cd245b50355267caf23c2da3090140..e8e69aca61a6496ca7fb79b871b468ab3783d0d6 100644 (file)
@@ -182,7 +182,9 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task {
   /**
    * global validation rules for the form
    *
-   * @param array $fields posted values of the form
+   * @param $params
+   *
+   * @internal param array $fields posted values of the form
    *
    * @return array list of errors to be posted back to the form
    * @static
index 5d25dcfc15cf799c4710d22853c863731ed12b24..9f757eaeefe2bbb436187837756d371803e0bffc 100644 (file)
@@ -178,12 +178,12 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task {
   /**
    * This function is to get the result of the search for Add to * forms
    *
-   * @param  array $params  This contains elements for search criteria
+   * @param $form
+   * @param  array $params This contains elements for search criteria
    *
    * @access public
    *
    * @return void
-   *
    */
   function search(&$form, &$params) {
     //max records that will be listed
index b57a182449064af3e43761f54c8d9ad722f19e00..279394e5016c5fe74720fce6ebc739400875922d 100644 (file)
@@ -120,6 +120,8 @@ class CRM_Contact_Form_Task_EmailCommon {
    *
    * @access public
    *
+   * @param $form
+   *
    * @return void
    */
   static function buildQuickForm(&$form) {
index f070479a423b93af3e6be66d55e7964a5d244d59..0e3462d8a39c0b1b5780b24834e63ec92cfb7bca 100644 (file)
@@ -157,6 +157,8 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
    *
    * @access protected
    *
+   * @param $form
+   *
    * @return array the default array reference
    */
   function setDefaultValues($form) {
index 46779777e55719787e60ad594ca2b24e77208cb5..70fdd82071a49ac9d12d2ec33b2ec65c773cf1d4 100644 (file)
@@ -192,6 +192,9 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview {
    *
    * @param array $fields posted values of the form
    *
+   * @param $files
+   * @param $self
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index ed448ea15c2720ff57d29d1c1e4f844b22d1e208..501a45576f8d8ef252294d8e248b4ae713a1ecf0 100644 (file)
@@ -202,6 +202,8 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
   /**
    * Get user context
    *
+   * @param null $mode
+   *
    * @return string  user context
    */
   function userContext($mode = NULL) {
index bb50c5bbeb7c9cea33d7307bc75bf7acb1081f00..6ddea8213c211374892188c0497b6b48e2404bf3 100644 (file)
@@ -204,7 +204,10 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   *
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 1a255d9a4370fba1d4890391902ddf0ddfd0b1ec..d60afb5e0cef6e7540f2f7e33240abbdd5f2131a 100644 (file)
@@ -201,6 +201,8 @@ SELECT r.payment_processor_id
   /**
    * Delete Recurring contribution.
    *
+   * @param $recurId
+   *
    * @return true / false.
    * @access public
    * @static
index 317280e3dcfd5ed81235abc6c335c3a0cf615540..d16051062d7e87fb93926f7debf41082f7b4bf15 100644 (file)
@@ -165,8 +165,9 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @access public
    *
-   * @return void
+   * @param $form
    *
+   * @return void
    */
   static function buildPaymentReminders(&$form) {
     //PaymentReminders section
@@ -184,6 +185,10 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @access public
    *
+   * @param $params
+   * @param $contributionID
+   * @param null $premiumID
+   * @param null $options
    * @return void
    */
   static function processPremium(&$params, $contributionID, $premiumID = NULL, &$options = NULL) {
@@ -268,6 +273,9 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @access public
    *
+   * @param $params
+   * @param $formatted
+   * @param $form
    * @return void
    */
   static function postProcessCommon(&$params, &$formatted, &$form) {
@@ -316,8 +324,10 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @form object  of Contribution form.
    *
-   * @param array  $params (reference ) an assoc array of name/value pairs.
+   * @param $form
+   * @param array $params (reference ) an assoc array of name/value pairs.
    * @$ccContribution boolen,  is it credit card contribution.
+   * @param bool $ccContribution
    * @access public.
    *
    * @return void.
index 15c9fc411d65be6b6e7e0969fa310d86b7894bb2..8d118d6a8bc6a5cfe153ecbe27c4307028499ba5 100644 (file)
@@ -119,8 +119,9 @@ class CRM_Contribute_Form_Contribution_OnBehalfOf {
    * Function to build form for related contacts / on behalf of organization.
    *
    * @param $form              object  invoking Object
-   * @param $contactType       string  contact type
-   * @param $title             string  fieldset title
+   *
+   * @internal param string $contactType contact type
+   * @internal param string $title fieldset title
    *
    * @static
    */
index e0e17d881afff969f125b17d6b27fa6f5a04f839..32cd17749b9f4c24661d4181c6096edf52c9d5d1 100644 (file)
@@ -244,7 +244,7 @@ SELECT id
       if (empty($defaults['amount_label'])) {
         $defaults['amount_label'] = ts('Contribution Amount');
       }
-      
+
       if (!empty($defaults['value']) && is_array($defaults['value'])) {
 
         // CRM-4038: fix value display
@@ -273,9 +273,11 @@ SELECT id
   /**
    * global form rule
    *
-   * @param array $fields  the input form values
-   * @param array $files   the uploaded files if any
-   * @param array $options additional user data
+   * @param array $fields the input form values
+   * @param array $files the uploaded files if any
+   * @param $self
+   *
+   * @internal param array $options additional user data
    *
    * @return true if no errors, else array of errors
    * @access public
@@ -378,11 +380,11 @@ SELECT id
         }
       }
     }
-    
+
     if (!empty($fields['payment_processor']) && $financialType = CRM_Contribute_BAO_Contribution::validateFinancialType($self->_defaultValues['financial_type_id'])) {
-      $errors['payment_processor'] = ts("Financial Account of account relationship of 'Expense Account is' is not configured for Financial Type : ") . $financialType;  
+      $errors['payment_processor'] = ts("Financial Account of account relationship of 'Expense Account is' is not configured for Financial Type : ") . $financialType;
     }
-        
+
     if (!empty($fields['is_recur_interval'])) {
       foreach(array_keys($fields['payment_processor']) as $paymentProcessorID) {
         $paymentProcessorTypeId = CRM_Core_DAO::getFieldValue(
@@ -621,7 +623,7 @@ SELECT id
               $editedResults = array();
 
               CRM_Price_BAO_PriceField::retrieve($editedFieldParams, $editedResults);
-              
+
               if (!$priceFieldID = CRM_Utils_Array::value('id', $editedResults)) {
                 $fieldParams = array(
                   'name' => 'other_amount',
@@ -637,14 +639,14 @@ SELECT id
                 if (!$noContriAmount) {
                   $fieldParams['is_required'] = 1;
                   $fieldParams['option_label'][1] = $fieldParams['label'] = $params['amount_label'];
-                } 
+                }
                 else {
                   $fieldParams['is_required'] = 0;
                   $fieldParams['option_label'][1] = $fieldParams['label'] = 'Other Amount';
                 }
 
                 $priceField = CRM_Price_BAO_PriceField::create($fieldParams);
-              } 
+              }
               else {
                 if (empty($editedResults['is_active'])) {
                   if (!$noContriAmount) {
@@ -660,10 +662,10 @@ SELECT id
                   $priceField = CRM_Price_BAO_PriceField::add($fieldParams);
                 }
               }
-            } 
+            }
             elseif (empty($params['is_allow_other_amount']) && !empty($params['price_field_other'])) {
               CRM_Price_BAO_PriceField::setIsActive($params['price_field_other'], '0');
-            } 
+            }
             elseif ($priceFieldID = CRM_Utils_Array::value('price_field_other', $params)) {
               $priceFieldValueID = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceFieldValue', $priceFieldID, 'id', 'price_field_id');
               if (!$noContriAmount) {
@@ -674,7 +676,7 @@ SELECT id
                 );
                 CRM_Price_BAO_PriceField::add($fieldParams);
                 CRM_Core_DAO::setFieldValue('CRM_Price_DAO_PriceFieldValue', $priceFieldValueID, 'label', $params['amount_label']);
-              } 
+              }
               else {
                 CRM_Core_DAO::setFieldValue('CRM_Price_DAO_PriceField', $priceFieldID, 'is_required', 0 );
                 CRM_Core_DAO::setFieldValue('CRM_Price_DAO_PriceFieldValue', $priceFieldValueID, 'label', 'Other Amount');
index 9d2e4fd92573eceb83071563e918afd153d1f5e6..9c86c2b04f90f23bb0d427a83af85c6cf23d6444 100644 (file)
@@ -162,7 +162,10 @@ class CRM_Contribute_Form_ContributionPage_Custom extends CRM_Contribute_Form_Co
   /**
    * global form rule
    *
-   * @param array $fields  the input form values
+   * @param array $fields the input form values
+   *
+   * @param $files
+   * @param $contributionPageId
    *
    * @return true if no errors, else array of errors
    * @access public
index 26c91318fd877319fbf79918ba926ccc742fad97..f4dc41545ca450fb736db385f52284153bd13239 100644 (file)
@@ -199,6 +199,9 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
+   * @param $files
+   * @param $self
+   *
    * @return mixed true or array of errors
    * @access public
    * @static
index 337eef6ae553d15514b3e2c8491170afae531174..8df54b0c0090e5d27b0216a1a4ee32ce0105a713 100644 (file)
@@ -192,7 +192,10 @@ class CRM_Contribute_Form_SoftCredit {
   /**
    * global form rule
    *
-   * @param array $fields  the input form values
+   * @param array $fields the input form values
+   *
+   * @param $errors
+   * @param $self
    *
    * @return true if no errors, else array of errors
    * @access public
index 0b547b8b688ca82aba91109ca9cc34c27b694173..66cbd3c0d1d42ce214dbef906c85a511001e419d 100644 (file)
@@ -197,7 +197,11 @@ class CRM_Contribute_Form_Task extends CRM_Core_Form {
    * the form with a customized title for the main Submit
    *
    * @param string $title title of the main button
-   * @param string $type  button type for the form after processing
+   * @param string $nextType
+   * @param string $backType
+   * @param bool $submitOnce
+   *
+   * @internal param string $type button type for the form after processing
    *
    * @return void
    * @access public
index 3572fd344a7211f0dad15bbf1822d09ab2aad9c1..486552a0e7f898aa0c4fbd474b31705c9d59f917 100644 (file)
@@ -205,9 +205,11 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form {
   /**
    * global form rule
    *
-   * @param array $fields  the input form values
-   * @param array $files   the uploaded files if any
-   * @param array $options additional user data
+   * @param array $fields the input form values
+   * @param array $files the uploaded files if any
+   * @param $self
+   *
+   * @internal param array $options additional user data
    *
    * @return true if no errors, else array of errors
    * @access public
index 6a5e85da54804e4845eb868d3c70d091ece34e0d..e9e8d3de0c83b5901b559385d92d2f7bd92fdb5c 100644 (file)
@@ -202,6 +202,8 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index b666ffa124ea8547f653967376b9bf9cda7382a6..4f03e3abcec88c14b468244fde898c7a38cf917f 100644 (file)
@@ -119,6 +119,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
+   *
    * @return array - array reference of all financial types if any
    * @static
    */
@@ -190,8 +192,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    * @static
    *
-   * @param boolean $name pseudoconstant to be flushed
-   *
+   * @param bool|string $name pseudoconstant to be flushed
    */
   public static function flush($name = 'cache') {
    if (isset(self::$$name)) {
@@ -272,6 +273,7 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $pageID
    * @return array - array of all Premiums if any
    * @static
    */
@@ -319,6 +321,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
+   * @param string $columnName
    * @return array - array reference of all contribution statuses
    * @static
    */
index 092e2a8611c7366f0ceead93b103b1df2737c478..95adc2f4ea95dcab39a2a1561f566606377f2835 100644 (file)
@@ -158,13 +158,16 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    * Class constructor
    *
    * @param array $queryParams array of parameters for query
-   * @param int   $action - action of search basic or advanced.
-   * @param string   $contributionClause if the caller wants to further restrict the search (used in contributions)
+   * @param \const|int $action - action of search basic or advanced.
+   * @param string $contributionClause if the caller wants to further restrict the search (used in contributions)
    * @param boolean $single are we dealing only with one contact?
-   * @param int     $limit  how many contributions do we want returned
+   * @param int $limit how many contributions do we want returned
    *
-   * @return CRM_Contact_Selector
-   * @access public
+   * @param string $context
+   * @param null $compContext
+   *
+   * @return \CRM_Contribute_Selector_Search
+  @access public
    */
   function __construct(&$queryParams,
     $action             = CRM_Core_Action::NONE,
@@ -264,7 +267,9 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 84b307a5f7e7e3ba5caac9e6c402de1b2c74b6d8..65c264b7f3657a154072a159c1a2983a41983488 100644 (file)
@@ -194,11 +194,15 @@ class CRM_Core_Action {
    * given a set of links and a mask, return the html action string for
    * the links associated with the mask
    *
-   * @param array $links  the set of link items
-   * @param int   $mask   the mask to be used. a null mask means all items
+   * @param array $links the set of link items
+   * @param int $mask the mask to be used. a null mask means all items
    * @param array $values the array of values for parameter substitution in the link items
-   * @param string  $extraULName            enclosed extra links in this UL.
-   * @param boolean $enclosedAllInSingleUL  force to enclosed all links in single UL.
+   * @param string $extraULName enclosed extra links in this UL.
+   * @param boolean $enclosedAllInSingleUL force to enclosed all links in single UL.
+   *
+   * @param null $op
+   * @param null $objectName
+   * @param null $objectId
    *
    * @return string       the html string
    * @access public
index e00f7c674b02411ae197bad6cc631e7170ce2aeb..2a9dda2a05a9aa28e011150830184ac96c47e2fd 100755 (executable)
@@ -275,7 +275,10 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
   /**
    * Retrieve list of Scheduled Reminders
    *
-   * @param bool    $namesOnly    return simple list of names
+   * @param bool $namesOnly return simple list of names
+   *
+   * @param null $entityValue
+   * @param null $id
    *
    * @return array  (reference)   reminder list
    * @static
index 797b7c67afc1f2bf72b7be8b242dbb916512348e..c9bb3402d04eef330bd6a5c25d5ed309f2f626c3 100644 (file)
@@ -212,9 +212,12 @@ class CRM_Core_BAO_Block {
   /**
    * takes an associative array and creates a block
    *
-   * @param string $blockName      block name
-   * @param array  $params         (reference ) an assoc array of name/value pairs
-   * @param array  $requiredFields fields that's are required in a block
+   * @param string $blockName block name
+   * @param array $params (reference ) an assoc array of name/value pairs
+   * @param null $entity
+   * @param null $contactId
+   *
+   * @internal param array $requiredFields fields that's are required in a block
    *
    * @return object       CRM_Core_BAO_Block object on success, null otherwise
    * @access public
index 5faaeebd465b50c1ca8a1141e3ceb263e8fdeac7..15ef3bd6150e2f3fd6e5c0d45e08273e61232111 100644 (file)
@@ -204,6 +204,8 @@ class CRM_Core_BAO_ConfigSetting {
   /**
    * Function to retrieve the settings values from db
    *
+   * @param $defaults
+   *
    * @return array $defaults
    * @static
    */
index 5d6662f51413012f293d57553b5b2d249e01c35e..098b61b1b05824bf0bed4a1930d82353003d33f3 100644 (file)
@@ -157,7 +157,10 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard {
   /**
    * Function to check dashlet permission for current user
    *
-   * @param string permission string
+   * @param $permission
+   * @param $operator
+   *
+   * @internal param \permission $string string
    *
    * @return boolean true if use has permission else false
    */
index 86d0a542d98626ded6a5b892efe8d1c27326ed1b..a3236dd33f82cdb57a50017fa9bfdeefdd825858 100644 (file)
@@ -155,6 +155,9 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
   /**
    * Save the values of a domain
    *
+   * @param $params
+   * @param $id
+   *
    * @return domain array
    * @access public
    */
index 62c7c629ba3a53189f3a7462e10d5f241ab7ea04..45fb90e2d9266c2169c31d37fe365221a615428b 100644 (file)
@@ -136,8 +136,9 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   /**
    * Given an array of entity ids and entity table, add all the entity to the tags
    *
-   * @param array  $entityIds (reference ) the array of entity ids to be added
-   * @param int    $tagId the id of the tag
+   * @param array $entityIds (reference ) the array of entity ids to be added
+   * @param int $tagId the id of the tag
+   * @param string $entityTable
    * @params string $entityTable name of entity table default:civicrm_contact
    *
    * @return array             (total, added, notAdded) count of enities added to tag
@@ -179,8 +180,9 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
   /**
    * Given an array of entity ids and entity table, remove entity(s) tags
    *
-   * @param array  $entityIds (reference ) the array of entity ids to be removed
-   * @param int    $tagId the id of the tag
+   * @param array $entityIds (reference ) the array of entity ids to be removed
+   * @param int $tagId the id of the tag
+   * @param string $entityTable
    * @params string $entityTable name of entity table default:civicrm_contact
    *
    * @return array             (total, removed, notRemoved) count of entities removed from tags
index 2afa4b21590eca83a70f34e8b9ef564193ed5b9a..f36769d949b1b2481cf704ead8bc8435e1adcf53 100644 (file)
@@ -181,8 +181,10 @@ LIMIT 1;";
    * Given an entity_id and entity_table, check for corresponding entity_financial_trxn and financial_trxn record.
    * NOTE: This should be moved to separate BAO for EntityFinancialTrxn when we start adding more code for that object.
    *
-   * @param string $entityTable name of the entity table usually 'civicrm_contact'
-   * @param int $entityID id of the entity usually the contactID.
+   * @param $entity_id
+   *
+   * @internal param string $entityTable name of the entity table usually 'civicrm_contact'
+   * @internal param int $entityID id of the entity usually the contactID.
    *
    * @return array( ) reference $tag array of catagory id's the contact belongs to.
    *
@@ -290,6 +292,7 @@ WHERE lt.entity_id = %1 ";
   /**
    * Delete financial transaction
    *
+   * @param $entity_id
    * @return true on success, false otherwise
    * @access public
    * @static
index a6824490d370210269bd72e6c44074c5b866f969..d2f5c43ea0cbc79847d2c223f938753b35adc72f 100644 (file)
@@ -205,8 +205,10 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
    *
    * @params $mapTypeId string mapping Type
    *
-   * @return boolean
+   * @param $nameField
+   * @param $mapTypeId
    *
+   * @return boolean
    */
   static function checkMapping($nameField, $mapTypeId) {
     $mapping = new CRM_Core_DAO_Mapping();
index b7174f7f9d14fb7dc25f94db8b1183d918cece0f..dca554d4edb21a9e9ac74f867849a2191f363658 100644 (file)
@@ -154,8 +154,7 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation {
    * @param $parentID parent_id of a menu
    * @param $menuID  menu id
    *
-   * @return $weight string
-   * @static
+   * @return int $weight string@static
    */
   static function calculateWeight($parentID = NULL, $menuID = NULL) {
     $domainID = CRM_Core_Config::domainID();
index 7653c60817ff424e1e41838bff155495b08740be..7588525bdf1d26dc6e697a772a869b1bc85d2f5b 100644 (file)
@@ -282,12 +282,10 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
   /**
    * Function to delete the notes
    *
-   * @param int $id  note id
+   * @param int $id note id
    * @param boolean $showStatus do we need to set status or not
    *
-   * @return $return no of deleted notes on success, false otherwise
-   *
-   * @access public
+   * @return mixed|null $return no of deleted notes on success, false otherwise@access public
    * @static
    */
   static function del($id, $showStatus = TRUE) {
index 0c3bfc406a333adde402d8630383ac266b774df8..d6811981af32058e440b9f9ce393362c162c4c90 100644 (file)
@@ -199,10 +199,12 @@ class CRM_Core_BAO_PaperSize extends CRM_Core_DAO_OptionValue {
   /**
    * Get Paper Size field from associative array
    *
-   * @param string              $field         name of a Paper Size field
-   * @param array (reference)   $values        associative array of name/value pairs containing
+   * @param string $field name of a Paper Size field
+   * @param array (reference) $values associative array of name/value pairs containing
    *                                           Paper Size field selections
    *
+   * @param null $default
+   *
    * @return value
    * @access public
    * @static
index 31d9cfdee7c9c93c12d369aaf937cc79e7a50dde..539b2e545473159a64cc0d6e526f5fad58c774bf 100644 (file)
@@ -178,6 +178,8 @@ ORDER BY civicrm_phone.is_primary DESC,  phone_id ASC ";
    * @param array $entityElements the array containing entity_id and
    * entity_table name
    *
+   * @param null $type
+   *
    * @return array  the array of phone ids which are potential numbers
    * @access public
    * @static
index 3f101c395cff1ddb40f34e13c580ba26c2744d69..f19ab824e44d6655feaad58fc5116155da3af2cf 100644 (file)
@@ -179,11 +179,12 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * Retrieve the value of a setting from the DB table
    *
    * @param string $group (required) The group name of the item
-   * @param string $name  (required) The name under which this item is stored
-   * @param int    $componentID The optional component ID (so componenets can share the same name space)
+   * @param string $name (required) The name under which this item is stored
+   * @param int $componentID The optional component ID (so componenets can share the same name space)
    * @param string $defaultValue The default value to return for this setting if not present in DB
-   * @param int    $contactID    If set, this is a contactID specific setting, else its a global setting
-
+   * @param int $contactID If set, this is a contactID specific setting, else its a global setting
+   *
+   * @param null $domainID
    *
    * @return object The data if present in the setting table, else null
    * @static
index e600d22c496c423e4e6bd7132649a15596e81cf7..7395d7366b12083e4afac106ed9e0515f2f25a9f 100644 (file)
@@ -128,8 +128,10 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   /**
    * get all the registration fields
    *
-   * @param int $action   what action are we doing
-   * @param int $mode     mode
+   * @param int $action what action are we doing
+   * @param int $mode mode
+   *
+   * @param null $ctype
    *
    * @return array the fields that are needed for registration
    * @static
@@ -181,12 +183,15 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
   /**
    * get all the listing fields
    *
-   * @param int     $action            what action are we doing
-   * @param int     $visibility        visibility of fields we are interested in
-   * @param bool    $considerSelector  whether to consider the in_selector parameter
-   * @param array   $ufGroupIds
+   * @param int $action what action are we doing
+   * @param int $visibility visibility of fields we are interested in
+   * @param bool $considerSelector whether to consider the in_selector parameter
+   * @param array $ufGroupIds
    * @param boolean $searchable
    *
+   * @param null $restrict
+   * @param bool $skipPermission
+   * @param int $permissionType
    * @return array   the fields that are listings related
    * @static
    * @access public
index 7f93736430ea19f590b85ad524f50a76a952bb5b..050502c14a06a627791d074da0cbce864a2ea9e8 100644 (file)
@@ -161,6 +161,8 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
    *
    * @param int $id the contact id
    *
+   * @param bool $updateBlankLocInfo
+   *
    * @return array  the array of website details
    * @access public
    * @static
index f2a71281bedb57c8fba2c54847dc726f131c52e4..bbf5ec6e52fb19465a4417cd1496aa651c69587a 100644 (file)
@@ -185,6 +185,9 @@ class CRM_Core_Block {
    * @params int    $id        one of the class constants (ADD, SEARCH, etc.)
    * @params string $property  the desired property
    *
+   * @param $id
+   * @param $property
+   *
    * @return string  the value of the desired property
    */
   static function getProperty($id, $property) {
@@ -201,6 +204,9 @@ class CRM_Core_Block {
    * @params string $property  the desired property
    * @params string $value     the value of the desired property
    *
+   * @param $id
+   * @param $property
+   * @param $value
    * @return void
    */
   static function setProperty($id, $property, $value) {
index 2d0b1b47766a32220d83f6f1f17f30d7b036f3fa..4a0f2098780914a25941886daf61fd4c71a4ec17 100644 (file)
@@ -156,16 +156,22 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
   /**
    * All CRM single or multi page pages should inherit from this class.
    *
-   * @param string  title        descriptive title of the controller
-   * @param boolean whether      controller is modal
-   * @param string  scope        name of session if we want unique scope, used only by Controller_Simple
-   * @param boolean addSequence  should we add a unique sequence number to the end of the key
-   * @param boolean ignoreKey    should we not set a qfKey for this controller (for standalone forms)
+   * @param null $title
+   * @param bool $modal
+   * @param null $mode
+   * @param null $scope
+   * @param bool $addSequence
+   * @param bool $ignoreKey
+   *
+   * @internal param \title $string descriptive title of the controller
+   * @internal param \whether $boolean controller is modal
+   * @internal param \scope $string name of session if we want unique scope, used only by Controller_Simple
+   * @internal param \addSequence $boolean should we add a unique sequence number to the end of the key
+   * @internal param \ignoreKey $boolean should we not set a qfKey for this controller (for standalone forms)
    *
    * @access public
    *
-   * @return void
-   *
+   * @return \CRM_Core_Controller
    */
   function __construct(
     $title = NULL,
index 9d0bcc6a4ec8af3e636d92bd9415343137714c38..683657a9f6218576530eee672cf6305a242ff582 100644 (file)
@@ -176,6 +176,8 @@ class CRM_Core_DAO extends DB_DataObject {
   /**
    * Factory method to instantiate a new object from a table name.
    *
+   * @param string $table
+   *
    * @return void
    * @access public
    */
index 6bb19371ad8861a06af21dfa0f4198f3bad0cc30..2e70c14678595de354d8aa1a8b2b099a63fdbaeb 100644 (file)
@@ -197,16 +197,17 @@ Class CRM_Core_Form_Date {
   /**
    * This function is to build the date range - relative or absolute
    *
-   * @param CRM_Core_Form  $form   the form object that we are operating on
+   * @param CRM_Core_Form $form the form object that we are operating on
    * @param string $fieldName
    * @param Array $selector array of option values to add
-   * @param integer $count
-   * @param string $from
-   * @param stringe $to
    * @param string $from Label
+   * @param string|\stringe $to
+   * @param string $fromLabel
    * @param boolean $required
    * @param string $dateFormat
    * @param boolean $displayTime
+   *
+   * @internal param int $count
    * @return null
    */
   static function addDateRangeToForm(&$form, $fieldName, $selector, $from = '_from', $to = '_to', $fromLabel = 'From:', $required = FALSE, $dateFormat = 'searchDate', $displayTime = FALSE) {
index a4f6ea2c55fa48480ccb44717dae7a48b3e83eb5..8617953a3d720b78f50bb3b035977621a432a0c6 100644 (file)
@@ -157,6 +157,8 @@ class CRM_Core_I18n_Schema {
    * @param $table  string  the table containing the column
    * @param $class  string  schema structure class to use to recreate indices
    *
+   * @param array $triggers
+   *
    * @return void
    */
   static function makeSinglelingualTable(
index be06a3e487e94b3151ef75dcc60a08a61167fcfb..734fbb5e1ad7252037bb7ed8619d5f58eac7b334 100644 (file)
@@ -163,6 +163,7 @@ WHERE  v.option_group_id = g.id
    * @param $condition
    * @param $labelColumnName
    * @param $onlyActive
+   * @param string $keyColumnName
    */
   protected static function flushValues($name, $flip, $grouping, $localize, $condition, $labelColumnName, $onlyActive, $keyColumnName = 'value') {
     $cacheKey = self::createCacheKey($name, $flip, $grouping, $localize, $condition, $labelColumnName, $onlyActive, $keyColumnName);
@@ -189,6 +190,9 @@ WHERE  v.option_group_id = g.id
    * @param $localize   boolean if true, localize the results before returning
    * @param $labelColumnName string the column to use for 'label'
    *
+   * @param bool $onlyActive
+   * @param bool $fresh
+   *
    * @return array      the values as specified by the above params
    * @static
    * @void
index f2498e3ae7343e031b7b5db17db9441fdaf30f26..ff29d5ae931200105c167ee8da54ac3b5204169d 100644 (file)
@@ -240,10 +240,11 @@ class CRM_Core_OptionValue {
   /**
    * Check if there is a record with the same name in the db
    *
-   * @param string $value     the value of the field we are checking
-   * @param string $daoName   the dao object name
-   * @param string $daoID     the id of the object being updated. u can change your name
+   * @param string $value the value of the field we are checking
+   * @param string $daoName the dao object name
+   * @param string $daoID the id of the object being updated. u can change your name
    *                          as long as there is no conflict
+   * @param $optionGroupID
    * @param string $fieldName the name of the field in the DAO
    *
    * @return boolean     true if object exists
@@ -266,11 +267,14 @@ class CRM_Core_OptionValue {
   /**
    * Check if there is a record with the same name in the db
    *
-   * @param string $value     the value of the field we are checking
-   * @param string $daoName   the dao object name
-   * @param string $daoID     the id of the object being updated. u can change your name
+   * @param string $mode
+   * @param string $contactType
+   *
+   * @internal param string $value the value of the field we are checking
+   * @internal param string $daoName the dao object name
+   * @internal param string $daoID the id of the object being updated. u can change your name
    *                          as long as there is no conflict
-   * @param string $fieldName the name of the field in the DAO
+   * @internal param string $fieldName the name of the field in the DAO
    *
    * @return boolean     true if object exists
    * @access public
index 8b1c74e52591abf53ca00088d50e3aa829192ee3..9d7613c4f87b34c5c9e1eb4e0f3528d903ba5e5a 100644 (file)
@@ -312,9 +312,10 @@ class CRM_Core_Page {
   /**
    * assign value to name in template by reference
    *
-   * @param array|string $name  name  of variable
+   * @param $var
    * @param mixed $value (reference) value of varaible
    *
+   * @internal param array|string $name name  of variable
    * @return void
    * @access public
    */
index d0632397c490d9bd69fc6d93c9924c3ce2328c4a..a43791731b0011e0ce7e0d89fa27498b2e1dc30f 100644 (file)
@@ -192,7 +192,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
   /**
    * browse all entities.
    *
-   * @param int $action
+   * @internal param int $action
    *
    * @return void
    * @access public
@@ -284,10 +284,12 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
    * actions
    *
    * @param CRM_Core_DAO $object the object being considered
-   * @param int     $action the base set of actions
-   * @param array   $values the array of values that we send to the template
-   * @param array   $links  the array of links
-   * @param string  $permission the permission assigned to this object
+   * @param int $action the base set of actions
+   * @param array $values the array of values that we send to the template
+   * @param array $links the array of links
+   * @param string $permission the permission assigned to this object
+   *
+   * @param bool $forceAction
    *
    * @return void
    * @access private
index 2595d18a9f5f75dcd55c5e76c5b13215cd7d5630..e2f67d2c542f9790876a91b2e405c0dd14dcaf90 100644 (file)
@@ -193,6 +193,8 @@ class CRM_Core_Payment_Form {
   /**
    * create all fields needed for direct debit transaction
    *
+   * @param $form
+   *
    * @return void
    * @access public
    */
@@ -313,6 +315,8 @@ class CRM_Core_Payment_Form {
   /**
    * Function to add all the direct debit fields
    *
+   * @param $form
+   * @param bool $useRequired
    * @return void
    * @access public
    */
index 3e1de6f7aaff31b3b618b6044514dbfa8f9b9d40..cc05ff780e04ce841e7297d52c74c521a962c783 100644 (file)
@@ -181,7 +181,9 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
   /**
    * do the express checkout at paypal. Check PayPal documentation for more information
    *
-   * @param  string $token the key associated with this transaction
+   * @param $params
+   *
+   * @internal param string $token the key associated with this transaction
    *
    * @return array the result in an nice formatted array (or an error object)
    * @public
@@ -290,6 +292,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
    *
    * @param  array $params assoc array of input parameters for this transaction
    *
+   * @param string $component
    * @return array the result in an nice formatted array (or an error object)
    * @public
    */
index fc40a9889885fd23d13cd8a8867b7c9cb44e76eb..fc5245ae4311bf23da729aa2d699720795303276 100644 (file)
@@ -188,14 +188,13 @@ class CRM_Core_Permission {
    * Get all groups from database, filtered by permissions
    * for this user
    *
-   * @param string $groupType     type of group(Access/Mailing)
-   * @param boolen $excludeHidden exclude hidden groups.
+   * @param string $groupType type of group(Access/Mailing)
+   * @param bool|\boolen $excludeHidden exclude hidden groups.
    *
    * @access public
    * @static
    *
    * @return array - array reference of all groups.
-   *
    */
   public static function group($groupType, $excludeHidden = TRUE) {
     $config = CRM_Core_Config::singleton();
index a8dd2af914146a0c8418cc4dd3c68d3904c726a0..2b14cb61cc2c7cbbe055df563d78bc3a43fa1a50 100644 (file)
@@ -196,6 +196,8 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
    * Get the permissions defined in the hook_civicrm_permission implementation
    * of the given module.
    *
+   * @param $module
+   *
    * @return Array of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
    */
   static function getModulePermissions($module) {
index 119219fe581071a05e2d5d3c0cc6e50258e9d7d2..09c7ff4ed11750c64d3eabea4a031bdecdaf76de 100644 (file)
@@ -184,16 +184,20 @@ class CRM_Core_Selector_Controller {
   /**
    * Class constructor
    *
-   * @param CRM_Core_Selector_API $object  an object that implements the selector API
-   * @param int               $pageID  default pageID
-   * @param int               $sortID  default sortID
-   * @param int               $action  the actions to potentially support
-   * @param CRM_Core_Page|CRM_Core_Form $store   place in session to store some values
-   * @param int               $output  what do we so with the output, session/template//both
-   *
-   * @return Object
-   * @access public
-   */ function __construct($object, $pageID, $sortID, $action, $store = NULL, $output = self::TEMPLATE, $prefix = NULL, $case = NULL) {
+   * @param CRM_Core_Selector_API $object an object that implements the selector API
+   * @param int $pageID default pageID
+   * @param int $sortID default sortID
+   * @param int $action the actions to potentially support
+   * @param CRM_Core_Page|CRM_Core_Form $store place in session to store some values
+   * @param int $output what do we so with the output, session/template//both
+   *
+   * @param null $prefix
+   * @param null $case
+   *
+   * @return \CRM_Core_Selector_Controller
+  @access public
+   */
+  function __construct($object, $pageID, $sortID, $action, $store = NULL, $output = self::TEMPLATE, $prefix = NULL, $case = NULL) {
 
     $this->_object = $object;
     $this->_pageID = $pageID ? $pageID : 1;
index e3fbee9c533ad3061e6d07dc4a5e9523bb41ccf9..6eee623293998510a2d47ac0733d1da728fd3e33 100644 (file)
@@ -320,6 +320,8 @@ abstract class CRM_Custom_Import_Parser extends CRM_Contact_Import_Parser {
    *
    * @param CRM_Core_Session $store
    *
+   * @param int $mode
+   *
    * @return void
    * @access public
    */
index 25cb835e0aab27f50512d3eaecfb650fd63693bb..0f75239f05bf3fceac40b4955059768bb1027875 100644 (file)
@@ -153,8 +153,10 @@ class CRM_Event_Badge {
   /**
    * function to create labels (pdf)
    *
-   * @param   array    $contactRows   assciated array of contact data
-   * @param   string   $format   format in which labels needs to be printed
+   * @param $participants
+   *
+   * @internal param array $contactRows assciated array of contact data
+   * @internal param string $format format in which labels needs to be printed
    *
    * @return  null
    * @access  public
index 3424d9d5c827ea5f84a4bda8d6e590647a026c18..ab4b017397bfc626c0a76779f160c510ab6ced04 100644 (file)
@@ -239,7 +239,9 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent {
   /**
    * global validation rules for the form
    *
-   * @param array $fields posted values of the form
+   * @param $values
+   *
+   * @internal param array $fields posted values of the form
    *
    * @return array list of errors to be posted back to the form
    * @static
index 7f8237f0c1903cc492801f7f132f3c7431557b22..ef56b06b77d90a1578407fa6675563bc664d3583 100644 (file)
@@ -320,7 +320,9 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
   /**
    * Function to build Registration Block
    *
-   * @param int $pageId
+   * @param $form
+   *
+   * @internal param int $pageId
    * @static
    */
   function buildRegistrationBlock(&$form) {
index 1e2c8eec1251b8fd04ffa569a28cb68302484912..f32c5091fcea1cfccf3918e1109ac66caeed2be0 100644 (file)
@@ -156,7 +156,11 @@ class CRM_Event_Form_Task extends CRM_Core_Form {
    * the form with a customized title for the main Submit
    *
    * @param string $title title of the main button
-   * @param string $type  button type for the form after processing
+   * @param string $nextType
+   * @param string $backType
+   * @param bool $submitOnce
+   *
+   * @internal param string $type button type for the form after processing
    *
    * @return void
    * @access public
index c704c1519c0b5d102c06d31a8e75fbb831d139ab..d627202322a54aa7294e6ffe8e478e7a2dd405c9 100644 (file)
@@ -284,6 +284,9 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField {
    *
    * @param array $fields posted values of the form
    *
+   * @param $files
+   * @param $self
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index 10fec2fb4a5fdb4b62fde8628173708bf2b386f0..39536722add33c66de1a9f6b5a52a87692c84596 100644 (file)
@@ -185,6 +185,9 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
+   * @param null $cond
+   *
    * @return array - array reference of all participant roles if any
    * @static
    */
@@ -238,6 +241,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
    * @return array - array reference of all event types.
    * @static
    */
@@ -284,8 +288,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    * @static
    *
-   * @param boolean $name pseudoconstant to be flushed
-   *
+   * @param bool|string $name pseudoconstant to be flushed
    */
   public static function flush($name = 'cache') {
    if (isset(self::$$name)) {
@@ -298,6 +301,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
    * @return array - array reference of all pcp if any
    * @static
    */
index 39b46c62d2b184ccfddd0bd814aeebe4f7ae4bb5..e3634558cc1fa3de40bc740ff3be195cc91627a2 100644 (file)
@@ -151,14 +151,17 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   /**
    * Class constructor
    *
-   * @param array   $queryParams array of parameters for query
-   * @param int     $action - action of search basic or advanced.
-   * @param string  $eventClause if the caller wants to further restrict the search (used in participations)
+   * @param array $queryParams array of parameters for query
+   * @param \const|int $action - action of search basic or advanced.
+   * @param string $eventClause if the caller wants to further restrict the search (used in participations)
    * @param boolean $single are we dealing only with one contact?
-   * @param int     $limit  how many participations do we want returned
+   * @param int $limit how many participations do we want returned
    *
-   * @return CRM_Contact_Selector
-   * @access public
+   * @param string $context
+   * @param null $compContext
+   *
+   * @return \CRM_Event_Selector_Search
+  @access public
    */
   function __construct(&$queryParams,
     $action      = CRM_Core_Action::NONE,
index 3d808e84fc99f0feab0853ed45d0f508a92bd914..3f166c87cce4b3d9ae7e3b75c09e14dade9e1b11 100644 (file)
@@ -186,6 +186,9 @@ class CRM_Extension_Downloader {
   /**
    * Validate that $extractedZipPath contains valid for extension $key
    *
+   * @param $key
+   * @param $extractedZipPath
+   *
    * @return bool
    */
   function validateFiles($key, $extractedZipPath) {
index f457ae2de3ffb73e3997138897213d461d22d934..9f1b81adc733539dbdcb7877c8c67df0cdc4d078 100644 (file)
@@ -176,7 +176,9 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base {
    * Function to run hooks in the payment processor class
    * Load requested payment processor and call the method specified.
    *
+   * @param CRM_Extension_Info $info
    * @param string $method - the method to call in the payment processor class
+   *
    * @private
    */
   private function _runPaymentHook(CRM_Extension_Info $info, $method) {
index 9d98426c402923897213990cf364c5ee001f061b..2f2b05d514c6058a225488653c511d0d69e44b34 100644 (file)
@@ -160,6 +160,8 @@ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAcco
    *
    * @financialTypeId int      Financial Type Id
    *
+   * @param $financialTypeId
+   *
    * @return accounting code
    * @static
    */
@@ -185,7 +187,7 @@ WHERE cft.id = %1
    *
    * @param $financialAccountTypeId financial account type id
    *
-   * @param $accountTypeCode account type code
+   * @param \account|string $accountTypeCode account type code
    *
    * @return integer count
    * @static
index a856e1d59078b67c6d2413674aad75958ed24e37..2427c08aecf55fc91614f00f37132587fc885754 100644 (file)
@@ -175,9 +175,11 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
   /**
    * retrive entity financial trxn details
    *
-   * @param array  $params (reference ) an assoc array of name/value pairs
+   * @param array $params (reference ) an assoc array of name/value pairs
+   *
+   * @param bool $maxId
    *
-   * @param boolean $maxID to retrive max id
+   * @internal param bool $maxID to retrive max id
    *
    * @return array
    * @access public
index 69bc61bb86e7729adc518b5fef613b8f4d475db8..37c596e6946913e6177d63f3cbca78ce14211678 100644 (file)
@@ -273,10 +273,11 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
   /**
    * Function to retrieve payment processor id / info/ object based on component-id.
    *
-   * @param int    $componentID id of a component
-   * @param string $component   component
-   * @param string $type        type of payment information to be retrieved
+   * @param $entityID
+   * @param string $component component
+   * @param string $type type of payment information to be retrieved
    *
+   * @internal param int $componentID id of a component
    * @return id / array / object based on type
    * @static
    * @access public
index 0cf5152df30e60b296ba3b47b82775918b128c46..a04b33276fdbd33cfd06eba40e5918cdcc4d2d42 100644 (file)
@@ -134,7 +134,11 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
   /**
    * global validation rules for the form
    *
-   * @param array $fields posted values of the form
+   * @param $values
+   * @param $files
+   * @param $self
+   *
+   * @internal param array $fields posted values of the form
    *
    * @return array list of errors to be posted back to the form
    * @static
index 5bdef512c9af88efc2b8e3aeb01f8eefca9fd3de..4bed5d72f63ffeed25fe1d1c72fa4496b94e7d61 100644 (file)
@@ -293,7 +293,13 @@ class CRM_Financial_Form_FinancialBatch extends CRM_Contribute_Form {
   /**
    * global validation rules for the form
    *
-   * @param array $fields posted values of the form
+   * @param $action
+   * @param $permissions
+   * @param $createdID
+   * @param $userContactID
+   * @param $actionName
+   *
+   * @internal param array $fields posted values of the form
    *
    * @return array list of errors to be posted back to the form
    * @static
index a9973298cd01a14c5aaa880abbb7b573cb0cb66f..54072149a5c40b15aea0b7cdc27db558389f880f 100644 (file)
@@ -188,6 +188,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = null) {
index 7d34c59ac8a0ded108521a8a7cac19cafa5cae26..57c94d7a3fd4e4d05cc6b9432e241915ab10fe2a 100644 (file)
@@ -205,12 +205,14 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
   /**
    * Get rows for the event browser
    *
-   * @param int $mailing_id       ID of the mailing
-   * @param int $job_id           optional ID of the job
-   * @param boolean $is_distinct  Group by queue id?
-   * @param int $offset           Offset
-   * @param int $rowCount         Number of rows
-   * @param array $sort           sort array
+   * @param int $mailing_id ID of the mailing
+   * @param int $job_id optional ID of the job
+   * @param boolean $is_distinct Group by queue id?
+   * @param int $offset Offset
+   * @param int $rowCount Number of rows
+   * @param array $sort sort array
+   *
+   * @param null $contact_id
    *
    * @return array                Result set
    * @access public
index 42fd9f192320bc9bf83f76acb8f5105d14ca7df3..3cc24d70cb15860c826ca57597ddf93c01bf2392 100644 (file)
@@ -155,7 +155,9 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
    * CRM-12814
    * Get tracked url count for each mailing for a given set of mailing IDs
    *
-   * @param int $contactID  ID of the mailing
+   * @param $mailingIDs
+   *
+   * @internal param int $contactID ID of the mailing
    *
    * @return array          trackable url count per mailing ID
    * @access public
index 3dcd9055b6e2611411754362d8dbe089561e6c84..11a5f4658cba9b64e96f2064ef70016855003363 100644 (file)
@@ -189,7 +189,10 @@ class CRM_Mailing_Form_Schedule extends CRM_Core_Form {
    * Warning: if you make changes here, be sure to also make them in
    * Retry.php
    *
-   * @param array $params     The form values
+   * @param array $params The form values
+   *
+   * @param $files
+   * @param $self
    *
    * @return boolean          True if either we deliver immediately, or the
    *                          date is properly set.
index 63ab92481552033a30f6e1baa9eccf7bc8f82aac..5e92f7f63907b4f07524228c051905347c58f812 100644 (file)
@@ -154,6 +154,8 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $mode
+   *
    * @return array - array reference of all mailing templates if any
    * @static
    */
@@ -211,8 +213,7 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    * @static
    *
-   * @param boolean $name pseudoconstant to be flushed
-   *
+   * @param bool|string $name pseudoconstant to be flushed
    */
   public static function flush($name = 'template') {
    if (isset(self::$$name)) {
index 607d143025536163c3a243adc753ca4b395f3533..91036a8df7c76fe6cf05587eedbaf862432da630 100644 (file)
@@ -117,7 +117,10 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   *
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 91a838ed65f57ee9e3aac492c71cf5f980424cd3..1f6cc4854095d33dc8be24de44cbe170a9e4c40d 100644 (file)
@@ -142,13 +142,16 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
    * Class constructor
    *
    * @param array $queryParams array of parameters for query
-   * @param int   $action - action of search basic or advanced.
-   * @param string   $mailingClause if the caller wants to further restrict the search
+   * @param \const|int $action - action of search basic or advanced.
+   * @param string $mailingClause if the caller wants to further restrict the search
    * @param boolean $single are we dealing only with one contact?
-   * @param int     $limit  how many mailing do we want returned
+   * @param int $limit how many mailing do we want returned
    *
-   * @return CRM_Contact_Selector
-   * @access public
+   * @param string $context
+   * @param null $compContext
+   *
+   * @return \CRM_Mailing_Selector_Search
+  @access public
    */
   function __construct(&$queryParams,
     $action = CRM_Core_Action::NONE,
index 0ba28147042663f850941d40fe736517cbac6558..6d892109df2ca564fa564326403e0a43904dcb5a 100644 (file)
@@ -208,16 +208,17 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
   /**
    * Function to find the membership status based on start date, end date, join date & status date.
    *
-   * @param  date    $startDate      start date of the member whose membership status is to be calculated.
-   * @param  date    $endDate        end date of the member whose membership status is to be calculated.
-   * @param  date    $joinDate       join date of the member whose membership status is to be calculated.
-   * @param  date    $statusDate     status date of the member whose membership status is to be calculated.
+   * @param  date $startDate start date of the member whose membership status is to be calculated.
+   * @param  date $endDate end date of the member whose membership status is to be calculated.
+   * @param  date $joinDate join date of the member whose membership status is to be calculated.
+   * @param \date|string $statusDate status date of the member whose membership status is to be calculated.
    * @param  boolean $excludeIsAdmin exclude the statuses those having is_admin = 1
-   * @param integer $membershipType membership type id - passed to the hook
+   * @param $membershipTypeID
    * @param array $membership membership params as available to calling function - passed to the hook
    *
-   * @return
-   * @static
+   * @internal param int $membershipType membership type id - passed to the hook
+   * @return array
+  @static
    */
   static function getMembershipStatusByDate($startDate, $endDate, $joinDate,
     $statusDate = 'today', $excludeIsAdmin = FALSE, $membershipTypeID, $membership = array()
index 99ee45ae8774d04519a5e02f14a8ac2b8391ecdc..6c2b5159c69e91fdd2a269ca49a7f89059236287 100644 (file)
@@ -275,10 +275,11 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType {
   /**
    * Function to calculate start date and end date for new membership
    *
-   * @param int  $membershipTypeId membership type id
+   * @param int $membershipTypeId membership type id
    * @param date $joinDate member since ( in mysql date format )
    * @param date $startDate start date ( in mysql date format )
-   * @param int  $numRenewTerms    how many membership terms are being added to end date (default is 1)
+   * @param null $endDate
+   * @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
    * @static
index 3448b5e098814d37a806a61ae4070ce28fbbd89c..055b2acfabad6ca10215f47592743d36841bec79 100644 (file)
@@ -202,6 +202,9 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
+   * @param $files
+   * @param null $contributionPageId
+   *
    * @return mixed true or array of errors
    * @access public
    * @static
index 3d221357a0d1105b4aa3211d7784fba2610e997d..238ac0d27afebc8ed09a619c2841857e0b19be12 100644 (file)
@@ -163,7 +163,11 @@ class CRM_Member_Form_Task extends CRM_Core_Form {
    * the form with a customized title for the main Submit
    *
    * @param string $title title of the main button
-   * @param string $type  button type for the form after processing
+   * @param string $nextType
+   * @param string $backType
+   * @param bool $submitOnce
+   *
+   * @internal param string $type button type for the form after processing
    *
    * @return void
    * @access public
index 85bdb4b27f8ebf527b1b1fe6d1d89a606cd3e590..16e9d9e74c771d91f57e0d507e522c22784eb952 100644 (file)
@@ -203,6 +203,8 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 839bce7ebb983366599ce990958947bf9e98b583..434923bac1f3b992b33713aac3db8d86a7129ebb 100644 (file)
@@ -130,8 +130,7 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    * @access public
    * @static
    *
-   * @param boolean $name pseudoconstant to be flushed
-   *
+   * @param bool|string $name pseudoconstant to be flushed
    */
   public static function flush($name = 'cache') {
    if (isset(self::$$name)) {
index 9bfcba1ac6e10d20a9b89cdc77c5e2f177f3e83b..0af982a8899bd591cfa31dac7433271ab623b1c9 100644 (file)
@@ -186,9 +186,15 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
    * - View
    * - Edit
    *
+   * @param string $status
+   * @param null $isPaymentProcessor
+   * @param null $accessContribution
+   * @param null $qfKey
+   * @param null $context
+   * @param bool $isCancelSupported
+   *
    * @return array
    * @access public
-   *
    */
   static
   function &links($status = 'all',
@@ -271,7 +277,9 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index 228b4cae3369b34224e8634fd2ec3001415dc886..f0e52d80f2beab98b668437e18e0d5baf813ebe4 100644 (file)
@@ -194,6 +194,9 @@ class CRM_PCP_Form_PCP extends CRM_Core_Form {
    *
    * @param array $fields posted values of the form
    *
+   * @param $files
+   * @param $form
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index dd4f470070d01ea567aae85cc6b306171f65fcac..e012375d5ffc68d73945c2a7b9f646da5cac79dd 100644 (file)
@@ -161,6 +161,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic {
    * Browse all custom data groups.
    *
    *
+   * @param null $action
+   *
    * @return void
    * @access public
    * @static
index a9700120e9374efa40ce374fed2299a3262b57b1..99e0b3f7604d3cdc54284c297b353d1effc00666 100644 (file)
@@ -238,7 +238,10 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base {
   /**
    * getter for array of the parameters required for creating pager.
    *
-   * @param
+   * @param $action
+   * @param $params
+   *
+   * @internal param $
    * @access public
    */
   function getPagerParams($action, &$params) {
index baec5e9257360582d48be6794b953db901facfda..91379a00f5c918ba6e978e718e98a4c268652b77 100644 (file)
@@ -157,8 +157,8 @@ WHERE       ps.name = '{$entityName}'
   /**
    * Return a list of all forms which use this price set.
    *
-   * @param int  $id id of price set
-   * @param str  $simpleReturn - get raw data. Possible values: 'entity', 'table'
+   * @param int $id id of price set
+   * @param bool|\str $simpleReturn - get raw data. Possible values: 'entity', 'table'
    *
    * @return array
    */
index 8495bfa731fdb5cbcaa2e4bdef238a056ff9278d..aa75b11bf57b32fe5630539daf327f9c58d5b611 100644 (file)
@@ -178,7 +178,9 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   /**
    * Return an item that could not be processed
    *
-   * @param $dao object The item returned by claimItem
+   * @param The $item
+   *
+   * @internal param object $dao The item returned by claimItem
    *
    * @return bool
    */
index 50c93c594a8d24def870411fced356911c770cd4..0b99a5ca288f2ddc9613847f2f7d4179e8821236 100644 (file)
@@ -204,6 +204,8 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index b6d33ea459d1530aaf0ba1ad01bdfe5d514c644b..7491ab30fe4568921c41ae35d5bd080b95ce431e 100644 (file)
@@ -182,6 +182,8 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {