You are here

public function RateButton::__construct in Rate 7.2

Create a new button.

Parameters

string $id:

string $label:

int $value:

string $token:

File

classes/button.inc, line 57

Class

RateButton

Code

public function __construct($id, $label, $value, $token, $html = FALSE, $class = '') {
  $this->id = $id;
  $this->label = $label;
  $this->value = $value;
  $this->token = $token;
  $this->html = $html;
  $this->class = $class;
}