From: Coleman Watts Date: Fri, 9 Jan 2015 19:37:01 +0000 (-0500) Subject: INFRA-132 - Comment grammar cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dc195289d598fae6feedab517c4ababcdb840541;p=civicrm-core.git INFRA-132 - Comment grammar cleanup --- diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index e3524ec18f..f52bc92c5f 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -1712,7 +1712,7 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND } /** - * To get the Activities of a target contact + * get the Activities of a target contact * * @param int $contactId * Id of the contact whose activities need to find. @@ -2443,7 +2443,7 @@ INNER JOIN civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n } /** - * This function is a wrapper for ajax activity selector + * wrapper for ajax activity selector * * @param array $params * Associated array for params record id. @@ -2592,7 +2592,7 @@ INNER JOIN civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n } /** - * Used to copy custom fields and attachments from an existing activity to another. + * copy custom fields and attachments from an existing activity to another. * @see CRM_Case_Page_AJAX::_convertToCaseActivity() * * @param array $params diff --git a/CRM/Activity/Page/UserDashboard.php b/CRM/Activity/Page/UserDashboard.php index a1bad0b64a..824540bbc8 100644 --- a/CRM/Activity/Page/UserDashboard.php +++ b/CRM/Activity/Page/UserDashboard.php @@ -65,7 +65,7 @@ class CRM_Activity_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoar } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Admin/Form/Setting/Mapping.php b/CRM/Admin/Form/Setting/Mapping.php index 1ab0839567..f0e8d00fbd 100644 --- a/CRM/Admin/Form/Setting/Mapping.php +++ b/CRM/Admin/Form/Setting/Mapping.php @@ -85,7 +85,7 @@ class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @param null diff --git a/CRM/Batch/BAO/Batch.php b/CRM/Batch/BAO/Batch.php index bac5d257df..e97b3c8d85 100755 --- a/CRM/Batch/BAO/Batch.php +++ b/CRM/Batch/BAO/Batch.php @@ -180,7 +180,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch { } /** - * This function is a wrapper for ajax batch selector + * wrapper for ajax batch selector * * @param array $params * Associated array for params record id. diff --git a/CRM/Campaign/BAO/Survey.php b/CRM/Campaign/BAO/Survey.php index 90aad1c0ab..c9c9098941 100644 --- a/CRM/Campaign/BAO/Survey.php +++ b/CRM/Campaign/BAO/Survey.php @@ -679,7 +679,7 @@ INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a } /** - * This function retrieve survey voter information. + * Retrieve survey voter information. * * @param int $surveyId * Survey id. @@ -688,7 +688,8 @@ INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a * @param array $statusIds * Survey status ids. * - * @return array $$contactIds survey related contact ids. + * @return array + * Survey related contact ids. * @static */ public static function getSurveyVoterInfo($surveyId, $interviewerId = NULL, $statusIds = array()) { @@ -738,7 +739,7 @@ INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a } /** - * This function is to check survey activity. + * check survey activity. * * @param int $activityId * Activity id. diff --git a/CRM/Campaign/Form/Campaign.php b/CRM/Campaign/Form/Campaign.php index a6260bff25..ae7673791d 100644 --- a/CRM/Campaign/Form/Campaign.php +++ b/CRM/Campaign/Form/Campaign.php @@ -293,7 +293,7 @@ class CRM_Campaign_Form_Campaign extends CRM_Core_Form { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @param $fields diff --git a/CRM/Campaign/Form/Petition/Signature.php b/CRM/Campaign/Form/Petition/Signature.php index 925b90b85b..b11a11aafc 100644 --- a/CRM/Campaign/Form/Petition/Signature.php +++ b/CRM/Campaign/Form/Petition/Signature.php @@ -317,7 +317,7 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @param $fields diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index ef8db7a669..35cdd7504e 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -218,7 +218,7 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { } /** - * This function is used to convert associative array names to values + * convert associative array names to values * and vice-versa. * * This function is used by both the web form layer and the api. Note that diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index b6382ed171..9d9e575d59 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -311,7 +311,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @return void diff --git a/CRM/Case/Page/CaseDetails.php b/CRM/Case/Page/CaseDetails.php index 4987dd4cb8..15cd39920b 100644 --- a/CRM/Case/Page/CaseDetails.php +++ b/CRM/Case/Page/CaseDetails.php @@ -35,7 +35,7 @@ class CRM_Case_Page_CaseDetails extends CRM_Core_Page { /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Case/Page/DashBoard.php b/CRM/Case/Page/DashBoard.php index c0a1839485..67ab6baf0d 100644 --- a/CRM/Case/Page/DashBoard.php +++ b/CRM/Case/Page/DashBoard.php @@ -105,7 +105,7 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Case/Page/Tab.php b/CRM/Case/Page/Tab.php index 279c025bef..3ca767085f 100644 --- a/CRM/Case/Page/Tab.php +++ b/CRM/Case/Page/Tab.php @@ -139,7 +139,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -162,7 +162,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -181,7 +181,7 @@ class CRM_Case_Page_Tab extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index 15dcf89f68..b3658aa2b5 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -712,7 +712,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { } /** - * This function is a wrapper for ajax group selector + * wrapper for ajax group selector * * @param array $params * Associated array for params record id. diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 385764563c..84ec03fccd 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -34,7 +34,7 @@ */ /** - * This class is a heart of search query building mechanism. + * This is the heart of the search query building mechanism. */ class CRM_Contact_BAO_Query { diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index afdcbeb5ae..76b4d71ffd 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -1761,7 +1761,7 @@ AND cc.sort_name LIKE '%$name%'"; /** - * This function is a wrapper for contact relationship selector + * wrapper for contact relationship selector * * @param array $params * Associated array for params record id. diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index 8277a2fd7b..e7c9dffb8a 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -550,7 +550,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @return void diff --git a/CRM/Contact/Form/Edit/Notes.php b/CRM/Contact/Form/Edit/Notes.php index a827078176..a65484adc3 100644 --- a/CRM/Contact/Form/Edit/Notes.php +++ b/CRM/Contact/Form/Edit/Notes.php @@ -35,7 +35,7 @@ class CRM_Contact_Form_Edit_Notes { /** - * This function is to build form elements + * build form elements * params object $form object of the form * * @static diff --git a/CRM/Contact/Form/Edit/TagsAndGroups.php b/CRM/Contact/Form/Edit/TagsAndGroups.php index 95e103fbbe..c59ed345d9 100644 --- a/CRM/Contact/Form/Edit/TagsAndGroups.php +++ b/CRM/Contact/Form/Edit/TagsAndGroups.php @@ -42,7 +42,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups { const GROUP = 1, TAG = 2, ALL = 3; /** - * This function is to build form elements + * build form elements * params object $form object of the form * * @param CRM_Core_Form $form diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index e3f0e7e57f..9818d7d5b3 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -276,7 +276,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { } /** - * This function is used to add the rules for form. + * add the rules for form. * * @return void */ diff --git a/CRM/Contact/Form/Task.php b/CRM/Contact/Form/Task.php index 0e728ef1e4..2b4da5af51 100644 --- a/CRM/Contact/Form/Task.php +++ b/CRM/Contact/Form/Task.php @@ -338,7 +338,7 @@ class CRM_Contact_Form_Task extends CRM_Core_Form { } /** - * This function is used to add the rules for form. + * add the rules for form. * * @return void */ diff --git a/CRM/Contact/Form/Task/AddToHousehold.php b/CRM/Contact/Form/Task/AddToHousehold.php index 46cc716310..0490eb929e 100644 --- a/CRM/Contact/Form/Task/AddToHousehold.php +++ b/CRM/Contact/Form/Task/AddToHousehold.php @@ -173,7 +173,7 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task { } /** - * This function is to get the result of the search for Add to * forms + * get the result of the search for Add to * forms * * @param CRM_Core_Form $form * @param array $params diff --git a/CRM/Contact/Page/DedupeException.php b/CRM/Contact/Page/DedupeException.php index 9ff75ba9ba..7c899f138b 100644 --- a/CRM/Contact/Page/DedupeException.php +++ b/CRM/Contact/Page/DedupeException.php @@ -79,7 +79,7 @@ class CRM_Contact_Page_DedupeException extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contact/Page/View/ContactSmartGroup.php b/CRM/Contact/Page/View/ContactSmartGroup.php index 5d5df074de..f72911e360 100644 --- a/CRM/Contact/Page/View/ContactSmartGroup.php +++ b/CRM/Contact/Page/View/ContactSmartGroup.php @@ -40,7 +40,7 @@ class CRM_Contact_Page_View_ContactSmartGroup extends CRM_Core_Page { public $_contactId; /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -96,7 +96,7 @@ class CRM_Contact_Page_View_ContactSmartGroup extends CRM_Core_Page { } /** - * This function is the main function that is called + * the main function that is called * when the page loads, it decides the which action has * to be taken for the page. * diff --git a/CRM/Contact/Page/View/GroupContact.php b/CRM/Contact/Page/View/GroupContact.php index 55e1f07e4d..3310b10660 100644 --- a/CRM/Contact/Page/View/GroupContact.php +++ b/CRM/Contact/Page/View/GroupContact.php @@ -35,7 +35,7 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -70,7 +70,7 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page { } /** - * This function is called when action is update + * called when action is update * * @param int $groupId * @@ -115,7 +115,7 @@ class CRM_Contact_Page_View_GroupContact extends CRM_Core_Page { } /** - * This function is the main function that is called + * the main function that is called * when the page loads, it decides the which action has * to be taken for the page. * diff --git a/CRM/Contact/Page/View/Log.php b/CRM/Contact/Page/View/Log.php index 6833d450cf..9e857fb8d1 100644 --- a/CRM/Contact/Page/View/Log.php +++ b/CRM/Contact/Page/View/Log.php @@ -35,7 +35,7 @@ class CRM_Contact_Page_View_Log extends CRM_Core_Page { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -87,7 +87,7 @@ class CRM_Contact_Page_View_Log extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. + * the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null */ diff --git a/CRM/Contact/Page/View/Note.php b/CRM/Contact/Page/View/Note.php index ff0ae35dd2..91532a133a 100644 --- a/CRM/Contact/Page/View/Note.php +++ b/CRM/Contact/Page/View/Note.php @@ -82,7 +82,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { } /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -161,7 +161,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -213,7 +213,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contact/Page/View/Relationship.php b/CRM/Contact/Page/View/Relationship.php index 354b00e08a..8d68c415b8 100644 --- a/CRM/Contact/Page/View/Relationship.php +++ b/CRM/Contact/Page/View/Relationship.php @@ -135,7 +135,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { } /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -144,7 +144,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -199,7 +199,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null @@ -259,7 +259,7 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { } /** - * This function is called to delete the relationship of a contact + * called to delete the relationship of a contact * * return null */ diff --git a/CRM/Contact/Page/View/Sunlight.php b/CRM/Contact/Page/View/Sunlight.php index 868e80f1c4..2d06487201 100644 --- a/CRM/Contact/Page/View/Sunlight.php +++ b/CRM/Contact/Page/View/Sunlight.php @@ -35,7 +35,7 @@ class CRM_Contact_Page_View_Sunlight extends CRM_Contact_Page_View { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -53,7 +53,7 @@ class CRM_Contact_Page_View_Sunlight extends CRM_Contact_Page_View { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contact/Page/View/Tag.php b/CRM/Contact/Page/View/Tag.php index 5702958758..b914a29ce7 100644 --- a/CRM/Contact/Page/View/Tag.php +++ b/CRM/Contact/Page/View/Tag.php @@ -35,7 +35,7 @@ class CRM_Contact_Page_View_Tag extends CRM_Core_Page { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -65,7 +65,7 @@ class CRM_Contact_Page_View_Tag extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads + * the main function that is called when the page loads * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contact/Page/View/UserDashBoard/GroupContact.php b/CRM/Contact/Page/View/UserDashBoard/GroupContact.php index 906d41d859..05a908ae0b 100644 --- a/CRM/Contact/Page/View/UserDashBoard/GroupContact.php +++ b/CRM/Contact/Page/View/UserDashBoard/GroupContact.php @@ -35,7 +35,7 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_View_UserDashBoard { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -75,7 +75,7 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ } /** - * This function is called when action is update + * called when action is update * * @param int $groupId * @@ -129,7 +129,7 @@ class CRM_Contact_Page_View_UserDashBoard_GroupContact extends CRM_Contact_Page_ } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contact/Selector.php b/CRM/Contact/Selector.php index 064381867b..57a4e30437 100644 --- a/CRM/Contact/Selector.php +++ b/CRM/Contact/Selector.php @@ -1038,7 +1038,7 @@ SELECT DISTINCT 'civicrm_contact', contact_a.id, contact_a.id, '$cacheKey', cont } /** - * This function is called to rebuild prev next cache using full sql in case of core search ( excluding custom search) + * called to rebuild prev next cache using full sql in case of core search ( excluding custom search) * * @param int $start * Start for limit clause. diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 3f18eaaab4..2b7b79d7be 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -499,7 +499,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { } /** - * This function is used to convert associative array names to values + * convert associative array names to values * and vice-versa. * * This function is used by both the web form layer and the api. Note that diff --git a/CRM/Contribute/BAO/ContributionPage.php b/CRM/Contribute/BAO/ContributionPage.php index 4bddc9c061..8e00461b8f 100644 --- a/CRM/Contribute/BAO/ContributionPage.php +++ b/CRM/Contribute/BAO/ContributionPage.php @@ -616,7 +616,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio } /** - * This function is to make a copy of a contribution page, including + * make a copy of a contribution page, including * all the blocks in the page * * @param int $id diff --git a/CRM/Contribute/Form/AdditionalInfo.php b/CRM/Contribute/Form/AdditionalInfo.php index ec0dc8ef0b..5d1c072e30 100644 --- a/CRM/Contribute/Form/AdditionalInfo.php +++ b/CRM/Contribute/Form/AdditionalInfo.php @@ -170,7 +170,7 @@ class CRM_Contribute_Form_AdditionalInfo { } /** - * This function is used by CRM/Pledge/Form/Pledge.php + * used by CRM/Pledge/Form/Pledge.php * * Build the form object for PaymentReminders Information. * diff --git a/CRM/Contribute/Form/UpdateSubscription.php b/CRM/Contribute/Form/UpdateSubscription.php index 3c47ffdc08..eb1f5b304c 100644 --- a/CRM/Contribute/Form/UpdateSubscription.php +++ b/CRM/Contribute/Form/UpdateSubscription.php @@ -180,7 +180,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { } /** - * This function is called after the user submits the form + * called after the user submits the form * * * @return void diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index 97911f9a15..357c214e08 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -370,7 +370,7 @@ AND cp.page_type = 'contribute' } /** - * This function is to make a copy of a contribution page, including + * make a copy of a contribution page, including * all the fields in the page * * @return void diff --git a/CRM/Contribute/Page/ContributionRecur.php b/CRM/Contribute/Page/ContributionRecur.php index d5a6f0f992..0f85bac363 100644 --- a/CRM/Contribute/Page/ContributionRecur.php +++ b/CRM/Contribute/Page/ContributionRecur.php @@ -91,7 +91,7 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contribute/Page/DashBoard.php b/CRM/Contribute/Page/DashBoard.php index 5ebaead6c3..a99ce6c96a 100644 --- a/CRM/Contribute/Page/DashBoard.php +++ b/CRM/Contribute/Page/DashBoard.php @@ -100,7 +100,7 @@ class CRM_Contribute_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contribute/Page/SubscriptionStatus.php b/CRM/Contribute/Page/SubscriptionStatus.php index da9f814c6e..6482600b67 100644 --- a/CRM/Contribute/Page/SubscriptionStatus.php +++ b/CRM/Contribute/Page/SubscriptionStatus.php @@ -36,7 +36,7 @@ class CRM_Contribute_Page_SubscriptionStatus extends CRM_Core_Page { /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contribute/Page/Tab.php b/CRM/Contribute/Page/Tab.php index 670aa667e5..fce3a03764 100644 --- a/CRM/Contribute/Page/Tab.php +++ b/CRM/Contribute/Page/Tab.php @@ -103,7 +103,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { // end function /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -199,7 +199,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is view + * called when action is view * * return null */ @@ -217,7 +217,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -268,7 +268,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Contribute/Page/UserDashboard.php b/CRM/Contribute/Page/UserDashboard.php index e83fd6dc66..1a63c013b8 100644 --- a/CRM/Contribute/Page/UserDashboard.php +++ b/CRM/Contribute/Page/UserDashboard.php @@ -35,7 +35,7 @@ class CRM_Contribute_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -143,7 +143,7 @@ class CRM_Contribute_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBo } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Core/BAO/RecurringEntity.php b/CRM/Core/BAO/RecurringEntity.php index 3c52ea7676..06f98119f5 100644 --- a/CRM/Core/BAO/RecurringEntity.php +++ b/CRM/Core/BAO/RecurringEntity.php @@ -927,7 +927,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { } /** - * This function is a wrapper of getScheduleReminderDetailsById function + * wrapper of getScheduleReminderDetailsById function * * @param int $scheduleReminderId * Primary key of civicrm_action_schedule table . diff --git a/CRM/Core/BAO/UFGroup.php b/CRM/Core/BAO/UFGroup.php index e15191e08a..987b3126e0 100644 --- a/CRM/Core/BAO/UFGroup.php +++ b/CRM/Core/BAO/UFGroup.php @@ -2717,7 +2717,7 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) } /** - * This function is to make a copy of a profile, including + * make a copy of a profile, including * all the fields in the profile * * @param int $id @@ -3210,7 +3210,7 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) } /** - * This function is used to setDefault componet specific profile fields. + * setDefault componet specific profile fields. * * @param array $fields * Profile fields. diff --git a/CRM/Core/Config/Variables.php b/CRM/Core/Config/Variables.php index 443c332078..ac4c29b2e1 100644 --- a/CRM/Core/Config/Variables.php +++ b/CRM/Core/Config/Variables.php @@ -439,7 +439,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults { public $formKeyDisable = FALSE; /** - * To determine whether the call is from cms or civicrm + * determine whether the call is from cms or civicrm */ public $inCiviCRM = FALSE; diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 3fb5362345..812bf7fa23 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -1290,7 +1290,7 @@ FROM civicrm_domain } /** - * This function is to make a shallow copy of an object + * make a shallow copy of an object * and all the fields in the object * * @param string $daoName diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 289d44afd8..9f5162e239 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -294,7 +294,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { } /** - * This function is called before buildForm. Any pre-processing that + * called before buildForm. Any pre-processing that * needs to be done for buildForm should be done here * * This is a virtual function and should be redefined if needed @@ -307,7 +307,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { } /** - * This function is called after the form is validated. Any + * called after the form is validated. Any * processing of form state etc should be done in this function. * Typically all processing associated with a form should be done * here and relevant state should be stored in the session @@ -322,7 +322,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { } /** - * This function is just a wrapper, so that we can call all the hook functions + * just a wrapper, so that we can call all the hook functions * @param bool $allowAjax * FIXME: This feels kind of hackish, ideally we would take the json-related code from this function. * and bury it deeper down in the controller diff --git a/CRM/Core/Form/Date.php b/CRM/Core/Form/Date.php index 6c6614708f..d1d37adf15 100644 --- a/CRM/Core/Form/Date.php +++ b/CRM/Core/Form/Date.php @@ -40,7 +40,7 @@ class CRM_Core_Form_Date { const DATE_yyyy_mm_dd = 1, DATE_mm_dd_yy = 2, DATE_mm_dd_yyyy = 4, DATE_Month_dd_yyyy = 8, DATE_dd_mon_yy = 16, DATE_dd_mm_yyyy = 32; /** - * This function is to build the date-format form + * build the date-format form * * @param CRM_Core_Form $form * The form object that we are operating on. @@ -71,7 +71,7 @@ class CRM_Core_Form_Date { /** - * This function is to retrieve the date range - relative or absolute + * retrieve the date range - relative or absolute * and assign it to the form * * @param CRM_Core_Form $form @@ -112,7 +112,7 @@ class CRM_Core_Form_Date { } /** - * This function is to build the date range array that will provide the form option values + * build the date range array that will provide the form option values * It can be - relative or absolute * * @param CRM_Core_Form $form @@ -227,7 +227,7 @@ class CRM_Core_Form_Date { } /** - * This function is to build the date range - relative or absolute + * build the date range - relative or absolute * * @param CRM_Core_Form $form * The form object that we are operating on. diff --git a/CRM/Core/HTMLInputCoder.php b/CRM/Core/HTMLInputCoder.php index 13cb432f54..71eb60e5ea 100644 --- a/CRM/Core/HTMLInputCoder.php +++ b/CRM/Core/HTMLInputCoder.php @@ -39,7 +39,7 @@ class CRM_Core_HTMLInputCoder { } /** - * This function is going to filter the + * going to filter the * submitted values across XSS vulnerability. * * @param array|string $values diff --git a/CRM/Custom/Form/Group.php b/CRM/Custom/Form/Group.php index 0e7ee54da2..245d0a6ca4 100644 --- a/CRM/Custom/Form/Group.php +++ b/CRM/Custom/Form/Group.php @@ -171,7 +171,7 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @param null diff --git a/CRM/Dedupe/BAO/Rule.php b/CRM/Dedupe/BAO/Rule.php index a2cb22c324..29a67183be 100644 --- a/CRM/Dedupe/BAO/Rule.php +++ b/CRM/Dedupe/BAO/Rule.php @@ -185,7 +185,7 @@ class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_DAO_Rule { } /** - * To find fields related to a rule group. + * find fields related to a rule group. * * @param array contains the rule group property to identify rule group * diff --git a/CRM/Dedupe/BAO/RuleGroup.php b/CRM/Dedupe/BAO/RuleGroup.php index 6f76661c1e..127adce26c 100644 --- a/CRM/Dedupe/BAO/RuleGroup.php +++ b/CRM/Dedupe/BAO/RuleGroup.php @@ -375,7 +375,7 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup { } /** - * To find fields related to a rule group. + * find fields related to a rule group. * * @param array $params * diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 6228854583..bfe9342ac2 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -907,7 +907,7 @@ WHERE civicrm_event.is_active = 1 } /** - * This function is to make a copy of a Event, including + * make a copy of a Event, including * all the fields in the event Wizard * * @param int $id diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index cc905d78e4..305bb82ca2 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -841,7 +841,7 @@ WHERE civicrm_participant.id = {$participantId} } /** - * This function is used to convert associative array names to values + * convert associative array names to values * and vice-versa. * * This function is used by both the web form layer and the api. Note that @@ -1808,7 +1808,7 @@ WHERE civicrm_participant.contact_id = {$contactID} AND } /** - * To create trxn entry if an event has discount. + * create trxn entry if an event has discount. * * @param int $eventID * Event id. diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 7cc862ad43..ef95c84932 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -350,7 +350,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @return void diff --git a/CRM/Event/Page/DashBoard.php b/CRM/Event/Page/DashBoard.php index 61207c2996..dbf6f27b27 100644 --- a/CRM/Event/Page/DashBoard.php +++ b/CRM/Event/Page/DashBoard.php @@ -72,7 +72,7 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index 46b03191a9..1350a7d648 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -394,7 +394,7 @@ ORDER BY start_date desc } /** - * This function is to make a copy of a Event, including + * make a copy of a Event, including * all the fields in the event wizard * * @return void diff --git a/CRM/Event/Page/Tab.php b/CRM/Event/Page/Tab.php index 2eaa8dd389..d249a63d8e 100644 --- a/CRM/Event/Page/Tab.php +++ b/CRM/Event/Page/Tab.php @@ -38,7 +38,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { public $_contactId = NULL; /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -70,7 +70,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is view + * called when action is view * * return null */ @@ -91,7 +91,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -146,7 +146,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. + * the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null */ @@ -280,7 +280,7 @@ class CRM_Event_Page_Tab extends CRM_Core_Page { } /** - * This function is used for the to show the associated + * used for the to show the associated * contribution for the participant * * return null diff --git a/CRM/Event/Page/UserDashboard.php b/CRM/Event/Page/UserDashboard.php index 9dd9d3b13a..5bd6e74e3d 100644 --- a/CRM/Event/Page/UserDashboard.php +++ b/CRM/Event/Page/UserDashboard.php @@ -60,7 +60,7 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Financial/BAO/FinancialType.php b/CRM/Financial/BAO/FinancialType.php index 72a1216b8f..01a1cc95a6 100644 --- a/CRM/Financial/BAO/FinancialType.php +++ b/CRM/Financial/BAO/FinancialType.php @@ -165,7 +165,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType { } /** - * To fetch financial type having relationship as Income Account is + * fetch financial type having relationship as Income Account is * * * @return array all financial type with income account is relationship diff --git a/CRM/Grant/Page/DashBoard.php b/CRM/Grant/Page/DashBoard.php index 5c5a255e94..c67e46bb08 100644 --- a/CRM/Grant/Page/DashBoard.php +++ b/CRM/Grant/Page/DashBoard.php @@ -55,7 +55,7 @@ class CRM_Grant_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Grant/Page/Tab.php b/CRM/Grant/Page/Tab.php index 31f02fde24..97c126b98d 100644 --- a/CRM/Grant/Page/Tab.php +++ b/CRM/Grant/Page/Tab.php @@ -50,7 +50,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { public $_contactId = NULL; /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -71,7 +71,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { } /** - * This function is called when action is view + * called when action is view * * return null */ @@ -85,7 +85,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -130,7 +130,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 1e6bd12223..f55ffd2caa 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -2917,7 +2917,7 @@ AND m.id = %1 } /** - * This function is a wrapper for ajax activity selector + * wrapper for ajax activity selector * * @param array $params * Associated array for params record id. diff --git a/CRM/Mailing/Page/Tab.php b/CRM/Mailing/Page/Tab.php index 08fafb425d..7cb8897e3e 100644 --- a/CRM/Mailing/Page/Tab.php +++ b/CRM/Mailing/Page/Tab.php @@ -49,7 +49,7 @@ class CRM_Mailing_Page_Tab extends CRM_Contact_Page_View { public $_contactId = NULL; /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -79,7 +79,7 @@ class CRM_Mailing_Page_Tab extends CRM_Contact_Page_View { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Member/Import/Form/MapField.php b/CRM/Member/Import/Form/MapField.php index dddb23aad2..9a6e719285 100644 --- a/CRM/Member/Import/Form/MapField.php +++ b/CRM/Member/Import/Form/MapField.php @@ -41,7 +41,7 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { /** - * To store contactType + * store contactType * * @var int * @static diff --git a/CRM/Member/Page/DashBoard.php b/CRM/Member/Page/DashBoard.php index f578c4c6f9..4f6c81b7d1 100644 --- a/CRM/Member/Page/DashBoard.php +++ b/CRM/Member/Page/DashBoard.php @@ -438,7 +438,7 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Member/Page/Tab.php b/CRM/Member/Page/Tab.php index ec75c1dccd..0fffb1f4c4 100644 --- a/CRM/Member/Page/Tab.php +++ b/CRM/Member/Page/Tab.php @@ -47,7 +47,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { public $_contactId = NULL; /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -215,7 +215,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is view + * called when action is view * * return null */ @@ -233,7 +233,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -306,7 +306,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. + * the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null */ @@ -570,7 +570,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page { } /** - * This function is used for the to show the associated + * used for the to show the associated * contribution for the membership * @form array $form (ref.) an assoc array of name/value pairs * return null diff --git a/CRM/Member/Page/UserDashboard.php b/CRM/Member/Page/UserDashboard.php index d1c0ad4aeb..53fca6498a 100644 --- a/CRM/Member/Page/UserDashboard.php +++ b/CRM/Member/Page/UserDashboard.php @@ -91,7 +91,7 @@ class CRM_Member_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Pledge/Form/Search.php b/CRM/Pledge/Form/Search.php index 60a4a37e5a..2aacb4cacf 100644 --- a/CRM/Pledge/Form/Search.php +++ b/CRM/Pledge/Form/Search.php @@ -281,7 +281,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { } /** - * This function is used to add the rules (mainly global rules) for form. + * add the rules (mainly global rules) for form. * All local rules are added near the element * * @return void diff --git a/CRM/Pledge/Page/DashBoard.php b/CRM/Pledge/Page/DashBoard.php index 1eaf39947a..46f5e6f3b9 100644 --- a/CRM/Pledge/Page/DashBoard.php +++ b/CRM/Pledge/Page/DashBoard.php @@ -94,7 +94,7 @@ class CRM_Pledge_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Pledge/Page/Payment.php b/CRM/Pledge/Page/Payment.php index bee1d2284a..766ba55e9d 100644 --- a/CRM/Pledge/Page/Payment.php +++ b/CRM/Pledge/Page/Payment.php @@ -35,7 +35,7 @@ class CRM_Pledge_Page_Payment extends CRM_Core_Page { /** - * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. + * the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null */ @@ -77,7 +77,7 @@ class CRM_Pledge_Page_Payment extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ diff --git a/CRM/Pledge/Page/Tab.php b/CRM/Pledge/Page/Tab.php index 041c3fd62e..83f2878047 100644 --- a/CRM/Pledge/Page/Tab.php +++ b/CRM/Pledge/Page/Tab.php @@ -37,7 +37,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { public $_contactId = NULL; /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -64,7 +64,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is view + * called when action is view * * return null */ @@ -81,7 +81,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { } /** - * This function is called when action is update or new + * called when action is update or new * * return null */ @@ -123,7 +123,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, it decides the which action has to be taken for the page. + * the main function that is called when the page loads, it decides the which action has to be taken for the page. * * return null */ diff --git a/CRM/Pledge/Page/UserDashboard.php b/CRM/Pledge/Page/UserDashboard.php index c5f5d35b31..fdd0ac563a 100644 --- a/CRM/Pledge/Page/UserDashboard.php +++ b/CRM/Pledge/Page/UserDashboard.php @@ -35,7 +35,7 @@ class CRM_Pledge_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { /** - * This function is called when action is browse + * called when action is browse * * return null */ @@ -69,7 +69,7 @@ class CRM_Pledge_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. * * return null diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index a6c79179f7..510a4763e9 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -1097,7 +1097,7 @@ WHERE id = %1"; } /** - * This function is to make a copy of a price set, including + * make a copy of a price set, including * all the fields * * @param int $id @@ -1146,7 +1146,7 @@ WHERE id = %1"; } /** - * This function is to check price set permission + * check price set permission * * @param int $sid * The price set id. diff --git a/CRM/Price/Page/Set.php b/CRM/Price/Page/Set.php index 35b28d905f..dc6cf216a7 100644 --- a/CRM/Price/Page/Set.php +++ b/CRM/Price/Page/Set.php @@ -316,7 +316,7 @@ class CRM_Price_Page_Set extends CRM_Core_Page { } /** - * This function is to make a copy of a price set, including + * make a copy of a price set, including * all the fields in the page * * @return void diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index aa8d60cdd4..87fe91307b 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -98,7 +98,7 @@ class CRM_Profile_Form extends CRM_Core_Form { public $_fields; /** - * To store contact details + * store contact details * * @var array */ diff --git a/CRM/UF/Form/Field.php b/CRM/UF/Form/Field.php index 4217ab8101..2fa0f8286e 100644 --- a/CRM/UF/Form/Field.php +++ b/CRM/UF/Form/Field.php @@ -74,7 +74,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form { protected $_selectFields; /** - * To store fields with if locationtype exits status + * store fields with if locationtype exits status * * @var array */ diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index cde6f25206..5867d39433 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -188,7 +188,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page { } /** - * This function is to make a copy of a profile, including + * make a copy of a profile, including * all the fields in the profile * * @return void @@ -203,7 +203,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page { } /** - * This function is for profile mode (standalone html form ) for uf group + * for profile mode (standalone html form ) for uf group * * @return void */ @@ -380,7 +380,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page { } /** - * This function is for preview mode for ufoup + * for preview mode for ufoup * * @param int $id * Uf group id. diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php index 35747ade9c..879d37742f 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php @@ -917,7 +917,7 @@ WHERE id = %1"; } /** - * This function is to make a copy of a price set, including + * make a copy of a price set, including * all the fields * * @param int $id @@ -966,7 +966,7 @@ WHERE id = %1"; } /** - * This function is to check price set permission + * check price set permission * * @param int $sid * The price set id. diff --git a/CRM/Utils/API/AbstractFieldCoder.php b/CRM/Utils/API/AbstractFieldCoder.php index 681693ac7b..8e658652e1 100644 --- a/CRM/Utils/API/AbstractFieldCoder.php +++ b/CRM/Utils/API/AbstractFieldCoder.php @@ -78,7 +78,7 @@ abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper { } /** - * This function is going to filter the + * going to filter the * submitted values. * * @param array|string $values the field value from the API diff --git a/CRM/Utils/API/HTMLInputCoder.php b/CRM/Utils/API/HTMLInputCoder.php index b6bb130d61..3c27365b7c 100644 --- a/CRM/Utils/API/HTMLInputCoder.php +++ b/CRM/Utils/API/HTMLInputCoder.php @@ -114,7 +114,7 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { } /** - * This function is going to filter the + * going to filter the * submitted values across XSS vulnerability. * * @param array|string $values diff --git a/CRM/Utils/API/NullOutputCoder.php b/CRM/Utils/API/NullOutputCoder.php index 412593e008..d7287ea1d0 100644 --- a/CRM/Utils/API/NullOutputCoder.php +++ b/CRM/Utils/API/NullOutputCoder.php @@ -57,7 +57,7 @@ class CRM_Utils_API_NullOutputCoder extends CRM_Utils_API_AbstractFieldCoder { } /** - * This function is going to filter the + * going to filter the * submitted values across XSS vulnerability. * * @param array|string $values diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index 1e8cb66b5f..2318351883 100644 --- a/CRM/Utils/Array.php +++ b/CRM/Utils/Array.php @@ -390,7 +390,7 @@ class CRM_Utils_Array { } /** - * This function is used to convert associative array names to values + * convert associative array names to values * and vice-versa. * * This function is used by both the web form layer and the api. Note that diff --git a/CRM/Utils/JSON.php b/CRM/Utils/JSON.php index b9631e3889..79adc942b5 100644 --- a/CRM/Utils/JSON.php +++ b/CRM/Utils/JSON.php @@ -120,7 +120,7 @@ class CRM_Utils_JSON { } /** - * This function is used to encode data for dataTable plugin + * encode data for dataTable plugin * * @param array $params * Associated array of row elements. diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index b5aef70a95..fcabb6b7d8 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -561,7 +561,7 @@ class CRM_Utils_String { } /** - * This function is used to clean the URL 'path' variable that we use + * clean the URL 'path' variable that we use * to construct CiviCRM urls by removing characters from the path variable * * @param string $string diff --git a/CRM/Utils/System.php b/CRM/Utils/System.php index 0bc5170e59..87d439dffa 100644 --- a/CRM/Utils/System.php +++ b/CRM/Utils/System.php @@ -305,7 +305,7 @@ class CRM_Utils_System { } /** - * This function is called from a template to compose a url. + * called from a template to compose a url. * * @param array $params * List of parameters. diff --git a/tests/phpunit/api/v3/PledgeTest.php b/tests/phpunit/api/v3/PledgeTest.php index 8247b5735c..f2181fa11e 100644 --- a/tests/phpunit/api/v3/PledgeTest.php +++ b/tests/phpunit/api/v3/PledgeTest.php @@ -373,7 +373,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase { } /** - * To Update Pledge + * Update Pledge */ public function testCreateUpdatePledge() { // we test 'sequential' param here too