ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Help;
22
27
29{
30 use GlobalDICGUIServices;
31
32 protected static array $instance = [];
33
34 public function __construct(
36 protected InternalDataService $data_service,
37 protected InternalDomainService $domain_service
38 ) {
39 $this->initGUIServices($DIC);
40 }
41
43 {
44 return new StandardGUIRequest(
45 $this->http(),
46 $this->domain_service->refinery()
47 );
48 }
49
50 public function guidedTour(): \ILIAS\Help\GuidedTour\InternalGUIService
51 {
52 return self::$instance["guided_gui"] ??= new GuidedTour\InternalGUIService(
53 $this->DIC,
54 $this->data_service->guidedTour(),
55 $this->domain_service->guidedTour()
56 );
57 }
58}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
__construct(Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)
@ilCtrl_Calls ilGuidedTourGUI: ilGuidedTourPageGUI
static http()
Fetches the global http state from ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initGUIServices(\ILIAS\DI\Container $DIC)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26