3 declare(strict_types=1);
15 $f = $DIC->ui()->factory();
16 $r = $DIC->ui()->renderer();
19 'l1' =>
$f->table()->column()->link(
"a link column")
23 [
'l1' =>
$f->link()->standard(
'ILIAS Homepage',
'http://www.ilias.de')],
24 [
'l1' =>
$f->link()->standard(
'ILIAS Homepage',
'http://www.ilias.de')],
28 $data_retrieval =
new class ($dummy_records) implements
I\
DataRetrieval {
29 protected array $records;
33 $this->records = $dummy_records;
36 public function getRows(
37 I\DataRowBuilder $row_builder,
38 array $visible_column_ids,
42 ?array $additional_parameters
44 foreach ($this->records as $idx => $record) {
46 yield $row_builder->buildDataRow($row_id, $record);
50 public function getTotalRowCount(
52 ?array $additional_parameters
54 return count($this->records);
58 $table =
$f->table()->data(
'Link Columns', $columns, $data_retrieval)
59 ->withRequest($DIC->http()->request());
60 return $r->render($table);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Both the subject and the direction need to be specified when expressing an order. ...
__construct()
Constructor setup ILIAS global object public.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A simple class to express a range of whole positive numbers.