ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
TableFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Factory as UIFactory;
28
30{
31 protected UIFactory $ui_factory;
36
37 public function __construct(
38 UIFactory $ui_factory,
43 ) {
44 $this->ui_factory = $ui_factory;
45 $this->renderer = $renderer;
46 $this->presenter = $presenter;
47 $this->data_finder = $data_finder;
48 $this->button_factory = $button_factory;
49 }
50
51 public function table(): TableBuilder
52 {
53 return new TableBuilder(
54 $this->ui_factory,
55 $this->renderer,
56 $this->presenter,
57 $this->data_finder,
58 $this->button_factory
59 );
60 }
61}
renderer()
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
__construct(UIFactory $ui_factory, Renderer $renderer, PresenterInterface $presenter, DataFinder $data_finder, ButtonFactory $button_factory)
An entity that renders components to a string output.
Definition: Renderer.php:31