ILIAS  release_7 Revision v7.30-3-g800a261c036
Data.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
3/* Copyright (c) 2020 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
8use Psr\Http\Message\ServerRequestInterface;
9
14{
15 public function getNumberOfRows() : ?int;
16
26 public function withData(DataRetrieval $data_retrieval) : Data;
27
28 public function getData() : DataRetrieval;
29
33 public function withColumns(array $columns) : Data;
34
38 public function getColumns() : array;
39
48 public function withAdditionalViewControl(ViewControl $view_control) : Data;
49
53 public function getViewControls() : array;
54
61 public function withRequest(ServerRequestInterface $request) : Data;
62}
if(! $in) $columns
Definition: Utf8Test.php:45
An exception for terminatinating execution or to throw for unit testing.
This describes the basis of all View Control Inputs.
Definition: ViewControl.php:16
This describes a Data Table.
Definition: Data.php:14
withAdditionalViewControl(ViewControl $view_control)
The Data Table brings some View Controls along - it is common enough to use pagination,...
withRequest(ServerRequestInterface $request)
Rendering the Table must be done using the current Request: it (the request) will be forwarded to the...
withData(DataRetrieval $data_retrieval)
Configure the Table to retrieve data with an instance of DataRetrieval; the table itself is agnostic ...