ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 getAssignedLevelIds(): array
122 {
123 return $this->strArray("ass_id");
124 }
125
129 public function getResourceIds(): array
130 {
131 return $this->getInterruptiveItemIds();
132 }
133
137 public function getSuggested(): array
138 {
139 return $this->boolArray("suggested");
140 }
141
145 public function getTrigger(): array
146 {
147 return $this->boolArray("trigger");
148 }
149
153 public function getTitles(): array
154 {
155 return $this->strArray("title");
156 }
157
161 public function getNodeIds(): array
162 {
163 return $this->getIds();
164 }
165
169 public function getProfileIds(): array
170 {
171 return $this->getInterruptiveItemIds();
172 }
173
174 public function getUserLogin(): string
175 {
176 return $this->str("user_login");
177 }
178
182 public function getUsers(): array
183 {
184 return $this->intArray("user");
185 }
186
190 public function getUserIds(): array
191 {
192 return $this->getInterruptiveItemIds();
193 }
194
198 public function getSelectedIds(string $post_var): array
199 {
200 return $this->strArray($post_var);
201 }
202
203 public function getTableTreeAction(): string
204 {
205 return $this->getTableAction("skl_tree_table_action");
206 }
207
211 public function getTableTreeIds(): array
212 {
213 return $this->getTableIds("skl_tree_table_tree_ids");
214 }
215
216 public function getTableProfileAction(): string
217 {
218 return $this->getTableAction("skl_profile_table_action");
219 }
220
224 public function getTableProfileIds(): array
225 {
226 return $this->getTableIds("skl_profile_table_profile_ids");
227 }
228
229 public function getTableProfileUserAssignmentAction(): string
230 {
231 return $this->getTableAction("skl_profile_user_assignment_table_action");
232 }
233
237 public function getTableProfileUserAssignmentIds(): array
238 {
239 return $this->getTableIds("skl_profile_user_assignment_table_ass_ids");
240 }
241
242 public function getTableLevelResourcesAction(): string
243 {
244 return $this->getTableAction("skl_level_resources_table_action");
245 }
246
250 public function getTableRepoRefIds(): array
251 {
252 return $this->getTableIds("skl_level_resources_table_rep_ref_ids");
253 }
254}
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...