ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
◀ 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\GuidedTour
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Repository\GlobalDICDomainServices
;
25
use
ILIAS\Help\GuidedTour\Settings\SettingsManager
;
26
use
ILIAS\Help\GuidedTour\Tour\TourManager
;
27
use
ILIAS\Help\GuidedTour\Step\StepManager
;
28
use
ILIAS\Help\GuidedTour\StepRetrieval
;
29
use
ILIAS\Help\GuidedTour\Page\PageManager
;
30
use
ILIAS\Help\GuidedTour\Admin\AdminManager
;
31
use
ILIAS\Help\GuidedTour\Elements\IdPresentation
;
32
use
ILIAS\Help\GuidedTour\UserFinished\UserFinishedManager
;
33
34
class
InternalDomainService
35
{
36
use GlobalDICDomainServices;
37
38
protected
static
array
$instance
= [];
39
40
public
function
__construct
(
41
Container
$DIC
,
42
protected
InternalRepoService
$repo,
43
protected
InternalDataService
$data
44
) {
45
$this->
initDomainServices
($DIC);
46
}
47
48
public
function
tourSettings
():
SettingsManager
49
{
50
return
self::$instance[
"settings"
] ??=
new
SettingsManager
(
51
$this->data,
52
$this->repo,
53
$this
54
);
55
}
56
57
public
function
tour
():
TourManager
58
{
59
return
self::$instance[
"tour"
] ??=
new
TourManager
(
60
$this->data,
61
$this
62
);
63
}
64
65
public
function
step
():
StepManager
66
{
67
return
self::$instance[
"step"
] ??=
new
StepManager
(
68
$this->data,
69
$this->repo,
70
$this
71
);
72
}
73
74
public
function
stepRetrieval
(
int
$tour_id):
StepRetrieval
75
{
76
return
self::$instance[
"step_retrieval"
][$tour_id] ??=
new
StepRetrieval
(
77
$this,
78
$tour_id
79
);
80
}
81
82
public
function
page
():
PageManager
83
{
84
return
self::$instance[
"page"
] ??=
new
PageManager
(
85
$this
86
);
87
}
88
89
public
function
admin
():
AdminManager
90
{
91
return
self::$instance[
"admin"
] ??=
new
AdminManager
(
92
$this
93
);
94
}
95
96
public
function
idPresentation
():
IdPresentation
97
{
98
return
self::$instance[
"id_pres"
] ??=
new
IdPresentation
(
99
$this
100
);
101
}
102
103
public
function
userFinished
():
UserFinishedManager
104
{
105
return
self::$instance[
"user_finished"
] ??=
new
UserFinishedManager
(
106
$this->data,
107
$this->repo,
108
$this
109
);
110
}
111
112
}
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:36
ILIAS\Help\GuidedTour\Admin\AdminManager
Definition:
AdminManager.php:26
ILIAS\Help\GuidedTour\Elements\IdPresentation
Definition:
IdPresentation.php:30
ILIAS\Help\GuidedTour\InternalDataService
Definition:
class.InternalDataService.php:29
ILIAS\Help\GuidedTour\InternalDomainService
Definition:
class.InternalDomainService.php:35
ILIAS\Help\GuidedTour\InternalDomainService\page
page()
Definition:
class.InternalDomainService.php:82
ILIAS\Help\GuidedTour\InternalDomainService\tour
tour()
Definition:
class.InternalDomainService.php:57
ILIAS\Help\GuidedTour\InternalDomainService\admin
admin()
Definition:
class.InternalDomainService.php:89
ILIAS\Help\GuidedTour\InternalDomainService\__construct
__construct(Container $DIC, protected InternalRepoService $repo, protected InternalDataService $data)
Definition:
class.InternalDomainService.php:40
ILIAS\Help\GuidedTour\InternalDomainService\$instance
static array $instance
Definition:
class.InternalDomainService.php:38
ILIAS\Help\GuidedTour\InternalDomainService\tourSettings
tourSettings()
Definition:
class.InternalDomainService.php:48
ILIAS\Help\GuidedTour\InternalDomainService\userFinished
userFinished()
Definition:
class.InternalDomainService.php:103
ILIAS\Help\GuidedTour\InternalDomainService\step
step()
Definition:
class.InternalDomainService.php:65
ILIAS\Help\GuidedTour\InternalDomainService\idPresentation
idPresentation()
Definition:
class.InternalDomainService.php:96
ILIAS\Help\GuidedTour\InternalDomainService\stepRetrieval
stepRetrieval(int $tour_id)
Definition:
class.InternalDomainService.php:74
ILIAS\Help\GuidedTour\InternalRepoService
Definition:
class.InternalRepoService.php:28
ILIAS\Help\GuidedTour\Page\PageManager
Definition:
class.PageManager.php:26
ILIAS\Help\GuidedTour\Settings\SettingsManager
Definition:
SettingsManager.php:29
ILIAS\Help\GuidedTour\StepRetrieval
Definition:
StepRetrieval.php:29
ILIAS\Help\GuidedTour\Step\StepManager
Definition:
StepManager.php:28
ILIAS\Help\GuidedTour\Tour\TourManager
Definition:
TourManager.php:30
ILIAS\Help\GuidedTour\UserFinished\UserFinishedManager
Definition:
UserFinishedManager.php:28
ILIAS\Repository\GlobalDICDomainServices
trait GlobalDICDomainServices
Definition:
trait.GlobalDICDomainServices.php:38
$data
$data
Definition:
ltiregistration.php:29
ILIAS\Help\GuidedTour
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
GuidedTour
Service
class.InternalDomainService.php
Generated on Sun Nov 2 2025 23:01:43 for ILIAS by
1.9.4 (using
Doxyfile
)