Documentation

CRM_Contribute_Form_AdditionalInfo
in package

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Methods

buildAdditionalDetail()  : mixed
Build the form object for Additional Details.
buildPaymentReminders()  : mixed
used by CRM/Pledge/Form/Pledge.php
buildPremium()  : mixed
Build the form object for Premium Information.
emailReceipt()  : array<string|int, mixed>
Send email receipt.
postProcessCommon()  : mixed
Process the Common data.
processNote()  : mixed
Process the Note.
processPremium()  : mixed
Process the Premium Information.

Methods

buildPaymentReminders()

used by CRM/Pledge/Form/Pledge.php

public static buildPaymentReminders(CRM_Core_Form &$form) : mixed

since 5.68 will be removed around 5.78.

Build the form object for PaymentReminders Information.

Parameters
$form : CRM_Core_Form

buildPremium()

Build the form object for Premium Information.

public static buildPremium(CRM_Core_Form $form) : mixed

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
$form : CRM_Core_Form

emailReceipt()

Send email receipt.

public static emailReceipt(CRM_Core_Form &$form, array<string|int, mixed> &$params[, bool $ccContribution = FALSE ]) : array<string|int, mixed>
Parameters
$form : CRM_Core_Form

instance of Contribution form.

$params : array<string|int, mixed>

(reference ) an assoc array of name/value pairs.

$ccContribution : bool = FALSE

is it credit card contribution.

Tags
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

postProcessCommon()

Process the Common data.

public static postProcessCommon(array<string|int, mixed> &$params, array<string|int, mixed> &$formatted, CRM_Core_Form &$form) : mixed
Parameters
$params : array<string|int, mixed>
$formatted : array<string|int, mixed>
$form : CRM_Core_Form

processNote()

Process the Note.

public static processNote(array<string|int, mixed> $params, int $contactID, int $contributionID[, int $contributionNoteID = NULL ]) : mixed
Parameters
$params : array<string|int, mixed>
$contactID : int
$contributionID : int
$contributionNoteID : int = NULL
Tags
throws
CRM_Core_Exception

processPremium()

Process the Premium Information.

public static processPremium(array<string|int, mixed> $params, int $contributionID[, int $premiumID = NULL ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$params : array<string|int, mixed>
$contributionID : int
$premiumID : int = NULL
$options : array<string|int, mixed> = []

        
On this page

Search results