Static Public Member Functions | |
static | updateChangedAddresses ($count=500) |
static | sanitizeLatitudeOrLongitude ($value) |
static | fetchChangedAddressCollection ($count) |
static | fetchGeocodeForAddress ($addressString) |
Class to fetch geocode for addresses and update the latitude and longitude for the corresponding addresses.
Definition at line 40 of file AddressMappingUtil.php.
static updateChangedAddresses | ( | $ | count = 500 |
) | [static] |
Gets lat/long values for changed address and saves to address model.
int | $count - number of changed address to update per function call. |
Definition at line 46 of file AddressMappingUtil.php.
static sanitizeLatitudeOrLongitude | ( | $ | value | ) | [static] |
static fetchChangedAddressCollection | ( | $ | count | ) | [static] |
Gets a subset of changed address object.
int | $count - number of changed address to fetch. |
Definition at line 99 of file AddressMappingUtil.php.
static fetchGeocodeForAddress | ( | $ | addressString | ) | [static] |
Gets the lat/long coordinates for address string.
string | $addressString - address string for geocode query. |
Definition at line 145 of file AddressMappingUtil.php.