ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilAssLongMenuFeedback.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.ilAssConfigurableMultiOptionQuestionFeedback.php'
;
10
class
ilAssLongMenuFeedback
extends
ilAssMultiOptionQuestionFeedback
11
{
12
const
SPECIFIC_QUESTION_TABLE_NAME
=
'qpl_qst_lome'
;
13
14
protected
function
getSpecificQuestionTableName
()
15
{
16
return
self::SPECIFIC_QUESTION_TABLE_NAME
;
17
}
18
19
public
function
getAnswerOptionsByAnswerIndex
()
20
{
21
return
$this->questionOBJ->getAnswers();
22
}
23
24
protected
function
buildAnswerOptionLabel
(
$index
, $answers)
25
{
26
$counter
=
$index
+ 1;
27
$caption =
'Longmenu '
.
$counter
;
28
return
$caption;
29
}
30
}
php
An exception for terminatinating execution or to throw for unit testing.
ilAssLongMenuFeedback
Definition:
class.ilAssLongMenuFeedback.php:11
ilAssLongMenuFeedback\buildAnswerOptionLabel
buildAnswerOptionLabel($index, $answers)
builds an answer option label from given (mixed type) index and answer (can be overwritten by concret...
Definition:
class.ilAssLongMenuFeedback.php:24
ilAssLongMenuFeedback\getSpecificQuestionTableName
getSpecificQuestionTableName()
Definition:
class.ilAssLongMenuFeedback.php:14
ilAssLongMenuFeedback\getAnswerOptionsByAnswerIndex
getAnswerOptionsByAnswerIndex()
returns the answer options mapped by answer index (can be overwritten by concrete question type class...
Definition:
class.ilAssLongMenuFeedback.php:19
ilAssLongMenuFeedback\SPECIFIC_QUESTION_TABLE_NAME
const SPECIFIC_QUESTION_TABLE_NAME
Definition:
class.ilAssLongMenuFeedback.php:12
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:18
$counter
$counter
Definition:
config-scanner.php:59
$index
$index
Definition:
metadata.php:60
Modules
TestQuestionPool
classes
feedback
class.ilAssLongMenuFeedback.php
Generated on Tue Sep 30 2025 19:01:08 for ILIAS by
1.9.4 (using
Doxyfile
)