Function alert_mark
Marks a group of alerts as un/read
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Profile-Modify.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Profile-Modify.php
integer |
$memID |
The user ID. |
array|integer |
$toMark |
The ID of a single alert or an array of IDs. The function will convert single integers to arrays for better handling. |
integer |
$read = 0 |
To mark as read or unread, 1 for read, 0 or any other value different than 1 for unread. |
integer
|
How many alerts remain unread |