ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DataRetrieval.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25use Generator;
26
28{
36 public function getRows(
37 DataRowBuilder $row_builder,
38 array $visible_column_ids,
40 Order $order,
41 ?array $filter_data, // $DIC->uiService()->filter()->getData();
42 ?array $additional_parameters
43 ): Generator;
44
57 public function getTotalRowCount(
58 ?array $filter_data, // $DIC->uiService()->filter()->getData();
59 ?array $additional_parameters
60 ): ?int;
61}
Both the subject and the direction need to be specified when expressing an order.
Definition: Order.php:29
A simple class to express a naive range of whole positive numbers.
Definition: Range.php:29
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....
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...