class TextInput extends TextBase

Single line text input control.

Methods

__construct($label = null, $maxLength = null)

No description

void
loadHttpData()

Loads HTTP data.

setHtmlType($type)

Changes control's type attribute.

setType($type)

Alias for setHtmlType()

Html|string
getControl()

Generates control's HTML element.

addRule($validator, $errorMessage = null, $arg = null)

No description

Details

at line 24
__construct($label = null, $maxLength = null)

No description

Parameters

$label
$maxLength

at line 36
void loadHttpData()

Loads HTTP data.

Return Value

void

at line 47
TextInput setHtmlType($type)

Changes control's type attribute.

Parameters

$type

Return Value

TextInput

at line 58
TextInput setType($type)

Alias for setHtmlType()

Parameters

$type

Return Value

TextInput

at line 69
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 81
BaseControl addRule($validator, $errorMessage = null, $arg = null)

No description

Parameters

$validator
$errorMessage
$arg

Return Value

BaseControl