Nextcloud PHP API (master)

FileCreatedFromTemplateEvent extends Event
in package

Base event class for the event dispatcher service

Tags
since
21.0.0

Table of Contents

Properties

$propagationStopped  : bool
$target  : mixed
$template  : mixed
$templateFields  : mixed

Methods

__construct()  : mixed
Compatibility constructor
getTarget()  : File
getTemplate()  : File|null
getTemplateFields()  : array<string|int, mixed>
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(File|null $template, File $target, array<string|int, mixed> $templateFields) : mixed
Parameters
$template : File|null
$target : File
$templateFields : array<string|int, mixed>
Tags
since
21.0.0

getTemplateFields()

public getTemplateFields() : array<string|int, mixed>
Tags
since
30.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