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