var $mPassword = false;
var $mColumns = "";
var $mRows = "";
- var $cClassName = "TextArea";
+ var $class = 'TextArea';
+ var $mOnKeyPress = "";
function __construct($name,$value="")
{
function setRows($value) { $this->mRows = $value; }
function getRows() { return $this->mRows; }
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
+ function getHtml() {
+
if ($this->id=="") $this->id = $this->mName;
$js_maxlen = "";
$html .= " maxlength=\"$this->max_length\"";
}
- if ($this->mStyle!="")
- $html .= " style=\"$this->mStyle\"";
+ if ($this->style!="")
+ $html .= " style=\"$this->style\"";
if ($this->mOnKeyPress) {
$html .= " onkeypress=\"$this->mOnKeyPress\"";