|
ILIAS
trunk Revision v12.0_alpha-1227-g7ff6d300864
|
Inheritance diagram for ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable:
Collaboration diagram for ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable: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, private readonly bool $has_write_access) | |
| getComponent () | |
| getRows (UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, Data\Range $range, Data\Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Table\DataRetrieval | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Data Fields | |
| const string | ACTIVATE = 'activate' |
| const string | DEACTIVATE = 'deactivate' |
| const string | EDIT = 'edit' |
| const string | PREVIEW = 'preview' |
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 33 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, | ||
| private readonly bool | $has_write_access | ||
| ) |
Definition at line 47 of file AuthPageLanguagesOverviewTable.php.
References $http.
|
protected |
Definition at line 97 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\ACTIVATE, ILIAS\Repository\ctrl(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\DEACTIVATE, ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\EDIT, ilAuthPageEditorGUI\LANGUAGE_TABLE_ACTIONS_COMMAND, and ILIAS\Repository\lng().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getComponent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 78 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getComponent().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::getComponent | ( | ) |
Definition at line 60 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().
Here is the call graph for this function:
|
private |
Definition at line 226 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\UI\Implementation\Component\Table\$range.
| ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::getRows | ( | UI\Component\Table\DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Data\Range | $range, | ||
| Data\Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
Definition at line 180 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 165 of file AuthPageLanguagesOverviewTable.php.
References ilUtil\getImagePath(), and ILIAS\Repository\lng().
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\initRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::getTotalRowCount | ( | mixed | $additional_viewcontrol_data, |
| mixed | $filter_data, | ||
| mixed | $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 198 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 143 of file AuthPageLanguagesOverviewTable.php.
References ilAuthPageEditorSettings\getInstance(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getStatusIcon(), ILIAS\Repository\lng(), and ilLanguage\lookupId().
Here is the call graph for this function:
|
private |
| list<array<string,mixed>> | $records |
Definition at line 239 of file AuthPageLanguagesOverviewTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Here is the call graph for this function:
|
private |
Definition at line 211 of file AuthPageLanguagesOverviewTable.php.
References ilArrayUtil\stableSortArray().
Here is the call graph for this function:
|
private |
Definition at line 41 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 45 of file AuthPageLanguagesOverviewTable.php.
Referenced by ILIAS\UI\Implementation\Component\Table\Presentation\getData(), and ILIAS\UI\Implementation\Component\Table\Presentation\withData().
|
private |
Definition at line 40 of file AuthPageLanguagesOverviewTable.php.
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::ACTIVATE = 'activate' |
Definition at line 35 of file AuthPageLanguagesOverviewTable.php.
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getActions().
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::DEACTIVATE = 'deactivate' |
Definition at line 36 of file AuthPageLanguagesOverviewTable.php.
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getActions().
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::EDIT = 'edit' |
Definition at line 37 of file AuthPageLanguagesOverviewTable.php.
Referenced by ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getActions().
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::PREVIEW = 'preview' |
Definition at line 38 of file AuthPageLanguagesOverviewTable.php.