ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.EditingGUIRequest.php
Go to the documentation of this file.
1<?php
2
20
22
24{
26
27 public function __construct(
30 ?array $passed_query_params = null,
31 ?array $passed_post_data = null
32 ) {
33 $this->initRequest(
34 $http,
36 $passed_query_params,
37 $passed_post_data
38 );
39 }
40
41 public function getRefId(): int
42 {
43 return $this->int("ref_id");
44 }
45
46 public function getObjId(): int
47 {
48 return $this->int("obj_id");
49 }
50
51 public function getActiveNode(): int
52 {
53 return $this->int("active_node");
54 }
55
56 public function getToPage(): bool
57 {
58 return (bool) $this->int("to_page");
59 }
60
61 public function getToProps(): bool
62 {
63 return (bool) $this->int("to_props");
64 }
65
66 public function getRootId(): int
67 {
68 return $this->int("root_id");
69 }
70
71 public function getGlossaryId(): int
72 {
73 return $this->int("glo_id");
74 }
75
76 public function getGlossaryRefId(): int
77 {
78 return $this->int("glo_ref_id");
79 }
80
81 public function getMenuEntry(): int
82 {
83 return $this->int("menu_entry");
84 }
85
87 public function getMenuEntries(): array
88 {
89 return $this->intArray("menu_entries");
90 }
91
92 public function getLMMenuExpand(): int
93 {
94 return $this->int("lm_menu_expand");
95 }
96
97 public function getLMExpand(): int
98 {
99 return $this->int("lmexpand");
100 }
101
102 public function getSearchRootExpand(): int
103 {
104 return $this->int("search_root_expand");
105 }
106
107 public function getNewType(): string
108 {
109 return $this->str("new_type");
110 }
111
112 public function getBaseClass(): string
113 {
114 return $this->str("baseClass");
115 }
116
117 public function getTranslation(): string
118 {
119 return $this->str("transl");
120 }
121
122 public function getToTranslation(): string
123 {
124 return $this->str("totransl");
125 }
126
127
128 public function getBackCmd(): string
129 {
130 return $this->str("backcmd");
131 }
132
133 public function getHierarchy(): bool
134 {
135 return (bool) $this->int("hierarchy");
136 }
137
138 public function getLangSwitchMode(): string
139 {
140 return $this->str("lang_switch_mode");
141 }
142
143 public function getLinkRefId(): int
144 {
145 return $this->int("link_ref_id");
146 }
147
148 public function getLMMoveCopy(): bool
149 {
150 return (bool) $this->int("lmmovecopy");
151 }
152
153 public function getTarget(): string
154 {
155 return $this->str("target");
156 }
157
158 public function getFileId(): string
159 {
160 return $this->str("file_id");
161 }
162
163 public function getStyleId(): int
164 {
165 return $this->int("style_id");
166 }
167
169 public function getIds(): array
170 {
171 return $this->intArray("id");
172 }
173
174 public function getLayout(): string
175 {
176 return $this->str("layout");
177 }
178
180 public function getTitles(): array
181 {
182 return $this->strArray("title");
183 }
184
185 public function getFormat(): string
186 {
187 return $this->str("format");
188 }
189
191 public function getUserQuestionIds(): array
192 {
193 return $this->strArray("userquest_id");
194 }
195
196 public function getLMPublicMode(): string
197 {
198 return $this->str("lm_public_mode");
199 }
200
202 public function getPublicPages(): array
203 {
204 return $this->intArray("pages");
205 }
206
207 public function getHFormPar(string $par): string
208 {
209 return $this->str("il_hform_" . $par);
210 }
211
212 public function getHelpChap(): string
213 {
214 return $this->str("help_chap");
215 }
216
218 public function getExportIds(): array
219 {
220 return $this->strArray("exportid");
221 }
222
224 public function getScreenIds(): array
225 {
226 return $this->strArray("screen_ids");
227 }
228
229 public function getTooltipId(): string
230 {
231 return $this->str("tooltip_id");
232 }
233
235 public function getTooltipIds(): array
236 {
237 return $this->strArray("tt_id");
238 }
239
240 public function getTooltipComponent(): string
241 {
242 return $this->str("help_tt_comp");
243 }
244
246 public function getTooltipTexts(): array
247 {
248 return $this->strArray("text");
249 }
250
252 public function getShortTitles(): array
253 {
254 return $this->strArray("short_title");
255 }
256
257 public function getImportLang(): string
258 {
259 return $this->str("import_lang");
260 }
261
262 public function getNodeId(): int
263 {
264 return $this->int("node_id");
265 }
266
267 public function getMulti(): int
268 {
269 return $this->int("multi");
270 }
271
272 public function getFirstChild(): bool
273 {
274 return (bool) $this->int("first_child");
275 }
276
277 public function getSubType(): string
278 {
279 return $this->str("sub_type");
280 }
281
282 public function getEditId(): int
283 {
284 return $this->int("edit_id");
285 }
286
287 public function getTargetId(): int
288 {
289 return $this->int("target_id");
290 }
291
292 public function getBefore(): bool
293 {
294 return (bool) $this->int("before");
295 }
296
297}
Builds data types.
Definition: Factory.php:36
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: deliver.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initRequest(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Query params and post data parameters are used for testing.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.