You are here

Functions in Advanced Poll 5

Primary tabs

Namesort descending Location Description Direct uses Strings
advpoll_validate ./advpoll.module Implementation of hook_validate().
advpoll_view ./advpoll.module Implementation of hook_view(). 1
advpoll_views_active_field_handler ./advpoll_views.inc Views handler to format the "active" status field. 1
advpoll_views_tables ./advpoll_views.inc
advpoll_view_results ./advpoll.module Show results of the vote. 2 1
advpoll_view_results_binary modes/binary.inc
advpoll_view_results_ranking modes/ranking.inc
advpoll_votes_page ./advpoll.module Display the votes page. 1
advpoll_votingapi_calculate ./advpoll.module Implementation of VotingAPI's hook_calculate.
advpoll_voting_binary_form modes/binary.inc Implementation of the view_voting hook for the poll module.
advpoll_voting_binary_form_submit modes/binary.inc Registers the vote as a key for this node using votingapi_set_vote().
advpoll_voting_binary_form_validate modes/binary.inc Check if the submitted key exists, just to make sure the form is not bypassed.
advpoll_voting_ranking_form modes/ranking.inc
advpoll_voting_ranking_form_submit modes/ranking.inc Implementation of the vote hook for the runoff module.
advpoll_voting_ranking_form_validate modes/ranking.inc Implementation of the vote validation hook for the runoff module.
advpoll_writeins_page ./advpoll.module 1
advpoll_writein_merge_form ./advpoll.module 1
advpoll_writein_merge_form_submit ./advpoll.module
advpoll_writein_merge_form_validate ./advpoll.module
advpoll_writein_promote_form ./advpoll.module 1
advpoll_writein_promote_form_submit ./advpoll.module
theme_advpoll_bar ./advpoll.module
theme_advpoll_block_latest_poll ./advpoll.module Content of the block, as returned by advpoll_block('view').
theme_advpoll_question ./advpoll.module Theme an optional question.
theme_advpoll_results ./advpoll.module
theme_advpoll_voting_binary_form modes/binary.inc Render the voting form.
theme_advpoll_voting_ranking_form modes/ranking.inc Render the voting form.
_advpoll_block_resultslink ./advpoll.module
_advpoll_calculate_bordacount modes/ranking.inc Calculate the results using borda count. 1
_advpoll_calculate_instantrunoff modes/ranking.inc Calculate the results using instant-runoff voting. 1
_advpoll_can_view_results ./advpoll.module Helper function to abstract view results checking. 2
_advpoll_choice_markup ./advpoll.module Helper function for rich text in choices. 5
_advpoll_convert_node ./advpoll_convert.module Convert a poll.module poll into an advpoll.module poll (binary mode). 1
_advpoll_form_set_error ./advpoll.module Wrapper function around form_set_error() to support validating of Ajax voting. 3
_advpoll_get_mode ./advpoll.module 7
_advpoll_insert_choices ./advpoll.module Insert/update the choices for a poll. 2
_advpoll_is_active ./advpoll.module Helper function to check if a poll is active. 8
_advpoll_list_modes ./advpoll.module Load the available modes. 3
_advpoll_show_cancel_form ./advpoll.module 1
_advpoll_user_voted ./advpoll.module Check if a user has voted on a poll. 4
_advpoll_vote_response ./advpoll.module 2
_advpoll_writeins_voting_form_submit ./advpoll.module Voting form submission logic specific to writeins. This has been abstracted away from includes in the modes directory. 2
_advpoll_writeins_voting_form_validate ./advpoll.module Voting form validation logic specific to writeins. This has been abstracted away from includes in the modes directory. 2

Pages

Other projects