| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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 () | |
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.
| 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().
 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.
References ILIAS\Repository\lng(), ILIAS\Test\Participants\ParticipantTableActions\SHOW_ACTION, and ILIAS\UI\URLBuilder\withParameter().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 200 of file ParticipantTableFinishTestAction.php.
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\onSubmit().
 Here is the caller graph for this function:| 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(), ilGlobalTemplateInterface\MESSAGE_TYPE_FAILURE, ilGlobalTemplateInterface\MESSAGE_TYPE_SUCCESS, and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 177 of file ParticipantTableFinishTestAction.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Participants\ParticipantTableFinishTestAction\getModal().
 Here is the call graph for this function:
 Here is the caller graph for this function:| const ILIAS\Test\Participants\ParticipantTableFinishTestAction::ACTION_ID = 'finish_test' | 
Definition at line 37 of file ParticipantTableFinishTestAction.php.