Nextcloud PHP API (stable19)

INotifier

Interface INotifier

Tags
since
9.0.0

Table of Contents

getID()  : string
Identifier of the notifier, only use [a-z0-9_]
getName()  : string
Human readable name describing the notifier
prepare()  : INotification

Methods

getID()

Identifier of the notifier, only use [a-z0-9_]

public getID() : string
Tags
since
17.0.0
Return values
string

getName()

Human readable name describing the notifier

public getName() : string
Tags
since
17.0.0
Return values
string

prepare()

public prepare(INotification $notification, string $languageCode) : INotification
Parameters
$notification : INotification
$languageCode : string

The code of the language that should be used to prepare the notification

Tags
throws
InvalidArgumentException

When the notification was not prepared by a notifier

throws
AlreadyProcessedException

When the notification is not needed anymore and should be deleted

since
9.0.0
Return values
INotification

Search results