class Button extends BaseControl

Push button control with no default behavior.

Methods

__construct(string|object $caption = null)

No description

bool
isFilled()

Is button pressed?

Html|string
getLabel(string|object $caption = null)

Bypasses label generation.

Html|string
getControl(string|object $caption = null)

Generates control's HTML element.

Details

at line 24
__construct(string|object $caption = null)

Parameters

string|object $caption

at line 35
bool isFilled()

Is button pressed?

Return Value

bool

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

Bypasses label generation.

Parameters

string|object $caption

Return Value

Html|string

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

Generates control's HTML element.

Parameters

string|object $caption

Return Value

Html|string