Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

get_poll_total_votes

Usage: int get_poll_total_votes (int topicid)
Purpose: Gets the total amount of votes in a poll.
Availability: IPB SDK 0.5

Returns the total number of votes in the poll in topic topicid.

If there is no poll in the topic topicid, FALSE will be returned.

// Prints 'Total Votes in Topic 10: 3'
$topicid = "10";
echo 'Total Votes in Topic '.$topicid.': '.$SDK->get_poll_total_votes($topicid);


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