19declare(strict_types=1);
46 if ($this->wrapper->query()->has($key)) {
47 return $this->wrapper->query()->retrieve($key, $t);
49 if ($this->wrapper->post()->has($key)) {
50 return $this->wrapper->post()->retrieve($key, $t);
55 public function has(
string $key): bool
57 return $this->wrapper->query()->has($key)
58 || $this->wrapper->post()->has($key);
66 public function getMaybeString(
string $key, ?
string $fallback =
null): ?string
76 $this->refinery->kindlyTo()->int()
81 public function getBool(
string $key): bool
88 if ($this->wrapper->query()->has(
'tl_id')) {
89 return [$this->wrapper->query()->retrieve(
94 if ($this->wrapper->post()->has(
'id')) {
95 return $this->wrapper->post()->retrieve(
97 $this->
refinery->container()->mapValues(
98 $this->refinery->kindlyTo()->int()
Base class for all sub item list gui's.
getSelectedIdsFromObjectList()
getMaybeInt(string $key, ?int $fallback=null)
getFromRequest(string $key, Transformation $t)
__construct(WrapperFactory $wrapper, Factory $refinery)
getArrayOfInt(string $key)
getMaybeString(string $key, ?string $fallback=null)