ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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
43  return new EditingGUIRequest(
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
56  return new EditSubObjectsGUI(
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
72  return new SubObjectTableBuilder(
73  $this->domain,
74  $this->gui,
75  $title,
76  $lm_id,
77  $type,
78  $parent_gui,
79  $parent_cmd
80  );
81  }
82 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
editSubObjectsGUI(string $sub_type, \ilObjLearningModule $lm, string $table_title)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static activeLayouts(int $a_module=0)
Get active layouts.
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui)
subObjectTableBuilder(string $title, int $lm_id, string $type, object $parent_gui, string $parent_cmd)
request(?array $passed_query_params=null, ?array $passed_post_data=null)