Button
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|null
getLabel(string|object $caption = null)
Bypasses label generation.
renderAsButton(bool $state = true)
No description
Html|string
getControl(string|object $caption = null)
Generates control's HTML element.
Details
at line 23
__construct(string|object $caption = null)
No description
at line 34
bool
isFilled()
Is button pressed?
at line 44
Html|string|null
getLabel(string|object $caption = null)
Bypasses label generation.
at line 51
Button
renderAsButton(bool $state = true)
No description
at line 62
Html|string
getControl(string|object $caption = null)
Generates control's HTML element.