Elgg  Version 1.11
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 = $vars['entity']

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.

Definition at line 13 of file default.php.

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

Definition at line 32 of file default.php.

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

Definition at line 11 of file default.php.

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

Definition at line 15 of file default.php.

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)
$params
Definition: default.php:39
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
$entity
Definition: default.php:15
if(!$title) $metadata
Definition: default.php:32
$title
Definition: default.php:32

Definition at line 44 of file default.php.