ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\MediaObjects;
22 
25 
30 {
32 
35 
36  public function __construct(
38  InternalDataService $data_service,
39  InternalDomainService $domain_service
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 }
initGUIServices(\ILIAS\DI\Container $DIC)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:22