Class GetPasteButtonEvent
Class GetPasteButtonEvent.
This event gets emitted when a paste button is generated.
- Symfony\Component\EventDispatcher\Event
-
DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
-
DcGeneral\Contao\View\Contao2BackendView\Event\BaseButtonEvent
-
DcGeneral\Contao\View\Contao2BackendView\Event\GetPasteButtonEvent
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/GetPasteButtonEvent.php
public
mixed
|
#
setCircularReference( boolean $blnCircularReference )
Set determinator if there exists a circular reference. |
public
boolean
|
|
public
mixed
|
|
public
string
|
|
public
mixed
|
|
public
string
|
|
public
mixed
|
|
public
string
|
|
public
mixed
|
|
public
string
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
|
|
public
mixed
|
#
setPasteAfterDisabled( boolean $pasteAfterDisabled )
Set the determinator if the paste after button shall be disabled. |
public
boolean
|
|
public
mixed
|
#
setPasteIntoDisabled( boolean $pasteIntoDisabled )
Set the determinator if the paste into button shall be disabled. |
public
boolean
|
getAttributes(),
getHtml(),
getKey(),
getLabel(),
getTitle(),
setAttributes(),
setHtml(),
setKey(),
setLabel(),
setTitle()
|
__construct(),
getEnvironment()
|
NAME
|
protected
boolean
|
$blnCircularReference |
|
#
Determinator if there is a circular reference from an item in the clipboard to the current model. |
protected
string
|
$hrefAfter |
|
#
The href information to use for the paste after button. |
protected
string
|
$hrefInto |
|
#
The href information to use for the paste into button. |
protected
string
|
$htmlPasteAfter |
|
#
The Html code to use for the "paste after" button. |
protected
string
|
$htmlPasteInto |
|
#
The Html code to use for the "paste into" button. |
protected
|
$model |
|
#
The model to which the command shall be applied to. |
protected
|
$next |
|
#
The next model in the list. |
protected
|
$previous |
|
#
The previous model in the list. |
protected
boolean
|
$pasteIntoDisabled |
|
#
Determinator if the paste into button shall be disabled. |
protected
boolean
|
$pasteAfterDisabled |
|
#
Determinator if the paste after button shall be disabled. |
$attributes,
$html,
$key,
$label,
$title
|
$environment
|