Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
rss
page
components
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
$latitude
Definition:
georss.php:11
$longitude
$longitude
GeoRSS view.
Definition:
georss.php:10
$vars
$vars['entity']
Definition:
plugin_settings.php:15
echo
elgg echo
Translates a string.
Definition:
languages.js:48
Locatable
Definition:
Locatable.php:9
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11