class PollOption

This object contains information about one answer option in a poll.

Methods

__construct(string $text, int $voter_count)

No description

string
getText()

Option text, 1-100 characters.

int
getVoterCount()

Number of users that voted for this option.

Details

at line 14
__construct(string $text, int $voter_count)

No description

Parameters

string $text
int $voter_count

at line 23
string getText()

Option text, 1-100 characters.

Return Value

string

at line 31
int getVoterCount()

Number of users that voted for this option.

Return Value

int