poll_teaser($node)Creates a simple teaser that lists all the choices.
This is primarily used for RSS.
modules/poll/poll.module, line 649
<?php
function poll_teaser($node) {
$teaser = NULL;
if (is_array($node->choice)) {
foreach ($node->choice as $k => $choice) {
if ($choice['chtext'] != '') {
$teaser .= '* ' . check_plain($choice['chtext']) . "\n";
}
}
}
return $teaser;
}
?>