ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\MediaObjects;
22
25
30{
31 use GlobalDICGUIServices;
32
35
36 public function __construct(
40 ) {
41 $this->data_service = $data_service;
42 $this->domain_service = $domain_service;
43 $this->initGUIServices($DIC);
44 }
45
47 {
48 return new StandardGUIRequest(
49 $this->http(),
50 $this->domain_service->refinery()
51 );
52 }
53
54 public function imageMap(): ImageMap\GUIService
55 {
56 return new ImageMap\GUIService(
57 $this->domain_service,
58 $this
59 );
60 }
61
62 public function creation(): Creation\GUIService
63 {
64 return new Creation\GUIService(
65 $this->domain_service,
66 $this
67 );
68 }
69
70 public function subTitles(): SubTitles\GUIService
71 {
72 return new SubTitles\GUIService(
73 $this->domain_service,
74 $this
75 );
76 }
77
78 public function player(): Player\GUIService
79 {
80 return new Player\GUIService(
81 $this->domain_service,
82 $this
83 );
84 }
85
86 public function video(): Video\GUIService
87 {
88 return new Video\GUIService(
89 $this->domain_service,
90 $this
91 );
92 }
93
94 public function thumbs(): Thumbs\ThumbsGUI
95 {
96 return new Thumbs\ThumbsGUI(
97 $this->domain_service,
98 $this
99 );
100 }
101
102}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
static http()
Fetches the global http state from ILIAS.
initGUIServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26