poll.module

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

File

modules/poll/poll.module

Functions

Name Description
poll_block_info Implements hook_block_info().
poll_block_latest_poll_view Return content for 'latest poll' block.
poll_block_view Implements hook_block_view().
poll_cancel Submit callback for poll_cancel_form().
poll_cancel_form Builds the cancel form for a poll.
poll_choice_js Ajax callback in response to new choices being added to the form.
poll_cron Implements hook_cron().
poll_delete Implements hook_delete().
poll_field_attach_prepare_translation_alter Implements hook_field_attach_prepare_translation_alter().
poll_field_extra_fields Implements hook_field_extra_fields().
poll_form Implements hook_form().
poll_help Implements hook_help().
poll_insert Implements hook_insert().
poll_load Implements hook_load().
poll_menu Implements hook_menu().
poll_more_choices_submit Submit handler to add more choices to a poll form.
poll_node_form_submit Form submit handler for node_form().
poll_node_info Implements hook_node_info().
poll_permission Implements hook_permission().
poll_rdf_mapping Implements hook_rdf_mapping().
poll_teaser Creates a simple teaser that lists all the choices.
poll_theme Implements hook_theme().
poll_update Implements hook_update().
poll_user_cancel Implements hook_user_cancel().
poll_user_delete Implements hook_user_delete().
poll_validate Implements hook_validate().
poll_view Implements hook_view().
poll_view_results Generates a graphical representation of the results of a poll.
poll_view_voting Generates the voting form for a poll.
poll_view_voting_validate Validation function for processing votes
poll_vote Submit handler for processing a vote.
template_preprocess_poll_bar Preprocess the poll_bar theme hook.
template_preprocess_poll_results Preprocess the poll_results theme hook.
template_preprocess_poll_vote Themes the voting form for a poll.
theme_poll_choices Returns HTML for an admin poll form for choices.
_poll_choice_form
_poll_menu_access Callback function to see if a node is acceptable for poll menu items.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!poll!poll.module/7.x