get_blocked_list
Usage: array get_blocked_list ()
Purpose: Returns the current member's PM block list.
Availability: IPB SDK 0.4
Purpose: Returns the current member's PM block list.
Availability: IPB SDK 0.4
Returns an array of the currently logged in of users which the current user has blocked from PM-ing them.
Returns FALSE is the member is not logged in.
Information will be returned in the following array structure:
Array (
[10] => Array (
[contact_id] => 10
[contact_desc] => Block!!!
[contact_name] => ham
)
)
[10] => Array (
[contact_id] => 10
[contact_desc] => Block!!!
[contact_name] => ham
)
)
// Works out how many contacts the current member has using get_blocked_list() and count()
echo "You have blocked ".count($SDK->get_blocked_list())." users"; // You have blocked 1 users
echo "You have blocked ".count($SDK->get_blocked_list())." users"; // You have blocked 1 users
See Also: get_contacts_list
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.