Elgg  Version 3.0
Namespaces | Variables
online.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Configuration exception.
 

Variables

 $user = elgg_get_page_owner_entity()
 
if(!$user instanceof ElggUser$label_name = elgg_echo('usersettings:statistics:label:name')
 
 $label_email = elgg_echo('usersettings:statistics:label:email')
 
 $label_member_since = elgg_echo('usersettings:statistics:label:membersince')
 
 $label_last_login = elgg_echo('usersettings:statistics:label:lastlogin')
 
 $time_created
 
 $last_login
 
 $title = elgg_echo('usersettings:statistics:yourdetails')
 
 $content
 

Variable Documentation

$content
Initial value:
= <<<__HTML
<table class="elgg-table-alt">
<tr>
<td class="column-one">$label_name</td>
<td>{$user->getDisplayName()}</td>
</tr>
<tr>
<td class="column-one">$label_email</td>
<td>$user->email</td>
</tr>
<tr>
<td class="column-one">$label_member_since</td>
<td>$time_created</td>
</tr>
<tr>
<td class="column-one">$label_last_login</td>
<td>$last_login</td>
</tr>
</table>
__HTML
$last_login
Definition: online.php:23
$label_email
Definition: online.php:15
$label_member_since
Definition: online.php:16
$label_last_login
Definition: online.php:17
$time_created
Definition: online.php:19
$user
Definition: online.php:9
if(!$user instanceof ElggUser) $label_name
Definition: online.php:14

Definition at line 30 of file online.php.

$label_email = elgg_echo('usersettings:statistics:label:email')

Definition at line 15 of file online.php.

$label_last_login = elgg_echo('usersettings:statistics:label:lastlogin')

Definition at line 17 of file online.php.

$label_member_since = elgg_echo('usersettings:statistics:label:membersince')

Definition at line 16 of file online.php.

if (!$user instanceof ElggUser) $label_name = elgg_echo('usersettings:statistics:label:name')

Definition at line 14 of file online.php.

$last_login
Initial value:
= elgg_view('output/date', [
'value' => $user->last_login,
'format' => DATE_RFC2822,
])
$user
Definition: online.php:9
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 23 of file online.php.

$time_created
Initial value:
= elgg_view('output/date', [
'value' => $user->time_created,
'format' => DATE_RFC2822,
])
$user
Definition: online.php:9
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 19 of file online.php.

$title = elgg_echo('usersettings:statistics:yourdetails')

Definition at line 28 of file online.php.

Definition at line 9 of file online.php.