ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TableFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Factory as UIFactory;
30
32{
33 protected UIFactory $ui_factory;
38
39 public function __construct(
40 UIFactory $ui_factory,
45 ) {
46 $this->ui_factory = $ui_factory;
47 $this->renderer = $renderer;
48 $this->presenter = $presenter;
49 $this->data_finder = $data_finder;
50 $this->button_factory = $button_factory;
51 }
52
53 public function table(): TableBuilder
54 {
55 return new TableBuilder(
56 $this->ui_factory,
57 $this->renderer,
58 $this->presenter,
59 $this->data_finder,
60 $this->button_factory
61 );
62 }
63}
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