Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

pm_folder_exists

Usage: bool pm_folder_exists(string folderid[, int memberid])
Purpose: Returns whether a PM folder exists.
Availability: IPB SDK 0.3

Returns whether memberid has a PM folder with the ID folderid.

If memberid is not specified, information will be returned for the currently logged in user.

If the folder does not exist, FALSE is returned.

/* Make a list of messages appear if folder exists */
if ($SDK->pm_folder_exists($_GET['folder'])) {
      // get_folder_messages and other malarky goes here
}


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