sfWidgetFormTextarea represents a textarea HTML tag.
Method Summary
-
configure($attributes)
@param array $options An array of options
-
string
render($value, $attributes, $errors)
@param string $name The element name
fixFormId , generateId , generateTwoCharsRange , getIdFormat , isHidden , needsMultipartForm , renderContentTag , renderTag , setHidden , setIdFormat , __construct
Methods inherited from sfWidget
addOption , addRequiredOption , attributesToHtml , attributesToHtmlCallback , configure , escapeOnce , fixDoubleEscape , getAttribute , getAttributes , getCharset , getOption , getOptions , getRequiredOptions , hasOption , isXhtml , render , renderContentTag , renderTag , setAttribute , setAttributes , setCharset , setOption , setOptions , setXhtml , __construct
Method Details
-
configure ($attributes)
Browse code
| $attributes |
An array of default HTML attributes |
@param array $options An array of options
-
(string) render ($value, $attributes, $errors)
Browse code
| $value |
The value displayed in this widget |
| $attributes |
An array of HTML attributes to be merged with the default HTML attributes |
| $errors |
An array of errors for the field |
@param string $name The element name
returns An HTML tag string
|