19 declare(strict_types=1);
53 $this->view_controls = $view_controls;
104 $clone = clone $this;
__construct(string $title, array $view_controls, Closure $row_mapping, SignalGeneratorInterface $signal_generator)
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait HasViewControls
Trait for panels supporting view controls.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withRowMapping(Closure $row_mapping)
Get a table like this with the closure $row_mapping.This closure is called by the renderer upon build...
withData(array $records)
Fill a recordset into the table.All elements in $records MUST be processable by the mapping-closure...
getData()
Get the recordset of this table.All elements in $records MUST be processable by the mapping-closure...
This describes a Presentation Table.
withEnvironment(array $environment)
Add a list of additional things the mapping-closure needs for processing.These can be virtually anyth...
getEnvironment()
Get an array of additionally needed elements to build a data-entry.array<string,mixed> ...
getRowMapping()
Get the closure to construct row-entries with.
SignalGeneratorInterface $signal_generator