ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Container\Skills\SkillContainerGUIRequest Class Reference

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

+ Inheritance diagram for ILIAS\Container\Skills\SkillContainerGUIRequest:
+ Collaboration diagram for ILIAS\Container\Skills\SkillContainerGUIRequest:

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...
 
 getUserId ()
 
 getUserIds ()
 
 getSelectedSkill ()
 
 getCombinedSkillIds ()
 
 getSelectedProfileId ()
 
 getProfileIds ()
 
 __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 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 33 of file class.SkillContainerGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Container\Skills\SkillContainerGUIRequest::__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 35 of file class.SkillContainerGUIRequest.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

◆ getCombinedSkillIds()

ILIAS\Container\Skills\SkillContainerGUIRequest::getCombinedSkillIds ( )

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

59 : array
60 {
61 return $this->strArray("id");
62 }
strArray(string $key)
get string array kindly

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

+ Here is the call graph for this function:

◆ getProfileIds()

ILIAS\Container\Skills\SkillContainerGUIRequest::getProfileIds ( )

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

69 : array
70 {
71 return $this->getIds();
72 }

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

+ Here is the call graph for this function:

◆ getSelectedProfileId()

ILIAS\Container\Skills\SkillContainerGUIRequest::getSelectedProfileId ( )

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

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

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

+ Here is the call graph for this function:

◆ getSelectedSkill()

ILIAS\Container\Skills\SkillContainerGUIRequest::getSelectedSkill ( )

Definition at line 54 of file class.SkillContainerGUIRequest.php.

54 : string
55 {
56 return $this->str("selected_skill");
57 }
str(string $key)
get string parameter kindly

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

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\Container\Skills\SkillContainerGUIRequest::getUserId ( )

Definition at line 44 of file class.SkillContainerGUIRequest.php.

44 : int
45 {
46 return $this->int("usr_id");
47 }

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

+ Here is the call graph for this function:

◆ getUserIds()

ILIAS\Container\Skills\SkillContainerGUIRequest::getUserIds ( )

Definition at line 49 of file class.SkillContainerGUIRequest.php.

49 : array
50 {
51 return $this->intArray("usr_ids");
52 }
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: