+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
*/
/**
- * This class provides the functionality for batch profile update for contributions
+ * This class provides the functionality for batch profile update for contributions.
*/
class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task {
/**
* Maximum profile fields that will be displayed
- *
*/
protected $_maxFields = 9;
/**
* Variable to store redirect path
- *
*/
protected $_userContext;
/**
- * Build all the data structures needed to build the form
+ * Build all the data structures needed to build the form.
*
* @return void
*/
public function preProcess() {
- /*
- * initialize the task and row fields
- */
+ // initialize the task and row fields
parent::preProcess();
//get the contact read only fields to display.
}
/**
- * Build the form object
+ * Build the form object.
*
*
* @return void
)
);
-
$this->assign('profileTitle', $this->_title);
$this->assign('componentIds', $this->_contributionIds);
}
/**
- * Process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated.
*
*
* @return void
foreach ($params['field'] as $key => $value) {
$value['custom'] = CRM_Core_BAO_CustomField::postProcess($value,
- CRM_Core_DAO::$_nullObject,
$key,
'Contribution'
);
CRM_Core_Session::setStatus(ts("No updates have been saved."), ts('Not Saved'), 'alert');
}
}
+
}