ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
AdministrativeNotificationRenderer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
;
22
23
use
ILIAS\UI\Component\Component
;
24
use
ILIAS\Data\URI
;
25
use
ILIAS\GlobalScreen\Client\Notifications
as ClientNotifications;
26
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher
;
27
use
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
;
28
33
class
AdministrativeNotificationRenderer
extends
AbstractBaseNotificationRenderer
implements
NotificationRenderer
34
{
35
use
Hasher
;
36
40
public
function
getNotificationComponentForItem
(
isItem
$item):
Component
41
{
45
$system_info = $this->ui_factory->mainControls()->systemInfo($item->getTitle(), $item->getSummary())->withDenotation($item->getDenotation());
46
47
if
($item->hasClosedCallable()) {
48
$url
= rtrim(
49
ILIAS_HTTP_PATH,
50
"/"
51
) .
"/"
. ClientNotifications::NOTIFY_ENDPOINT .
"?"
. $this->
buildCloseQuery
($item);
52
$system_info = $system_info->withDismissAction(
new
URI
(
$url
));
53
}
54
55
return
$system_info;
56
}
57
}
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer\getNotificationComponentForItem
getNotificationComponentForItem(isItem $item)
Returns the UI Component for the past item.
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:21
isItem
ILIAS\UI\Component
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\buildCloseQuery
buildCloseQuery(isItem $item)
Definition:
AbstractBaseNotificationRenderer.php:48
$url
$url
Definition:
shib_logout.php:66
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AdministrativeNotificationRenderer
Class AdministrativeNotificationRenderer.
Definition:
AdministrativeNotificationRenderer.php:33
Hasher
Hasher
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
Definition:
NotificationRenderer.php:34
ILIAS\Data\URI
GuzzleHttp\Client\Notifications
Definition:
Notifications.php:36
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer
Class AbstractBaseNotificationRenderer.
Definition:
AbstractBaseNotificationRenderer.php:32
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:30
components
ILIAS
GlobalScreen
src
Scope
Notification
Collector
Renderer
AdministrativeNotificationRenderer.php
Generated on Sun Apr 13 2025 23:03:02 for ILIAS by
1.8.13 (using
Doxyfile
)