19 declare(strict_types=1);
38 $this->wrapper = $request->wrapper();
39 $this->request = $request->request();
44 return $this->
int(
'ref_id');
49 return $this->
str(
'letter');
54 return $this->
str(
'baseClass');
59 return $this->
str(
'search');
64 return $this->
int(
'jmpToUser');
69 return $this->
int(
'field_id');
74 return (
bool) $this->
int(
'fetchall');
79 return $this->
str(
'term');
84 if (!$this->wrapper->query()->has(
'spid') &&
85 !$this->wrapper->query()->has(
'start_point_id')) {
93 return $this->
int(
'start_point_id');
98 $role_id = $this->
int(
'rolid');
102 return $this->
int(
'role_id');
122 return $this->
int(
'field_type');
132 return $this->
str(
'selectedAction');
137 return $this->
bool(
'frsrch');
152 return $this->
str(
'export_type');
157 return $this->
str(
'sal_' . $gender .
'_' . $lang);
162 return $this->
str(
'subject_' . $lang);
167 return $this->
str(
'body_' . $lang);
172 return (
bool) $this->
int(
'att_' . $lang .
'_delete');
177 return (
bool) $this->
int(
'select_cmd_all');
187 return $this->
intArray(
'role_id_ctrl');
192 return $this->
int(
'filter');
197 return $this->
str(
'send_mail');
202 return $this->
str(
'passwd');
217 return $this->
str(
'current_password');
222 return $this->
str(
'new_password');
228 if ($source ===
'') {
232 $transformation = $this->
refinery->kindlyTo()->int();
239 if ($source ===
'') {
243 $transformation = $this->
refinery->kindlyTo()->bool();
250 if ($source ===
'') {
254 $transformation = $this->
refinery->kindlyTo()->string();
261 if ($source ===
'') {
265 $transformation = $this->
refinery->custom()->transformation(
269 static function ($k, $v): array {
289 if ($source ===
'') {
293 $transformation = $this->
refinery->custom()->transformation(
298 static function ($k, $v): array {
299 return [$k, (
int) $v];
319 return $this->request->getParsedBody();
329 return $this->request->getMethod() ===
'POST';
338 if ($this->wrapper->post()->has($key)) {
342 if ($this->wrapper->query()->has($key)) {
351 if ($source ===
'query') {
352 return $this->wrapper->query()->retrieve($key, $transformation);
355 return $this->wrapper->post()->retrieve($key, $transformation);
getMailAttDelete(string $lang)
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
existsInPostOrQuery(string $key)
getMailSubject(string $lang)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getFromQueryOrPost(string $key, Transformation $transformation, string $source)
__construct(RequestServices $request, private Refinery $refinery)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getMailBody(string $lang)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
RequestInterface $request
getMailSalutation(string $gender, string $lang)
Refinery Factory $refinery