class TextInput extends TextBase

Single line text input control.

Methods

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

No description

void
loadHttpData()

Loads HTTP data.

setHtmlType(string $type)

Changes control's type attribute.

setType(string $type) deprecated

No description

Html|string
getControl()

Generates control's HTML element.

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

No description

Details

at line 25
__construct($label = null, int $maxLength = null)

Parameters

$label
int $maxLength

at line 36
void loadHttpData()

Loads HTTP data.

Return Value

void

at line 46
TextInput setHtmlType(string $type)

Changes control's type attribute.

Parameters

string $type

Return Value

TextInput

at line 57
TextInput setType(string $type) deprecated

deprecated use setHtmlType()

Parameters

string $type

Return Value

TextInput

at line 66
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

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

Parameters

$validator
$errorMessage
$arg

Return Value

BaseControl