ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Notifications Class Reference
+ Inheritance diagram for ILIAS\Notifications:
+ Collaboration diagram for ILIAS\Notifications:

Public Member Functions

 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 

Detailed Description

Definition at line 23 of file Notifications.php.

Member Function Documentation

◆ init()

ILIAS\Notifications::init ( array|\ArrayAccess &  $define,
array|\ArrayAccess &  $implement,
array|\ArrayAccess &  $use,
array|\ArrayAccess &  $contribute,
array|\ArrayAccess &  $seek,
array|\ArrayAccess &  $provide,
array|\ArrayAccess &  $pull,
array|\ArrayAccess &  $internal 
)

Implements ILIAS\Component\Component.

Definition at line 25 of file Notifications.php.

34  : void {
35  $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
36  new \ilNotificationUpdateAgent(
37  $pull[\ILIAS\Refinery\Factory::class]
38  );
39 
40  $contribute[Component\Resource\PublicAsset::class] = fn() =>
41  new Component\Resource\ComponentJS($this, "notifications.js");
42  $contribute[Component\Resource\PublicAsset::class] = fn() =>
43  new Component\Resource\ComponentJS($this, "js/dist/BrowserNotifications.min.js");
44  $contribute[Component\Resource\PublicAsset::class] = fn() =>
45  new Component\Resource\ComponentCSS($this, "osd.css");
46  $contribute[Component\Resource\PublicAsset::class] = fn() =>
47  new Component\Resource\OfComponent($this, "receive.mp3", "assets/sounds");
48  $contribute[Component\Resource\PublicAsset::class] = fn() =>
49  new Component\Resource\OfComponent($this, "receive.ogg", "assets/sounds");
50  }
Interface Observer Contains several chained tasks and infos about them.

The documentation for this class was generated from the following file: