Elgg  Version 3.0
Variables
user.php File Reference

Go to the source code of this file.

Variables

 $user = elgg_extract('entity', $vars)
 
if(!$user instanceof ElggUser$checkbox
 
 $menu
 
 $title = []
 
 $title [] = elgg_format_element('span', ['title' => elgg_echo('username')], "{$user->username}:")
 
 $subtitle = []
 
 $subtitle [] = elgg_echo('admin:users:unvalidated:registered', [elgg_view_friendly_time($user->time_created)])
 
 $params
 
 $content = elgg_view('user/elements/summary', $params)
 

Variable Documentation

if (!$user instanceof ElggUser) $checkbox
Initial value:
= elgg_view('input/checkbox', [
'name' => 'user_guids[]',
'value' => $user->guid,
'default' => false,
'id' => "unvalidated-user-{$user->guid}",
])
$user
Definition: user.php:3
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 8 of file user.php.

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

Definition at line 37 of file user.php.

$menu
Initial value:
= elgg_view_menu('user:unvalidated', [
'entity' => $user,
'class' => 'elgg-menu-hz',
])
$user
Definition: user.php:3
elgg_view_menu($menu, array $vars=[])
Render a menu.
Definition: views.php:755

Definition at line 15 of file user.php.

$params
Initial value:
= [
'title' => $title
$title
Definition: user.php:20

Definition at line 30 of file user.php.

$subtitle = []

Definition at line 27 of file user.php.

$subtitle[] = elgg_echo('admin:users:unvalidated:registered', [elgg_view_friendly_time($user->time_created)])

Definition at line 28 of file user.php.

$title = []
Examples:
/root/Elgg/engine/lib/output.php, and /root/Elgg/engine/lib/views.php.

Definition at line 20 of file user.php.

$title[] = elgg_format_element('span', ['title' => elgg_echo('username')], "{$user->username}:")

Definition at line 21 of file user.php.

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

Definition at line 3 of file user.php.