|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ILIAS\Dashboard\DataRetrieval\Language:
Collaboration diagram for ILIAS\Dashboard\DataRetrieval\Language:Public Member Functions | |
| __construct () | |
| 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... | |
Protected Attributes | |
| ilLanguage | $lng |
Definition at line 31 of file Language.php.
| ILIAS\Dashboard\DataRetrieval\Language::__construct | ( | ) |
Definition at line 35 of file Language.php.
References $DIC, and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Dashboard\DataRetrieval\Language::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 40 of file Language.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ilObjLanguage\countUsers(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Dashboard\DataRetrieval\Language::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 54 of file Language.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 33 of file Language.php.