ILIAS  release_8 Revision v8.24
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\User;
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 getRefId(): int
42 {
43 return $this->int("ref_id");
44 }
45
46 public function getLetter(): string
47 {
48 return $this->str("letter");
49 }
50
51 public function getBaseClass(): string
52 {
53 return $this->str("baseClass");
54 }
55
56 public function getSearch(): string
57 {
58 return $this->str("search");
59 }
60
61 public function getJumpToUser(): int
62 {
63 return $this->int("jmpToUser");
64 }
65
66 public function getFieldId(): int
67 {
68 return $this->int("field_id");
69 }
70
71 public function getFetchAll(): bool
72 {
73 return (bool) $this->int("fetchall");
74 }
75
76 public function getTerm(): string
77 {
78 return $this->str("term");
79 }
80
81 public function getStartingPointId(): string
82 {
83 $id = $this->str("spid");
84 if ($id === '0' || $id === '') {
85 $id = $this->str("start_point_id");
86 }
87 return $id;
88 }
89
90 public function getRoleId(): string
91 {
92 $role_id = $this->str("rolid");
93 if ($role_id === '0' || $role_id === '') {
94 $role_id = $this->str("role_id");
95 }
96 return $role_id;
97 }
98
99 public function getActionActive(): array // Missing array type.
100 {
101 return $this->intArray("active");
102 }
103
104 public function getIds(): array // Missing array type.
105 {
106 return $this->intArray("id");
107 }
108
109 public function getChecked(): array // Missing array type.
110 {
111 return $this->intArray("chb");
112 }
113
114 public function getFieldType(): int
115 {
116 return $this->int("field_type");
117 }
118
119 public function getFields(): array // Missing array type.
120 {
121 return $this->intArray("fields");
122 }
123
124 public function getSelectedAction(): string
125 {
126 return $this->str("selectedAction");
127 }
128
129 public function getFrSearch(): bool
130 {
131 return $this->int("frsrch");
132 }
133
134 public function getSelect(): array // Missing array type.
135 {
136 return $this->strArray("select");
137 }
138
139 public function getFiles(): array // Missing array type.
140 {
141 return $this->strArray("file");
142 }
143
144 public function getExportType(): string
145 {
146 return $this->str("export_type");
147 }
148
149 public function getMailSalutation(string $gender, string $lang): string
150 {
151 return $this->str("sal_" . $gender . "_" . $lang);
152 }
153
154 public function getMailSubject(string $lang): string
155 {
156 return $this->str("subject_" . $lang);
157 }
158
159 public function getMailBody(string $lang): string
160 {
161 return $this->str("body_" . $lang);
162 }
163
164 public function getMailAttDelete(string $lang): bool
165 {
166 return (bool) $this->int("att_" . $lang . "_delete");
167 }
168
169 public function getSelectAll(): bool
170 {
171 return (bool) $this->int("select_cmd_all");
172 }
173
174 public function getRoleIds(): array // Missing array type.
175 {
176 return $this->intArray("role_id");
177 }
178
179 public function getPostedRoleIds(): array // Missing array type.
180 {
181 return $this->intArray("role_id_ctrl");
182 }
183
184 public function getFilteredRoles(): int
185 {
186 return $this->int("filter");
187 }
188
189 public function getSendMail(): string
190 {
191 return $this->str("send_mail");
192 }
193
194 public function getPassword(): string
195 {
196 return $this->str("passwd");
197 }
198
199 public function getUDFs(): array // Missing array type.
200 {
201 return $this->strArray("udf");
202 }
203
204 public function getPositions(): array // Missing array type.
205 {
206 return $this->intArray("position");
207 }
208
209 public function getCurrentPassword(): string
210 {
211 return $this->str("current_password");
212 }
213
214 public function getNewPassword(): string
215 {
216 return $this->str("new_password");
217 }
218}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
getMailSalutation(string $gender, string $lang)
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider \MainMenu\Provider.
$http
Definition: raiseError.php:7
$lang
Definition: xapiexit.php:26