ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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)
 
 getTableTreeAction ()
 
 getTableTreeIds ()
 
 getTableProfileAction ()
 
 getTableProfileIds ()
 
 getTableProfileUserAssignmentAction ()
 
 getTableProfileUserAssignmentIds ()
 
 getTableLevelResourcesAction ()
 
 getTableRepoRefIds ()
 
 __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 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 31 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 33 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 121 of file class.SkillAdminGUIRequest.php.

121 : array
122 {
123 return $this->strArray("ass_id");
124 }
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 77 of file class.SkillAdminGUIRequest.php.

77 : string
78 {
79 return $this->str("backcmd");
80 }
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 62 of file class.SkillAdminGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getLevelId()

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

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

105 : int
106 {
107 return $this->int("level_id");
108 }
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 113 of file class.SkillAdminGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getLocalContext()

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

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

92 : bool
93 {
94 return $this->bool("local_context");
95 }
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 47 of file class.SkillAdminGUIRequest.php.

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

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 161 of file class.SkillAdminGUIRequest.php.

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

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 100 of file class.SkillAdminGUIRequest.php.

100 : array
101 {
102 return $this->intArray("order");
103 }
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 169 of file class.SkillAdminGUIRequest.php.

169 : array
170 {
171 return $this->getInterruptiveItemIds();
172 }

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

+ Here is the call graph for this function:

◆ getRefId()

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

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

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

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 129 of file class.SkillAdminGUIRequest.php.

129 : array
130 {
131 return $this->getInterruptiveItemIds();
132 }

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

+ Here is the call graph for this function:

◆ getRootId()

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

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

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

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 198 of file class.SkillAdminGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getSkillExpand()

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

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

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

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

+ Here is the call graph for this function:

◆ getSkillProfileId()

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

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

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

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 137 of file class.SkillAdminGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getTableLevelResourcesAction()

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

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

242 : string
243 {
244 return $this->getTableAction("skl_level_resources_table_action");
245 }

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

+ Here is the call graph for this function:

◆ getTableProfileAction()

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

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

216 : string
217 {
218 return $this->getTableAction("skl_profile_table_action");
219 }

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

+ Here is the call graph for this function:

◆ getTableProfileIds()

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

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

224 : array
225 {
226 return $this->getTableIds("skl_profile_table_profile_ids");
227 }

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

+ Here is the call graph for this function:

◆ getTableProfileUserAssignmentAction()

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

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

229 : string
230 {
231 return $this->getTableAction("skl_profile_user_assignment_table_action");
232 }

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

+ Here is the call graph for this function:

◆ getTableProfileUserAssignmentIds()

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

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

237 : array
238 {
239 return $this->getTableIds("skl_profile_user_assignment_table_ass_ids");
240 }

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

+ Here is the call graph for this function:

◆ getTableRepoRefIds()

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

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

250 : array
251 {
252 return $this->getTableIds("skl_level_resources_table_rep_ref_ids");
253 }

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

+ Here is the call graph for this function:

◆ getTableTreeAction()

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

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

203 : string
204 {
205 return $this->getTableAction("skl_tree_table_action");
206 }

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

+ Here is the call graph for this function:

◆ getTableTreeIds()

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

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

211 : array
212 {
213 return $this->getTableIds("skl_tree_table_tree_ids");
214 }

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

+ Here is the call graph for this function:

◆ getTemplateMode()

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

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

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

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

+ Here is the call graph for this function:

◆ getTemplatesTree()

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

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

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

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 153 of file class.SkillAdminGUIRequest.php.

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

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

+ Here is the call graph for this function:

◆ getTrefId()

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

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

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

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 145 of file class.SkillAdminGUIRequest.php.

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

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 190 of file class.SkillAdminGUIRequest.php.

190 : array
191 {
192 return $this->getInterruptiveItemIds();
193 }

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

+ Here is the call graph for this function:

◆ getUserLogin()

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

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

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

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 182 of file class.SkillAdminGUIRequest.php.

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

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: