ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Skill\Service\SkillAdminGUIRequest Class Reference

Request wrapper for guis in skill administration. More...

+ Inheritance diagram for ILIAS\Skill\Service\SkillAdminGUIRequest:
+ Collaboration diagram for ILIAS\Skill\Service\SkillAdminGUIRequest:

Public Member Functions

 __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. More...
 
 getRefId ()
 
 getNodeId ()
 
 getRootId ()
 
 getTrefId ()
 
 getCombinedSkillId ()
 
 getTemplateMode ()
 
 getTemplatesTree ()
 
 getBackCommand ()
 
 getSkillExpand ()
 
 getSkillProfileId ()
 
 getLocalContext ()
 
 getOrder ()
 
 getLevelId ()
 
 getLevelIds ()
 
 getResourceIds ()
 
 getSuggested ()
 
 getTrigger ()
 
 getTitles ()
 
 getNodeIds ()
 
 getProfileIds ()
 
 getUserLogin ()
 
 getUsers ()
 
 getUserIds ()
 
 getSelectedIds (string $post_var)
 
 getTableTreeAction ()
 
 getTableTreeIds ()
 
 getTableSkillCatNodeIds ()
 
 getTableSkillLevelAction ()
 
 getTableSkillLevelIds ()
 
 getSkillLevelIds ()
 
 getTableProfileAction ()
 
 getTableProfileIds ()
 
 getTableProfileLevelsAction ()
 
 getTableProfileLevelsSkillIds ()
 
 getProfileLevelSkillIds ()
 
 getTableProfileUserAssignmentAction ()
 
 getTableProfileUserAssignmentIds ()
 
 getTableLevelResourcesAction ()
 
 getTableRepoRefIds ()
 
 __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. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\Skill\Service\SkillGUIRequest
 int (string $key)
 get integer parameter kindly More...
 
 intArray (string $key)
 get integer array kindly More...
 
 str (string $key)
 get string parameter kindly More...
 
 strArray (string $key)
 get string array kindly More...
 
 bool (string $key)
 get bool parameter kindly More...
 
 boolArray (string $key)
 get bool array kindly More...
 
 isArray (string $key)
 Check if parameter is an array. More...
 
 get (string $key, Refinery\Transformation $t)
 Get passed parameter, if not data passed, get key from http request. More...
 
 getIds ()
 
 getTableIds (string $key)
 
 getTableAction (string $key)
 
 getInterruptiveItemIdsAsInt ()
 
 getInterruptiveItemIdsAsString ()
 
- Protected Attributes inherited from ILIAS\Skill\Service\SkillGUIRequest
HTTP Services $http
 
Refinery Factory $refinery
 
array $passed_query_params = null
 
array $passed_post_data = null
 

Detailed Description

Request wrapper for guis in skill administration.

This class processes all request parameters which are not handled by form classes already.

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 31 of file class.SkillAdminGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Service\SkillAdminGUIRequest::__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.

If none of these is provided the usual http service wrapper is used to determine the request data.

Reimplemented from ILIAS\Skill\Service\SkillGUIRequest.

Definition at line 33 of file class.SkillAdminGUIRequest.php.

References ILIAS\Skill\Service\SkillGUIRequest\$http, ILIAS\Skill\Service\SkillGUIRequest\$passed_post_data, ILIAS\Skill\Service\SkillGUIRequest\$passed_query_params, ILIAS\Skill\Service\SkillGUIRequest\$refinery, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBackCommand()

ILIAS\Skill\Service\SkillAdminGUIRequest::getBackCommand ( )

Definition at line 77 of file class.SkillAdminGUIRequest.php.

77 : string
78 {
79 return $this->str("backcmd");
80 }
str(string $key)
get string parameter kindly

References ILIAS\Skill\Service\SkillGUIRequest\str().

+ Here is the call graph for this function:

◆ getCombinedSkillId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getCombinedSkillId ( )

Definition at line 62 of file class.SkillAdminGUIRequest.php.

62 : string
63 {
64 return $this->str("cskill_id");
65 }

References ILIAS\Skill\Service\SkillGUIRequest\str().

+ Here is the call graph for this function:

◆ getLevelId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getLevelId ( )

Definition at line 105 of file class.SkillAdminGUIRequest.php.

105 : int
106 {
107 return $this->int("level_id");
108 }
int(string $key)
get integer parameter kindly

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getLevelIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getLevelIds ( )
Returns
int[]

Definition at line 113 of file class.SkillAdminGUIRequest.php.

113 : array
114 {
115 return $this->getIds();
116 }

References ILIAS\Skill\Service\SkillGUIRequest\getIds().

+ Here is the call graph for this function:

◆ getLocalContext()

ILIAS\Skill\Service\SkillAdminGUIRequest::getLocalContext ( )

Definition at line 92 of file class.SkillAdminGUIRequest.php.

92 : bool
93 {
94 return $this->bool("local_context");
95 }
bool(string $key)
get bool parameter kindly

References ILIAS\Skill\Service\SkillGUIRequest\bool().

+ Here is the call graph for this function:

◆ getNodeId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getNodeId ( )

Definition at line 47 of file class.SkillAdminGUIRequest.php.

47 : int
48 {
49 return $this->int("node_id");
50 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

Referenced by ilSkillCategoryGUI\addCreationButtons(), and ilSkillTemplateCategoryGUI\addCreationButtons().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getNodeIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getNodeIds ( )
Returns
int[]

Definition at line 153 of file class.SkillAdminGUIRequest.php.

153 : array
154 {
155 return $this->getIds();
156 }

References ILIAS\Skill\Service\SkillGUIRequest\getIds().

+ Here is the call graph for this function:

◆ getOrder()

ILIAS\Skill\Service\SkillAdminGUIRequest::getOrder ( )
Returns
int[]

Definition at line 100 of file class.SkillAdminGUIRequest.php.

100 : array
101 {
102 return $this->intArray("order");
103 }
intArray(string $key)
get integer array kindly

References ILIAS\Skill\Service\SkillGUIRequest\intArray().

+ Here is the call graph for this function:

◆ getProfileIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getProfileIds ( )
Returns
int[]

Definition at line 161 of file class.SkillAdminGUIRequest.php.

161 : array
162 {
163 return $this->getInterruptiveItemIdsAsInt();
164 }

References ILIAS\Skill\Service\SkillGUIRequest\getInterruptiveItemIdsAsInt().

+ Here is the call graph for this function:

◆ getProfileLevelSkillIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getProfileLevelSkillIds ( )
Returns
string[]

Definition at line 266 of file class.SkillAdminGUIRequest.php.

266 : array
267 {
268 return $this->getInterruptiveItemIdsAsString();
269 }

References ILIAS\Skill\Service\SkillGUIRequest\getInterruptiveItemIdsAsString().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getRefId ( )

Definition at line 42 of file class.SkillAdminGUIRequest.php.

42 : int
43 {
44 return $this->int("ref_id");
45 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getResourceIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getResourceIds ( )
Returns
int[]

Definition at line 121 of file class.SkillAdminGUIRequest.php.

121 : array
122 {
123 return $this->getInterruptiveItemIdsAsInt();
124 }

References ILIAS\Skill\Service\SkillGUIRequest\getInterruptiveItemIdsAsInt().

+ Here is the call graph for this function:

◆ getRootId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getRootId ( )

Definition at line 52 of file class.SkillAdminGUIRequest.php.

52 : int
53 {
54 return $this->int("root_id");
55 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getSelectedIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSelectedIds ( string  $post_var)
Returns
string[]

Definition at line 190 of file class.SkillAdminGUIRequest.php.

190 : array
191 {
192 return $this->strArray($post_var);
193 }
strArray(string $key)
get string array kindly

References ILIAS\Skill\Service\SkillGUIRequest\strArray().

+ Here is the call graph for this function:

◆ getSkillExpand()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSkillExpand ( )

Definition at line 82 of file class.SkillAdminGUIRequest.php.

82 : string
83 {
84 return $this->str("skexpand");
85 }

References ILIAS\Skill\Service\SkillGUIRequest\str().

+ Here is the call graph for this function:

◆ getSkillLevelIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSkillLevelIds ( )
Returns
string[]

Definition at line 232 of file class.SkillAdminGUIRequest.php.

232 : array
233 {
234 return $this->getInterruptiveItemIdsAsString();
235 }

References ILIAS\Skill\Service\SkillGUIRequest\getInterruptiveItemIdsAsString().

+ Here is the call graph for this function:

◆ getSkillProfileId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSkillProfileId ( )

Definition at line 87 of file class.SkillAdminGUIRequest.php.

87 : int
88 {
89 return $this->int("sprof_id");
90 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getSuggested()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSuggested ( )
Returns
bool[]

Definition at line 129 of file class.SkillAdminGUIRequest.php.

129 : array
130 {
131 return $this->boolArray("suggested");
132 }
boolArray(string $key)
get bool array kindly

References ILIAS\Skill\Service\SkillGUIRequest\boolArray().

+ Here is the call graph for this function:

◆ getTableLevelResourcesAction()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableLevelResourcesAction ( )

Definition at line 284 of file class.SkillAdminGUIRequest.php.

284 : string
285 {
286 return $this->getTableAction("skl_level_resources_table_action");
287 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableProfileAction()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableProfileAction ( )

Definition at line 237 of file class.SkillAdminGUIRequest.php.

237 : string
238 {
239 return $this->getTableAction("skl_profile_table_action");
240 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableProfileIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableProfileIds ( )
Returns
string[]

Definition at line 245 of file class.SkillAdminGUIRequest.php.

245 : array
246 {
247 return $this->getTableIds("skl_profile_table_profile_ids");
248 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableProfileLevelsAction()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableProfileLevelsAction ( )

Definition at line 250 of file class.SkillAdminGUIRequest.php.

250 : string
251 {
252 return $this->getTableAction("skl_profile_levels_table_action");
253 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableProfileLevelsSkillIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableProfileLevelsSkillIds ( )
Returns
string[]

Definition at line 258 of file class.SkillAdminGUIRequest.php.

258 : array
259 {
260 return $this->getTableIds("skl_profile_levels_table_skill_ids");
261 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableProfileUserAssignmentAction()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableProfileUserAssignmentAction ( )

Definition at line 271 of file class.SkillAdminGUIRequest.php.

271 : string
272 {
273 return $this->getTableAction("skl_profile_user_assignment_table_action");
274 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableProfileUserAssignmentIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableProfileUserAssignmentIds ( )
Returns
string[]

Definition at line 279 of file class.SkillAdminGUIRequest.php.

279 : array
280 {
281 return $this->getTableIds("skl_profile_user_assignment_table_ass_ids");
282 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableRepoRefIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableRepoRefIds ( )
Returns
string[]

Definition at line 292 of file class.SkillAdminGUIRequest.php.

292 : array
293 {
294 return $this->getTableIds("skl_level_resources_table_rep_ref_ids");
295 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableSkillCatNodeIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableSkillCatNodeIds ( )
Returns
string[]

Definition at line 211 of file class.SkillAdminGUIRequest.php.

211 : array
212 {
213 return $this->getTableIds("skl_skill_cat_table_node_ids");
214 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableSkillLevelAction()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableSkillLevelAction ( )

Definition at line 216 of file class.SkillAdminGUIRequest.php.

216 : string
217 {
218 return $this->getTableAction("skl_skill_level_table_action");
219 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableSkillLevelIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableSkillLevelIds ( )
Returns
string[]

Definition at line 224 of file class.SkillAdminGUIRequest.php.

224 : array
225 {
226 return $this->getTableIds("skl_skill_level_table_level_ids");
227 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableTreeAction()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableTreeAction ( )

Definition at line 195 of file class.SkillAdminGUIRequest.php.

195 : string
196 {
197 return $this->getTableAction("skl_tree_table_action");
198 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableTreeIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTableTreeIds ( )
Returns
string[]

Definition at line 203 of file class.SkillAdminGUIRequest.php.

203 : array
204 {
205 return $this->getTableIds("skl_tree_table_tree_ids");
206 }

References ILIAS\Skill\Service\SkillGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTemplateMode()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTemplateMode ( )

Definition at line 67 of file class.SkillAdminGUIRequest.php.

67 : bool
68 {
69 return $this->bool("tmpmode");
70 }

References ILIAS\Skill\Service\SkillGUIRequest\bool().

+ Here is the call graph for this function:

◆ getTemplatesTree()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTemplatesTree ( )

Definition at line 72 of file class.SkillAdminGUIRequest.php.

72 : int
73 {
74 return $this->int("templates_tree");
75 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getTitles()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTitles ( )
Returns
string[]

Definition at line 145 of file class.SkillAdminGUIRequest.php.

145 : array
146 {
147 return $this->strArray("title");
148 }

References ILIAS\Skill\Service\SkillGUIRequest\strArray().

+ Here is the call graph for this function:

◆ getTrefId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTrefId ( )

Definition at line 57 of file class.SkillAdminGUIRequest.php.

57 : int
58 {
59 return $this->int("tref_id");
60 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getTrigger()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTrigger ( )
Returns
bool[]

Definition at line 137 of file class.SkillAdminGUIRequest.php.

137 : array
138 {
139 return $this->boolArray("trigger");
140 }

References ILIAS\Skill\Service\SkillGUIRequest\boolArray().

+ Here is the call graph for this function:

◆ getUserIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getUserIds ( )
Returns
int[]

Definition at line 182 of file class.SkillAdminGUIRequest.php.

182 : array
183 {
184 return $this->getInterruptiveItemIdsAsInt();
185 }

References ILIAS\Skill\Service\SkillGUIRequest\getInterruptiveItemIdsAsInt().

+ Here is the call graph for this function:

◆ getUserLogin()

ILIAS\Skill\Service\SkillAdminGUIRequest::getUserLogin ( )

Definition at line 166 of file class.SkillAdminGUIRequest.php.

166 : string
167 {
168 return $this->str("user_login");
169 }

References ILIAS\Skill\Service\SkillGUIRequest\str().

+ Here is the call graph for this function:

◆ getUsers()

ILIAS\Skill\Service\SkillAdminGUIRequest::getUsers ( )
Returns
int[]

Definition at line 174 of file class.SkillAdminGUIRequest.php.

174 : array
175 {
176 return $this->intArray("user");
177 }

References ILIAS\Skill\Service\SkillGUIRequest\intArray().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: