Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Interfaces

  • Locatable
  • Overview
  • Package
  • Class
  • Tree

Interface Locatable

Define an interface for geo-tagging entities.

Direct known implementers

ElggEntity

Indirect known implementers

ElggFile, ElggGroup, ElggObject, ElggPlugin, ElggSite, ElggUser, ElggWidget
Package: Elgg\Core\SocialModel\Locatable
Located at Locatable.php
Methods summary
public boolean
# setLocation( string $location )

Set a location text

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
API documentation generated by ApiGen 2.8.0