You are here

function fivestar_get_suffix in Fivestar 6.2

Gets the variable suffix for node/tag-specific variables.

8 calls to fivestar_get_suffix()
fivestar_comment in ./fivestar_comment.module
Implementation of hook_comment().
fivestar_comment_form_alter in ./fivestar_comment.module
Form alter specification for comments.
fivestar_fivestar_access in ./fivestar.module
Implementation of hook_fivestar_access().
fivestar_form in ./fivestar.module
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_get_settings in ./fivestar.module
Get all the settings set for a specific node type.

... See full list

File

./fivestar.module, line 1523
A simple n-star voting widget, usable in other forms.

Code

function fivestar_get_suffix($node_type, $tag) {
  return $node_type . '_' . $tag;
}