/includes/class_dm_poll.phpClass to do data save/delete operations for POLLS
Example usage (inserts a poll):
$poll =& datamanager_init('Poll', $vbulletin, ERRTYPE_STANDARD); $options = array ("first", "second", "third", "fourth", "fifth", "sixth");
foreach ($options AS $option) { $poll->set_option($option); } $poll->set_vote(0, 4); $poll->set_vote(0); $poll->set_vote(1, 7); $poll->set_vote(2, 8); $poll->set_vote(3, 5); $poll->set_vote(4, 9); $poll->set_vote(5, 15);
$poll->save();
| Class | Description |
|---|---|
vB_DataManager_Poll
|
Class to do data save/delete operations for POLLS |
Documentation generated on Tue, 26 Jan 2010 15:15:17 -0600 by phpDocumentor 1.4.3