ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TypeRenderer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
32interface TypeRenderer
33{
39 public function getComponentForItem(isItem $item, bool $with_content = true): Component;
40
48 public function getComponentWithContent(isItem $item): Component;
49
58}
Class TypeRenderer Every Type should have a renderer, if you won't provide on in your TypeInformation...
getComponentForItem(isItem $item, bool $with_content=true)
getComponentWithContent(isItem $item)
This is called in cases when the Full Item with it's content is needed, e.g.
getComponentWithoutContent(isItem $item)
This is called when only the relevant part of the item is needed during the synchronous rendering of ...
A component is the most general form of an entity in the UI.
Definition: Component.php:28