Nextcloud PHP API (master)

MapperEvent extends Event
in package

Class MapperEvent

Tags
since
9.0.0

Table of Contents

Constants

EVENT_ASSIGN  = 'OCP\\SystemTag\\ISystemTagObjectMapper::assignTags'
EVENT_UNASSIGN  = 'OCP\\SystemTag\\ISystemTagObjectMapper::unassignTags'

Properties

$event  : string
$objectId  : string
$objectType  : string
$tags  : array<string|int, int>
$propagationStopped  : bool

Methods

__construct()  : mixed
DispatcherEvent constructor.
getEvent()  : string
getObjectId()  : string
getObjectType()  : string
getTags()  : array<string|int, int>
isPropagationStopped()  : bool
{@inheritDoc}
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Constants

EVENT_ASSIGN

public mixed EVENT_ASSIGN = 'OCP\\SystemTag\\ISystemTagObjectMapper::assignTags'
Tags
since
9.0.0
deprecated
22.0.0

EVENT_UNASSIGN

public mixed EVENT_UNASSIGN = 'OCP\\SystemTag\\ISystemTagObjectMapper::unassignTags'
Tags
since
9.0.0
deprecated
22.0.0

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

DispatcherEvent constructor.

public __construct(string $event, string $objectType, string $objectId, array<string|int, int> $tags) : mixed
Parameters
$event : string
$objectType : string
$objectId : string
$tags : array<string|int, int>
Tags
since
9.0.0

getEvent()

public getEvent() : string
Tags
since
9.0.0
Return values
string

getObjectId()

public getObjectId() : string
Tags
since
9.0.0
Return values
string

getObjectType()

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

getTags()

public getTags() : array<string|int, int>
Tags
since
9.0.0
Return values
array<string|int, int>

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