ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
MetaBarItemFactory.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\MetaBar\Factory
;
2
3
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
4
12
class
MetaBarItemFactory
13
{
14
20
public
function
topParentItem
(
IdentificationInterface
$identification) :
TopParentItem
21
{
22
return
new
TopParentItem
($identification);
23
}
24
25
31
public
function
topLegacyItem
(
IdentificationInterface
$identification) :
TopLegacyItem
32
{
33
return
new
TopLegacyItem
($identification);
34
}
35
36
42
public
function
linkItem
(
IdentificationInterface
$identification) :
LinkItem
43
{
44
return
new
LinkItem
($identification);
45
}
46
47
53
public
function
topLinkItem
(
IdentificationInterface
$identification) :
TopLinkItem
54
{
55
return
new
TopLinkItem
($identification);
56
}
57
58
64
public
function
notificationCenter
(
IdentificationInterface
$identification) :
NotificationCenter
65
{
66
static
$created;
67
if
($created ===
true
) {
68
// I currently disabled this since we have unresolved problems in https://mantis.ilias.de/view.php?id=26374
69
// throw new \LogicException("only one NotificationCenter can exist");
70
}
71
$created =
true
;
72
73
return
new
NotificationCenter
($identification);
74
}
75
}
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory
Class MetaBarItemFactory.
Definition:
MetaBarItemFactory.php:12
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory\topLinkItem
topLinkItem(IdentificationInterface $identification)
Definition:
MetaBarItemFactory.php:53
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLinkItem
Class TopLinkItem.
Definition:
TopLinkItem.php:13
ILIAS\GlobalScreen\Scope\MetaBar\Factory\NotificationCenter
Class NotificationCenter.
Definition:
NotificationCenter.php:12
ILIAS\GlobalScreen\Scope\MetaBar\Factory
Definition:
AbstractBaseItem.php:1
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem
Class TopLegacyItem.
Definition:
TopLegacyItem.php:14
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory\notificationCenter
notificationCenter(IdentificationInterface $identification)
Definition:
MetaBarItemFactory.php:64
IdentificationInterface
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory\topLegacyItem
topLegacyItem(IdentificationInterface $identification)
Definition:
MetaBarItemFactory.php:31
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopParentItem
Class BaseItem.
Definition:
TopParentItem.php:13
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory\linkItem
linkItem(IdentificationInterface $identification)
Definition:
MetaBarItemFactory.php:42
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory\topParentItem
topParentItem(IdentificationInterface $identification)
Definition:
MetaBarItemFactory.php:20
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem
Class LinkItem.
Definition:
LinkItem.php:12
src
GlobalScreen
Scope
MetaBar
Factory
MetaBarItemFactory.php
Generated on Tue Sep 2 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)