ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.GUIService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LearningModule\Editing
;
22
23
use
ILIAS\LearningModule\InternalGUIService
;
24
use
ILIAS\LearningModule\InternalDomainService
;
25
26
class
GUIService
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
(
35
\
ilPageLayout::MODULE_LM
36
);
37
}
38
39
public
function
request
(
40
?array $passed_query_params =
null
,
41
?array $passed_post_data =
null
42
):
EditingGUIRequest
{
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,
53
\
ilObjLearningModule
$lm,
54
string
$table_title
55
):
EditSubObjectsGUI
{
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
71
):
SubObjectTableBuilder
{
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
}
ilObjLearningModule
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilObjLearningModule.php:22
ILIAS\LearningModule\InternalGUIService
Definition:
class.InternalGUIService.php:29
ILIAS\LearningModule\Editing\SubObjectTableBuilder
Definition:
SubObjectTableBuilder.php:29
ILIAS\LearningModule\Editing\GUIService\editSubObjectsGUI
editSubObjectsGUI(string $sub_type, \ilObjLearningModule $lm, string $table_title)
Definition:
class.GUIService.php:51
ILIAS\LearningModule\Editing
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.EditingGUIRequest.php:19
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilPageLayout\activeLayouts
static activeLayouts(int $a_module=0)
Get active layouts.
Definition:
class.ilPageLayout.php:340
ILIAS\LearningModule\Editing\GUIService\__construct
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui)
Definition:
class.GUIService.php:30
InternalDomainService
ILIAS\LearningModule\Editing\GUIService
Definition:
class.GUIService.php:26
ILIAS\LearningModule\Editing\GUIService\$page_layouts
array $page_layouts
Definition:
class.GUIService.php:28
ILIAS\LearningModule\Editing\GUIService\subObjectTableBuilder
subObjectTableBuilder(string $title, int $lm_id, string $type, object $parent_gui, string $parent_cmd)
Definition:
class.GUIService.php:65
InternalGUIService
ilPageLayout\MODULE_LM
const MODULE_LM
Definition:
class.ilPageLayout.php:29
ILIAS\LearningModule\Editing\EditingGUIRequest
Definition:
class.EditingGUIRequest.php:23
ILIAS\LearningModule\Editing\GUIService\request
request(?array $passed_query_params=null, ?array $passed_post_data=null)
Definition:
class.GUIService.php:39
ILIAS\LearningModule\InternalDomainService
Definition:
class.InternalDomainService.php:26
ILIAS\LearningModule\Editing\EditSubObjectsGUI
Definition:
class.EditSubObjectsGUI.php:31
components
ILIAS
LearningModule
Editing
Service
class.GUIService.php
Generated on Wed Sep 3 2025 23:02:25 for ILIAS by
1.8.13 (using
Doxyfile
)