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-6.x/
modules/ poll/ poll.module - Implementation of hook_menu().
- poll_theme in drupal-6.x/
modules/ poll/ poll.module - Implementation of hook_theme()
- poll_view_results in drupal-6.x/
modules/ poll/ poll.module - Generates a graphical representation of the results of a poll.
File
- drupal-6.x/
modules/ poll/ poll.pages.inc, line 51 - User page callbacks for the poll module.
Code
function poll_results($node) {
drupal_set_title(check_plain($node->title));
$node->show_results = TRUE;
return node_show($node, 0);
}