1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/16370] Add core events for Notification

PHPBB3-16370
This commit is contained in:
Dark❶
2020-03-04 01:41:37 +05:30
parent 255c79a8f7
commit 70513f8da4
2 changed files with 4 additions and 6 deletions

View File

@@ -341,14 +341,14 @@ class manager
}
/**
* Allow filtering the notify_users array by notification_type_name & notification_method_name for a notification that is about to be sent.
* Allow filtering the $notify_users array by $notification_type_name & $notification_method_name for a notification that is about to be sent.
* Here, $notify_users is already filtered from users who've already been notified.
*
* @event core.notification_manager_add_notifications_for_users_modify_data
* @var string notification_type_name The notification type identifier
* @var string notification_method_name The notification method identifier (read only)
* @var array data Data specific for the notification_type_name used will be inserted
* @var array notify_users The array of userid that are going to be notified for this notification. Set to array() to cancel or unset each user by userid.
* @var array data Data specific for this type that will be inserted
* @var array notify_users User list to notify
* @var array notified_users The list of the users already notified (read only)
*
* @since 3.2.10-RC1