ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.RepoService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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
}
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
Assignment repos.
Definition:
class.RepoService.php:29
ilDBInterface
ILIAS\Exercise\InternalDataService
Internal factory for data objects.
Definition:
class.InternalDataService.php:27
ILIAS\Exercise\Assignment
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
InternalDataService
Modules
Exercise
Assignment
Service
class.RepoService.php
Generated on Wed Sep 3 2025 22:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)