19 declare(strict_types=1);
37 return self::NAMESPACE;
47 $context->
ctrl()->setParameterByClass(\ilObjTestGUI::class,
'ref_id',
$ref_id);
50 return $response_factory->
can(
"login.php?target=tst_{$ref_id}&cmd=force_login");
53 $uri = match ($additional_params[0] ??
'default') {
55 default => $context->
ctrl()->getLinkTargetByClass([\ilRepositoryGUI::class, \ilObjTestGUI::class]),
58 return $response_factory->
can($uri);
getAdditionalParameters()
checkPermission(string $permission, int $ref_id)
setParameterByClass(string $a_class, string $a_parameter, $a_value)
clearParameterByClass(string $a_class, string $a_parameter)
handle(Request $request, Context $context, Factory $response_factory)
const QUESTION_OPERATIONS
buildQuestionURL(string $q_id, \ilCtrl $ctrl)
getLinkTargetByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)