You are here

protected function TypeProcessor::getResponse in Opigno module 8

Same name and namespace in other branches
  1. 3.x ActivityTypes/opigno_h5p/src/TypeProcessors/TypeProcessor.php \Drupal\opigno_h5p\TypeProcessors\TypeProcessor::getResponse()

Decode and retrieve user response from xAPI data.

Parameters

mixed $xapiData: XAPI data.

Return value

string User response.

1 call to TypeProcessor::getResponse()
TypeProcessor::generateReport in ActivityTypes/opigno_h5p/src/TypeProcessors/TypeProcessor.php
Generate HTML for report.

File

ActivityTypes/opigno_h5p/src/TypeProcessors/TypeProcessor.php, line 182

Class

TypeProcessor
Class TypeProcessor.

Namespace

Drupal\opigno_h5p\TypeProcessors

Code

protected function getResponse($xapiData) {
  return $xapiData->response;
}