ILIAS  release_7 Revision v7.30-3-g800a261c036
class.exQuestionsTableGUI.php
Go to the documentation of this file.
1<?php
2
17{
21 public function fillRow($questionData)
22 {
23 global $DIC; /* @var ILIAS\DI\Container $DIC */
24
30 $this->tpl->setVariable('QUESTION_TITLE', $questionData['title']);
31
37 $questionInstance = $DIC->question()->getQuestionInstance($questionData['questionId']);
38 $questionAuthoringGUI = $DIC->question()->getAuthoringCommandInstance($questionInstance);
39
40 $previewLinkComponent = $questionAuthoringGUI->getPreviewLink();
41
42 $this->tpl->setVariable('QUESTION_HREF', $previewLinkComponent->getAction());
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
For that questions that are actually shown in the rows limit of the table corresponding question link...
Class ilTable2GUI.
global $DIC
Definition: goto.php:24