ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ ilDoc Overview
class.InternalRepoService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Help
;
22
23
use
ILIAS\Help\Map\MapDBRepository
;
24
use
ILIAS\Help\Tooltips\TooltipsDBRepository
;
25
use
ILIAS\Help\Module\ModuleDBRepository
;
26
27
class
InternalRepoService
28
{
29
protected
InternalDataService
$data
;
30
protected \ilDBInterface
$db
;
31
32
protected
static
array
$instance
= [];
33
34
public
function
__construct
(
InternalDataService
$data
, \
ilDBInterface
$db
)
35
{
36
$this->data =
$data
;
37
$this->db =
$db
;
38
}
39
40
public
function
guidedTour
(): \
ILIAS
\
Help
\GuidedTour\
InternalRepoService
41
{
42
return
self::$instance[
"guided"
] ??=
new
GuidedTour\InternalRepoService
(
43
$this->data->guidedTour(),
44
$this->db
45
);
46
}
47
48
public
function
map
():
MapDBRepository
49
{
50
return
new
MapDBRepository
($this->db);
51
}
52
53
public
function
tooltips
():
TooltipsDBRepository
54
{
55
return
new
TooltipsDBRepository
($this->db);
56
}
57
58
public
function
module
():
ModuleDBRepository
59
{
60
return
new
ModuleDBRepository
($this->db);
61
}
62
63
}
ILIAS\Help\GuidedTour\InternalRepoService
Definition:
class.InternalRepoService.php:28
ILIAS\Help\InternalDataService
Definition:
class.InternalDataService.php:24
ILIAS\Help\InternalRepoService
Definition:
class.InternalRepoService.php:28
ILIAS\Help\InternalRepoService\guidedTour
guidedTour()
Definition:
class.InternalRepoService.php:40
ILIAS\Help\InternalRepoService\tooltips
tooltips()
Definition:
class.InternalRepoService.php:53
ILIAS\Help\InternalRepoService\$db
ilDBInterface $db
Definition:
class.InternalRepoService.php:30
ILIAS\Help\InternalRepoService\$instance
static array $instance
Definition:
class.InternalRepoService.php:32
ILIAS\Help\InternalRepoService\module
module()
Definition:
class.InternalRepoService.php:58
ILIAS\Help\InternalRepoService\map
map()
Definition:
class.InternalRepoService.php:48
ILIAS\Help\InternalRepoService\$data
InternalDataService $data
Definition:
class.InternalRepoService.php:29
ILIAS\Help\InternalRepoService\__construct
__construct(InternalDataService $data, \ilDBInterface $db)
Definition:
class.InternalRepoService.php:34
ILIAS\Help\Map\MapDBRepository
Definition:
MapDBRepository.php:24
ILIAS\Help\Module\ModuleDBRepository
Definition:
ModuleDBRepository.php:24
ILIAS\Help\Tooltips\TooltipsDBRepository
Definition:
TooltipsDBRepository.php:24
ILIAS\Help
Definition:
Help.php:24
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
ILIAS\Help
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
components
ILIAS
Help
Service
class.InternalRepoService.php
Generated on Sat Dec 13 2025 23:01:52 for ILIAS by
1.9.4 (using
Doxyfile
)