X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FTask.php;h=1deb17da0dcd552c2741e9106057196d56946865;hb=1f7e60e955c062eed1e9e72d5c8ee94d9368c7ad;hp=572bc45ad4344a680b4684d591ed780240618991;hpb=c490a46ac4bf490d3fbb31e35d24c6b43e764f00;p=civicrm-core.git diff --git a/CRM/Event/Form/Task.php b/CRM/Event/Form/Task.php index 572bc45ad4..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,18 +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 * * @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, @@ -181,5 +180,5 @@ class CRM_Event_Form_Task extends CRM_Core_Form { ) ); } -} +}