* Process form submission.
*
* This function is also accessed by a unit test.
- *
- * @return array
*/
protected function submit() {
$this->storeContactFields($this->_params);
$membershipSource = $this->_params['membership_source'];
}
- $isPending = ($this->_params['contribution_status_id'] == 2) ? TRUE :FALSE;
+ $isPending = ($this->_params['contribution_status_id'] == 2) ? TRUE : FALSE;
list($renewMembership) = CRM_Member_BAO_Membership::renewMembership(
$this->_contactID, $this->_params['membership_type_id'][1], $isTestMembership,
* @return int
* id of created contribution
*/
- public function contributionCreate($params, $cTypeID = 1, $invoiceID = 67890, $trxnID = 12345, $paymentInstrumentID
- = 1, $isFee = TRUE) {
+ public function contributionCreate($params, $cTypeID = 1, $invoiceID = 67890, $trxnID = 12345,
+ $paymentInstrumentID = 1, $isFee = TRUE) {
if (!is_array($params)) {
$params = array('contact_id' => $params);
}