You are here

function opigno_lrs_stats_query_record_map_statement in Opigno TinCan API 7

Used to retrieve statements inside of an array of results

Parameters

stdClass $result: Result item extracted from the response

Return value

stdClass Statement object

1 string reference to 'opigno_lrs_stats_query_record_map_statement'
opigno_lrs_stats_query in modules/opigno_tincan_api_stats/includes/model/adapter.inc
Query Learning Record Store server using mongodb aggregate structure

File

modules/opigno_tincan_api_stats/includes/model/adapter.inc, line 87
Implements functions to query statements stored on Learning Record Store server

Code

function opigno_lrs_stats_query_record_map_statement($result) {
  return $result->statement;
}