class CRM_Case_Form_Activity_LinkCases

This class generates form components for LinkCase Activity.

Methods

static 
preProcess(CRM_Core_Form $form)

No description

static array
setDefaultValues(CRM_Core_Form $form)

Set default values for the form.

static 
buildQuickForm(CRM_Core_Form $form)

No description

static array
formRule(array $values, $files, CRM_Core_Form $form)

Global validation rules for the form.

static 
beginPostProcess(CRM_Core_Form $form, array $params)

Process the form submission.

static 
endPostProcess(CRM_Core_Form $form, array $params, CRM_Activity_BAO_Activity $activity)

Process the form submission.

Details

at line 43
static preProcess(CRM_Core_Form $form)

Parameters

CRM_Core_Form $form

Exceptions

Exception

at line 72
static array setDefaultValues(CRM_Core_Form $form)

Set default values for the form.

Parameters

CRM_Core_Form $form

Return Value

array

at line 83
static buildQuickForm(CRM_Core_Form $form)

Parameters

CRM_Core_Form $form

at line 113
static array formRule(array $values, $files, CRM_Core_Form $form)

Global validation rules for the form.

Parameters

array $values Posted values of the form.
$files
CRM_Core_Form $form

Return Value

array list of errors to be posted back to the form

at line 138
static beginPostProcess(CRM_Core_Form $form, array $params)

Process the form submission.

Parameters

CRM_Core_Form $form
array $params

at line 149
static endPostProcess(CRM_Core_Form $form, array $params, CRM_Activity_BAO_Activity $activity)

Process the form submission.

Parameters

CRM_Core_Form $form
array $params
CRM_Activity_BAO_Activity $activity