ManagerEvent
extends Event
in package
Class ManagerEvent
Use AppEnabledEvent, AppDisableEvent and AppUpdateEvent instead
Tags
Table of Contents
Constants
- EVENT_APP_DISABLE : mixed = 'OCP\App\IAppManager::disableApp'
- EVENT_APP_ENABLE : mixed = 'OCP\App\IAppManager::enableApp'
- EVENT_APP_ENABLE_FOR_GROUPS : mixed = 'OCP\App\IAppManager::enableAppForGroups'
- EVENT_APP_UPDATE : mixed = 'OCP\App\IAppManager::updateApp'
Properties
Methods
- __construct() : mixed
- DispatcherEvent constructor.
- getAppID() : string
- getEvent() : string
- getGroups() : array<int, string>
- returns the group Ids
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Constants
EVENT_APP_DISABLE
public
mixed
EVENT_APP_DISABLE
= 'OCP\App\IAppManager::disableApp'
Tags
EVENT_APP_ENABLE
public
mixed
EVENT_APP_ENABLE
= 'OCP\App\IAppManager::enableApp'
Tags
EVENT_APP_ENABLE_FOR_GROUPS
public
mixed
EVENT_APP_ENABLE_FOR_GROUPS
= 'OCP\App\IAppManager::enableAppForGroups'
Tags
EVENT_APP_UPDATE
public
mixed
EVENT_APP_UPDATE
= 'OCP\App\IAppManager::updateApp'
Tags
Properties
$appID read-only
private
string
$appID
$event read-only
private
string
$event
$groups read-only
private
array<string|int, mixed>|null
$groups
= null
Methods
__construct()
DispatcherEvent constructor.
public
__construct(string $event, mixed $appID[, array<int, IGroup|string>|null $groups = null ]) : mixed
Parameters
- $event : string
- $appID : mixed
- $groups : array<int, IGroup|string>|null = null
Tags
getAppID()
public
getAppID() : string
Tags
Return values
stringgetEvent()
public
getEvent() : string
Tags
Return values
stringgetGroups()
returns the group Ids
public
getGroups() : array<int, string>
Tags
Return values
array<int, string>isPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Attributes
- #[Override]
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void