ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 
26 
30 interface Data extends Table
31 {
35  public function withActions(array $actions): static;
36 
43  public function withRequest(ServerRequestInterface $request): static;
44 
51  public function withSelectedOptionalColumns(array $selected_optional_column_ids): static;
52 
53  public function withOrder(?Order $order): self;
54  public function withRange(?Range $range): self;
55  public function withFilter(?array $filter): self;
56  public function withAdditionalParameters(?array $additional_parameters): self;
57 
62  public function withId(string $id): static;
63 }
withId(string $id)
The DataTable comes with a storage to keep e.g.
withAdditionalParameters(?array $additional_parameters)
Both the subject and the direction need to be specified when expressing an order. ...
Definition: Order.php:28
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 naive range of whole positive numbers.
Definition: Range.php:28