ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
Presentation.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2017 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3 
5 
7 
12 {
39  public function withRowMapping(\Closure $row_mapping);
40 
41 
47  public function getRowMapping();
48 
56  public function withEnvironment(array $environment);
57 
63  public function getEnvironment();
64 
72  public function withData(array $records);
73 
80  public function getData();
81 }
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 HasViewControls
Trait for panels supporting view controls.
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.
withRowMapping(\Closure $row_mapping)
Get a table like this with the closure $row_mapping.