ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ 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:27
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
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:58
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:30
Modules
TestQuestionPool
classes
feedback
class.ilAssImagemapQuestionFeedback.php
Generated on Wed Sep 10 2025 14:11:10 for ILIAS by
1.8.13 (using
Doxyfile
)