19declare(strict_types=1);
34 protected const int TTL = 60;
42 $this->config->setHandlerParam(
'setting.user_pref',
$provider->getIdentifier());
43 $this->config->setHandlerParam(
'setting.ttl', (
string) $this::TTL);
49 $notification->title = $title;
50 $notification->shortDescription = $description;
51 $notification->links = $link ? [$link] : [];
52 $this->handler->notify($notification);
ilNotificationConfig $config
ilNotificationPushHandler $handler
__construct(PushProviderInterface $provider)
push(ilObjUser $user, string $title, string $description='', ?ilNotificationLink $link=null)
This is the lowest common denominator of all popular browsers.