ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.SkillContainerGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Container\Skills;
23 
25 use ILIAS\HTTP;
26 use ILIAS\Refinery;
27 
35 {
36  public function __construct(
39  ?array $passed_query_params = null,
40  ?array $passed_post_data = null
41  ) {
43  }
44 
45  public function getUserId(): int
46  {
47  return $this->int("usr_id");
48  }
49 
50  public function getUserIds(): array
51  {
52  return $this->intArray("usr_ids");
53  }
54 
55  public function getSelectedSkill(): string
56  {
57  return $this->str("selected_skill");
58  }
59 
60  public function getCombinedSkillIds(): array
61  {
62  return $this->strArray("id");
63  }
64 
65  public function getSelectedProfileId(): int
66  {
67  return $this->int("p_id");
68  }
69 
70  public function getProfileIds(): array
71  {
72  return $this->getIds();
73  }
74 }
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Skill gui global request wrapper.
__construct(VocabulariesInterface $vocabularies)
Request wrapper for skill guis in container classes.
str(string $key)
get string parameter kindly
int(string $key)
get integer parameter kindly
strArray(string $key)
get string array kindly