View Source Bonfire.Poll.Votes (Bonfire v0.9.10-cooperation-beta.80)

Summary

Functions

Link to this function

by_voter(subject, opts \\ [])

View Source
Link to this function

calculate_total(votes, weighting, sum \\ 0)

View Source
Link to this function

count(filters \\ [], opts \\ [])

View Source
Link to this function

get(subject, object, opts \\ [])

View Source
Link to this function

get!(subject, object, opts \\ [])

View Source
Link to this function

get_average_base_score(total, num_voters)

View Source
Link to this function

get_average_emoji(total, num_voters, question, scores \\ scores())

View Source
Link to this function

get_score(value, scores \\ scores())

View Source
Link to this function

register_vote_choice(voter, question, choice, opts \\ [])

View Source
Link to this function

send_vote_activity(voter, question, registered_votes, opts)

View Source
Link to this function

vote(voter, question, choices, opts \\ [])

View Source