CRM_Contribute_Form_SoftCredit
class CRM_Contribute_Form_SoftCredit
This class build form elements for select existing or create new soft block.
Methods
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 46
static CRM_Core_Form
buildQuickForm(CRM_Core_Form $form)
Function used to build form element for soft credit block.
at line 132
static
addPCPFields(CRM_Core_Form $form, string $suffix = '')
Add PCP fields for the new contribution form and others.
at line 153
static
setDefaultValues($defaults, $form)
Function used to set defaults for soft credit block.
at line 193
static array
formRule(array $fields, $errors, $self)
Global form rule.