Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
VoteWidget Class Reference

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

Detailed Description

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.

Member Data Documentation

VoteWidget::$ajax

Submit form via ajax

string

Definition at line 82 of file VoteWidget.php.

VoteWidget::$firstResult = false

Precision when result displays above vote form

string

Definition at line 116 of file VoteWidget.php.

VoteWidget::$inPercents = false

If display statistics in percents

bool

Definition at line 89 of file VoteWidget.php.

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

Precision when display votes in percents

string

Definition at line 96 of file VoteWidget.php.

VoteWidget::$resultsUnvotedShow = false

If show results for user which havent vote(by checking session)

boolean

Definition at line 103 of file VoteWidget.php.


The documentation for this class was generated from the following file: