class Checkbox extends BaseControl

Check box control. Allows the user to select a true or false condition.

Methods

__construct($label = NULL)

No description

void
setValue($value)

Sets control's value.

bool
isFilled()

Is control filled?

Html|string
getControl()

Generates control's HTML element.

Html|string
getLabel($caption = NULL)

Bypasses label generation.

Html
getControlPart()

No description

Html
getLabelPart()

No description

Html
getSeparatorPrototype()

Returns wrapper HTML element template.

Details

at line 27
__construct($label = NULL)

No description

Parameters

$label

at line 40
void setValue($value)

Sets control's value.

Parameters

$value

Return Value

void

at line 54
bool isFilled()

Is control filled?

Return Value

bool

at line 64
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 74
Html|string getLabel($caption = NULL)

Bypasses label generation.

Parameters

$caption

Return Value

Html|string

at line 83
Html getControlPart()

No description

Return Value

Html

at line 92
Html getLabelPart()

No description

Return Value

Html

at line 102
Html getSeparatorPrototype()

Returns wrapper HTML element template.

Return Value

Html