You are here

private function FillInProcessor::processResponse in Opigno module 8

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

Process response by dividing it into an array on response separators.

Parameters

string $response: User response.

Return value

array List of user responses for the different fill-ins.

1 call to FillInProcessor::processResponse()
FillInProcessor::generateHTML in ActivityTypes/opigno_h5p/src/TypeProcessors/FillInProcessor.php
Options for interaction and generates a human readable HTML report.

File

ActivityTypes/opigno_h5p/src/TypeProcessors/FillInProcessor.php, line 325

Class

FillInProcessor
Class FillInProcessor.

Namespace

Drupal\opigno_h5p\TypeProcessors

Code

private function processResponse($response) {
  return explode(self::RESPONSES_SEPARATOR, $response);
}