ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilMMLostItemRenderer.php
Go to the documentation of this file.
1
<?
php
2
3
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
5
use
ILIAS\UI\Component\Component
;
6
12
class
ilMMLostItemRenderer
extends
BaseTypeRenderer
13
{
14
20
public
function
getComponentForItem
(
isItem
$item) :
Component
21
{
25
if
($item->hasChildren()) {
26
$r
=
new
ilMMTopParentItemRenderer
();
27
28
return
$r
->getComponentForItem($item);
29
}
30
31
return
$this->ui_factory->legacy(
"{$item->getTypeInformation()->getTypeNameForPresentation()}"
);
32
}
33
}
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:12
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:12
Component
$r
$r
Definition:
example_031.php:79
isItem
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentForItem
getComponentForItem(isItem $item)
Definition:
BaseTypeRenderer.php:34
php
ilMMTopParentItemRenderer
Class ilMMTopParentItemRenderer.
Definition:
class.ilMMTopParentItemRenderer.php:19
ilMMLostItemRenderer
Class ilMMLostItemRenderer.
Definition:
class.ilMMLostItemRenderer.php:12
BaseTypeRenderer
Services
MainMenu
classes
Renderer
class.ilMMLostItemRenderer.php
Generated on Thu Jan 30 2025 19:02:00 for ILIAS by
1.8.13 (using
Doxyfile
)