Class TextInput (namespace Nette\Forms)
Single line text input control.
Object | --Component | --FormControl | --TextBase | --TextInput
Public Method Summary | |
---|---|
TextInput |
|
string |
checkMaxLength
($value)
Filter: shortens value to control's max length.
|
Html |
getControl
()
Generates control's HTML element.
|
void |
notifyRule
(Rule $rule)
|
TextInput |
setPasswordMode
([bool $mode =
TRUE ])
Sets or unsets the password mode.
|
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 30 __constructpublic TextInput __construct ([string $label =
|
|||||||||||||||||||||
line 47 checkMaxLengthpublic string checkMaxLength ($value) Filter: shortens value to control's max length.
|
|||||||||||||||||||||
line 74 getControlpublic Html getControl () Generates control's HTML element.
|
|||||||||||||||||||||
line 85 notifyRulepublic void notifyRule (Rule $rule)
|
|||||||||||||||||||||
line 62 setPasswordModepublic TextInput setPasswordMode ([bool $mode = Sets or unsets the password mode.
|