ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 
191  public function data(
192  DataRetrieval $data_retrieval,
193  string $title,
194  array $columns,
195  ): Data;
196 
197 
233  public function column(): Column\Factory;
234 
267  public function action(): Action\Factory;
268 
269 
304  public function ordering(
305  OrderingRetrieval $ordering_retrieval,
306  URI $target_url,
307  string $title,
308  array $columns,
309  ): Ordering;
310 }
action()
description: purpose: > Consumers may attach Actions to the table; an Action is a Signal or URL carr...
data(DataRetrieval $data_retrieval, string $title, array $columns,)
description: purpose: > The Data Table lists records in a complete and clear manner; the fields of a...
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
ordering(OrderingRetrieval $ordering_retrieval, URI $target_url, string $title, array $columns,)
description: purpose: > The Ordering Table lists records in a structured, tabular way...
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...