class CRM_Utils_Address_BatchUpdate

A PHP cron script to format all the addresses in the database. Currently it only does geocoding if the geocode values are not set. At a later stage we will also handle USPS address cleanup and other formatting issues

Properties

$start
$end
$geocoding
$parse
$throttle
$returnMessages
$returnError

Methods

__construct(array $params)

Class constructor.

array
run()

Run batch update.

array
processContacts(CRM_Core_Config $config, bool $processGeocode, bool $parseStreetAddress)

Process contacts.

array
returnResult()

Return result.

Details

at line 56
__construct(array $params)

Class constructor.

Parameters

array $params

at line 70
array run()

Run batch update.

Return Value

array

at line 136
array processContacts(CRM_Core_Config $config, bool $processGeocode, bool $parseStreetAddress)

Process contacts.

Parameters

CRM_Core_Config $config
bool $processGeocode
bool $parseStreetAddress

Return Value

array

Exceptions

Exception

at line 294
array returnResult()

Return result.

Return Value

array