ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SkillPersonalGUIRequest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Skill\Service;
22
23use ILIAS\HTTP;
25
32{
33 public function __construct(
36 ?array $passed_query_params = null,
37 ?array $passed_post_data = null
38 ) {
40 }
41
42 public function getNodeId(): int
43 {
44 return $this->int("node_id");
45 }
46
47 public function getProfileId(): int
48 {
49 return $this->int("profile_id");
50 }
51
52 public function getSkillId(): int
53 {
54 return $this->int("skill_id");
55 }
56
60 public function getSkillIds(): array
61 {
62 return $this->getIds();
63 }
64
65 public function getBasicSkillId(): int
66 {
67 return $this->int("basic_skill_id");
68 }
69
70 public function getTrefId(): int
71 {
72 return $this->int("tref_id");
73 }
74
75 public function getLevelId(): int
76 {
77 return $this->int("level_id");
78 }
79
83 public function getWorkspaceIds(): array
84 {
85 return $this->intArray("wsp_ids");
86 }
87
88 public function getListMode(): string
89 {
90 return $this->str("list_mode");
91 }
92
93 public function getTypeOfFormation(): int
94 {
95 return $this->int("type_of_formation");
96 }
97
98 public function getShowTargetLevel(): bool
99 {
100 return $this->bool("target_level");
101 }
102
104 {
105 return $this->bool("mat_res");
106 }
107
108 public function getTableAssignMaterialsAction(): string
109 {
110 return $this->getTableAction("skl_assign_materials_table_action");
111 }
112
116 public function getTableAssignMaterialsLevelIds(): array
117 {
118 return $this->getTableIds("skl_assign_materials_table_level_ids");
119 }
120
122 {
123 return $this->int("skl_assign_materials_table_wsp_id");
124 }
125}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
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
str(string $key)
get string parameter kindly
Request wrapper for personal skills guis.
__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.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...