ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (private readonly Language $lng, private readonly \ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly \ilDBInterface $db, private readonly \ilTestProcessLockerFactory $process_locker_factory, private readonly \ilObjUser $user, private readonly \ilTestAccess $test_access, private readonly \ilObjTest $test_obj, private readonly TestResultRepository $test_pass_result_repository) | |
getActionId () | |
isAvailable () | |
getTableAction (URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token) | |
getModal (URLBuilder $url_builder, array $selected_participants, bool $all_participants_selected) | |
onSubmit (URLBuilder $url_builder, ServerRequestInterface $request, array $selected_participants, bool $all_participants_selected) | |
allowActionForRecord (Participant $record) | |
getSelectionErrorMessage () | |
Data Fields | |
const | ACTION_ID = 'finish_test' |
Private Member Functions | |
resolveMessage (array $selected_participants, bool $all_participants_selected) | |
haveAllSelectedParticipantsReachedMaxProcessingTime (array $selected_participants) | |
Definition at line 35 of file ParticipantTableFinishTestAction.php.
ILIAS\Test\Participants\ParticipantTableFinishTestAction::__construct | ( | private readonly Language | $lng, |
private readonly \ilGlobalTemplateInterface | $tpl, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly \ilDBInterface | $db, | ||
private readonly \ilTestProcessLockerFactory | $process_locker_factory, | ||
private readonly \ilObjUser | $user, | ||
private readonly \ilTestAccess | $test_access, | ||
private readonly \ilObjTest | $test_obj, | ||
private readonly TestResultRepository | $test_pass_result_repository | ||
) |
Definition at line 39 of file ParticipantTableFinishTestAction.php.
ILIAS\Test\Participants\ParticipantTableFinishTestAction::allowActionForRecord | ( | Participant | $record | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 172 of file ParticipantTableFinishTestAction.php.
References ILIAS\Test\Participants\Participant\hasUnfinishedAttempts().
ILIAS\Test\Participants\ParticipantTableFinishTestAction::getActionId | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 52 of file ParticipantTableFinishTestAction.php.
ILIAS\Test\Participants\ParticipantTableFinishTestAction::getModal | ( | URLBuilder | $url_builder, |
array | $selected_participants, | ||
bool | $all_participants_selected | ||
) |
array<Participant> | $selected_participants |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 77 of file ParticipantTableFinishTestAction.php.
References ILIAS\UI\URLBuilder\buildURI(), ILIAS\Test\Participants\Participant\getUserId(), ILIAS\Repository\lng(), and ILIAS\Test\Participants\ParticipantTableFinishTestAction\resolveMessage().
ILIAS\Test\Participants\ParticipantTableFinishTestAction::getSelectionErrorMessage | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 195 of file ParticipantTableFinishTestAction.php.
References ILIAS\Repository\lng().
ILIAS\Test\Participants\ParticipantTableFinishTestAction::getTableAction | ( | URLBuilder | $url_builder, |
URLBuilderToken | $row_id_token, | ||
URLBuilderToken | $action_token, | ||
URLBuilderToken | $action_type_token | ||
) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 62 of file ParticipantTableFinishTestAction.php.
References ILIAS\Repository\lng(), ILIAS\Test\Participants\ParticipantTableActions\SHOW_ACTION, and ILIAS\UI\URLBuilder\withParameter().
|
private |
Definition at line 200 of file ParticipantTableFinishTestAction.php.
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\onSubmit().
ILIAS\Test\Participants\ParticipantTableFinishTestAction::isAvailable | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 57 of file ParticipantTableFinishTestAction.php.
ILIAS\Test\Participants\ParticipantTableFinishTestAction::onSubmit | ( | URLBuilder | $url_builder, |
ServerRequestInterface | $request, | ||
array | $selected_participants, | ||
bool | $all_participants_selected | ||
) |
array<Participant> | $selected_participants |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 103 of file ParticipantTableFinishTestAction.php.
References ILIAS\Test\Participants\Participant\getUserId(), ILIAS\Test\Participants\ParticipantTableFinishTestAction\haveAllSelectedParticipantsReachedMaxProcessingTime(), ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_USERS, ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, null, and ILIAS\Repository\user().
|
private |
Definition at line 177 of file ParticipantTableFinishTestAction.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\getModal().
const ILIAS\Test\Participants\ParticipantTableFinishTestAction::ACTION_ID = 'finish_test' |
Definition at line 37 of file ParticipantTableFinishTestAction.php.