Nextcloud PHP API (master)

BeforeGetTemplatesEvent extends Event
in package

Base event class for the event dispatcher service

Tags
since
30.0.0

Table of Contents

Properties

$propagationStopped  : bool
$templates  : array<string|int, Template>
$withFields  : bool

Methods

__construct()  : mixed
Compatibility constructor
getTemplates()  : array<string|int, Template>
isPropagationStopped()  : bool
{@inheritDoc}
shouldGetFields()  : bool
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(array<string|int, Template$templates[, bool $withFields = false ]) : mixed
Parameters
$templates : array<string|int, Template>
$withFields : bool = false
Tags
since
30.0.0

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