Todo List
[line 78]
PHPGeocache __construct( )
Automatically includes the correct GeocacheDB file from the constant PHPGEOCACHE_DB_TYPE.
PHPGeocache PHPGeocache( )
integer|bool addCacheToDB( &$geocache, [int $userID = 0], [string $initialStatus = 'RUN'], object $geocache)
The function returns the cache_id of the caches table.
array|bool findCaches( string $searchString, [bool $searchTitle = true], [bool $searchDescription = true], [bool $onlyActive = true])
Returns multiple entries.
array|bool getCacheByID( integer $cacheID, [bool $onlyActive = true])
array|bool getCacheByName( string $name, [bool $onlyActive = true])
array|bool getCachesByDistance( float $long, $lat, integer $maxCount, [float $radius = 9999], [bool $onlyActive = true], [bool $withWaypoints = false], [array $getOnlyTheseFields = array()], float $lat1)
The original SQL statement code has been created by boomtrek@hotmail.com and has been modified below.
void setErrorMode( bool $showError, bool $logError)