From: eileenmcnaugton Date: Mon, 31 Aug 2015 12:30:22 +0000 (+1200) Subject: comment fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=424029e33aeb845fff32398c9e49559a154a99ad;p=civicrm-core.git comment fixes --- diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index 104f482720..94f309254e 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -29,13 +29,10 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * This class provides the common functionality for creating PDF letter for - * one or a group of contact ids. + * This class provides the common functionality for creating PDF letter for one or a group of contact ids. */ class CRM_Contact_Form_Task_PDFLetterCommon { @@ -43,8 +40,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { * Build all the data structures needed to build the form. * * @param CRM_Core_Form $form - * - * @return void */ public static function preProcess(&$form) { $messageText = array(); @@ -76,8 +71,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { * Build the form object. * * @var CRM_Core_Form $form - * - * @return void */ public static function buildQuickForm(&$form) { // This form outputs a file so should never be submitted via ajax @@ -315,10 +308,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon { /** * Process the form after the input has been submitted and validated. * - * * @param CRM_Core_Form $form - * - * @return void */ public static function postProcess(&$form) { list($formValues, $categories, $html_message, $messageToken, $returnProperties) = self::processMessageTemplate($form); diff --git a/CRM/Contact/Form/Task/PickProfile.php b/CRM/Contact/Form/Task/PickProfile.php index 92cc886e72..f7fd881ca3 100644 --- a/CRM/Contact/Form/Task/PickProfile.php +++ b/CRM/Contact/Form/Task/PickProfile.php @@ -29,12 +29,10 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * This class provides the functionality for batch profile update + * This class provides the functionality for batch profile update. */ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { @@ -62,8 +60,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Build all the data structures needed to build the form. - * - * @return void */ public function preProcess() { // initialize the task and row fields @@ -95,9 +91,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Build the form object. - * - * - * @return void */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Batch Profile Update for Contact')); @@ -123,9 +116,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Add local and global form rules. - * - * - * @return void */ public function addRules() { $this->addFormRule(array('CRM_Contact_Form_Task_PickProfile', 'formRule')); @@ -154,9 +144,6 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated. - * - * - * @return void */ public function postProcess() { $params = $this->exportValues(); diff --git a/CRM/Contact/Form/Task/Print.php b/CRM/Contact/Form/Task/Print.php index 573454a24d..a80f5f665f 100644 --- a/CRM/Contact/Form/Task/Print.php +++ b/CRM/Contact/Form/Task/Print.php @@ -29,8 +29,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** @@ -41,8 +39,6 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { /** * Build all the data structures needed to build the form. - * - * @return void */ public function preProcess() { parent::preprocess(); @@ -110,9 +106,6 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { * Build the form object - it consists of * - displaying the QILL (query in local language) * - displaying elements for saving the search - * - * - * @return void */ public function buildQuickForm() { // @@ -135,9 +128,6 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated. - * - * - * @return void */ public function postProcess() { // redirect to the main search page after printing is over diff --git a/CRM/Contact/Form/Task/ProximityCommon.php b/CRM/Contact/Form/Task/ProximityCommon.php index 3660f4d8d0..c4dc52aa97 100644 --- a/CRM/Contact/Form/Task/ProximityCommon.php +++ b/CRM/Contact/Form/Task/ProximityCommon.php @@ -29,12 +29,10 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * This class provides the functionality to support Proximity Searches + * This class provides the functionality to support Proximity Searches. */ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { @@ -61,8 +59,6 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { /** * Build all the data structures needed to build the form. - * - * @return void */ public function preProcess() { // initialize the task and row fields @@ -72,11 +68,8 @@ class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task { /** * Build the form object. * - * * @param CRM_Core_Form $form - * @param $proxSearch - * - * @return void + * @param int $proxSearch */ public function buildQuickForm($form, $proxSearch) { // is proximity search required (2) or optional (1)? diff --git a/CRM/Contact/Form/Task/RemoveFromGroup.php b/CRM/Contact/Form/Task/RemoveFromGroup.php index c4384bb3c9..664fba80e5 100644 --- a/CRM/Contact/Form/Task/RemoveFromGroup.php +++ b/CRM/Contact/Form/Task/RemoveFromGroup.php @@ -29,8 +29,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** @@ -42,9 +40,6 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task { /** * Build the form object. - * - * - * @return void */ public function buildQuickForm() { // add select for groups @@ -73,9 +68,6 @@ class CRM_Contact_Form_Task_RemoveFromGroup extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated. - * - * - * @return void */ public function postProcess() { $groupId = $this->controller->exportValue('RemoveFromGroup', 'group_id'); diff --git a/CRM/Contact/Form/Task/RemoveFromTag.php b/CRM/Contact/Form/Task/RemoveFromTag.php index 320090ac57..d2d4820e03 100644 --- a/CRM/Contact/Form/Task/RemoveFromTag.php +++ b/CRM/Contact/Form/Task/RemoveFromTag.php @@ -29,8 +29,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** @@ -54,9 +52,6 @@ class CRM_Contact_Form_Task_RemoveFromTag extends CRM_Contact_Form_Task { /** * Build the form object. - * - * - * @return void */ public function buildQuickForm() { // add select for tag @@ -91,9 +86,6 @@ class CRM_Contact_Form_Task_RemoveFromTag extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated. - * - * - * @return void */ public function postProcess() { //get the submitted values in an array diff --git a/CRM/Contact/Form/Task/Result.php b/CRM/Contact/Form/Task/Result.php index 1a88df6732..f3c4d11f76 100644 --- a/CRM/Contact/Form/Task/Result.php +++ b/CRM/Contact/Form/Task/Result.php @@ -29,21 +29,15 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** * Used for displaying results - * - * */ class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task { /** * Build all the data structures needed to build the form. - * - * @return void */ public function preProcess() { $session = CRM_Core_Session::singleton(); @@ -98,8 +92,6 @@ class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task { /** * Build the form object. - * - * @return void */ public function buildQuickForm() { $this->addButtons(array( diff --git a/CRM/Contact/Form/Task/SMS.php b/CRM/Contact/Form/Task/SMS.php index 09a33e0f98..f9d2159592 100644 --- a/CRM/Contact/Form/Task/SMS.php +++ b/CRM/Contact/Form/Task/SMS.php @@ -29,13 +29,10 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * This class provides the functionality to sms a group of - * contacts. + * This class provides the functionality to sms a group of contacts. */ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task { @@ -74,9 +71,6 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task { /** * Build the form object. - * - * - * @return void */ public function buildQuickForm() { //enable form element @@ -87,9 +81,6 @@ class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task { /** * Process the form after the input has been submitted and validated. - * - * - * @return void */ public function postProcess() { CRM_Contact_Form_Task_SMSCommon::postProcess($this); diff --git a/CRM/Contact/Form/Task/SMSCommon.php b/CRM/Contact/Form/Task/SMSCommon.php index b48b0be9ca..23af8cecaf 100644 --- a/CRM/Contact/Form/Task/SMSCommon.php +++ b/CRM/Contact/Form/Task/SMSCommon.php @@ -29,13 +29,10 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** - * This class provides the common functionality for sending sms to - * one or a group of contact ids. + * This class provides the common functionality for sending sms to one or a group of contact ids. */ class CRM_Contact_Form_Task_SMSCommon { const RECIEVED_SMS_ACTIVITY_SUBJECT = "SMS Received"; @@ -48,6 +45,8 @@ class CRM_Contact_Form_Task_SMSCommon { /** + * Pre process the provider. + * * @param CRM_Core_Form $form */ public static function preProcessProvider(&$form) { @@ -85,10 +84,7 @@ class CRM_Contact_Form_Task_SMSCommon { /** * Build the form object. * - * * @param CRM_Core_Form $form - * - * @return void */ public static function buildQuickForm(&$form) { @@ -341,10 +337,7 @@ class CRM_Contact_Form_Task_SMSCommon { /** * Process the form after the input has been submitted and validated. * - * * @param CRM_Core_Form $form - * - * @return void */ public static function postProcess(&$form) {