ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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\Data\Color\Factory
Builds a Color from either hex- or rgb values.
Definition:
Factory.php:31
ILIAS\GlobalScreen\Client\Notifications
Definition:
Notifications.php:37
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer
Class AbstractBaseNotificationRenderer.
Definition:
AbstractBaseNotificationRenderer.php:33
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\buildCloseQuery
buildCloseQuery(isItem $item)
Definition:
AbstractBaseNotificationRenderer.php:48
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\__construct
__construct(protected UIFactory $ui_factory)
AbstractBaseNotificationRenderer constructor.
Definition:
AbstractBaseNotificationRenderer.php:40
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:36
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:32
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem\getProviderIdentification
getProviderIdentification()
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:21
components
ILIAS
GlobalScreen
src
Scope
Notification
Collector
Renderer
AbstractBaseNotificationRenderer.php
Generated on Sun Oct 19 2025 23:02:59 for ILIAS by
1.9.4 (using
Doxyfile
)