Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

AddressMappingUtil Class Reference

Static Public Member Functions

static updateChangedAddresses ($count=500)
static sanitizeLatitudeOrLongitude ($value)
static fetchChangedAddressCollection ($count)
static fetchGeocodeForAddress ($addressString)

Detailed Description

Class to fetch geocode for addresses and update the latitude and longitude for the corresponding addresses.

Definition at line 40 of file AddressMappingUtil.php.


Member Function Documentation

static updateChangedAddresses ( count = 500  )  [static]

Gets lat/long values for changed address and saves to address model.

Parameters:
int $count - number of changed address to update per function call.

Definition at line 46 of file AddressMappingUtil.php.

static sanitizeLatitudeOrLongitude ( value  )  [static]
Parameters:
int $value
Returns:
string

Definition at line 88 of file AddressMappingUtil.php.

static fetchChangedAddressCollection ( count  )  [static]

Gets a subset of changed address object.

Parameters:
int $count - number of changed address to fetch.
Returns:
object - address collection object.

Definition at line 99 of file AddressMappingUtil.php.

static fetchGeocodeForAddress ( addressString  )  [static]

Gets the lat/long coordinates for address string.

Parameters:
string $addressString - address string for geocode query.
Returns:
array lat/long coordinates.

Definition at line 145 of file AddressMappingUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Apr 19 07:10:46 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8