|
MediaWiki master
|
Notify users about things occurring. More...
Public Member Functions | |
| __construct (LoggerInterface $logger, ObjectFactory $objectFactory, MiddlewareChain $middlewareChain, array $specs) | |
| notify (Notification $notification, RecipientSet $recipients) | |
| Notify users about an event occurring. | |
| notifySimple (MessageSpecifier $message, UserIdentity $recipient) | |
| Notify a user with a message. | |
Public Attributes | |
| const | RECENT_CHANGE_HANDLER_SPEC |
| MediaWiki's notification handler for watchlist, talk page, and admin notification. | |
Notify users about things occurring.
Definition at line 17 of file NotificationService.php.
| MediaWiki\Notification\NotificationService::__construct | ( | LoggerInterface | $logger, |
| ObjectFactory | $objectFactory, | ||
| MiddlewareChain | $middlewareChain, | ||
| array | $specs ) |
Definition at line 40 of file NotificationService.php.
| MediaWiki\Notification\NotificationService::notify | ( | Notification | $notification, |
| RecipientSet | $recipients ) |
Notify users about an event occurring.
This method allows providing custom notification data to be handled by extensions, and defining multiple recipients.
Definition at line 76 of file NotificationService.php.
| MediaWiki\Notification\NotificationService::notifySimple | ( | MessageSpecifier | $message, |
| UserIdentity | $recipient ) |
Notify a user with a message.
Definition at line 106 of file NotificationService.php.
| const MediaWiki\Notification\NotificationService::RECENT_CHANGE_HANDLER_SPEC |
MediaWiki's notification handler for watchlist, talk page, and admin notification.
Definition at line 23 of file NotificationService.php.