ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilAssOrderingHorizontalFeedback.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 {
23  {
24  if (strpos($this->questionOBJ->ordertext, '::'))
25  {
26  return explode('::', $this->questionOBJ->ordertext);
27  }
28  return explode(' ', $this->questionOBJ->ordertext);
29  }
30 
31  protected function buildAnswerOptionLabel( $index, $answer )
32  {
33  return trim($answer);
34  }
35 
36 }
getAnswerOptionsByAnswerIndex()
returns the answer options mapped by answer index (can be overwritten by concrete question type class...