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_Core_Form $form)

No description

static 
setDefaultValues(CRM_Core_Form $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_Core_Form $form, array $params)

Process the form submission.

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

Global validation rules for the form.

static 
endPostProcess(CRM_Core_Form $form, array $params)

Process the form submission.

Details

at line 49
static preProcess(CRM_Core_Form $form)

Parameters

CRM_Core_Form $form

at line 95
static 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

at line 150
static buildQuickForm(CRM_Case_Form_Case $form)

Parameters

CRM_Case_Form_Case $form

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

Process the form submission.

Parameters

CRM_Core_Form $form
array $params

at line 262
static array formRule($fields, $files, CRM_Core_Form $form)

Global validation rules for the form.

Parameters

$fields
$files
CRM_Core_Form $form

Return Value

array list of errors to be posted back to the form

at line 277
static endPostProcess(CRM_Core_Form $form, array $params)

Process the form submission.

Parameters

CRM_Core_Form $form
array $params