Elgg  Version 3.0
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Elgg user display. More...
 
if(!$entity instanceof ElggUser$size = elgg_extract('size', $vars, 'small')
 
if(elgg_get_context()== 'gallery') $title = elgg_extract('title', $vars)
 
if(!$title) $params
 
if(!$title) if($entity->isBanned()) else
 
 $location = $entity->location
 
if(is_string($location)&&$location!== '') $subtitle = elgg_format_element('div', [], $entity->briefdescription)
 
 $params ['subtitle'] = $subtitle
 

Variable Documentation

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

Elgg user display.

$vars['entity'] ElggUser entity $vars['size'] Size of the icon $vars['title'] Optional override for the title

Definition at line 10 of file default.php.

$location = $entity->location
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 42 of file default.php.

if (elgg_view_exists('user/status')) $params
Initial value:
= [
'entity' => $entity
$entity
Definition: default.php:16

Definition at line 30 of file default.php.

$params['subtitle'] = $subtitle

Definition at line 50 of file default.php.

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

Definition at line 15 of file default.php.

if (is_string($location)&&$location!== '') $subtitle = elgg_format_element('div', [], $entity->briefdescription)

Definition at line 48 of file default.php.

if (elgg_get_context()== 'gallery') $title = elgg_extract('title', $vars)

Definition at line 22 of file default.php.

if (!$title) if ($entity->isBanned()) else
Initial value:
{
$subtitle = ''
if(is_string($location)&&$location!== '') $subtitle
Definition: default.php:48

Definition at line 40 of file default.php.