public function __construct($name, $label) { parent::__construct($name, false); $this->label = false; $this->setAttribute("value", $label); $this->setAttribute("type", "submit"); }
public function __construct($name, $label, $value = true) { parent::__construct($name, $label); $this->val = $value; $this->setAttribute("value", $value); $this->setAttribute("type", "checkbox"); }
public function __construct($name, $label) { parent::__construct($name, $label); $this->setAttribute("type", "file"); }