|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Test\Participants\ParticipantTableExtraTimeAction:
Collaboration diagram for ILIAS\Test\Participants\ParticipantTableExtraTimeAction:Public Member Functions | |
| __construct (private readonly Language $lng, private readonly Refinery $refinery, private readonly \ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly ParticipantRepository $participant_repository, private readonly \ilObjUser $current_user, private readonly \ilTestAccess $test_access, private readonly \ilObjTest $test_obj) | |
| 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) | |
| saveExtraTime (array $participants, int $minutes) | |
| 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 = 'extratime' |
Private Member Functions | |
| resolveInfoMessage (array $selected_participants, bool $all_participants_selected, bool $has_different_extra_time) | |
| resolveHasDifferentExtraTime (array $participants) | |
Definition at line 34 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::__construct | ( | private readonly Language | $lng, |
| private readonly Refinery | $refinery, | ||
| private readonly \ilGlobalTemplateInterface | $tpl, | ||
| private readonly UIFactory | $ui_factory, | ||
| private readonly ParticipantRepository | $participant_repository, | ||
| private readonly \ilObjUser | $current_user, | ||
| private readonly \ilTestAccess | $test_access, | ||
| private readonly \ilObjTest | $test_obj | ||
| ) |
Definition at line 38 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::allowActionForRecord | ( | Participant | $record | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 155 of file ParticipantTableExtraTimeAction.php.
References ANONYMOUS_USER_ID, and ILIAS\Test\Participants\Participant\getUserId().
Here is the call graph for this function:| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::getActionId | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 50 of file ParticipantTableExtraTimeAction.php.
References ILIAS\Test\Participants\ParticipantTableExtraTimeAction\ACTION_ID.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::getModal | ( | URLBuilder | $url_builder, |
| array | $selected_participants, | ||
| bool | $all_participants_selected | ||
| ) |
| array<Participant> | $selected_participants |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 76 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::getSelectionErrorMessage | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 217 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::getTableAction | ( | URLBuilder | $url_builder, |
| URLBuilderToken | $row_id_token, | ||
| URLBuilderToken | $action_token, | ||
| URLBuilderToken | $action_type_token | ||
| ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 61 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::isAvailable | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 55 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::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 120 of file ParticipantTableExtraTimeAction.php.
References ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE.
Here is the call graph for this function:
|
private |
| array<ilTestParticipant> | $participants |
Definition at line 182 of file ParticipantTableExtraTimeAction.php.
References ILIAS\Test\Participants\Participant\getExtraTime().
Here is the call graph for this function:
|
private |
Definition at line 160 of file ParticipantTableExtraTimeAction.php.
| ILIAS\Test\Participants\ParticipantTableExtraTimeAction::saveExtraTime | ( | array | $participants, |
| int | $minutes | ||
| ) |
| array<Participant> | $participants |
Definition at line 193 of file ParticipantTableExtraTimeAction.php.
References ILIAS\Test\Participants\Participant\getUserId().
Here is the call graph for this function:| const ILIAS\Test\Participants\ParticipantTableExtraTimeAction::ACTION_ID = 'extratime' |
Definition at line 36 of file ParticipantTableExtraTimeAction.php.
Referenced by ILIAS\Test\Participants\ParticipantTableExtraTimeAction\getActionId().