X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FTask%2FBatch.php;h=54fd23af494b3f401d92f69d1161619fdc60c517;hb=7cdbcb16520d540f0b7c5cb43c9511374d692931;hp=480f90926f40807a3fc000cb562c671340eb5878;hpb=01fc73a5788aff9892383186d4dbb674a006dbc8;p=civicrm-core.git diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index 480f90926f..54fd23af49 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -1,7 +1,7 @@ get('ufGroupId'); if (!$ufGroupId) { @@ -234,13 +232,12 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { } /** - * This function sets the default values for the form. + * Set default values for the form. * - * @access public * * @return void */ - function setDefaultValues() { + public function setDefaultValues() { if (empty($this->_fields)) { return; } @@ -272,9 +269,8 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { } /** - * process the form after the input has been submitted and validated + * Process the form after the input has been submitted and validated * - * @access public * * @return void */ @@ -348,15 +344,14 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { CRM_Core_Session::setStatus(ts('No updates have been saved.'), ts('Not Saved'), 'alert'); } } - //end of function /** - * @param $participantId - * @param $statusId + * @param int $participantId + * @param int $statusId * * @return Ambigous|void */ - static function updatePendingOnlineContribution($participantId, $statusId) { + public static function updatePendingOnlineContribution($participantId, $statusId) { if (!$participantId || !$statusId) { return; } @@ -402,4 +397,3 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { return $updatedStatusId; } } -