19 declare(strict_types=1);
    52         $this->view_controls = $view_controls;
    53         $this->signal_toggle_all = $signal_generator->
create();
    58         return $this->signal_generator;
    67         $clone->row_mapping = $row_mapping;
    76         return $this->row_mapping;
   102         $clone = clone $this;
   123         $option->addOption(
'expand', 
true);
   130         $option->addOption(
'expand', 
false);
 
Signal $signal_toggle_all
 
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation. 
 
__construct(string $title, array $view_controls, protected Closure $row_mapping, protected SignalGeneratorInterface $signal_generator)
 
trait HasViewControls
Trait for panels supporting view controls. 
 
getExpandCollapseAllSignal()
 
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...
 
create(string $class='')
Create a signal, each created signal MUST have a unique ID. 
 
__construct(Container $dic, ilPlugin $plugin)
 
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.