ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\MediaPool\InternalRepoService Class Reference
+ Collaboration diagram for ILIAS\MediaPool\InternalRepoService:

Public Member Functions

 __construct (protected InternalDataService $data, protected \ilDBInterface $db)
 
 clipboard ()
 
 settings ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Definition at line 26 of file class.InternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MediaPool\InternalRepoService::__construct ( protected InternalDataService  $data,
protected \ilDBInterface  $db 
)

Definition at line 30 of file class.InternalRepoService.php.

33 {
34 }

Member Function Documentation

◆ clipboard()

ILIAS\MediaPool\InternalRepoService::clipboard ( )

Definition at line 36 of file class.InternalRepoService.php.

36 : Clipboard\ClipboardSessionRepository
37 {
38 return self::$instance["clipboard"] ??= new Clipboard\ClipboardSessionRepository();
39 }

◆ settings()

ILIAS\MediaPool\InternalRepoService::settings ( )

Definition at line 41 of file class.InternalRepoService.php.

41 : SettingsDBRepository
42 {
43 return self::$instance["settings"] ??= new SettingsDBRepository(
44 $this->db,
45 $this->data
46 );
47 }

Field Documentation

◆ $instance

array ILIAS\MediaPool\InternalRepoService::$instance = []
staticprotected

Definition at line 28 of file class.InternalRepoService.php.


The documentation for this class was generated from the following file: