class CRM_Case_Form_Activity_OpenCase

This class generates form components for OpenCase Activity.

Properties

int $_contactID The id of the client associated with this case.

Methods

static 
preProcess(CRM_Case_Form_Case $form)

No description

static array
setDefaultValues(CRM_Case_Form_Case $form)

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

static 
buildQuickForm(CRM_Case_Form_Case $form)

No description

static 
beginPostProcess(CRM_Case_Form_Case $form, array $params)

Process the form submission.

static array
formRule($fields, $files, CRM_Case_Form_Case $form)

Global validation rules for the form.

static 
endPostProcess(CRM_Case_Form_Case $form, array $params)

Process the form submission.

Details

at line 51
static preProcess(CRM_Case_Form_Case $form)

Parameters

CRM_Case_Form_Case $form

Exceptions

CRM_Core_Exception

at line 95
static array setDefaultValues(CRM_Case_Form_Case $form)

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

Parameters

CRM_Case_Form_Case $form

Return Value

array $defaults

at line 151
static buildQuickForm(CRM_Case_Form_Case $form)

Parameters

CRM_Case_Form_Case $form

at line 220
static beginPostProcess(CRM_Case_Form_Case $form, array $params)

Process the form submission.

Parameters

CRM_Case_Form_Case $form
array $params

at line 253
static array formRule($fields, $files, CRM_Case_Form_Case $form)

Global validation rules for the form.

Parameters

$fields
$files
CRM_Case_Form_Case $form

Return Value

array list of errors to be posted back to the form

at line 270
static endPostProcess(CRM_Case_Form_Case $form, array $params)

Process the form submission.

Parameters

CRM_Case_Form_Case $form
array $params

Exceptions

Exception