19 declare(strict_types=1);
38 $this->
lng = $DIC->language();
42 foreach (array_slice($this->
lng->getInstalledLanguages(), $range->
getStart(), $range->
getLength()) as $key) {
43 $title = $this->
lng->txt(
'meta_l_' . $key);
44 if ($key === $this->
lng->getDefaultLanguage()) {
45 $title .=
' (' . $this->
lng->txt(
'system_language') .
')';
56 return count($this->
lng->getInstalledLanguages());
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...
static countUsers(string $a_lang)
Count number of users that use a language.
Both the subject and the direction need to be specified when expressing an order. ...
buildDataRow(string $id, array $record)
getTotalRowCount(?array $filter_data, ?array $additional_parameters)
Mainly for the purpose of pagination-support, it is important to know about the total number of recor...
A simple class to express a naive range of whole positive numbers.