Nextcloud PHP API (master)

AMetadataEvent extends Event
in package

AbstractYes

Base event class for the event dispatcher service

Tags
since
28.0.0

Table of Contents

Properties

$metadata  : IFilesMetadata
$node  : Node
$propagationStopped  : bool

Methods

__construct()  : mixed
Compatibility constructor
getMetadata()  : IFilesMetadata
returns metadata. if known, it already contains data from the database.
getNode()  : Node
returns related node
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

getMetadata()

returns metadata. if known, it already contains data from the database.

public getMetadata() : IFilesMetadata

If the object is modified using its setters, changes are stored in database at the end of the event.

Tags
since
28.0.0
Return values
IFilesMetadata

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