function fivestar_check_token in Fivestar 6
Same name and namespace in other branches
- 5 fivestar.module \fivestar_check_token()
- 6.2 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 1023 - A simple n-star voting widget, usable in other forms.
Code
function fivestar_check_token($token, $value) {
return fivestar_get_token($value) == $token;
}