public static function getInteractionDocumentation() { $documentation['@attributes'] = QtiDoc::defaultCommonInteractionAttributeRow(); $documentation = array_replace_recursive($documentation, ['@notes' => "\n The element 'matchInteraction' map to our 'choicematrix' question.\n Read the documentation: <a href='http://docs.learnosity.com/assessment/questions/questiontypes#choicematrix'>\n http://docs.learnosity.com/assessment/questions/questiontypes#choicematrix</a>.\n <br/><br/>\n We currently only support validation template `map_response` and `match_correct` for this interaction.\n ", '@attributes' => ['shuffle' => QtiDoc::none('This feature is not supported'), 'maxAssociations' => QtiDoc::none('We do not rely on this attribute.'), 'minAssociations' => QtiDoc::none('We do not rely on this attribute.')], 'prompt' => QtiDoc::support(), 'simpleMatchSet' => ['simpleAssociableChoice' => ['@attributes' => ['id' => QtiDoc::none(), 'class' => QtiDoc::none(), 'xmllang' => QtiDoc::none(), 'label' => QtiDoc::none(), 'identifier' => QtiDoc::support(), 'fixed' => QtiDoc::none(), 'templateIdentifier' => QtiDoc::none(), 'showHide' => QtiDoc::none(), 'matchGroup' => QtiDoc::none(), 'matchMax' => QtiDoc::none('We do not rely on this attribute.'), 'matchMin' => QtiDoc::none('We do not rely on this attribute.')]]]]); $documentation['simpleMatchSet']['simpleAssociableChoice'] = array_merge($documentation['simpleMatchSet']['simpleAssociableChoice'], QtiDoc::defaultFlowStaticRow()); return $documentation; }
public static function getInteractionDocumentation() { $documentation['@attributes'] = QtiDoc::defaultCommonInteractionAttributeRow(); $documentation = array_replace_recursive($documentation, ['@notes' => "\n The element 'choiceInteraction' map to our 'mcq' question.\n Read the documentation: <a href='http://docs.learnosity.com/assessment/questions/questiontypes#mcq'>\n http://docs.learnosity.com/assessment/questions/questiontypes#mcq</a>\n <br /><br />\n Currently only support simple `exactMatch` validation.\n ", '@attributes' => ['shuffle' => QtiDoc::support('Learnosity does not support partial shuffle, thus ignoring simpleChoice @fixed attribute.'), 'maxChoices' => QtiDoc::partial('Learnosity does not support specifying the count of choices. If this value is more than one, then mcq `multiple_responses` is set to true.'), 'minChoices' => QtiDoc::none('By default this would be zero since we allow no response.'), 'orientation' => QtiDoc::support('By default mcq would be displayed vertically. We support do `horizontal` orientation and map to the question `ui_style`, ie. `type` of `horizontal` and `columns` will be number of the multiple choice options')], 'prompt' => QtiDoc::support('We map this to our question `stimulus`.'), 'simpleChoice' => ['@notes' => 'Attributes are ignored and elements are simply marshalled as HTML content and mapped to `value` in `options`', '@attributes' => ['id' => QtiDoc::none(), 'class' => QtiDoc::none(), 'xmllang' => QtiDoc::none(), 'label' => QtiDoc::none(), 'identifier' => QtiDoc::none(), 'fixed' => QtiDoc::none('We do not support partial shuffle.'), 'templateIdentifier' => QtiDoc::none(), 'showHide' => QtiDoc::none()]]]); $documentation['simpleChoice'] = array_merge($documentation['simpleChoice'], QtiDoc::defaultFlowStaticRow()); return $documentation; }