Class Clipboard.
Default implementation of the clipboard.
Methods
{@inheritDoc}
create($parentId)
{@inheritDoc}
fetch(\ContaoCommunityAlliance\DcGeneral\Clipboard\FilterInterface $filter)
{@inheritDoc}
getCircularIds()
{@inheritDoc}
getContainedIds()
{@inheritDoc}
getParent()
{@inheritDoc}
has(\ContaoCommunityAlliance\DcGeneral\Clipboard\ItemInterface $item)
{@inheritDoc}
hasId(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $modelId)
{@inheritDoc}
isEmpty(\ContaoCommunityAlliance\DcGeneral\Clipboard\FilterInterface $filter)
{@inheritDoc}
isNotEmpty(\ContaoCommunityAlliance\DcGeneral\Clipboard\FilterInterface $filter)
{@inheritDoc}
loadFrom($objEnvironment)
Parameters
$objEnvironment
{@inheritDoc}
push(\ContaoCommunityAlliance\DcGeneral\Clipboard\ItemInterface $item)
{@inheritDoc}
remove(\ContaoCommunityAlliance\DcGeneral\Clipboard\ItemInterface $item)
{@inheritDoc}
removeById(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $modelId)
{@inheritDoc}
saveTo($objEnvironment)
Parameters
$objEnvironment
{@inheritDoc}
setCircularIds($arrIds)
{@inheritDoc}
setContainedIds($arrIds)
Properties
The ids that will create a circular reference and therefore shall get ignored for pasting.
$arrCircularIds : array
The ids contained.
$arrIds : array
The current mode the clipboard is in.
$mode : string
The id of the parent element for create mode.
$parentId : string