Elgg  Version 1.9
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $entity = $vars['entity']
 Elgg user display. More...
 
 $size = elgg_extract('size', $vars, 'tiny')
 
 $icon = elgg_view_entity_icon($entity, $size, $vars)
 
 $title = elgg_extract('title', $vars)
 
if(! $title$metadata
 
if(elgg_in_context('owner_block')||elgg_in_context('widgets')) if(elgg_get_context()=='gallery') else
 

Variable Documentation

◆ $entity

$entity = $vars['entity']

Elgg user display.

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

Definition at line 10 of file default.php.

◆ $icon

Definition at line 13 of file default.php.

◆ $metadata

if (! $title) $metadata
Initial value:
= elgg_view_menu('entity', array(
'entity' => $entity,
'sort_by' => 'priority',
'class' => 'elgg-menu-hz',
))
$entity
Definition: default.php:15
elgg_view_menu($menu_name, array $vars=array())
Render a menu.
Definition: views.php:687

Definition at line 32 of file default.php.

◆ $size

$size = elgg_extract('size', $vars, 'tiny')

Definition at line 11 of file default.php.

◆ $title

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

Definition at line 15 of file default.php.

◆ else

if (elgg_in_context( 'owner_block')||elgg_in_context( 'widgets')) if (elgg_get_context()=='gallery') else
Initial value:
{
if ($entity->isBanned()) {
$banned = elgg_echo('banned');
$params = array(
'entity' => $entity,
'title' => $title,
'metadata' => $metadata,
);
} else {
$params = array(
'entity' => $entity,
'title' => $title,
'metadata' => $metadata,
'subtitle' => $entity->briefdescription,
'content' => elgg_view('user/status', array('entity' => $entity)),
);
}
$list_body = elgg_view('user/elements/summary', $params)
$title
Definition: default.php:32
$params
Definition: default.php:39
if(! $title) $metadata
Definition: default.php:32
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.
Definition: views.php:354

Definition at line 44 of file default.php.