ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
class.GUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\COPage\PC;
22
25
30{
33
34 public function __construct(
37 ) {
38 $this->gui_service = $gui_service;
39 $this->domain_service = $domain_service;
40 }
41
42 public function editRequest(): EditGUIRequest
43 {
44 return new EditGUIRequest(
45 $this->gui_service->http(),
46 $this->domain_service->refinery()
47 );
48 }
49
50 public function interactiveImage(): InteractiveImage\GUIService
51 {
53 $this->domain_service,
54 $this->gui_service
55 );
56 }
57
58 public function paragraph(): Paragraph\GUIService
59 {
60 return new Paragraph\GUIService(
61 $this->domain_service,
62 $this->gui_service
63 );
64 }
65
66 public function fileListTableBuilder(
67 \ilPCFileList $file_list,
68 object $parent_gui,
69 string $parent_cmd
70 ): FileList\FileListTableBuilder {
71 return new FileList\FileListTableBuilder(
72 $this->domain_service,
73 $this->gui_service,
74 $file_list,
75 $parent_gui,
76 $parent_cmd
77 );
78 }
79
81 int $pool_ref_id,
82 int $pool_obj_id,
83 object $parent_gui,
84 string $parent_cmd
85 ): Question\CopySelfAssQuestionTableBuilder {
86 return new Question\CopySelfAssQuestionTableBuilder(
87 $this->domain_service,
88 $this->gui_service,
89 $pool_ref_id,
90 $pool_obj_id,
91 $parent_gui,
92 $parent_cmd
93 );
94 }
95
96 public function gridCellTableBuilder(
97 \ilPCGrid $grid,
98 object $parent_gui,
99 string $parent_cmd
100 ): Grid\GridCellTableBuilder {
101 return new Grid\GridCellTableBuilder(
102 $this->domain_service,
103 $this->gui_service,
104 $grid,
105 $parent_gui,
106 $parent_cmd
107 );
108 }
109
110}
Page component editing request.
InternalDomainService $domain_service
fileListTableBuilder(\ilPCFileList $file_list, object $parent_gui, string $parent_cmd)
InternalGUIService $gui_service
__construct(InternalDomainService $domain_service, InternalGUIService $gui_service)
copySelfAssQuestionTableBuilder(int $pool_ref_id, int $pool_obj_id, object $parent_gui, string $parent_cmd)
gridCellTableBuilder(\ilPCGrid $grid, object $parent_gui, string $parent_cmd)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...