ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
RepositoryLinkItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
21 
26 
31 {
33 
37  public function getComponentWithContent(isItem $item): Component
38  {
39  if ($item instanceof isInterchangeableItem && !$item->getParent()) {
40  return $this->ui_factory->link()->bulky($this->getStandardSymbol($item), $item->getTitle(), $this->getURI($item->getAction()));
41  } else {
42  return $this->ui_factory->link()->bulky($this->getStandardSymbol($item), $item->getTitle(), $this->getURI($item->getAction()));
43  }
44  }
45 }
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...