Documentation

CRM_Contact_Form_Edit_Demographics
in package

Form helper class for an Demographics object.

Table of Contents

Methods

buildQuickForm()  : mixed
Build the form object elements for Demographics object.
setDefaultValues()  : mixed
Set default values for the form. Note that in edit/view mode the default values are retrieved from the database

Methods

buildQuickForm()

Build the form object elements for Demographics object.

public static buildQuickForm(CRM_Core_Form &$form) : mixed
Parameters
$form : CRM_Core_Form

Reference to the form object.

setDefaultValues()

Set default values for the form. Note that in edit/view mode the default values are retrieved from the database

public static setDefaultValues(CRM_Core_Form &$form, array<string|int, mixed> &$defaults) : mixed
Parameters
$form : CRM_Core_Form
$defaults : array<string|int, mixed>

        
On this page

Search results