function poll_results
Same name and namespace in other branches
- 7.x drupal-7.x/modules/poll/poll.pages.inc \poll_results()
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.
Archivo
- drupal-6.x/
modules/ poll/ poll.pages.inc, line 51 - User page callbacks for the poll module.
Código
function poll_results($node) {
drupal_set_title(check_plain($node->title));
$node->show_results = TRUE;
return node_show($node, 0);
}