self::preProcessCommon($this);
}
+ /**
+ * @param $form
+ * @param bool $useTable
+ */
static function preProcessCommon(&$form, $useTable = FALSE) {
$form->_contributionIds = array();
$form->assign('totalSelectedContributions', count($ids));
}
- if ($form->_includesSoftCredits && !empty($contactIds)) {
+ if (!empty($form->_includesSoftCredits) && !empty($contactIds)) {
$form->_contactIds = $contactIds;
$form->_contributionContactIds = $contributionContactIds;
}
* 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
+ * @param bool $submitOnce
+ *
+ * @internal param string $type button type for the form after processing
*
* @return void
* @access public