Elgg  Version master
location.php File Reference

Go to the source code of this file.


 $entity = elgg_extract('entity', $vars)
 Displays information about the location of the user. More...
if(!$entity instanceof ElggUser$location = elgg_extract('location', $vars)
if(!isset($location)) if (elgg_is_empty($location))

Variable Documentation

$entity = elgg_extract('entity', $vars)

Displays information about the location of the user.

$vars['entity'] The user to show information for $vars['location'] Time of the post If not set, will display the time when the entity was created (time_created attribute) If set to false, time string will not be rendered $vars['location_icon'] Icon name to be used with time info Set to false to not render an icon Default is 'map-marker'

Definition at line 14 of file location.php.

if (!$entity instanceof ElggUser) $location = elgg_extract('location', $vars)

Definition at line 19 of file location.php.

if (!isset($location)) if(elgg_is_empty($location))

Definition at line 24 of file location.php.