CRM_Utils_Address_USPS
in package
Address utilities.
Table of Contents
Properties
- $_disabled : bool
- Whether USPS validation should be disabled during import.
Methods
- checkAddress() : bool
- Check address against USPS.
- disable() : mixed
- Disable the USPS validation.
Properties
$_disabled
Whether USPS validation should be disabled during import.
protected
static bool
$_disabled
= \FALSE
Methods
checkAddress()
Check address against USPS.
public
static checkAddress(array<string|int, mixed> &$values) : bool
Parameters
- $values : array<string|int, mixed>
Return values
booldisable()
Disable the USPS validation.
public
static disable([bool $disable = TRUE ]) : mixed
Parameters
- $disable : bool = TRUE