ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilSurveyContainsDataMessageBoxGUI.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
13
class
ilSurveyContainsDataMessageBoxGUI
14
{
18
protected
$ui
;
19
23
protected
$lng
;
24
28
protected
$ctrl
;
29
33
public
function
__construct
()
34
{
35
global
$DIC
;
36
37
$this->ui = $DIC->ui();
38
$this->lng = $DIC->language();
39
$this->ctrl = $DIC->ctrl();
40
}
41
47
public
function
getHTML
()
48
{
49
$ctrl
=
$this->ctrl
;
50
$lng
=
$this->lng
;
51
$ui
=
$this->ui
;
52
53
$mbox =
$ui
->factory()->messageBox()->info(
$lng
->txt(
"survey_has_datasets_warning_page_view"
))
54
->withLinks([
$ui
->factory()->link()->standard(
55
$lng
->txt(
"survey_has_datasets_warning_page_view_link"
),
56
$ctrl
->getLinkTargetByClass([
"ilObjSurveyGUI"
,
"ilSurveyParticipantsGUI"
],
"maintenance"
)
57
)]);
58
59
return
$ui
->renderer()->render($mbox);
60
}
61
}
ilSurveyContainsDataMessageBoxGUI\getHTML
getHTML()
Get HTML.
Definition:
class.ilSurveyContainsDataMessageBoxGUI.php:47
$DIC
global $DIC
Definition:
saml.php:7
ilSurveyContainsDataMessageBoxGUI\$ui
$ui
Definition:
class.ilSurveyContainsDataMessageBoxGUI.php:18
ilSurveyContainsDataMessageBoxGUI\$ctrl
$ctrl
Definition:
class.ilSurveyContainsDataMessageBoxGUI.php:28
ilSurveyContainsDataMessageBoxGUI
Message box for survey, when data is alrady available.
Definition:
class.ilSurveyContainsDataMessageBoxGUI.php:13
ilSurveyContainsDataMessageBoxGUI\$lng
$lng
Definition:
class.ilSurveyContainsDataMessageBoxGUI.php:23
php
ilSurveyContainsDataMessageBoxGUI\__construct
__construct()
Constructor.
Definition:
class.ilSurveyContainsDataMessageBoxGUI.php:33
Modules
Survey
classes
class.ilSurveyContainsDataMessageBoxGUI.php
Generated on Thu Jan 16 2025 19:02:09 for ILIAS by
1.8.13 (using
Doxyfile
)