function __construct($name,$value="")
{
- $this->name = $name;
- $this->mValue = $value;
+ $this->name = $name;
+ $this->value = $value;
}
function toStringControl() {
$html .= " disabled=\"true\"";
}
- $html .= " value=\"$this->mValue\"";
+ $html .= " value=\"$this->value\"";
if ($this->mOnClick) {
$html .= " onclick=\"".$this->mOnClick."\"";