|
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) | $options |
| if(!elgg_is_admin_logged_in()) | $entity_stats = elgg_get_entity_statistics($options) |
| 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 55 of file numentities.php.
| if (!elgg_is_admin_logged_in()) $entity_stats = elgg_get_entity_statistics($options) |
Definition at line 21 of file numentities.php.
Definition at line 13 of file numentities.php.
| if (empty( $entity_stats)) $rows = [] |
Definition at line 26 of file numentities.php.
| $user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) |
Elgg statistics screen.
@uses $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 51 of file numentities.php.