ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilAssImagemapQuestionFeedback.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
ilAssImagemapQuestionFeedback
extends
ilAssMultiOptionQuestionFeedback
15
{
25
protected
function
buildAnswerOptionLabel
(
$index
, $answer)
26
{
27
$text
= $this->lng->txt(
'region'
) .
" "
. (
$index
+ 1);
28
if
(strlen($answer->getAnswertext())) {
29
$text
= $answer->getAnswertext() .
": "
.
$text
;
30
}
31
32
return
$text
;
33
}
34
}
ilAssImagemapQuestionFeedback
Definition:
class.ilAssImagemapQuestionFeedback.php:14
$index
$index
Definition:
metadata.php:60
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:17
ilAssImagemapQuestionFeedback\buildAnswerOptionLabel
buildAnswerOptionLabel($index, $answer)
builds an answer option label from given (mixed type) index and answer (overwrites parent method from...
Definition:
class.ilAssImagemapQuestionFeedback.php:25
$text
$text
Definition:
errorreport.php:18
php
Modules
TestQuestionPool
classes
feedback
class.ilAssImagemapQuestionFeedback.php
Generated on Thu Jan 16 2025 19:02:13 for ILIAS by
1.8.13 (using
Doxyfile
)