ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.GUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 protected array $page_layouts;
29
30 public function __construct(
31 protected InternalDomainService $domain,
32 protected InternalGUIService $gui
33 ) {
34 $this->page_layouts = \ilPageLayout::activeLayouts(
36 );
37 }
38
39 public function request(
40 ?array $passed_query_params = null,
41 ?array $passed_post_data = null
44 $this->gui->http(),
45 $this->domain->refinery(),
46 $passed_query_params,
47 $passed_post_data
48 );
49 }
50
51 public function editSubObjectsGUI(
52 string $sub_type,
54 string $table_title
57 $this->domain,
58 $this->gui,
59 $sub_type,
60 $lm,
61 $table_title
62 );
63 }
64
65 public function subObjectTableBuilder(
66 string $title,
67 int $lm_id,
68 string $type,
69 object $parent_gui,
70 string $parent_cmd
73 $this->domain,
74 $this->gui,
75 $title,
76 $lm_id,
77 $type,
78 $parent_gui,
79 $parent_cmd
80 );
81 }
82}
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui)
editSubObjectsGUI(string $sub_type, \ilObjLearningModule $lm, string $table_title)
request(?array $passed_query_params=null, ?array $passed_post_data=null)
subObjectTableBuilder(string $title, int $lm_id, string $type, object $parent_gui, string $parent_cmd)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static activeLayouts(int $a_module=0)
Get active layouts.
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...