19declare(strict_types=1);
38 $r =
$DIC[
'ui.renderer'];
41 't1' =>
$f->table()->column()->status(
"status")
44 $data_retrieval =
new class () implements
I\DataRetrieval {
45 protected array $records = [
47 [
't1' =>
'incomplete'],
53 public function getRows(
54 I\DataRowBuilder $row_builder,
55 array $visible_column_ids,
59 ?array $additional_parameters
61 foreach ($this->records as $idx => $record) {
63 yield $row_builder->buildDataRow($row_id, $record);
67 public function getTotalRowCount(
69 ?array $additional_parameters
71 return count($this->records);
75 $table =
$f->table()->data($data_retrieval,
'Status Columns', $columns)
76 ->withRequest(
$DIC->http()->request());
77 return $r->render($table);
Both the subject and the direction need to be specified when expressing an order.
A simple class to express a naive range of whole positive numbers.