INotifier¶
-
interface
OCP\Notification\INotifier¶ - Interface INotifier
Implemented by: OC\Authentication\Notifications\NotifierSource: lib/public/Notification/INotifier.php#33
Methods¶
-
public
OCP\Notification\INotifier::getID()¶ - Identifier of the notifier, only use [a-z0-9_]
Source: lib/public/Notification/INotifier.php#41 Returns: string Since: 17.0.0
-
public
OCP\Notification\INotifier::getName()¶ - Human readable name describing the notifier
Source: lib/public/Notification/INotifier.php#49 Returns: string Since: 17.0.0
-
public
OCP\Notification\INotifier::prepare($notification, $languageCode)¶ Source: Parameters: - $notification (
OCP\Notification\INotification) - $languageCode (string) The code of the language that should be used to prepare the notification
Returns: Throws: \InvalidArgumentExceptionWhen the notification was not prepared by a notifierThrows: \OCP\Notification\AlreadyProcessedExceptionWhen the notification is not needed anymore and should be deletedThrows: \InvalidArgumentExceptionWhen the notification was not prepared by a notifierThrows: \OCP\Notification\AlreadyProcessedExceptionWhen the notification is not needed anymore and should be deletedSince: 9.0.0
- $notification (