ILIAS  release_8 Revision v8.24
Data.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use Psr\Http\Message\ServerRequestInterface;
27
31interface 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}
$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:13
A simple class to express a range of whole positive numbers.
Definition: Range.php:31
This is a legacy support of Component\Input\ViewControl\ViewControl that has been moved to Component\...
Definition: ViewControl.php:32
This describes a Data Table.
Definition: Data.php:32
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 (...
withNumberOfRows(int $number_of_rows)
Number of Rows is the amount of rows shown per page.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...