class Button extends BaseControl

Push button control with no default behavior.

Methods

__construct($caption = null)

No description

bool
isFilled()

Is button pressed?

Html|string
getLabel($caption = null)

Bypasses label generation.

Html|string
getControl($caption = null)

Generates control's HTML element.

Details

at line 22
__construct($caption = null)

No description

Parameters

$caption

at line 34
bool isFilled()

Is button pressed?

Return Value

bool

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

Bypasses label generation.

Parameters

$caption

Return Value

Html|string

at line 55
Html|string getControl($caption = null)

Generates control's HTML element.

Parameters

$caption

Return Value

Html|string