ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
4require_once 'Modules/TestQuestionPool/classes/feedback/class.ilAssConfigurableMultiOptionQuestionFeedback.php';
11{
12 const SPECIFIC_QUESTION_TABLE_NAME = 'qpl_qst_lome';
13
14 protected function getSpecificQuestionTableName()
15 {
17 }
18
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}
An exception for terminatinating execution or to throw for unit testing.
buildAnswerOptionLabel($index, $answers)
builds an answer option label from given (mixed type) index and answer (can be overwritten by concret...
getAnswerOptionsByAnswerIndex()
returns the answer options mapped by answer index (can be overwritten by concrete question type class...
$index
Definition: metadata.php:128