ButtonInput
class ButtonInput extends Button
Class ButtonInput.
Returns <button> whose content can be set as caption. This is not a submit button.
Traits
Trait BootstrapButtonTrait. Modifies an existing button class such that it returns a bootstrap
button.
Properties
string | $btnType | from BootstrapButtonTrait | |
string | $btnClass |
Methods
string
getBtnClass()
Gets additional button class. Default is btn-primary.
from
BootstrapButtonTrait
setBtnClass(string $btnClass)
Sets additional button class. Default is btn-primary
from
BootstrapButtonTrait
Html
getControl(null|string|
Html
$content = NULL)
Control HTML
__construct(null|string|
Html
$content = NULL)
ButtonInput constructor.
Details
in
BootstrapButtonTrait
at line 32
string
getBtnClass()
Gets additional button class. Default is btn-primary.
in
BootstrapButtonTrait
at line 42
BootstrapButtonTrait
setBtnClass(string $btnClass)
Sets additional button class. Default is btn-primary
at line 42
Html
getControl(null|string|
Html
$content = NULL)
Control HTML
in
BootstrapButtonTrait
at line 60
protected
addBtnClass(
Html
$element)
at line 32
__construct(null|string|
Html
$content = NULL)
ButtonInput constructor.