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