function poll_results in Drupal 6
Same name and namespace in other branches
- 4 modules/poll.module \poll_results()
- 5 modules/poll/poll.module \poll_results()
- 7 modules/poll/poll.pages.inc \poll_results()
Callback for the 'results' tab for polls you can vote on
1 string reference to 'poll_results'
- poll_menu in modules/
poll/ poll.module - Implementation of hook_menu().
File
- 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);
}