ILIAS  release_7 Revision v7.30-3-g800a261c036
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}
An exception for terminatinating execution or to throw for unit testing.
This describes a Presentation Table.
withEnvironment(array $environment)
Add a list of additional things the mapping-closure needs for processing.
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.
withData(array $records)
Fill a recordset into the table.
getRowMapping()
Get the closure to construct row-entries with.
Trait for adding view controls to a component.
trait HasViewControls
Trait for panels supporting view controls.