ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SkillContainerGUIRequest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\HTTP;
26
34{
35 public function __construct(
38 ?array $passed_query_params = null,
39 ?array $passed_post_data = null
40 ) {
42 }
43
44 public function getUserId(): int
45 {
46 return $this->int("usr_id");
47 }
48
49 public function getUserIds(): array
50 {
51 return $this->intArray("usr_ids");
52 }
53
54 public function getSelectedSkill(): string
55 {
56 return $this->str("selected_skill");
57 }
58
59 public function getCombinedSkillIds(): array
60 {
61 return $this->strArray("id");
62 }
63
64 public function getSelectedProfileId(): int
65 {
66 return $this->int("p_id");
67 }
68
69 public function getProfileIds(): array
70 {
71 return $this->getIds();
72 }
73}
Request wrapper for skill guis in container classes.
__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.
Builds data types.
Definition: Factory.php:36
Class Services.
Definition: Services.php:38
Skill gui global request wrapper.
intArray(string $key)
get integer array kindly
int(string $key)
get integer parameter 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...