ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 }
For that questions that are actually shown in the rows limit of the table corresponding question link...
$DIC
Definition: xapitoken.php:46