ILIAS  release_8 Revision v8.23
Presentation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Table;
22 
24 use Closure;
26 
31 {
55  public function withRowMapping(Closure $row_mapping): Presentation;
56 
60  public function getRowMapping(): Closure;
61 
68  public function withEnvironment(array $environment): Presentation;
69 
75  public function getEnvironment(): array;
76 
83  public function withData(array $records): Presentation;
84 
91  public function getData(): array;
92 }
withData(array $records)
Fill a recordset into the table.
withEnvironment(array $environment)
Add a list of additional things the mapping-closure needs for processing.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait HasViewControls
Trait for panels supporting view controls.
withRowMapping(Closure $row_mapping)
Get a table like this with the closure $row_mapping.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes a Presentation Table.
getRowMapping()
Get the closure to construct row-entries with.
getData()
Get the recordset of this table.
getEnvironment()
Get an array of additionally needed elements to build a data-entry.