ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
Data.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\UI\Component\Input\ViewControl\ViewControl;
25use Psr\Http\Message\ServerRequestInterface;
28
32interface Data extends Table
33{
37 public function withActions(array $actions): static;
38
45 public function withRequest(ServerRequestInterface $request): static;
46
53 public function withSelectedOptionalColumns(array $selected_optional_column_ids): static;
54
55 public function withOrder(?Order $order): self;
56 public function withRange(?Range $range): self;
57 public function withFilter(mixed $filter): self;
58 public function withAdditionalParameters(mixed $additional_parameters): self;
59
64 public function withId(string $id): static;
65
73 ViewControlInput $view_control
74 ): self;
75}
$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 the basis of all View Control Inputs.
This describes a Data Table.
Definition: Data.php:33
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(mixed $additional_parameters)
withSelectedOptionalColumns(array $selected_optional_column_ids)
Not all columns are neccessarily visible; "selected optional" is the positive list of shown columns (...
withAdditionalViewControl(ViewControlInput $view_control)
Consumers may add additional view controls; their data will be relayed to DataRetrieval::getRows and ...