ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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): static;
37 
44  public function withRequest(ServerRequestInterface $request): static;
45 
52  public function withSelectedOptionalColumns(array $selected_optional_column_ids): static;
53 
54  public function withOrder(?Order $order): self;
55  public function withRange(?Range $range): self;
56  public function withFilter(?array $filter): self;
57  public function withAdditionalParameters(?array $additional_parameters): self;
58 
63  public function withId(string $id): static;
64 }
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:12
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:24
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