19declare(strict_types=1);
48 return $response_factory->
cannot();
51 $params = implode(
'/',
$request->getAdditionalParameters() ?? []);
52 $path = parse_url($params, PHP_URL_PATH);
54 return match ($path) {
58 'approveContactRequest'
63 'ignoreContactRequest'
65 default => $response_factory->
cannot(),
74 if ($target_user_id === null) {
76 [\ilDashboardGUI::class],
81 $ctrl->setParameterByClass(PublicProfileGUI::class,
'user_id', $target_user_id->toInt());
83 return $ctrl->getLinkTargetByClass([\ilPublicProfileBaseClassGUI::class, PublicProfileGUI::class], $cmd);
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.
GUI class for public user profile presentation.
Class ilCtrl provides processing control methods.
getLinkTargetByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
@inheritDoc
$request
@ilCtrl_Calls ilObjLearningSequenceContentGUI: ilObjLearningSequenceConditionsGUI
if(!file_exists('../ilias.ini.php'))