projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4552 from giant-rabbit/preprocess-hook
[civicrm-core.git]
/
CRM
/
Grant
/
Form
/
Task.php
diff --git
a/CRM/Grant/Form/Task.php
b/CRM/Grant/Form/Task.php
index c119967becc3c3ca59e104802795ee212c8ee338..cf89402c08a807060c636c500887f75fe586241b 100644
(file)
--- a/
CRM/Grant/Form/Task.php
+++ b/
CRM/Grant/Form/Task.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-78,6
+78,10
@@
class CRM_Grant_Form_Task extends CRM_Core_Form {
self::preProcessCommon($this);
}
self::preProcessCommon($this);
}
+ /**
+ * @param $form
+ * @param bool $useTable
+ */
static function preProcessCommon(&$form, $useTable = FALSE) {
$form->_grantIds = array();
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
* 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
*/
*
* @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,
$this->addButtons(array(
array(
'type' => $nextType,