Elgg  Version master
Go to the documentation of this file.
1 <?php
11 if (!$item instanceof ElggUser) {
12  return;
13 }
15 $vars['item_view'] = elgg_extract('item_view', $vars, 'user/default/column');
16 $vars['full_view'] = false;
if(!$item instanceof ElggUser) $vars['item_view']
Definition: user.php:15
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_entity(\ElggEntity $entity, array $vars=[])
Returns a string of a rendered entity.
Definition: views.php:493
Render a user icon and name.
Definition: user.php:10