Class NTextInput
Single line text input control.
NObject | --NComponent | --NFormControl | --NTextBase | --NTextInput
Public Method Summary | |
---|---|
NTextInput |
|
NHtml |
getControl
()
Generates control's HTML element.
|
void |
notifyRule
(NRule $rule)
|
NTextInput |
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 NComponent |
---|
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup() |
Methods Inherited From NObject |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 42 __constructpublic NTextInput __construct ([string $label =
|
|||||||||||||||||||||
line 59 checkMaxLengthprotected string checkMaxLength ($value) Filter: shortens value to control's max length.
|
|||||||||||||||||||||
line 86 getControlpublic NHtml getControl () Generates control's HTML element.
|
|||||||||||||||||||||
line 97 notifyRulepublic void notifyRule (NRule $rule)
|
|||||||||||||||||||||
line 74 setPasswordModepublic NTextInput setPasswordMode ([bool $mode = Sets or unsets the password mode.
|