X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FTask.php;h=1deb17da0dcd552c2741e9106057196d56946865;hb=cda772aae0c600de9033d3360dfde772a2a78f64;hp=efde2567ba3652f44c552d8e45e2f2c2f8ed75c9;hpb=92b0f883315c72514e629b1c9e37261b84186785;p=civicrm-core.git diff --git a/CRM/Event/Form/Task.php b/CRM/Event/Form/Task.php index efde2567ba..1deb17da0d 100644 --- a/CRM/Event/Form/Task.php +++ b/CRM/Event/Form/Task.php @@ -1,7 +1,7 @@ _participantIds = array(); $values = $form->controller->exportValues($form->get('searchFormName')); @@ -140,8 +139,8 @@ class CRM_Event_Form_Task extends CRM_Core_Form { } else { $session->replaceUserContext(CRM_Utils_System::url("civicrm/contact/search/$searchFormName", - $urlParams - )); + $urlParams + )); } } @@ -156,20 +155,18 @@ class CRM_Event_Form_Task extends CRM_Core_Form { } /** - * simple shell that derived classes can call to add buttons to + * Simple shell that derived classes can call to add buttons to. * the form with a customized title for the main Submit * - * @param string $title title of the main button + * @param string $title + * Title of the main button. * @param string $nextType * @param string $backType * @param bool $submitOnce * - * @internal param string $type button type for the form after processing - * * @return void - * @access public */ - function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { + public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( array( 'type' => $nextType, @@ -183,5 +180,5 @@ class CRM_Event_Form_Task extends CRM_Core_Form { ) ); } -} +}