ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.SkillPersonalGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Skill\Service;
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 getNodeId(): int
44  {
45  return $this->int("node_id");
46  }
47 
48  public function getProfileId(): int
49  {
50  return $this->int("profile_id");
51  }
52 
53  public function getSkillId(): int
54  {
55  return $this->int("skill_id");
56  }
57 
61  public function getSkillIds(): array
62  {
63  return $this->getIds();
64  }
65 
66  public function getBasicSkillId(): int
67  {
68  return $this->int("basic_skill_id");
69  }
70 
71  public function getTrefId(): int
72  {
73  return $this->int("tref_id");
74  }
75 
76  public function getLevelId(): int
77  {
78  return $this->int("level_id");
79  }
80 
84  public function getWorkspaceIds(): array
85  {
86  return $this->intArray("wsp_ids");
87  }
88 
89  public function getListMode(): string
90  {
91  return $this->str("list_mode");
92  }
93 
94  public function getTypeOfFormation(): int
95  {
96  return $this->int("type_of_formation");
97  }
98 
99  public function getShowTargetLevel(): bool
100  {
101  return $this->bool("target_level");
102  }
103 
104  public function getShowMaterialsResources(): bool
105  {
106  return $this->bool("mat_res");
107  }
108 
109  public function getTableAssignMaterialsAction(): string
110  {
111  return $this->getTableAction("skl_assign_materials_table_action");
112  }
113 
117  public function getTableAssignMaterialsLevelIds(): array
118  {
119  return $this->getTableIds("skl_assign_materials_table_level_ids");
120  }
121 
123  {
124  return $this->int("skl_assign_materials_table_wsp_id");
125  }
126 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
intArray(string $key)
get integer array kindly
Skill gui global request wrapper.
__construct(VocabulariesInterface $vocabularies)
str(string $key)
get string parameter kindly
Request wrapper for personal skills guis.
int(string $key)
get integer parameter 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...