Public Member Functions | |
run () | |
getIsVoted () |
Public Attributes | |
$id | |
$author_id | |
$question | |
$answers | |
$multiply = false | |
$dynamic | |
$allowAnonymous | |
$additionalFields = array() | |
$ajax | |
$inPercents = false | |
$precision = 1 | |
$resultsUnvotedShow = false | |
$poolVotedShow = false | |
$firstResult = false |
This widget is union of PoolWidget and ResultWidget If you wanna that pool and reslults of pool placed on the same page it will be usefull to use this widget.
Definition at line 9 of file VoteWidget.php.
VoteWidget::$ajax |
VoteWidget::$firstResult = false |
Precision when result displays above vote form
string
Definition at line 116 of file VoteWidget.php.
VoteWidget::$inPercents = false |
VoteWidget::$poolVotedShow = false |
If show poll for user which have voted(by checking session)
boolean
Definition at line 110 of file VoteWidget.php.
VoteWidget::$precision = 1 |
VoteWidget::$resultsUnvotedShow = false |
If show results for user which havent vote(by checking session)
boolean
Definition at line 103 of file VoteWidget.php.