Elgg  Version 2.3
georss.php
Go to the documentation of this file.
1 <?php
10 $longitude = $vars['entity']->getLongitude();
11 $latitude = $vars['entity']->getLatitude();
12 
13 if ($vars['entity'] instanceof Locatable && $longitude && $latitude) {
14  echo "<georss:point>$latitude $longitude</georss:point>";
15 }
$latitude
Definition: georss.php:11
$longitude
GeoRSS view.
Definition: georss.php:10
$vars['entity']
elgg echo
Translates a string.
Definition: languages.js:48