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
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
$manager
private
mixed
$manager
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
Compatibility constructor
public
__construct(IManager $manager) : mixed
Parameters
- $manager : IManager
Tags
isPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolregisterWidget()
public
registerWidget(string $panelClass) : mixed
Parameters
- $panelClass : string
Tags
stopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void