public function RateWidget::processVote in Rate 7.2
Process the users vote (if applicable).
1 call to RateWidget::processVote()
- RateWidget::__construct in classes/
widget.inc  - Create a new Rate widget.
 
File
- classes/
widget.inc, line 303  
Class
Code
public function processVote() {
  if ($button = $this
    ->clickedButton()) {
    $this->just_voted = TRUE;
    $this
      ->vote($button
      ->getValue());
  }
}