You are here

function fivestar_check_token in Fivestar 5

Same name and namespace in other branches
  1. 6.2 fivestar.module \fivestar_check_token()
  2. 6 fivestar.module \fivestar_check_token()

Check to see if a token value matches the specified node.

1 call to fivestar_check_token()
fivestar_vote in ./fivestar.module
Callback function for fivestar/vote.

File

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

Code

function fivestar_check_token($token, $value) {
  return fivestar_get_token($value) == $token;
}