ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Wiki;
22
28
30{
31 use GlobalDICGUIServices;
32 protected static array $instance = [];
33
34 public function __construct(
38 ) {
39 $this->initGUIServices($DIC);
40 }
41
42 public function request(
43 ?array $passed_query_params = null,
44 ?array $passed_post_data = null
47 $this->http(),
48 $this->domain_service->refinery(),
49 $passed_query_params,
50 $passed_post_data
51 );
52 }
53
54 public function content(): Content\GUIService
55 {
56 return self::$instance["content"] ??= new Content\GUIService(
57 $this->domain_service,
58 $this
59 );
60 }
61
62 public function page(): Page\GUIService
63 {
64 return self::$instance["page"] ??= new Page\GUIService(
65 $this->domain_service,
66 $this
67 );
68 }
69
70 public function notification(): NotificationGUI
71 {
72 return self::$instance["notification"] ??= new NotificationGUI(
73 $this->domain_service,
74 $this
75 );
76 }
77
78 public function wiki(): Wiki\GUIService
79 {
80 return self::$instance["wiki"] ??= new Wiki\GUIService(
81 $this->domain_service,
82 $this
83 );
84 }
85
86 public function settings(
88 return self::$instance["settings"] ??= new Settings\GUIService(
89 $this->data_service,
90 $this->domain_service,
91 $this
92 );
93 }
94
95}
Repository internal data service.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
request(?array $passed_query_params=null, ?array $passed_post_data=null)
__construct(Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)
This class is only in GUI layer, since it needs to get the abstracts for the page GUI.
Wiki page.
Definition: Page.php:27
return['delivery_method'=> 'php',]
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.
initGUIServices(\ILIAS\DI\Container $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26