Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }