Documentation

CRM_Utils_Address_BatchUpdate
in package

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

Table of Contents

Properties

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

Methods

__construct()  : mixed
Class constructor.
processContacts()  : array<string|int, mixed>
Process contacts.
returnResult()  : array<string|int, mixed>
Return result.
run()  : array<string|int, mixed>
Run batch update.

Properties

Methods

__construct()

Class constructor.

public __construct(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

processContacts()

Process contacts.

public processContacts(bool $processGeocode, bool $parseStreetAddress) : array<string|int, mixed>
Parameters
$processGeocode : bool
$parseStreetAddress : bool
Tags
throws
Exception
Return values
array<string|int, mixed>

returnResult()

Return result.

public returnResult() : array<string|int, mixed>
Return values
array<string|int, mixed>

run()

Run batch update.

public run() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results