ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
TopLinkItemRenderer.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
;
4
5
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
6
use
ILIAS\UI\Component\Component
;
7
12
class
TopLinkItemRenderer
extends
BaseTypeRenderer
13
{
14
18
const
BLANK
=
"_blank"
;
19
const
TOP
=
"_top"
;
20
24
public
function
getComponentWithContent
(
isItem
$item) :
Component
25
{
26
return
$this->ui_factory->link()->bulky($this->
getStandardSymbol
($item), $item->getTitle(), $this->getURI($item->getAction()))->withOpenInNewViewport($item->isLinkWithExternalAction());
27
}
28
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:19
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:84
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopLinkItemRenderer
Class TopLinkItemRenderer.
Definition:
TopLinkItemRenderer.php:13
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopLinkItemRenderer\BLANK
const BLANK
@inheritDoc
Definition:
TopLinkItemRenderer.php:18
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopLinkItemRenderer\TOP
const TOP
Definition:
TopLinkItemRenderer.php:19
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopLinkItemRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
@inheritDoc
Definition:
TopLinkItemRenderer.php:24
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:12
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:14
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:1
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
TopLinkItemRenderer.php
Generated on Sat Oct 4 2025 20:01:11 for ILIAS by
1.9.4 (using
Doxyfile
)