$context $context : string easily make a widget more meaningful to a particular context by adding any of the contextual state classes Type string
$buttonType $buttonType : string Type string — the button callback types. Valid values are 'link', 'button', 'submit', 'submitLink', 'reset', 'ajaxLink', 'ajaxButton' and 'ajaxSubmit'.
$block $block : boolean Type boolean — indicates whether the button should span the full width of the a parent.
$ajaxOptions $ajaxOptions : array Type array — the button ajax options (used by 'ajaxLink' and 'ajaxButton').
addCssClass() addCssClass(array $htmlOptions, string $class) Utility function for appending class names for a generic $htmlOptions array. Parameters array $htmlOptions string $class
createButton() createButton() : string ### .createButton() Creates the button element. Returns string — the created button.
hasDropdown() hasDropdown() : bool ### .hasDropdown() Returns whether the button has a dropdown. Returns bool — the result.