\SplitButton
Simple extension of {@link TabSet} for displaying a split button. This is based off the action-menu logic used by SilverStripe for the _More options_ link on the SiteTree edit window.
- Author: Firebrand <hello@firebrand.nz>
- License: MIT
Synopsis
class SplitButton
extends TabSet
{
- // members
- protected Tab $tab;
- // methods
- public void __construct()
- public void fieldByName()
- public void fieldPosition()
- public void getChildren()
- public void setChildren()
- public void push()
- public void insertBefore()
- public void insertAfter()
- public void removeByName()
- public void replaceField()
Hierarchy
Extends
- TabSet
Members
protected
- $tab
—
Tab
Underlying container to witch the buttons are goign to be added.
Methods
public
- __construct() — Create a new instance of SplitButton
- fieldByName()
- fieldPosition()
- getChildren()
- insertAfter()
- insertBefore()
- push()
- removeByName()
- replaceField()
- setChildren()