class CRM_Contact_Form_Edit_Household

Auxiliary class to provide support to the Contact Form class.

Does this by implementing a small set of static methods.

Methods

static 
buildQuickForm(CRM_Core_Form $form, int $inlineEditMode = NULL)

This function provides the HTML form elements that are specific to the Household Contact Type.

static array|bool
formRule(array $fields, array $files, int $contactID = NULL)

Add rule for household.

Details

at line 50
static buildQuickForm(CRM_Core_Form $form, int $inlineEditMode = NULL)

This function provides the HTML form elements that are specific to the Household Contact Type.

Parameters

CRM_Core_Form $form Form object.
int $inlineEditMode ( 1 for contact summary. top bar form and 2 for display name edit )

at line 86
static array|bool formRule(array $fields, array $files, int $contactID = NULL)

Add rule for household.

Parameters

array $fields Array of form values.
array $files Unused.
int $contactID

Return Value

array|bool $error