ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Table;
22 
23 use Closure;
24 use ILIAS\Data\URI;
25 
29 interface Factory
30 {
113  public function presentation(string $title, array $view_controls, Closure $row_mapping): Presentation;
114 
190  public function data(
191  string $title,
192  array $columns,
193  DataRetrieval $data_retrieval
194  ): Data;
195 
196 
232  public function column(): Column\Factory;
233 
266  public function action(): Action\Factory;
267 
268 
301  public function ordering(
302  string $title,
303  array $columns,
304  OrderingBinding $retrieval,
305  URI $target_url
306  ): Ordering;
307 }
action()
description: purpose: > Consumers may attach Actions to the table; an Action is a Signal or URL carr...
ordering(string $title, array $columns, OrderingBinding $retrieval, URI $target_url)
description: purpose: > The Ordering Table lists records in a structured, tabular way...
column()
description: purpose: > Tables display data in a very structured way; Columns are essential in that ...
This describes a Table to specify the order of its data (rows).
Definition: Ordering.php:28
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:34
data(string $title, array $columns, DataRetrieval $data_retrieval)
description: purpose: > The Data Table lists records in a complete and clear manner; the fields of a...
This describes a Presentation Table.
presentation(string $title, array $view_controls, Closure $row_mapping)
description: purpose: > The Presentation Table lists some tabular data in a pleasant way...