ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.InternalGUIService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Blog
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Repository\GlobalDICGUIServices
;
25
use
ILIAS\PermanentLink\PermanentLinkManager
;
26
use
ILIAS\Blog\ReadingTime\GUIService
;
27
28
class
InternalGUIService
29
{
30
use
GlobalDICGUIServices
;
31
32
protected
static
array
$instance
= [];
33
34
public
function
__construct
(
35
Container
$DIC
,
36
protected
InternalDataService
$data_service,
37
protected
InternalDomainService
$domain_service
38
) {
39
$this->
initGUIServices
($DIC);
40
}
41
42
public
function
navigation
(): Navigation\
GUIService
43
{
44
return
new
Navigation\GUIService
(
45
$this->domain_service,
46
$this
47
);
48
}
49
50
public
function
presentation
(): Presentation\
GUIService
51
{
52
return
new
Presentation\GUIService
(
53
$this->domain_service,
54
$this
55
);
56
}
57
58
public
function
standardRequest
():
StandardGUIRequest
59
{
60
return
new
StandardGUIRequest
(
61
$this->
http
(),
62
$this->domain_service->refinery()
63
);
64
}
65
66
public
function
contributor
(): Contributor\
GUIService
67
{
68
return
new
Contributor\GUIService
(
69
$this->data_service,
70
$this->domain_service,
71
$this
72
);
73
}
74
75
public
function
exercise
():
Exercise
\
GUIService
76
{
77
return
new
Exercise\GUIService
(
78
$this->data_service,
79
$this->domain_service,
80
$this
81
);
82
}
83
84
public
function
permanentLink
(
85
int
$ref_id
= 0,
86
int
$wsp_id = 0
87
):
PermanentLinkManager
{
88
return
new
PermanentLinkManager
(
89
$this->domain_service->staticUrl(),
90
$this,
91
$ref_id
,
92
$wsp_id
93
);
94
}
95
96
public
function
settings
():
Settings
\
GUIService
97
{
98
return
self::$instance[
"settings"
] ??
99
self::$instance[
"settings"
] =
new
Settings\GUIService(
100
$this->data_service,
101
$this->domain_service,
102
$this
103
);
104
}
105
106
public
function
readingTime
():
GUIService
107
{
108
return
self::$instance[
"reading_time"
] ??
109
self::$instance[
"reading_time"
] =
new
ReadingTime\GUIService
(
110
$this->data_service,
111
$this->domain_service,
112
$this
113
);
114
}
115
}
ILIAS\Blog\ReadingTime\GUIService
Definition:
GUIService.php:28
ILIAS\Notes\StandardGUIRequest
Definition:
class.StandardGUIRequest.php:23
ILIAS\Exercise
Definition:
Exercise.php:23
ILIAS\Repository\initGUIServices
initGUIServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICGUIServices.php:47
ILIAS\Blog\Contributor\GUIService
Definition:
class.GUIService.php:30
ILIAS\Blog\InternalGUIService\permanentLink
permanentLink(int $ref_id=0, int $wsp_id=0)
Definition:
class.InternalGUIService.php:84
ILIAS\Blog\InternalGUIService\__construct
__construct(Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)
Definition:
class.InternalGUIService.php:34
GlobalDICGUIServices
GUIService
ILIAS\Exercise\GUIService
Definition:
class.GUIService.php:30
ILIAS\Blog\InternalGUIService\contributor
contributor()
Definition:
class.InternalGUIService.php:66
ILIAS\Blog\InternalDomainService
Definition:
class.InternalDomainService.php:37
ILIAS\Repository\GlobalDICGUIServices
trait GlobalDICGUIServices
Definition:
trait.GlobalDICGUIServices.php:44
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:35
Container
$ref_id
$ref_id
Definition:
ltiauth.php:65
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:55
ILIAS\Blog\InternalGUIService\standardRequest
standardRequest()
Definition:
class.InternalGUIService.php:58
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\Blog\InternalDataService
Definition:
class.InternalDataService.php:29
ILIAS\Blog\InternalGUIService\exercise
exercise()
Definition:
class.InternalGUIService.php:75
ILIAS\Blog\Presentation\GUIService
Definition:
class.GUIService.php:26
ILIAS\Blog\InternalGUIService\settings
settings()
Definition:
class.InternalGUIService.php:96
ILIAS\Blog\InternalGUIService\$instance
static array $instance
Definition:
class.InternalGUIService.php:32
ILIAS\Blog
Definition:
class.StandardGUIRequest.php:21
ILIAS\Blog\InternalGUIService\navigation
navigation()
Definition:
class.InternalGUIService.php:42
ILIAS\Blog\InternalGUIService\presentation
presentation()
Definition:
class.InternalGUIService.php:50
ILIAS\Blog\InternalGUIService\readingTime
readingTime()
Definition:
class.InternalGUIService.php:106
ILIAS\Blog\InternalGUIService
Definition:
class.InternalGUIService.php:28
SettingsInterface
ILIAS\Blog\Navigation\GUIService
Definition:
class.GUIService.php:26
ILIAS\PermanentLink\PermanentLinkManager
search for illink:: target=blog_4 : blog target=blog_4_4 : blog posting target=blog_4_4_edit : edit b...
Definition:
PermanentLinkManager.php:38
PermanentLinkManager
components
ILIAS
Blog
Service
class.InternalGUIService.php
Generated on Sun Aug 31 2025 23:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)