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
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Client\Notifications
Definition:
Notifications.php:14
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer
Class AbstractBaseNotificationRenderer.
Definition:
AbstractBaseNotificationRenderer.php:13
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\__construct
__construct(UIFactory $factory)
AbstractBaseNotificationRenderer constructor.
Definition:
AbstractBaseNotificationRenderer.php:25
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\$ui_factory
$ui_factory
Definition:
AbstractBaseNotificationRenderer.php:19
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\AbstractBaseNotificationRenderer\buildCloseQuery
buildCloseQuery(isItem $item)
Definition:
AbstractBaseNotificationRenderer.php:34
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer
Interface NotificationRenderer.
Definition:
NotificationRenderer.php:16
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:12
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem\getProviderIdentification
getProviderIdentification()
ILIAS\UI\Factory
This is how the factory for UI elements looks.
Definition:
Factory.php:18
$factory
$factory
Definition:
metadata.php:58
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer
Definition:
AbstractBaseNotificationRenderer.php:1
src
GlobalScreen
Scope
Notification
Collector
Renderer
AbstractBaseNotificationRenderer.php
Generated on Fri Oct 3 2025 20:01:15 for ILIAS by
1.9.4 (using
Doxyfile
)