Documentation

CRM_Contact_Form_Edit_CustomData
in package

Form helper class for an Demographics object (ahem).

since 5.73 will be removed around 5.85

Table of Contents

Methods

buildQuickForm()  : mixed
Build the form object elements for CustomData object.
preProcess()  : mixed
Build all the data structures needed to build the form.
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 CustomData object.

public static buildQuickForm(CRM_Core_Form &$form) : mixed

since 5.73 will be removed around 5.85

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

since 5.73 will be removed around 5.85

Parameters
$form : CRM_Core_Form
$defaults : array<string|int, mixed>

        
On this page

Search results