ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (protected readonly \ilCtrlInterface $ctrl, protected readonly Language $lng, protected readonly \ilGlobalTemplateInterface $tpl, protected readonly UIFactory $ui_factory, protected readonly UIRenderer $ui_renderer, protected readonly Refinery $refinery, protected readonly RequestDataCollector $test_request, protected readonly ResponseHandler $test_response, protected readonly ParticipantRepository $repository, protected readonly \ilObjTest $test_obj, protected readonly array $actions) | |
getEnabledActions (URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token) | |
getAction (string $action_id) | |
execute (URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token) | |
onDataRow (DataRow $row, mixed $record) | |
Data Fields | |
const | ROW_ID_PARAMETER = 'p_id' |
const | ACTION_PARAMETER = 'action' |
const | ACTION_TYPE_PARAMETER = 'action_type' |
const | SHOW_ACTION = 'showTableAction' |
const | SUBMIT_ACTION = 'submitTableAction' |
Protected Member Functions | |
showModal (URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token) | |
submit (URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token) | |
resolveSelectedParticipants (TableAction $action, array|string $selected_participants) | |
Definition at line 35 of file ParticipantTableActions.php.
ILIAS\Test\Participants\ParticipantTableActions::__construct | ( | protected readonly \ilCtrlInterface | $ctrl, |
protected readonly Language | $lng, | ||
protected readonly \ilGlobalTemplateInterface | $tpl, | ||
protected readonly UIFactory | $ui_factory, | ||
protected readonly UIRenderer | $ui_renderer, | ||
protected readonly Refinery | $refinery, | ||
protected readonly RequestDataCollector | $test_request, | ||
protected readonly ResponseHandler | $test_response, | ||
protected readonly ParticipantRepository | $repository, | ||
protected readonly \ilObjTest | $test_obj, | ||
protected readonly array | $actions | ||
) |
array<string,TableAction> | $actions |
Definition at line 45 of file ParticipantTableActions.php.
ILIAS\Test\Participants\ParticipantTableActions::execute | ( | URLBuilder | $url_builder, |
URLBuilderToken | $row_id_token, | ||
URLBuilderToken | $action_token, | ||
URLBuilderToken | $action_type_token | ||
) |
Definition at line 95 of file ParticipantTableActions.php.
References ILIAS\UI\URLBuilderToken\getName(), ILIAS\Test\Participants\ParticipantTableActions\showModal(), and ILIAS\Test\Participants\ParticipantTableActions\submit().
ILIAS\Test\Participants\ParticipantTableActions::getAction | ( | string | $action_id | ) |
Definition at line 90 of file ParticipantTableActions.php.
References null.
ILIAS\Test\Participants\ParticipantTableActions::getEnabledActions | ( | URLBuilder | $url_builder, |
URLBuilderToken | $row_id_token, | ||
URLBuilderToken | $action_token, | ||
URLBuilderToken | $action_type_token | ||
) |
Definition at line 60 of file ParticipantTableActions.php.
References ILIAS\Test\Participants\TableAction\getTableAction(), ILIAS\Test\Participants\TableAction\isAvailable(), and null.
ILIAS\Test\Participants\ParticipantTableActions::onDataRow | ( | DataRow | $row, |
mixed | $record | ||
) |
Definition at line 117 of file ParticipantTableActions.php.
References $c, and ILIAS\UI\Component\Table\DataRow\withDisabledAction().
|
protected |
Definition at line 200 of file ParticipantTableActions.php.
References $user_id, ILIAS\Test\Participants\TableAction\allowActionForRecord(), and ILIAS\UI\examples\Deck\repository().
Referenced by ILIAS\Test\Participants\ParticipantTableActions\showModal(), and ILIAS\Test\Participants\ParticipantTableActions\submit().
|
protected |
Definition at line 128 of file ParticipantTableActions.php.
References ILIAS\UI\URLBuilderToken\getName(), ILIAS\Repository\lng(), ILIAS\Test\Participants\ParticipantTableActions\resolveSelectedParticipants(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by ILIAS\Test\Participants\ParticipantTableActions\execute().
|
protected |
Definition at line 167 of file ParticipantTableActions.php.
References ILIAS\UI\URLBuilderToken\getName(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, and ILIAS\Test\Participants\ParticipantTableActions\resolveSelectedParticipants().
Referenced by ILIAS\Test\Participants\ParticipantTableActions\execute().
const ILIAS\Test\Participants\ParticipantTableActions::ACTION_PARAMETER = 'action' |
Definition at line 38 of file ParticipantTableActions.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\acquireParameters().
const ILIAS\Test\Participants\ParticipantTableActions::ACTION_TYPE_PARAMETER = 'action_type' |
Definition at line 39 of file ParticipantTableActions.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\acquireParameters().
const ILIAS\Test\Participants\ParticipantTableActions::ROW_ID_PARAMETER = 'p_id' |
Definition at line 37 of file ParticipantTableActions.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\acquireParameters().
const ILIAS\Test\Participants\ParticipantTableActions::SHOW_ACTION = 'showTableAction' |
Definition at line 40 of file ParticipantTableActions.php.
Referenced by ILIAS\Test\Participants\ParticipantTableDeleteParticipantAction\getTableAction(), ILIAS\Test\Participants\ParticipantTableIpRangeAction\getTableAction(), ILIAS\Test\Participants\ParticipantTableDeleteResultsAction\getTableAction(), ILIAS\Test\Participants\ParticipantTableExtraTimeAction\getTableAction(), and ILIAS\Test\Participants\ParticipantTableFinishTestAction\getTableAction().
const ILIAS\Test\Participants\ParticipantTableActions::SUBMIT_ACTION = 'submitTableAction' |
Definition at line 41 of file ParticipantTableActions.php.
Referenced by ILIAS\Test\Participants\ParticipantTableShowResultsAction\getTableAction().