|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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) | |
| 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' |
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.
References $http.
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 73 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 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().
Here is the call graph for this function:
|
private |
Definition at line 216 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 170 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 155 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 188 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 133 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 229 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 201 of file AuthPageLanguagesOverviewTable.php.
References ilArrayUtil\stableSortArray().
Here is the call graph for this function:
|
private |
Definition at line 38 of file AuthPageLanguagesOverviewTable.php.
|
private |
Definition at line 42 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 37 of file AuthPageLanguagesOverviewTable.php.
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::ACTIVATE = 'activate' |
Definition at line 33 of file AuthPageLanguagesOverviewTable.php.
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::DEACTIVATE = 'deactivate' |
Definition at line 34 of file AuthPageLanguagesOverviewTable.php.
| const string ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable::EDIT = 'edit' |
Definition at line 35 of file AuthPageLanguagesOverviewTable.php.