Dynamic\SilverStripeGeocoder\AddressDataExtension
Synopsis
class AddressDataExtension
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- public void updateCMSFields()
- public string getFullAddress()
- public bool hasAddress()
- public string AddressMap()
- public static bool|string getMapStyleJSONPath()
- public static string|null getMapStyleJSON()
- public static null|string getIconImage()
- public string mapStylesUrlArgs()
- public bool isAddressChanged()
- public void onBeforeWrite()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db — array
Methods
public
- AddressMap() — Returns a static google map of the address, linking out to the address.
- getFullAddress() — Returns the full address as a simple string.
- getIconImage() — Gets the maker icon image
- getMapStyleJSON() — Gets the style of the map
- getMapStyleJSONPath()
- hasAddress()
- isAddressChanged() — Returns TRUE if any of the address fields have changed.
- mapStylesUrlArgs() — From https://gist.github.com/wouterds/5942b891cdad4fc90f40
- onBeforeWrite()
- updateCMSFields()