19declare(strict_types=1);
46 return $response_factory->
cannot();
49 $params = implode(
'/',
$request->getAdditionalParameters() ?? []);
50 $path = parse_url($params, PHP_URL_PATH);
52 return match ($path) {
53 'profile' => $response_factory->
can($context->
ctrl()->getLinkTargetByClass(
55 \ilDashboardGUI::class,
56 \ilAchievementsGUI::class,
57 \ilBadgeProfileGUI::class
60 default => $response_factory->
cannot(),
handle(Request $request, Context $context, Factory $response_factory)
loginFirst()
Convenience: the Handler cannot serve the target with the current permissions.
can(string $uri_path, bool $shift=false)
The Handler successfully resolved the target.
cannot()
The Handler cannot process the given Request at all, e.g.
$request
@ilCtrl_Calls ilObjLearningSequenceContentGUI: ilObjLearningSequenceConditionsGUI