BxDolVoting::_triggerVote PHP Method

_triggerVote() protected method

protected _triggerVote ( )
    protected function _triggerVote()
    {
        if (!$this->_aSystem['trigger_table']) {
            return false;
        }
        $iId = $this->getId();
        if (!$iId) {
            return false;
        }
        $this->initVotes();
        $iCount = $this->getVoteCount();
        $fRate = $this->getVoteRate();
        return $this->_oQuery->updateTriggerTable($iId, $fRate, $iCount);
    }