19 declare(strict_types=1);
44 $f = $DIC[
'ui.factory'];
49 $r = $DIC[
'ui.renderer'];
51 $request = $DIC->http()->request();
54 'id' =>
$f->table()->column()->number(
"ID"),
55 'letter' =>
$f->table()->column()->text(
"Letter")
60 protected array $records;
63 protected \
ILIAS\
UI\Factory $ui_factory,
66 $this->records = $this->initRecords();
69 public function getRows(
70 I\OrderingRowBuilder $row_builder,
71 array $visible_column_ids
73 foreach (array_values($this->records) as $record) {
74 yield $row_builder->buildOrderingRow((
string) $record[
'id'], $record);
78 protected function initRecords(): array
89 $target = (
new URI((
string) $request->getUri()));
90 $table =
$f->table()->ordering($data_retrieval, $target,
'ordering table with disabled ordering', $columns)
91 ->withOrderingDisabled(
true)
92 ->withRequest($request);
94 return $r->render($table);
Interface Observer Contains several chained tasks and infos about them.
__construct()
Constructor setup ILIAS global object public.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins