textarea() public static method
Generates a text area input.
| public static string textarea ( $name, $value = '', $options = [] ) | ||
|---|---|---|
| $name | string |
The input name |
| $value | string |
The input value. Note that it will be encoded using encode(). |
| $options | array |
The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes() for details on how attributes are being rendered. |
| return | string |
The generated text area tag |
Please login to continue.