markMessages

Description

Internal function used to mark PMs as read.

Syntax

void markMessages ([array $personal_mesasges[, mixed $label[, mixed $owner]]])



Parameter $personal_mesasges

Expected type: Array of Integers
Description: The IDs of specific PMs to mark read. If null, marks all PMs with the given criteria as read. Default is null.



Parameter $label

Expected type: Mixed
Description: If specified, only PMs with this label will be marked read. Defaults to null.

Allowed types for $label
Allowed values Description
Null Mark all PMs as read
String Mark only PMs with this label as read



Parameter $owner

Expected type: Mixed
Description: Whose PMs should be marked read.

Allowed types for $owner
Allowed values Description
Null Mark the current user's PMs as read. Default value.
Integer The ID of a specific member whose messages should be marked read


Notes

  • Marks personal messages read
  • All parameters are optional
Advertisement: