Nextcloud PHP API (master)

RegisterWidgetEvent extends Event
in package

Class RegisterPanelEvent

This event is dispatched to allow apps supporting older Nextcloud versions to still register their dashboard panels so that they are only constructed when they are needed. Deprecated right away so we can drop it again after 19 is EOL and backward compatible apps can use OCP\AppFramework\Bootstrap\IBootstrap

Tags
since
20.0.0
deprecated
20.0.0

Table of Contents

Properties

$manager  : mixed
$propagationStopped  : bool

Methods

__construct()  : mixed
Compatibility constructor
isPropagationStopped()  : bool
{@inheritDoc}
registerWidget()  : mixed
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

registerWidget()

public registerWidget(string $panelClass) : mixed
Parameters
$panelClass : string
Tags
since
20.0.0

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results