ILIAS
release_8 Revision v8.23
◀ 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
(strlen($answer->getAnswertext())) {
42
$text = $answer->getAnswertext() .
": "
. $text;
43
}
44
return
$text;
45
}
46
}
ilAssImagemapQuestionFeedback
Definition:
class.ilAssImagemapQuestionFeedback.php:27
$index
$index
Definition:
metadata.php:145
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:56
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:32
Modules
TestQuestionPool
classes
feedback
class.ilAssImagemapQuestionFeedback.php
Generated on Wed Sep 3 2025 22:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)