Elgg  Version master
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) ?: elgg_view_entity_url($entity)
 
 $params
 

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.

$params
Initial value:
= [
'entity' => $entity
$entity
Generic icon view.
Definition: default.php:13

Definition at line 24 of file default.php.

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

Definition at line 15 of file default.php.

if (elgg_get_context()== 'gallery') $title = elgg_extract('title', $vars) ?: elgg_view_entity_url($entity)

Definition at line 22 of file default.php.