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