public function __construct($name, $label) { parent::__construct($name, false); $this->label = false; $this->setAttribute("value", $label); $this->setAttribute("type", "submit"); }
public function __toString() { if (!is_null($this->getValue())) { $this->setAttribute('checked', 'checked'); } return parent::__toString(); }
public function __construct($name, $label) { parent::__construct($name, $label); $this->setAttribute("type", "file"); }