Elgg  Version master
Variables
column.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Elgg user display. More...
 
if(! $entity instanceof ElggEntity$size = elgg_extract('size', $vars, 'small')
 
 $icon = elgg_view_entity_icon($entity, $size, $vars)
 
 $title = elgg_extract('title', $vars) ?: elgg_view_entity_url($entity)
 
 $params
 
 $list_body = elgg_view('user/elements/summary', $params)
 

Variable Documentation

◆ $entity

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

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 column.php.

◆ $icon

$icon = elgg_view_entity_icon($entity, $size, $vars)

Definition at line 17 of file column.php.

◆ $list_body

$list_body = elgg_view('user/elements/summary', $params)

Definition at line 25 of file column.php.

◆ $params

$params
Initial value:
= [
'entity' => $entity,
'title' => $title,
]
$entity
Elgg user display.
Definition: column.php:10
$title
Definition: column.php:19

Definition at line 21 of file column.php.

◆ $size

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

Definition at line 15 of file column.php.

◆ $title

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

Definition at line 19 of file column.php.