[ticket/11103] Note on the add_notifications function about the last change

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-09-27 20:11:28 -05:00
parent 2a5baad61b
commit 25b9ea24bf

View file

@ -254,6 +254,8 @@ class phpbb_notifications_service
* Add a notification * Add a notification
* *
* @param string|array $item_type Type identifier or array of item types (only acceptable if the $data is identical for the specified types) * @param string|array $item_type Type identifier or array of item types (only acceptable if the $data is identical for the specified types)
* Note: If you send an array of types, any user who could receive multiple notifications from this single item will only receive
* a single notification. If they MUST receive multiple notifications, call this function multiple times instead of sending an array
* @param array $data Data specific for this type that will be inserted * @param array $data Data specific for this type that will be inserted
*/ */
public function add_notifications($item_type, $data, $options = array()) public function add_notifications($item_type, $data, $options = array())