Class TextInput (namespace Nette\Forms)
Single line text input control.
Object | --Component | --FormControl | --TextBase | --TextInput
Public Method Summary | |
---|---|
TextInput |
|
Html |
getControl
()
Generates control's HTML element.
|
void |
notifyRule
(Rule $rule)
|
TextInput |
setPasswordMode
([bool $mode =
TRUE ])
Sets or unsets the password mode.
|
Protected Method Summary | |
---|---|
protected string |
checkMaxLength
($value)
Filter: shortens value to control's max length.
|
Methods Inherited From Component |
---|
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 42 __constructpublic TextInput __construct ([string $label =
|
|||||||||||||||||||||
line 59 checkMaxLengthprotected string checkMaxLength ($value) Filter: shortens value to control's max length.
|
|||||||||||||||||||||
line 86 getControlpublic Html getControl () Generates control's HTML element.
|
|||||||||||||||||||||
line 97 notifyRulepublic void notifyRule (Rule $rule)
|
|||||||||||||||||||||
line 74 setPasswordModepublic TextInput setPasswordMode ([bool $mode = Sets or unsets the password mode.
|