bulk comment fixes
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 9 May 2014 01:19:33 +0000 (13:19 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 9 May 2014 01:19:33 +0000 (13:19 +1200)
58 files changed:
CRM/Activity/BAO/ActivityAssignment.php
CRM/Activity/BAO/ActivityContact.php
CRM/Activity/BAO/ActivityTarget.php
CRM/Activity/StateMachine/Search.php
CRM/Admin/Page/RelationshipType.php
CRM/Badge/Page/Layout.php
CRM/Campaign/Page/Petition/Confirm.php
CRM/Case/Form/Activity/ChangeCaseStartDate.php
CRM/Case/Form/Activity/ChangeCaseType.php
CRM/Case/Form/Activity/LinkCases.php
CRM/Contact/BAO/Contact/Location.php
CRM/Contact/BAO/GroupContact.php
CRM/Contact/BAO/GroupOrganization.php
CRM/Contact/BAO/SavedSearch.php
CRM/Contact/Form/Edit/Lock.php
CRM/Contact/Form/Inline/Email.php
CRM/Contact/Form/Inline/IM.php
CRM/Contact/Form/Inline/Lock.php
CRM/Contact/Form/Inline/OpenID.php
CRM/Contact/Form/Inline/Phone.php
CRM/Contact/Form/Location.php
CRM/Contact/Form/Task/LabelCommon.php
CRM/Contact/Form/Task/PDFLetterCommon.php
CRM/Contact/Form/Task/ProximityCommon.php
CRM/Contact/Page/View/CustomData.php
CRM/Contact/Selector/Custom.php
CRM/Contribute/BAO/ContributionSoft.php
CRM/Contribute/Form/AdditionalInfo.php
CRM/Contribute/Page/Tab.php
CRM/Contribute/StateMachine/Contribution.php
CRM/Contribute/StateMachine/ContributionPage.php
CRM/Contribute/StateMachine/Search.php
CRM/Core/Payment/Google.php
CRM/Core/Payment/PaymentExpress.php
CRM/Export/BAO/Export.php
CRM/Extension/Info.php
CRM/Extension/Manager.php
CRM/Extension/Mapper.php
CRM/Extension/System.php
CRM/Financial/BAO/FinancialTypeAccount.php
CRM/Financial/Page/Batch.php
CRM/Financial/Page/FinancialBatch.php
CRM/Grant/BAO/Query.php
CRM/Group/Page/Group.php
CRM/Import/DataSource.php
CRM/Import/StateMachine.php
CRM/Mailing/Event/BAO/Subscribe.php
CRM/Mailing/Page/Report.php
CRM/Mailing/Selector/Browse.php
CRM/Mailing/Selector/Event.php
CRM/Mailing/StateMachine/Send.php
CRM/Member/BAO/Query.php
CRM/Member/PseudoConstant.php
CRM/Pledge/BAO/Query.php
CRM/Price/BAO/PriceSet.php
CRM/Queue/Queue/Memory.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php
CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php

index bdfecc795fa4e89cfa92651e5a069b0600d9432a..6f4e452987a1772eab71192e6878c86851369516 100644 (file)
@@ -70,12 +70,13 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta
   /**
    * Retrieve assignee_id by activity_id
    *
-   * @param int    $id  ID of the activity
+   * @param $activity_id
+   *
+   * @internal param int $id ID of the activity
    *
    * @return void
    *
    * @access public
-   *
    */
   static function retrieveAssigneeIdsByActivityId($activity_id) {
     $assigneeArray = array();
index 32612b0288def9ec51409db3e9953d08f70edbf5..1a21e3d2738cf773727528c3203fa06f62f6f10c 100644 (file)
@@ -68,13 +68,16 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact
   /**
    * function to retrieve names of contact by activity_id
    *
-   * @param int    $id   ID of the activity
-   * @param string $type type of interaction
+   * @param $activityID
+   * @param $recordTypeID
+   * @param bool $alsoIDs
+   *
+   * @internal param int $id ID of the activity
+   * @internal param string $type type of interaction
    *
    * @return array
    *
    * @access public
-   *
    */
   static function getNames($activityID, $recordTypeID, $alsoIDs = FALSE) {
     $names = array();
index 6c420c016dc403979ee3d4811fe8afbf184b9db3..76ae5c2f3910cae7b43dcc355f402fafed3fdf88 100644 (file)
@@ -69,12 +69,13 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
   /**
    * function to retrieve id of target contact by activity_id
    *
-   * @param int    $id  ID of the activity
+   * @param $activity_id
+   *
+   * @internal param int $id ID of the activity
    *
    * @return mixed
    *
    * @access public
-   *
    */
   static function retrieveTargetIdsByActivityId($activity_id) {
     $targetArray = array();
index 1e9c2ca1f945c625ffc43566ff0a836d500f773b..75b987ffe1353c75ec64e21fc1ecbe22a50bd430 100644 (file)
@@ -72,6 +72,8 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param CRM_Core_Controller $controller the controller object
    *
+   * @param string $formName
+   *
    * @return string the name of the form that will handle the task
    * @access protected
    */
index ddd72bfa85ffebbf69f0c6ac7e4e42219e632ad6..2653d5a2e11e85b72b965d75aceeb67826405daa 100644 (file)
@@ -119,6 +119,8 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index a67f912cb4af3c90e44b8cd39d4c7e284b5a4332..5d02352c90a1f87173856b8587309ba968d53d8e 100644 (file)
@@ -111,6 +111,8 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index cf6595bd81601a525dad9f5ceaa41f13eca1740d..1ae146c23ed4a37508597b7413a5586c99efcf94 100644 (file)
@@ -84,9 +84,12 @@ class CRM_Campaign_Page_Petition_Confirm extends CRM_Core_Page {
   /**
    * Confirm email verification
    *
-   * @param int $contact_id       The id of the contact
-   * @param int $subscribe_id     The id of the subscription event
-   * @param string $hash          The hash
+   * @param int $contact_id The id of the contact
+   * @param int $subscribe_id The id of the subscription event
+   * @param string $hash The hash
+   *
+   * @param $activity_id
+   * @param $petition_id
    *
    * @return boolean              True on success
    * @access public
index 4b266633ca9c9534d99f2295d9f4915d65186cd7..35a319794924d7228293e9e584fcb4ab0644c981 100644 (file)
@@ -109,6 +109,9 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
    *
    * @access public
    *
+   * @param $form
+   * @param $params
+   *
    * @return void
    */
   static function beginPostProcess(&$form, &$params) {
index 9cb5864c6747c551ba2fd0250784cda69b2be6c4..8bf57ace8ee9463f5858652db59780f56e8501cf 100644 (file)
@@ -110,6 +110,9 @@ class CRM_Case_Form_Activity_ChangeCaseType {
    *
    * @access public
    *
+   * @param $form
+   * @param $params
+   *
    * @return void
    */
   static function beginPostProcess(&$form, &$params) {
index 72a30c5344d1617cc2f0f1e225b6c0a6197b40f8..6840c11bfcfb03a8cd79812ac83a258f100a33db 100644 (file)
@@ -123,6 +123,10 @@ class CRM_Case_Form_Activity_LinkCases {
    *
    * @access public
    *
+   * @param $form
+   * @param $params
+   * @param $activity
+   *
    * @return void
    */
   static function endPostProcess(&$form, &$params, &$activity) {
index a9e29039963aee96d4b89d5d5d43aefda6523c5e..dccdaccb53b661bb09291dc70281696d774dcdf1 100644 (file)
@@ -78,7 +78,9 @@ WHERE     civicrm_contact.id = %1";
   /**
    * function to get the sms number and display name of a contact
    *
-   * @param  int    $id id of the contact
+   * @param  int $id id of the contact
+   *
+   * @param null $type
    *
    * @return array    tuple of display_name and sms if found, or (null,null)
    * @static
index 23bceb8009ea0c1b001185446fbc1c3d9a10d84e..1232f65d869a5e92919c6f8e204bf82582cfd6bd 100644 (file)
@@ -90,9 +90,10 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
    * Given the list of params in the params array, fetch the object
    * and store the values in the values array
    *
-   * @param array $params        input parameters to find object
-   * @param array $values        output values of the object
-   * @param array $ids           the array that holds all the db ids
+   * @param array $params input parameters to find object
+   * @param array $values output values of the object
+   *
+   * @internal param array $ids the array that holds all the db ids
    *
    * @return array (reference)   the values that could be potentially assigned to smarty
    * @access public
index 234c966d8df0c20ed461f77f1903beb3c07725c6..9bf930eb634604e746cc710e1ea06fa03869fd41 100644 (file)
@@ -119,7 +119,9 @@ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganizatio
   /**
    * Method to check group organization relationship exist
    *
-   * @param  int  $contactId
+   * @param $contactID
+   *
+   * @internal param int $contactId
    *
    * @return boolean
    * @access public
index 051ad3c5d00d890a19f857835a2544f80357789b..95c46916087580924c2feb655368b6b8e2f4c6a4 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch {
   /**
    * class constructor
    *
-   * @return object CRM_Contact_BAO_SavedSearch
+   * @return \CRM_Contact_BAO_SavedSearch CRM_Contact_BAO_SavedSearch
    */
   function __construct() {
     parent::__construct();
index 26a0fbde8487739b1b89756cb00583ed7aa74f40..ff43ac489af26b71f1ff2f4d3c80fd5e031d6531 100644 (file)
@@ -43,7 +43,8 @@ class CRM_Contact_Form_Edit_Lock {
    * This function provides the HTML form elements
    *
    * @param object $form form object
-   * @param int $inlineEditMode ( 1 for contact summary
+   *
+   * @internal param int $inlineEditMode ( 1 for contact summary
    * top bar form and 2 for display name edit )
    *
    * @access public
@@ -56,9 +57,11 @@ class CRM_Contact_Form_Edit_Lock {
   /**
    * Ensure that modified_date 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 55bf655258f594e700b4efc218ae5ea23a83d25b..57ea2b1cada967243cfbfe69ba218ab3da44e9a6 100644 (file)
@@ -99,11 +99,10 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
   /**
    * global validation rules for the form
    *
-   * @param array $fields     posted values of the form
-   * @param array $errors     list of errors to be posted back to the form
+   * @param array $fields posted values of the form
+   * @param array $errors list of errors to be posted back to the form
    *
-   * @return $errors
-   * @static
+   * @return array $errors@static
    * @access public
    */
   static function formRule($fields, $errors) {
index 5fa8dd05ec665a838fc04cbf79aefc3998be3906..40d7315a7effab0c7d7e32359c123bd13362f996 100644 (file)
@@ -99,11 +99,10 @@ class CRM_Contact_Form_Inline_IM extends CRM_Contact_Form_Inline {
   /**
    * global validation rules for the form
    *
-   * @param array $fields     posted values of the form
-   * @param array $errors     list of errors to be posted back to the form
+   * @param array $fields posted values of the form
+   * @param array $errors list of errors to be posted back to the form
    *
-   * @return $errors
-   * @static
+   * @return array $errors@static
    * @access public
    */
   static function formRule($fields, $errors) {
index bace5d842e71e89de689fc3b4885707890279318..1dcc5e2bb72ffc570004cc1ac81e2aab56dc68aa 100644 (file)
@@ -43,7 +43,9 @@ class CRM_Contact_Form_Inline_Lock {
    * This function provides the HTML form elements
    *
    * @param object $form form object
-   * @param int $inlineEditMode ( 1 for contact summary
+   * @param $contactID
+   *
+   * @internal param int $inlineEditMode ( 1 for contact summary
    * top bar form and 2 for display name edit )
    *
    * @access public
index 576d347a5db2fe8d7961b75aa7b1093f3361f960..f2053cf16f901d412f4d528f21e0277759e66ee5 100644 (file)
@@ -99,11 +99,10 @@ class CRM_Contact_Form_Inline_OpenID extends CRM_Contact_Form_Inline {
   /**
    * global validation rules for the form
    *
-   * @param array $fields     posted values of the form
-   * @param array $errors     list of errors to be posted back to the form
+   * @param array $fields posted values of the form
+   * @param array $errors list of errors to be posted back to the form
    *
-   * @return $errors
-   * @static
+   * @return array $errors@static
    * @access public
    */
   static function formRule($fields, $errors) {
index 5488a04f02908d9fd2510d0f53c940fcf4075c30..31c97b77187cbef4b6a5f479b2bd11dab169f536 100644 (file)
@@ -99,11 +99,10 @@ class CRM_Contact_Form_Inline_Phone extends CRM_Contact_Form_Inline {
   /**
    * global validation rules for the form
    *
-   * @param array $fields     posted values of the form
-   * @param array $errors     list of errors to be posted back to the form
+   * @param array $fields posted values of the form
+   * @param array $errors list of errors to be posted back to the form
    *
-   * @return $errors
-   * @static
+   * @return array $errors@static
    * @access public
    */
   static function formRule($fields, $errors) {
index a77a9bba222e6d07c9c0dc0fb5293dc1635db1b7..2dac108a678c60c700110dcaf648ecc059086375 100644 (file)
@@ -76,6 +76,8 @@ class CRM_Contact_Form_Location {
   /**
    * Function to build the form
    *
+   * @param $form
+   *
    * @return void
    * @access public
    */
index cfeba4f7477c3397eab67e611b46df48b0611f4f..de287247993ab475b9735887d375715bd61d1e58 100644 (file)
@@ -89,9 +89,13 @@ class CRM_Contact_Form_Task_LabelCommon {
   /**
    * function to get the rows for the labels
    *
-   * @param array $contactIds Contact IDS to do labels for
+   * @param $contactIDs
    * @param integer $locationTypeID
    * @param boolean $respectDoNotMail
+   * @param $mergeSameAddress
+   * @param $mergeSameHousehold
+   *
+   * @internal param array $contactIds Contact IDS to do labels for
    * @return array of rows for labels
    * @access  public
    */
index 8037b9e24dfbf8662ec0ccf3b2696875ffa58f73..de6b300d5dddf3ae089ffffcbd50631b7c687474 100644 (file)
@@ -42,6 +42,8 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
   /**
    * build all the data structures needed to build the form
    *
+   * @param $form
+   *
    * @return void
    * @access public
    */
index 9447561c9df078f9ef440cc49e3892ff970898dd..f070479a423b93af3e6be66d55e7964a5d244d59 100644 (file)
@@ -77,6 +77,9 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
    *
    * @access public
    *
+   * @param $form
+   * @param $proxSearch
+   *
    * @return void
    */
   function buildQuickForm($form, $proxSearch) {
index 85ca1413f6f4b933c266baae851fe9473fd740a1..2406084a6aac24137afc31b5c1eaaf072b930a7e 100644 (file)
@@ -89,11 +89,10 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
    *
    * @access public
    *
-   * @param object $page - the view page which created this one
+   * @internal param object $page - the view page which created this one
    *
    * @return void
    * @static
-   *
    */
   function run() {
     $this->preProcess();
@@ -179,4 +178,4 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page {
     }
     return parent::run();
   }
-}
\ No newline at end of file
+}
index 38b27b0137b5f219b8c65a676e3fb90bd89f7d02..bb50c5bbeb7c9cea33d7307bc75bf7acb1081f00 100644 (file)
@@ -109,12 +109,19 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
   /**
    * Class constructor
    *
+   * @param $customSearchClass
    * @param array $formValues array of form values imported
-   * @param array $params     array of parameters for query
-   * @param int   $action - action of search basic or advanced.
+   * @param array $params array of parameters for query
+   * @param null $returnProperties
+   * @param \const|int $action - action of search basic or advanced.
    *
-   * @return CRM_Contact_Selector
-   * @access public
+   * @param bool $includeContactIds
+   * @param bool $searchChildGroups
+   * @param string $searchContext
+   * @param null $contextMenu
+   *
+   * @return \CRM_Contact_Selector_Custom
+  @access public
    */
   function __construct(
     $customSearchClass,
index f67c0da6ccad8787f932ca927a6b42d295fa0d19..3ee042d6f570507fc1e64488d45933440e20363b 100644 (file)
@@ -89,7 +89,9 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
   /**
    * Function to delete soft credits
    *
-   * @param int $contributionTypeId
+   * @param $params
+   *
+   * @internal param int $contributionTypeId
    * @static
    */
   static function del($params) {
index 54a64d74cd59ccb9c8f214dd7f118c0509832391..294264d2653d2b9380cda7ea95fa588a3c4f4ffd 100644 (file)
@@ -90,6 +90,8 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @access public
    *
+   * @param $form
+   *
    * @return void
    */
   static function buildAdditionalDetail(&$form) {
index af32e5a57816432e6fd5231790bf13472b9e0e83..30cc65e36f8ec0e92c27edba54068e18d30d709e 100644 (file)
@@ -55,9 +55,11 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
    * - Edit
    * - Cancel
    *
+   * @param bool $recurID
+   * @param string $context
+   *
    * @return array
    * @access public
-   *
    */
   static function &recurLinks($recurID = FALSE, $context = 'contribution') {
     if (!(self::$_links)) {
index 91dd11abb5e1e80f322f7e811a158786b9d9f0d2..f32a199d723438177ecb58d0647d03e4d9909c33 100644 (file)
@@ -42,10 +42,11 @@ class CRM_Contribute_StateMachine_Contribution extends CRM_Core_StateMachine {
   /**
    * class constructor
    *
-   * @param object  CRM_Contact_Import_Controller
-   * @param int     $action
+   * @param object $controller
+   * @param \const|int $action
    *
-   * @return object CRM_Contact_Import_StateMachine
+   * @internal param \CRM_Contact_Import_Controller $object
+   * @return \CRM_Contribute_StateMachine_Contribution CRM_Contact_Import_StateMachine
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
index bd98929b238fc1658e2fd7af1d45cbc165564107..cad1d182b8441f3ca24a256b62a603253f71219e 100644 (file)
@@ -42,10 +42,11 @@ class CRM_Contribute_StateMachine_ContributionPage extends CRM_Core_StateMachine
   /**
    * class constructor
    *
-   * @param object  CRM_Contribute_Controller_ContributionPage
-   * @param int     $action
+   * @param object $controller
+   * @param \const|int $action
    *
-   * @return object CRM_Contribute_StateMachine_ContributionPage
+   * @internal param \CRM_Contribute_Controller_ContributionPage $object
+   * @return \CRM_Contribute_StateMachine_ContributionPage CRM_Contribute_StateMachine_ContributionPage
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
index 11530898044254e617b1b66dbd4f6843ab3db8dd..d3c323ee77d64c6fa77dd928a85f14f4aaa8ea7e 100644 (file)
@@ -74,6 +74,8 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine {
    *
    * @param CRM_Core_Controller $controller the controller object
    *
+   * @param string $formName
+   *
    * @return string the name of the form that will handle the task
    * @access protected
    */
index cd7a36ea87ee23e18904f45f2760a566960f4193..cd1ba9c0d900fb80cf9d8759ec6b06d02699a0e5 100644 (file)
@@ -122,11 +122,12 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment {
   /**
    * Sets appropriate parameters for checking out to google
    *
-   * @param array $params  name value pair of contribution datat
+   * @param array $params name value pair of contribution datat
+   *
+   * @param $component
    *
    * @return void
    * @access public
-   *
    */
   function doTransferCheckout(&$params, $component) {
     $component = strtolower($component);
index 653eabf65bd0d311d21df29ed1a0c344bc79909a..7160b8758b6071959529ff1a3342139603eed30c 100644 (file)
@@ -122,11 +122,12 @@ class CRM_Core_Payment_PaymentExpress extends CRM_Core_Payment {
   /**
    * Main transaction function
    *
-   * @param array $params  name value pair of contribution data
+   * @param array $params name value pair of contribution data
+   *
+   * @param $component
    *
    * @return void
    * @access public
-   *
    */
   function doTransferCheckout(&$params, $component) {
     $component = strtolower($component);
index dfc0c1184fd9fbf54f739a41408f088752b2d983..2940f68d0d890f30c2c7dd58effff4ef94eed921 100644 (file)
@@ -46,17 +46,20 @@ class CRM_Export_BAO_Export {
   /**
    * Function to get the list the export fields
    *
-   * @param int    $selectAll user preference while export
-   * @param array  $ids  contact ids
-   * @param array  $params associated array of fields
+   * @param int $selectAll user preference while export
+   * @param array $ids contact ids
+   * @param array $params associated array of fields
    * @param string $order order by clause
-   * @param array  $fields associated array of fields
-   * @param array  $moreReturnProperties additional return fields
-   * @param int    $exportMode export mode
+   * @param array $fields associated array of fields
+   * @param array $moreReturnProperties additional return fields
+   * @param int $exportMode export mode
    * @param string $componentClause component clause
    * @param string $componentTable component table
-   * @param bool   $mergeSameAddress merge records if they have same address
-   * @param bool   $mergeSameHousehold merge records if they belong to the same household
+   * @param bool $mergeSameAddress merge records if they have same address
+   * @param bool $mergeSameHousehold merge records if they belong to the same household
+   *
+   * @param array $exportParams
+   * @param string $queryOperator
    *
    * @static
    * @access public
@@ -310,9 +313,9 @@ class CRM_Export_BAO_Export {
         $componentReturnProperties = CRM_Contact_BAO_Query::defaultReturnProperties($queryMode);
         if ($queryMode == CRM_Contact_BAO_Query::MODE_CONTRIBUTE) {
           // soft credit columns are not automatically populated, because contribution search doesn't require them by default
-          $componentReturnProperties = 
+          $componentReturnProperties =
             array_merge(
-              $componentReturnProperties, 
+              $componentReturnProperties,
               CRM_Contribute_BAO_Query::softCreditReturnProperties(TRUE));
         }
         $returnProperties = array_merge($returnProperties, $componentReturnProperties);
index c0cde01ffd8deee2736163a77e21ea5eba3aafd2..5f662f8a2758f7eb53b8271b114c10893cfa45d2 100644 (file)
@@ -44,9 +44,11 @@ class CRM_Extension_Info {
   /**
    * Load extension info an XML file
    *
-   * @param string $string XML content
+   * @param $file
+   *
+   * @throws CRM_Extension_Exception_ParseException
+   * @internal param string $string XML content
    * @return CRM_Extension_Info
-   * @throws CRM_Extension_Exception
    */
   public static function loadFromFile($file) {
     list ($xml, $error) = CRM_Utils_XML::parseFile($file);
index 44097654478edaa3fd2216ff61e651a27c9fca0d..6d7f1723345048f39ebc231fda12716e14fca32c 100644 (file)
@@ -101,7 +101,10 @@ class CRM_Extension_Manager {
   public $statuses;
 
   /**
+   * @param CRM_Extension_Container_Interface $fullContainer
    * @param CRM_Extension_Container_Basic|FALSE $defaultContainer
+   * @param CRM_Extension_Mapper $mapper
+   * @param $typeManagers
    */
   function __construct(CRM_Extension_Container_Interface $fullContainer, $defaultContainer, CRM_Extension_Mapper $mapper, $typeManagers) {
     $this->fullContainer = $fullContainer;
index b581fd8d64c71d591fa93398e48afafdf00aa9e5..c70f218dad0f299ef5009fabed745b2d239d808f 100755 (executable)
@@ -120,7 +120,9 @@ class CRM_Extension_Mapper {
    *
    * @access public
    *
-   * @param string $key extension key
+   * @param $clazz
+   *
+   * @internal param string $key extension key
    *
    * @return string full path the extension .php file
    */
index a9c099d24b77116b5423eda6fcf1038da96a04f7..0ab76fa2729807a6d2f2cc8357c4dac8b953560a 100644 (file)
@@ -53,6 +53,8 @@ class CRM_Extension_System {
   private $_repoUrl = NULL;
 
   /**
+   * @param bool $fresh
+   *
    * @return CRM_Extension_System
    */
   public static function singleton($fresh = FALSE) {
index f22c0992ab04b7a986c49faba9d5912763862e6e..1510aef22c307bcb16e6d590afc9469bbc5a6b58 100644 (file)
@@ -56,9 +56,11 @@ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFin
    * 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 flattened values
    *
+   * @param array $allValues
+   *
    * @return object CRM_Contribute_BAO_ContributionType object
    * @access public
    * @static
index 41499e470b58b44c10d349a31a9c7abccb4b216e..17e242eba518d53b4b387558d9e71c478d322da5 100644 (file)
@@ -83,6 +83,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index 7be7ee5171e7a76e8082bceff2f12c9e74079f14..64261bf30bc2d39da5766131908cf179af9c0571 100644 (file)
@@ -122,6 +122,8 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
    *
    * Redirect to civicrm home page when clicked on cancel button
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = null) {
index 591739a307ede971b03c636c1ff81f68f09421a4..65c343814713c770bc0b7563e3b081d4a19c90cb 100644 (file)
@@ -100,6 +100,8 @@ class CRM_Grant_BAO_Query {
    * Given a list of conditions in params generate the required
    * where clause
    *
+   * @param $query
+   *
    * @return void
    * @access public
    */
index a7e197af8705c33f5d8d97dfd90dcfe1f2820a72..f0898a8aed713a13fc1cbc006d39f827e58095c8 100644 (file)
@@ -104,8 +104,10 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   /**
    * make sure that the user has permission to access this group
    *
-   * @param int $id   the id of the object
-   * @param int $name the name or title of the object
+   * @param int $id the id of the object
+   * @param int $title
+   *
+   * @internal param int $name the name or title of the object
    *
    * @return string   the permission that the user has (or null)
    * @access public
index 93d81a668cf60861fc0cf32000baa62c7e394526..14cdb9f890be0eec5ab02305ce46da9a9a1b9017 100644 (file)
@@ -61,6 +61,8 @@ abstract class CRM_Import_DataSource {
    * form snippet. It should add all fields necesarry to get the data
    * uploaded to the temporary table in the DB.
    *
+   * @param $form
+   *
    * @return void (operates directly on form argument)
    * @access public
    */
index dce05210023511a36732dad9b0a969cdd97ade8b..df539b4e782ca1523d38ede180389429e6ebaa1b 100644 (file)
@@ -41,9 +41,10 @@ class CRM_Import_StateMachine extends CRM_Core_StateMachine {
   /**
    * Class constructor
    *
-   * @param object  CRM_*_Import_Controller
-   * @param int     $action
+   * @param object $controller
+   * @param \const|int $action
    *
+   * @internal param \CRM_ $object *_Import_Controller
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
index 33bfedcfd117e854b2e9cd620ac5bcafcb1d0c7b..add0cdc0d13b9875487ecdd44fa02ffe361dcd69 100644 (file)
@@ -48,8 +48,10 @@ class CRM_Mailing_Event_BAO_Subscribe extends CRM_Mailing_Event_DAO_Subscribe {
    * Register a subscription event.  Create a new contact if one does not
    * already exist.
    *
-   * @param int $group_id         The group id to subscribe to
-   * @param string $email         The email address of the (new) contact
+   * @param int $group_id The group id to subscribe to
+   * @param string $email The email address of the (new) contact
+   * @param null $contactId
+   * @param null $context
    * @params int $contactId       Currently used during event registration/contribution.
    *                              Specifically to avoid linking group to wrong duplicate contact
    *                              during event registration.
index eb4e82bd41da9c113060f21b3204694d38c41fcb..ae40c24e5087e9905a33946250364e93d5aa5938 100644 (file)
@@ -64,6 +64,8 @@ class CRM_Mailing_Page_Report extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
index c023780a84c885c8cf4b05e4fd216728375178a9..c4422f4d799419b7c5cdadecefda640209d30523 100644 (file)
@@ -59,10 +59,10 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_
   /**
    * Class constructor
    *
-   * @param
+   * @internal param $
    *
-   * @return CRM_Contact_Selector_Profile
-   * @access public
+   * @return \CRM_Mailing_Selector_Browse
+  @access public
    */
   function __construct() {
   }
index cf6779197648016712266710c7ee4e70f112d7b1..607d143025536163c3a243adc753ca4b395f3533 100644 (file)
@@ -84,14 +84,14 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
   /**
    * Class constructor
    *
-   * @param string $event         The event type (queue/delivered/open...)
-   * @param boolean $distinct     Count only distinct contact events?
-   * @param int $mailing          ID of the mailing to query
-   * @param int $job              ID of the job to query.  If null, all jobs from $mailing are queried.
-   * @param int $url              If the event type is a click-through, do we want only those from a specific url?
+   * @param string $event The event type (queue/delivered/open...)
+   * @param boolean $distinct Count only distinct contact events?
+   * @param int $mailing ID of the mailing to query
+   * @param int $job ID of the job to query.  If null, all jobs from $mailing are queried.
+   * @param int $url If the event type is a click-through, do we want only those from a specific url?
    *
-   * @return CRM_Contact_Selector_Profile
-   * @access public
+   * @return \CRM_Mailing_Selector_Event
+  @access public
    */
   function __construct($event, $distinct, $mailing, $job = NULL, $url = NULL) {
     $this->_event_type  = $event;
index 221abf4b5e2dbbbfa17076977c27341aa8528587..ad400433de8174ca6edbbbe55b0b9e10602f1709 100644 (file)
@@ -42,10 +42,11 @@ class CRM_Mailing_StateMachine_Send extends CRM_Core_StateMachine {
   /**
    * class constructor
    *
-   * @param object  CRM_Mailing_Controller
-   * @param int     $action
+   * @param object $controller
+   * @param \const|int $action
    *
-   * @return object CRM_Mailing_StateMachine
+   * @internal param \CRM_Mailing_Controller $object
+   * @return \CRM_Mailing_StateMachine_Send CRM_Mailing_StateMachine
    */
   function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
index efdd8bd68eb028c50122137aceddc5161dcb007e..87b50c5de1ede169241db4898961db852dae6ae1 100644 (file)
@@ -42,6 +42,8 @@ class CRM_Member_BAO_Query {
   /**
    * if membership are involved, add the specific membership fields
    *
+   * @param $query
+   *
    * @return void
    * @access public
    */
index 64ee203cecf9688c822c22352e0d9de147fd646c..839bce7ebb983366599ce990958947bf9e98b583 100644 (file)
@@ -58,6 +58,9 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
+   * @param bool $force
+   *
    * @return array - array reference of all membership types if any
    * @static
    */
@@ -85,6 +88,11 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    *
    * @access public
    *
+   * @param null $id
+   * @param null $cond
+   * @param string $column
+   * @param bool $force
+   *
    * @return array - array reference of all membership statuss if any
    * @static
    */
index cb61a4e3f0fbed486d7f9106d5bb9a2eb5bf435b..2ac269866bf2a5186e9ba561d52ab0332af5d3ac 100644 (file)
@@ -42,6 +42,8 @@ class CRM_Pledge_BAO_Query {
   /**
    * build select for Pledge
    *
+   * @param $query
+   *
    * @return void
    * @access public
    */
index d2413bac5b126a0326ca74e30ec47ff156100981..1cf4291460701f4501473805a4f9adae7e71ef21 100644 (file)
@@ -85,8 +85,10 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet {
   /**
    * update the is_active flag in the db
    *
-   * @param  int      $id         id of the database record
-   * @param  boolean  $is_active  value we want to set the is_active field
+   * @param  int $id id of the database record
+   * @param $isActive
+   *
+   * @internal param bool $is_active value we want to set the is_active field
    *
    * @return Object             DAO object on sucess, null otherwise
    * @static
index 31cef0b8e58d9bee8fe952473fee3b315dae4ef8..8495bfa731fdb5cbcaa2e4bdef238a056ff9278d 100644 (file)
@@ -118,7 +118,7 @@ class CRM_Queue_Queue_Memory extends CRM_Queue_Queue {
   /**
    * Get and remove the next item
    *
-   * @param $leaseTime seconds
+   * @param int|\seconds $leaseTime seconds
    *
    * @return object with key 'data' that matches the inputted data
    */
index 5c4136ecbf7c71ab4eea3f3ee2da7d461ada20c5..802dcbc0b362a55ab76dc91a0a8c4059b6fd7c8e 100644 (file)
@@ -48,8 +48,9 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p
    * price field object. the params array could contain additional unused name/value
    * pairs
    *
-   * @param array  $params    (reference ) an assoc array of name/value pairs
-   * @param array  $ids       the array that holds all the db ids
+   * @param array $params (reference ) an assoc array of name/value pairs
+   *
+   * @internal param array $ids the array that holds all the db ids
    *
    * @return object CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field object
    * @access public
index eaa8b0e31f7ae98430694768db13caa2c6f5d34e..5b0c6ef6f0fb56a3ed1083a37ec375dc9adb6f6a 100644 (file)
@@ -44,6 +44,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
    *
    * @param array $params (reference), array $ids
    *
+   * @param $ids
+   *
    * @return object CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue object
    * @access public
    * @static
@@ -71,6 +73,8 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho
    *
    * @param array $params (reference), array $ids
    *
+   * @param $ids
+   *
    * @return object CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue object
    * @access public
    * @static