19 declare(strict_types=1);
36 $target = $http->wrapper()->query()->has(
"target")
37 ? $http->wrapper()->query()->retrieve(
39 $refinery->
to()->string()
42 if ($target !== null) {
43 $target_parts = explode(
'_', $target);
44 if (isset($target_parts[0]) && array_key_exists($target_parts[0], $handlers)) {
56 $path = $http->request()->getUri()->getPath();
66 $target_parts = explode(
'/',
$path);
67 if (isset($target_parts[0]) && array_key_exists($target_parts[0], $handlers)) {
71 if (isset($target_parts[1]) && is_numeric($target_parts[1])) {
73 $target = $target_parts[2] ??
'';
75 $target = $target_parts[1] ??
'';
Interface Observer Contains several chained tasks and infos about them.
buildRequest(\ILIAS\HTTP\Services $http, Factory $refinery, array $handlers)
to()
Combined validations and transformations for primitive data types that establish a baseline for furth...