ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\BookingManager;
22
25
30{
31 use GlobalDICGUIServices;
32 protected static array $instances = [];
35
36 public function __construct(
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
55 public function process(): BookingProcess\GUIService
56 {
58 $this->data_service,
59 $this->domain_service,
60 $this
61 );
62 }
63
64 public function objects(): Objects\GUIService
65 {
66 return new Objects\GUIService(
67 $this->data_service,
68 $this->domain_service,
69 $this
70 );
71 }
72
74 {
75 return new \ilBookingHelpAdapter($pool, $this->help());
76 }
77
79 {
80 return new StandardGUIRequest(
81 $this->http(),
82 $this->domain_service->refinery()
83 );
84 }
85
86 public function settings(): Settings\GUIService
87 {
88 return self::$instances["settings"] ??= new Settings\GUIService(
89 $this->data_service,
90 $this->domain_service,
91 $this
92 );
93 }
94
95}
Author: Alexander Killing killing@leifos.de
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static http()
Fetches the global http state from ILIAS.
initGUIServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26