Interface Locatable
Define an interface for geo-tagging entities.
Methods summary
public
boolean
|
#
setLocation( string $location )
Set a location text
Parameters
- $location
string $location Textual representation of location
Returns
boolean
|
public
boolean
|
#
setLatLong( float $lat, float $long )
Set latitude and longitude tags for a given entity.
Set latitude and longitude tags for a given entity.
Parameters
- $lat
float $lat Latitude
- $long
float $long Longitude
Returns
boolean
|
public
integer
|
#
getLatitude( )
Get the contents of the ->geo:lat field.
Get the contents of the ->geo:lat field.
Returns
integer
|
public
integer
|
#
getLongitude( )
Get the contents of the ->geo:lat field.
Get the contents of the ->geo:lat field.
Returns
integer
|
public
string
|
#
getLocation( )
Get the ->location metadata.
Get the ->location metadata.
Returns
string
|