CRM_Case_Form_Activity_LinkCases
in package
This class generates form components for LinkCase Activity.
Table of Contents
Methods
- beginPostProcess() : mixed
- Process the form submission.
- buildQuickForm() : mixed
- endPostProcess() : mixed
- Process the form submission.
- formRule() : array<string|int, mixed>
- Global validation rules for the form.
- preProcess() : mixed
- setDefaultValues() : array<string|int, mixed>
- Set default values for the form.
Methods
beginPostProcess()
Process the form submission.
public
static beginPostProcess(CRM_Core_Form &$form, array<string|int, mixed> &$params) : mixed
Parameters
- $form : CRM_Core_Form
- $params : array<string|int, mixed>
buildQuickForm()
public
static buildQuickForm(CRM_Core_Form &$form) : mixed
Parameters
- $form : CRM_Core_Form
endPostProcess()
Process the form submission.
public
static endPostProcess(CRM_Core_Form $form, array<string|int, mixed> $params, CRM_Activity_BAO_Activity $activity) : mixed
Parameters
- $form : CRM_Core_Form
- $params : array<string|int, mixed>
- $activity : CRM_Activity_BAO_Activity
formRule()
Global validation rules for the form.
public
static formRule(array<string|int, mixed> $values, mixed $files, CRM_Core_Form $form) : array<string|int, mixed>
Parameters
- $values : array<string|int, mixed>
-
Posted values of the form.
- $files : mixed
- $form : CRM_Core_Form
Return values
array<string|int, mixed> —list of errors to be posted back to the form
preProcess()
public
static preProcess(CRM_Core_Form &$form) : mixed
Parameters
- $form : CRM_Core_Form
Tags
setDefaultValues()
Set default values for the form.
public
static setDefaultValues(CRM_Core_Form &$form) : array<string|int, mixed>
Parameters
- $form : CRM_Core_Form