TextInput
class TextInput extends TextBase
Single line text input control.
Methods
__construct(string|object $label = null, int|null $maxLength = null)
No description
void
loadHttpData()
Loads HTTP data.
setHtmlType(string $type)
Changes control's type attribute.
Html|string
getControl()
Generates control's HTML element.
addRule(callable|string $validator, string|object $errorMessage = null, $arg = null)
No description
Details
at line 24
__construct(string|object $label = null, int|null $maxLength = null)
No description
at line 32
void
loadHttpData()
Loads HTTP data.
at line 42
TextInput
setHtmlType(string $type)
Changes control's type attribute.
at line 53
TextInput
setType(string $type)
deprecated
deprecated
No description
at line 59
Html|string
getControl()
Generates control's HTML element.
at line 69
BaseControl
addRule(callable|string $validator, string|object $errorMessage = null, $arg = null)
No description