Docs Goabase

GeoSQL
in package

Table of Contents

Methods

__construct()  : mixed
getByTown()  : array{'geoloc': string, 'geolat': float, 'geolon': float}
Gets the correct town name and lat/lon from a search-string
getIdsByLatLon()  : string
Holt von User oder Party die IDs
getSQLTown()  : array{'geoloc': string, 'geolat': float, 'geolon': float}

Methods

__construct()

public __construct() : mixed

getByTown()

Gets the correct town name and lat/lon from a search-string

public getByTown([string $strSearch = '' ]) : array{'geoloc': string, 'geolat': float, 'geolon': float}
Parameters
$strSearch : string = ''
Return values
array{'geoloc': string, 'geolat': float, 'geolon': float}

getIdsByLatLon()

Holt von User oder Party die IDs

public getIdsByLatLon(string $strTable, float $nLat, float $nLon, string $strWhere[, int $nRadius = 100 ]) : string
Parameters
$strTable : string
$nLat : float
$nLon : float
$strWhere : string
$nRadius : int = 100
Return values
string

getSQLTown()

private getSQLTown(string $strGeoLoc) : array{'geoloc': string, 'geolat': float, 'geolon': float}
Parameters
$strGeoLoc : string
Return values
array{'geoloc': string, 'geolat': float, 'geolon': float}

        
On this page

Search results