Class GetOperationButtonEvent
Class GetOperationButtonEvent.
This event gets emitted when an operation button is rendered.
- Symfony\Component\EventDispatcher\Event
-
DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
-
DcGeneral\Contao\View\Contao2BackendView\Event\BaseButtonEvent
-
DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/GetOperationButtonEvent.php
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/GetOperationButtonEvent.php
public
mixed
|
#
setCommand(
Set the attached command. |
public
|
|
public
mixed
|
|
public
array
|
|
public
mixed
|
#
setCircularReference( boolean $circularReference )
Set determinator if there exists a circular reference. |
public
boolean
|
|
public
mixed
|
#
setNext(
Set the next model in the list, succeeding the current model. |
public
|
|
public
mixed
|
#
setPrevious(
Set the previous model in the list, preceding the current model. |
public
|
|
public
mixed
|
|
public
string
|
|
public
mixed
|
|
public
|
getAttributes(),
getHtml(),
getKey(),
getLabel(),
getTitle(),
setAttributes(),
setHtml(),
setKey(),
setLabel(),
setTitle()
|
__construct(),
getEnvironment()
|
NAME
|
protected
|
$command |
|
#
The command for which the button is being rendered. |
protected
|
$model |
|
#
The model to which the command shall be applied to. |
protected
array
|
$childRecordIds |
|
#
The ids of any child records of the model. |
protected
boolean
|
$circularReference |
|
#
Determinator if there is a circular reference from an item in the clipboard to the current model. |
protected
ModelInterface
|
$next |
|
#
The next model succeeding the current model. |
protected
ModelInterface
|
$previous |
|
#
The model preceeding the current model. |
protected
string
|
$href |
|
#
The href for the command. |
$attributes,
$html,
$key,
$label,
$title
|
$environment
|