ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 getWorkspaceIds ()
 
 getListMode ()
 
 getTypeOfFormation ()
 
 getShowTargetLevel ()
 
 getShowMaterialsResources ()
 
 getTableAssignMaterialsAction ()
 
 getTableAssignMaterialsLevelIds ()
 
 getTableAssignMaterialsWorkspaceId ()
 
 __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 ()
 
 getTableIds (string $key)
 
 getTableAction (string $key)
 
 getInterruptiveItemIds ()
 
- 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 31 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 33 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 65 of file class.SkillPersonalGUIRequest.php.

65 : int
66 {
67 return $this->int("basic_skill_id");
68 }
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 75 of file class.SkillPersonalGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getListMode()

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

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

88 : string
89 {
90 return $this->str("list_mode");
91 }
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 42 of file class.SkillPersonalGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getProfileId()

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

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

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

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

+ Here is the call graph for this function:

◆ getShowMaterialsResources()

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

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

103 : bool
104 {
105 return $this->bool("mat_res");
106 }
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 98 of file class.SkillPersonalGUIRequest.php.

98 : bool
99 {
100 return $this->bool("target_level");
101 }

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

+ Here is the call graph for this function:

◆ getSkillId()

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

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

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

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 60 of file class.SkillPersonalGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getTableAssignMaterialsAction()

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

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

108 : string
109 {
110 return $this->getTableAction("skl_assign_materials_table_action");
111 }

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

+ Here is the call graph for this function:

◆ getTableAssignMaterialsLevelIds()

ILIAS\Skill\Service\SkillPersonalGUIRequest::getTableAssignMaterialsLevelIds ( )
Returns
string[]

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

116 : array
117 {
118 return $this->getTableIds("skl_assign_materials_table_level_ids");
119 }

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

+ Here is the call graph for this function:

◆ getTableAssignMaterialsWorkspaceId()

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

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

121 : int
122 {
123 return $this->int("skl_assign_materials_table_wsp_id");
124 }

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

+ Here is the call graph for this function:

◆ getTrefId()

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

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

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

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

+ Here is the call graph for this function:

◆ getTypeOfFormation()

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

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

93 : int
94 {
95 return $this->int("type_of_formation");
96 }

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 83 of file class.SkillPersonalGUIRequest.php.

83 : array
84 {
85 return $this->intArray("wsp_ids");
86 }
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: