class CRM_Contribute_Form_AdditionalInfo

Methods

static 
buildPremium(CRM_Core_Form $form)

Build the form object for Premium Information.

static 
buildAdditionalDetail(CRM_Core_Form $form)

Build the form object for Additional Details.

static 
buildPaymentReminders(CRM_Core_Form $form)

used by CRM/Pledge/Form/Pledge.php

static 
processPremium(array $params, int $contributionID, int $premiumID = NULL, array $options = [])

Process the Premium Information.

static 
processNote(array $params, int $contactID, int $contributionID, int $contributionNoteID = NULL)

Process the Note.

static 
postProcessCommon(array $params, array $formatted, CRM_Core_Form $form)

Process the Common data.

static array
emailReceipt(CRM_Core_Form $form, array $params, bool $ccContribution = FALSE)

Send email receipt.

Details

at line 46
static buildPremium(CRM_Core_Form $form)

Build the form object for Premium Information.

Called from the CRM_Contribute_Form_Contribute function and seemingly nowhere else.

Probably this should be on the form that uses it since it is not used on multiple forms.

Putting it on this class doesn't seem to reduce complexity.

Parameters

CRM_Core_Form $form

at line 93
static buildAdditionalDetail(CRM_Core_Form $form)

Build the form object for Additional Details.

Parameters

CRM_Core_Form $form

at line 169
static buildPaymentReminders(CRM_Core_Form $form)

used by CRM/Pledge/Form/Pledge.php

Build the form object for PaymentReminders Information.

Parameters

CRM_Core_Form $form

at line 188
static processPremium(array $params, int $contributionID, int $premiumID = NULL, array $options = [])

Process the Premium Information.

Parameters

array $params
int $contributionID
int $premiumID
array $options

at line 248
static processNote(array $params, int $contactID, int $contributionID, int $contributionNoteID = NULL)

Process the Note.

Parameters

array $params
int $contactID
int $contributionID
int $contributionNoteID

at line 275
static postProcessCommon(array $params, array $formatted, CRM_Core_Form $form)

Process the Common data.

Parameters

array $params
array $formatted
CRM_Core_Form $form

at line 327
static array emailReceipt(CRM_Core_Form $form, array $params, bool $ccContribution = FALSE)

Send email receipt.

Parameters

CRM_Core_Form $form instance of Contribution form.
array $params (reference ) an assoc array of name/value pairs.
bool $ccContribution is it credit card contribution.

Return Value

array