ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
◀ 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.RepoService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Exercise\Assignment
;
22
23
use
ILIAS\Exercise\InternalDataService
;
24
29
class
RepoService
30
{
31
protected \ilDBInterface
$db
;
32
protected
InternalDataService
$data
;
33
34
public
function
__construct
(
35
InternalDataService
$data,
36
\
ilDBInterface
$db
37
) {
38
$this->db =
$db
;
39
$this->data =
$data
;
40
}
41
42
public
function
randomAssignments
(): Mandatory\RandomAssignmentsDBRepository
43
{
44
return
new
Mandatory\RandomAssignmentsDBRepository
(
45
$this->data,
46
$this->db
47
);
48
}
49
50
public
function
assignments
():
AssignmentsDBRepository
51
{
52
return
new
AssignmentsDBRepository
(
53
$this->data,
54
$this->db
55
);
56
}
57
58
}
ILIAS\Exercise\Assignment\RepoService\randomAssignments
randomAssignments()
Definition:
class.RepoService.php:42
ILIAS\Exercise\Assignment\RepoService\$db
ilDBInterface $db
Definition:
class.RepoService.php:31
ILIAS\Exercise\Assignment\RepoService\__construct
__construct(InternalDataService $data, \ilDBInterface $db)
Definition:
class.RepoService.php:34
ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsDBRepository
Stores info about random assignments for users in exercises.
Definition:
class.RandomAssignmentsDBRepository.php:27
ILIAS\Exercise\Assignment\RepoService\$data
InternalDataService $data
Definition:
class.RepoService.php:32
ILIAS\Exercise\Assignment\RepoService\assignments
assignments()
Definition:
class.RepoService.php:50
ILIAS\Exercise\Assignment\RepoService
Assignment repos.
Definition:
class.RepoService.php:29
ilDBInterface
ILIAS\Exercise\Assignment\AssignmentsDBRepository
Definition:
AssignmentsDBRepository.php:25
ILIAS\Exercise\InternalDataService
Internal factory for data objects.
Definition:
class.InternalDataService.php:33
ILIAS\Exercise\Assignment
Definition:
Assignment.php:21
InternalDataService
components
ILIAS
Exercise
Assignment
Service
class.RepoService.php
Generated on Sun Apr 13 2025 23:02:33 for ILIAS by
1.8.13 (using
Doxyfile
)