ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
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\Container;
22 
23 use ILIAS\DI;
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 standardRequest(): StandardGUIRequest
47  {
48  return new StandardGUIRequest(
49  $this->http(),
50  $this->domain_service->refinery()
51  );
52  }
53 
54  public function content(): Content\GUIService
55  {
56  return new Content\GUIService(
57  $this->data_service,
58  $this->domain_service,
59  $this
60  );
61  }
62 
63  public function classification(): Classification\GUIService
64  {
65  return new Classification\GUIService(
66  $this->domain_service,
67  $this
68  );
69  }
70 
71 }
initGUIServices(\ILIAS\DI\Container $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
Repository internal data service.
static http()
Fetches the global http state from ILIAS.
Class HTTPServicesTest.
__construct(DI\Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
global $DIC
Definition: shib_login.php:22