ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
AbstractBaseNotificationRenderer.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\GlobalScreen\Client\Notifications
as ClientNotifications;
24
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher
;
25
use
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
;
26
use
ILIAS\UI\Factory
as
UIFactory
;
27
32
abstract
class
AbstractBaseNotificationRenderer
implements
NotificationRenderer
33
{
34
use
Hasher
;
35
40
public
function
__construct
(
protected
UIFactory
$ui_factory)
41
{
42
}
43
48
protected
function
buildCloseQuery
(
isItem
$item): string
49
{
50
return
http_build_query([
51
ClientNotifications::MODE => ClientNotifications::MODE_CLOSED,
52
ClientNotifications::ITEM_ID => $this->
hash
($item->
getProviderIdentification
()->serialize()),
53
]);
54
}
55
}
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem\getProviderIdentification
getProviderIdentification()
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\__construct
__construct(protected UIFactory $ui_factory)
AbstractBaseNotificationRenderer constructor.
Definition:
AbstractBaseNotificationRenderer.php:40
Factory
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:21
isItem
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\buildCloseQuery
buildCloseQuery(isItem $item)
Definition:
AbstractBaseNotificationRenderer.php:48
Hasher
hash
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
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
AbstractBaseNotificationRenderer.php
Generated on Mon Sep 1 2025 23:03:12 for ILIAS by
1.8.13 (using
Doxyfile
)