| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 781 lines (25 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file modules/node/node.pages.inc |
| poll_help($path, $arg) X-Ref |
| Implementation of hook_help(). |
| poll_init() X-Ref |
| Implementation of hook_init(). |
| poll_theme() X-Ref |
| Implementation of hook_theme() |
| poll_perm() X-Ref |
| Implementation of hook_perm(). |
| poll_access($op, $node, $account) X-Ref |
| Implementation of hook_access(). |
| poll_menu() X-Ref |
| Implementation of hook_menu(). |
| _poll_menu_access($node, $perm, $inspect_allowvotes) X-Ref |
| Callback function to see if a node is acceptable for poll menu items. |
| poll_block($op = 'list', $delta = 0) X-Ref |
| Implementation of hook_block(). Generates a block containing the latest poll. |
| poll_cron() X-Ref |
| Implementation of hook_cron(). Closes polls that have exceeded their allowed runtime. |
| poll_node_info() X-Ref |
| Implementation of hook_node_info(). |
| poll_form(&$node, $form_state) X-Ref |
| Implementation of hook_form(). |
| poll_more_choices_submit($form, &$form_state) X-Ref |
| Submit handler to add more choices to a poll form. This handler is used when javascript is not available. It makes changes to the form state and the entire form is rebuilt during the page reload. |
| _poll_choice_form($delta, $value = '', $votes = 0) X-Ref |
| No description |
| poll_choice_js() X-Ref |
| Menu callback for AHAH additions. |
| poll_node_form_submit(&$form, &$form_state) X-Ref |
| Renumbers fields and creates a teaser when a poll node is submitted. |
| poll_validate($node) X-Ref |
| Implementation of hook_validate(). |
| poll_load($node) X-Ref |
| Implementation of hook_load(). |
| poll_insert($node) X-Ref |
| Implementation of hook_insert(). |
| poll_update($node) X-Ref |
| Implementation of hook_update(). |
| poll_delete($node) X-Ref |
| Implementation of hook_delete(). |
| poll_view($node, $teaser = FALSE, $page = FALSE, $block = FALSE) X-Ref |
| Implementation of hook_view(). param: $block |
| poll_teaser($node) X-Ref |
| Creates a simple teaser that lists all the choices. This is primarily used for RSS. |
| poll_view_voting(&$form_state, $node, $block) X-Ref |
| Generates the voting form for a poll. |
| poll_view_voting_validate($form, &$form_state) X-Ref |
| Validation function for processing votes |
| poll_vote($form, &$form_state) X-Ref |
| Submit handler for processing a vote |
| template_preprocess_poll_vote(&$variables) X-Ref |
| Themes the voting form for a poll. Inputs: $form |
| poll_view_results(&$node, $teaser, $page, $block) X-Ref |
| Generates a graphical representation of the results of a poll. |
| theme_poll_choices($form) X-Ref |
| Theme the admin poll form for choices. |
| template_preprocess_poll_results(&$variables) X-Ref |
| Preprocess the poll_results theme hook. Inputs: $raw_title, $results, $votes, $raw_links, $block, $nid, $vote. The $raw_* inputs to this are naturally unsafe; often safe versions are made to simply overwrite the raw version, but in this case it seems likely that the title and the links may be overridden by the theme layer, so they are left in with a different name for that purpose. |
| template_preprocess_poll_bar(&$variables) X-Ref |
| Preprocess the poll_bar theme hook. Inputs: $title, $votes, $total_votes, $voted, $block |
| poll_cancel_form(&$form_state, $nid) X-Ref |
| Builds the cancel form for a poll. |
| poll_cancel($form, &$form_state) X-Ref |
| Submit callback for poll_cancel_form |
| poll_user($op, &$edit, &$user) X-Ref |
| Implementation of hook_user(). |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |