public static function text($label, $name = NULL, $value = '', $id = NULL) { list($label, $name, $id) = self::expand($label, $name, $id); $text = fHTML::text($name, $value, array('class' => array('text', 'ui-widget-content', 'ui-corner-all'), 'id' => $id)); self::attachLabel($text, $label); return $text; }