- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
- if (!$this->isEnable()) {
- $html = "<input name=\"$this->mName\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
+ function getHtml() {
+ if (!$this->isEnabled()) {
+ $html = "<input name=\"$this->name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";