class CRM_Contact_Form_Task_ProximityCommon

This class provides the functionality to support Proximity Searches.

Properties

protected string $_context The context that we are working on.
protected int $_id The groupId retrieved from the GET vars.
protected string $_title The title of the group.

Methods

static 
buildQuickForm(CRM_Core_Form $form, int $proxSearch)

Build the form object.

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

Global form rule.

static array
setDefaultValues(CRM_Core_Form $form)

Set the default form values.

Details

at line 66
static buildQuickForm(CRM_Core_Form $form, int $proxSearch)

Build the form object.

Parameters

CRM_Core_Form $form
int $proxSearch

at line 103
static bool|array formRule(array $fields, array $files, CRM_Core_Form $form)

Global form rule.

Parameters

array $fields The input form values.
array $files The uploaded files if any.
CRM_Core_Form $form

Return Value

bool|array true if no errors, else array of errors

at line 128
static array setDefaultValues(CRM_Core_Form $form)

Set the default form values.

Parameters

CRM_Core_Form $form

Return Value

array the default array reference