ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
This describes a Presentation Table.
withTitle($title)
Get a table like this with title $title.
withEnvironment(array $environment)
Add a list of additional things the mapping-closure needs for processing.
getData()
Get the recordset of this table.
getTitle()
Get the title of the 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.