ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
StandardNotificationGroupRenderer.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
;
2
3
use
ILIAS\GlobalScreen\Scope\Notification\Factory\canHaveSymbol
;
4
use
ILIAS\GlobalScreen\Scope\Notification\Factory\hasActions
;
5
use
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
;
6
use
ILIAS\GlobalScreen\Scope\Notification\Factory\StandardNotificationGroup
;
7
use
ILIAS\UI\Component\MainControls\Slate\Notification
;
8
14
class
StandardNotificationGroupRenderer
extends
AbstractBaseNotificationRenderer
implements
NotificationRenderer
15
{
16
22
public
function
getNotificationComponentForItem
(
isItem
$item)
23
{
24
if
(!$item instanceof
StandardNotificationGroup
) {
25
throw
new \LogicException(
"item is not a StandardNotificationGroup"
);
26
}
27
28
$slate = $this->ui_factory->mainControls()->slate()->notification($item->getTitle(), []);
29
foreach
($item->getNotifications() as $standard_notification) {
30
$slate = $slate->withAdditionalEntry($standard_notification->getRenderer($this->ui_factory)
31
->getNotificationComponentForItem($standard_notification));
32
}
33
34
return
$slate;
35
}
36
}
hasActions
canHaveSymbol
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:1
isItem
Notification
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\StandardNotificationGroupRenderer\getNotificationComponentForItem
getNotificationComponentForItem(isItem $item)
Definition:
StandardNotificationGroupRenderer.php:22
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\StandardNotificationGroupRenderer
Class StandardNotificationGroupRenderer.
Definition:
StandardNotificationGroupRenderer.php:14
ILIAS\GlobalScreen\Scope\Notification\Factory\StandardNotificationGroup
Class StandardNotificationGroup.
Definition:
StandardNotificationGroup.php:14
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer
Interface NotificationRenderer.
Definition:
NotificationRenderer.php:15
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer
Class AbstractBaseNotificationRenderer.
Definition:
AbstractBaseNotificationRenderer.php:12
StandardNotificationGroup
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:11
src
GlobalScreen
Scope
Notification
Collector
Renderer
StandardNotificationGroupRenderer.php
Generated on Thu Apr 10 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)