Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
1.13.2.26 (checked in on 2008/04/19 at 05:59:17 by quicksketch)
A simple n-star voting widget, usable in other forms.
| Name | Description |
|---|---|
| fivestar_add_css | Fetch the necessary CSS files to render the fivestar widget. |
| fivestar_add_js | Add necessary JS files and settings to render the fivestar widget. |
| fivestar_block | |
| fivestar_custom_widget | |
| fivestar_elements | Implementation of hook_elements |
| fivestar_expand | Process callback for fivestar_element -- see fivestar_element() |
| fivestar_fivestar_widgets | Implementation of hook_fivestar_widgets. |
| fivestar_form | Create the fivestar form for the current item. Note that this is not an implementation of hook_form(). We should probably change the function to reflect that. |
| fivestar_forms | Implementation of hook_forms. This is necessary when multiple fivestar forms appear on the same page, each requiring a separate form_id, but all using the same underlying callbacks. |
| fivestar_form_alter | Implementation of hook_form_alter Adds fivestar enaable and position to the node-type configuration form. |
| fivestar_form_submit | Submit handler for the above form (non-javascript version). |
| fivestar_get_votes | |
| fivestar_help | |
| fivestar_init | Implementation of hook_init(). |
| fivestar_link | Implementation of hook_link() |
| fivestar_menu | Implementation of hook_menu(). Provides a callback url where votes can be submitted by the client-side javascript. |
| fivestar_nodeapi | Implementation of hook_nodeapi() |
| fivestar_node_type | Implementation of hook_node_types(). |
| fivestar_node_type_form_submit | Additional submit handler for the node type form. |
| fivestar_perm | Implementation of hook_perm (permissions). Exposes permissions for rating content, viewing aggregate ratings, and using PHP snippets when configuring fivestar CCK fields. |
| fivestar_preview | Callback function for fivestar/preview/node. Outputs a JSON page containing a Fivestar preview of a node rating widget. |
| fivestar_preview_color | Callback function for fivestar/preview/color. |
| fivestar_settings | Callback function for admin/settings/fivestar. Display the settings form. |
| fivestar_settings_submit | |
| fivestar_static | |
| fivestar_theme | Implementation of hook_theme(). |
| fivestar_validate | |
| fivestar_views_value_display_handler | |
| fivestar_views_widget_compact_handler | |
| fivestar_views_widget_handler | |
| fivestar_views_widget_normal_handler | |
| fivestar_vote | Callback function for fivestar/vote. |
| fivestar_votingapi_views_formatters | |
| fivestar_widget_form | |
| theme_fivestar | Theme the fivestar form element by adding necessary css and javascript. |
| theme_fivestar_node_type_form | Theme function to add the Fivestar preview to the node type form. |
| theme_fivestar_preview | |
| theme_fivestar_preview_widget | |
| theme_fivestar_preview_wrapper | |
| theme_fivestar_select | Theme the straight HTML version of the fivestar select list. This is used to remove the wrapping 'form-item' div from the select list. |
| theme_fivestar_settings | |
| theme_fivestar_static | Display a plain HTML VIEW ONLY version of the widget with the specified rating |
| theme_fivestar_static_element | Display a static fivestar value as stars with a title and description. |
| theme_fivestar_summary | |
| theme_fivestar_widget | Theme an entire fivestar widget, including the submit button and the normal fivestar widget themed in the theme_fivestar() function. |
| _fivestar_cast_vote | Internal function to handle vote casting, flood control, XSS, IP based voting, etc... |
| _fivestar_validate_target | Internal function to check that node-type accepts votes |