ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
AbstractBaseNotificationRenderer.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
;
2
3
use
ILIAS\GlobalScreen\Client\Notifications
as ClientNotifications;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher
;
5
use
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
;
6
use
ILIAS\UI\Factory
as
UIFactory
;
7
12
abstract
class
AbstractBaseNotificationRenderer
implements
NotificationRenderer
13
{
14
use
Hasher
;
15
19
protected
$ui_factory
;
20
25
public
function
__construct
(
UIFactory
$factory
)
26
{
27
$this->ui_factory =
$factory
;
28
}
29
34
protected
function
buildCloseQuery
(
isItem
$item) : string
35
{
36
return
http_build_query([
37
ClientNotifications::MODE => ClientNotifications::MODE_CLOSED,
38
ClientNotifications::ITEM_ID => $this->
hash
($item->
getProviderIdentification
()->serialize()),
39
]);
40
}
41
}
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem\getProviderIdentification
getProviderIdentification()
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\$ui_factory
$ui_factory
Definition:
AbstractBaseNotificationRenderer.php:19
Factory
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:1
isItem
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\buildCloseQuery
buildCloseQuery(isItem $item)
Definition:
AbstractBaseNotificationRenderer.php:34
Hasher
hash
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\__construct
__construct(UIFactory $factory)
AbstractBaseNotificationRenderer constructor.
Definition:
AbstractBaseNotificationRenderer.php:25
Hasher
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer
Interface NotificationRenderer.
Definition:
NotificationRenderer.php:15
ILIAS\GlobalScreen\Client\Notifications
Definition:
Notifications.php:13
$factory
$factory
Definition:
metadata.php:58
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer
Class AbstractBaseNotificationRenderer.
Definition:
AbstractBaseNotificationRenderer.php:12
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:11
src
GlobalScreen
Scope
Notification
Collector
Renderer
AbstractBaseNotificationRenderer.php
Generated on Tue Sep 2 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)