OpHandlerQuestionTrait
Table of Contents
Methods
- getSubQuestionNewIdMapping() : array<string|int, mixed>
- Maps the tempIds of new subquestions or answers to the real ids.
Methods
getSubQuestionNewIdMapping()
Maps the tempIds of new subquestions or answers to the real ids.
private
getSubQuestionNewIdMapping(Question $question, array<string|int, mixed> $data[, bool $answers = false ]) : array<string|int, mixed>
Parameters
- $question : Question
- $data : array<string|int, mixed>
- $answers : bool = false