ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.exQuestionsTableGUI.php
Go to the documentation of this file.
1 <?php
2 
33 {
37  public function fillRow(array $a_set): void
38  {
39  global $DIC; /* @var ILIAS\DI\Container $DIC */
40 
46  $this->tpl->setVariable('QUESTION_TITLE', $a_set['title']);
47 
53  $questionInstance = $DIC->question()->getQuestionInstance($a_set['questionId']);
54  $questionAuthoringGUI = $DIC->question()->getAuthoringCommandInstance($questionInstance);
55 
56  $previewLinkComponent = $questionAuthoringGUI->getPreviewLink();
57 
58  $this->tpl->setVariable('QUESTION_HREF', $previewLinkComponent->getAction());
59  }
60 }
global $DIC
Definition: shib_login.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...