ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Dashboard\TableData Class Reference
+ Inheritance diagram for ILIAS\Dashboard\TableData:
+ Collaboration diagram for ILIAS\Dashboard\TableData:

Public Member Functions

 __construct (private readonly Closure $proc)
 
 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_builder e.g. More...
 
 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_builder e.g. More...
 

Detailed Description

Definition at line 28 of file TableData.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Dashboard\TableData::__construct ( private readonly Closure  $proc)

Definition at line 30 of file TableData.php.

31 {
32 }

Member Function Documentation

◆ getRows()

ILIAS\Dashboard\TableData::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_builder e.g.

yield $row_builder->buildOrderingRow($row_id, $record).

Implements ILIAS\UI\Component\Table\OrderingRetrieval.

Definition at line 34 of file TableData.php.

34 : Generator
35 {
36 return ($this->proc)(...func_get_args());
37 }

The documentation for this class was generated from the following file: