Searched refs:downvotes (Results 1 – 5 of 5) sorted by relevance
52 return ($note->upvotes - $note->downvotes - $this->minVote) * $this->voteFactor + .3;56 return $note->upvotes + $note->downvotes <= 2 ? 0.5 : $this->calcRating($note);60 $totalVotes = $note->upvotes + $note->downvotes;87 $this->minVote = $this->maxVote = ($first->upvotes - $first->downvotes);91 $this->maxVote = max($this->maxVote, ($note->upvotes - $note->downvotes));92 $this->minVote = min($this->minVote, ($note->upvotes - $note->downvotes));
15 public int $downvotes = 0, argument
403 'downvotes' => $note->downvotes,
64 $N[$_REQUEST['id']]->downvotes++;
137 $vote = $note->upvotes - $note->downvotes;138 $p = floor(($note->upvotes / (($note->upvotes + $note->downvotes) ?: 1)) * 100);139 $rate = !$p && !($note->upvotes + $note->downvotes) ? "no votes..." : "$p% like this...";
Completed in 9 milliseconds