CRM_Contact_Form_Edit_Address
class CRM_Contact_Form_Edit_Address
This class is used to build address block.
Methods
static
buildQuickForm(CRM_Core_Form $form, int $addressBlockCount = NULL, bool $sharing = TRUE, bool $inlineEdit = FALSE)
Build form for address input fields.
static array|bool
formRule(array $fields, array $files = [], CRM_Core_Form $self = NULL)
Check for correct state / country mapping.
static
static
static
Details
at line 52
static
buildQuickForm(CRM_Core_Form $form, int $addressBlockCount = NULL, bool $sharing = TRUE, bool $inlineEdit = FALSE)
Build form for address input fields.
at line 189
static array|bool
formRule(array $fields, array $files = [], CRM_Core_Form $self = NULL)
Check for correct state / country mapping.
at line 245
static
setDefaultValues(array $defaults, CRM_Core_Form $form)
Set default values for address block.
at line 366
static
storeRequiredCustomDataInfo(CRM_Core_Form $form, array $groupTree)
Store required custom data info.
at line 400
static protected
addCustomDataToForm(CRM_Core_Form $form, int $entityId, int $blockId)
Add custom data to the form.