class CRM_Case_Form_Activity_ChangeCaseStatus

This class generates form components for OpenCase 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 44
static preProcess(CRM_Core_Form $form)

Parameters

CRM_Core_Form $form

Exceptions

Exception

at line 60
static array setDefaultValues(CRM_Core_Form $form)

Set default values for the form.

For edit/view mode the default values are retrieved from the database.

Parameters

CRM_Core_Form $form

Return Value

array

at line 71
static buildQuickForm(CRM_Core_Form $form)

Parameters

CRM_Core_Form $form

at line 132
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 143
static beginPostProcess(CRM_Core_Form $form, array $params)

Process the form submission.

Parameters

CRM_Core_Form $form
array $params

at line 155
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