Elgg  Version 1.9
Locatable.php
Go to the documentation of this file.
1 <?php
2 
9 interface Locatable {
17  public function setLocation($location);
18 
27  public function setLatLong($lat, $long);
28 
34  public function getLatitude();
35 
41  public function getLongitude();
42 
48  public function getLocation();
49 }
setLatLong($lat, $long)
Set latitude and longitude tags for a given entity.
getLongitude()
Get the contents of the ->geo:lat field.
getLocation()
Get the ->location metadata.
setLocation($location)
Set a location text.
getLatitude()
Get the contents of the ->geo:lat field.