Class GetGlobalButtonEvent.

This event gets issued when the top level buttons in the listing view are being retrieved. These buttons include, but are not limited to, the "back" button and the "edit multiple" button.

 Methods

Get the hotkey for the button.

getAccessKey() : string

Returns

string

Get the css class for this button.

getClass() : string

Returns

string

Get the href for this button.

getHref() : string

Returns

string

Set the hotkey for the button.

setAccessKey(string $accessKey) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

$accessKey

string

The hotkey for the button.

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent

Set the css class for this button.

setClass(string $class) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

$class

string

The css class.

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent

Set the href for this button.

setHref(string $href) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

$href

string

The href.

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent

 Properties

 

The hotkey for the button.

$accessKey : string
 

The css class to use.

$class : string
 

The href to use.

$href : string

 Constants

 

NAME

NAME