ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.GUIService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Survey\Execution
;
22
23
use
ILIAS\Survey\InternalGUIService
;
24
use
ILIAS\Survey\InternalDomainService
;
25
26
class
GUIService
27
{
28
protected
static
array
$instance
= [];
29
30
public
function
__construct
(
31
protected
InternalGUIService
$ui_service,
32
protected
InternalDomainService
$domain_service
33
) {
34
}
35
36
public
function
request
():
ExecutionGUIRequest
37
{
38
return
self::$instance[
"ex_request"
] ??
39
self::$instance[
"ex_request"
] =
new
ExecutionGUIRequest
(
40
$this->ui_service->http(),
41
$this->domain_service->refinery()
42
);
43
}
44
45
public
function
launchGUI
(
46
\
ilObjSurvey
$survey
47
):
LaunchGUI
{
48
return
self::$instance[
"launch_gui"
][$survey->
getId
()] ??
49
self::$instance[
"launch_gui"
][$survey->
getId
()] =
new
LaunchGUI
(
50
$this->domain_service,
51
$this->ui_service,
52
$survey
53
);
54
}
55
}
InternalGUIService
ILIAS\Survey\Execution\ExecutionGUIRequest
Definition:
class.ExecutionGUIRequest.php:26
ILIAS\Survey\Execution\GUIService\__construct
__construct(protected InternalGUIService $ui_service, protected InternalDomainService $domain_service)
Definition:
class.GUIService.php:30
ILIAS\Survey\InternalGUIService
Survey internal ui service.
Definition:
class.InternalGUIService.php:34
ilObjSurvey
Definition:
class.ilObjSurvey.php:26
ILIAS\Survey\Execution\GUIService\$instance
static array $instance
Definition:
class.GUIService.php:28
InternalDomainService
ilObject\getId
getId()
Definition:
class.ilObject.php:294
ILIAS\Survey\Execution\GUIService\launchGUI
launchGUI(\ilObjSurvey $survey)
Definition:
class.GUIService.php:45
ILIAS\Survey\Execution\GUIService\request
request()
Definition:
class.GUIService.php:36
ILIAS\Survey\Execution\GUIService
Definition:
class.GUIService.php:26
ILIAS\Survey\InternalDomainService
Definition:
class.InternalDomainService.php:31
ILIAS\Survey\Execution\LaunchGUI
Definition:
class.LaunchGUI.php:34
ILIAS\Survey\Execution
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.DataFactory.php:21
components
ILIAS
Survey
Execution
Service
class.GUIService.php
Generated on Wed Apr 9 2025 23:02:40 for ILIAS by
1.8.13 (using
Doxyfile
)