ILIAS  release_8 Revision v8.24
class.SkillAdminGUIRequest.php
Go to the documentation of this file.
1<?php
2
21
22use ILIAS\HTTP;
24
31{
32 public function __construct(
33 HTTP\Services $http,
34 Refinery\Factory $refinery,
35 ?array $passed_query_params = null,
36 ?array $passed_post_data = null
37 ) {
39 }
40
41 public function getRefId(): int
42 {
43 return $this->int("ref_id");
44 }
45
46 public function getNodeId(): int
47 {
48 return $this->int("node_id");
49 }
50
51 public function getRootId(): int
52 {
53 return $this->int("root_id");
54 }
55
56 public function getTrefId(): int
57 {
58 return $this->int("tref_id");
59 }
60
61 public function getCombinedSkillId(): string
62 {
63 return $this->str("cskill_id");
64 }
65
66 public function getTemplateMode(): bool
67 {
68 return $this->bool("tmpmode");
69 }
70
71 public function getTemplatesTree(): int
72 {
73 return $this->int("templates_tree");
74 }
75
76 public function getBackCommand(): string
77 {
78 return $this->str("backcmd");
79 }
80
81 public function getSkillExpand(): string
82 {
83 return $this->str("skexpand");
84 }
85
86 public function getSkillProfileId(): int
87 {
88 return $this->int("sprof_id");
89 }
90
91 public function getLocalContext(): bool
92 {
93 return $this->bool("local_context");
94 }
95
99 public function getOrder(): array
100 {
101 return $this->intArray("order");
102 }
103
104 public function getLevelId(): int
105 {
106 return $this->int("level_id");
107 }
108
112 public function getLevelIds(): array
113 {
114 return $this->getIds();
115 }
116
120 public function getAssignedLevelIds(): array
121 {
122 return $this->strArray("ass_id");
123 }
124
128 public function getResourceIds(): array
129 {
130 return $this->getIds();
131 }
132
136 public function getSuggested(): array
137 {
138 return $this->boolArray("suggested");
139 }
140
144 public function getTrigger(): array
145 {
146 return $this->boolArray("trigger");
147 }
148
152 public function getTitles(): array
153 {
154 return $this->strArray("title");
155 }
156
160 public function getNodeIds(): array
161 {
162 return $this->getIds();
163 }
164
168 public function getProfileIds(): array
169 {
170 return $this->getIds();
171 }
172
173 public function getUserLogin(): string
174 {
175 return $this->str("user_login");
176 }
177
181 public function getUsers(): array
182 {
183 return $this->intArray("user");
184 }
185
189 public function getUserIds(): array
190 {
191 return $this->getIds();
192 }
193
197 public function getSelectedIds(string $post_var): array
198 {
199 return $this->strArray($post_var);
200 }
201}
Builds data types.
Definition: Factory.php:21
Class Services.
Definition: Services.php:38
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ByTrying.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...