ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
AbstractBaseNotificationRenderer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
;
21
22
use
ILIAS\GlobalScreen\Client\Notifications
as ClientNotifications;
23
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher
;
24
use
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
;
25
use
ILIAS\UI\Factory
as
UIFactory
;
26
31
abstract
class
AbstractBaseNotificationRenderer
implements
NotificationRenderer
32
{
33
use
Hasher
;
34
38
protected
$ui_factory
;
39
44
public
function
__construct
(
UIFactory
$factory
)
45
{
46
$this->ui_factory =
$factory
;
47
}
48
53
protected
function
buildCloseQuery
(
isItem
$item) : string
54
{
55
return
http_build_query([
56
ClientNotifications::MODE => ClientNotifications::MODE_CLOSED,
57
ClientNotifications::ITEM_ID => $this->
hash
($item->
getProviderIdentification
()->serialize()),
58
]);
59
}
60
}
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem\getProviderIdentification
getProviderIdentification()
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\$ui_factory
$ui_factory
Definition:
AbstractBaseNotificationRenderer.php:38
Factory
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:20
isItem
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\buildCloseQuery
buildCloseQuery(isItem $item)
Definition:
AbstractBaseNotificationRenderer.php:53
Hasher
hash
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\__construct
__construct(UIFactory $factory)
AbstractBaseNotificationRenderer constructor.
Definition:
AbstractBaseNotificationRenderer.php:44
Hasher
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\GlobalScreen\Client\Notifications
Definition:
Notifications.php:35
$factory
$factory
Definition:
metadata.php:58
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer
Class AbstractBaseNotificationRenderer.
Definition:
AbstractBaseNotificationRenderer.php:31
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:30
src
GlobalScreen
Scope
Notification
Collector
Renderer
AbstractBaseNotificationRenderer.php
Generated on Sun Aug 31 2025 21:01:39 for ILIAS by
1.8.13 (using
Doxyfile
)