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\MediaPool;
22
26
28{
29 use GlobalDICGUIServices;
30 protected static array $instance = [];
31
32 public function __construct(
34 protected InternalDataService $data_service,
35 protected InternalDomainService $domain_service
36 ) {
37 $this->initGUIServices($DIC);
38 }
39
41 {
42 return self::$instance["request"] ??= new StandardGUIRequest(
43 $this->http(),
44 $this->domain_service->refinery()
45 );
46 }
47
48 public function clipboard(): GUIService
49 {
50 return self::$instance["clipboard"] ??= new GUIService(
51 $this->domain_service,
52 $this
53 );
54 }
55
56 public function settings(
58 return self::$instance["settings"] ??= new Settings\GUIService(
59 $this->data_service,
60 $this->domain_service,
61 $this
62 );
63 }
64
65}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
Repository internal data service.
__construct(Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)
return['delivery_method'=> 'php',]
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initGUIServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26