ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private readonly Language $lng, private readonly \ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly ParticipantRepository $participant_repository, 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) | |
getSelectionErrorMessage () | |
Data Fields | |
const | ACTION_ID = 'delete_pax' |
Definition at line 31 of file ParticipantTableDeleteParticipantAction.php.
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::__construct | ( | private readonly Language | $lng, |
private readonly \ilGlobalTemplateInterface | $tpl, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly ParticipantRepository | $participant_repository, | ||
private readonly \ilTestAccess | $test_access, | ||
private readonly \ilObjTest | $test_obj | ||
) |
Definition at line 35 of file ParticipantTableDeleteParticipantAction.php.
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::allowActionForRecord | ( | Participant | $record | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 117 of file ParticipantTableDeleteParticipantAction.php.
References ILIAS\Test\Participants\Participant\getActiveId(), and null.
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::getActionId | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 45 of file ParticipantTableDeleteParticipantAction.php.
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::getModal | ( | URLBuilder | $url_builder, |
array | $selected_participants, | ||
bool | $all_participants_selected | ||
) |
array<Participant> | $selected_participants |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 70 of file ParticipantTableDeleteParticipantAction.php.
References ilObjUser\_lookupFullname(), ILIAS\UI\URLBuilder\buildURI(), ILIAS\Test\Participants\Participant\getUserId(), and ILIAS\Repository\lng().
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::getSelectionErrorMessage | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 122 of file ParticipantTableDeleteParticipantAction.php.
References ILIAS\Repository\lng().
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::getTableAction | ( | URLBuilder | $url_builder, |
URLBuilderToken | $row_id_token, | ||
URLBuilderToken | $action_token, | ||
URLBuilderToken | $action_type_token | ||
) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 55 of file ParticipantTableDeleteParticipantAction.php.
References ILIAS\Repository\lng(), ILIAS\Test\Participants\ParticipantTableActions\SHOW_ACTION, and ILIAS\UI\URLBuilder\withParameter().
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::isAvailable | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 50 of file ParticipantTableDeleteParticipantAction.php.
ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::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 92 of file ParticipantTableDeleteParticipantAction.php.
References ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, and null.
const ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction::ACTION_ID = 'delete_pax' |
Definition at line 33 of file ParticipantTableDeleteParticipantAction.php.