\BrowseCitiesPage
Synopsis
class BrowseCitiesPage
extends BrowseAbstractPage
{
- // members
- public static string $icon = "geobrowser/images/treeicons/BrowseCitiesPage";
- public static string $default_parent = "BrowseRegionsPage";
- public static boolean $can_be_root = false;
- public static array $db = ;
- public static array $defaults = ;
- // Inherited members from BrowseAbstractPage
- public static array $db;
- public static string $breadcrumbs_delimiter;
- // methods
- public static Object get_clostest_city_page()
- protected static void radiusDefinitionOtherTable()
- public void GeoLevelName()
- public void GeoLevelNumber()
- public static void create_city_and_parents()
- public void requireDefaultRecords()
- public void CreateCity()
- // Inherited methods from BrowseAbstractPage
- public void canCreate()
- public void GeoLevelName()
- public void GeoLevelNumber()
- public void allowBrowseChildren()
- protected void getDataFromTable()
- public void getCMSFields()
- public void onBeforeWrite()
Hierarchy
Extends
Members
public
-
$can_be_root
Standard SS static -
$db
Standard SS static -
$db
Standard SS static -
$default_parent
Standard SS static -
$defaults
Standard SS Static -
$icon
Standard SS static
Methods
protected
- radiusDefinitionOtherTable() — formulae for working out distance
public
- CreateCity() — Create a page
- GeoLevelName() — name for page level.
- GeoLevelNumber() — number for page level.
- create_city_and_parents() — This static method creates a city page and all the required parent pages...
- get_clostest_city_page()
- requireDefaultRecords() — fix URLS NOTE: you must set get variables: urls, from and to....
Inherited from BrowseAbstractPage
protected
- getDataFromTable() — retrieves data from a DB table that is not part of the DataObject Model.
public
- GeoLevelName() — Name of the level
- GeoLevelNumber() — Number of the level
- allowBrowseChildren() — works out if the child page needs to be created
- canCreate() — Standard SS method: can only create if the parent exists...
- getCMSFields() — standard SS method
- onBeforeWrite() — standard SS method