poll_results

Versions
4.6 – 5
poll_results()
6 – 7
poll_results($node)

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

Code

modules/poll.module, line 390

<?php
function poll_results() {
  if ($node = node_load(arg(1))) {
    drupal_set_title(check_plain($node->title));
    return node_show($node, 0);
  }
  else {
    drupal_not_found();
  }
}
?>
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.