3 declare(strict_types=1);
21 $f = $DIC[
'ui.factory'];
22 $r = $DIC[
'ui.renderer'];
25 't1' =>
$f->table()->column()->status(
"status")
28 $data_retrieval =
new class () implements
I\DataRetrieval {
29 protected array $records = [
31 [
't1' =>
'incomplete'],
37 public function getRows(
38 I\DataRowBuilder $row_builder,
39 array $visible_column_ids,
43 ?array $additional_parameters
45 foreach ($this->records as $idx => $record) {
47 yield $row_builder->buildDataRow($row_id, $record);
51 public function getTotalRowCount(
53 ?array $additional_parameters
55 return count($this->records);
59 $table =
$f->table()->data(
'Status Columns', $columns, $data_retrieval)
60 ->withRequest($DIC->http()->request());
61 return $r->render($table);
base()
expected output: > ILIAS shows the rendered Component.
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.