poll.module

Version 1.362 (checked in on 2011/02/19 at 00:09:11 by dries)

Enables your site to capture votes on different topics in the form of multiple choice questions.

Functions & methods

NameDescription
poll_block_infoImplements hook_block_info().
poll_block_latest_poll_viewReturn content for 'latest poll' block.
poll_block_viewImplements hook_block_view().
poll_cancelSubmit callback for poll_cancel_form().
poll_cancel_formBuilds the cancel form for a poll.
poll_choice_jsAjax callback in response to new choices being added to the form.
poll_cronImplements hook_cron().
poll_deleteImplements hook_delete().
poll_field_attach_prepare_translation_alterImplements hook_field_attach_prepare_translation_alter().
poll_field_extra_fieldsImplements hook_field_extra_fields().
poll_formImplements hook_form().
poll_helpImplements hook_help().
poll_insertImplements hook_insert().
poll_loadImplements hook_load().
poll_menuImplements hook_menu().
poll_more_choices_submitSubmit handler to add more choices to a poll form.
poll_node_form_submitForm submit handler for node_form().
poll_node_infoImplements hook_node_info().
poll_permissionImplements hook_permission().
poll_rdf_mappingImplements hook_rdf_mapping().
poll_teaserCreates a simple teaser that lists all the choices.
poll_themeImplements hook_theme().
poll_updateImplements hook_update().
poll_user_cancelImplements hook_user_cancel().
poll_user_deleteImplements hook_user_delete().
poll_validateImplements hook_validate().
poll_viewImplements hook_view().
poll_view_resultsGenerates a graphical representation of the results of a poll.
poll_view_votingGenerates the voting form for a poll.
poll_view_voting_validateValidation function for processing votes
poll_voteSubmit handler for processing a vote.
template_preprocess_poll_barPreprocess the poll_bar theme hook.
template_preprocess_poll_resultsPreprocess the poll_results theme hook.
template_preprocess_poll_voteThemes the voting form for a poll.
theme_poll_choicesReturns HTML for an admin poll form for choices.
_poll_choice_form
_poll_menu_accessCallback function to see if a node is acceptable for poll menu items.