ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Survey\Editing\EditingGUIRequest Class Reference
+ Collaboration diagram for ILIAS\Survey\Editing\EditingGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
 
 getRefId ()
 
 getSelectedQuestionTypes ()
 
 getNewId ()
 
 getNewType ()
 
 getFetchAll ()
 
 getTerm ()
 
 getIds ()
 
 getUserIds ()
 
 getAppraiseeIds ()
 
 getAppraiseeId ()
 
 getAppr360 ()
 
 getRate360 ()
 
 getCodes ()
 
 getCodesPar ($key)
 
 getCodeMailPart ($key)
 
 getExternalText ()
 
 getSaveMessageTitle ()
 
 getSaveMessage ()
 
 getPoolUsage ()
 
 getLang ()
 
 getNrOfCodes ()
 
 getOrder ()
 
 getBlockOrder ()
 
 getObligatory ()
 
 getQuestionIdsFromString ()
 
 getSelectedPool ()
 
 getDataType ()
 
 getQuestionIds ()
 
 getQuestionId ()
 
 getBlockId ()
 
 getExportLabel ()
 
 getPoolName ()
 
 getBlockIds ()
 
 getQuestionType ()
 
 getTargetPosition ()
 
 getTargetQuestionPosition ()
 
 getHeadings ()
 
 getPage ()
 
 getNewForSurvey ()
 
 getHForm ($key)
 
 getJump ()
 
 getCheckSum ()
 
 getOldPosition ()
 
 getCodeIds ()
 
 getRaterIds ()
 
 getRaterId ()
 
 getRecipients ()
 
 getMail ()
 
 getBaseClass ()
 
 getReturnedFromMail ()
 
 getUseAnonymousId ()
 
 getStep ()
 
 getStart ()
 
 getPrecondition ()
 
 getConstraintPar ($key)
 
 getIncludeElements ()
 
 getObjId ()
 
 getSelectedSkill ()
 
 getSkillId ()
 
 getTrefId ()
 
 getSkill ()
 
 getThresholds ()
 
 getPrintSelection ()
 
 getIncludeLables ()
 

Protected Attributes

array $params
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 26 of file class.EditingGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Editing\EditingGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery 
)

Definition at line 32 of file class.EditingGUIRequest.php.

References ILIAS\Repository\initRequest().

35  {
36  $this->initRequest(
37  $http,
38  $refinery
39  );
40  }
initRequest(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.
$http
Definition: raiseError.php:7
Refinery Factory $refinery
+ Here is the call graph for this function:

Member Function Documentation

◆ getAppr360()

ILIAS\Survey\Editing\EditingGUIRequest::getAppr360 ( )

Definition at line 95 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

95  : int
96  {
97  return $this->int("appr360");
98  }
+ Here is the call graph for this function:

◆ getAppraiseeId()

ILIAS\Survey\Editing\EditingGUIRequest::getAppraiseeId ( )

Definition at line 90 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

90  : int
91  {
92  return $this->int("appr_id");
93  }
+ Here is the call graph for this function:

◆ getAppraiseeIds()

ILIAS\Survey\Editing\EditingGUIRequest::getAppraiseeIds ( )
Returns
int[]

Definition at line 85 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

85  : array
86  {
87  return $this->intArray("appr_id");
88  }
+ Here is the call graph for this function:

◆ getBaseClass()

ILIAS\Survey\Editing\EditingGUIRequest::getBaseClass ( )

Definition at line 317 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

317  : string
318  {
319  return $this->str("baseClass");
320  }
+ Here is the call graph for this function:

◆ getBlockId()

ILIAS\Survey\Editing\EditingGUIRequest::getBlockId ( )

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

References ILIAS\Repository\int().

203  : int
204  {
205  return $this->int("bl_id");
206  }
+ Here is the call graph for this function:

◆ getBlockIds()

ILIAS\Survey\Editing\EditingGUIRequest::getBlockIds ( )
Returns
int[]

Definition at line 220 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

220  : array
221  {
222  return $this->intArray("cb");
223  }
+ Here is the call graph for this function:

◆ getBlockOrder()

ILIAS\Survey\Editing\EditingGUIRequest::getBlockOrder ( )
Returns
array[]

Definition at line 159 of file class.EditingGUIRequest.php.

References ILIAS\Repository\arrayArray().

159  : array
160  {
161  return $this->arrayArray("block_order");
162  }
+ Here is the call graph for this function:

◆ getCheckSum()

ILIAS\Survey\Editing\EditingGUIRequest::getCheckSum ( )

Definition at line 270 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

270  : string
271  {
272  return $this->str("csum");
273  }
+ Here is the call graph for this function:

◆ getCodeIds()

ILIAS\Survey\Editing\EditingGUIRequest::getCodeIds ( )

Definition at line 280 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str(), and ILIAS\Repository\strArray().

280  : array
281  {
282  $ids = $this->str("new_ids");
283  if ($ids !== "") {
284  $ids = explode(";", $ids);
285  } else {
286  $ids = $this->strArray("chb_code");
287  }
288  return $ids;
289  }
+ Here is the call graph for this function:

◆ getCodeMailPart()

ILIAS\Survey\Editing\EditingGUIRequest::getCodeMailPart (   $key)

Definition at line 117 of file class.EditingGUIRequest.php.

References ILIAS\LTI\ToolProvider\$key, and ILIAS\Repository\str().

117  : string
118  {
119  return $this->str("m_" . $key);
120  }
string $key
Consumer key/client ID value.
Definition: System.php:193
+ Here is the call graph for this function:

◆ getCodes()

ILIAS\Survey\Editing\EditingGUIRequest::getCodes ( )
Returns
string[]

Definition at line 106 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

106  : array
107  {
108  return $this->strArray("chb_code");
109  }
+ Here is the call graph for this function:

◆ getCodesPar()

ILIAS\Survey\Editing\EditingGUIRequest::getCodesPar (   $key)
Returns
string[]

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

References ILIAS\LTI\ToolProvider\$key, and ILIAS\Repository\strArray().

112  : array
113  {
114  return $this->strArray("chb_" . $key);
115  }
string $key
Consumer key/client ID value.
Definition: System.php:193
+ Here is the call graph for this function:

◆ getConstraintPar()

ILIAS\Survey\Editing\EditingGUIRequest::getConstraintPar (   $key)

Definition at line 349 of file class.EditingGUIRequest.php.

References ILIAS\LTI\ToolProvider\$key, and ILIAS\Repository\str().

349  : string
350  {
351  return $this->str($key);
352  }
string $key
Consumer key/client ID value.
Definition: System.php:193
+ Here is the call graph for this function:

◆ getDataType()

ILIAS\Survey\Editing\EditingGUIRequest::getDataType ( )

Definition at line 180 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

180  : int
181  {
182  return $this->int("datatype");
183  }
+ Here is the call graph for this function:

◆ getExportLabel()

ILIAS\Survey\Editing\EditingGUIRequest::getExportLabel ( )

Definition at line 209 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

209  : int
210  {
211  return $this->int("export_label");
212  }
+ Here is the call graph for this function:

◆ getExternalText()

ILIAS\Survey\Editing\EditingGUIRequest::getExternalText ( )

Definition at line 122 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

122  : string
123  {
124  return $this->str("externaltext");
125  }
+ Here is the call graph for this function:

◆ getFetchAll()

ILIAS\Survey\Editing\EditingGUIRequest::getFetchAll ( )

Definition at line 62 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

62  : int
63  {
64  return $this->int("fetchall");
65  }
+ Here is the call graph for this function:

◆ getHeadings()

ILIAS\Survey\Editing\EditingGUIRequest::getHeadings ( )
Returns
int[]

Definition at line 245 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

245  : array
246  {
247  return $this->intArray("heading");
248  }
+ Here is the call graph for this function:

◆ getHForm()

ILIAS\Survey\Editing\EditingGUIRequest::getHForm (   $key)

Definition at line 260 of file class.EditingGUIRequest.php.

References ILIAS\LTI\ToolProvider\$key, and ILIAS\Repository\str().

260  : string
261  {
262  return $this->str("il_hform_" . $key);
263  }
string $key
Consumer key/client ID value.
Definition: System.php:193
+ Here is the call graph for this function:

◆ getIds()

ILIAS\Survey\Editing\EditingGUIRequest::getIds ( )
Returns
string[]

Definition at line 73 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

73  : array
74  {
75  return $this->strArray("id");
76  }
+ Here is the call graph for this function:

◆ getIncludeElements()

ILIAS\Survey\Editing\EditingGUIRequest::getIncludeElements ( )

Definition at line 354 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

354  : array
355  {
356  return $this->strArray("includeElements");
357  }
+ Here is the call graph for this function:

◆ getIncludeLables()

ILIAS\Survey\Editing\EditingGUIRequest::getIncludeLables ( )

Definition at line 396 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int(), and ILIAS\Repository\str().

396  : bool
397  {
398  return (bool) (int) $this->str("include_labels");
399  }
+ Here is the call graph for this function:

◆ getJump()

ILIAS\Survey\Editing\EditingGUIRequest::getJump ( )

Definition at line 265 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

265  : string
266  {
267  return $this->str("jump");
268  }
+ Here is the call graph for this function:

◆ getLang()

ILIAS\Survey\Editing\EditingGUIRequest::getLang ( )

Definition at line 142 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

142  : string
143  {
144  return $this->str("lang");
145  }
+ Here is the call graph for this function:

◆ getMail()

ILIAS\Survey\Editing\EditingGUIRequest::getMail ( )

Definition at line 312 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

312  : string
313  {
314  return $this->str("mail");
315  }
+ Here is the call graph for this function:

◆ getNewForSurvey()

ILIAS\Survey\Editing\EditingGUIRequest::getNewForSurvey ( )

Definition at line 255 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

255  : int
256  {
257  return $this->int("new_for_survey");
258  }
+ Here is the call graph for this function:

◆ getNewId()

ILIAS\Survey\Editing\EditingGUIRequest::getNewId ( )

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

References ILIAS\Repository\int().

52  : int
53  {
54  return $this->int("new_id");
55  }
+ Here is the call graph for this function:

◆ getNewType()

ILIAS\Survey\Editing\EditingGUIRequest::getNewType ( )

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

References ILIAS\Repository\str().

57  : string
58  {
59  return $this->str("new_type");
60  }
+ Here is the call graph for this function:

◆ getNrOfCodes()

ILIAS\Survey\Editing\EditingGUIRequest::getNrOfCodes ( )

Definition at line 147 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

147  : int
148  {
149  return $this->int("nrOfCodes");
150  }
+ Here is the call graph for this function:

◆ getObjId()

ILIAS\Survey\Editing\EditingGUIRequest::getObjId ( )

Definition at line 361 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

361  : int
362  {
363  return $this->int("obj_id");
364  }
+ Here is the call graph for this function:

◆ getObligatory()

ILIAS\Survey\Editing\EditingGUIRequest::getObligatory ( )
Returns
int[]

Definition at line 165 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

165  : array
166  {
167  return $this->intArray("obligatory");
168  }
+ Here is the call graph for this function:

◆ getOldPosition()

ILIAS\Survey\Editing\EditingGUIRequest::getOldPosition ( )

Definition at line 275 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

275  : int
276  {
277  return $this->int("old_pos");
278  }
+ Here is the call graph for this function:

◆ getOrder()

ILIAS\Survey\Editing\EditingGUIRequest::getOrder ( )
Returns
string[]

Definition at line 153 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

153  : array
154  {
155  return $this->strArray("order");
156  }
+ Here is the call graph for this function:

◆ getPage()

ILIAS\Survey\Editing\EditingGUIRequest::getPage ( )

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

References ILIAS\Repository\int().

250  : int
251  {
252  return $this->int("pg");
253  }
+ Here is the call graph for this function:

◆ getPoolName()

ILIAS\Survey\Editing\EditingGUIRequest::getPoolName ( )

Definition at line 214 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

214  : string
215  {
216  return $this->str("name_spl");
217  }
+ Here is the call graph for this function:

◆ getPoolUsage()

ILIAS\Survey\Editing\EditingGUIRequest::getPoolUsage ( )

Definition at line 137 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

137  : int
138  {
139  return $this->int("usage");
140  }
+ Here is the call graph for this function:

◆ getPrecondition()

ILIAS\Survey\Editing\EditingGUIRequest::getPrecondition ( )

Definition at line 344 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

344  : string
345  {
346  return $this->str("precondition");
347  }
+ Here is the call graph for this function:

◆ getPrintSelection()

ILIAS\Survey\Editing\EditingGUIRequest::getPrintSelection ( )

Definition at line 391 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

391  : string
392  {
393  return $this->str("print_selection");
394  }
+ Here is the call graph for this function:

◆ getQuestionId()

ILIAS\Survey\Editing\EditingGUIRequest::getQuestionId ( )

Definition at line 195 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int(), and ILIAS\Repository\isArray().

195  : int
196  {
197  if (!$this->isArray("q_id")) {
198  return $this->int("q_id");
199  }
200  return 0;
201  }
isArray(string $key)
Check if parameter is an array.
+ Here is the call graph for this function:

◆ getQuestionIds()

ILIAS\Survey\Editing\EditingGUIRequest::getQuestionIds ( )
Returns
int[]

Definition at line 186 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

186  : array
187  {
188  $qids = $this->intArray("q_id");
189  if (count($qids) === 0) {
190  $qids = $this->intArray("qids");
191  }
192  return $qids;
193  }
+ Here is the call graph for this function:

◆ getQuestionIdsFromString()

ILIAS\Survey\Editing\EditingGUIRequest::getQuestionIdsFromString ( )

Definition at line 170 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

170  : array
171  {
172  return explode(";", $this->str("question_ids"));
173  }
+ Here is the call graph for this function:

◆ getQuestionType()

ILIAS\Survey\Editing\EditingGUIRequest::getQuestionType ( )

Definition at line 225 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

225  : int
226  {
227  return $this->int("qtype");
228  }
+ Here is the call graph for this function:

◆ getRate360()

ILIAS\Survey\Editing\EditingGUIRequest::getRate360 ( )

Definition at line 100 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

100  : int
101  {
102  return $this->int("rate360");
103  }
+ Here is the call graph for this function:

◆ getRaterId()

ILIAS\Survey\Editing\EditingGUIRequest::getRaterId ( )

Definition at line 302 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

302  : string
303  {
304  return $this->str("rater_id");
305  }
+ Here is the call graph for this function:

◆ getRaterIds()

ILIAS\Survey\Editing\EditingGUIRequest::getRaterIds ( )

Definition at line 291 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str(), and ILIAS\Repository\strArray().

291  : array
292  {
293  $ids = $this->str("rater_id");
294  if ($ids !== "") {
295  $ids = explode(";", $ids);
296  } else {
297  $ids = $this->strArray("rtr_id");
298  }
299  return $ids;
300  }
+ Here is the call graph for this function:

◆ getRecipients()

ILIAS\Survey\Editing\EditingGUIRequest::getRecipients ( )

Definition at line 307 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

307  : string
308  {
309  return $this->str("recipients");
310  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Survey\Editing\EditingGUIRequest::getRefId ( )

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

References ILIAS\Repository\int().

42  : int
43  {
44  return $this->int("ref_id");
45  }
+ Here is the call graph for this function:

◆ getReturnedFromMail()

ILIAS\Survey\Editing\EditingGUIRequest::getReturnedFromMail ( )

Definition at line 322 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

322  : int
323  {
324  return $this->int("returned_from_mail");
325  }
+ Here is the call graph for this function:

◆ getSaveMessage()

ILIAS\Survey\Editing\EditingGUIRequest::getSaveMessage ( )

Definition at line 132 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

132  : int
133  {
134  return $this->int("savemessage");
135  }
+ Here is the call graph for this function:

◆ getSaveMessageTitle()

ILIAS\Survey\Editing\EditingGUIRequest::getSaveMessageTitle ( )

Definition at line 127 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

127  : string
128  {
129  return $this->str("savemessagetitle");
130  }
+ Here is the call graph for this function:

◆ getSelectedPool()

ILIAS\Survey\Editing\EditingGUIRequest::getSelectedPool ( )

Definition at line 175 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

175  : int
176  {
177  return $this->int("sel_spl");
178  }
+ Here is the call graph for this function:

◆ getSelectedQuestionTypes()

ILIAS\Survey\Editing\EditingGUIRequest::getSelectedQuestionTypes ( )

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

References ILIAS\Repository\str().

47  : string
48  {
49  return $this->str("sel_question_types");
50  }
+ Here is the call graph for this function:

◆ getSelectedSkill()

ILIAS\Survey\Editing\EditingGUIRequest::getSelectedSkill ( )

Definition at line 366 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

366  : string
367  {
368  return $this->str("selected_skill");
369  }
+ Here is the call graph for this function:

◆ getSkill()

ILIAS\Survey\Editing\EditingGUIRequest::getSkill ( )

Definition at line 381 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

381  : string
382  {
383  return $this->str("skill");
384  }
+ Here is the call graph for this function:

◆ getSkillId()

ILIAS\Survey\Editing\EditingGUIRequest::getSkillId ( )

Definition at line 371 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

371  : int
372  {
373  return $this->int("sk_id");
374  }
+ Here is the call graph for this function:

◆ getStart()

ILIAS\Survey\Editing\EditingGUIRequest::getStart ( )

Definition at line 339 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

339  : int
340  {
341  return $this->int("start");
342  }
+ Here is the call graph for this function:

◆ getStep()

ILIAS\Survey\Editing\EditingGUIRequest::getStep ( )

Definition at line 334 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

334  : int
335  {
336  return $this->int("step");
337  }
+ Here is the call graph for this function:

◆ getTargetPosition()

ILIAS\Survey\Editing\EditingGUIRequest::getTargetPosition ( )

Definition at line 232 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

232  : string
233  {
234  return $this->str("pgov");
235  }
+ Here is the call graph for this function:

◆ getTargetQuestionPosition()

ILIAS\Survey\Editing\EditingGUIRequest::getTargetQuestionPosition ( )

Definition at line 239 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

239  : string
240  {
241  return $this->str("pgov_pos");
242  }
+ Here is the call graph for this function:

◆ getTerm()

ILIAS\Survey\Editing\EditingGUIRequest::getTerm ( )

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

References ILIAS\Repository\str().

67  : string
68  {
69  return $this->str("term");
70  }
+ Here is the call graph for this function:

◆ getThresholds()

ILIAS\Survey\Editing\EditingGUIRequest::getThresholds ( )

Definition at line 386 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

386  : array
387  {
388  return $this->strArray("threshold");
389  }
+ Here is the call graph for this function:

◆ getTrefId()

ILIAS\Survey\Editing\EditingGUIRequest::getTrefId ( )

Definition at line 376 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

376  : int
377  {
378  return $this->int("tref_id");
379  }
+ Here is the call graph for this function:

◆ getUseAnonymousId()

ILIAS\Survey\Editing\EditingGUIRequest::getUseAnonymousId ( )

Definition at line 327 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

327  : int
328  {
329  return $this->int("use_anonymous_id");
330  }
+ Here is the call graph for this function:

◆ getUserIds()

ILIAS\Survey\Editing\EditingGUIRequest::getUserIds ( )
Returns
string[]

Definition at line 79 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

79  : array
80  {
81  return $this->strArray("chbUser");
82  }
+ Here is the call graph for this function:

Field Documentation

◆ $params

array ILIAS\Survey\Editing\EditingGUIRequest::$params
protected

Definition at line 30 of file class.EditingGUIRequest.php.


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