ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAssSpecFeedbackPageGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/COPage/classes/class.ilPageObjectGUI.php");
5 include_once("./Modules/TestQuestionPool/classes/feedback/class.ilAssSpecFeedbackPage.php");
6 
19 {
23  public function __construct($a_id = 0, $a_old_nr = 0)
24  {
25  parent::__construct("qfbs", $a_id, $a_old_nr);
26  $this->setTemplateTargetVar('ADM_CONTENT');
27  $this->setTemplateOutput(true);
28  if (strtolower($_GET['cmdClass']) === 'ilassquestionpreviewgui') {
29  $this->setFileDownloadLink($this->ctrl->getLinkTargetByClass(ilObjQuestionPoolGUI::class, 'downloadFile'));
30  } else {
31  $this->setFileDownloadLink($this->ctrl->getLinkTargetByClass(ilObjTestGUI::class, 'downloadFile'));
32  }
33  }
34 }
setTemplateOutput($a_output=true)
$_GET["client_id"]
Class ilPageObjectGUI.
setTemplateTargetVar($a_variable)
__construct($a_id=0, $a_old_nr=0)
Constructor.
setFileDownloadLink($a_download_link)
Set file download link.
Specific feedback page GUI class.
__construct(Container $dic, ilPlugin $plugin)