ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
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\COPage;
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 pc(): PC\GUIService
47  {
48  return new PC\GUIService(
49  $this->domain_service,
50  $this
51  );
52  }
53 
54  public function page(): Page\GUIService
55  {
56  return new Page\GUIService(
57  $this->domain_service,
58  $this
59  );
60  }
61 
62  public function layout(): Layout\GUIService
63  {
64  return new Layout\GUIService(
65  $this->domain_service,
66  $this
67  );
68  }
69 
70  public function edit(): Editor\GUIService
71  {
72  return new Editor\GUIService(
73  $this->domain_service,
74  $this
75  );
76  }
77 
78 }
initGUIServices(\ILIAS\DI\Container $DIC)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
global $DIC
Definition: shib_login.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: PageLinker.php:19
Repository internal data service.