Elgg  Version 2.3
Public Member Functions | List of all members
Locatable Interface Reference
Inheritance diagram for Locatable:
ElggEntity ElggGroup ElggObject ElggSite ElggUser Represents ElggComment ElggFile ElggPlugin ElggUpgrade ElggWidget ElggIcon

Public Member Functions

 setLocation ($location)
 Set a location text. More...
 
 setLatLong ($lat, $long)
 Set latitude and longitude tags for a given entity. More...
 
 getLatitude ()
 Get the contents of the ->geo:lat field. More...
 
 getLongitude ()
 Get the contents of the ->geo:lat field. More...
 
 getLocation ()
 Get the ->location metadata. More...
 

Detailed Description

Definition at line 9 of file Locatable.php.

Member Function Documentation

Locatable::getLatitude ( )

Get the contents of the ->geo:lat field.

Returns
int

Implemented in ElggEntity.

Locatable::getLocation ( )

Get the ->location metadata.

Returns
string

Implemented in ElggEntity.

Locatable::getLongitude ( )

Get the contents of the ->geo:lat field.

Returns
int

Implemented in ElggEntity.

Locatable::setLatLong (   $lat,
  $long 
)

Set latitude and longitude tags for a given entity.

Parameters
float$latLatitude
float$longLongitude
Returns
void

Implemented in ElggEntity.

Locatable::setLocation (   $location)

Set a location text.

Parameters
string$locationTextual representation of location
Returns
void

Implemented in ElggEntity.


The documentation for this interface was generated from the following file: