ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ 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.InternalGUIService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Blog
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Repository\GlobalDICGUIServices
;
25
use
ILIAS\PermanentLink\PermanentLinkManager
;
26
use
ILIAS\Blog\ReadingTime\GUIService
;
27
28
class
InternalGUIService
29
{
30
use
GlobalDICGUIServices
;
31
32
protected
InternalDataService
$data_service
;
33
protected
InternalDomainService
$domain_service
;
34
protected
static
array
$instance
= [];
35
36
public
function
__construct
(
37
Container
$DIC
,
38
InternalDataService
$data_service,
39
InternalDomainService
$domain_service
40
) {
41
$this->data_service =
$data_service
;
42
$this->domain_service =
$domain_service
;
43
$this->
initGUIServices
($DIC);
44
}
45
46
public
function
navigation
(): Navigation\GUIService
47
{
48
return
new
Navigation\GUIService(
49
$this->domain_service,
50
$this
51
);
52
}
53
54
public
function
presentation
(): Presentation\GUIService
55
{
56
return
new
Presentation\GUIService(
57
$this->domain_service,
58
$this
59
);
60
}
61
62
public
function
standardRequest
():
StandardGUIRequest
63
{
64
return
new
StandardGUIRequest
(
65
$this->
http
(),
66
$this->domain_service->refinery()
67
);
68
}
69
70
public
function
contributor
(): Contributor\GUIService
71
{
72
return
new
Contributor\GUIService(
73
$this->data_service,
74
$this->domain_service,
75
$this
76
);
77
}
78
79
public
function
exercise
():
Exercise
\GUIService
80
{
81
return
new
Exercise\GUIService
(
82
$this->data_service,
83
$this->domain_service,
84
$this
85
);
86
}
87
88
public
function
permanentLink
(
89
int
$ref_id
= 0,
90
int
$wsp_id = 0
91
): PermanentLinkManager {
92
return
new
PermanentLinkManager(
93
$this->domain_service->staticUrl(),
94
$this,
95
$ref_id
,
96
$wsp_id
97
);
98
}
99
100
public
function
settings
():
Settings
\GUIService
101
{
102
return
self::$instance[
"settings"
] ??
103
self::$instance[
"settings"
] =
new
Settings\GUIService(
104
$this->data_service,
105
$this->domain_service,
106
$this
107
);
108
}
109
110
public
function
readingTime
(): GUIService
111
{
112
return
self::$instance[
"reading_time"
] ??
113
self::$instance[
"reading_time"
] =
new
ReadingTime\GUIService(
114
$this->data_service,
115
$this->domain_service,
116
$this
117
);
118
}
119
}
ILIAS\Exercise
Definition:
Exercise.php:23
ILIAS\Repository\initGUIServices
initGUIServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICGUIServices.php:47
ILIAS\Blog\InternalGUIService\permanentLink
permanentLink(int $ref_id=0, int $wsp_id=0)
Definition:
class.InternalGUIService.php:88
GlobalDICGUIServices
GUIService
ILIAS\Exercise\GUIService
Definition:
class.GUIService.php:30
ILIAS\Blog\InternalGUIService\contributor
contributor()
Definition:
class.InternalGUIService.php:70
ILIAS\Blog\InternalGUIService\$data_service
InternalDataService $data_service
Definition:
class.InternalGUIService.php:32
ILIAS\Blog\InternalDomainService
Definition:
class.InternalDomainService.php:34
ILIAS\Repository\GlobalDICGUIServices
trait GlobalDICGUIServices
Definition:
trait.GlobalDICGUIServices.php:44
ILIAS\Blog\InternalGUIService\$domain_service
InternalDomainService $domain_service
Definition:
class.InternalGUIService.php:33
Container
$ref_id
$ref_id
Definition:
ltiauth.php:65
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:55
ILIAS\Blog\StandardGUIRequest
Definition:
class.StandardGUIRequest.php:25
ILIAS\Blog\InternalGUIService\standardRequest
standardRequest()
Definition:
class.InternalGUIService.php:62
$DIC
global $DIC
Definition:
shib_login.php:22
ILIAS\Blog\InternalDataService
Definition:
class.InternalDataService.php:26
ILIAS\Blog\InternalGUIService\exercise
exercise()
Definition:
class.InternalGUIService.php:79
ILIAS\Blog\InternalGUIService\settings
settings()
Definition:
class.InternalGUIService.php:100
ILIAS\Blog\InternalGUIService\$instance
static array $instance
Definition:
class.InternalGUIService.php:34
ILIAS\Blog
ILIAS\Blog\InternalGUIService\__construct
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Definition:
class.InternalGUIService.php:36
ILIAS\Blog\InternalGUIService\navigation
navigation()
Definition:
class.InternalGUIService.php:46
ILIAS\Blog\InternalGUIService\presentation
presentation()
Definition:
class.InternalGUIService.php:54
ILIAS\Blog\InternalGUIService\readingTime
readingTime()
Definition:
class.InternalGUIService.php:110
ILIAS\Blog\InternalGUIService
Definition:
class.InternalGUIService.php:28
SettingsInterface
ILIAS\Container
Definition:
Container.php:23
ILIAS\Notes\InternalGUIService\$domain_service
InternalDomainService $domain_service
Definition:
class.InternalGUIService.php:35
PermanentLinkManager
ILIAS\Notes\InternalGUIService\$data_service
InternalDataService $data_service
Definition:
class.InternalGUIService.php:34
components
ILIAS
Blog
Service
class.InternalGUIService.php
Generated on Fri Apr 4 2025 23:02:26 for ILIAS by
1.8.13 (using
Doxyfile
)