Class NCheckbox
Check box control. Allows the user to select a true or false condition.
- NObject
-
NComponent implements IComponent
-
NFormControl implements IFormControl
-
NCheckbox
public
|
#
__construct(
string
$label = NULL
)
Parameters$label string label |
public
NCheckbox
|
#
setValue(
bool
$value
)
Sets control's value. Sets control's value. Parameters$value boolReturnsNCheckbox provides a fluent interface
Implementation of |
public
NHtml
|
#
getControl(
)
Generates control's HTML element. Generates control's HTML element. |
Methods Inherited From NFormControl
__construct(), attached(), getForm(), getHtmlName(), setHtmlId(), getHtmlId(), setAttribute(), setOption(), getOption(), getOptions(), setTranslator(), getTranslator(), translate(), setValue(), getValue(), isFilled(), setDefaultValue(), loadHttpData(), setDisabled(), isDisabled(), getControl(), getLabel(), getControlPrototype(), getLabelPrototype(), addRule(), addCondition(), addConditionOn(), getRules(), setRequired(), isRequired(), validateEqual(), validateFilled(), validateValid(), addError(), getErrors(), hasErrors(), cleanErrors()
Methods Inherited From NComponent
__construct(), lookup(), lookupPath(), monitor(), unmonitor(), attached(), detached(), getName(), getParent(), validateParent(), __clone(), __wakeup()
Methods Inherited From NObject
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Constants Inherited From NComponent
NAME_SEPARATOR
Properties Inherited From NFormControl
$idMask, $caption, $value, $control, $label