X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FGrant%2FForm%2FTask.php;h=cf89402c08a807060c636c500887f75fe586241b;hb=01fc73a5788aff9892383186d4dbb674a006dbc8;hp=05fa6c415f6f12928d7ab4567e364e8cf9235e96;hpb=4c95b949e863281d990ffa2a3104415079e6352d;p=civicrm-core.git diff --git a/CRM/Grant/Form/Task.php b/CRM/Grant/Form/Task.php index 05fa6c415f..cf89402c08 100644 --- a/CRM/Grant/Form/Task.php +++ b/CRM/Grant/Form/Task.php @@ -78,6 +78,10 @@ class CRM_Grant_Form_Task extends CRM_Core_Form { self::preProcessCommon($this); } + /** + * @param $form + * @param bool $useTable + */ static function preProcessCommon(&$form, $useTable = FALSE) { $form->_grantIds = array(); @@ -145,12 +149,15 @@ class CRM_Grant_Form_Task extends CRM_Core_Form { * the form with a customized title for the main Submit * * @param string $title title of the main button - * @param string $type button type for the form after processing + * @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') { + function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) { $this->addButtons(array( array( 'type' => $nextType,