Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
components
column
user.php
Go to the documentation of this file.
1
<?php
10
$item
=
elgg_extract
(
'item'
,
$vars
);
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
18
echo
elgg_view_entity
(
$item
,
$vars
);
$vars
if(!$item instanceof ElggUser) $vars['item_view']
Definition:
user.php:15
elgg_extract
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
elgg_view_entity(\ElggEntity $entity, array $vars=[])
Returns a string of a rendered entity.
Definition:
views.php:493
$item
$item
Render a user icon and name.
Definition:
user.php:10
ElggUser
Definition:
ElggUser.php:28
Generated on Mon Oct 7 2024 00:02:51 for Elgg by
1.8.11