Nextcloud PHP API (master)

CalendarObjectMovedEvent extends Event
in package
implements IWebhookCompatibleEvent

Base event class for the event dispatcher service

Tags
since
32.0.0

Table of Contents

Interfaces

IWebhookCompatibleEvent
Interface for events which can be listened to by webhooks

Properties

$objectData  : array<string|int, mixed>
$propagationStopped  : bool
$sourceCalendarData  : array<string|int, mixed>
$sourceCalendarId  : int
$sourceShares  : array<string|int, mixed>
$targetCalendarData  : array<string|int, mixed>
$targetCalendarId  : int
$targetShares  : array<string|int, mixed>

Methods

__construct()  : mixed
Compatibility constructor
getObjectData()  : array<string|int, mixed>
getSourceCalendarData()  : array<string|int, mixed>
getSourceCalendarId()  : int
getSourceShares()  : array<string|int, mixed>
getTargetCalendarData()  : array<string|int, mixed>
getTargetCalendarId()  : int
getTargetShares()  : array<string|int, mixed>
getWebhookSerializable()  : array<string|int, mixed>
Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
isPropagationStopped()  : bool
{@inheritDoc}
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

Compatibility constructor

public __construct(int $sourceCalendarId, array<string|int, mixed> $sourceCalendarData, int $targetCalendarId, array<string|int, mixed> $targetCalendarData, array<string|int, mixed> $sourceShares, array<string|int, mixed> $targetShares, array<string|int, mixed> $objectData) : mixed
Parameters
$sourceCalendarId : int
$sourceCalendarData : array<string|int, mixed>
$targetCalendarId : int
$targetCalendarData : array<string|int, mixed>
$sourceShares : array<string|int, mixed>
$targetShares : array<string|int, mixed>
$objectData : array<string|int, mixed>
Tags
since
32.0.0

getObjectData()

public getObjectData() : array<string|int, mixed>
Tags
since
32.0.0
Return values
array<string|int, mixed>

getSourceCalendarData()

public getSourceCalendarData() : array<string|int, mixed>
Tags
since
32.0.0
Return values
array<string|int, mixed>

getSourceShares()

public getSourceShares() : array<string|int, mixed>
Tags
since
32.0.0
Return values
array<string|int, mixed>

getTargetCalendarData()

public getTargetCalendarData() : array<string|int, mixed>
Tags
since
32.0.0
Return values
array<string|int, mixed>

getTargetShares()

public getTargetShares() : array<string|int, mixed>
Tags
since
32.0.0
Return values
array<string|int, mixed>

getWebhookSerializable()

Return data to be serialized and sent to the webhook. Will be serialized using json_encode.

public getWebhookSerializable() : array<string|int, mixed>
Tags
since
32.0.0
Return values
array<string|int, mixed>

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results