X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FGrant%2FForm%2FTask.php;h=8d5da0dd7e52e0f8859983b1f0ca3c45f9ee3dfb;hb=95ea96beae31b4dd733c35e09a8c964a6839bb1b;hp=fa3a9801656e518294d61f86aa2de22061eaf164;hpb=da7a33feb6f28d09a8b2de93cb702b43ed484851;p=civicrm-core.git diff --git a/CRM/Grant/Form/Task.php b/CRM/Grant/Form/Task.php index fa3a980165..8d5da0dd7e 100644 --- a/CRM/Grant/Form/Task.php +++ b/CRM/Grant/Form/Task.php @@ -1,7 +1,7 @@ _grantIds = array(); $values = $form->controller->exportValues('Search'); @@ -145,19 +145,16 @@ class CRM_Grant_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 $nextType * @param string $backType * - * @internal param string $type button type for the form after processing - * * @return void - * @access public */ - function addDefaultButtons($title, $nextType = 'next', $backType = 'back') { + public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( array( 'type' => $nextType, @@ -172,4 +169,3 @@ class CRM_Grant_Form_Task extends CRM_Core_Form { ); } } -