ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilAssTextQuestionFeedback.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
ilAssTextQuestionFeedback
extends
ilAssMultiOptionQuestionFeedback
15
{
25
protected
function
buildAnswerOptionLabel
(
$index
, $answer)
26
{
27
$caption = $ordinal =
$index
+1;
28
$caption .=
'. '
. $answer->getAnswertext();
29
30
return
$caption;
31
}
32
}
$index
$index
Definition:
metadata.php:60
ilAssTextQuestionFeedback
Definition:
class.ilAssTextQuestionFeedback.php:14
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:17
ilAssTextQuestionFeedback\buildAnswerOptionLabel
buildAnswerOptionLabel($index, $answer)
builds an answer option label from given (mixed type) index and answer (overwrites parent method from...
Definition:
class.ilAssTextQuestionFeedback.php:25
Modules
TestQuestionPool
classes
feedback
class.ilAssTextQuestionFeedback.php
Generated on Sat Jan 18 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)