ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 
15 {
25  protected function buildAnswerOptionLabel($index, $answer)
26  {
27  $text = $this->lng->txt('region') . " " . ($index+1);
28  if (strlen($answer->getAnswertext()))
29  {
30  $text = $answer->getAnswertext() . ": " . $text;
31  }
32 
33  return $text;
34  }
35 }