ILIAS  release_8 Revision v8.24
LostItemRenderer.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
21
24
30{
34 public function getComponentWithContent(isItem $item): Component
35 {
39 if ($item->hasChildren()) {
40 $r = new TopParentItemRenderer();
41
42 return $r->getComponentForItem($item);
43 }
44
45 return $this->ui_factory->button()->bulky($this->getStandardSymbol($item), "{$item->getTypeInformation()->getTypeNameForPresentation()}", "");
46 }
47}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...