$ipbwi->poll->create(55,array('1' => 'Do you think IPBWI is useful?'),'1' => array('yes', 'no'),'Your opinion about IPBWI.');
access:
public
Parameters:
int
$topicID
Topic ID of the Poll
array
$question
Questions.
array
$choices
The options to vote for for each question
string
$title
The title of the poll
bool
$pollOnly
Make the topic a poll only
array
$multi
To define questions as multiplechoice, declare an array via poll_multi with question-id as array-key and 1 or 0 as array-value. 1 = multiplechoice/checkbox, 0 = singlechoice/radio-button