private function FillInProcessor::processResponse in Opigno module 3.x
Same name and namespace in other branches
- 8 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\TypeProcessorsCode
private function processResponse($response) {
return explode(self::RESPONSES_SEPARATOR, $response);
}