ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Data.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use Psr\Http\Message\ServerRequestInterface;
26
30interface 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}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
Both the subject and the direction need to be specified when expressing an order.
Definition: Order.php:29
A simple class to express a naive range of whole positive numbers.
Definition: Range.php:29
This describes a Data Table.
Definition: Data.php:31
withId(string $id)
The DataTable comes with a storage to keep e.g.
withRequest(ServerRequestInterface $request)
Rendering the Table must be done using the current Request: it (the request) will be forwarded to the...
withAdditionalParameters(?array $additional_parameters)
withSelectedOptionalColumns(array $selected_optional_column_ids)
Not all columns are neccessarily visible; "selected optional" is the positive list of shown columns (...