You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<a style="display: inline-block; float: right; margin-top: 10px;" href="#mapping-question-types">Back to Top</a>
7242
+
7243
+
<div class="panel">This question type is mapped to <choiceInteraction> and currently only support `exactMatch` validation. Response processing would by default mapped using `match_correct` template.</div>
<td class="description">This is mapped to interaction image object, we will use its extension to map it to its type,ie. `hello.png` would be assumed to have image type of `image/png`</td>
<td class="description">This is mapped to a collection of hotspotChoice. Each hotspotChoice would be of a shape Poly and its percentage-based coordinates would be mapped to QTI fixed-based coordinates</td>
<td class="description">When this option sets to true, then it would map the interaction `maxChoices` attribute with the highest number of choices possible</td>
class HotspotDocumentation implements QuestionTypeDocumentationInterface
9
+
{
10
+
publicstaticfunctiongetDocumentation()
11
+
{
12
+
return [
13
+
'stimulus' => LearnosityDoc::support('This is mapped to `prompt`'),
14
+
'options' => LearnosityDoc::support('This is mapped to list of simpleChoice'),
15
+
'image' => LearnosityDoc::support('This is mapped to the image object width'),
16
+
'image.source' => LearnosityDoc::support('This is mapped to interaction image object, we will use its extension to map it to its type,'
17
+
. 'ie. `hello.png` would be assumed to have image type of `image/png`'),
18
+
'image.width' => LearnosityDoc::support('This is mapped to the image object width'),
19
+
'image.height' => LearnosityDoc::support('This is mapped to the image object height'),
20
+
'areas' => LearnosityDoc::support('This is mapped to a collection of hotspotChoice. Each hotspotChoice would be of a shape Poly and '
21
+
. 'its percentage-based coordinates would be mapped to QTI fixed-based coordinates'),
22
+
'multiple_responses' => LearnosityDoc::support('When this option sets to true, then it would map the interaction ' .
23
+
'`maxChoices` attribute with the highest number of choices possible')
24
+
];
25
+
}
26
+
27
+
publicstaticfunctiongetIntroductionNotes()
28
+
{
29
+
return
30
+
"This question type is mapped to <choiceInteraction> and currently only support `exactMatch` validation. Response processing would by default mapped using `match_correct` template.";
0 commit comments