ILIAS  release_8 Revision v8.23
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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 }
initGUIServices(\ILIAS\DI\Container $DIC)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
global $DIC
Definition: feed.php:28
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.