ILIAS  release_8 Revision v8.24
class.SkillPersonalGUIRequest.php
Go to the documentation of this file.
1<?php
2
20namespace ILIAS\Skill\Service;
21
22use ILIAS\HTTP;
24
31{
32 public function __construct(
33 HTTP\Services $http,
34 Refinery\Factory $refinery,
35 ?array $passed_query_params = null,
36 ?array $passed_post_data = null
37 ) {
39 }
40
41 public function getNodeId(): int
42 {
43 return $this->int("node_id");
44 }
45
46 public function getProfileId(): int
47 {
48 return $this->int("profile_id");
49 }
50
51 public function getSkillId(): int
52 {
53 return $this->int("skill_id");
54 }
55
59 public function getSkillIds(): array
60 {
61 return $this->getIds();
62 }
63
64 public function getBasicSkillId(): int
65 {
66 return $this->int("basic_skill_id");
67 }
68
69 public function getTrefId(): int
70 {
71 return $this->int("tref_id");
72 }
73
74 public function getLevelId(): int
75 {
76 return $this->int("level_id");
77 }
78
79 public function getSelfEvaluationLevelId(): int
80 {
81 return $this->int("se");
82 }
83
84 public function getWorkspaceId(): int
85 {
86 return $this->int("wsp_id");
87 }
88
92 public function getWorkspaceIds(): array
93 {
94 return $this->intArray("wsp_ids");
95 }
96
97 public function getListMode(): string
98 {
99 return $this->str("list_mode");
100 }
101
102 public function getTypeOfFormation(): int
103 {
104 return $this->int("type_of_formation");
105 }
106
107 public function getShowTargetLevel(): bool
108 {
109 return $this->bool("target_level");
110 }
111
113 {
114 return $this->bool("mat_res");
115 }
116}
Builds data types.
Definition: Factory.php:21
Class Services.
Definition: Services.php:38
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ByTrying.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...