|
MediaWiki master
|
A simple notification that has only a message presented to a user. More...
Inherits MediaWiki\Notification\Notification.

Public Member Functions | |
| __construct (MessageSpecifier $message) | |
| getMessage () | |
Public Member Functions inherited from MediaWiki\Notification\Notification | |
| __construct (string $type, array $custom=[]) | |
| Base for Notifications. | |
| getProperties () | |
| Retrieve Notification properties. | |
| getType () | |
| Get the Notification type. | |
| setProperty (string $key, $value) | |
| Sets a custom property to the notification. | |
Public Attributes | |
| const | TYPE = 'mediawiki.simple' |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Notification\Notification | |
| string string | $type |
A simple notification that has only a message presented to a user.
Definition at line 13 of file SimpleNotification.php.
| MediaWiki\Notification\Types\SimpleNotification::__construct | ( | MessageSpecifier | $message | ) |
Definition at line 19 of file SimpleNotification.php.
| MediaWiki\Notification\Types\SimpleNotification::getMessage | ( | ) |
Definition at line 24 of file SimpleNotification.php.
| const MediaWiki\Notification\Types\SimpleNotification::TYPE = 'mediawiki.simple' |
Definition at line 15 of file SimpleNotification.php.