ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.InternalRepoService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Exercise
;
22
27
class
InternalRepoService
28
{
29
protected
InternalDataService
$data
;
30
protected \ilDBInterface
$db
;
31
protected
Submission\SubmissionDBRepository
$submission_repo
;
32
33
public
function
__construct
(
InternalDataService
$data, \
ilDBInterface
$db)
34
{
35
$this->data =
$data
;
36
$this->db =
$db
;
37
$this->submission_repo =
new
Submission\SubmissionDBRepository
($db);
38
}
39
40
public
function
assignment
(): Assignment\RepoService
41
{
42
return
new
Assignment\RepoService
(
43
$this->data,
44
$this->db
45
);
46
}
47
48
public
function
submission
(): Submission\SubmissionRepositoryInterface
49
{
50
return
$this->submission_repo
;
51
}
52
}
ILIAS\Exercise\InternalRepoService\$data
InternalDataService $data
Definition:
class.InternalRepoService.php:29
ILIAS\Exercise\InternalRepoService
Internal repo factory.
Definition:
class.InternalRepoService.php:27
ILIAS\Exercise\InternalRepoService\assignment
assignment()
Definition:
class.InternalRepoService.php:40
ILIAS\Exercise\InternalRepoService\submission
submission()
Definition:
class.InternalRepoService.php:48
ILIAS\Exercise
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Exercise\InternalRepoService\$submission_repo
Submission SubmissionDBRepository $submission_repo
Definition:
class.InternalRepoService.php:31
ILIAS\Exercise\Submission\SubmissionDBRepository
Submission repository.
Definition:
class.SubmissionDBRepository.php:27
ILIAS\Exercise\InternalRepoService\$db
ilDBInterface $db
Definition:
class.InternalRepoService.php:30
ILIAS\Exercise\InternalRepoService\__construct
__construct(InternalDataService $data, \ilDBInterface $db)
Definition:
class.InternalRepoService.php:33
ILIAS\Exercise\Assignment\RepoService
Assignment repos.
Definition:
class.RepoService.php:29
ilDBInterface
ILIAS\Exercise\InternalDataService
Internal factory for data objects.
Definition:
class.InternalDataService.php:27
Modules
Exercise
Service
classes
class.InternalRepoService.php
Generated on Sat Apr 5 2025 22:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)