ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TableData.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Dashboard;
22
25use Generator;
26use Closure;
27
29{
30 public function __construct(private readonly Closure $proc)
31 {
32 }
33
34 public function getRows(OrderingRowBuilder $row_builder, array $visible_column_ids): Generator
35 {
36 return ($this->proc)(...func_get_args());
37 }
38}
__construct(private readonly Closure $proc)
Definition: TableData.php:30
getRows(OrderingRowBuilder $row_builder, array $visible_column_ids)
This is called by the (ordering-)table to retrieve rows; map data-records to rows using the $row_buil...
Definition: TableData.php:34