19declare(strict_types=1);
48 return $response_factory->
cannot();
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);
getAdditionalParameters()
can(string $uri_path, bool $shift=false)
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
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
if(!file_exists('../ilias.ini.php'))