ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.SkillAdminGUIRequest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\HTTP;
25
32{
33 public function __construct(
36 ?array $passed_query_params = null,
37 ?array $passed_post_data = null
38 ) {
40 }
41
42 public function getRefId(): int
43 {
44 return $this->int("ref_id");
45 }
46
47 public function getNodeId(): int
48 {
49 return $this->int("node_id");
50 }
51
52 public function getRootId(): int
53 {
54 return $this->int("root_id");
55 }
56
57 public function getTrefId(): int
58 {
59 return $this->int("tref_id");
60 }
61
62 public function getCombinedSkillId(): string
63 {
64 return $this->str("cskill_id");
65 }
66
67 public function getTemplateMode(): bool
68 {
69 return $this->bool("tmpmode");
70 }
71
72 public function getTemplatesTree(): int
73 {
74 return $this->int("templates_tree");
75 }
76
77 public function getBackCommand(): string
78 {
79 return $this->str("backcmd");
80 }
81
82 public function getSkillExpand(): string
83 {
84 return $this->str("skexpand");
85 }
86
87 public function getSkillProfileId(): int
88 {
89 return $this->int("sprof_id");
90 }
91
92 public function getLocalContext(): bool
93 {
94 return $this->bool("local_context");
95 }
96
100 public function getOrder(): array
101 {
102 return $this->intArray("order");
103 }
104
105 public function getLevelId(): int
106 {
107 return $this->int("level_id");
108 }
109
113 public function getLevelIds(): array
114 {
115 return $this->getIds();
116 }
117
121 public function getResourceIds(): array
122 {
123 return $this->getInterruptiveItemIdsAsInt();
124 }
125
129 public function getSuggested(): array
130 {
131 return $this->boolArray("suggested");
132 }
133
137 public function getTrigger(): array
138 {
139 return $this->boolArray("trigger");
140 }
141
145 public function getTitles(): array
146 {
147 return $this->strArray("title");
148 }
149
153 public function getNodeIds(): array
154 {
155 return $this->getIds();
156 }
157
161 public function getProfileIds(): array
162 {
163 return $this->getInterruptiveItemIdsAsInt();
164 }
165
166 public function getUserLogin(): string
167 {
168 return $this->str("user_login");
169 }
170
174 public function getUsers(): array
175 {
176 return $this->intArray("user");
177 }
178
182 public function getUserIds(): array
183 {
184 return $this->getInterruptiveItemIdsAsInt();
185 }
186
190 public function getSelectedIds(string $post_var): array
191 {
192 return $this->strArray($post_var);
193 }
194
195 public function getTableTreeAction(): string
196 {
197 return $this->getTableAction("skl_tree_table_action");
198 }
199
203 public function getTableTreeIds(): array
204 {
205 return $this->getTableIds("skl_tree_table_tree_ids");
206 }
207
211 public function getTableSkillCatNodeIds(): array
212 {
213 return $this->getTableIds("skl_skill_cat_table_node_ids");
214 }
215
216 public function getTableSkillLevelAction(): string
217 {
218 return $this->getTableAction("skl_skill_level_table_action");
219 }
220
224 public function getTableSkillLevelIds(): array
225 {
226 return $this->getTableIds("skl_skill_level_table_level_ids");
227 }
228
232 public function getSkillLevelIds(): array
233 {
234 return $this->getInterruptiveItemIdsAsString();
235 }
236
237 public function getTableProfileAction(): string
238 {
239 return $this->getTableAction("skl_profile_table_action");
240 }
241
245 public function getTableProfileIds(): array
246 {
247 return $this->getTableIds("skl_profile_table_profile_ids");
248 }
249
250 public function getTableProfileLevelsAction(): string
251 {
252 return $this->getTableAction("skl_profile_levels_table_action");
253 }
254
258 public function getTableProfileLevelsSkillIds(): array
259 {
260 return $this->getTableIds("skl_profile_levels_table_skill_ids");
261 }
262
266 public function getProfileLevelSkillIds(): array
267 {
268 return $this->getInterruptiveItemIdsAsString();
269 }
270
271 public function getTableProfileUserAssignmentAction(): string
272 {
273 return $this->getTableAction("skl_profile_user_assignment_table_action");
274 }
275
279 public function getTableProfileUserAssignmentIds(): array
280 {
281 return $this->getTableIds("skl_profile_user_assignment_table_ass_ids");
282 }
283
284 public function getTableLevelResourcesAction(): string
285 {
286 return $this->getTableAction("skl_level_resources_table_action");
287 }
288
292 public function getTableRepoRefIds(): array
293 {
294 return $this->getTableIds("skl_level_resources_table_rep_ref_ids");
295 }
296}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Request wrapper for guis in skill administration.
__construct(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.
Skill gui global request wrapper.
intArray(string $key)
get integer array kindly
bool(string $key)
get bool parameter kindly
int(string $key)
get integer parameter kindly
boolArray(string $key)
get bool array kindly
strArray(string $key)
get string array kindly
str(string $key)
get string parameter kindly
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...