Go to the source code of this file.
|
| Elgg\Core |
| Updates the advanced settings for the primary site object.
|
|
get_entity_statistics |
( |
|
$owner_guid = 0 | ) |
|
Return an array reporting the number of various entities in the system.
- Parameters
-
int | $owner_guid | Optional owner of the statistics |
- Returns
- array
Definition at line 22 of file statistics.php.
get_number_users |
( |
|
$show_deactivated = false | ) |
|
Return the number of users registered in the system.
- Parameters
-
bool | $show_deactivated | Count not enabled users? |
- Returns
- int
Definition at line 59 of file statistics.php.
get_online_users |
( |
array |
$options = [] | ) |
|
Render a list of currently online users.
This also support options from elgg_list_entities().
- Parameters
-
array | $options | Options array with keys: |
seconds (int) => Number of seconds (default 600 = 10min)
- Returns
- string
Definition at line 93 of file statistics.php.
Initialise the statistics admin page.
- Returns
- void
Definition at line 107 of file statistics.php.