NotificationAjaxServiceTrait::markAllNotificationAsReadForMember
Signature
public function markAllNotificationAsReadForMember([mixed
$member = NULL] )
Parameters
$member
— mixed- Member object or ID. If not defined will assumed the call is for the current Member.
Returns
- void
Errors/Exceptions
-
PermissionFailureException
- Thrown if the current member is not allowed to perform the action.
-
ValidationException
- Thrown if the notification is already marked as read or does not exists.