ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Help\GuidedTour;
22
30
32{
33 use GlobalDICGUIServices;
34
37
38 public function __construct(
42 ) {
43 $this->data_service = $data_service;
44 $this->domain_service = $domain_service;
45 $this->initGUIServices($DIC);
46 }
47
49 {
50 return new StandardGUIRequest(
51 $this->http(),
52 $this->domain_service->refinery()
53 );
54 }
55
56 public function guidedTourGUI(): ilGuidedTourGUI
57 {
58 return new ilGuidedTourGUI();
59 }
60
61 public function objectGUI(int $obj_id): \ilObjGuidedTourGUI
62 {
63 return new \ilObjGuidedTourGUI([], $obj_id, false);
64 }
65
66 public function adminGUI(): ilGuidedTourAdminGUI
67 {
68 return new ilGuidedTourAdminGUI(
69 $this->data_service,
70 $this->domain_service,
71 $this
72 );
73 }
74
75 public function stepTableBuilder(
76 int $tour_id,
77 object $parent_gui,
78 string $parent_cmd
81 $this->domain_service,
82 $this,
83 $tour_id,
84 $parent_gui,
85 $parent_cmd
86 );
87 }
88
89 public function stepTableGUI(
90 int $tour_id,
91 object $parent_gui,
92 string $parent_cmd
94 return $this->stepTableBuilder(
95 $tour_id,
96 $parent_gui,
97 $parent_cmd
98 )->getTable();
99 }
100}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
stepTableGUI(int $tour_id, object $parent_gui, string $parent_cmd)
stepTableBuilder(int $tour_id, object $parent_gui, string $parent_cmd)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
@ilCtrl_Calls ilGuidedTourAdminGUI: ilGuidedTourPageGUI, ilExportGUI, ilRepoStandardUploadHandlerGUI
@ilCtrl_Calls ilGuidedTourGUI: ilGuidedTourPageGUI
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.
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