ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Data.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Table;
22 
27 
31 interface Data extends Table
32 {
36  public function withActions(array $actions): self;
37 
44  public function withRequest(ServerRequestInterface $request): self;
45 
49  public function withNumberOfRows(int $number_of_rows): self;
50 
57  public function withSelectedOptionalColumns(array $selected_optional_column_ids): self;
58 
59  public function withOrder(?Order $order): self;
60  public function withRange(?Range $range): self;
61  public function withFilter(?array $filter): self;
62  public function withAdditionalParameters(?array $additional_parameters): self;
63 
68  public function withId(string $id): self;
69 }
withId(string $id)
The DataTable comes with a storage to keep e.g.
withAdditionalParameters(?array $additional_parameters)
This describes a Data Table.
Definition: Data.php:31
withNumberOfRows(int $number_of_rows)
Number of Rows is the amount of rows shown per page.
Both the subject and the direction need to be specified when expressing an order. ...
Definition: Order.php:12
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withSelectedOptionalColumns(array $selected_optional_column_ids)
Not all columns are neccessarily visible; "selected optional" is the positive list of shown columns (...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
withRequest(ServerRequestInterface $request)
Rendering the Table must be done using the current Request: it (the request) will be forwarded to the...
A simple class to express a range of whole positive numbers.
Definition: Range.php:30