ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilAssGenFeedbackPageGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once("./Services/COPage/classes/class.ilPageObjectGUI.php");
5include_once("./Modules/TestQuestionPool/classes/feedback/class.ilAssGenFeedbackPage.php");
6
19{
23 public function __construct($a_id = 0, $a_old_nr = 0)
24 {
25 parent::__construct("qfbg", $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}
$_GET["client_id"]
An exception for terminatinating execution or to throw for unit testing.
Generic feedback page GUI class.
__construct($a_id=0, $a_old_nr=0)
Constructor.
Class ilPageObjectGUI.
setTemplateOutput($a_output=true)
setFileDownloadLink($a_download_link)
Set file download link.
setTemplateTargetVar($a_variable)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc