Class NCheckbox
Check box control. Allows the user to select a true or false condition.
NObject | --NComponent | --NFormControl | --NCheckbox
Public Method Summary | |
---|---|
NCheckbox |
__construct
([string $label =
NULL ])
|
NHtml |
getControl
()
Generates control's HTML element.
|
NCheckbox |
setValue
(bool $value)
Sets control's value.
|
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 39 __constructpublic NCheckbox __construct ([string $label =
|
||||||||||||
line 65 getControlpublic NHtml getControl () Generates control's HTML element.
|
||||||||||||
line 53 setValuepublic NCheckbox setValue (bool $value) Sets control's value.
|