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 25
__construct($label = NULL)

No description

Parameters

$label

at line 39
void setValue($value)

internal  
 

Sets control's value.

Parameters

$value

Return Value

void

at line 53
bool isFilled()

Is control filled?

Return Value

bool

at line 63
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

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

Bypasses label generation.

Parameters

$caption

Return Value

Html|string

at line 82
Html getControlPart()

No description

Return Value

Html

at line 91
Html getLabelPart()

No description

Return Value

Html

at line 101
Html getSeparatorPrototype()

Returns wrapper HTML element template.

Return Value

Html