ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 {
13 
20  public function withTitle($title);
21 
27  public function getTitle();
28 
55  public function withRowMapping(\Closure $row_mapping);
56 
57 
63  public function getRowMapping();
64 
72  public function withEnvironment(array $environment);
73 
79  public function getEnvironment();
80 
88  public function withData(array $records);
89 
96  public function getData();
97 }
withData(array $records)
Fill a recordset into the table.
withEnvironment(array $environment)
Add a list of additional things the mapping-closure needs for processing.
A component is the most general form of an entity in the UI.
Definition: Component.php:13
withTitle($title)
Get a table like this with title $title.
trait HasViewControls
Trait for panels supporting view controls.
getTitle()
Get the title of the table.
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.