19declare(strict_types=1);
34 return Capabilities::INFO_PAGE;
43 return $capability->withUnlocked($this->
hasPermission($helpers, $context, ...$capability->getPermissions()));
51 $helpers->ctrl->setParameterByClass(\ilInfoScreenGUI::class,
'ref_id', $context);
55 $helpers->ctrl->getLinkTargetByClass([
56 $this->baseClass($context),
58 \ilInfoScreenGUI::class
59 ], Capabilities::INFO_PAGE->value)
hasPermission(CheckHelpers $helpers, Context $context, Permissions ... $permission)
fromTarget(string $target)
maybeBuildURI(Capability $capability, CheckHelpers $helpers, Context $context)
maybeUnlock(Capability $capability, CheckHelpers $helpers, \ilObjFileInfo $info, Context $context,)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...