Copied!

CopyContentEvent

CopyContentEvent.php : 17
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CopyContentEvent.php : 31
public __construct(Content $content, ContentInfo $contentInfo, LocationCreateStruct $destinationLocationCreateStruct[, VersionInfo|null $versionInfo = null ])

Parameters

Name Type Default value Description
$content Content - -
$contentInfo ContentInfo - -
$destinationLocationCreateStruct LocationCreateStruct - -
$versionInfo VersionInfo|null null -

publicgetContent()

CopyContentEvent.php : 43
public getContent() : Content

Return values

Content

publicgetContentInfo()

CopyContentEvent.php : 48
public getContentInfo() : ContentInfo

Return values

ContentInfo

publicgetDestinationLocationCreateStruct()

CopyContentEvent.php : 53
public getDestinationLocationCreateStruct() : LocationCreateStruct

Return values

LocationCreateStruct

publicgetVersionInfo()

CopyContentEvent.php : 58
public getVersionInfo() : VersionInfo|null

Return values

VersionInfo|null

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().