ILIAS  release_8 Revision v8.24
class.exQuestionsTableGUI.php
Go to the documentation of this file.
1<?php
2
17{
21 public function fillRow(array $a_set): void
22 {
23 global $DIC; /* @var ILIAS\DI\Container $DIC */
24
30 $this->tpl->setVariable('QUESTION_TITLE', $a_set['title']);
31
37 $questionInstance = $DIC->question()->getQuestionInstance($a_set['questionId']);
38 $questionAuthoringGUI = $DIC->question()->getAuthoringCommandInstance($questionInstance);
39
40 $previewLinkComponent = $questionAuthoringGUI->getPreviewLink();
41
42 $this->tpl->setVariable('QUESTION_HREF', $previewLinkComponent->getAction());
43 }
44}
For that questions that are actually shown in the rows limit of the table corresponding question link...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28