ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\MediaCast;
22 
26 
31 {
33 
34  protected \ILIAS\Notes\GUIService $notes_gui;
37 
38  public function __construct(
40  InternalDataService $data_service,
41  InternalDomainService $domain_service
42  ) {
43  $this->data_service = $data_service;
44  $this->domain_service = $domain_service;
45  $this->initGUIServices($DIC);
46  $this->notes_gui = $DIC->notes()->gui();
47  }
48 
49  /*public function administration() : Administration\GUIService
50  {
51  return new Administration\GUIService(
52  $this->domain_service,
53  $this
54  );
55  }*/
56 
58  {
59  return new StandardGUIRequest(
60  $this->http(),
61  $this->domain_service->refinery()
62  );
63  }
64 
66  {
67  return new \ilObjMediaCastGUI(
68  "",
69  $this->standardRequest()->getRefId(),
70  true,
71  false
72  );
73  }
74 
75  public function getMediaCastManageTableGUI(\ilObjMediaCastGUI $gui, string $table_cmd): \ilMediaCastManageTableGUI
76  {
77  return new \ilMediaCastManageTableGUI($gui, $table_cmd);
78  }
79 
80  public function comments(): Comments\GUIService
81  {
82  return new Comments\GUIService(
83  $this->domain_service,
84  $this,
85  $this->notes_gui
86  );
87  }
88 }
initGUIServices(\ILIAS\DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
getMediaCastManageTableGUI(\ilObjMediaCastGUI $gui, string $table_cmd)
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
__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...