You are here

public function RateButton::hasClicked in Rate 7.2

Check if the user has clicked this button.

File

classes/button.inc, line 94

Class

RateButton

Code

public function hasClicked() {
  if (isset($_GET['rate']) && $_GET['rate'] == $this->token) {
    return TRUE;
  }
  return FALSE;
}