Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

get_num_new_pms

Usage: int get_num_new_pms()
Purpose: Returns number of new PMs since the last visit.
Availability: IPB SDK 0.1

Returns the amount of PMs recieved since the last visit. If the current user is not logged in, or information cannot be retrieved FALSE is returned.

/* Prints "You have 1 new Private Messages." */
echo 'You have '.$SDK->get_num_new_pms().' Private Messages.';
See Also: get_num_total_pms


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net