public function getInnerHTML() { $ta = fHTML::textarea($this->getFormName(), $this->getFormValue(), array('class' => array('textarea', 'ui-widget-content', 'ui-corner-all')))->setAttribute('cols', 102)->setAttribute('rows', 6)->setStyle('width', '90%'); f::attachLabel($ta, $this->getFormLabel()); return $ta; }
public static function textarea($label, $name = NULL, $value = '', $id = NULL) { list($label, $name, $id) = self::expand($label, $name, $id); $ta = fHTML::textarea($name, $value, array('class' => array('textarea', 'ui-widget-content', 'ui-corner-all'), 'id' => $id)); $ta->setStyle('height', '200px'); self::attachLabel($ta, $label); return $ta; }