ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
DataRetrieval.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Table;
22 
25 use Generator;
26 
27 interface DataRetrieval
28 {
36  public function getRows(
37  DataRowBuilder $row_builder,
38  array $visible_column_ids,
39  Range $range,
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:12
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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 range of whole positive numbers.
Definition: Range.php:30