{@inheritdoc}

 Methods

Create a new instance.

__construct(string $action, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface|null $parentId, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface|null $modelId) 

Parameters

$action

string

The action being performed.

$parentId

\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterfacenull

The id of the parent model (null for no parent).

$modelId

\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterfacenull

The id of the model the action covers (may be null for "create" only).

Exceptions

\InvalidArgumentException When the action is not one of create, cut, copy or deep copy.

{@inheritdoc}

equals(\ContaoCommunityAlliance\DcGeneral\Clipboard\ItemInterface $item) 

Parameters

$item

{@inheritdoc}

getAction() 

{@inheritdoc}

getModelId() 

{@inheritdoc}

getParentId() 

{@inheritdoc}

isCopy() 

{@inheritdoc}

isCreate() 

{@inheritdoc}

isCut() 

{@inheritdoc}

isDeepCopy() 

 Properties

 

The item action.

$action : string
 

The id of the model.

$modelId : \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface | null
 

The id of the parent model.

$parentId : \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface