CRM_Contribute_Form_SoftCredit
class CRM_Contribute_Form_SoftCredit
This class build form elements for select existing or create new soft block.
Methods
static
static CRM_Core_Form
static
addPCPFields(CRM_Core_Form $form, string $suffix = '')
Add PCP fields for the new contribution form and others.
static
setDefaultValues($defaults, $form)
Function used to set defaults for soft credit block.
static array
formRule(array $fields, $errors, $self)
Global form rule.
Details
at line 44
static
preProcess(CRM_Core_Form $form)
Set variables up before form is built.
at line 71
static CRM_Core_Form
buildQuickForm(CRM_Core_Form $form)
Function used to build form element for soft credit block.
at line 157
static
addPCPFields(CRM_Core_Form $form, string $suffix = '')
Add PCP fields for the new contribution form and others.
at line 178
static
setDefaultValues($defaults, $form)
Function used to set defaults for soft credit block.
at line 218
static array
formRule(array $fields, $errors, $self)
Global form rule.