ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.SkillAdminGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
23 
24 use ILIAS\HTTP;
25 use ILIAS\Refinery;
26 
33 {
34  public function __construct(
37  ?array $passed_query_params = null,
38  ?array $passed_post_data = null
39  ) {
41  }
42 
43  public function getRefId(): int
44  {
45  return $this->int("ref_id");
46  }
47 
48  public function getNodeId(): int
49  {
50  return $this->int("node_id");
51  }
52 
53  public function getRootId(): int
54  {
55  return $this->int("root_id");
56  }
57 
58  public function getTrefId(): int
59  {
60  return $this->int("tref_id");
61  }
62 
63  public function getCombinedSkillId(): string
64  {
65  return $this->str("cskill_id");
66  }
67 
68  public function getTemplateMode(): bool
69  {
70  return $this->bool("tmpmode");
71  }
72 
73  public function getTemplatesTree(): int
74  {
75  return $this->int("templates_tree");
76  }
77 
78  public function getBackCommand(): string
79  {
80  return $this->str("backcmd");
81  }
82 
83  public function getSkillExpand(): string
84  {
85  return $this->str("skexpand");
86  }
87 
88  public function getSkillProfileId(): int
89  {
90  return $this->int("sprof_id");
91  }
92 
93  public function getLocalContext(): bool
94  {
95  return $this->bool("local_context");
96  }
97 
101  public function getOrder(): array
102  {
103  return $this->intArray("order");
104  }
105 
106  public function getLevelId(): int
107  {
108  return $this->int("level_id");
109  }
110 
114  public function getLevelIds(): array
115  {
116  return $this->getIds();
117  }
118 
122  public function getAssignedLevelIds(): array
123  {
124  return $this->strArray("ass_id");
125  }
126 
130  public function getResourceIds(): array
131  {
132  return $this->getInterruptiveItemIds();
133  }
134 
138  public function getSuggested(): array
139  {
140  return $this->boolArray("suggested");
141  }
142 
146  public function getTrigger(): array
147  {
148  return $this->boolArray("trigger");
149  }
150 
154  public function getTitles(): array
155  {
156  return $this->strArray("title");
157  }
158 
162  public function getNodeIds(): array
163  {
164  return $this->getIds();
165  }
166 
170  public function getProfileIds(): array
171  {
172  return $this->getInterruptiveItemIds();
173  }
174 
175  public function getUserLogin(): string
176  {
177  return $this->str("user_login");
178  }
179 
183  public function getUsers(): array
184  {
185  return $this->intArray("user");
186  }
187 
191  public function getUserIds(): array
192  {
193  return $this->getInterruptiveItemIds();
194  }
195 
199  public function getSelectedIds(string $post_var): array
200  {
201  return $this->strArray($post_var);
202  }
203 
204  public function getTableTreeAction(): string
205  {
206  return $this->getTableAction("skl_tree_table_action");
207  }
208 
212  public function getTableTreeIds(): array
213  {
214  return $this->getTableIds("skl_tree_table_tree_ids");
215  }
216 
217  public function getTableProfileAction(): string
218  {
219  return $this->getTableAction("skl_profile_table_action");
220  }
221 
225  public function getTableProfileIds(): array
226  {
227  return $this->getTableIds("skl_profile_table_profile_ids");
228  }
229 
230  public function getTableProfileUserAssignmentAction(): string
231  {
232  return $this->getTableAction("skl_profile_user_assignment_table_action");
233  }
234 
238  public function getTableProfileUserAssignmentIds(): array
239  {
240  return $this->getTableIds("skl_profile_user_assignment_table_ass_ids");
241  }
242 
243  public function getTableLevelResourcesAction(): string
244  {
245  return $this->getTableAction("skl_level_resources_table_action");
246  }
247 
251  public function getTableRepoRefIds(): array
252  {
253  return $this->getTableIds("skl_level_resources_table_rep_ref_ids");
254  }
255 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
intArray(string $key)
get integer array kindly
__construct(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Request wrapper for guis in skill administration.
Skill gui global request wrapper.
Builds a Color from either hex- or rgb values.
Definition: Factory.php:16
boolArray(string $key)
get bool array kindly
str(string $key)
get string parameter kindly
int(string $key)
get integer parameter kindly
__construct(Container $dic, ilPlugin $plugin)
strArray(string $key)
get string array kindly
bool(string $key)
get bool parameter kindly
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...