textInput() public static method
Generates a text input field.
public static string textInput ( $name, $value = null, $options = [] )$name string
The name attribute. $value string
The value attribute. If it is null, the value attribute will not be generated. $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