ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
NullItemInformation.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information
;
21
22
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
23
use
ILIAS\GlobalScreen\Identification\NullIdentification
;
24
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
;
25
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
;
26
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild
;
27
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
28
33
class
NullItemInformation
implements
ItemInformation
34
{
35
public
function
isItemActive
(
isItem
$item): bool
36
{
37
return
false
;
38
}
39
40
public
function
customPosition
(
isItem
$item):
isItem
41
{
42
return
$item;
43
}
44
45
public
function
customTranslationForUser
(
hasTitle
$item):
hasTitle
46
{
47
return
$item;
48
}
49
50
public
function
getParent
(
isItem
$item):
IdentificationInterface
51
{
52
return
new
NullIdentification
();
53
}
54
55
public
function
customSymbol
(
hasSymbol
$item):
hasSymbol
56
{
57
return
$item;
58
}
59
}
ILIAS\GlobalScreen\Identification\NullIdentification
Class NullIdentification.
Definition:
NullIdentification.php:28
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation
Class NullItemInformation.
Definition:
NullItemInformation.php:34
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\customTranslationForUser
customTranslationForUser(hasTitle $item)
Definition:
NullItemInformation.php:45
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\isItemActive
isItemActive(isItem $item)
Definition:
NullItemInformation.php:35
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\getParent
getParent(isItem $item)
Definition:
NullItemInformation.php:50
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\customPosition
customPosition(isItem $item)
Definition:
NullItemInformation.php:40
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\customSymbol
customSymbol(hasSymbol $item)
Definition:
NullItemInformation.php:55
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\ItemInformation
Class ItemInformation.
Definition:
ItemInformation.php:33
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
Interface hasSymbol Methods for Entries with Symbols.
Definition:
hasSymbol.php:33
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild
Interface isChild.
Definition:
isChild.php:29
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:32
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ItemInformation.php:20
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
hasSymbol()
@inheritDoc
Definition:
hasSymbolTrait.php:63
src
GlobalScreen
Scope
MainMenu
Collector
Information
NullItemInformation.php
Generated on Sun Nov 2 2025 22:01:58 for ILIAS by
1.9.4 (using
Doxyfile
)