ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\COPage;
22
26
31{
32 use GlobalDICGUIServices;
33
36
37 public function __construct(
41 ) {
42 $this->data_service = $data_service;
43 $this->domain_service = $domain_service;
44 $this->initGUIServices($DIC);
45 }
46
47 public function pc(): PC\GUIService
48 {
49 return new PC\GUIService(
50 $this->domain_service,
51 $this
52 );
53 }
54
55 public function page(): Page\GUIService
56 {
57 return new Page\GUIService(
58 $this->domain_service,
59 $this
60 );
61 }
62
63 public function layout(): Layout\GUIService
64 {
65 return new Layout\GUIService(
66 $this->domain_service,
67 $this
68 );
69 }
70
71 public function edit(): Editor\GUIService
72 {
73 return new Editor\GUIService(
74 $this->domain_service,
75 $this
76 );
77 }
78
79 public function historyTableBuilder(
80 object $parent_gui,
81 string $parent_cmd,
82 int $page_id,
83 string $parent_type,
84 string $lang
85 ): History\HistoryTableBuilder {
86 return new History\HistoryTableBuilder(
87 $this->domain_service,
88 $this,
89 $parent_gui,
90 $parent_cmd,
91 $page_id,
92 $parent_type,
93 $lang
94 );
95 }
96
97}
Repository internal data service.
historyTableBuilder(object $parent_gui, string $parent_cmd, int $page_id, string $parent_type, string $lang)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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