ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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:61
$text
$text
Definition:
xapiexit.php:21
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:30
components
ILIAS
TestQuestionPool
classes
feedback
class.ilAssImagemapQuestionFeedback.php
Generated on Wed Sep 10 2025 15:16:39 for ILIAS by
1.8.13 (using
Doxyfile
)