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.InternalService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Glossary
;
22
23
use
ILIAS\DI\Container
;
24
25
class
InternalService
26
{
27
protected
Container
$DIC
;
28
protected
array
$instance
= [];
29
30
public
function
__construct
(
Container
$DIC)
31
{
32
$this->
DIC
=
$DIC
;
33
}
34
35
public
function
data
():
InternalDataService
36
{
37
return
$this->instance[
"data"
] ??
38
$this->instance[
"data"
] =
new
InternalDataService
();
39
}
40
41
public
function
repo
():
InternalRepoService
42
{
43
return
$this->instance[
"repo"
] ??
44
$this->instance[
"repo"
] =
new
InternalRepoService
(
45
$this->
data
(),
46
$this->
DIC
->database()
47
);
48
}
49
50
public
function
domain
():
InternalDomainService
51
{
52
return
$this->instance[
"domain"
] ??
53
$this->instance[
"domain"
] =
new
InternalDomainService
(
54
$this->
DIC
,
55
$this->
repo
(),
56
$this->
data
()
57
);
58
}
59
60
public
function
gui
():
InternalGUIService
61
{
62
return
$this->instance[
"gui"
] ??
63
$this->instance[
"gui"
] =
new
InternalGUIService
(
64
$this->
DIC
,
65
$this->
data
(),
66
$this->
domain
()
67
);
68
69
}
70
}
ILIAS\Glossary\InternalService\domain
domain()
Definition:
class.InternalService.php:50
ILIAS\Glossary\InternalService\repo
repo()
Definition:
class.InternalService.php:41
ILIAS\Glossary\InternalGUIService
Definition:
class.InternalGUIService.php:27
ILIAS\Glossary\InternalService\__construct
__construct(Container $DIC)
Definition:
class.InternalService.php:30
ILIAS\Glossary\InternalService\data
data()
Definition:
class.InternalService.php:35
Container
ILIAS\Glossary\InternalService
Definition:
class.InternalService.php:25
ILIAS\Glossary\InternalDomainService
Definition:
class.InternalDomainService.php:34
ILIAS\Glossary\InternalService\$instance
array $instance
Definition:
class.InternalService.php:28
ILIAS\Glossary\InternalService\gui
gui()
Definition:
class.InternalService.php:60
ILIAS\Glossary\InternalService\$DIC
Container $DIC
Definition:
class.InternalService.php:27
ILIAS\Glossary\InternalRepoService
Definition:
class.InternalRepoService.php:25
ILIAS\Glossary
DIC
ILIAS\Glossary\InternalDataService
Definition:
class.InternalDataService.php:25
ILIAS\Container
Definition:
Container.php:23
components
ILIAS
Glossary
Service
class.InternalService.php
Generated on Wed Apr 9 2025 23:02:33 for ILIAS by
1.8.13 (using
Doxyfile
)