ILIAS  release_8 Revision v8.23
ilSkillContainerGUIRequest Class Reference

Request wrapper for skill guis in container classes. More...

+ Inheritance diagram for ilSkillContainerGUIRequest:
+ Collaboration diagram for ilSkillContainerGUIRequest:

Public Member Functions

 __construct (?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getUserId ()
 
 getUserIds ()
 
 getSelectedSkill ()
 
 getCombinedSkillIds ()
 
 getSelectedProfileId ()
 
 getProfileIds ()
 
- Public Member Functions inherited from ILIAS\Skill\Service\SkillGUIRequest
 __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 skill guis in container classes.

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 27 of file class.ilSkillContainerGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ilSkillContainerGUIRequest::__construct ( ?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Member Function Documentation

◆ getCombinedSkillIds()

ilSkillContainerGUIRequest::getCombinedSkillIds ( )

Definition at line 56 of file class.ilSkillContainerGUIRequest.php.

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

56  : array
57  {
58  return $this->strArray("id");
59  }
strArray(string $key)
get string array kindly
+ Here is the call graph for this function:

◆ getProfileIds()

ilSkillContainerGUIRequest::getProfileIds ( )

Definition at line 66 of file class.ilSkillContainerGUIRequest.php.

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

66  : array
67  {
68  return $this->getIds();
69  }
+ Here is the call graph for this function:

◆ getSelectedProfileId()

ilSkillContainerGUIRequest::getSelectedProfileId ( )

Definition at line 61 of file class.ilSkillContainerGUIRequest.php.

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

61  : int
62  {
63  return $this->int("p_id");
64  }
int(string $key)
get integer parameter kindly
+ Here is the call graph for this function:

◆ getSelectedSkill()

ilSkillContainerGUIRequest::getSelectedSkill ( )

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

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

51  : string
52  {
53  return $this->str("selected_skill");
54  }
str(string $key)
get string parameter kindly
+ Here is the call graph for this function:

◆ getUserId()

ilSkillContainerGUIRequest::getUserId ( )

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

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

41  : int
42  {
43  return $this->int("usr_id");
44  }
int(string $key)
get integer parameter kindly
+ Here is the call graph for this function:

◆ getUserIds()

ilSkillContainerGUIRequest::getUserIds ( )

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

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

46  : array
47  {
48  return $this->intArray("usr_ids");
49  }
intArray(string $key)
get integer array kindly
+ Here is the call graph for this function:

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