Elgg
Version 1.9
|
Go to the source code of this file.
Namespaces | |
Elgg\Core | |
Activate a plugin or plugins. | |
Functions | |
get_entity_statistics ($owner_guid=0) | |
Return an array reporting the number of various entities in the system. More... | |
get_number_users ($show_deactivated=false) | |
Return the number of users registered in the system. More... | |
get_online_users (array $options=array()) | |
Render a list of currently online users. More... | |
statistics_init () | |
Initialise the statistics admin page. More... | |
get_entity_statistics | ( | $owner_guid = 0 | ) |
Return an array reporting the number of various entities in the system.
int | $owner_guid | Optional owner of the statistics |
Definition at line 20 of file statistics.php.
get_number_users | ( | $show_deactivated = false | ) |
Return the number of users registered in the system.
bool | $show_deactivated | Count not enabled users? |
Definition at line 71 of file statistics.php.
get_online_users | ( | array | $options = array() | ) |
Render a list of currently online users.
This also support options from elgg_list_entities().
array | $options | Options array with keys: |
seconds (int) => Number of seconds (default 600 = 10min)
Definition at line 103 of file statistics.php.
statistics_init | ( | ) |
Initialise the statistics admin page.
Definition at line 117 of file statistics.php.