Class DefaultClipboard
Class DefaultClipboard.
Default implementation of the clipboard.
- DcGeneral\Clipboard\DefaultClipboard implements DcGeneral\Clipboard\ClipboardInterface
Namespace: DcGeneral\Clipboard
Package: DcGeneral\Clipboard
Located at Clipboard/DefaultClipboard.php
Package: DcGeneral\Clipboard
Located at Clipboard/DefaultClipboard.php
public
mixed
|
#
loadFrom(
Load the content of the clipboard from the input provider stored in the environment. |
public
mixed
|
#
saveTo(
Save the content of the clipboard to the input provider stored in the environment. |
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
setCircularIds( array $arrIds )
Set the ids ignored in the clipboard as they would create a circular reference when pasting. |
public
array
|
#
getCircularIds( )
Retrieve the ids ignored in the clipboard as they would create a circular reference when pasting. |
public
string
|
MODE_COPY,
MODE_CREATE,
MODE_CUT
|
protected
array
|
$arrIds |
|
#
The ids contained. |
protected
array
|
$arrCircularIds |
|
#
The ids that will create a circular reference and therefore shall get ignored for pasting. |
protected
string
|
$mode |
|
#
The current mode the clipboard is in. |