Elgg  Version master
column.php
Go to the documentation of this file.
1 <?php
10 $entity = elgg_extract('entity', $vars);
11 if (!$entity instanceof ElggEntity) {
12  return;
13 }
14 
15 $size = elgg_extract('size', $vars, 'small');
16 
18 
20 
22  'entity' => $entity,
23  'title' => $title,
24 ];
25 $list_body = elgg_view('user/elements/summary', $params);
26 
$params
Definition: column.php:21
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
Definition: views.php:898
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
elgg_view_entity_icon(\ElggEntity $entity, string $size= 'medium', array $vars=[])
View the icon of an entity.
Definition: views.php:542
$icon
Definition: column.php:17
$entity
Elgg user display.
Definition: column.php:10
$title
Definition: column.php:19
$vars
Definition: theme.php:5
$list_body
Definition: column.php:25
if(!$entity instanceof ElggEntity) $size
Definition: column.php:15
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
Definition: views.php:1444