function poll_results

7.x poll.pages.inc poll_results($node)
6.x poll.pages.inc poll_results($node)

Callback for the 'results' tab for polls you can vote on

3 string references to 'poll_results'
poll_menu in drupal-7.x/modules/poll/poll.module
Implements hook_menu().
poll_theme in drupal-7.x/modules/poll/poll.module
Implements hook_theme().
poll_view_results in drupal-7.x/modules/poll/poll.module
Generates a graphical representation of the results of a poll.

File

drupal-7.x/modules/poll/poll.pages.inc, line 93
User page callbacks for the poll module.

Code

function poll_results($node) {
  drupal_set_title($node->title);
  $node->show_results = TRUE;
  return node_show($node);
}