ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
LostItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
4 
7 
14 {
15 
19  public function getComponentWithContent(isItem $item) : Component
20  {
24  if ($item->hasChildren()) {
25  $r = new TopParentItemRenderer();
26 
27  return $r->getComponentForItem($item, true);
28  }
29 
30  return $this->ui_factory->button()->bulky($this->getStandardSymbol($item), "{$item->getTypeInformation()->getTypeNameForPresentation()}", "");
31  }
32 }