21 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
65 $this->setCaption($caption);
66 $this->setName($name);
67 $this->_rows = intval($rows);
68 $this->_cols = intval($cols);
69 $this->setValue($value);
98 function getValue($encode =
false)
100 return $encode ? htmlspecialchars($this->_value) : $this->_value;
108 function setValue($value)
110 $this->_value = $value;
120 return "<textarea name='" . $this->getName() .
"' id='" . $this->getName() .
"' title='" . $this->getTitle() .
"' rows='" . $this->getRows() .
"' cols='" . $this->getCols() .
"'" . $this->getExtra() .
">" . $this->getValue() .
"</textarea>";