Elgg  Version 1.11
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
elgg echo
Translates a string.
Definition: languages.js:43
if(file_exists($welcome)) $vars
Definition: upgrade.php:93