ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
TypeRenderer.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
24 
31 interface TypeRenderer
32 {
38  public function getComponentForItem(isItem $item, bool $with_content = true): Component;
39 
47  public function getComponentWithContent(isItem $item): Component;
48 
56  public function getComponentWithoutContent(isItem $item): Component;
57 }
getComponentWithoutContent(isItem $item)
This is called when only the relevant part of the item is needed during the synchronous rendering of ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getComponentWithContent(isItem $item)
This is called in cases when the Full Item with it&#39;s content is needed, e.g.
getComponentForItem(isItem $item, bool $with_content=true)
Class TypeRenderer Every Type should have a renderer, if you won&#39;t provide on in your TypeInformation...