_before_text = strval($before_text); $this->_after_text = strval($after_text); } function toHtml() { if ($this->_flagFrozen) { return $this->_before_text . $this->getFrozenHtml() . $this->_after_text; } else { return $this->_getTabs() . $this->_before_text . '_getAttrString($this->_attributes) . '>' . // because we wrap the form later we don't want the text indented preg_replace("/(\r\n|\n|\r)/", ' ', htmlspecialchars($this->_value)) . '' . $this->_after_text; } } function setBeforeText($text) { $this->_before_text = $text; } function setAfterText($text) { $this->_after_text = $text; } } ?>