function opigno_lrs_stats_all_statements in Opigno TinCan API 7
Retrieve all statements from LRS (caching for current request)
Return value
array
4 calls to opigno_lrs_stats_all_statements()
- opigno_lrs_stats_course_content_course_contexts_statistics in modules/
opigno_tincan_api_stats/ includes/ course_content/ model.inc - Present course contexts statistics
- opigno_lrs_stats_dashboard_page in modules/
opigno_tincan_api_stats/ includes/ dashboard/ dashboard.pages.inc - Display general statistics page
- opigno_lrs_stats_dashboard_present_most_active_users in modules/
opigno_tincan_api_stats/ includes/ dashboard/ model.inc - Retrieve most active users (max 10) from tincan statements
- opigno_lrs_stats_first_statement_timestamp in modules/
opigno_tincan_api_stats/ includes/ model/ helpers.inc - Retrieve first statement timestamp from LRS
File
- modules/
opigno_tincan_api_stats/ includes/ model/ queries.inc, line 13 - Implements functions to query statements
Code
function opigno_lrs_stats_all_statements() {
$all_statements =& drupal_static(__FUNCTION__);
if (!isset($all_statements)) {
$all_statements = opigno_lrs_stats_query(opigno_lrs_stats_query_new_pipeline());
}
return $all_statements;
}