Nextcloud PHP API (master)

TagUnassignedEvent extends Event
in package
implements IWebhookCompatibleEvent

Event class for when a system tag is unassigned from an object

Tags
since
32.0.0

Table of Contents

Interfaces

IWebhookCompatibleEvent
Interface for events which can be listened to by webhooks

Properties

$objectIds  : array<int, string>
$objectType  : string
$tags  : array<int, int>

Methods

__construct()  : mixed
constructor
getObjectIds()  : array<int, string>
getObjectType()  : string
getTags()  : array<int, int>
getWebhookSerializable()  : array{objectType: string, objectIds: list, tagIds: list}
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

Methods

__construct()

constructor

public __construct(string $objectType, array<int, string> $objectIds, array<int, int> $tags) : mixed
Parameters
$objectType : string
$objectIds : array<int, string>
$tags : array<int, int>
Tags
since
32.0.0

getObjectIds()

public getObjectIds() : array<int, string>
Tags
since
32.0.0
Return values
array<int, string>

getObjectType()

public getObjectType() : string
Tags
since
32.0.0
Return values
string

getTags()

public getTags() : array<int, int>
Tags
since
32.0.0
Return values
array<int, int>

getWebhookSerializable()

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

public getWebhookSerializable() : array{objectType: string, objectIds: list, tagIds: list}
Tags
since
32.0.0
Return values
array{objectType: string, objectIds: list, tagIds: list}

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