3 declare(strict_types=1);
    47         ?array $passed_query_params = null,
    48         ?array $passed_post_data = null
    61         $t = $this->
refinery->kindlyTo()->int();
    62         return (
int) ($this->
get(
$key, $t) ?? 0);
    74         $t = $this->
refinery->custom()->transformation(
    75             static function (array $arr): array {
    77                 return array_map(
'intval', $arr);
    80         return (array) ($this->
get(
$key, $t) ?? []);
    86     protected function str(
string $key): string
    88         $t = $this->
refinery->kindlyTo()->string();
    89         return \ilUtil::stripSlashes((
string) ($this->
get($key, $t) ?? 
""));
   101         $t = $this->
refinery->custom()->transformation(
   102             static function (array $arr): array {
   105                     static function ($v): 
string {
   106                         return \ilUtil::stripSlashes((
string) $v);
   112         return (array) ($this->
get(
$key, $t) ?? []);
   120         $t = $this->
refinery->kindlyTo()->bool();
   121         return (
bool) ($this->
get(
$key, $t) ?? 
false);
   133         $t = $this->
refinery->custom()->transformation(
   134             static function (array $arr): array {
   136                 return array_map(
'boolval', $arr);
   139         return (array) ($this->
get(
$key, $t) ?? []);
   147         if ($this->passed_query_params === null && $this->passed_post_data === null) {
   148             $no_transform = $this->
refinery->identity();
   149             $w = $this->
http->wrapper();
   150             if ($w->post()->has($key)) {
   151                 return is_array($w->post()->retrieve($key, $no_transform));
   153             if ($w->query()->has($key)) {
   154                 return is_array($w->query()->retrieve($key, $no_transform));
   157         if (isset($this->passed_post_data[$key])) {
   158             return is_array($this->passed_post_data[$key]);
   160         if (isset($this->passed_query_params[$key])) {
   161             return is_array($this->passed_query_params[$key]);
   171     protected function get(
string $key, Refinery\Transformation $t)
   173         if ($this->passed_query_params === null && $this->passed_post_data === null) {
   174             $w = $this->
http->wrapper();
   175             if ($w->post()->has($key)) {
   176                 return $w->post()->retrieve($key, $t);
   178             if ($w->query()->has($key)) {
   179                 return $w->query()->retrieve($key, $t);
   182         if (isset($this->passed_post_data[$key])) {
   183             return $t->transform($this->passed_post_data[$key]);
   185         if (isset($this->passed_query_params[$key])) {
   186             return $t->transform($this->passed_query_params[$key]);
   209         return $this->
str($key);
   217         return $this->
intArray(
"interruptive_items");
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__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. 
 
intArray(string $key)
get integer array kindly 
 
Skill gui global request wrapper. 
 
Refinery Factory $refinery
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static http()
Fetches the global http state from ILIAS. 
 
boolArray(string $key)
get bool array kindly 
 
getTableAction(string $key)
 
str(string $key)
get string parameter kindly 
 
isArray(string $key)
Check if parameter is an array. 
 
int(string $key)
get integer parameter kindly 
 
array $passed_query_params
 
strArray(string $key)
get string array kindly 
 
bool(string $key)
get bool parameter kindly 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...