PHP Class Kronolith_Geo_Sql, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Kronolith_Geo_Base
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_db Horde_Db_Adapter

Public Methods

Method Description
deleteLocation ( string $event_id ) Deletes an entry from storage
getLocation ( $event_id ) Get the location of the provided event_id.
search ( $criteria ) Search for events "close to" a given point.
setLocation ( $event_id, $point ) Set the location of the specified event _id

Method Details

deleteLocation() public method

Deletes an entry from storage
public deleteLocation ( string $event_id )
$event_id string

getLocation() public method

Get the location of the provided event_id.
public getLocation ( $event_id )

setLocation() public method

Set the location of the specified event _id
public setLocation ( $event_id, $point )

Property Details

$_db protected_oe property

protected Horde_Db_Adapter $_db
return Horde_Db_Adapter