class Checkbox extends BaseControl

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

Methods

__construct($label = null)

No description

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|null
getControlPart()

No description

Html|null
getLabelPart()

No description

Html
getSeparatorPrototype()

Returns wrapper HTML element template.

Details

at line 26
__construct($label = null)

No description

Parameters

$label

at line 41
IControl setValue($value)

internal  
 

Sets control's value.

Parameters

$value

Return Value

IControl

at line 55
bool isFilled()

Is control filled?

Return Value

bool

at line 65
Html|string getControl()

Generates control's HTML element.

Return Value

Html|string

at line 75
Html|string getLabel($caption = null)

Bypasses label generation.

Parameters

$caption

Return Value

Html|string

at line 83
Html|null getControlPart()

No description

Return Value

Html|null

at line 92
Html|null getLabelPart()

No description

Return Value

Html|null

at line 102
Html getSeparatorPrototype()

Returns wrapper HTML element template.

Return Value

Html