ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Public Member Functions | |
__construct (private readonly ilCtrlInterface $ctrl, private readonly ilLanguage $lng, \ILIAS\HTTP\Services $http, private readonly \ILIAS\UI\Factory $ui_factory, private readonly \ILIAS\UI\Renderer $ui_renderer, private readonly AuthPageEditorContext $context) | |
getComponent () | |
getRows (UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, Data\Range $range, Data\Order $order, ?array $filter_data, ?array $additional_parameters) | |
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... | |
Data Fields | |
const | ACTIVATE = 'activate' |
const | DEACTIVATE = 'deactivate' |
const | EDIT = 'edit' |
Protected Member Functions | |
getActions () | |
Private Member Functions | |
getColumns () | |
initRecords () | |
getStatusIcon (bool $status) | |
sortedRecords (Data\Order $order) | |
getRecords (Data\Range $range, Data\Order $order) | |
limitRecords (array $records, Data\Range $range) | |
Private Attributes | |
ServerRequestInterface | $request |
Data Factory | $data_factory |
array | $records = null |
Definition at line 31 of file AuthPageLanguagesOverviewTable.php.
ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::__construct | ( | private readonly ilCtrlInterface | $ctrl, |
private readonly ilLanguage | $lng, | ||
\ILIAS\HTTP\Services | $http, | ||
private readonly \ILIAS\UI\Factory | $ui_factory, | ||
private readonly \ILIAS\UI\Renderer | $ui_renderer, | ||
private readonly AuthPageEditorContext | $context | ||
) |
Definition at line 44 of file AuthPageLanguagesOverviewTable.php.
|
protected |
Definition at line 92 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\Repository\ctrl(), ilAuthPageEditorGUI\LANGUAGE_TABLE_ACTIONS_COMMAND, and ILIAS\Repository\lng().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getComponent().
|
private |
Definition at line 73 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getComponent().
ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::getComponent | ( | ) |
Definition at line 56 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\Data\Order\ASC, ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getActions(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getColumns(), and ILIAS\Repository\lng().
|
private |
Definition at line 214 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\initRecords(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\limitRecords(), and ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\sortedRecords().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getRows().
ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::getRows | ( | UI\Component\Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Data\Range | $range, | ||
Data\Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 170 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getRecords().
|
private |
Definition at line 155 of file AuthPageLanguagesOverviewTable.php.
References ilUtil\getImagePath(), and ILIAS\Repository\lng().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\initRecords().
ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::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 187 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\initRecords().
|
private |
Definition at line 133 of file AuthPageLanguagesOverviewTable.php.
References ilAuthPageEditorSettings\getInstance(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getStatusIcon(), ILIAS\Repository\lng(), ilLanguage\lookupId(), and null.
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getRecords(), and ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getTotalRowCount().
|
private |
list<array<string,mixed>> | $records |
Definition at line 227 of file AuthPageLanguagesOverviewTable.php.
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getRecords().
|
private |
Definition at line 199 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\$records, and ilArrayUtil\stableSortArray().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getRecords().
|
private |
Definition at line 38 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 42 of file AuthPageLanguagesOverviewTable.php.
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\sortedRecords().
|
private |
Definition at line 37 of file AuthPageLanguagesOverviewTable.php.
const ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::ACTIVATE = 'activate' |
Definition at line 33 of file AuthPageLanguagesOverviewTable.php.
const ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::DEACTIVATE = 'deactivate' |
Definition at line 34 of file AuthPageLanguagesOverviewTable.php.
const ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::EDIT = 'edit' |
Definition at line 35 of file AuthPageLanguagesOverviewTable.php.