Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • BaseButtonEvent
  • BaseGetButtonsEvent
  • BuildWidgetEvent
  • DecodePropertyValueForWidgetEvent
  • EditModelBeforeSaveEvent
  • EncodePropertyValueFromWidgetEvent
  • GetBreadcrumbEvent
  • GetEditModeButtonsEvent
  • GetGlobalButtonEvent
  • GetGlobalButtonsEvent
  • GetGroupHeaderEvent
  • GetOperationButtonEvent
  • GetParentHeaderEvent
  • GetPasteButtonEvent
  • GetPasteRootButtonEvent
  • GetPropertyOptionsEvent
  • GetSelectModeButtonsEvent
  • ManipulateWidgetEvent
  • ModelToLabelEvent
  • ParentViewChildRecordEvent
  • ResolveWidgetErrorMessageEvent
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class GetGlobalButtonEvent

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.

Symfony\Component\EventDispatcher\Event
Extended by DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
Extended by DcGeneral\Contao\View\Contao2BackendView\Event\BaseButtonEvent
Extended by DcGeneral\Contao\View\Contao2BackendView\Event\GetGlobalButtonEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/GetGlobalButtonEvent.php
Methods summary
public mixed
# setAccessKey( string $accessKey )

Set the hotkey for the button.

Set the hotkey for the button.

Parameters

$accessKey
string
$accessKey The hotkey for the button.

Returns

mixed
$this
public string
# getAccessKey( )

Get the hotkey for the button.

Get the hotkey for the button.

Returns

string
public mixed
# setClass( string $class )

Set the css class for this button.

Set the css class for this button.

Parameters

$class
string
$class The css class.

Returns

mixed
$this
public string
# getClass( )

Get the css class for this button.

Get the css class for this button.

Returns

string
public mixed
# setHref( string $href )

Set the href for this button.

Set the href for this button.

Parameters

$href
string
$href The href.

Returns

mixed
$this
public string
# getHref( )

Get the href for this button.

Get the href for this button.

Returns

string
Methods inherited from DcGeneral\Contao\View\Contao2BackendView\Event\BaseButtonEvent
getAttributes(), getHtml(), getKey(), getLabel(), getTitle(), setAttributes(), setHtml(), setKey(), setLabel(), setTitle()
Methods inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
__construct(), getEnvironment()
Constants inherited from DcGeneral\Contao\View\Contao2BackendView\Event\BaseButtonEvent
NAME
Properties summary
protected string $accessKey
#

The hotkey for the button.

The hotkey for the button.

protected string $class
#

The css class to use.

The css class to use.

protected string $href
#

The href to use.

The href to use.

Properties inherited from DcGeneral\Contao\View\Contao2BackendView\Event\BaseButtonEvent
$attributes, $html, $key, $label, $title
Properties inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
$environment
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0