ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.InternalRepoService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MediaPool
;
22
23
use
ILIAS\MediaPool\Clipboard
;
24
use
ILIAS\MediaPool\Settings\SettingsDBRepository
;
25
26
class
InternalRepoService
27
{
28
protected
static
array
$instance
= [];
29
30
public
function
__construct
(
31
protected
InternalDataService
$data
,
32
protected
\
ilDBInterface
$db
33
) {
34
}
35
36
public
function
clipboard
(): Clipboard\
ClipboardSessionRepository
37
{
38
return
self::$instance[
"clipboard"
] ??=
new
Clipboard\ClipboardSessionRepository
();
39
}
40
41
public
function
settings
():
SettingsDBRepository
42
{
43
return
self::$instance[
"settings"
] ??=
new
SettingsDBRepository
(
44
$this->db,
45
$this->data
46
);
47
}
48
49
}
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository
Stores media pool clipboard data.
Definition:
class.ClipboardSessionRepository.php:29
ILIAS\MediaPool\InternalDataService
Repository internal data service.
Definition:
class.InternalDataService.php:30
ILIAS\MediaPool\InternalRepoService
Definition:
class.InternalRepoService.php:27
ILIAS\MediaPool\InternalRepoService\$instance
static array $instance
Definition:
class.InternalRepoService.php:28
ILIAS\MediaPool\InternalRepoService\__construct
__construct(protected InternalDataService $data, protected \ilDBInterface $db)
Definition:
class.InternalRepoService.php:30
ILIAS\MediaPool\InternalRepoService\clipboard
clipboard()
Definition:
class.InternalRepoService.php:36
ILIAS\MediaPool\InternalRepoService\settings
settings()
Definition:
class.InternalRepoService.php:41
ILIAS\MediaPool\Settings\SettingsDBRepository
Definition:
SettingsDBRepository.php:27
ILIAS\$db
$db
Definition:
class.ilias.php:60
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
$data
$data
Definition:
ltiregistration.php:29
ILIAS\MediaPool\Clipboard
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ClipboardGUIRequest.php:19
ILIAS\MediaPool
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.MediaPoolRepository.php:21
components
ILIAS
MediaPool
Service
class.InternalRepoService.php
Generated on Sat Oct 18 2025 23:02:34 for ILIAS by
1.9.4 (using
Doxyfile
)