ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
TableData.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Dashboard
;
22
23
use
ILIAS\UI\Component\Table\OrderingRetrieval
;
24
use
ILIAS\UI\Component\Table\OrderingRowBuilder
;
25
use Generator;
26
use Closure;
27
28
class
TableData
implements
OrderingRetrieval
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
}
ILIAS\Dashboard\TableData
Definition:
TableData.php:29
ILIAS\Dashboard\TableData\__construct
__construct(private readonly Closure $proc)
Definition:
TableData.php:30
ILIAS\Dashboard\TableData\getRows
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
ILIAS\UI\Component\Table\OrderingRetrieval
Definition:
OrderingRetrieval.php:26
ILIAS\UI\Component\Table\OrderingRowBuilder
Definition:
OrderingRowBuilder.php:24
ILIAS\Dashboard
components
ILIAS
Dashboard
Block
classes
TableData.php
Generated on Sun Oct 19 2025 23:02:46 for ILIAS by
1.9.4 (using
Doxyfile
)