ILIAS  release_8 Revision v8.24
ILIAS\Skill\Service\SkillPersonalGUIRequest Class Reference

Request wrapper for personal skills guis. More...

+ Inheritance diagram for ILIAS\Skill\Service\SkillPersonalGUIRequest:
+ Collaboration diagram for ILIAS\Skill\Service\SkillPersonalGUIRequest:

Public Member Functions

 __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. More...
 
 getNodeId ()
 
 getProfileId ()
 
 getSkillId ()
 
 getSkillIds ()
 
 getBasicSkillId ()
 
 getTrefId ()
 
 getLevelId ()
 
 getSelfEvaluationLevelId ()
 
 getWorkspaceId ()
 
 getWorkspaceIds ()
 
 getListMode ()
 
 getTypeOfFormation ()
 
 getShowTargetLevel ()
 
 getShowMaterialsResources ()
 
 __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. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\Skill\Service\SkillGUIRequest
 int (string $key)
 get integer parameter kindly More...
 
 intArray (string $key)
 get integer array kindly More...
 
 str (string $key)
 get string parameter kindly More...
 
 strArray (string $key)
 get string array kindly More...
 
 bool (string $key)
 get bool parameter kindly More...
 
 boolArray (string $key)
 get bool array kindly More...
 
 isArray (string $key)
 Check if parameter is an array. More...
 
 get (string $key, Refinery\Transformation $t)
 Get passed parameter, if not data passed, get key from http request. More...
 
 getIds ()
 
- Protected Attributes inherited from ILIAS\Skill\Service\SkillGUIRequest
HTTP Services $http
 
Refinery Factory $refinery
 
array $passed_query_params = null
 
array $passed_post_data = null
 

Detailed Description

Request wrapper for personal skills guis.

This class processes all request parameters which are not handled by form classes already.

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 30 of file class.SkillPersonalGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Service\SkillPersonalGUIRequest::__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.

If none of these is provided the usual http service wrapper is used to determine the request data.

Reimplemented from ILIAS\Skill\Service\SkillGUIRequest.

Definition at line 32 of file class.SkillPersonalGUIRequest.php.

References ILIAS\Skill\Service\SkillGUIRequest\$http, ILIAS\Skill\Service\SkillGUIRequest\$passed_post_data, ILIAS\Skill\Service\SkillGUIRequest\$passed_query_params, ILIAS\Skill\Service\SkillGUIRequest\$refinery, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBasicSkillId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getBasicSkillId ( )

Definition at line 64 of file class.SkillPersonalGUIRequest.php.

64 : int
65 {
66 return $this->int("basic_skill_id");
67 }
int(string $key)
get integer parameter kindly

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getLevelId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getLevelId ( )

Definition at line 74 of file class.SkillPersonalGUIRequest.php.

74 : int
75 {
76 return $this->int("level_id");
77 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getListMode()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getListMode ( )

Definition at line 97 of file class.SkillPersonalGUIRequest.php.

97 : string
98 {
99 return $this->str("list_mode");
100 }
str(string $key)
get string parameter kindly

References ILIAS\Skill\Service\SkillGUIRequest\str().

+ Here is the call graph for this function:

◆ getNodeId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getNodeId ( )

Definition at line 41 of file class.SkillPersonalGUIRequest.php.

41 : int
42 {
43 return $this->int("node_id");
44 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getProfileId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getProfileId ( )

Definition at line 46 of file class.SkillPersonalGUIRequest.php.

46 : int
47 {
48 return $this->int("profile_id");
49 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getSelfEvaluationLevelId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getSelfEvaluationLevelId ( )

Definition at line 79 of file class.SkillPersonalGUIRequest.php.

79 : int
80 {
81 return $this->int("se");
82 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getShowMaterialsResources()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getShowMaterialsResources ( )

Definition at line 112 of file class.SkillPersonalGUIRequest.php.

112 : bool
113 {
114 return $this->bool("mat_res");
115 }
bool(string $key)
get bool parameter kindly

References ILIAS\Skill\Service\SkillGUIRequest\bool().

+ Here is the call graph for this function:

◆ getShowTargetLevel()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getShowTargetLevel ( )

Definition at line 107 of file class.SkillPersonalGUIRequest.php.

107 : bool
108 {
109 return $this->bool("target_level");
110 }

References ILIAS\Skill\Service\SkillGUIRequest\bool().

+ Here is the call graph for this function:

◆ getSkillId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getSkillId ( )

Definition at line 51 of file class.SkillPersonalGUIRequest.php.

51 : int
52 {
53 return $this->int("skill_id");
54 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getSkillIds()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getSkillIds ( )
Returns
int[]

Definition at line 59 of file class.SkillPersonalGUIRequest.php.

59 : array
60 {
61 return $this->getIds();
62 }

References ILIAS\Skill\Service\SkillGUIRequest\getIds().

+ Here is the call graph for this function:

◆ getTrefId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getTrefId ( )

Definition at line 69 of file class.SkillPersonalGUIRequest.php.

69 : int
70 {
71 return $this->int("tref_id");
72 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getTypeOfFormation()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getTypeOfFormation ( )

Definition at line 102 of file class.SkillPersonalGUIRequest.php.

102 : int
103 {
104 return $this->int("type_of_formation");
105 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getWorkspaceId()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getWorkspaceId ( )

Definition at line 84 of file class.SkillPersonalGUIRequest.php.

84 : int
85 {
86 return $this->int("wsp_id");
87 }

References ILIAS\Skill\Service\SkillGUIRequest\int().

+ Here is the call graph for this function:

◆ getWorkspaceIds()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getWorkspaceIds ( )
Returns
int[]

Definition at line 92 of file class.SkillPersonalGUIRequest.php.

92 : array
93 {
94 return $this->intArray("wsp_ids");
95 }
intArray(string $key)
get integer array kindly

References ILIAS\Skill\Service\SkillGUIRequest\intArray().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: