class SeparatorButton extends ToolbarButton

Renders a button separator

Methods

__construct( object $parent = null)

Constructor

string
getName()

Get the element name

string
render( array $definition)

Get the HTML for a separator in the toolbar

string
fetchIconClass( string $identifier)

Method to get the CSS class name for an icon identifier

string
fetchButton()

Empty implementation (not required for separator)

Details

__construct( object $parent = null)

Constructor

Parameters

object $parent The parent

string getName()

Get the element name

Return Value

string type of the parameter

string render( array $definition)

Get the HTML for a separator in the toolbar

Parameters

array $definition &$definition Parameters to be passed

Return Value

string

See also

ToolbarButton::render()

string fetchIconClass( string $identifier)

Method to get the CSS class name for an icon identifier

Can be redefined in the final class

Parameters

string $identifier Icon identification string

Return Value

string CSS class name

string fetchButton()

Empty implementation (not required for separator)

Return Value

string