ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.InternalRepoService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Repository
;
22
23
use
ILIAS\Repository\Clipboard\ClipboardSessionRepository
;
24
use
ILIAS\Repository\Deletion\TreeDBRepo
;
25
26
class
InternalRepoService
27
{
28
protected
InternalDataService
$data
;
29
protected \ilDBInterface
$db
;
30
31
public
function
__construct
(
InternalDataService
$data, \
ilDBInterface
$db)
32
{
33
$this->data =
$data
;
34
$this->db =
$db
;
35
}
36
37
public
function
clipboard
(): ClipboardSessionRepository
38
{
39
return
new
ClipboardSessionRepository();
40
}
41
42
public
function
tree
(): TreeDBRepo
43
{
44
return
new
TreeDBRepo(
45
$this->db
46
);
47
}
48
}
ILIAS\Repository\InternalRepoService\__construct
__construct(InternalDataService $data, \ilDBInterface $db)
Definition:
class.InternalRepoService.php:31
ClipboardSessionRepository
ILIAS\Repository
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Repository\InternalRepoService\$data
InternalDataService $data
Definition:
class.InternalRepoService.php:28
ILIAS\Repository\InternalRepoService\tree
tree()
Definition:
class.InternalRepoService.php:42
ILIAS\Repository\InternalRepoService
Definition:
class.InternalRepoService.php:26
ILIAS\Repository\InternalRepoService\$db
ilDBInterface $db
Definition:
class.InternalRepoService.php:29
ILIAS\Repository\InternalRepoService\clipboard
clipboard()
Definition:
class.InternalRepoService.php:37
ilDBInterface
ILIAS\Repository\InternalDataService
Definition:
class.InternalDataService.php:25
TreeDBRepo
components
ILIAS
Repository
Service
class.InternalRepoService.php
Generated on Wed Sep 10 2025 15:14:58 for ILIAS by
1.8.13 (using
Doxyfile
)