ILIAS
Release_4_4_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilAssMatchingQuestionFeedback.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Modules/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php'
;
5
14
class
ilAssMatchingQuestionFeedback
extends
ilAssMultiOptionQuestionFeedback
15
{
22
protected
function
getAnswerOptionsByAnswerIndex
()
23
{
24
return
$this->questionOBJ->getMatchingPairs();
25
}
26
36
protected
function
buildAnswerOptionLabel
($index, $answer)
37
{
38
$caption = $ordinal = $index+1;
39
$caption .=
'. <br />"'
. $answer->term->text .
'" => '
;
40
$caption .=
'"'
. $answer->definition->text .
'"'
;
41
$caption .=
'</i>'
;
42
43
return
$caption;
44
}
45
}
Modules
TestQuestionPool
classes
feedback
class.ilAssMatchingQuestionFeedback.php
Generated on Wed Apr 27 2016 20:01:28 for ILIAS by
1.8.1.2 (using
Doxyfile
)