Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

is_pmblocked

Usage: bool is_pmblocked (int account, int subject)
Purpose: Returns whether a member has been blocked from PM-ing another.
Availability: IPB SDK 0.2

Returns TRUE if member subject has been blocked by member account.

If the member is not blocked FALSE will be returned.

if ($SDK->is_pmblocked("1", "2")) {
      echo "Member ID 1 has blocked Member ID 2!!!";
}
else {
      echo "Member ID 1 has not blocked Member ID 2!!!";
}


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