3 declare(strict_types=1);
14 $f = $DIC->ui()->factory();
15 $r = $DIC->ui()->renderer();
18 'l1' =>
$f->table()->column()->linkListing(
"a link list column")
21 $some_link =
$f->link()->standard(
'ILIAS Homepage',
'http://www.ilias.de');
22 $some_linklisting =
$f->listing()->unordered([$some_link, $some_link, $some_link]);
25 [
'l1' => $some_linklisting],
26 [
'l1' => $some_linklisting]
29 $data_retrieval =
new class ($dummy_records) implements
I\
DataRetrieval {
30 protected array $records;
34 $this->records = $dummy_records;
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(
'Link List Columns', $columns, $data_retrieval)
60 ->withRequest($DIC->http()->request());
61 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.