ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\LearningModule\Editing\GUIService Class Reference
+ Collaboration diagram for ILIAS\LearningModule\Editing\GUIService:

Public Member Functions

 __construct (protected InternalDomainService $domain, protected InternalGUIService $gui)
 
 request (?array $passed_query_params=null, ?array $passed_post_data=null)
 
 editSubObjectsGUI (string $sub_type, \ilObjLearningModule $lm, string $table_title)
 
 subObjectTableBuilder (string $title, int $lm_id, string $type, object $parent_gui, string $parent_cmd)
 

Protected Attributes

array $page_layouts
 

Detailed Description

Definition at line 26 of file class.GUIService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LearningModule\Editing\GUIService::__construct ( protected InternalDomainService  $domain,
protected InternalGUIService  $gui 
)

Definition at line 30 of file class.GUIService.php.

33 {
34 $this->page_layouts = \ilPageLayout::activeLayouts(
36 );
37 }
static activeLayouts(int $a_module=0)
Get active layouts.

References ilPageLayout\activeLayouts(), and ilPageLayout\MODULE_LM.

+ Here is the call graph for this function:

Member Function Documentation

◆ editSubObjectsGUI()

ILIAS\LearningModule\Editing\GUIService::editSubObjectsGUI ( string  $sub_type,
\ilObjLearningModule  $lm,
string  $table_title 
)

Definition at line 51 of file class.GUIService.php.

55 : EditSubObjectsGUI {
56 return new EditSubObjectsGUI(
57 $this->domain,
58 $this->gui,
59 $sub_type,
60 $lm,
61 $table_title
62 );
63 }

◆ request()

ILIAS\LearningModule\Editing\GUIService::request ( ?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 39 of file class.GUIService.php.

42 : EditingGUIRequest {
43 return new EditingGUIRequest(
44 $this->gui->http(),
45 $this->domain->refinery(),
46 $passed_query_params,
47 $passed_post_data
48 );
49 }

◆ subObjectTableBuilder()

ILIAS\LearningModule\Editing\GUIService::subObjectTableBuilder ( string  $title,
int  $lm_id,
string  $type,
object  $parent_gui,
string  $parent_cmd 
)

Definition at line 65 of file class.GUIService.php.

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 }

Field Documentation

◆ $page_layouts

array ILIAS\LearningModule\Editing\GUIService::$page_layouts
protected

Definition at line 28 of file class.GUIService.php.


The documentation for this class was generated from the following file: