bulk comment fixes
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 9 May 2014 01:09:44 +0000 (13:09 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 9 May 2014 01:09:44 +0000 (13:09 +1200)
113 files changed:
CRM/Activity/BAO/Activity.php
CRM/Activity/Selector/Activity.php
CRM/Activity/Selector/Search.php
CRM/Admin/Form/PaymentProcessorType.php
CRM/Admin/Page/CaseType.php
CRM/Admin/Page/JobLog.php
CRM/Admin/Page/LabelFormats.php
CRM/Admin/Page/Mapping.php
CRM/Admin/Page/Navigation.php
CRM/Admin/Page/Options.php
CRM/Admin/Page/PaymentProcessorType.php
CRM/Admin/Page/PdfFormats.php
CRM/Admin/Page/PreferencesDate.php
CRM/Badge/BAO/Badge.php
CRM/Campaign/BAO/Query.php
CRM/Campaign/BAO/Survey.php
CRM/Campaign/PseudoConstant.php
CRM/Campaign/Selector/Search.php
CRM/Case/Form/Activity/ChangeCaseStartDate.php
CRM/Case/Form/Activity/ChangeCaseStatus.php
CRM/Case/Form/Activity/LinkCases.php
CRM/Case/Form/Activity/OpenCase.php
CRM/Case/Form/Task.php
CRM/Case/Selector/Search.php
CRM/Contact/BAO/Contact.php
CRM/Contact/BAO/Contact/Permission.php
CRM/Contact/BAO/ContactType.php
CRM/Contact/BAO/GroupNesting.php
CRM/Contact/BAO/Relationship.php
CRM/Contact/Form/Edit/Address.php
CRM/Contact/Form/Inline/Lock.php
CRM/Contact/Form/Task/ProximityCommon.php
CRM/Contact/Form/Task/SMSCommon.php
CRM/Contact/Import/Form/MapField.php
CRM/Contribute/BAO/ContributionRecur.php
CRM/Contribute/BAO/ContributionSoft.php
CRM/Contribute/BAO/Query.php
CRM/Contribute/Form/AdditionalInfo.php
CRM/Contribute/Form/Contribution/OnBehalfOf.php
CRM/Contribute/Form/ContributionPage/Settings.php
CRM/Contribute/Form/ManagePremiums.php
CRM/Contribute/Form/SoftCredit.php
CRM/Contribute/Page/Premium.php
CRM/Contribute/PseudoConstant.php
CRM/Contribute/Task.php
CRM/Core/BAO/ConfigSetting.php
CRM/Core/BAO/CustomGroup.php
CRM/Core/BAO/CustomOption.php
CRM/Core/BAO/Discount.php
CRM/Core/BAO/Email.php
CRM/Core/BAO/EntityTag.php
CRM/Core/BAO/FinancialTrxn.php
CRM/Core/BAO/LocationType.php
CRM/Core/BAO/Log.php
CRM/Core/BAO/MessageTemplate.php
CRM/Core/BAO/OptionValue.php
CRM/Core/BAO/Phone.php
CRM/Core/BAO/Setting.php
CRM/Core/BAO/Website.php
CRM/Core/BAO/WordReplacement.php
CRM/Core/Block.php
CRM/Core/Component/Info.php
CRM/Core/Config/Defaults.php
CRM/Core/DAO.php
CRM/Core/Error.php
CRM/Core/Form.php
CRM/Core/Payment/BaseIPN.php
CRM/Core/Payment/Dummy.php
CRM/Core/Payment/Elavon.php
CRM/Core/Payment/Form.php
CRM/Core/Payment/GoogleIPN.php
CRM/Core/Payment/PayJunction.php
CRM/Core/Payment/PaymentExpress.php
CRM/Core/Payment/PaymentExpressIPN.php
CRM/Core/Payment/eWAY.php
CRM/Core/PseudoConstant.php
CRM/Core/QuickForm/Action/Display.php
CRM/Core/Resources.php
CRM/Core/Session.php
CRM/Core/StateMachine.php
CRM/Custom/Form/Group.php
CRM/Event/BAO/Event.php
CRM/Event/Form/EventFees.php
CRM/Event/Form/Registration.php
CRM/Event/Form/Registration/Confirm.php
CRM/Event/Import/Parser.php
CRM/Event/Page/ManageEvent.php
CRM/Export/Form/Map.php
CRM/Extension/Container/Basic.php
CRM/Extension/Container/Collection.php
CRM/Financial/Page/BatchTransaction.php
CRM/Mailing/Event/BAO/Opened.php
CRM/Mailing/MailStore/Imap.php
CRM/Mailing/MailStore/Localdir.php
CRM/Mailing/MailStore/Maildir.php
CRM/Mailing/MailStore/Mbox.php
CRM/Mailing/MailStore/Pop3.php
CRM/Mailing/Page/Component.php
CRM/Mailing/Selector/Browse.php
CRM/Mailing/Selector/Search.php
CRM/PCP/BAO/PCP.php
CRM/PCP/Form/Campaign.php
CRM/PCP/Form/Contribute.php
CRM/PCP/Form/Event.php
CRM/Pledge/Form/Task.php
CRM/Price/BAO/LineItem.php
CRM/Price/BAO/PriceFieldValue.php
CRM/Price/BAO/PriceSet.php
CRM/Queue/Queue/Memory.php
CRM/Report/BAO/ReportInstance.php
CRM/Utils/Cache/Memcached.php
api/v3/examples/SurveyRespondant/Get.php
tests/extensions/test.extension.manager.searchtest/main.php

index d1a8cccb5114e1bd511db5310ec7471bb6448036..57be253e3964b5290198865c72ed7f3b02c1b81e 100644 (file)
@@ -1643,7 +1643,9 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
    * scheme. Adding weight is super important and should be done in the
    * next week or so, before this can be called complete.
    *
-   * @param NULL
+   * @param bool $status
+   *
+   * @internal param $NULL
    *
    * @return array    array of importable Fields
    * @access public
index 06f895a18117d273d0f11db38d53316bc11861e1..65785e5c63f4ba2613bd3cf4532bf9d03222047e 100644 (file)
@@ -69,8 +69,12 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C
    * @param int $contactId - contact whose activities we want to display
    * @param int $permission - the permission we have for this contact
    *
-   * @return CRM_Contact_Selector_Activity
-   * @access public
+   * @param bool $admin
+   * @param string $context
+   * @param null $activityTypeIDs
+   *
+   * @return \CRM_Activity_Selector_Activity
+  @access public
    */
   function __construct($contactId,
                        $permission,
index 2bac2f3e6979248f12896886afffc2d5a4386176..96d9e00f1c6a03d55fe45b979ad6ad945e434929 100644 (file)
@@ -147,14 +147,17 @@ class CRM_Activity_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  $activityClause if the caller wants to further restrict the search (used in activities)
+   * @param array $queryParams array of parameters for query
+   * @param \const|int $action - action of search basic or advanced.
+   * @param string $activityClause if the caller wants to further restrict the search (used in activities)
    * @param boolean $single are we dealing only with one contact?
-   * @param int     $limit  how many activities do we want returned
+   * @param int $limit how many activities do we want returned
    *
-   * @return CRM_Contact_Selector
-   * @access public
+   * @param string $context
+   * @param null $compContext
+   *
+   * @return \CRM_Activity_Selector_Search
+  @access public
    */
   function __construct(&$queryParams,
     $action         = CRM_Core_Action::NONE,
@@ -253,7 +256,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
     $assigneeID = CRM_Utils_Array::key('Activity Assignees', $activityContacts);
     $targetID = CRM_Utils_Array::key('Activity Targets', $activityContacts);
     //get all activity types
-    $activityTypes = CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'name', TRUE);    
+    $activityTypes = CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'name', TRUE);
 
     while ($result->fetch()) {
       $row = array();
index 9619a81fac5a0587502dd9dc2462a9748d4ea7a7..5e58b6d70b4e434e8b09b09c8ca83d572ba3aad0 100644 (file)
@@ -148,6 +148,8 @@ class CRM_Admin_Form_PaymentProcessorType extends CRM_Admin_Form {
   /**
    * Function to build the form
    *
+   * @param bool $check
+   *
    * @return void
    * @access public
    */
index 7f4e393f5b9fb6e0660b1d11d757ba73f6365251..d1bf11ea4a44c80b903edf59d52a87f98b51333b 100644 (file)
@@ -114,6 +114,8 @@ class CRM_Admin_Page_CaseType extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index bafca22770939547aefddd559f25fcb986e4223c..33b7db99b41cccf04a6ce6f71f54d65218ecd2fb 100644 (file)
@@ -90,6 +90,8 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   /**
    * Browse all jobs.
    *
+   * @param null $action
+   *
    * @return void
    * @access public
    * @static
index 0ea10a6b1c3daf1a125760aa23b5096c51b5037f..c2ba8a8321b9db7cb9dad8ba4d77590f912f1309 100644 (file)
@@ -121,6 +121,8 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   /**
    * Browse all Label Format settings.
    *
+   * @param null $action
+   *
    * @return void
    * @access public
    * @static
index 2746038effae72c663eab729290586c54a3183f3..95c1ed9eb37e2f3fd979e9d213db7e10f8ad5a0d 100644 (file)
@@ -112,6 +112,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 2a61bf86c4fec77d4555ceb176da7a6aa786844d..8601ece1ab45a1411afbd4ef0c4add7b98b109fc 100644 (file)
@@ -83,6 +83,8 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 6165a283b64a420c34a9707e43849c8c677a648e..efdba99f13c0bb76982a9ffd0613f4fa3a581c02 100644 (file)
@@ -281,6 +281,8 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 52d7bf1fe2c66d0568cdd988cc42bccc2017b317..ee2e4ac729b792a1cde35f1651fbcca42a579e3b 100644 (file)
@@ -111,6 +111,8 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 03f87ad24a989ae350404de097370f55a1b47974..aa02684c29632f0b8291b9c33e9babc07473b28f 100644 (file)
@@ -106,6 +106,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
@@ -115,6 +117,8 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   /**
    * Browse all PDF Page Formats
    *
+   * @param null $action
+   *
    * @return void
    * @access public
    * @static
index 348f2a0535565a6ce7d5232744a1d165ef1aead1..638b1e7d8f4eb39930a00018548d2cca971a49a2 100644 (file)
@@ -112,6 +112,8 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index cce71e3a7dd8f96f99b90777e71eab38cde3fa76..3658609603b736eaa390f0fc9146e51bfdcd85fb 100644 (file)
@@ -338,7 +338,8 @@ class CRM_Badge_BAO_Badge {
   /**
    * function to build badges parameters before actually creating badges.
    *
-   * @param  array  $params associated array of submitted values
+   * @param  array $params associated array of submitted values
+   * @param $form
    * @params object $form form/controller object
    *
    * @return void
index 40b572c41bb64117e75df3cb6e5d6fd9b304b72d..b216bbaf23c71e5d1d618c6f690a0322477713bc 100755 (executable)
@@ -67,6 +67,8 @@ class CRM_Campaign_BAO_Query {
   /**
    * if survey, campaign are involved, add the specific fields.
    *
+   * @param $query
+   *
    * @return void
    * @access public
    */
index c90b0dd14c0d54181a8eede036a9e98894a0646f..448ac7ad2a39c097919539d5479bc8b1e19028a5 100644 (file)
@@ -1033,6 +1033,8 @@ INNER JOIN  civicrm_survey survey ON ( activity.source_record_id = survey.id )
   /**
    * Check and update the survey respondents.
    *
+   * @param $params
+   *
    * @return array success message
    */
   public function releaseRespondent($params) {
index c70de9a0794c8fe0eceb6f85fc11569454689d36..03148080375fc7deb4cc50be50995d6e1fe32dca 100755 (executable)
@@ -72,6 +72,8 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param string $returnColumn
+   *
    * @return array - array reference of all survey activity types.
    * @static
    */
index 6f22dceeba3a28ebde719e878c3fbc22ab47b57e..1a8042144ac572cb1cb79adc66309fcbd423b3a4 100755 (executable)
@@ -139,15 +139,18 @@ class CRM_Campaign_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   $surveyClause if the caller wants to further restrict the search.
-   * @param boolean  $single are we dealing only with one contact?
-   * @param int      $limit  how many voters do we want returned
+   * @param array $queryParams array of parameters for query
+   * @param \const|int $action - action of search basic or advanced.
+   * @param string $surveyClause if the caller wants to further restrict the search.
+   * @param boolean $single are we dealing only with one contact?
+   * @param int $limit how many voters do we want returned
    *
-   * @return CRM_Contact_Selector
-   * @access public
-   */ function __construct(&$queryParams,
+   * @param string $context
+   *
+   * @return \CRM_Campaign_Selector_Search
+  @access public
+   */
+  function __construct(&$queryParams,
     $action       = CRM_Core_Action::NONE,
     $surveyClause = NULL,
     $single       = FALSE,
index 2f2f9ef8757f75673fde6f7b20446830e672b37d..4b266633ca9c9534d99f2295d9f4915d65186cd7 100644 (file)
@@ -93,6 +93,9 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
    *
    * @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 0e7a68fb021288c060cd09333ab8221ead7c34c3..25a971ef345f9e46f19437ee7367e20930a222fe 100644 (file)
@@ -125,6 +125,10 @@ class CRM_Case_Form_Activity_ChangeCaseStatus {
    *
    * @access public
    *
+   * @param $form
+   * @param $params
+   * @param $activity
+   *
    * @return void
    */
   static function endPostProcess(&$form, &$params, $activity) {
index 636036fd7b2df300c1b664ec1518320d84b5e752..72a30c5344d1617cc2f0f1e225b6c0a6197b40f8 100644 (file)
@@ -111,6 +111,9 @@ class CRM_Case_Form_Activity_LinkCases {
    *
    * @access public
    *
+   * @param $form
+   * @param $params
+   *
    * @return void
    */
   static function beginPostProcess(&$form, &$params) {}
index 03f4ea68fd3518e353130a4b5dcf81bd4ea16339..92334f738c9fb16233f69396b6dc7f3d825bb739 100644 (file)
@@ -89,6 +89,8 @@ class CRM_Case_Form_Activity_OpenCase {
    *
    * @access public
    *
+   * @param $form
+   *
    * @return void
    */
   static function setDefaultValues(&$form) {
index 794720600b06b0d5d1081c95240c28aeab003d43..bbecf90cf8b7f1bc0763ac9ea26c118900c5d6c0 100644 (file)
@@ -150,7 +150,11 @@ class CRM_Case_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 6d4fbaf356dd519adc7364bac375921f86cd1e6f..3f6aca3a9345143509eec7e8e3e343e9cd55f12b 100644 (file)
@@ -135,15 +135,18 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   /**
    * Class constructor
    *
-   * @param array   $queryParams array of parameters for query
-   * @param int     $action - action of search basic or advanced.
-   * @param string  $additionalClause 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 $additionalClause 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 signers do we want returned
+   * @param int $limit how many signers do we want returned
    *
-   * @return CRM_Contact_Selector
-   * @access public
-   */ function __construct(&$queryParams,
+   * @param string $context
+   *
+   * @return \CRM_Case_Selector_Search
+  @access public
+   */
+  function __construct(&$queryParams,
     $action           = CRM_Core_Action::NONE,
     $additionalClause = NULL,
     $single           = FALSE,
index c0cada5018bdd2742c96c35bdd8a4ea8d4271d34..c44d138b2d80d4a5a3c4defe529b37a2d843ce7f 100644 (file)
@@ -1035,12 +1035,13 @@ WHERE id={$id}; ";
    *
    * @param int $id - id of the contact whose contact sub type is needed
    *
+   * @param null $implodeDelimiter
+   *
    * @return string contact_sub_type if $id found else null ""
    *
    * @access public
    *
    * @static
-   *
    */
   public static function getContactSubType($id, $implodeDelimiter = NULL) {
     $subtype = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $id, 'contact_sub_type');
@@ -1096,12 +1097,14 @@ WHERE id={$id}; ";
    * The ordering is important, since currently we do not have a weight
    * scheme. Adding weight is super important
    *
-   * @param int     $contactType     contact Type
-   * @param boolean $status          status is used to manipulate first title
-   * @param boolean $showAll         if true returns all fields (includes disabled fields)
-   * @param boolean $isProfile       if its profile mode
+   * @param int|string $contactType contact Type
+   * @param boolean $status status is used to manipulate first title
+   * @param boolean $showAll if true returns all fields (includes disabled fields)
+   * @param boolean $isProfile if its profile mode
    * @param boolean $checkPermission if false, do not include permissioning clause (for custom data)
    *
+   * @param bool $withMultiCustomFields
+   *
    * @return array array of importable Fields
    * @access public
    * @static
index 8243b9989f0016900d18c0b0b9b4145a377a239d..19fe9e52362fd1978851435ddc95c5372a711466 100644 (file)
@@ -83,10 +83,11 @@ WHERE contact_a.id = %1 AND $permission";
   /**
    * fill the acl contact cache for this contact id if empty
    *
-   * @param int     $id     contact id
-   * @param string  $type   the type of operation (view|edit)
-   * @param boolean $force  should we force a recompute
+   * @param $userID
+   * @param int|string $type the type of operation (view|edit)
+   * @param boolean $force should we force a recompute
    *
+   * @internal param int $id contact id
    * @return void
    * @access public
    * @static
index 747a2dec5c76e980758852895e783226a1297818..4f2a747e648b0afa1641d691339ad3ac8779451e 100644 (file)
@@ -68,9 +68,10 @@ class CRM_Contact_BAO_ContactType extends CRM_Contact_DAO_ContactType {
    *
    *function to retrieve basic contact type information.
    *
-   *@return  array of basic contact types information.
-   *@static
+   * @param bool $all
    *
+   * @return  array of basic contact types information.
+   * @static
    */
   static function &basicTypeInfo($all = FALSE) {
     static $_cache = NULL;
index 73ea6d8e94a3915a10cfa2b80fdb3ee7792bc30a..d81842a884b2db8214d1376fa072c9827a01aa97 100644 (file)
@@ -280,9 +280,9 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen
    * identified by $groupId; does not delete child group, just the
    * association between the two
    *
-   * @param            $parentID         The id of the group to remove the child from
    * @param            $childID          The id of the child group being removed
    *
+   * @internal param \The $parentID id of the group to remove the child from
    * @return           void
    *
    * @access public
index 1a3750ea346269b765e3dc5a1d8c259ed7c3eae3..ec2c1b12ea7069fbda78bc2dd9c25467314502a4 100644 (file)
@@ -1174,10 +1174,11 @@ LEFT JOIN  civicrm_country ON (civicrm_address.country_id = civicrm_country.id)
    * @param $contactId  Int     contact id
    * @param $params     array   array of values submitted by POST
    * @param $ids        array   array of ids
-   * @param $action             which action called this function
+   * @param \const|\which $action which action called this function
    *
-   * @static
+   * @param bool $active
    *
+   * @static
    */
   static function relatedMemberships($contactId, &$params, $ids, $action = CRM_Core_Action::ADD, $active = TRUE) {
     // Check the end date and set the status of the relationship
index 773621dcd6e9fd756a9bc48af86ecdc06077a106..c786bfaab457b3659146a1725ebb9b82aa8cbe50 100644 (file)
@@ -294,8 +294,12 @@ class CRM_Contact_Form_Edit_Address {
   /**
    * check for correct state / country mapping.
    *
-   * @param array reference $fields - submitted form values.
-   * @param array reference $errors - if any errors found add to this array. please.
+   * @param $fields
+   * @param $files
+   * @param $self
+   *
+   * @internal param \reference $array $fields - submitted form values.
+   * @internal param \reference $array $errors - if any errors found add to this array. please.
    *
    * @return true if no errors
    *         array of errors if any present.
index 72423c5c9fe12b15b1e14d7fadbb826fa191a518..bace5d842e71e89de689fc3b4885707890279318 100644 (file)
@@ -66,9 +66,11 @@ class CRM_Contact_Form_Inline_Lock {
   /**
    * Ensure that oplock_ts hasn't changed in the underlying DB
    *
-   * @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 null $contactID
+   *
+   * @internal param array $options additional user data
    *
    * @return true if no errors, else array of errors
    * @access public
index 4a6e623040b8ffcd3f9391e3c15ebe56e7d051c2..9447561c9df078f9ef440cc49e3892ff970898dd 100644 (file)
@@ -122,9 +122,11 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
   /**
    * 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 $form
+   *
+   * @internal param array $options additional user data
    *
    * @return true if no errors, else array of errors
    * @access public
index 76350522b248780495518bc86539a03b3e3325dc..6632f9ba8de8321ba7bbb05f83475a57d7245403 100644 (file)
@@ -84,6 +84,8 @@ class CRM_Contact_Form_Task_SMSCommon {
    *
    * @access public
    *
+   * @param $form
+   *
    * @return void
    */
   static function buildQuickForm(&$form) {
index 03ef69cc9352b683f3a35d141d9f10fb23850ca9..e6f03f3f203c22758f255a305a01dc56318d4eb2 100644 (file)
@@ -971,6 +971,8 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
    * format custom field name.
    * combine group and field name to avoid conflict.
    *
+   * @param $fields
+   *
    * @return void
    * @access public
    */
index d098e9e0ea973aa725cffc64a0f305695e26d8bf..b8400623bddada4ad1553b4868694b910fa4f3a4 100644 (file)
@@ -220,10 +220,12 @@ SELECT r.payment_processor_id
   /**
    * Cancel Recurring contribution.
    *
-   * @param integer  $recurId recur contribution id.
-   * @param array    $objects an array of objects that is to be cancelled like
+   * @param integer $recurId recur contribution id.
+   * @param array $objects an array of objects that is to be cancelled like
    *                          contribution, membership, event. At least contribution object is a must.
    *
+   * @param array $activityParams
+   *
    * @return true / false.
    * @access public
    * @static
index decd0954318c875b75702bcb9367e437171fb61e..f67c0da6ccad8787f932ca927a6b42d295fa0d19 100644 (file)
@@ -138,11 +138,13 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
 
   /**
    *  Function to retrieve soft contributions for contribution record.
-   *  @param array $params an associated array
-   *  @param boolean $all include PCP data
    *
-   *  @return array of soft contribution ids, amounts, and associated contact ids
-   *  @static
+   * @param $contributionID
+   * @param boolean $all include PCP data
+   *
+   * @internal param array $params an associated array
+   * @return array of soft contribution ids, amounts, and associated contact ids
+   * @static
    */
   static function getSoftContribution($contributionID, $all = FALSE) {
     $pcpFields = array(
@@ -222,10 +224,13 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
 
   /**
    *  Function to retrieve the list of soft contributions for given contact.
-   *  @param int $contact_id contact id
    *
-   *  @return array
-   *  @static
+   * @param int $contact_id contact id
+   *
+   * @param int $isTest
+   *
+   * @return array
+   * @static
    */
   static function getSoftContributionList($contact_id, $isTest = 0) {
     $query = '
index 1170b22c2e7c984b4ee3211756008a8828ba817d..dc6006a5330fef398b86399efa56e34266ba205f 100644 (file)
@@ -66,6 +66,8 @@ class CRM_Contribute_BAO_Query {
   /**
    * if contributions are involved, add the specific contribute fields
    *
+   * @param $query
+   *
    * @return void
    * @access public
    */
index 1e9c8fc4243ebd25e2ec729608efe4490f8f191f..54a64d74cd59ccb9c8f214dd7f118c0509832391 100644 (file)
@@ -39,6 +39,8 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @access public
    *
+   * @param $form
+   *
    * @return void
    */
   static function buildPremium(&$form) {
index 3ce3f6b8519f48ce733d8b63d92b840830decf28..15c9fc411d65be6b6e7e0969fa310d86b7894bb2 100644 (file)
@@ -37,6 +37,8 @@ class CRM_Contribute_Form_Contribution_OnBehalfOf {
   /**
    * Function to set variables up before form is built
    *
+   * @param $form
+   *
    * @return void
    * @access public
    */
index 5da4d04e33455f50277be7eeefc45d5132de42e5..97cddfafcee1d177cf4ee2d1781c41eec8d87caa 100644 (file)
@@ -233,6 +233,9 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_
    *
    * @param array $values posted values of the form
    *
+   * @param $files
+   * @param $self
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
@@ -257,7 +260,7 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_
         if (! CRM_Core_BAO_UFField::checkValidProfileType($id, $required, $optional)
              && ! CRM_Core_BAO_UFGroup::checkValidProfile($id, $requiredProfileFields) ) {
           $errors['onbehalf_profile_id'] = ts('Profile does not contain the minimum required fields for an On Behalf Of Organization');
-        } 
+        }
       }
     }
 
index 0275bc637d92db8be19c845b51befcf1e15e2541..7c576cd69f3ed3a585f87bdf43d55dea34e24d76 100644 (file)
@@ -231,6 +231,8 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form {
    *
    * @param array $params (ref.) an assoc array of name/value pairs
    *
+   * @param $files
+   *
    * @return mixed true or array of errors
    * @access public
    * @static
index a61dbff988cf1f0ce876beefad1ddbf0fcb5155b..337eef6ae553d15514b3e2c8491170afae531174 100644 (file)
@@ -41,6 +41,8 @@ class CRM_Contribute_Form_SoftCredit {
   /**
    * Function to set variables up before form is built
    *
+   * @param $form
+   *
    * @return void
    * @access static
    */
index 39d9425e89f482788aab9e62eb056b484d10a4ca..c816e7caed80e926b74bc80e3412aa53baaaef66 100644 (file)
@@ -218,6 +218,8 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index dd5977c2512967b1ebdd8a23a500cd815343afa8..5811c002770e065ae40dd931f4eacca3ec4ec443 100644 (file)
@@ -148,6 +148,12 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
    * Get all the financial Accounts
    *
    * @access public
+   *
+   * @param null $id
+   * @param null $financialAccountTypeId
+   * @param string $retrieveColumn
+   * @param string $key
+   *
    * @return array - array reference of all financial accounts if any
    * @static
    */
index 72c85291e0508a3f87d644fe726c2684416c2653..146daba42dabcb1a31ac3bbee986aa099eaa69cc 100644 (file)
@@ -151,6 +151,8 @@ class CRM_Contribute_Task {
    *
    * @param int $permission
    *
+   * @param bool $softCreditFiltering
+   *
    * @return array set of tasks that are valid for the user
    * @access public
    */
index 5ce9603c3a03d47ede990e65f291b08691492b46..5faaeebd465b50c1ca8a1141e3ceb263e8fdeac7 100644 (file)
@@ -64,6 +64,8 @@ class CRM_Core_BAO_ConfigSetting {
    *
    * @params array $params associated array of civicrm variables
    *
+   * @param $params
+   *
    * @return null
    * @static
    */
@@ -145,6 +147,8 @@ class CRM_Core_BAO_ConfigSetting {
    *
    * @params array $params associated array of civicrm variables
    *
+   * @param $params
+   *
    * @return null
    * @static
    */
index ad3b3b76e2a2bf91e95c0648c47e24f47727eabc..77576d35596e6752b775594e1398a058426c60f0 100644 (file)
@@ -296,14 +296,18 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
    *
    * @param string $entityType - of the contact whose contact type is needed
    * @param object $form - not used but required
-   * @param int    $entityId   - optional - id of entity if we need to populate the tree with custom values.
-   * @param int    $groupId    - optional group id (if we need it for a single group only)
-   *                           - if groupId is 0 it gets for inline groups only
-   *                           - if groupId is -1 we get for all groups
+   * @param null $entityID
+   * @param null $groupID
    * @param string $subType
    * @param string $subName
    * @param boolean $fromCache
    *
+   * @param null $onlySubType
+   *
+   * @internal param int $entityId - optional - id of entity if we need to populate the tree with custom values.
+   * @internal param int $groupId - optional group id (if we need it for a single group only)
+   *                           - if groupId is 0 it gets for inline groups only
+   *                           - if groupId is -1 we get for all groups
    * @return array $groupTree  - 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
@@ -316,7 +320,6 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
    * @access public
    *
    * @static
-   *
    */
   public static function &getTree(
     $entityType,
@@ -833,16 +836,17 @@ ORDER BY civicrm_custom_group.weight,
    *
    * An array containing custom group details (including their custom field) is returned.
    *
-   * @param int     $groupId    - group id whose details are needed
+   * @param int $groupId - group id whose details are needed
    * @param boolean $searchable - is this field searchable
-   * @param array   $extends    - which table does it extend if any
+   * @param array $extends - which table does it extend if any
+   *
+   * @param null $inSelector
    *
    * @return array $groupTree - array consisting of all group and field details
    *
    * @access public
    *
    * @static
-   *
    */
   public static function &getGroupDetail($groupId = NULL, $searchable = NULL, &$extends = NULL, $inSelector = NULL) {
     // create a new tree
index eca547815a80b202d5ad08a793d72f43b429ab75..0317c867d7f9e3b9e9eadb5cb2dce3bd331f4f37 100644 (file)
@@ -114,6 +114,7 @@ class CRM_Core_BAO_CustomOption {
    *
    * @param $fieldId  int    the custom field ID
    * @pram  $value    string the value (typically from the DB) of this custom field
+   * @param $value
    * @param $htmlType string the html type of the field (optional)
    * @param $dataType string the data type of the field (optional)
    *
index 8d24c15d5af3a352774d9c3b740c08ce8cd9bfcd..1644cee4e3539afe1f6836fad1f8778134a09c6e 100644 (file)
@@ -108,9 +108,10 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount {
   /**
    * Determine in which discount set the registration date falls
    *
-   * @param  integer  $entityId      entity id to be searched
-   * @param  string   $entityTable   entity table to be searched
+   * @param $entityID
+   * @param  string $entityTable entity table to be searched
    *
+   * @internal param int $entityId entity id to be searched
    * @return integer  $dao->id       discount id of the set which matches
    *                                 the date criteria
    */
index 6e0872681a24ef073fd5d905c7c1a86b8907f97c..258cb4de4e8d07550e31b189d3788ec23f9cd5e2 100644 (file)
@@ -128,6 +128,8 @@ WHERE  contact_id = {$params['contact_id']}
    *
    * @param int $id the contact id
    *
+   * @param bool $updateBlankLocInfo
+   *
    * @return array  the array of email id's
    * @access public
    * @static
index 17d2651b308a22c819ecc48e0d207ca61d6cdd7e..62c7c629ba3a53189f3a7462e10d5f241ab7ea04 100644 (file)
@@ -103,6 +103,8 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
    *
    * @params array  $params         (reference ) an assoc array of name/value pairs
    *
+   * @param $params
+   *
    * @return boolean
    * @access public
    * @static
@@ -221,7 +223,10 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
    * takes an associative array and creates tag entity record for all tag entities
    *
    * @param array $params (reference )  an assoc array of name/value pairs
-   * @param array $contactId            contact id
+   * @param $entityTable
+   * @param $entityID
+   *
+   * @internal param array $contactId contact id
    *
    * @return void
    * @access public
index 9169b8e57925c1a2ae4b93ae8e130cbd9546a0dd..2afa4b21590eca83a70f34e8b9ef564193ed5b9a 100644 (file)
@@ -133,10 +133,13 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
    * 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 string  $orderBy to get single trxn id for a entity table i.e last or first.
+   * @param $entity_id
+   * @param string $orderBy to get single trxn id for a entity table i.e last or first.
    *
+   * @param bool $newTrxn
+   *
+   * @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.
    *
    * @access public
index f8247a171179bb1d38505babc1276c38b5f82641..de2f9384ccf0b522e5bb0e2edf30d36a071cf7d0 100644 (file)
@@ -121,7 +121,8 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType {
    * Function to add a Location Type
    *
    * @param array $params reference array contains the values submitted by the form
-   * @param array $ids    reference array contains the id
+   *
+   * @internal param array $ids reference array contains the id
    *
    * @access public
    * @static
index 8500c270347ef3e4e407d802c8ac5eb797193249..dac5f77e9d8d0e9c32c1ccdb4cd0e4f27dc94d18 100644 (file)
@@ -141,7 +141,9 @@ UPDATE civicrm_log
   /**
    * Function to get log record count for a Contact
    *
-   * @param int $contactId Contact ID
+   * @param $contactID
+   *
+   * @internal param int $contactId Contact ID
    *
    * @return int count of log records
    * @access public
index 9ac565358f44aa6cd4d3957fa106f126c2d2b80c..947fb4482fe566b31bb72628186bf430d57d043c 100644 (file)
@@ -131,6 +131,8 @@ class CRM_Core_BAO_MessageTemplate extends CRM_Core_DAO_MessageTemplate {
    * @access public
    * @static
    *
+   * @param bool $all
+   *
    * @return object
    */
   static function getMessageTemplates($all = TRUE) {
index 33816630e2e15c65d0fb2be88df1c7dc86ebacbb..dd9a80d726b9d309c4f863f88e6a9bee7ae6f63a 100644 (file)
@@ -229,7 +229,9 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
   /**
    * Function to delete Option Value
    *
-   * @param  int  $optionGroupId     Id of the Option Group to be deleted.
+   * @param $optionValueId
+   *
+   * @internal param int $optionGroupId Id of the Option Group to be deleted.
    *
    * @return boolean
    *
index 3ffa3db2cea760b5fdab3148496162dd74278d61..31d9cfdee7c9c93c12d369aaf937cc79e7a50dde 100644 (file)
@@ -103,6 +103,10 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    *
    * @param int $id the contact id
    *
+   * @param bool $updateBlankLocInfo
+   * @param null $type
+   * @param array $filters
+   *
    * @return array  the array of phone ids which are potential numbers
    * @access public
    * @static
index 858a7913702e8db7c57a9be4e2f6ad6d5ba9a466..04b1ce0ae13e223229dd8a430034bbdf709b868a 100644 (file)
@@ -233,6 +233,9 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    * Store multiple items in the setting table
    *
    * @param array $params (required) An api formatted array of keys and values
+   * @param null $domains
+   * @param $settingsToReturn
+   *
    * @domains array an array of domains to get settings for. Default is the current domain
    * @return void
    * @static
@@ -1032,6 +1035,10 @@ AND domain_id = %3
    * Determine what, if any, overrides have been provided
    * for a setting.
    *
+   * @param $group
+   * @param $name
+   * @param $default
+   *
    * @return mixed, NULL or an overriden value
    */
   protected static function getOverride($group, $name, $default) {
index bb8e1587d335aa0f195f40cc7c3244fb23f76070..7f93736430ea19f590b85ad524f50a76a952bb5b 100644 (file)
@@ -129,7 +129,10 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
    * Given the list of params in the params array, fetch the object
    * and store the values in the values array
    *
-   * @param array entityBlock input parameters to find object
+   * @param $params
+   * @param $values
+   *
+   * @internal param \entityBlock $array input parameters to find object
    *
    * @return boolean
    * @access public
index fff0161f9e88fe37923333e116995113a88b7c47..f8008a290e57a6df57539b013b7942f6266e3e64 100644 (file)
@@ -102,6 +102,8 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement {
   /**
    * Create a new WordReplacement
    *
+   * @param $params
+   *
    * @return WordReplacement array
    * @access public
    */
index 537ef02d09cddab69021d7733dc79a7897b60fc7..f2a71281bedb57c8fba2c54847dc726f131c52e4 100644 (file)
@@ -280,6 +280,8 @@ class CRM_Core_Block {
    * php is lame and u cannot call functions from static initializers
    * hence this hack
    *
+   * @param $id
+   *
    * @return void
    * @access private
    */
index 7490c2af389e0790212f172545d1e795b59a3dbc..24bef08f9d9a54b18c75da9f64ec6a4e922f136c 100644 (file)
@@ -153,9 +153,11 @@ abstract class CRM_Core_Component_Info {
    *
    * NOTE: if using conditionally permission return,
    * implementation of $getAllUnconditionally is required.
+   *
+   * @param bool $getAllUnconditionally
+   *
    * @return array|null collection of permissions, null if none
    * @access public
-   *
    */
   abstract public function getPermissions($getAllUnconditionally = FALSE);
 
index 3b7e5e65476f4d4855ed8483790cbb7f46b6ceec..3cc1480ed790d874bb0806b6826c91270376dee1 100644 (file)
@@ -88,8 +88,8 @@ class CRM_Core_Config_Defaults {
   /**
    * Function to set the default values
    *
-   * @param array   $defaults  associated array of form elements
-   * @param boolena $formMode  this funtion is called to set default
+   * @param array $defaults associated array of form elements
+   * @param bool|\boolena $formMode this funtion is called to set default
    *                           values in an empty db, also called when setting component using GUI
    *                           this variable is set true for GUI
    *                           mode (eg: Global setting >> Components)
index 0eec8b16322985c1c22b1abe5ebd82782fd8568f..9d0bcc6a4ec8af3e636d92bd9415343137714c38 100644 (file)
@@ -1162,11 +1162,14 @@ SELECT contact_id
    * of time. This is the inverse function of create. It also stores all the retrieved
    * values in the default array
    *
-   * @param string $daoName  name of the dao object
-   * @param array  $params   (reference ) an assoc array of name/value pairs
-   * @param array  $defaults (reference ) an assoc array to hold the flattened values
-   * @param array  $returnProperities     an assoc array of fields that need to be returned, eg array( 'first_name', 'last_name')
-   *
+   * @param string $daoName name of the dao object
+   * @param string $fieldIdName
+   * @param $fieldId
+   * @param $details
+   * @param array $returnProperities an assoc array of fields that need to be returned, eg array( 'first_name', 'last_name')
+   *
+   * @internal param array $params (reference ) an assoc array of name/value pairs
+   * @internal param array $defaults (reference ) an assoc array to hold the flattened values
    * @return object an object of type referenced by daoName
    * @access public
    * @static
index f9a49c894c8283691a53a21b8a97e28b12f7c829..5522abda1606af13f9f9a07f84f71be058c67b8f 100644 (file)
@@ -83,6 +83,12 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   /**
    * singleton function used to manage this object.
    *
+   * @param null $package
+   * @param bool $msgCallback
+   * @param bool $contextCallback
+   * @param bool $throwPEAR_Error
+   * @param string $stackClass
+   *
    * @return object
    * @static
    */
index 052c71ec02f35de29c8b27ce35c46a2ead0e8786..0935d33487cc00ad6ca5f4930fcfa36b9d064375 100644 (file)
@@ -142,13 +142,13 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
    * We should not use QuickForm directly. This class provides a lot
    * of default convenient functions, rules and buttons
    *
-   * @param object    $state     State associated with this form
-   * @param enum      $action    The mode the form is operating in (None/Create/View/Update/Delete)
-   * @param string    $method    The type of http method used (GET/POST)
-   * @param string    $name      The name of the form if different from class name
+   * @param object $state State associated with this form
+   * @param \const|\enum $action The mode the form is operating in (None/Create/View/Update/Delete)
+   * @param string $method The type of http method used (GET/POST)
+   * @param string $name The name of the form if different from class name
    *
-   * @return object
-   * @access public
+   * @return \CRM_Core_Form
+  @access public
    */
   function __construct(
     $state = NULL,
index ad3cf45306422bd67b7a33c21a9b3695f082e01f..747f8f0d293f3754fe8037b9a560d9985d9c4fbb 100644 (file)
@@ -112,11 +112,14 @@ class CRM_Core_Payment_BaseIPN {
    * Load objects related to contribution
    *
    * @input array information from Payment processor
+   *
+   * @param $input
    * @param array $ids
    * @param array $objects
    * @param boolean $required
    * @param integer $paymentProcessorID
    * @param array $error_handling
+   *
    * @return multitype:number NULL |boolean
    */
   function loadObjects(&$input, &$ids, &$objects, $required, $paymentProcessorID, $error_handling = NULL) {
index 4491ba898708497c6d5c2de9e9454fc0d5a2ab11..ac58928aa9f1a17cfa405117c1aecfe35197fef3 100644 (file)
@@ -54,9 +54,12 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment {
    *
    * @param string $mode the mode of operation: live or test
    *
+   * @param object $paymentProcessor
+   * @param null $paymentForm
+   * @param bool $force
+   *
    * @return object
    * @static
-   *
    */
   static function &singleton($mode, &$paymentProcessor, &$paymentForm = NULL, $force = FALSE) {
     $processorName = $paymentProcessor['name'];
index 95c0e33149d7329d24bbdf04ac57dc170e866027..55ded8b3e623de9e2e7b61468e20228fbd708a33 100644 (file)
@@ -58,9 +58,10 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
    *
    * @param string $mode the mode of operation: live or test
    *
+   * @param object $paymentProcessor
+   *
    * @return object
    * @static
-   *
    */
   static function &singleton($mode, &$paymentProcessor) {
     $processorName = $paymentProcessor['name'];
index 0ef3495ed290188bd4a6d5109f7b2a354248778a..02628ac23e914aa83d0c3b5e7816ecb4d60ea155 100644 (file)
@@ -140,6 +140,8 @@ class CRM_Core_Payment_Form {
   /**
    * create all fields needed for a credit card transaction
    *
+   * @param $form
+   *
    * @return void
    * @access public
    */
index c2f291e6e274a831bda3df42b1ffb2a096c96a74..c87d52f02d3e3c027e54c2a19fa6496bc4033412 100644 (file)
@@ -91,11 +91,12 @@ class CRM_Core_Payment_GoogleIPN extends CRM_Core_Payment_BaseIPN {
   /**
    * The function gets called when a new order takes place.
    *
-   * @param xml   $dataRoot    response send by google in xml format
+   * @param xml $dataRoot response send by google in xml format
    * @param array $privateData contains the name value pair of <merchant-private-data>
    *
-   * @return void
+   * @param $component
    *
+   * @return void
    */
   function newOrderNotify($dataRoot, $privateData, $component) {
     $ids = $input = $params = array();
index 760ad6c03857ef0ccb3e1d1fd95a658da341c904..509d07774fcafbdbf6aef20ae38c990a7b0b83f4 100644 (file)
@@ -51,9 +51,12 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
    *
    * @param string $mode the mode of operation: live or test
    *
+   * @param object $paymentProcessor
+   * @param null $paymentForm
+   * @param bool $force
+   *
    * @return object
    * @static
-   *
    */
   static function &singleton($mode, &$paymentProcessor, &$paymentForm = NULL, $force = false) {
     $processorName = $paymentProcessor['name'];
index 205fdb67ea641e4ed0f72a11a12b1b8f84ab4d75..653eabf65bd0d311d21df29ed1a0c344bc79909a 100644 (file)
@@ -67,9 +67,12 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
    *
    * @param string $mode the mode of operation: live or test
    *
+   * @param object $paymentProcessor
+   * @param null $paymentForm
+   * @param bool $force
+   *
    * @return object
    * @static
-   *
    */
   static function &singleton($mode = 'test', &$paymentProcessor, &$paymentForm = NULL, $force = FALSE) {
     $processorName = $paymentProcessor['name'];
index b519abb2f0a0c59f81009af527124cdf44840db5..b46c792b8b676228828a335390fd3d175ab5a47a 100644 (file)
@@ -90,6 +90,10 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
    *
    * @param string $mode the mode of operation: live or test
    *
+   * @param $paymentProcessor
+   * @param null $paymentForm
+   * @param bool $force
+   *
    * @return object
    * @static
    */
@@ -103,11 +107,15 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
   /**
    * The function gets called when a new order takes place.
    *
-   * @param xml   $dataRoot    response send by google in xml format
+   * @param $success
    * @param array $privateData contains the name value pair of <merchant-private-data>
    *
-   * @return void
+   * @param $component
+   * @param $amount
+   * @param $transactionReference
    *
+   * @internal param \xml $dataRoot response send by google in xml format
+   * @return void
    */
   function newOrderNotify($success, $privateData, $component, $amount, $transactionReference) {
     $ids = $input = $params = array();
index 322d108af4c3efa2d95415b93bf078f732a7198b..cbf81ec2bc83f7ba37be95e4c95d6633d673225f 100644 (file)
@@ -108,8 +108,10 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
    *
    * @param string $mode the mode of operation: live or test
    *
-   * @return void
-   **********************************************************/
+   * @param $paymentProcessor
+   *
+   * @return \CRM_Core_Payment_eWAY *******************************************************
+   */
   function __construct($mode, &$paymentProcessor) {
     // require Standaard eWAY API libraries
     require_once 'eWAY/eWAY_GatewayRequest.php';
@@ -126,9 +128,12 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
    *
    * @param string $mode the mode of operation: live or test
    *
+   * @param object $paymentProcessor
+   * @param null $paymentForm
+   * @param bool $force
+   *
    * @return object
    * @static
-   *
    */
   static function &singleton($mode, &$paymentProcessor, &$paymentForm = NULL, $force = false) {
     $processorName = $paymentProcessor['name'];
index febe9249c3880b0a2afa669ce20cb5464e448d39..971722508a98527a347a83c3f67e75a01a7e3723 100644 (file)
@@ -819,10 +819,11 @@ WHERE  id = %1";
    * @access public
    * @static
    *
-   * @param int $id - Optional id to return
+   * @param bool|int $id - Optional id to return
    *
-   * @return array - array reference of all countries.
+   * @param bool $applyLimit
    *
+   * @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) {
@@ -961,8 +962,9 @@ WHERE  id = %1";
    * @access public
    * @static
    *
-   * @return mixed - instance of CRM_Contact_BAO_GroupNesting
+   * @param bool $styledLabels
    *
+   * @return mixed - instance of CRM_Contact_BAO_GroupNesting
    */
   public static function &groupIterator($styledLabels = FALSE) {
     if (!self::$groupIterator) {
@@ -986,14 +988,13 @@ WHERE  id = %1";
    *
    * Note: any database errors will be trapped by the DAO.
    *
-   * @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 = NULL, $excludeHidden = TRUE) {
     return CRM_Core_Permission::group($groupType, $excludeHidden);
@@ -1011,8 +1012,11 @@ WHERE  id = %1";
    * @access public
    * @static
    *
-   * @return array - array reference of all groups.
+   * @param bool $onlyPublic
+   * @param null $groupType
+   * @param bool $excludeHidden
    *
+   * @return array - array reference of all groups.
    */
   public static function &staticGroup($onlyPublic = FALSE, $groupType = NULL, $excludeHidden = TRUE) {
     if (!self::$staticGroup) {
index a6ec11548a2ec08195dc07c377da98cb7b51109a..0501b2c19c2fb75e436bdf4060223c8b329332a9 100644 (file)
@@ -104,8 +104,9 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action {
    * render the page using a custom templating
    * system
    *
-   * @param object  $page the CRM_Core_Form page
-   * @param boolean $ret  should we echo or return output
+   * @param object $page the CRM_Core_Form page
+   *
+   * @internal param bool $ret should we echo or return output
    *
    * @return void
    * @access public
index 070ec48ba2fc5c8906e05d10a48236c2abe11807..7343de9249fa01403f16dfb38b9a4ad0b0616f71 100644 (file)
@@ -128,6 +128,8 @@ class CRM_Core_Resources {
    * Construct a resource manager
    *
    * @param CRM_Extension_Mapper $extMapper Map extension names to their base path or URLs.
+   * @param $cache
+   * @param null $cacheCodeKey
    */
   public function __construct($extMapper, $cache, $cacheCodeKey = NULL) {
     $this->extMapper = $extMapper;
@@ -545,7 +547,7 @@ class CRM_Core_Resources {
    */
   function addLocalization(&$js) {
     $config = CRM_Core_Config::singleton();
-    
+
     // Localize select2 strings
     $contactSearch = json_encode($config->includeEmailInName ? ts('Start typing a name or email...') : ts('Start typing a name...'));
     $otherSearch = json_encode(ts('Enter search term...'));
index 50a8ff605ba69cb805886ce19f50c5bc2b1d0ef4..964d42331537a2b877f549f0f31be3fc06ae5e1c 100644 (file)
@@ -149,6 +149,8 @@ class CRM_Core_Session {
    *
    * @access public
    *
+   * @param int $all
+   *
    * @return void
    */
   function reset($all = 1) {
index 33ac08229641640336abe9b940a2ae112d85a20e..f5ae04d23005e67bbdc0421a07f00683a1622540 100644 (file)
@@ -87,8 +87,10 @@ class CRM_Core_StateMachine {
    *
    * @param object $controller the controller for this state machine
    *
-   * @return object
-   * @access public
+   * @param const $action
+   *
+   * @return \CRM_Core_StateMachine
+  @access public
    */
   function __construct(&$controller, $action = CRM_Core_Action::NONE) {
     $this->_controller = &$controller;
index fa8fb645da84baaeb59665e3c920ae53516b571e..82720dcc0a485b94cca7a34ffc0450f2bf5916aa 100644 (file)
@@ -112,9 +112,11 @@ class CRM_Custom_Form_Group 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 d62dcf05fd1e3595bca102a39018dcb611f07c77..76c886b071921cbcd2785dcbd73524de45e2d557 100644 (file)
@@ -231,12 +231,14 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event {
    * Function to delete the location block associated with an event,
    * if not being used by any other event.
    *
-   * @param int $loc_block_id    location block id to be deleted
-   * @param int $eventid         event id with which loc block is associated
+   * @param $locBlockId
+   * @param null $eventId
+   *
+   * @internal param int $loc_block_id location block id to be deleted
+   * @internal param int $eventid event id with which loc block is associated
    *
    * @access public
    * @static
-   *
    */
   static function deleteEventLocBlock($locBlockId, $eventId = NULL) {
     $query = "SELECT count(ce.id) FROM civicrm_event ce WHERE ce.loc_block_id = $locBlockId";
@@ -1016,6 +1018,12 @@ WHERE civicrm_event.is_active = 1
   /**
    * Process that send e-mails
    *
+   * @param $contactID
+   * @param $values
+   * @param $participantId
+   * @param bool $isTest
+   * @param bool $returnMessageText
+   *
    * @return void
    * @access public
    */
@@ -1182,6 +1190,15 @@ WHERE civicrm_event.is_active = 1
    * Function to add the custom fields OR array of participant's
    * profile info
    *
+   * @param $id
+   * @param $name
+   * @param $cid
+   * @param $template
+   * @param $participantId
+   * @param $isTest
+   * @param bool $isCustomProfile
+   * @param array $participantParams
+   *
    * @return void
    * @access public
    */
index b57cf83e107934e043b7aa24e47ce7d2f0c28e33..046fe4e8a193fb7246228a15ac3d4192961081b8 100644 (file)
@@ -73,6 +73,8 @@ class CRM_Event_Form_EventFees {
    *
    * @access public
    *
+   * @param $form
+   *
    * @return void
    */
   static function setDefaultValues(&$form) {
index 7a55d39b5608b85e7830eb238a950034c430df63..50fe65fba426531e232f0d0957ba5eddb16beb0a 100644 (file)
@@ -832,6 +832,9 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
   /**
    * Process the participant
    *
+   * @param $params
+   * @param $contactID
+   *
    * @return void
    * @access public
    */
index 10bb2773c930a94d49cb55eab77a691eeb52f8ad..4905bc8f1a3ebc57d257434842a88912b4b46ac1 100644 (file)
@@ -821,6 +821,13 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   /**
    * Process the contribution
    *
+   * @param $form
+   * @param $params
+   * @param $result
+   * @param $contactID
+   * @param bool $pending
+   * @param bool $isAdditionalAmount
+   *
    * @return void
    * @access public
    */
@@ -934,6 +941,10 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   /**
    * Fix the Location Fields
    *
+   * @param $params
+   * @param $fields
+   * @param $form
+   *
    * @return void
    * @access public
    */
@@ -978,6 +989,11 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
   /**
    * function to update contact fields
    *
+   * @param $contactID
+   * @param $params
+   * @param $fields
+   * @param $form
+   *
    * @return void
    * @access public
    */
index 123be8b2b581bebb33d720fcc709ed13c3ccea83..3d74af654824d19348c4fbb832efad707aa42af2 100644 (file)
@@ -341,6 +341,8 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
    *
    * @param CRM_Core_Session $store
    *
+   * @param int $mode
+   *
    * @return void
    * @access public
    */
index 31d46c50ffdd5c0bbe04209a10c184b0c289cf89..85b2ab12f739ecd679a021967314c526d4f6a394 100644 (file)
@@ -100,6 +100,8 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
   /**
    * Get tab  Links for events
    *
+   * @param $enableCart
+   *
    * @return array (reference) of tab links
    */
   static function &tabs($enableCart) {
@@ -359,7 +361,7 @@ ORDER BY start_date desc
         $manageEvent[$dao->id]['reminder'] = CRM_Core_BAO_ActionSchedule::isConfigured($dao->id, $mappingID);
         $manageEvent[$dao->id]['is_pcp_enabled'] = CRM_Utils_Array::value($dao->id, $eventPCPS);
         $manageEvent[$dao->id]['event_type'] = CRM_Utils_Array::value($manageEvent[$dao->id]['event_type_id'], $eventType);
-        
+
         // allow hooks to set 'field' value which allows configuration pop-up to show a tab as enabled/disabled
         CRM_Utils_Hook::tabset('civicrm/event/manage/rows', $manageEvent, array('event_id' => $dao->id));
       }
index b17ccb8a9b6bbc4a9b62aecea4d34891f3a1df99..4fc943f9c926fa85ac3e2215f5da12f43367a7f5 100644 (file)
@@ -112,6 +112,9 @@ class CRM_Export_Form_Map extends CRM_Core_Form {
    *
    * @param array $fields posted values of the form
    *
+   * @param $values
+   * @param $mappingTypeId
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public
index ad6610dabbb077c457b26d3827fddd1ad8f24497..a4694367139ecb4d818c913314fe76bc7c9a1de8 100644 (file)
@@ -231,7 +231,7 @@ class CRM_Extension_Container_Basic implements CRM_Extension_Container_Interface
   /**
    * Scan $basedir for a list of extension-keys
    *
-   * @param string $dirSep the local system's directory separator
+   * @internal param string $dirSep the local system's directory separator
    * @return array($key => $relUrl)
    */
   protected function getRelUrls() {
index 4a2a12b430431830b77a8a5ae4452f7573b9f38c..1ea76c7ab80f6c1600639e613bab6bb3c769f34d 100644 (file)
@@ -124,8 +124,10 @@ class CRM_Extension_Container_Collection implements CRM_Extension_Container_Inte
   /**
    * Get the container which defines a particular key
    *
+   * @param $key
+   *
+   * @throws CRM_Extension_Exception_MissingException
    * @return CRM_Extension_Container_Interface
-   * @throws CRM_Extension_Exception
    */
   public function getContainer($key) {
     $k2c = $this->getKeysToContainer();
index 33c571d7def730256c341c6b88dba1e43830d834..1462f4625431c87281249df82eb2b380dab38847 100644 (file)
@@ -150,6 +150,8 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = null) {
index b9cb07fc296471dd27cc6e39364db35d85893375..7d34c59ac8a0ded108521a8a7cac19cafa5cae26 100644 (file)
@@ -124,7 +124,9 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
    * CRM-12814
    * Get opened 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          Opened count per mailing ID
    * @access public
index 4489e384afd85382c9f667ba83850d4fee81ec1e..c45afc6d9974611ee6ea7c58475a869bb6d25ec0 100644 (file)
@@ -40,13 +40,13 @@ class CRM_Mailing_MailStore_Imap extends CRM_Mailing_MailStore {
   /**
    * Connect to the supplied IMAP server and make sure the two mailboxes exist
    *
-   * @param string $host      host to connect to
-   * @param string $username  authentication username
-   * @param string $password  authentication password
-   * @param bool   $ssl       whether to use IMAP or IMAPS
-   * @param string $folder    name of the inbox folder
+   * @param string $host host to connect to
+   * @param string $username authentication username
+   * @param string $password authentication password
+   * @param bool $ssl whether to use IMAP or IMAPS
+   * @param string $folder name of the inbox folder
    *
-   * @return void
+   * @return \CRM_Mailing_MailStore_Imap
    */
   function __construct($host, $username, $password, $ssl = TRUE, $folder = 'INBOX') {
     // default to INBOX if an empty string
index cf032d7d7c65e319103164d71b8a6ea8f05bab97..fc9ad0619bfb07f45c884aeffadab03a958916e9 100644 (file)
@@ -40,9 +40,9 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
   /**
    * Connect to the supplied dir and make sure the two mail dirs exist
    *
-   * @param string $dir  dir to operate upon
+   * @param string $dir dir to operate upon
    *
-   * @return void
+   * @return \CRM_Mailing_MailStore_Localdir
    */
   function __construct($dir) {
     $this->_dir = $dir;
index cbc5abb1e6952345c2d42405a6206bd2e282e85c..6af2f38a4b81815aa78317613ca2f943567b3b0c 100644 (file)
@@ -40,9 +40,9 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
   /**
    * Connect to the supplied dir and make sure the two mail dirs exist
    *
-   * @param string $dir  dir to operate upon
+   * @param string $dir dir to operate upon
    *
-   * @return void
+   * @return \CRM_Mailing_MailStore_Maildir
    */
   function __construct($dir) {
     $this->_dir = $dir;
index 4eefb41c8c41c96d996d5c7b00f68ef9797c96fc..640a4565d734dd93bc6b8b2628b3f2ce410a6aaa 100644 (file)
@@ -40,9 +40,9 @@ class CRM_Mailing_MailStore_Mbox extends CRM_Mailing_MailStore {
   /**
    * Connect to and lock the supplied file and make sure the two mail dirs exist
    *
-   * @param string $file  mbox to operate upon
+   * @param string $file mbox to operate upon
    *
-   * @return void
+   * @return \CRM_Mailing_MailStore_Mbox
    */
   function __construct($file) {
     $this->_transport = new ezcMailMboxTransport($file);
index 3b52920d8ce9c6a8d33a9a79a7e1c53b7e2aaf50..6927b982bd7a9cff3c60c98a884c58441a55882a 100644 (file)
@@ -40,12 +40,12 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
   /**
    * Connect to the supplied POP3 server and make sure the two mail dirs exist
    *
-   * @param string $host      host to connect to
-   * @param string $username  authentication username
-   * @param string $password  authentication password
-   * @param bool   $ssl       whether to use POP3 or POP3S
+   * @param string $host host to connect to
+   * @param string $username authentication username
+   * @param string $password authentication password
+   * @param bool $ssl whether to use POP3 or POP3S
    *
-   * @return void
+   * @return \CRM_Mailing_MailStore_Pop3
    */
   function __construct($host, $username, $password, $ssl = TRUE) {
     if ($this->_debug) {
index 8e9c0dc3a2fa0c9e41b6bfab15c8646cc1e7c964..29b1ce633b36668ec257864ce82895132318445d 100644 (file)
@@ -106,6 +106,8 @@ class CRM_Mailing_Page_Component extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index e26cbf1f9293830e7a09356c98b33b65a6055b41..c023780a84c885c8cf4b05e4fd216728375178a9 100644 (file)
@@ -83,7 +83,10 @@ class CRM_Mailing_Selector_Browse 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) {
@@ -374,7 +377,7 @@ LEFT JOIN  civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul
           }
         }
 
-        if (in_array($row['status'], array('Complete', 'Canceled')) && 
+        if (in_array($row['status'], array('Complete', 'Canceled')) &&
           !$row['archived']) {
           if ($allAccess || $showCreateLinks) {
             $actionMask |= CRM_Core_Action::RENEW;
index b2fb3f8d87e362c6dced43b012f411012840cba9..91a838ed65f57ee9e3aac492c71cf5f980424cd3 100644 (file)
@@ -227,7 +227,10 @@ class CRM_Mailing_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) {
@@ -308,7 +311,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
 
       $row['action'] = CRM_Core_Action::formLink(
         self::links($qfKey, $this->_context),
-        $mask, 
+        $mask,
         $actions,
         ts('more'),
         FALSE,
@@ -405,4 +408,4 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   function getExportFileName($output = 'csv') {
     return ts('CiviCRM Mailing Search');
   }
-}
\ No newline at end of file
+}
index 196a26356a600a038668917378584c5f45e89402..65986ebabc3af68e74d0fc77639d8e1cf357732b 100644 (file)
@@ -108,6 +108,8 @@ WHERE  civicrm_pcp.contact_id = civicrm_contact.id
   /**
    * Function to return PCP  Block info for dashboard
    *
+   * @param $contactId
+   *
    * @return array     array of Pcp if found
    * @access public
    * @static
@@ -788,12 +790,13 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   /**
    * Function to get email is enabled for supporter's profile
    *
-   * @param int $id supporter's profile id
+   * @param $profileId
+   *
+   * @internal param int $id supporter's profile id
    *
    * @return boolean
    * @access public
    * @static
-   *
    */
   static function checkEmailProfile($profileId) {
     $query = "
@@ -812,12 +815,14 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1";
   /**
    * Function to obtain the title of page associated with a pcp
    *
-   * @param int $id campaign page id
+   * @param $pcpId
+   * @param $component
+   *
+   * @internal param int $id campaign page id
    *
    * @return int
    * @access public
    * @static
-   *
    */
   static function getPcpPageTitle($pcpId, $component) {
     if ($component == 'contribute') {
@@ -842,12 +847,14 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1";
   /**
    * Function to get pcp block & entity id given pcp id
    *
-   * @param int $id campaign page id
+   * @param $pcpId
+   * @param $component
+   *
+   * @internal param int $id campaign page id
    *
    * @return String
    * @access public
    * @static
-   *
    */
   static function getPcpBlockEntityId($pcpId, $component) {
     $entity_table = self::getPcpEntityTable($component);
index 8748975e032f00864c28a174f955e36dab1f742a..81fb98a54eb24bdcfc68b1d70ba6c7a2af9316c1 100644 (file)
@@ -149,9 +149,11 @@ class CRM_PCP_Form_Campaign 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 93ebe2a570f12099f56b2543d51520911d14a8a4..763d00ed0f427e1c001eb1d33a434fdbd1cec24c 100644 (file)
@@ -107,6 +107,9 @@ class CRM_PCP_Form_Contribute extends CRM_Contribute_Form_ContributionPage {
    *
    * @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 29c8f4db4c58cc77df94efe66a405da3456d9947..fee8dd964a08499a439d8b1fb846725a38e7e59d 100644 (file)
@@ -135,6 +135,9 @@ class CRM_PCP_Form_Event extends CRM_Event_Form_ManageEvent {
    *
    * @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 746d94ab4e1c0360c25053778ebf61c1e684c272..e6409af0fe4c9e21d6394613cb4c26a25d24dec4 100644 (file)
@@ -147,7 +147,11 @@ class CRM_Pledge_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 efb79570484953bd444d53b7b4577b5e8762500d..20ff8f740ec0f5c83071b685928963100326df58 100644 (file)
@@ -109,6 +109,9 @@ AND li.entity_id = {$entityId}
    * @param $entityId  int    participant/contribution id
    * @param $entity    string participant/contribution.
    *
+   * @param null $isQuick
+   * @param bool $isQtyZero
+   *
    * @return array of line items
    */
   static function getLineItems($entityId, $entity = 'participant', $isQuick = NULL , $isQtyZero = TRUE) {
@@ -277,12 +280,16 @@ AND li.entity_id = {$entityId}
 
   /**
    * Function to process price set and line items.
-   * @param int $contributionId contribution id
+   *
+   * @param $entityId
    * @param array $lineItem line item array
    * @param object $contributionDetails
-   * @param decimal $initAmount amount
    * @param string $entityTable entity table
    *
+   * @param bool $update
+   *
+   * @internal param int $contributionId contribution id
+   * @internal param \decimal $initAmount amount
    * @access public
    * @return void
    * @static
index 579450d375dcc8eceb6310c6c23bc2161293590d..218374732685bd9e613b87eb6a49120c76b4cb3e 100644 (file)
@@ -130,7 +130,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue {
    * @param int $fieldId price_field_id
    * @param array $values (reference ) to hold the values
    * @param string $orderBy for order by, default weight
-   * @param int $isActive is_active, default false
+   * @param bool|int $isActive is_active, default false
    *
    * @return array $values
    *
index 691badd6e50987b057a0083c8fb7edc5a16454f1..d2413bac5b126a0326ca74e30ec47ff156100981 100644 (file)
@@ -788,6 +788,8 @@ WHERE  id = %1";
   /**
    * Function to build the price set form.
    *
+   * @param $form
+   *
    * @return void
    * @access public
    */
index ff7585774ce5c063b164e46bc4cf7d1dca71e4ad..31cef0b8e58d9bee8fe952473fee3b315dae4ef8 100644 (file)
@@ -146,7 +146,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   /**
    * Get the next item
    *
-   * @param $leaseTime seconds
+   * @param int|\seconds $leaseTime seconds
    *
    * @return object with key 'data' that matches the inputted data
    */
index afd4cf0dd4b02eb9733a424d49fd3072f251462c..b612a78f4ab4948b6568d2662fd86e540d6c09ce 100644 (file)
@@ -231,9 +231,9 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance {
   /**
    * Delete the instance of the Report
    *
-   * @return $results no of deleted Instance on success, false otherwise
-   * @access public
+   * @param null $id
    *
+   * @return mixed $results no of deleted Instance on success, false otherwise@access public
    */
   static function del($id = NULL) {
     $dao = new CRM_Report_DAO_ReportInstance();
index 9962f7bf8fb4123cb0ce9390b2bd7608dd48f08e..9fcaff8261e9dd21fda63000acfa386e59e44c0f 100644 (file)
@@ -81,8 +81,9 @@ class CRM_Utils_Cache_Memcached {
   /**
    * Constructor
    *
-   * @param array   $config  an array of configuration params
-   * @return void
+   * @param array $config an array of configuration params
+   *
+   * @return \CRM_Utils_Cache_Memcached
    */
   function __construct($config) {
     if (isset($config['host'])) {
index 8f0c63c0f8edc3f2d3d4ad4f728b540287ccbe8a..db6f90510bbd8933d27a041dd75c62da4180c155 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Test Generated example of using survey_respondant get API
+ * Test Generated example of using survey_respondent get API
  * *
  */
 function survey_respondant_get_example(){
index 1cf1529b209ef276dccca81fcc9032487c582a04..6a4ffad47ce73c2ecad97d4f3f2710139f4f36b3 100644 (file)
@@ -71,6 +71,11 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   /**
    * Construct a full SQL query which returns one page worth of results
    *
+   * @param int $offset
+   * @param int $rowcount
+   * @param null $sort
+   * @param bool $includeContactIDs
+   *
    * @return string, sql
    */
   function all($offset = 0, $rowcount = 0, $sort = NULL, $includeContactIDs = FALSE) {