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\BookingManager;
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 
46  public function preferences(): Preferences\GUIService
47  {
48  return new Preferences\GUIService(
49  $this->data_service,
50  $this->domain_service,
51  $this
52  );
53  }
54 
56  {
57  return new StandardGUIRequest(
58  $this->http(),
59  $this->domain_service->refinery()
60  );
61  }
62 }
initGUIServices(\ILIAS\DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)