ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
AbstractBaseNotificationRenderer.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
21 
22 use ILIAS\GlobalScreen\Client\Notifications as ClientNotifications;
26 
32 {
33  use Hasher;
34 
36 
41  public function __construct(UIFactory $factory)
42  {
43  $this->ui_factory = $factory;
44  }
45 
50  protected function buildCloseQuery(isItem $item): string
51  {
52  return http_build_query([
53  ClientNotifications::MODE => ClientNotifications::MODE_CLOSED,
54  ClientNotifications::ITEM_ID => $this->hash($item->getProviderIdentification()->serialize()),
55  ]);
56  }
57 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface NotificationRenderer Every Notification should have a renderer, if you won&#39;t provide on in ...
$factory
Definition: metadata.php:75