19 declare(strict_types=1);
35 $target = $http->
wrapper()->query()->has(
"target")
36 ? $http->
wrapper()->query()->retrieve(
38 $refinery->
to()->string()
41 if ($target !==
null) {
42 $target_parts = explode(
'_', (
string) $target);
45 $reference_id = is_numeric($target_parts[0]) ?
new ReferenceId((
int) array_shift($target_parts)) :
null;
46 $additional_parameters = [];
47 foreach ($target_parts as $target_part) {
48 $additional_parameters[] = urldecode($target_part);
53 $additional_parameters
64 $offset = strpos(
$requested_url,
'/goto.php/') + strlen(
'/goto.php/');
72 $namespace = array_shift($requested_url_parts);
73 $additional_parameters = [];
74 if (isset($requested_url_parts[0]) && is_numeric($requested_url_parts[0])) {
75 $reference_id =
new ReferenceId((
int) array_shift($requested_url_parts));
79 foreach ($requested_url_parts as $requested_url_part) {
80 $additional_parameters[] = urldecode($requested_url_part);
86 $additional_parameters
if($err=$client->getError()) $namespace
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
to()
Combined validations and transformations for primitive data types that establish a baseline for furth...
buildRequest(Services $http, Factory $refinery, array $handlers)