ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
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\MediaCast;
22 
27 
32 {
34 
35  protected \ILIAS\Notes\GUIService $notes_gui;
38 
39  public function __construct(
41  InternalDataService $data_service,
42  InternalDomainService $domain_service
43  ) {
44  $this->data_service = $data_service;
45  $this->domain_service = $domain_service;
46  $this->initGUIServices($DIC);
47  $this->notes_gui = $DIC->notes()->gui();
48  }
49 
50  /*public function administration() : Administration\GUIService
51  {
52  return new Administration\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 
67  {
68  return new \ilObjMediaCastGUI(
69  "",
70  $this->standardRequest()->getRefId(),
71  true,
72  false
73  );
74  }
75 
76  public function getMediaCastManageTableGUI(\ilObjMediaCastGUI $gui, string $table_cmd): \ilMediaCastManageTableGUI
77  {
78  return new \ilMediaCastManageTableGUI($gui, $table_cmd);
79  }
80 
81  public function comments(): Comments\GUIService
82  {
83  return new Comments\GUIService(
84  $this->domain_service,
85  $this,
86  $this->notes_gui
87  );
88  }
89 
90  public function settings(
91  ): GUIService {
92  return new GUIService(
93  $this->data_service,
94  $this->domain_service,
95  $this
96  );
97  }
98 
99 }
initGUIServices(\ILIAS\DI\Container $DIC)
getMediaCastManageTableGUI(\ilObjMediaCastGUI $gui, string $table_cmd)
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:22
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...