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

Request wrapper for guis in skill administration. More...

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

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...
 
 getRefId ()
 
 getNodeId ()
 
 getRootId ()
 
 getTrefId ()
 
 getCombinedSkillId ()
 
 getTemplateMode ()
 
 getTemplatesTree ()
 
 getBackCommand ()
 
 getSkillExpand ()
 
 getSkillProfileId ()
 
 getLocalContext ()
 
 getOrder ()
 
 getLevelId ()
 
 getLevelIds ()
 
 getAssignedLevelIds ()
 
 getResourceIds ()
 
 getSuggested ()
 
 getTrigger ()
 
 getTitles ()
 
 getNodeIds ()
 
 getProfileIds ()
 
 getUserLogin ()
 
 getUsers ()
 
 getUserIds ()
 
 getSelectedIds (string $post_var)
 
 __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 guis in skill administration.

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.SkillAdminGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

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

◆ getAssignedLevelIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getAssignedLevelIds ( )
Returns
string[]

Definition at line 120 of file class.SkillAdminGUIRequest.php.

120 : array
121 {
122 return $this->strArray("ass_id");
123 }
strArray(string $key)
get string array kindly

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

+ Here is the call graph for this function:

◆ getBackCommand()

ILIAS\Skill\Service\SkillAdminGUIRequest::getBackCommand ( )

Definition at line 76 of file class.SkillAdminGUIRequest.php.

76 : string
77 {
78 return $this->str("backcmd");
79 }
str(string $key)
get string parameter kindly

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

+ Here is the call graph for this function:

◆ getCombinedSkillId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getCombinedSkillId ( )

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

61 : string
62 {
63 return $this->str("cskill_id");
64 }

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

+ Here is the call graph for this function:

◆ getLevelId()

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

Definition at line 104 of file class.SkillAdminGUIRequest.php.

104 : int
105 {
106 return $this->int("level_id");
107 }
int(string $key)
get integer parameter kindly

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

+ Here is the call graph for this function:

◆ getLevelIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getLevelIds ( )
Returns
int[]

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

112 : array
113 {
114 return $this->getIds();
115 }

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

+ Here is the call graph for this function:

◆ getLocalContext()

ILIAS\Skill\Service\SkillAdminGUIRequest::getLocalContext ( )

Definition at line 91 of file class.SkillAdminGUIRequest.php.

91 : bool
92 {
93 return $this->bool("local_context");
94 }
bool(string $key)
get bool parameter kindly

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

+ Here is the call graph for this function:

◆ getNodeId()

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

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

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

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

Referenced by ilSkillCategoryGUI\addCreationButtons(), and ilSkillTemplateCategoryGUI\addCreationButtons().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getNodeIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getNodeIds ( )
Returns
int[]

Definition at line 160 of file class.SkillAdminGUIRequest.php.

160 : array
161 {
162 return $this->getIds();
163 }

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

+ Here is the call graph for this function:

◆ getOrder()

ILIAS\Skill\Service\SkillAdminGUIRequest::getOrder ( )
Returns
int[]

Definition at line 99 of file class.SkillAdminGUIRequest.php.

99 : array
100 {
101 return $this->intArray("order");
102 }
intArray(string $key)
get integer array kindly

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

+ Here is the call graph for this function:

◆ getProfileIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getProfileIds ( )
Returns
int[]

Definition at line 168 of file class.SkillAdminGUIRequest.php.

168 : array
169 {
170 return $this->getIds();
171 }

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

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getRefId ( )

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

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

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

+ Here is the call graph for this function:

◆ getResourceIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getResourceIds ( )
Returns
int[]

Definition at line 128 of file class.SkillAdminGUIRequest.php.

128 : array
129 {
130 return $this->getIds();
131 }

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

+ Here is the call graph for this function:

◆ getRootId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getRootId ( )

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

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

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

+ Here is the call graph for this function:

◆ getSelectedIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSelectedIds ( string  $post_var)
Returns
string[]

Definition at line 197 of file class.SkillAdminGUIRequest.php.

197 : array
198 {
199 return $this->strArray($post_var);
200 }

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

+ Here is the call graph for this function:

◆ getSkillExpand()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSkillExpand ( )

Definition at line 81 of file class.SkillAdminGUIRequest.php.

81 : string
82 {
83 return $this->str("skexpand");
84 }

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

+ Here is the call graph for this function:

◆ getSkillProfileId()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSkillProfileId ( )

Definition at line 86 of file class.SkillAdminGUIRequest.php.

86 : int
87 {
88 return $this->int("sprof_id");
89 }

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

+ Here is the call graph for this function:

◆ getSuggested()

ILIAS\Skill\Service\SkillAdminGUIRequest::getSuggested ( )
Returns
bool[]

Definition at line 136 of file class.SkillAdminGUIRequest.php.

136 : array
137 {
138 return $this->boolArray("suggested");
139 }
boolArray(string $key)
get bool array kindly

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

+ Here is the call graph for this function:

◆ getTemplateMode()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTemplateMode ( )

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

66 : bool
67 {
68 return $this->bool("tmpmode");
69 }

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

+ Here is the call graph for this function:

◆ getTemplatesTree()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTemplatesTree ( )

Definition at line 71 of file class.SkillAdminGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getTitles()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTitles ( )
Returns
string[]

Definition at line 152 of file class.SkillAdminGUIRequest.php.

152 : array
153 {
154 return $this->strArray("title");
155 }

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

+ Here is the call graph for this function:

◆ getTrefId()

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

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

56 : int
57 {
58 return $this->int("tref_id");
59 }

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

+ Here is the call graph for this function:

◆ getTrigger()

ILIAS\Skill\Service\SkillAdminGUIRequest::getTrigger ( )
Returns
bool[]

Definition at line 144 of file class.SkillAdminGUIRequest.php.

144 : array
145 {
146 return $this->boolArray("trigger");
147 }

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

+ Here is the call graph for this function:

◆ getUserIds()

ILIAS\Skill\Service\SkillAdminGUIRequest::getUserIds ( )
Returns
int[]

Definition at line 189 of file class.SkillAdminGUIRequest.php.

189 : array
190 {
191 return $this->getIds();
192 }

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

+ Here is the call graph for this function:

◆ getUserLogin()

ILIAS\Skill\Service\SkillAdminGUIRequest::getUserLogin ( )

Definition at line 173 of file class.SkillAdminGUIRequest.php.

173 : string
174 {
175 return $this->str("user_login");
176 }

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

+ Here is the call graph for this function:

◆ getUsers()

ILIAS\Skill\Service\SkillAdminGUIRequest::getUsers ( )
Returns
int[]

Definition at line 181 of file class.SkillAdminGUIRequest.php.

181 : array
182 {
183 return $this->intArray("user");
184 }

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: