ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilAssImagemapQuestionFeedback.php
Go to the documentation of this file.
1 <?php
2 
28 {
38  protected function buildAnswerOptionLabel(int $index, $answer): string
39  {
40  $text = $this->lng->txt('region') . " " . ($index + 1);
41  if ($answer->getAnswertext() !== null
42  && $answer->getAnswertext() !== '') {
43  $text = $answer->getAnswertext() . ": " . $text;
44  }
45  return $text;
46  }
47 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
buildAnswerOptionLabel(int $index, $answer)
builds an answer option label from given (mixed type) index and answer (overwrites parent method from...