ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ 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.InternalDomainService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Wiki
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Repository\GlobalDICDomainServices
;
25
use
ILIAS\Wiki\Content
;
26
use
ILIAS\Wiki\Page
;
27
use
ILIAS\Wiki\Wiki
;
28
use
ILIAS\Wiki\Links\LinkManager
;
29
use
ILIAS\Wiki\Settings\SettingsManager
;
30
34
class
InternalDomainService
35
{
36
use
GlobalDICDomainServices
;
37
protected
static
array
$instance
= [];
38
39
public
function
__construct
(
40
Container
$DIC
,
41
protected
InternalRepoService
$repo_service,
42
protected
InternalDataService
$data_service
43
) {
44
$this->
initDomainServices
($DIC);
45
}
46
47
public
function
log
(): \
ilLogger
48
{
49
return
$this->
logger
()->wiki();
50
}
51
52
public
function
content
(): Content\
DomainService
53
{
54
return
new
Content\DomainService
(
55
$this->data_service,
56
$this->repo_service,
57
$this
58
);
59
}
60
61
public
function
wiki
(): Wiki\
DomainService
62
{
63
return
self::$instance[
"wiki"
] ??=
new
Wiki\DomainService
(
64
$this->data_service,
65
$this->repo_service,
66
$this
67
);
68
}
69
70
public
function
page
():
Page
\
DomainService
71
{
72
return
self::$instance[
"page"
] ??=
new
Page\DomainService
(
73
$this->data_service,
74
$this->repo_service,
75
$this
76
);
77
}
78
79
public
function
importantPage
(
int
$ref_id
): Navigation\ImportantPageManager
80
{
81
return
self::$instance[
"imp_page"
][
$ref_id
] ??=
new
Navigation\ImportantPageManager
(
82
$this->data_service,
83
$this->repo_service->importantPage(),
84
$this->
wiki
(),
85
$ref_id
86
);
87
}
88
89
public
function
links
(
int
$ref_id
):
LinkManager
90
{
91
return
self::$instance[
"links"
][
$ref_id
] ??=
new
LinkManager
(
92
$this->data_service,
93
$this->repo_service->missingPage(),
94
$this,
95
$ref_id
96
);
97
}
98
99
public
function
wikiSettings
():
SettingsManager
100
{
101
return
self::$instance[
"settings"
] ??=
new
SettingsManager
(
102
$this->data_service,
103
$this->repo_service,
104
$this
105
);
106
}
107
108
}
ilLogger
ILIAS\Wiki\InternalDomainService\log
log()
Definition:
class.InternalDomainService.php:47
ILIAS\Wiki\Wiki\DomainService
Definition:
DomainService.php:30
ILIAS\Wiki\InternalDomainService\importantPage
importantPage(int $ref_id)
Definition:
class.InternalDomainService.php:79
ILIAS\Wiki\Settings\SettingsManager
Definition:
SettingsManager.php:27
ILIAS\Wiki\InternalDomainService\wikiSettings
wikiSettings()
Definition:
class.InternalDomainService.php:99
ILIAS\Repository\initDomainServices
initDomainServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICDomainServices.php:41
ILIAS\Export\InternalDomainService
Definition:
class.InternalDomainService.php:25
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:35
ILIAS\Repository\InternalRepoService
Definition:
class.InternalRepoService.php:26
Container
$ref_id
$ref_id
Definition:
ltiauth.php:65
ILIAS\Repository\Deletion\DomainService
Definition:
DomainService.php:27
ILIAS\Wiki\Page\DomainService
Definition:
DomainService.php:30
SettingsManager
$DIC
global $DIC
Definition:
shib_login.php:22
ILIAS\Wiki
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Wiki\InternalDomainService\links
links(int $ref_id)
Definition:
class.InternalDomainService.php:89
ILIAS\Wiki\Page
Definition:
Page.php:21
ILIAS\Repository\InternalDataService
Definition:
class.InternalDataService.php:25
ILIAS\Repository\GlobalDICDomainServices
trait GlobalDICDomainServices
Definition:
trait.GlobalDICDomainServices.php:38
ILIAS\Wiki\InternalDomainService\wiki
wiki()
Definition:
class.InternalDomainService.php:61
ILIAS\Repository\logger
logger()
Definition:
trait.GlobalDICDomainServices.php:71
GlobalDICDomainServices
ILIAS\Data\Link\LinkManager
Definition:
LinkManager.php:26
ILIAS\Wiki\InternalDomainService\content
content()
Definition:
class.InternalDomainService.php:52
ILIAS\Wiki\InternalDomainService\__construct
__construct(Container $DIC, protected InternalRepoService $repo_service, protected InternalDataService $data_service)
Definition:
class.InternalDomainService.php:39
ILIAS\Wiki\InternalDomainService\$instance
static array $instance
Definition:
class.InternalDomainService.php:37
ILIAS\Wiki\Content\DomainService
Definition:
DomainService.php:30
LinkManager
ILIAS\Wiki\Page\Page
Wiki page.
Definition:
Page.php:26
ILIAS\Wiki\Wiki
Definition:
DomainService.php:21
ILIAS\Wiki\Content
Definition:
NavigationManager.php:21
ILIAS\Wiki\InternalDomainService\page
page()
Definition:
class.InternalDomainService.php:70
ILIAS\Wiki\Navigation\ImportantPageManager
Page manager.
Definition:
ImportantPageManager.php:30
components
ILIAS
Wiki
Service
class.InternalDomainService.php
Generated on Sat Apr 5 2025 23:02:28 for ILIAS by
1.8.13 (using
Doxyfile
)