diff options
Diffstat (limited to 'engine/lib/location.php')
-rw-r--r-- | engine/lib/location.php | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/engine/lib/location.php b/engine/lib/location.php index 7b96f4a91..a424ece25 100644 --- a/engine/lib/location.php +++ b/engine/lib/location.php @@ -8,40 +8,7 @@ * @link http://elgg.org/ */ -/** - * Define an interface for geo-tagging entities. - * - */ -interface Locatable { - /** Set a location text */ - public function setLocation($location); - - /** - * Set latitude and longitude tags for a given entity. - * - * @param float $lat - * @param float $long - */ - public function setLatLong($lat, $long); - - /** - * Get the contents of the ->geo:lat field. - * - */ - public function getLatitude(); - - /** - * Get the contents of the ->geo:lat field. - * - */ - public function getLongitude(); - - /** - * Get the ->location metadata. - * - */ - public function getLocation(); -} +require_once dirname(dirname(__FILE__)).'/classes/Locatable.php'; /** * Encode a location into a latitude and longitude, caching the result. |