ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Repository;
22 
24 
29 {
31 
34 
35  public function __construct(
37  InternalDataService $data_service,
38  InternalDomainService $domain_service
39  ) {
40  $this->data_service = $data_service;
41  $this->domain_service = $domain_service;
42  $this->initGUIServices($DIC);
43  }
44 
45  public function administration(): Administration\GUIService
46  {
47  return new Administration\GUIService(
48  $this->domain_service,
49  $this
50  );
51  }
52 
53  public function pluginSlot(): PluginSlot\GUIService
54  {
55  return new PluginSlot\GUIService(
56  $this->domain_service,
57  $this
58  );
59  }
60 
61  public function trash(): Trash\GUIService
62  {
63  return new Trash\GUIService(
64  $this->domain_service,
65  $this
66  );
67  }
68 
70  {
71  return new StandardGUIRequest(
72  $this->http(),
73  $this->domain_service->refinery()
74  );
75  }
76 }
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
initGUIServices(\ILIAS\DI\Container $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
global $DIC
Definition: feed.php:28
Repository internal data service.