ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.InternalDomainService.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\DI\Container
;
24
use
ILIAS\Repository\GlobalDICDomainServices
;
25
use
ILIAS\Help\Map\MapManager
;
26
use
ILIAS\Help\Tooltips\TooltipsManager
;
27
use
ILIAS\Help\Module\ModuleManager
;
28
use
ILIAS\Help\Presentation\PresentationManager
;
29
30
class
InternalDomainService
31
{
32
use GlobalDICDomainServices;
33
34
protected
array
$container
= [];
35
36
protected
InternalRepoService
$repo_service
;
37
protected
InternalDataService
$data_service
;
38
39
public
function
__construct
(
40
Container
$DIC
,
41
InternalRepoService
$repo_service
,
42
InternalDataService
$data_service
43
) {
44
$this->repo_service =
$repo_service
;
45
$this->data_service =
$data_service
;
46
$this->
initDomainServices
($DIC);
47
}
48
49
public
function
map
():
MapManager
50
{
51
return
$this->container[
"map"
] ??
52
$this->container[
"map"
] =
new
MapManager
(
53
$this->repo_service,
54
$this
55
);
56
}
57
58
public
function
tooltips
():
TooltipsManager
59
{
60
return
$this->container[
"tooltips"
] ??
61
$this->container[
"tooltips"
] =
new
TooltipsManager
(
62
$this->repo_service,
63
$this
64
);
65
}
66
67
public
function
module
():
ModuleManager
68
{
69
if
(!isset($this->container[
"module"
])) {
70
$this->container[
"module"
] =
new
ModuleManager
(
71
$this->repo_service->module(),
72
$this
73
);
74
}
75
return
$this->container[
"module"
];
76
}
77
78
public
function
presentation
():
PresentationManager
79
{
80
return
$this->container[
"presentation"
] ??
81
$this->container[
"presentation"
] =
new
PresentationManager
(
82
$this
83
);
84
}
85
86
}
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:36
ILIAS\Help\InternalDataService
Definition:
class.InternalDataService.php:24
ILIAS\Help\InternalDomainService
Definition:
class.InternalDomainService.php:31
ILIAS\Help\InternalDomainService\$repo_service
InternalRepoService $repo_service
Definition:
class.InternalDomainService.php:36
ILIAS\Help\InternalDomainService\presentation
presentation()
Definition:
class.InternalDomainService.php:78
ILIAS\Help\InternalDomainService\map
map()
Definition:
class.InternalDomainService.php:49
ILIAS\Help\InternalDomainService\__construct
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
Definition:
class.InternalDomainService.php:39
ILIAS\Help\InternalDomainService\$container
array $container
Definition:
class.InternalDomainService.php:34
ILIAS\Help\InternalDomainService\tooltips
tooltips()
Definition:
class.InternalDomainService.php:58
ILIAS\Help\InternalDomainService\module
module()
Definition:
class.InternalDomainService.php:67
ILIAS\Help\InternalDomainService\$data_service
InternalDataService $data_service
Definition:
class.InternalDomainService.php:37
ILIAS\Help\InternalRepoService
Definition:
class.InternalRepoService.php:28
ILIAS\Help\Map\MapManager
Definition:
MapManager.php:27
ILIAS\Help\Module\ModuleManager
Definition:
ModuleManager.php:27
ILIAS\Help\Presentation\PresentationManager
Definition:
PresentationManager.php:27
ILIAS\Help\Tooltips\TooltipsManager
Definition:
TooltipsManager.php:27
ILIAS\Repository\GlobalDICDomainServices
trait GlobalDICDomainServices
Definition:
trait.GlobalDICDomainServices.php:38
ILIAS\Help
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Repository\initDomainServices
initDomainServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICDomainServices.php:41
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
Help
Service
class.InternalDomainService.php
Generated on Sat Oct 18 2025 23:02:30 for ILIAS by
1.9.4 (using
Doxyfile
)