ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (private readonly \ILIAS\Language\Language $lng, private readonly \ilCtrl $ctrl, private readonly \ilAccess $access, private readonly \ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly Refinery $refinery, private readonly ServerRequestInterface $request, private readonly RequestWrapper $request_wrapper, private readonly HttpService $http, private readonly Repository $user_settings_repository) | |
executeCommand () | |
showCmd (?RoundTripModal $modal=null) | |
actionCmd () | |
saveCmd () | |
getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Private Member Functions | |
buildTable () | |
getColumns () | |
buildEditModal () | |
retrieveIdentifierFromQuery () | |
sortRows (Order $order) | |
Private Attributes | |
readonly URLBuilder | $url_builder |
readonly URLBuilderToken | $action_token |
readonly URLBuilderToken | $setting_id_token |
array | $available_settings |
Definition at line 43 of file class.ConfigurationGUI.php.
ILIAS\User\Settings\ConfigurationGUI::__construct | ( | private readonly \ILIAS\Language\Language | $lng, |
private readonly \ilCtrl | $ctrl, | ||
private readonly \ilAccess | $access, | ||
private readonly \ilGlobalTemplateInterface | $tpl, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly UIRenderer | $ui_renderer, | ||
private readonly Refinery | $refinery, | ||
private readonly ServerRequestInterface | $request, | ||
private readonly RequestWrapper | $request_wrapper, | ||
private readonly HttpService | $http, | ||
private readonly Repository | $user_settings_repository | ||
) |
Definition at line 53 of file class.ConfigurationGUI.php.
References ILIAS\User\Settings\ConfigurationGUI\$action_token, ILIAS\User\Settings\ConfigurationGUI\$setting_id_token, ILIAS\User\Settings\ConfigurationGUI\$url_builder, ILIAS\UI\URLBuilder\acquireParameters(), and ILIAS\Repository\ctrl().
ILIAS\User\Settings\ConfigurationGUI::actionCmd | ( | ) |
Definition at line 102 of file class.ConfigurationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Filesystem\Stream\Streams\ofString().
|
private |
Definition at line 200 of file class.ConfigurationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by ILIAS\User\Settings\ConfigurationGUI\saveCmd().
|
private |
Definition at line 156 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\User\Settings\ConfigurationGUI\showCmd().
ILIAS\User\Settings\ConfigurationGUI::executeCommand | ( | ) |
Definition at line 80 of file class.ConfigurationGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 171 of file class.ConfigurationGUI.php.
References ILIAS\Repository\lng().
ILIAS\User\Settings\ConfigurationGUI::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildStandardRow($row_id, $record).
string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 132 of file class.ConfigurationGUI.php.
References ILIAS\$setting, and ILIAS\Repository\lng().
ILIAS\User\Settings\ConfigurationGUI::getTotalRowCount | ( | ?array | $filter_data, |
?array | $additional_parameters | ||
) |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available.
Given the nature of a DataTable, which is, opposite to a PresentationTable, rather administrative than explorative, this information will increase user experience quite a bit. However, you may return null, if the call is to costly, but expect the View Control to look a little different in this case.
Make sure that potential filters or user restrictions are being applied to the count.
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 149 of file class.ConfigurationGUI.php.
|
private |
Definition at line 218 of file class.ConfigurationGUI.php.
ILIAS\User\Settings\ConfigurationGUI::saveCmd | ( | ) |
Definition at line 115 of file class.ConfigurationGUI.php.
References $data, ILIAS\User\Settings\ConfigurationGUI\buildEditModal(), ILIAS\Repository\lng(), and ILIAS\User\Settings\ConfigurationGUI\showCmd().
ILIAS\User\Settings\ConfigurationGUI::showCmd | ( | ?RoundTripModal | $modal = null | ) |
Definition at line 87 of file class.ConfigurationGUI.php.
References ILIAS\User\Settings\ConfigurationGUI\buildTable().
Referenced by ILIAS\User\Settings\ConfigurationGUI\saveCmd().
|
private |
Definition at line 236 of file class.ConfigurationGUI.php.
References ILIAS\User\Settings\Setting\export(), ILIAS\Data\Order\get(), ILIAS\User\Settings\Setting\getLabel(), ILIAS\User\Settings\Setting\isChangeableByUser(), and ILIAS\User\Settings\Setting\isChangeableInLocalUserAdministration().
|
private |
Definition at line 48 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Settings\ConfigurationGUI\__construct().
|
private |
Definition at line 51 of file class.ConfigurationGUI.php.
|
private |
Definition at line 49 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Settings\ConfigurationGUI\__construct().
|
private |
Definition at line 47 of file class.ConfigurationGUI.php.
Referenced by ILIAS\User\Settings\ConfigurationGUI\__construct().