ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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 mixed $additional_viewcontrol_data,
42 mixed $filter_data,
43 mixed $additional_parameters
44 ): Generator;
45
58 public function getTotalRowCount(
59 mixed $additional_viewcontrol_data,
60 mixed $filter_data,
61 mixed $additional_parameters
62 ): ?int;
63}
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
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 recor...
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....