ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Portfolio;
22 
25 
27 {
29 
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 
40  public function standardRequest(): StandardGUIRequest
41  {
42  return new StandardGUIRequest(
43  $this->http(),
44  $this->domain_service->refinery()
45  );
46  }
47 
48  public function settings(
49  ): Settings\GUIService {
50  return self::$instance["settings"] ??= new Settings\GUIService(
51  $this->data_service,
52  $this->domain_service,
53  $this
54  );
55  }
56 
57 }
__construct(Container $DIC, protected InternalDataService $data_service, protected 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...
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:22