|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Test\Participants\ParticipantTableFinishTestAction:
Collaboration diagram for ILIAS\Test\Participants\ParticipantTableFinishTestAction: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 () | |
| 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().
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantTableFinishTestAction::getActionId | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 52 of file ParticipantTableFinishTestAction.php.
References ILIAS\Test\Participants\ParticipantTableFinishTestAction\ACTION_ID.
| 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\Test\Participants\Participant\getUserId().
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantTableFinishTestAction::getSelectionErrorMessage | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 195 of file ParticipantTableFinishTestAction.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| 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.
|
private |
Definition at line 200 of file ParticipantTableFinishTestAction.php.
| 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\Repository\lng(), and ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE.
Here is the call graph for this function:
|
private |
Definition at line 177 of file ParticipantTableFinishTestAction.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| const ILIAS\Test\Participants\ParticipantTableFinishTestAction::ACTION_ID = 'finish_test' |
Definition at line 37 of file ParticipantTableFinishTestAction.php.
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\getActionId().