function fivestar_get_votes in Fivestar 7.2
Same name and namespace in other branches
- 6.2 fivestar.module \fivestar_get_votes()
- 6 fivestar.module \fivestar_get_votes()
1 call to fivestar_get_votes()
- _fivestar_cast_vote in ./
fivestar.module - Internal function to handle vote casting, flood control, XSS, IP based voting, etc...
File
- ./
fivestar.module, line 306
Code
function fivestar_get_votes($entity_type, $id, $tag = 'vote', $uid = NULL) {
$multiple = fivestar_get_votes_multiple($entity_type, array(
$id,
), $tag, $uid);
return $multiple[$entity_type][$id];
}