Function getNotifyPrefs
Fetches the list of preferences (or a single/subset of preferences) for notifications for one or more users.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Notify.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Notify.php
integer|array |
$members |
A user id or an array of (integer) user ids to load preferences for |
string|array |
$prefs = '' |
An empty string to load all preferences, or a string (or array) of preference name(s) to load |
boolean |
$process_default = false |
Whether to apply the default values to the members' values or not. |
array
|
An array of user ids => array (pref name -> value), with user id 0 representing the defaults |