ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilAssGenFeedbackPageGUI.php
Go to the documentation of this file.
1
<?php
2
30
class
ilAssGenFeedbackPageGUI
extends
ilPageObjectGUI
31
{
35
public
function
__construct
($a_id = 0, $a_old_nr = 0)
36
{
37
global
$DIC
;
38
$cmd_class =
''
;
39
if
($DIC->http()->wrapper()->query()->has(
'cmdClass'
)) {
40
$cmd_class = $DIC->http()->wrapper()->query()->retrieve(
41
'cmdClass'
,
42
$DIC->refinery()->kindlyTo()->string()
43
);
44
}
45
46
parent::__construct
(
"qfbg"
, $a_id, $a_old_nr);
47
$this->
setTemplateOutput
(
false
);
48
if
(strtolower($cmd_class) ===
'ilassquestionpreviewgui'
) {
49
$this->
setFileDownloadLink
($this->
ctrl
->getLinkTargetByClass(ilObjQuestionPoolGUI::class,
'downloadFile'
));
50
}
else
{
51
$this->
setFileDownloadLink
($this->
ctrl
->getLinkTargetByClass(ilObjTestGUI::class,
'downloadFile'
));
52
}
53
}
54
55
public
function
preview
(): string
56
{
57
$page =
parent::preview
();
58
$this->tabs_gui->activateTab(
"pg"
);
59
return
$page;
60
}
61
}
ilAssGenFeedbackPageGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilAssGenFeedbackPageGUI.php:30
ilPageObjectGUI
Class ilPageObjectGUI.
Definition:
class.ilPageObjectGUI.php:33
ilPageObjectGUI\setTemplateOutput
setTemplateOutput(bool $a_output=true)
Definition:
class.ilPageObjectGUI.php:397
ILIAS\UI\examples\Symbol\Glyph\Preview\preview
preview()
description: > Example for rendering a Preview Glyph.
Definition:
preview.php:41
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
$DIC
global $DIC
Definition:
shib_login.php:26
ilPageObjectGUI\setFileDownloadLink
setFileDownloadLink(string $a_download_link)
Definition:
class.ilPageObjectGUI.php:502
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilAssGenFeedbackPageGUI\__construct
__construct($a_id=0, $a_old_nr=0)
Constructor.
Definition:
class.ilAssGenFeedbackPageGUI.php:35
ilAssGenFeedbackPageGUI\preview
preview()
Definition:
class.ilAssGenFeedbackPageGUI.php:55
components
ILIAS
TestQuestionPool
classes
feedback
class.ilAssGenFeedbackPageGUI.php
Generated on Sun Aug 31 2025 23:04:03 for ILIAS by
1.8.13 (using
Doxyfile
)