Elgg
Version master
|
Go to the source code of this file.
Variables | |
$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) | |
Elgg statistics screen. More... | |
if(!$user instanceof ElggUser) | $entity_stats = elgg_get_entity_statistics($user->guid) |
if(empty($entity_stats)) | $rows = [] |
foreach($entity_stats as $type=> $subtypes) if(empty($rows)) if($user->guid===elgg_get_logged_in_user_guid()) | else |
$content = elgg_format_element('table', ['class' => 'elgg-table-alt'], implode(PHP_EOL, $rows)) | |
$content = elgg_format_element('table', ['class' => 'elgg-table-alt'], implode(PHP_EOL, $rows)) |
Definition at line 49 of file numentities.php.
if (!$user instanceof ElggUser) $entity_stats = elgg_get_entity_statistics($user->guid) |
Definition at line 13 of file numentities.php.
if (empty($entity_stats)) $rows = [] |
Definition at line 18 of file numentities.php.
$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) |
Elgg statistics screen.
$vars['entity'] The user entity for whom to show statistics
Definition at line 8 of file numentities.php.
foreach ($entity_stats as $type=> $subtypes) if (empty($rows)) if ($user->guid===elgg_get_logged_in_user_guid()) else |
Definition at line 45 of file numentities.php.