poll.module

Version 1.263.2.4 (checked in on 2009/09/14 at 10:16:54 by goba)

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

Functions

NameDescription
poll_accessImplementation of hook_access().
poll_blockImplementation of hook_block().
poll_cancelSubmit callback for poll_cancel_form
poll_cancel_formBuilds the cancel form for a poll.
poll_choice_jsMenu callback for AHAH additions.
poll_cronImplementation of hook_cron().
poll_deleteImplementation of hook_delete().
poll_formImplementation of hook_form().
poll_helpImplementation of hook_help().
poll_initImplementation of hook_init().
poll_insertImplementation of hook_insert().
poll_loadImplementation of hook_load().
poll_menuImplementation of hook_menu().
poll_more_choices_submitSubmit handler to add more choices to a poll form. This handler is used when javascript is not available. It makes changes to the form state and the entire form is rebuilt during the page reload.
poll_node_form_submitRenumbers fields and creates a teaser when a poll node is submitted.
poll_node_infoImplementation of hook_node_info().
poll_permImplementation of hook_perm().
poll_teaserCreates a simple teaser that lists all the choices.
poll_themeImplementation of hook_theme()
poll_updateImplementation of hook_update().
poll_userImplementation of hook_user().
poll_validateImplementation of hook_validate().
poll_viewImplementation of 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_choicesTheme the admin poll form for choices.
_poll_choice_form
_poll_menu_accessCallback function to see if a node is acceptable for poll menu items.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.