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 Refinery $refinery, private readonly ParticipantRepository $participant_repository, private readonly \ilTestAccess $test_access,) | |
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 = 'client_ip_range' |
Private Member Functions | |
resolveInfoMessage (array $selected_participants, bool $all_participants_selected) | |
isUniqueClientIp (array $selected_participants) | |
checkIpRangeValidity (string $start, string $end) | |
Definition at line 32 of file ParticipantTableIpRangeAction.php.
ILIAS\Test\Participants\ParticipantTableIpRangeAction::__construct | ( | private readonly Language | $lng, |
private readonly \ilGlobalTemplateInterface | $tpl, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly Refinery | $refinery, | ||
private readonly ParticipantRepository | $participant_repository, | ||
private readonly \ilTestAccess | $test_access | ||
) |
Definition at line 36 of file ParticipantTableIpRangeAction.php.
ILIAS\Test\Participants\ParticipantTableIpRangeAction::allowActionForRecord | ( | Participant | $record | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 198 of file ParticipantTableIpRangeAction.php.
References ILIAS\Test\Participants\Participant\isInvitedParticipant().
|
private |
Definition at line 230 of file ParticipantTableIpRangeAction.php.
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\getModal().
ILIAS\Test\Participants\ParticipantTableIpRangeAction::getActionId | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 46 of file ParticipantTableIpRangeAction.php.
ILIAS\Test\Participants\ParticipantTableIpRangeAction::getModal | ( | URLBuilder | $url_builder, |
array | $selected_participants, | ||
bool | $all_participants_selected | ||
) |
array<Participant> | $selected_participants |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 71 of file ParticipantTableIpRangeAction.php.
References ILIAS\UI\URLBuilder\buildURI(), ILIAS\Test\Participants\ParticipantTableIpRangeAction\checkIpRangeValidity(), ILIAS\Test\Participants\Participant\getFirstname(), ILIAS\Test\Participants\Participant\getLastname(), ILIAS\Test\Participants\ParticipantTableIpRangeAction\isUniqueClientIp(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\onSubmit().
ILIAS\Test\Participants\ParticipantTableIpRangeAction::getSelectionErrorMessage | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 244 of file ParticipantTableIpRangeAction.php.
References null.
ILIAS\Test\Participants\ParticipantTableIpRangeAction::getTableAction | ( | URLBuilder | $url_builder, |
URLBuilderToken | $row_id_token, | ||
URLBuilderToken | $action_token, | ||
URLBuilderToken | $action_type_token | ||
) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 56 of file ParticipantTableIpRangeAction.php.
References ILIAS\Repository\lng(), ILIAS\Test\Participants\ParticipantTableActions\SHOW_ACTION, and ILIAS\UI\URLBuilder\withParameter().
ILIAS\Test\Participants\ParticipantTableIpRangeAction::isAvailable | ( | ) |
Implements ILIAS\Test\Participants\TableAction.
Definition at line 51 of file ParticipantTableIpRangeAction.php.
|
private |
Definition at line 221 of file ParticipantTableIpRangeAction.php.
References ILIAS\Test\Participants\Participant\getClientIpFrom(), and ILIAS\Test\Participants\Participant\getClientIpTo().
Referenced by ILIAS\Test\Participants\ParticipantTableIpRangeAction\getModal().
ILIAS\Test\Participants\ParticipantTableIpRangeAction::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 156 of file ParticipantTableIpRangeAction.php.
References $data, ILIAS\Test\Participants\ParticipantTableIpRangeAction\getModal(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, null, and ILIAS\Test\Participants\Participant\withClientIpFrom().
|
private |
array | $selected_participants |
Definition at line 206 of file ParticipantTableIpRangeAction.php.
const ILIAS\Test\Participants\ParticipantTableIpRangeAction::ACTION_ID = 'client_ip_range' |
Definition at line 34 of file ParticipantTableIpRangeAction.php.