ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ 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.InternalRepoService.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\Wiki\Page\PageDBRepository
;
24
use
ILIAS\Wiki\Navigation\ImportantPageDBRepository
;
25
use
ILIAS\Wiki\Links\MissingPageDBRepository
;
26
use
ILIAS\Wiki\Settings\SettingsDBRepository
;
27
31
class
InternalRepoService
32
{
33
protected
static
array
$instance
= [];
34
35
public
function
__construct
(
36
protected
InternalDataService
$data
,
37
protected
\
ilDBInterface
$db
38
) {
39
}
40
41
public
function
page
():
PageDBRepository
42
{
43
return
self::$instance[
"page"
] ??=
new
PageDBRepository
(
44
$this->data,
45
$this->db
46
);
47
}
48
49
public
function
importantPage
():
ImportantPageDBRepository
50
{
51
return
self::$instance[
"imp_page"
] ??=
new
ImportantPageDBRepository
(
52
$this->data,
53
$this->db
54
);
55
}
56
57
public
function
missingPage
():
MissingPageDBRepository
58
{
59
return
self::$instance[
"missing_page"
] ??=
new
MissingPageDBRepository
(
60
$this->data,
61
$this->db
62
);
63
}
64
65
public
function
settings
():
SettingsDBRepository
66
{
67
return
self::$instance[
"settings"
] ??=
new
SettingsDBRepository
(
68
$this->db,
69
$this->data
70
);
71
}
72
73
}
ILIAS\Wiki\InternalRepoService\page
page()
Definition:
class.InternalRepoService.php:41
$data
$data
Definition:
ltiregistration.php:29
ILIAS\Wiki\Settings\SettingsDBRepository
Definition:
SettingsDBRepository.php:25
ImportantPageDBRepository
ILIAS\Wiki\InternalRepoService\importantPage
importantPage()
Definition:
class.InternalRepoService.php:49
ILIAS\Repository\InternalRepoService
Definition:
class.InternalRepoService.php:26
PageDBRepository
ILIAS\Wiki\InternalRepoService\__construct
__construct(protected InternalDataService $data, protected \ilDBInterface $db)
Definition:
class.InternalRepoService.php:35
ilDBInterface
ILIAS\Wiki
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Wiki\InternalRepoService\settings
settings()
Definition:
class.InternalRepoService.php:65
ILIAS\Repository\InternalDataService
Definition:
class.InternalDataService.php:25
ILIAS\Wiki\Navigation\ImportantPageDBRepository
Wiki page repo.
Definition:
ImportantPageDBRepository.php:29
ILIAS\Wiki\InternalRepoService\missingPage
missingPage()
Definition:
class.InternalRepoService.php:57
ILIAS\Wiki\Page\PageDBRepository
Wiki page repo.
Definition:
PageDBRepository.php:28
ILIAS\Wiki\Links\MissingPageDBRepository
Wiki page repo.
Definition:
MissingPageDBRepository.php:28
MissingPageDBRepository
SettingsDBRepository
ILIAS\Wiki\InternalRepoService\$instance
static array $instance
Definition:
class.InternalRepoService.php:33
ILIAS\$db
$db
Definition:
class.ilias.php:60
components
ILIAS
Wiki
Service
class.InternalRepoService.php
Generated on Tue Apr 8 2025 23:02:39 for ILIAS by
1.8.13 (using
Doxyfile
)