Dynamic\Locator\Locator
Class Locator
Synopsis
class Locator
extends Page
{
- // members
- private static string $singular_name = 'Locator';
- private static string $plural_name = 'Locators';
- private static string $description = 'Display locations on a map';
- private static array $db = ;
- private static array $many_many = ;
- private static string $table_name = 'Locator';
- private static string $location_class = Location::class;
- // methods
- public FieldList getCMSFields()
- public static DataList|ArrayList get_locations()
- public static DataList get_all_categories()
- public bool getPageCategories()
- public static bool| locator_categories_by_locator()
- public ArrayList getRadii()
- public void getRadiiArrayList()
- public mixed getLimit()
- public mixed getShowRadius()
- public mixed getUsedCategories()
- public string getInfoWindowTemplate()
- public string getListTemplate()
- public null|string getMapStyle()
- public void getMapStyleJSONPath()
- public null|string getMarkerIcon()
Hierarchy
Extends
- Page
Members
private
- $db — array
- $description — string
- $location_class — string
- $many_many — array
- $plural_name — string
- $singular_name — string
- $table_name — string
Methods
public
- getCMSFields()
- getInfoWindowTemplate() — Gets the path of the info window template
- getLimit() — Gets the limit of locations
- getListTemplate() — Gets the path of the list template
- getMapStyle()
- getMapStyleJSONPath()
- getMarkerIcon()
- getPageCategories()
- getRadii() — Gets the list of radii
- getRadiiArrayList()
- getShowRadius() — Gets if the radius drop down should be shown
- getUsedCategories()
- get_all_categories()
- get_locations()
- locator_categories_by_locator()