protected function _getVoteResult()
{
if (strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') !== 0 || bx_get($this->_aSystem['post_name']) === false) {
return false;
}
$iVote = (int) bx_get($this->_aSystem['post_name']);
if (!$iVote) {
return false;
}
if ($iVote > $this->getMaxVote()) {
$iVote = $this->getMaxVote();
}
if ($iVote < 1) {
$iVote = 1;
}
return $iVote;
}