- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
- if ($this->id=="") $this->id = $this->name;
-
- $html = "\n\t<input";
- $html .= " type=\"submit\" name=\"$this->name\" id=\"$this->id\"";
-
- if (!$this->isEnable()) {
- $html .= " disabled=\"true\"";
- }
-
- $html .= " value=\"$this->mValue\"";
-
- if ($this->mOnClick) {
- $html .= " onclick=\"".$this->mOnClick."\"";
- }
-
- $html .= ">";
-
- return $html;
- }