PollAnswer
class PollAnswer
This object represents an answer of a user in a non-anonymous poll.
Methods
string
getPollId()
Unique poll identifier.
array
getOptionIds()
0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.
Details
at line 15
__construct(string $poll_id, User $user, int[] $option_ids)
No description
at line 25
string
getPollId()
Unique poll identifier.
at line 33
User
getUser()
The user, who changed the answer to the poll.
at line 43
array
getOptionIds()
0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.