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
GUIService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Wiki\Content
;
22
23
use
ILIAS\Wiki\InternalGUIService
;
24
use
ILIAS\Wiki\InternalDomainService
;
25
use
ILIAS\Wiki\WikiGUIRequest
;
26
30
class
GUIService
31
{
32
protected
WikiGUIRequest
$request
;
33
protected
InternalGUIService
$gui_service
;
34
protected
InternalDomainService
$domain_service
;
35
36
public
function
__construct
(
37
InternalDomainService
$domain_service,
38
InternalGUIService
$gui_service
39
) {
40
$this->gui_service =
$gui_service
;
41
$this->domain_service =
$domain_service
;
42
$this->request = $this->gui_service->request();
43
}
44
45
protected
function
navigation
():
NavigationManager
46
{
47
return
$this->domain_service->content()->navigation(
48
$this->domain_service->wiki()->object($this->request->getRefId()),
49
$this->request->getWikiPageId(),
50
$this->request->getPage(),
51
$this->request->getTranslation()
52
);
53
}
54
55
public
function
getCurrentPageGUI
(): \
ilWikiPageGUI
56
{
57
$nav = $this->
navigation
();
58
return
$this->gui_service->page()->getWikiPageGUI(
59
$this->request->getRefId(),
60
$nav->getCurrentPageId(),
61
0,
62
$nav->getCurrentPageLanguage()
63
);
64
}
65
}
ILIAS\Wiki\Content\GUIService\__construct
__construct(InternalDomainService $domain_service, InternalGUIService $gui_service)
Definition:
GUIService.php:36
ILIAS\Wiki\Content\NavigationManager
Definition:
NavigationManager.php:31
ILIAS\Wiki\Content\GUIService
Definition:
GUIService.php:30
ILIAS\Wiki\Content\GUIService\navigation
navigation()
Definition:
GUIService.php:45
ILIAS\Wiki\Content\GUIService\$domain_service
InternalDomainService $domain_service
Definition:
GUIService.php:34
ilWikiPageGUI
Class ilWikiPage GUI class.
Definition:
class.ilWikiPageGUI.php:31
ILIAS\Wiki\WikiGUIRequest
Definition:
WikiGUIRequest.php:23
ILIAS\Wiki\InternalDomainService
Definition:
class.InternalDomainService.php:34
ILIAS\Wiki\Content\GUIService\$request
WikiGUIRequest $request
Definition:
GUIService.php:32
ILIAS\Wiki\InternalGUIService
Definition:
class.InternalGUIService.php:29
ILIAS\Wiki\Content\GUIService\$gui_service
InternalGUIService $gui_service
Definition:
GUIService.php:33
WikiGUIRequest
InternalDomainService
InternalGUIService
ILIAS\Wiki\Content
Definition:
NavigationManager.php:21
ILIAS\Wiki\Content\GUIService\getCurrentPageGUI
getCurrentPageGUI()
Definition:
GUIService.php:55
components
ILIAS
Wiki
Content
Service
GUIService.php
Generated on Wed Apr 9 2025 23:02:41 for ILIAS by
1.8.13 (using
Doxyfile
)