ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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,)
 
 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 \ilNotificationsSetupAgent(
37 $pull[\ILIAS\Refinery\Factory::class],
38 $seek[\ILIAS\Notifications\Interfaces\PushProviderInterface::class]
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\ComponentJS($this, "push-subscription.js");
46 $contribute[Component\Resource\PublicAsset::class] = fn() =>
47 new Component\Resource\ComponentCSS($this, "osd.css");
48 $contribute[Component\Resource\PublicAsset::class] = fn() =>
49 new Component\Resource\OfComponent($this, "receive.mp3", "assets/sounds");
50 $contribute[Component\Resource\PublicAsset::class] = fn() =>
51 new Component\Resource\OfComponent($this, "receive.ogg", "assets/sounds");
52 $contribute[User\Settings\UserSettings::class] = fn() =>
54 }
This is a css file provided by some component.
This is a js file provided by some component.
Definition: ComponentJS.php:27
An public asset that is a resource of some component.
Definition: OfComponent.php:27
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.

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