ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilAssImagemapQuestionFeedback.php
Go to the documentation of this file.
1
<?php
2
27
class
ilAssImagemapQuestionFeedback
extends
ilAssMultiOptionQuestionFeedback
28
{
38
protected
function
buildAnswerOptionLabel
(
int
$index, $answer): string
39
{
40
$text = $this->
lng
->txt(
'region'
) .
" "
. ($index + 1);
41
if
($answer->getAnswertext() !==
null
42
&& $answer->getAnswertext() !==
''
) {
43
$text = $answer->getAnswertext() .
": "
. $text;
44
}
45
return
$text;
46
}
47
}
ilAssImagemapQuestionFeedback
Definition:
class.ilAssImagemapQuestionFeedback.php:28
ilAssImagemapQuestionFeedback\buildAnswerOptionLabel
buildAnswerOptionLabel(int $index, $answer)
builds an answer option label from given (mixed type) index and answer (overwrites parent method from...
Definition:
class.ilAssImagemapQuestionFeedback.php:38
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:31
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
components
ILIAS
TestQuestionPool
classes
feedback
class.ilAssImagemapQuestionFeedback.php
Generated on Sat Oct 18 2025 23:04:34 for ILIAS by
1.9.4 (using
Doxyfile
)