pm_mark_message
Usage: array pm_mark_message (int message_id[, bool isread])
Purpose: Marks a message unread or read.
Availability: IPB SDK 0.4
Purpose: Marks a message unread or read.
Availability: IPB SDK 0.4
Sets the Read Status of PM Message message_id to isread. If a isread attribute is not specified, the message will be marked read. Returns TRUE on success.
Returns FALSE is the member is not logged in or the read status could not be updated.
Information will be returned in the following array structure:
// Marks Message 72 as read
$messageid = "72";
$SDK->pm_mark_message ($messageid, "1");
// Marks Message 73 as unread
$messageid = "73";
$SDK->pm_mark_message ($messageid, "0");
$messageid = "72";
$SDK->pm_mark_message ($messageid, "1");
// Marks Message 73 as unread
$messageid = "73";
$SDK->pm_mark_message ($messageid, "0");
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
There are currently no user contributed notes for this page.