fivestar.module
Version 1.13.2.72 (checked in on 2009/10/04 at 17:16:48 by ezrag)
A simple n-star voting widget, usable in other forms.
Functions
| Name | Description |
|---|---|
| fivestar_add_css | Fetch the necessary CSS files to render the fivestar widget. |
| fivestar_add_inline_css | Add Inline CSS to the page, only used on admin/settings/fivestar page. |
| fivestar_add_js | Add necessary JS files and settings to render the fivestar widget. |
| fivestar_block | |
| fivestar_check_token | Check to see if a token value matches the specified node. |
| fivestar_custom_widget | |
| fivestar_elements | Implementation of hook_elements(). |
| fivestar_expand | Process callback for fivestar_element -- see fivestar_element() |
| fivestar_fivestar_access | Implementation of hook_fivestar_access(). |
| 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(). |
| fivestar_form_alter | Implementation of hook_form_alter(). |
| fivestar_form_submit | Submit handler for the above form (non-javascript version). |
| fivestar_get_inline_css | Retrieve a list of all inline CSS to be added to the page. |
| fivestar_get_token | Get a private token used to protect links from CSRF attacks. |
| fivestar_get_votes | |
| fivestar_help | |
| fivestar_init | Implementation of hook_init(). |
| fivestar_link | Implementation of hook_link(). |
| fivestar_menu | Implementation of hook_menu(). |
| 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(). |
| 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_validate_target | Check that an item being voted upon is a valid vote. |
| fivestar_views_value_display_handler | VotingAPI Views formatter for displaying static stars. |
| fivestar_views_value_text_handler | VotingAPI Views formatter for displaying number of stars as text. |
| fivestar_views_widget_compact_handler | VotingAPI Views formatter for displaying rating widget without text. |
| fivestar_views_widget_handler | Generic VotingAPI Views formatter for displaying rating widget. |
| fivestar_views_widget_normal_handler | VotingAPI Views formatter for displaying rating widget with text. |
| fivestar_vote | Callback function for fivestar/vote. |
| fivestar_votingapi_metadata_alter | Implementation of hook_votingapi_metadata_alter(). |
| fivestar_votingapi_views_formatters | Implementation of hook_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... |


