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 24
__construct($label = null, int $maxLength = null)

Parameters

$label
int $maxLength

at line 32
void loadHttpData()

Loads HTTP data.

Return Value

void

at line 42
TextInput setHtmlType(string $type)

Changes control's type attribute.

Parameters

string $type

Return Value

TextInput

at line 53
TextInput setType(string $type) deprecated

deprecated use setHtmlType()

Parameters

string $type

Return Value

TextInput

at line 59
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

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

Parameters

$validator
$errorMessage
$arg

Return Value

BaseControl