ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
NullItemInformation.php
Go to the documentation of this file.
1
<?php
2
19
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\Scope\MainMenu\Collector\Information\NullItemInformation
Class NullItemInformation.
Definition:
NullItemInformation.php:33
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\customPosition
customPosition(isItem $item)
Definition:
NullItemInformation.php:40
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Identification\NullIdentification
Class NullIdentification.
Definition:
NullIdentification.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:31
isChild
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:26
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\ItemInformation
Class ItemInformation.
Definition:
ItemInformation.php:32
NullIdentification
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\customSymbol
customSymbol(hasSymbol $item)
Definition:
NullItemInformation.php:55
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
hasSymbol()
Definition:
hasSymbolTrait.php:66
IdentificationInterface
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\isItemActive
isItemActive(isItem $item)
Definition:
NullItemInformation.php:35
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
Interface hasSymbol Methods for Entries with Symbols.
Definition:
hasSymbol.php:32
isItem
hasTitle
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\getParent
getParent(isItem $item)
Definition:
NullItemInformation.php:50
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\NullItemInformation\customTranslationForUser
customTranslationForUser(hasTitle $item)
Definition:
NullItemInformation.php:45
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information
Definition:
ItemInformation.php:20
src
GlobalScreen
Scope
MainMenu
Collector
Information
NullItemInformation.php
Generated on Tue Sep 2 2025 21:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)