ILIAS  release_8 Revision v8.24
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\Link;
20
22
24{
26
27 public function __construct(
28 \ILIAS\HTTP\Services $http,
29 \ILIAS\Refinery\Factory $refinery,
30 ?array $passed_query_params = null,
31 ?array $passed_post_data = null
32 ) {
33 $this->initRequest(
34 $http,
38 );
39 }
40
41 public function getLinkParentRefId(): int
42 {
43 return $this->int("link_par_ref_id");
44 }
45
46 public function getLinkParentFolderId(): int
47 {
48 return $this->int("link_par_fold_id");
49 }
50
51 public function getLinkParentObjId(): int
52 {
53 return $this->int("link_par_obj_id");
54 }
55
56 public function getLinkType(): string
57 {
58 return $this->str("link_type");
59 }
60
61 public function getMediaPoolFolder(): int
62 {
63 return $this->int("mep_fold");
64 }
65
66 public function getDo(): string
67 {
68 return $this->str("do");
69 }
70
71 public function getSelectedId(): int
72 {
73 return $this->int("sel_id");
74 }
75
76 public function getUserSearchStr(): string
77 {
78 return $this->str("usr_search_str");
79 }
80}
Refinery Factory $refinery
trait BaseGUIRequest
Base gui request wrapper.
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.
Class ChatMainBarProvider \MainMenu\Provider.
$http
Definition: raiseError.php:7