ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
NullItemInformation.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Footer\Collector\Information
;
22
23
use
ILIAS\GlobalScreen\Scope\Footer\Factory\isItem
;
24
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
25
use
ILIAS\GlobalScreen\Identification\NullIdentification
;
26
use
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitle
;
27
31
class
NullItemInformation
implements
ItemInformation
32
{
33
public
function
isItemActive
(
isItem
$item): bool
34
{
35
return
false
;
36
}
37
38
public
function
customPosition
(
isItem
$item):
isItem
39
{
40
return
$item;
41
}
42
43
public
function
customTranslationForUser
(
hasTitle
$item):
hasTitle
44
{
45
return
$item;
46
}
47
48
public
function
getParent
(
isItem
$item):
IdentificationInterface
49
{
50
return
new
NullIdentification
();
51
}
52
53
}
ILIAS\GlobalScreen\Identification\NullIdentification
Class NullIdentification.
Definition:
NullIdentification.php:28
ILIAS\GlobalScreen\Scope\Footer\Collector\Information\NullItemInformation
Definition:
NullItemInformation.php:32
ILIAS\GlobalScreen\Scope\Footer\Collector\Information\NullItemInformation\getParent
getParent(isItem $item)
Definition:
NullItemInformation.php:48
ILIAS\GlobalScreen\Scope\Footer\Collector\Information\NullItemInformation\customPosition
customPosition(isItem $item)
Definition:
NullItemInformation.php:38
ILIAS\GlobalScreen\Scope\Footer\Collector\Information\NullItemInformation\isItemActive
isItemActive(isItem $item)
Definition:
NullItemInformation.php:33
ILIAS\GlobalScreen\Scope\Footer\Collector\Information\NullItemInformation\customTranslationForUser
customTranslationForUser(hasTitle $item)
Definition:
NullItemInformation.php:43
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:30
ILIAS\GlobalScreen\Scope\Footer\Collector\Information\ItemInformation
Definition:
ItemInformation.php:31
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitle
Definition:
hasTitle.php:27
ILIAS\GlobalScreen\Scope\Footer\Factory\isItem
Definition:
isItem.php:29
ILIAS\GlobalScreen\Scope\Footer\Collector\Information
Definition:
ItemInformation.php:21
components
ILIAS
GlobalScreen
src
Scope
Footer
Collector
Information
NullItemInformation.php
Generated on Sun Oct 19 2025 23:02:59 for ILIAS by
1.9.4 (using
Doxyfile
)